Better HN
topnewbestaskshowjobs
Log inSign up

pilliq

13 karma · joined May 3, 2012 (14y ago) · 9 submissions

Submissions

comment 8mo ago · link · parent

True. The reason why this works is because someone owns it and takes responsibility of it, usually for reasons other than making money.

comment 2y ago · link · parent

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.

3.

TSA master keys now available for download(reddit.com ↗)

1 points · by pilliq · 11y ago · discuss

4.

Improve the visibility of your brand using these keywords(nsawatch.me ↗)

9 points · by pilliq · 12y ago · 2 comments

5.

Ask HN: What are your favorite blog designs?

9 points · by pilliq · 13y ago · 1 comment

6.

Love Letters to a Machine(scratchabledevices.com ↗)

2 points · by pilliq · 13y ago · discuss

7.

My friend survived cancer. Please help him make a movie about cancer and life.(indiegogo.com ↗)

2 points · by pilliq · 13y ago · discuss

comment 14y ago · link · parent

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