News for hackers. Stuff that matters.

pilliq

Re:The bespoke software revolution? I'm not buying it on Friday March 20, 2026 @05:50PM (#47461119)
True. The reason why this works is because someone owns it and takes responsibility of it, usually for reasons other than making money.
Re:Does anyone use sound effects in their dev environment? on Tuesday September 17, 2024 @04:45AM (#41565706)
A bit late to the party, but I had a similar idea a while back and built a prototype of this here: http://pilliq.com/companion

It's a "runtime" that executes arbitrary JS code while continuously playing a single tone. Every loop iteration increases the tone's frequency, and every recursive function call increases the tone's pitch (when the function returns, the tone's pitch is decreased).

  * There are visual markers to show what is currently being executed
  * You can increase or decrease the speed of playback
  * You write your own code and execute it in the browser.
I included two examples of fibonacci: one that's iterative and one recursive. I think the audio/visual feedback helps you "feel" the difference of why the iterative implementation is faster than the recursive one.

It's a bit of a hack, and you may need to refresh the page after it finishes running through the code once.

Re:Ask HN: Fastest concurrent HTTP server library for Python? on Saturday September 22, 2012 @07:35PM (#4559366)
I vote Gevent because of its speed, small resource footprint, and its simple synchronous-looking API, but be aware of its limitations. The greenlets (threads) spawned by gevent run in a single OS thread, so you won't be able to take full advantage of all the cores on your server with Gevent alone. Also, Greenlets run cooperatively meaning each one gains control of the CPU until it's done with its computation or hits an IO call. This is great for IO bound computation, not so much for CPU bound work. Even with these limitations, I still think it'll work well with in your application.

Check out this comparison of Python servers: http://nichol.as/benchmark-of-python-web-servers