tsyd
Joined 16 years ago
Joined 16 years ago
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]
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.
Here's the program I wrote to read the sensor over I2C: https://gist.github.com/tsyd/f48e933a21fb40b9f9eea28118f54e0...
[1]: https://getchip.com/
[2]: https://sensing.honeywell.com/HIH8120-021-001S-humidity-sens...
[3]: https://www.influxdata.com/time-series-platform/chronograf/
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.
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.).
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.
I knew this was a possibility when buying from Amazon Warehouse but didn't expect it when buying new directly from Amazon.