Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sigil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
481.
▲
by
sigil
14y ago
Question for jgrahamc: how much more efficient is your binary delta algorithm than cperciva's bsdiff [1]? I assume since you've got the preimages of compression, as well as control over the compression format, that the diff and patch operat
482.
▲
by
sigil
14y ago
They use MAP_ANONYMOUS, not a file-backed mmap. https://github.com/twitter/fatcache/blob/master/src/fc_util....
483.
▲
by
sigil
14y ago
It would be trivial to batch writes to the mmap'ed region. Reads would still benefit from OS caching.
484.
▲
by
sigil
14y ago
Curious, why not just use an mmapped file for the store a la varnish? If the file lived on the SSD you'd get in-memory caching for free from the OS.
485.
▲
by
sigil
14y ago
Screen has it’s use too though. Install it on the servers you connect to. Then you can take advantage of session durability... Which tmux also has (tmux detach / tmux attach). ...and sharing... Which tmux can also do, arguably better, b
486.
▲
The Great Gesture Myths
(interhacktive.org)
1 points
by
sigil
14y ago
|
0 comments
487.
▲
by
sigil
14y ago
BSD userlands have jot(1) instead of seq(1). Annoying that the arguments differ, but no need for a new script. http://developer.apple.com/library/mac/#documentation/Darwin...
488.
▲
by
sigil
14y ago
Yup. OpenWRT supports 802.1q VLANs. So does the stock firmware from Ubiquiti, AirOS (which is just linux). http://wiki.openwrt.org/doc/networking/network.interfaces#vl...
489.
▲
by
sigil
14y ago
Oh it routes just fine. Add a cheap switch if you need ethernet ports.
490.
▲
by
sigil
14y ago
I'm only a little sad about this. Linksys was my go-to for hackable wireless routers until I discovered Ubiquiti. Seriously, these guys make some awesome stuff. http://www.ubnt.com/ $80 will get you a legal-maximum 1000 mW transmitting, f
491.
▲
by
sigil
14y ago
This isn't a new idea, although we have yet to see someone execute it well. Plura Processing tried it back in 2008. Here's their Show HN: http://news.ycombinator.com/item?id=347359 Plura ran into trouble because they built a pay-for-grid
492.
▲
by
sigil
14y ago
I'll second that. For example, here's a bot that logs every channel you invite it to...in 50 lines of shell. How big would the equivalent XMPP bot be (libraries included)? https://github.com/acg/logbot/blob/master/bin/logbot.sh
493.
▲
by
sigil
14y ago
True. Empirically though, very few self-taught programmers seem to know about FSMs or other core CS topics like complexity theory. This has been my experience interviewing programmers at least.
494.
▲
by
sigil
14y ago
Alternatively, if you don't trust a large program with dropping root, you can factor out the binding and listening into a separate program. Then accepting and everything beyond can be done with normal privileges. Assuming a tcpserver-like p
495.
▲
by
sigil
14y ago
Thanks! I knew there had to be something like this out there. > The similarly-named "Uptimes Project" seems to have expired... The irony.
496.
▲
Ask HN: What's the longest Unix uptime you've ever seen?
14 points
by
sigil
14y ago
|
11 comments
497.
▲
by
sigil
14y ago
Instead of "#ifndef _SOME_HOPEFULLY_UNIQUE_NAME_H" I've started using "#pragma once" -- it's likely supported by every compiler you care about. http://en.wikipedia.org/wiki/Pragma_once
498.
▲
by
sigil
14y ago
Why reinvent version control inside of WordPress? I'd rather version my content in git and build a static site from that. I think there's a real opportunity for github, or a github app, to revolutionize publishing by building on the existin
499.
▲
by
sigil
14y ago
Tried notmuch a while back, ended up going back to mutt. If you're an emacs user the notmuch mode may work well for you. The notmuch.vim plugin, OTOH, leaves a lot to be desired. More promising is this fork of mutt that adds notmuch support
500.
▲
by
sigil
14y ago
The litany of employee problems that he has to face because he cannot fire people is a nightmare... The workaround for that in France: don't hire people. I worked for a French startup. The founder rented all his employees from a consultin
501.
▲
by
sigil
14y ago
What about fees and taxes Europeans pay apart from their bill? I'd also like to see a fairer comparison here. If telecommunications infrastructure in these leading countries was subsidized by tax dollars, as the following article suggests
502.
▲
by
sigil
14y ago
Buzzword headline aside, the Spanner paper is great and worth your time. As is the BigTable paper, the Dremel paper, and the Paxos Made Live paper. I read the Google whitepapers and wonder, is there anywhere else one can go to work on real
503.
▲
by
sigil
14y ago
libev user here. While I couldn't care less about portability to windows, if libuv really does improve libev's performance on unix then consider me interested: https://github.com/joyent/libuv/issues/485
504.
▲
by
sigil
14y ago
If it's useful in shell pipelines, show examples of actual shell pipelines, instead of a useless use of cat(1). cat /etc/issue.logo | skypipe gentoologo # no skypipe gentoologo < /etc/issue.logo # yes http://partma
505.
▲
by
sigil
14y ago
Just wanted to second this. I've been using Ubuntu on Thinkpads since 2006. It's been 5 years since I really had to deal with the Ye Olde Unix Desktop problems of yore ("why doesn't my wifi / digital camera / suspend resume / etc work"). It
506.
▲
by
sigil
14y ago
Useful idea. I sometimes use time [1] to print stats at the end of the program's run, like so. /usr/bin/time -f 'user=%U system=%S maxrss=%M ins=%I outs=%O" PROGRAM Seeing stats while the program is running is nice though! Also, cu
507.
▲
by
sigil
14y ago
Thanks for the link. I read the following from that earlier discussion and immediately thought, isn't this what the Darcs version control system was designed to do? "What you have to do is to just record the conflict and create two parallel
508.
▲
by
sigil
14y ago
Then again, if you're a technologist pouring your energy into a computer all day (he's a self-described Rails hacker and product manager at 10gen), arguably fixing said computer is close enough to your own specialty. Personally I've benefit
509.
▲
by
sigil
14y ago
I love git and prefer it to svn, but he's right. It succeeds in power and usefulness, but utterly fails in the complexity department. Someday, someone who understands the virtue of simplicity and can control their "how dare you insult my fa
510.
▲
by
sigil
14y ago
Watch for recommender systems to disrupt and replace many of these rating systems. As Gladwell pointed out in the Car & Driver example, the "scores" assigned in these rating systems are arbitrary linear combinations of factors chosen by
More ›