Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chjj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
chjj
12y ago
That's a really terrible analogy. Would you say the same thing about a desire to play chess or a desire to compete in the olympics? Would you say the same thing about a desire to write software? Heroin is pretty self-destructive, and y
152.
▲
by
chjj
12y ago
Further Nitpick: Nowdays they don't use INT 0x80 for syscalls anymore. It's faster to use something called "virtual system calls" from what I understand (I am not a kernel dev, so don't quote me). It's just wha
153.
▲
by
chjj
12y ago
Not for a side-by-side diff, but I just use this for color diffs: cdiff() { diff -u "$@" \ | sed 's/^\(@@ .* @@\)$/'$'\e[36m''\1'$'\e[m''/g' \
154.
▲
by
chjj
12y ago
I don't see binding arbitration as a bad thing as long as both parties are allowed to agree on an arbiter (I may have missed something, but I imagine that's always the case, and also the case here(?). ...Hell, maybe you could end
155.
▲
by
chjj
12y ago
Size really gets to me. Don't get me wrong, I really like the Nexus 5, but I'm sick of phones that are borderline tablets. I ended up buying a Sony Xperia Z1 Compact (amami). It's damn near the same specs of a Nexus 5 except
156.
▲
by
chjj
12y ago
$ x='() { :;}; echo vulnerable' bash -c 'echo test' vulnerable test $ pacman -Syu ... $ x='() { :;}; echo vulnerable' bash -c 'echo test' bash: warning: x: ignoring func
157.
▲
Termcoin – Now a pure JS Bitcoin wallet and blockchain explorer in your terminal
(github.com)
7 points
by
chjj
12y ago
|
0 comments
158.
▲
by
chjj
12y ago
Just curious, does it support 2FA for the web login and api key (or device keys, whatever google calls them) access for IMAP?
159.
▲
by
chjj
12y ago
It will draw an X11 window if there is an X display. Unset DISPLAY and it will render in the terminal: $ DISPLAY= mplayer ... Updated command for clarity (might want to fullscreen your terminal with this): $ DISPLAY= mplayer tv:/
160.
▲
by
chjj
12y ago
You're in luck: $ mplayer -vo caca my-movie.mp4
161.
▲
by
chjj
12y ago
MPlayer can also do this. Something like this should work as an example: $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 15 -vo caca
162.
▲
by
chjj
13y ago
I'm surprised this article didn't bother mentioning Gliese 581g: https://en.wikipedia.org/wiki/Gliese_581g
163.
▲
by
chjj
13y ago
Incorrect. The kernel devs specifically cited the quality of the drivers when adding it to the taint list. Check the mailing list if you don't believe me. https://lkml.org/lkml/2011/10/6/317
164.
▲
by
chjj
13y ago
Arch. But I've also had virtualbox crash on Debian testing. It's a mess.
165.
▲
by
chjj
13y ago
The VirtualBox virtualization drivers have serious issues. They're written so poorly that they're notorious for causing kernel panics on linux. The kernel devs consider your kernel tainted if you load the virtualbox modules. I
166.
▲
by
chjj
13y ago
I saw this a while ago and always thought it was interesting: I initially thought Knuth was an Apple fan after watching a few of his lectures, but apparently he uses his Macbook only for trivial everyday tasks. For every WM enthusiast here:
167.
▲
Interview with Donald Knuth (2008)
(informit.com)
42 points
by
chjj
13y ago
|
8 comments
168.
▲
by
chjj
13y ago
If it's referring to what I think it is, part of this is my fault and I feel I should give a post-mortem as well. There was a problem with marked (the markdown parser npmjs.org uses for READMEs) which allowed users to provide `javascri
169.
▲
by
chjj
13y ago
I still can't figure why people feel the need to have an all-or-nothing opinion on cryptocurrency. Stross' article says: > Bitcoin comes with an implicit political agenda attached. I disagree. Bitcoin was always supposed to be
170.
▲
by
chjj
13y ago
Just a note to the author if they are reading: you might want to remove that OSC code for inline HTML. There are reasons dynamic codes like those don't exist. Good reasons. (In my own naivete, I once thought an OSC code to access scrol
171.
▲
by
chjj
13y ago
tty.js[1] works on windows (the backend is linked to the winpty library). I'd normally feel like I'm tooting my own horn by inserting this here, but it looks like the clientside part of Butterfly is a fork of my term.js[2]. I'
172.
▲
by
chjj
13y ago
Thanks. Speed was originally marked's top priority. I would say marked's approach takes advantage of the fact that v8 generates _extremely_ fast machine code for regexes. This is just something I discovered through many endless ni
173.
▲
by
chjj
13y ago
I'll keep this as short as possible, but that's not easy. Speed: It's relatively slow (but fortunately faster than markdown.js at the very least). Quality: It carries with it a bunch of nonsensical quirks. Some of these quirk
174.
▲
by
chjj
13y ago
Flattered to see it using marked for the markdown engine. Maybe the world is finally ridding itself of showdown.
175.
▲
by
chjj
13y ago
Some terminals support ACS (with SCLD) but not unicode. It might be better to use ACS: $ hr() { printf '\e(0'; printf 'q%.0s' $(seq $(tput cols)); printf '\e(B'; } Same thing, but potentially more port
176.
▲
by
chjj
13y ago
I can give a simplified overview of the major difference as I understand it (the difference being the method by which each init system starts its daemons on boot): sysvinit/bsdinit - Starts daemons in serial (i.e. synchronously). Consi
177.
▲
by
chjj
13y ago
Even if it is, I have to identify with nickserv. I'd rather not do that in plaintext.
178.
▲
by
chjj
13y ago
Did a double take when I saw this in irssi: 23:22:03 Looking up irc.freenode.net 23:22:03 Connecting to irc.freenode.net [127.0.0.1] port 6697 23:22:03 warning SSL handshake failed: Connection refused 23:22:03 Connection l
179.
▲
by
chjj
13y ago
termcoin uses the bitcoind json-rpc api[1] for (nearly) everything (which means the same wallet.dat file, the same encryption (aes256-cbc), etc.). What I mean to say is, the bitcoind api is a bit limited with regards to how it can manage a
180.
▲
by
chjj
13y ago
It's a bit tough to deal with this since javascript doesn't offer any real way to zero a string's memory. The way to do this would be to read from stdin directly into a Buffer object (which is malloc'd separately from th
More ›