Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stackmad
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
stackmad
7y ago
Author of boden here: We have since moved away from a self written smart pointer and replaced as much as possible with standard C++ classes ( shared_ptr, weak_ptr, std::string etc. )
2.
▲
Conan package for googles skia library
(github.com)
2 points
by
stackmad
7y ago
|
0 comments
3.
▲
by
stackmad
8y ago
Actually its 9 plants ;)
4.
▲
by
stackmad
8y ago
Yeah, you have to use IOKit, which hidapi wraps.
5.
▲
by
stackmad
8y ago
LOL
6.
▲
by
stackmad
8y ago
:) But the CO2 measurement part honestly came first.
7.
▲
by
stackmad
8y ago
Sure, but I wanted to see the data over time. And I was bored :)
8.
▲
by
stackmad
8y ago
Yeah, its quite ok.
9.
▲
by
stackmad
8y ago
Totally true, but my soldering iron is in the basement, so ... ;)
10.
▲
by
stackmad
8y ago
Yes, absolutely. I only have one device at the moment, but it sure would be interesting to see how fast the levels equalize between rooms
11.
▲
by
stackmad
8y ago
Yes, I agree. But this was way more fun :)
12.
▲
by
stackmad
8y ago
I guess it should match the outside air as close as possible. So around 400ppm
13.
▲
by
stackmad
8y ago
Its not that I'm afraid to die here :) Its more about improving the quality of the air. And the body is pretty bad at recognizing higher than norm CO2 level unless it gets to life threatening levels. ( https://youtu.be/
14.
▲
by
stackmad
8y ago
Though with your steps it at least starts, but the webserver fails, and CTRL+C doesn't work ^^ * Serving Flask app "co2meter.server" (lazy loading) * Environment: production WARNING: Do not use the development se
15.
▲
by
stackmad
8y ago
That looks great as well! But for some reason the library they use (pyhidapi) would always crash on my Mac.
16.
▲
by
stackmad
8y ago
I saw some study that suggests that higher CO2 levels decrease cognitive abilities. You wont die, but I do tend to get headaches when the air gets worse.
17.
▲
by
stackmad
8y ago
It definitely shows that this is one of the cheapest meters on the market. But the values seem to be realistic, when having all windows open it shows 450-460 ppm which is at least close to the global 400ppm ( and I live next to a road in a
18.
▲
by
stackmad
8y ago
Yeah, I've finally managed to tweak the thermostat on the radiators and the main thermostat for the heater to where I like it :)
19.
▲
by
stackmad
8y ago
Yeah, that was pretty quickly hacked together :)
20.
▲
by
stackmad
8y ago
The device on its onscreen display shows the same steps, so I think its due to how the sensor works.
21.
▲
by
stackmad
8y ago
Depends, this was a question I tried to answer for myself with this project. I did not easily find a good library for Python that would work on my Mac for reading the HID messages, so writing the device part in C++ was easier for me ( and
22.
▲
by
stackmad
8y ago
Yes, I agree. I've already ordered a bunch of plants :) Sadly my building is quite old and ventilation is poor.
23.
▲
by
stackmad
8y ago
That looks good as well! I actually didn't know about that project. It wouldn't have worked on my specific case though since I wanted it connected to my Mac, that tool only works on Linux.
24.
▲
by
stackmad
8y ago
You can only put link + title on here. And the story is rather boring :) I wanted to measure it, I got a device from amazon, found a python script to read the data, the dependencies (pyhidapi) always sigfaulted, so I wrote my own :)
25.
▲
Show HN: I wanted to measure CO2 in my office, so I build a C++ WebServer/App
(github.com)
146 points
by
stackmad
8y ago
|
120 comments
26.
▲
by
stackmad
8y ago
Is there a TL;DR version of their "theory of patches" ?
27.
▲
by
stackmad
8y ago
I'd recommend having a look at sphinx together with exhale https://exhale.readthedocs.io/en/latest/
28.
▲
by
stackmad
8y ago
More people should see this!