News for hackers. Stuff that matters.
Re:Rethinking temperature, sensors, and Raspberry Pi by detaro on Saturday August 22, 2015 @08:53PM (#10104371)
> Maybe the point is to demo RethinkDB features,

given that this is the RethinkDB blog, I'm pretty sure that is the point: a nice little toy example to show what it can do.

That said, the node parts probably could have been done in Python as well and made the entire thing a bit easier.

Re:Rethinking temperature, sensors, and Raspberry Pi by dalanmiller on Monday August 24, 2015 @12:26PM (#10110957)
Howdy! Author here.

I definitely wanted to do all parts in Python but am somewhat allergic to the `while True:` pattern necessary in Python for changfeeds. I haven't brought myself up-to-date on the more recent asyncio library to write the more Pythonic `yield from` for a changefeeds example.

Would you know how to do this in Python elegantly? Because I would love to rip out the Node/Javascript parts.

Re:Rethinking temperature, sensors, and Raspberry Pi by BufordTJustice on Saturday August 22, 2015 @09:15PM (#10104417)
Still, it kind of seems like a blog for Kenworth demoing someone using a giant truck to race around a track, I mean I guess you can do it, but it doesn't seem like the intended application.