Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sigil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
391.
▲
by
sigil
13y ago
Ubiquiti devices all the way [1] [2]. They're the hacker's choice! Before I discovered Ubiquiti, the Linksys WRT54Gx series was my goto. The problem with them is that, as a given WRT54Gx line matures, they usually shave down the s
392.
▲
by
sigil
13y ago
Number 5, "don't believe the hype," reminds me of this interview with the creator of Pinboard... > The Pinboard about page says: "There is absolutely nothing interesting about the Pinboard architecture or implementat
393.
▲
by
sigil
13y ago
The "OPSEC for Hackers" guy, @grugq, is also developing a Tor appliance. PORTAL is opensource (unlike the SafePlug) and targets the Raspberry Pi. https://github.com/grugq/PORTALofPi
394.
▲
by
sigil
13y ago
> Every single one of these questions is easier to answer if you're using a less agonizing language than Bash and its relatives. I disagree. While the set of things that are "hard" to do is probably larger in shell than th
395.
▲
by
sigil
13y ago
> a new shell is started on each iteration This is not actually true. printf "\n\n\n" | while read i; do a="x$a"; echo "$a"; done x xx xxx The accumulator value even carries over after t
396.
▲
by
sigil
13y ago
> So does that mean, that "for" will do something per word of the output of $, rather than per line of output of it? Correct. The argument to "for" is a list of words. > What to do if I want to do something for eve
397.
▲
by
sigil
13y ago
> I'd love to see a clean slate replacement for the shell that still feels Unix-like and retains most of its existing benefits. Have you looked at scsh, the Scheme Configurable Shell? It's a nice clean language with a REPL (wel
398.
▲
by
sigil
13y ago
But Flanker's full-message parser is still 8x faster than email.parser's full-message parser, according to their benchmark. It's pretty unlikely that many well-used and years old OSS language libraries have orders of magnitu
399.
▲
by
sigil
13y ago
This is great guys. It's surprising that you're able to get an 8x-20x speedup over email.parser with another pure python parser. (What does this say about email.parser, eh?) Did you consider using a C extension and tools like lex
400.
▲
by
sigil
13y ago
The kernel. On linux for instance, this $ ps aux | grep acpi turns up the following kernel process on my machine: root 663 0.0 0.0 0 0 ? S< Oct29 0:00 [ktpacpid]
401.
▲
by
sigil
13y ago
Thanks for your analysis. Even if this new equilibrium claimed by Eyal/Sirer doesn't hold up under scrutiny, haven't they at least succeeded in lowering the controlling percentage an individual would need to "cheat"
402.
▲
by
sigil
13y ago
ImageMagick can do this too: convert -filter Sinc -resize 200% input.png output.png However, as pointed out by other commenters, sinc by itself isn't the greatest support function for enlargement due to the ringing artifacts [0]
403.
▲
by
sigil
13y ago
Another way to derive a closed form for the Fibonacci sequence: put the recurrence relation in vector form and solve by finding the eigenvalues. (Which, beautifully, turn out to be the golden ratio and its rational conjugate.) http:/&
404.
▲
by
sigil
13y ago
If you're looking for a modern compilers class -- including the theory of why this stuff works -- I highly recommend Matt Might's [0]. All of the notes, slides, and code are online. I audited Might's "Compilers" thi
405.
▲
by
sigil
13y ago
Try this: ffmpeg -i frame%04d.png -vcodec mjpeg -sameq test.avi
406.
▲
by
sigil
13y ago
Totally agree, although the author's use of vlc definitely qualifies as a clever hack. I want more hackers to realize how insanely easy it is to programmatically generate video with ffmpeg. Just write a program that dumps raw RGB frame
407.
▲
by
sigil
13y ago
The only reason I'd wear a watch is to have something to look at impatiently. Smartwatches are about to ruin this. When you look at your smartphone impatiently, you could be looking at anything -- because it can do almost anything. Wat
408.
▲
by
sigil
13y ago
It's also hard to stay on top, and it gets harder the closer you are: the turnover of individuals in these extreme upper brackets is high [0]. The composition of the very top income groups changed dramatically over time. Less than hal
409.
▲
by
sigil
13y ago
> upward mobility has been regressing in the US for a while now Do you have a source for this? > If you are born in the bottom fifth, your odds of making it out of there are roughly fifty/fifty. Are you sure? In a longitudinal s
410.
▲
by
sigil
13y ago
netcat.c is by far one of the most entertaining code reads out there. Because of the unix networking / portability rants -- which are sometimes informative -- and also because the Hobbit was such a strange, scatalogical creature...
411.
▲
by
sigil
13y ago
A fair share of the WTFs for python are probably due to the WTForms library. I count 6 out of 10 WTForms matches on the first page of github file results. https://github.com/search?q=wtf+extension%3Apy&type=Code&ref.
412.
▲
by
sigil
13y ago
Has anyone else noticed that Gogo shows higher prices to mobile phones? That seriously pisses me off. The fact that none of my mobile browsers can change the user agent string pisses me off even more.
413.
▲
by
sigil
13y ago
I tried Luwak coffee last summer in Munduk, a mountain village in north Bali. Honestly: it's nothing special. My girlfriend (a former barista) vetoed it after she saw a caged Luwak, and the huge piles of drying coffee-bean-laden turds
414.
▲
by
sigil
13y ago
The article also makes it sound like TI released the first graphing calculator in 1990. In fact, HP did that a full 3 years earlier. http://en.wikipedia.org/wiki/HP-28C I much preferred programming the HP-28 (and later
415.
▲
by
sigil
13y ago
If you live in Seattle and you're curious about mesh networking, I highly recommend checking out http://seattlewireless.net/ They've been at it since 2000, have various nodes throughout the city and some impressiv
416.
▲
by
sigil
13y ago
A later Yegge post sums up my reaction to this (I still write Perl from time to time): As I've done for a great many other programming languages, I've bashed on Perl's technical weaknesses at length in the past. To my contin
417.
▲
by
sigil
13y ago
The problem was how to keep the wheels of industry turning without increasing the real wealth of the world ... and in practice the only way of achieving this was by continuous warfare. The essential act of war is destruction, not necessaril
418.
▲
by
sigil
13y ago
Look Dave, I can see you're really upset about this. I honestly think you ought to sit down calmly, take a stress pill, and think things over. I know I've made some very poor decisions recently, but I can give you my complete assu
419.
▲
by
sigil
13y ago
Nice. Have you considered putting the extracted (H,S,V) color space points into a postgis database? Querying and ordering with a KNN gist index may be even faster than bare R-Trees. http://workshops.opengeo.org/postgis-intro
420.
▲
by
sigil
13y ago
netcat doesn't "solve" this unix design problem any better than the author's own programs, tcpserver and tcpclient [0], solve it. djb's argument here is that TCP sockets are more like pipes, with separate read and w
More ›