HNHacker News
TopNewBestAskShowJobs

tsyd

49 karma · joined July 29, 2010

submissionscomments
tsyd··on Amazon Warehouse scam: 16TB HDD swapped for 8TB, returned for full refund
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.

tsyd··on Saudi Arabia threatens to ditch dollar oil trades to stop 'NOPEC'
> 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

tsyd··on Ask HN: Share Your Raspberry Pi Project
> 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.

tsyd··on Ask HN: Share Your Raspberry Pi Project
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.
tsyd··on Ask HN: Share Your Raspberry Pi Project
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...

tsyd··on Ask HN: Share Your Raspberry Pi Project
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/

tsyd··on Amazon stock reported at -87.24% on Google Finance
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.
tsyd··on Ask HN: Do you have a Privacy Policy and ToS for your side projects?
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.
tsyd··on Show HN: Podcat – Imdb for podcasts
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.

tsyd··on Ask HN : What side project are you working on?
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.).

tsyd··on Why Amazon Has No Profits and Why It Works
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.

tsyd··on Ask HN: How do you transfer money internationally?
I've been happy with XE Trade (http://www.xe.com/xetrade/) for USD/CAD transactions.