Better HN
topnewbestaskshowjobs
Log inSign up

ericbarch

26 karma · joined Mar 19, 2012 (14y ago) · 23 submissions

[ my public key: https://keybase.io/ericbarch; my proof: https://keybase.io/ericbarch/sigs/zkn8eUY_b-A_jRgTJ9YcVDT6VsSXGpf6n7Rq3lfKRN4 ]
Submissions

1.

Dockuwiki: A containerized wiki that backs itself up via git(github.com ↗)

8 points · by ericbarch · 9y ago · discuss

2.

Tunneling HTTP Connections via Socket.io Streams(ericbarch.com ↗)

3 points · by ericbarch · 10y ago · discuss

comment 12y ago · link · parent

"Harmless pot? New marijuana study shows brain damage in those 18-25"

Although this could certainly be the case, I do have an issue with the article. The conclusion of the research seems to be this quote:

"Breiter and his colleagues found that among all 20 casual marijuana smokers in their study — even the seven who smoked just one joint per week — the nucleus accumbens and amygdala showed changes in density, volume, and shape. The scientists also discovered that the more pot the young people smoked, the greater the abnormalities."

It is never actually stated that these changes in density, volume, and shape cause brain damage. Seems to be a bit of a sensationalist headline in my mind.

comment 12y ago · link · parent

Our box actually wasn't disabled - just the network. We were getting hit with > 1 Gbps of bandwidth inbound. Prior to the DDoS, we were handling the traffic quite well with a single 1GB RAM box. At times we were pushing around 20MB/s outbound.

comment 12y ago · link · parent

It's Bluetooth Low Energy. We wrote a very basic Node.js library we're using to control it right now. You can check out the code here: https://github.com/lavallc/ionode Documentation is yet to come, but it will be an open API.

One of these guys and a Linux PC is all you need http://www.iogear.com/product/GBU521/ We'll most likely open source the Try Ion code as well so you can build off that if you like =)

comment 12y ago · link · parent

Haha, we actually did think about this when building it. The smartphone notification feature is a major selling point, but we also wanted it to be useful without a phone.

The touch sensitive cap lets you cycle through all the 'moods'. A lot of friends that have seen it love it for the music moods alone (microphone picks up the audio in the room).

We'll also be adding in a feature that allows you to turn the lamp on to full white and back off just by holding the top (really nice if you need to get up in the middle of the night).

comment 12y ago · link · parent

This was actually the solution I almost went with, but found I could achieve a higher frame rate and lower bandwidth usage with jsmpeg.

We're located in Flint, Michigan and using a DigitalOcean box hosted in NYC. I haven't run any latency tests, but I'd ballpark the number to be in the 250-500ms range. I was blown away that it worked as well as it did.

comment 12y ago · link · parent

Thank you! The author really deserves the credit here, we love how well it works. https://github.com/phoboslab/jsmpeg

comment 12y ago · link · parent

The server will be punished severely, rest assured.

comment 12y ago · link · parent

I should also add, that's close to 2A when on full white. Most of the 'moods' on the lamp do not draw anywhere near this.

comment 12y ago · link · parent

We have thought about it, but we would need to either make a smaller version of the lamp or have less LEDs (a compromise we weren't willing to make). We pull close to 2A with the 40 LEDs right now. Most USB supplies and ports output around 0.5-1.0A.

comment 12y ago · link · parent

F5 :P

comment 12y ago · link · parent

A year or two ago - definitely. But as of today, I would disagree. Apple has been shipping BTLE in their devices since the 4S. All flagship Android phones have been shipping with BTLE for over a year (with official SDK support added in 4.3). You can pickup a $10 USB BTLE dongle and it works out of the box with bluez (Raspberry Pi works great).

comment 12y ago · link · parent

Yup, ffmpeg to a node.js script that is rebroadcasting over websockets. We tried 4-5 live streaming services and could not find one that had latency lower than 10-15 seconds (if not more).

comment 12y ago · link · parent

Sorry about that. Just pushed a fix up to production. Our server was crying for a bit there ;)

comment 12y ago · link · parent

Good call, adding that to the FAQ now. It's 12" tall and 3.25" in diameter.

comment 12y ago · link · parent

Thanks! We're using binary websockets to route the actual video frames. There's also an instance of haproxy sitting in front of everything. But our server is still choking every one in a while, heh.

comment 12y ago · link · parent

And now we're onto the Vocal Trance station.

comment 12y ago · link · parent

For those of you interested, the speakers are currently playing DI.FM's Electro House channel. Let's get this drive-in-theater vibe going!

comment 12y ago · link · parent

It's on par with a 30-40W incandescent bulb. Plenty bright to light up a small room or read by.

comment 12y ago · link · parent

Might I add this code is VERY rudimentary at the moment. But yes, you will =)

comment 12y ago · link · parent

I think they're referring to the fact that it sends the pulse once per second. Could have been worded differently.

23.

Building the open source distributed cloud(ericbarch.com ↗)

1 points · by ericbarch · 14y ago · discuss