Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_sh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
_sh
14y ago
If anyone wants to have a play with this code, http://jsfiddle.net/SukX5/1/
92.
▲
by
_sh
14y ago
There's this: http://shaffner.us/cs/papers/tarpit.pdf
93.
▲
by
_sh
14y ago
If, like me, you're overwhelmed with complexity in software projects, you need 'Out Of The Tar Pit'[1]. This essay is so good, I've read it four times, gaining new insights every time. [1] http://web.mac.com/ben_moseley/frp/paper-v1_01.pdf
94.
▲
The smallest boolean in javascript
(learnings-bemson.blogspot.com.au)
1 points
by
_sh
14y ago
|
0 comments
95.
▲
by
_sh
14y ago
I call it the 'ideq' (pronounced eye-deck ), a portmanteau of 'identity equals' because in my scheme background, equivalent (eqv?) is less strict than equal (eq?). The 'identity' part of the name, in programming context, means the addr
96.
▲
by
_sh
14y ago
This god-awful meme assumes 'payment' is made only in cash, fails to grasp the nuances of marketing, sweeps aside the subtleties of non-cash transactions, and is such a silly oversimplification that it is almost entirely meaningless.
97.
▲
by
_sh
14y ago
Is there any information on browser compatibility? I see ES5 getters/setters in use for fastfix as well as CSS animations, so I'm assuming there'll be a compatibility matrix somewhere. Also, swipe doesn't seem to work on Chromium 17/Fedora.
98.
▲
by
_sh
14y ago
May I suggest a wander through http://programmingpraxis.com/
99.
▲
by
_sh
14y ago
Yep, I know the command pattern--it requires knowledge of all state up front and breaks down in the presence of distributed state. It makes statements like 'update all records where value x is y ' difficult. You need to gather all such r
100.
▲
by
_sh
14y ago
I get your point, but there is value in delegating to the database--how do I roll back an external state machine?
101.
▲
by
_sh
15y ago
Does warts-and-all PHP include that eval wart, or is it more like most-warts-and-a-subset-of-all PHP ? Not snarky, just curious if there was something I missed.
102.
▲
by
_sh
15y ago
If the mainframe won't cooperate, you'll have work to do no matter what. But you can isolate that work into as little as possible. That is what the Unix tools do. Everything is a service, if you make it so. A component is a service, offer
103.
▲
by
_sh
15y ago
What you say is indeed true, if you take a monolithic approach to problem solving. And I tire of this approach--dammit, we're tool-builders! We have been shown the Unix Way, and yet we ignore it time and again, forcing us into suboptimal so
104.
▲
by
_sh
15y ago
32-bit types are only common in LLVM because typically the target architecture is 32/64-bit. LLVM will handle 16-bit (and even 8-bit or 13-bit) targets just fine. That said, a LLVM backend is overkill for this and I'm sure the simple interp
105.
▲
by
_sh
15y ago
The Digital Antiquarian wrote some interesting blog posts on On-Line Systems and Softporn back in February (with screenshots!). This blog is a great read for info on this and other early adventure games and their creators. http://www.filfr
106.
▲
by
_sh
15y ago
I think the title is fair. The author won a competition by 'beating' the Windows phone with his Android at some task, but was cheated out of his prize. Yes, not paying up when you lose a bet is cheating.
107.
▲
by
_sh
15y ago
If you can, try and track down the documentary Einstein's Brain by Kevin Hull[1], an amusing yarn about a Japanese professor's trip across the US in search of the great man's grey matter. [1] http://en.wikipedia.org/wiki/Relics:_Einstein
108.
▲
by
_sh
15y ago
But this is slower than with multiplication, as Linus explains: the simple shift+add version is all totally serialized and nothing can be done before the previous operation ends: as a result the three adds and three shifts will in
109.
▲
by
_sh
15y ago
6. Scaling is about compromises. Statelessness scales forever, but does nothing.
110.
▲
by
_sh
15y ago
Learning a language is an investment. People defend their investment strategies lest they be considered a fool. Attacking alternatives is a form of defense. I fear it's as simple as that.
111.
▲
by
_sh
15y ago
In the film noir classic 'Double Indemnity', the writers Billy Wilder and Raymond Chandler needed to resolve a particular conceit in the plot where the femme fatale shows up at the doomed hero's apartment but needs to be hidden from an occu
112.
▲
by
_sh
15y ago
Already exists: JBoss Teiid ( http://www.jboss.org/teiid ) virtualizes your LDAP (and more besides) allowing you to 'safely' expose your directory as a restricted view. I use it all the time. Haven't made any millions yet, but I'll keep smi
113.
▲
Reasons given by people who voted against Scheme R6RS
(trac.sacrideo.us)
2 points
by
_sh
15y ago
|
0 comments
114.
▲
by
_sh
15y ago
Also fascinating is the amazing and innovative virtual machine that drives Prolog: the Warren Abstract Machine. See: http://wambook.sourceforge.net/
115.
▲
by
_sh
15y ago
This is how I write scheme macros. First I write some sample code in exactly the syntax I'd like to use, in an ideal way ignoring whether it's possible or not to produce. Then I create a macro to transform that syntax into code, iterating t
116.
▲
by
_sh
15y ago
It's only a 'better experience' if they're not caught. Bank robbers have a 'better experience' of a bank if they're not caught too.
117.
▲
by
_sh
15y ago
You might like 'How to Fit a Large Program Into a Small Machine' ( http://www.csd.uwo.ca/Infocom/Articles/small.html ), where some of the founders of Infocom talk about the approaches they used to fit Zork (which required a massive 1MB of m
118.
▲
by
_sh
15y ago
Apart from better sanitation and medicine and education and irrigation and public health and roads and a freshwater system and baths and public order and a legal document designed to protect the right to read and modify and a philosophy th
119.
▲
by
_sh
15y ago
While modern JVM languages leverage Java to overcome the 'library problem', the traffic tends to be one-way. So while there are 'clojurely' ways to call Java libraries, calling Clojure from Java is ugly and non-idiomatic, despite what the a
120.
▲
by
_sh
15y ago
> You should be thinking -- does a tabular view add value to your app? I think the point of the article was that the author never thought this, but presupposed the answer was always 'yes'. It wasn't until looking at alternative implemen
More ›