Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atdt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
301.
▲
An Investigation of the Therac-25 Accidents (IEEE Computer, 1993)
(courses.cs.vt.edu)
1 points
by
atdt
14y ago
|
0 comments
302.
▲
by
atdt
14y ago
> The massive sequence of stratification layers suggests several millennia of activity, perhaps reaching back to the Mesolithic. Uninterrupted?
303.
▲
by
atdt
14y ago
UglifyJS ( https://github.com/mishoo/UglifyJS ) comes with a JavaScript code generator that is very handy, particularly for compiling DSLs into JavaScript.
304.
▲
by
atdt
14y ago
So the biggest benefit Hague derived from functional programming, by his own account, is that the headache it gave him crippled his zeal for clever tricks. It's a bit like making friends in a new language: when your tongue is tied, your int
305.
▲
by
atdt
14y ago
The fact that the standard library is well-maintained, carefully debugged, and backward-compatible is a far stronger indicator of Python's awesomeness than the existence of shiny, new libraries. Hackers naturally gravitate toward high-visib
306.
▲
by
atdt
14y ago
> the Python module install pain for a one-off task. "pip install requests" ?
307.
▲
by
atdt
15y ago
The fact that you have to ask (and that the question sounds credible) is a bad sign.
308.
▲
by
atdt
15y ago
This seems buggy. I created an archive subfolder and moved all my old Google docs there. This change (which presumably touches metadata only) took minutes to sync (on a fast connection) and failed on one file with this mysterious error: "
309.
▲
by
atdt
15y ago
This is excellent news. WHATWG has been a dynamo for shiny things, and they deserve praise for transforming front-end development into a hugely exciting technological frontier. (Let's track popular usage and call that transformation 'HTML5'
310.
▲
by
atdt
15y ago
Yes, sorry. The article link was down when I was first read the comments, so I wasn't aware of this new book.
311.
▲
by
atdt
15y ago
There were two reasonably-priced used copies of the book at the Strand in New York as of yesterday afternoon.
312.
▲
by
atdt
15y ago
raising the skill requirement to contribute (you have to know JS better than average to never use a semicolon, and do so correctly) Great idea! I propose some additional strategies for pruning the contributor pool: - All numbers in hexade
313.
▲
by
atdt
15y ago
Well, it's true that JavaScript- and Canvas- powered ads are harder to distinguish from legitimate web content. But the flip-side is that they're (re-)programmable using standard JavaScript APIs, and thus vulnerable to manipulation by brows
314.
▲
by
atdt
15y ago
We think about extensibility a lot. We think about languages we don't know how to think about yet. But leaving spaces in the grammar for new languages is kind of like reserving some of our land for national parks and national forests. Or l
315.
▲
by
atdt
15y ago
Dart takes an interesting hybrid approach, making static typing optional but enforcing it rigidly wherever it is declared. (I'm not sure it originated with Dart, but that's where I encountered it.) This allows you to prototype things quickl
316.
▲
by
atdt
15y ago
Marijn has an elegant way of scaling his thoughts to the rhythm and measure of whatever medium he happens to be writing in, a quality which makes him consistently good to read. His response to the workflow prompt is especially good. I'd lik
317.
▲
by
atdt
15y ago
> Pretty sure this is written in the passive voice. No. > (The New York Times book review didn't call it "the turgid, self-righteous and philosophically hopeless ‘Politics and the English language’" for nothing.) Perhaps not, but I
318.
▲
by
atdt
15y ago
1. Common metaphors are dull. 2. Use short words. 3. When it is possible to cut a word, do. 4. Be active. 5. Hold off on loanwords. 6. Hang the sticklers.
319.
▲
by
atdt
15y ago
CSS is a bit of a hobby horse, no? The specifications and implementations have matured considerably over the past few years, making the ugly hacks of yore unnecessary. If you can afford a somewhat degraded experience on IE7, the experience
320.
▲
by
atdt
15y ago
Could you explain why? When I last looked, a crucial component wasn't specced, meaning you had to rely on Mozilla for part of the handshake. Have things change?
321.
▲
by
atdt
15y ago
[citation needed]
322.
▲
by
atdt
15y ago
Eep, thanks. Fixed.
323.
▲
by
atdt
15y ago
NO CARRIER
324.
▲
by
atdt
15y ago
Cool! My first stab at this used an embedded dos @font-face (I think there's a branch in the repo) but I found the canvas text API too limited: it's a huge battle to control things like kerning and aliasing in a way that works across browse
325.
▲
by
atdt
15y ago
If you can get past the naivete, there is a lot of really wonderful ANSI art up on http://sixteencolors.net . The severe constraints of the medium inspired ANSI artists to exploit perspective and color theory to create the illusion of deta
326.
▲
Show HN: ANSI art renderer in JavaScript/Canvas
(atdt.github.com)
47 points
by
atdt
15y ago
|
13 comments
327.
▲
by
atdt
15y ago
Try this: >>> dict(user='root', password='secret') {'password': 'secret', 'user': 'root'} >>> "marry had a little lamb".split() ['marry', 'had', 'a', 'little', 'lamb']
328.
▲
by
atdt
15y ago
Thanks for sharing the link. It's one of the finest things about programming I've read. I enjoyed it a lot.
329.
▲
by
atdt
15y ago
I would pay and so would many others.
330.
▲
by
atdt
15y ago
Hey, cool! The source code for my Chrome extension is also on GitHub: https://github.com/atdt/chrome-force-media-type/blob/master/... The Makefile might be interesting to you. It's very simple, but it automates an annoying part of the dev
More ›