News for hackers. Stuff that matters.

tsyd

It happened to me when I bought a new motherboard from Amazon (shipped and sold by Amazon, not Amazon Warehouse nor fulfilled by Amazon). I opened the motherboard box and inside was a 10-year old motherboard.

I knew this was a possibility when buying from Amazon Warehouse but didn't expect it when buying new directly from Amazon.

> The petrodollar hypothesis is a myth. The United States, now a net oil exporter, does not depend on Saudi oil.

The notion that the United States does not depend on Saudi oil (or that it's energy independent) just because it's a net oil exporter is a myth. Not all crude oil is equal. The US has an abundance of light oil which it exports but it still imports a lot of heavy and sour oil from OPEC and Canada.[1]

[1]: https://www.eia.gov/tools/faqs/faq.php?id=727&t=6

Re:Ask HN: Share Your Raspberry Pi Project on Thursday July 27, 2017 @08:20AM (#14864559)
> Why not just run InfluxDB and Chronograf on one of the CHIPs?

I started off with a single C.H.I.P. and ran everything on it but then when I added a second C.H.I.P. I wanted to have all the data in a central location. I also found Chronograf lag a lot when trying to browse more than a couple day's worth of data. The Raspberry Pi has much faster storage and CPU.

> How are you sending data to the Pi?

The C.H.I.P. has a Python script that runs on a cron that calls a C program to read the sensor and then sends it to the Pi using InfluxDB's HTTP API.

Re:Ask HN: Share Your Raspberry Pi Project on Wednesday July 26, 2017 @11:40AM (#14857155)
Nothing in particular. I just wanted a way to view the temperature and humidity in my apartment when I'm out. Also I wanted to know what affects the humidity in my apartment and by how much (for example, you can see when I take my morning shower). In the future I may use the data to control a humidifier to turn it on whenever the humidity drops below a certain level.
Re:Ask HN: Share Your Raspberry Pi Project on Wednesday July 26, 2017 @11:28AM (#14857025)
This was my first electronics project as well and I chose the Honeywell sensor because it has decent humidity accuracy (which is what I was mostly interested in) and a bonus temperature sensor built in. It uses the I2C protocol for communication which I found pleasant to work with although it would probably be simpler to just use am analog voltage sensor.

Here's the program I wrote to read the sensor over I2C: https://gist.github.com/tsyd/f48e933a21fb40b9f9eea28118f54e0...

Re:Ask HN: Share Your Raspberry Pi Project on Wednesday July 26, 2017 @11:06AM (#14856770)
Although not strictly a Raspberry Pi project, I have a couple C.H.I.P. boards[1] scattered throughout my apartment collecting temperature and humidity readings (using a HIH8120 sensor[2]) and feeding it to my Raspberry Pi which runs InfluxDB and Chronograf[3] to store and display a simple dashboard. The end result looks like this: http://i.imgur.com/cIrhSUq.png

[1]: https://getchip.com/

[2]: https://sensing.honeywell.com/HIH8120-021-001S-humidity-sens...

[3]: https://www.influxdata.com/time-series-platform/chronograf/

Re:Amazon stock reported at -87.24% on Google Finance on Monday July 03, 2017 @07:37PM (#14692270)
Any EBAY (https://www.google.com/finance?q=NASDAQ%3AEBAY) went up 254%? No, these are just glitches with Google Finance. It happens once in a while.
I use a paid generator: https://termsfeed.com/. It asks you a few questions about how you will be using the data and generates the text based on your answers.
Re:Show HN: Podcat – Imdb for podcasts on Tuesday March 15, 2016 @02:05PM (#11291693)
I like how the people behind the podcasts, the hosts and frequent guests are catalogued. It's an interesting way to browse for episodes and podcasts that I haven't seen done anywhere else.

Shameless plug: I've been working on a similar project (https://podcast.party/) that also lets you subscribe to podcasts to keep track of which episodes you have played/unplayed.

Re:Ask HN : What side project are you working on? on Wednesday August 19, 2015 @11:36AM (#10086219)
PodcastParty – https://podcast.party/

It's a cloud-based podcast aggregator with a focus on discovery and social aspects (e.g. seeing what your friends are listening to, commenting on podcast episodes, sharing clips, etc.).

Re:Why Amazon Has No Profits and Why It Works on Saturday September 06, 2014 @09:41AM (#8278332)
Remember: it's the price-to-earnings ratio and not price-to-revenue ratio.

Amazon's stock trades at a P/E of 910 exactly because it's deferring profit to continue growing its revenue. At some point it's going to stop investing its revenue into growth and start realizing a profit on that revenue. At that point the P/E will come down.

Re:Ask HN: How do you transfer money internationally? on Tuesday August 05, 2014 @10:50AM (#8137160)
I've been happy with XE Trade (http://www.xe.com/xetrade/) for USD/CAD transactions.