Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zwp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
zwp
12y ago
Fortunately you beat me to it. I was going to post the later sequence at: https://www.youtube.com/watch?v=E43-CfukEgs&feature=youtu.be... But on closer viewing that is a disastrous montage: the first few seconds (before
122.
▲
by
zwp
12y ago
while, true, do, done are all [bash] shell builtins. They are not running processes that can be suspended. sleep(1) is the only process that can be suspended in this command. When you "fg", the suspended sleep(1) is signaled, and
123.
▲
by
zwp
12y ago
> representing HTML You may like Clojure's Hiccup: https://github.com/weavejester/hiccup http://www.rkn.io/2014/03/13/clojure-cookbook-hiccup/ These representations underlin
124.
▲
by
zwp
12y ago
Perhaps "git diff --word-diff" helps? I don't see a similar option for "git show" though and that seems important :( I think you're right: if the diff-viewing infrastructure was abstracted (plugin?) it could do
125.
▲
by
zwp
13y ago
Just for interest [I'm not saying it's broken either] but this is interesting DLP progress announced within the last 12 hours: https://listserv.nodak.edu/cgi-bin/wa.exe?A2=NMBRTHRY;23651c...
126.
▲
by
zwp
13y ago
blablacar discuss their model here (I think (via whois) these guys are also the covoiturage and comuto brands): http://allthingsd.com/20131202/europes-blablacar-has-created... "The company last raised funding in 2
127.
▲
by
zwp
13y ago
ANSSI is not just a "French certificate authority". It's a government defence agency. http://www.ssi.gouv.fr/fr/anssi/presentation/ "The agency is attached to the secretary general of defe
128.
▲
by
zwp
13y ago
Shellcheck recently found a bug in one of my old scripts. You can use the web interface or compile it for local use: http://www.shellcheck.net/ https://github.com/koalaman/shellcheck
129.
▲
by
zwp
13y ago
So tmpwatch traverses filesystems. Is that a bug? (thinks: "-xdev"). Edit: Reading tmpwatch.c: "Try hard not to go onto a different device". Perhaps old bug?
130.
▲
by
zwp
13y ago
On the flip side, HT Bridge have got way more than 12.50 USD publicity out of this.
131.
▲
by
zwp
13y ago
FYI, sometimes called "Yoda condition". I _think_ I was taught to do this when I learnt C (~20 years ago). Wikipedia indicates that the name at least has been around since 2005.
132.
▲
by
zwp
13y ago
If you mean "cyber-blow-up" there's https://www.sans.org/netwars/cybercity I've no idea if it lives up to its own hype.
133.
▲
by
zwp
13y ago
"Time how long the round-trip takes and you can pinpoint where the break is" Make breaks A and B near the endpoints. Make a third break X, between A and B, and install splitter at X.
134.
▲
by
zwp
13y ago
> newer snprintf Also see C11's sprintf_s() and similarly-named friends.
135.
▲
by
zwp
13y ago
Minimal explanation (allegedly by author "sd") at: http://packetstormsecurity.com/files/121616/semtex.c
136.
▲
by
zwp
13y ago
Isn't the issue the pipe, not while? export a=0 while read line ; do a=$(expr $a + 1) done < $file echo $a (Some old shells fork on < but bash isn't one of them).
137.
▲
by
zwp
14y ago
"Comprehensive Experimental Analyses of Automotive Attack Surfaces", Checkoway et al. http://www.autosec.org/publications.html From the FAQ: "We explore a number of other communications channels in our August 2011 paper "Comprehensive Exp
138.
▲
by
zwp
14y ago
Yes, lots. A quick sample below just based on searching amazon.{fr,it,es,de}. Good luck. French: Apprendre à programmer avec Python 3 (Learn to program with python 3) http://www.amazon.fr/Apprendre-%C3%A0-programmer-avec-Python... Python
139.
▲
by
zwp
14y ago
> the voice in your head I recommend "The Writer's Voice" (Alvarez) for more on this.
140.
▲
by
zwp
14y ago
I think it's fair to say that it's still not really clear. Twitter(!) has the news as it broke/continues to break: https://twitter.com/0xabad1dea/status/243095210819715072
141.
▲
by
zwp
14y ago
I'm certain real-world languages are much harder too. I'm surprised that the author, a perler, didn't make the connection to Wall's "Natural Language Principles in Perl": http://www.wall.org/~larry/natural.html This document is quite old
142.
▲
by
zwp
14y ago
Cute, I like the way ASCII art is preserved. Small bug: RFCs < 1000 that are not prettifiable have a extraneous zero in the datatracker.ietf.org link. Eg: http://pretty-rfc.herokuapp.com/RFC123 redirects to: http://pretty-rfc.herokua
143.
▲
by
zwp
14y ago
> GMail does not require STARTTLS. $ telnet smtp.gmail.com 587 Trying 173.194.67.108... Connected to gmail-smtp-msa.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP ea6sm27303065wib.5 HELO zwp
144.
▲
by
zwp
14y ago
> like One significant difference: when running python from a shell there's a fork() and an exec(). env(1) doesn't fork: there are not two processes. (In other words: the shell does not exit when you run a command, env vanishes). There
145.
▲
by
zwp
15y ago
> JSON is a bit less-wrong than XML here, because you know what's a number, what's a string, what's a list http://www.w3.org/TR/xmlschema-2/#typesystem
146.
▲
by
zwp
15y ago
> examples git tag Lists tags; does not create new tag git stash Stashes current changes; creates new stash List tags/stashes: git stash list git tag [-l]
147.
▲
by
zwp
15y ago
The article does not address another significant point: filenames should also be classified as untrusted input. Using -- to separate flags from arguments can help: /tmp$ mkdir x /tmp$ cd x /tmp/x$ echo hello > a /tmp/
148.
▲
by
zwp
15y ago
I've used their cheapest monthly VPS for about 18 months. Provisioning was excellent, uptime also. On the one occasion I needed support they were responsive and my problem was solved promptly. Web-based console access a nice feature. They e
149.
▲
by
zwp
15y ago
Security mindset edw? (a), (c) I press all buttons as I exit elevator. (b) gummi bear attack or similar. (d) Arrive carrying large cumbersome object "Heh, can you call the elevator for me?" (then run away) (f) is easily reversible: should s
150.
▲
by
zwp
15y ago
> themes [...] wall to climb over Urban dictionary ( http://www.urbandictionary.com/define.php?term=fail upwards) dates this term 2009. I originally saw "fail upwards" in alpinist Mark Twight's writings[1] ten years before that: his se
More ›