Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andkerosine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
andkerosine
13y ago
For what it's worth, Vim handles it just fine.
2.
▲
by
andkerosine
13y ago
As its creator, I would certainly agree. Still, I'd feel bad if some poor soul considered it anything but an interesting demonstration of Ruby's capabilities.
3.
▲
by
andkerosine
13y ago
This has no business being at the top of HN.
4.
▲
by
andkerosine
14y ago
Having written it, I can assure you that cookies are not required for it to work, and thus no whitelisting should be necessary. I think you may've had some other problem.
5.
▲
by
andkerosine
14y ago
Populating the list with answers that are irrelevant almost 99% of the time would be downright cruel.
6.
▲
by
andkerosine
14y ago
It's definitely in there, nowhere near as short as the K and Golfscript solutions, though.
7.
▲
by
andkerosine
14y ago
The person on a high score list of one is in both first and last place. Zen to remember.
8.
▲
by
andkerosine
14y ago
The intention, ideally, is to get a system in place that allows for seamlessly adding new languages and "tasks" and open it up.
9.
▲
by
andkerosine
14y ago
The culprit: Array::shuffle = -> @sort -> 0.5 - Math.random() was just too damned sexy to pass up, but it's apparently pretty bad at distribution. Running it ten times seems to have helped. : )
10.
▲
by
andkerosine
14y ago
But "undefined" is such a beautiful terminus; what lies beyond the horizon is entirely up to your imagination. : ) Also, I opted for Tab completion instead of arrow keys; it's much faster and far less finicky to implement robustly.
11.
▲
by
andkerosine
14y ago
I know auto-accepting only the correct answer is a pretty unorthodox way to do it, but I initially took to making this to familiarize myself with the various syntaxes, and it's the approach I tend to opt for when teaching myself things by r
12.
▲
by
andkerosine
14y ago
Language constantly evolves, and I reckon there's certainly enough room for "transpile" somewhere in that process. CS -> JS isn't quite translation (much of it stays the same) and it's hardly compilation (but that seems to be the acce
13.
▲
by
andkerosine
14y ago
What with that link just sitting there out in the open, I want to clarify that it's transpiled CoffeeScript and that the original[1] is far more sane. [1] http://wtpl.heroku.com/js/engine.coffee
14.
▲
by
andkerosine
14y ago
To think that Brainfuck * Befunge could be anything but a disaster.
15.
▲
by
andkerosine
14y ago
Which do you mean? They're scrambled randomly at the start.
16.
▲
by
andkerosine
14y ago
How I wish I could say I speak 70+ programming languages, but alas, they're all from Rosetta Code.[1] I would like to show a variety of "tasks", as the site calls them, but scraping seems like it would be a pain, so I went with the most int
17.
▲
by
andkerosine
14y ago
Author here. Sorry for nipping your adventure short, but I caught sight of how fast the logs were scrolling, noted the HN referrer, and decided it'd probably be best to stop requesting the next code block from the server and just store ever