Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bascule
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
541.
▲
by
bascule
15y ago
Whiteboards can be invaluable tools and are a great way to explain problems. Writing large amounts of code that might require a great deal of revision is better served by a computer. My best experiences in job interviews on a whiteboard hav
542.
▲
"Can you solve this problem for me on the whiteboard?"
(unlimitednovelty.com)
130 points
by
bascule
15y ago
|
52 comments
543.
▲
Celluloid::IO: evented I/O in Ruby with a synchronous API
(github.com)
1 points
by
bascule
15y ago
|
0 comments
544.
▲
by
bascule
15y ago
When I made this comment the other day, I wasn't actually serious that someone should build a JavaScript compiler that does CPS: "CPS is also generally used as an IR in compilers, not something you write by hand" http://news.ycombinator.co
545.
▲
by
bascule
15y ago
If you quote the Wikipedia definition with a bit more context you'll see it matches mine: "In computer science, concurrency is a property of systems in which several computations are executing simultaneously, and potentially interacting wit
546.
▲
by
bascule
15y ago
There are many ways to compose deferrables, primarily by grouping several of them together into something which is also a deferrable. See the em-scenario gem for examples: https://github.com/athoune/em-scenario Note: I still think this ap
547.
▲
by
bascule
15y ago
em-synchrony's problem is it has people wrap asynchronous libraries one-at-a-time. There's a few problems with that: You're exposing a synchronous API, but still can't take advantage of the huge ecosystem of Ruby libraries that already expo
548.
▲
by
bascule
15y ago
You're confusing concurrency and parallelism. Concurrency describes having several tasks or operations that contend on resources or events. They may or may not execute in parallel, and certainly don't in Node. In contrast, Netty provides a
549.
▲
by
bascule
15y ago
CPS is also generally used as an IR in compilers, not something you write by hand
550.
▲
by
bascule
15y ago
You don't get to choose when to block. Blocking becomes an error which hangs the event loop. The only option for blocking calls is to use a thread pool that sends events back to the event loop when a thread finishes running.
551.
▲
by
bascule
15y ago
There are ways to compose functions, like the deferrable pattern. They just all kind of suck and are poor replacements for having a stack. I'm all for using coroutines to solve this problem. That's the approach taken by my Celluloid::IO lib
552.
▲
by
bascule
15y ago
If you're calling Ruby "blub" in comparison to JavaScript, I think you completely missed the point of what blub was supposed to be in pg's original essay. On the contrary, you seem to be acting like a blub programmer looking up the power co
553.
▲
by
bascule
15y ago
> there should be no reason not to have your new modern programming language support tail calls There's many valid reasons not to support TCO. The first one that comes to mind: it makes generating stack traces more difficult. Another re
554.
▲
by
bascule
15y ago
I have vitreous floaters (see http://en.wikipedia.org/wiki/Floater ) which are significantly more visible against a white background. This is especially annoying while programming. I've always preferred a dark background though tried switc
555.
▲
by
bascule
15y ago
jruby-openssl has worked fine for me for several years. Making outgoing SSL connections was one of the primary functions of the last app I worked on.
556.
▲
by
bascule
15y ago
I've never seen a .plan in PDF form before. I think it would be difficult for finger to render this.
557.
▲
by
bascule
15y ago
I could understand where this guy was coming from better if this article had a less condescending tone. Instead this just sounds like he's whining that MG and Gruber are Apple hipsters that think they're better than everyone who owns a non-
558.
▲
by
bascule
15y ago
If you were to pick a different name to avoid overlap with Amber Smalltalk, I'd recommend substrate.js. It conveys a fundamental organizing principle in the same way "backbone" does, and best of all it starts with 's' so all the SCs all ove
559.
▲
by
bascule
15y ago
I thought the most bothersome thing on the entire page was the claim they put "business over code". Without working software you don't have a business.
560.
▲
by
bascule
15y ago
:O so much for the concept of a password vault. I had better security than this when I was manually decrypting/encrypting a .txt file with my passwords with AES256
561.
▲
by
bascule
15y ago
If headphones are the problem, ban wearing headphones during takeoff and landing. Why the slippery slope towards all electronic devices?
562.
▲
by
bascule
15y ago
Sorry, but this is bullshit. What makes electronic distractions worse than non-electronic ones? Why does the medium of a dead tree versus an e-reader when the activity is the same: reading a book. If people think the plane's going to crash
563.
▲
by
bascule
15y ago
I'm more a fan of catfish and salmon
564.
▲
by
bascule
15y ago
For me the desire towards absolute perfectionism has passed regardless of my level of intoxication, but I agree with your sentiment in general. I code best when I'm relaxed. Alcohol helps me relax.
565.
▲
by
bascule
15y ago
The proposed changes, particularly tail recursion, an if operator, and a zip operator in effect give you a functional language with immutable state. While you can't "write" to the Turing tape as a side effect as the language is immutable, y
566.
▲
by
bascule
15y ago
Except there's no logic in the language itself, from the perspective of Mustache what you're doing is purely declarative. Adding an explicit "if" operator does introduce logic into the language, and may very well make the language suffici
567.
▲
by
bascule
15y ago
Having worked at startups with both cowboys with a "get 'er done" attitude and people who actually care about software craftsmanship, I'll take the latter any day. Cowboys may get things "done" quickly, but that doesn't help when things are
568.
▲
by
bascule
15y ago
As a user of Clojure and an onlooker of things like mustache (and handlebars) who has used neither of the latter, this post left me incredibly confused. I like the points about destructuring and having something like a let binding. Those se
569.
▲
by
bascule
15y ago
Just to show how Github watchers correlate to real-world popularity, my now-defunct programming language Reia is the #3 most watched Erlang project on Github, ahead of projects like Riak and RabbitMQ: https://github.com/languages/erlang
570.
▲
by
bascule
15y ago
Some of us actually care about interoperability, maintainability and writing good code in general as opposed to just cowboying stuff together as quickly as possible
More ›