Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joewalnes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
joewalnes
13y ago
> No ping/pong Author here. Are you referring to the ping/pong message frames in the WebSocket transport protocol, or just a general heartbeating protocol layered on top of WebSockets? If it's the former, then there's
62.
▲
by
joewalnes
13y ago
Author here: That's a good feature request. I shall implement a truncating exponential backoff algorithm tonight (maybe tomorrow). I've been using this in production for over 2 years and my load levels have not caused any usabilit
63.
▲
by
joewalnes
13y ago
Socket.IO is awesome, but my understanding is that Socket.IO also requires server side components as it adds a layered protocol on top of the WebSocket transport.
64.
▲
by
joewalnes
13y ago
Here's an example of using it to build a quick Linux system monitoring dashboard: https://github.com/joewalnes/web-vmstats
65.
▲
ReconnectingWebSocket
(github.com)
47 points
by
joewalnes
13y ago
|
16 comments
66.
▲
by
joewalnes
13y ago
This: https://github.com/joewalnes/websocketd
67.
▲
by
joewalnes
13y ago
I don't recommend any kind of input parsing in a shell script. You're better of having websocketd fork something like Python, Ruby, Perl, PHP, etc. Like CGI, websocketd will pass additional URL path and query parameters as environ
68.
▲
by
joewalnes
13y ago
It solves the problem of users having an older version of Go installed on their system. For example, if they installed it via apt-get.
69.
▲
by
joewalnes
13y ago
huhtenberg: I believe AsymetricCom was referring to being able to compile an executable using perlcc. He wasn't referring to the networking aspects of it (WebSockets have not been around 10 years). huhtenberg: You're right. It
70.
▲
by
joewalnes
13y ago
Author here. 2 reasons. 1. So developers can do a clean checkout and it will just work. No external dependencies needed (e.g. manually installing Go, setting GOPATH etc). 2. To ensure that anyone who builds and releases it always uses the e
71.
▲
by
joewalnes
13y ago
It's similar to netcat -e and inetd, except it also handles the WebSocket protocol (negotiating the handshake and message framing), so your apps don't need to.
72.
▲
by
joewalnes
13y ago
Author here. Indeed! The very first version of websocketd was actually written in Node. It's great for this kind of stuff. The reason I switched to Go was to make distribution/installation for end users easier.
73.
▲
by
joewalnes
13y ago
Author here. If you use this on top of programs like bash, well ermm, you get what you deserve ;). Here's an example of how I used websocketd to create a little dashboard for monitoring Linux CPU/memory/IO stats. It basically
74.
▲
by
joewalnes
13y ago
OP nailed it. PHP has similarities to Bash scripting. Language sucks. Syntax is awful. You wouldn't want to build anything big with it. You feel dirty and ashamed every time you use it. But... if you just want to get shit done, it'
75.
▲
CSS Counters
(developer.mozilla.org)
1 points
by
joewalnes
13y ago
|
0 comments
76.
▲
Alien hand syndrome
(en.wikipedia.org)
1 points
by
joewalnes
13y ago
|
0 comments
77.
▲
Impact of the US government shutdown
(en.wikipedia.org)
2 points
by
joewalnes
13y ago
|
1 comments
78.
▲
Fitbit for Bonsai trees
(blog.davidsingleton.org)
1 points
by
joewalnes
13y ago
|
1 comments
79.
▲
Simulating a 1974 TI calculator in JavaScript
(righto.com)
1 points
by
joewalnes
13y ago
|
0 comments
80.
▲
Resistor color codes, directly in DuckDuckGo
(duckduckgo.com)
7 points
by
joewalnes
14y ago
|
2 comments
81.
▲
by
joewalnes
14y ago
I've just updated the site to show 4 band vs 5 band resistors (by popular request).
82.
▲
by
joewalnes
14y ago
Yep!
83.
▲
Resisto.rs: No frills resistor color codes
(resisto.rs)
10 points
by
joewalnes
14y ago
|
5 comments
84.
▲
by
joewalnes
14y ago
A few updates: OSHPark now sells the bare PCB for $4.60: http://store.oshpark.com/products/pi-crust-v4 There's a Google Group to discuss ideas, etc: https://groups.google.com/forum/?fromgroups#!forum/picrust
85.
▲
by
joewalnes
14y ago
Indeed it is just a breakout board. It's really just to make it more convenient to connect peripherals. I've found for simple things like LEDs, buttons and some I2C components you can get away without additional protection. I should probab
86.
▲
Pi Crust: Connect things to your Rasperry Pi
(picru.st)
68 points
by
joewalnes
14y ago
|
15 comments
87.
▲
by
joewalnes
14y ago
Here's a plug for an existing plugin that brings these capabilities to standard web-pages. Works in Chrome, FireFox and Safari. http://sockit.github.com/ Note that this was a research project. It works, but there's no security, so once in
88.
▲
View 3D printer .gcode files with WebGL
(gcode.joewalnes.com)
2 points
by
joewalnes
15y ago
|
0 comments
89.
▲
by
joewalnes
15y ago
(I'm the author) An initial version of SmoothieCharts used SVG, but I switched to Canvas because I got slightly better performance (which actually surprised me). That's not strictly true - for very large charts, the SVG ones performed bette
90.
▲
Decentralised Currencies Are Probably Impossible
(links.org)
4 points
by
joewalnes
15y ago
|
2 comments
More ›