Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sigil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
78 ms
·
691.
▲
by
sigil
16y ago
> Local storage is also not perfectly available. Technically true, although you don't have to contend with the consistency or partitioning factors in the local disk case -- there's only one copy of the state. This means you can focus on
692.
▲
by
sigil
16y ago
> And it also assumes that "the problem" is a finite and solvable item. Yes. To make this a bit more concrete, if "the problem" is making distributed storage look and behave exactly like local storage, the CAP Theorem has something to s
693.
▲
by
sigil
16y ago
> Even in your preferred case, you're typing your passwords into a closed source browser on a closed source OS. One could argue that iOS / Mobile Safari are both under incomparably more pressure to remain secure compared to any individu
694.
▲
by
sigil
16y ago
Does anyone else have a major problem with the idea of using a closed-source SSH client? Even if it is App Store reviewed, I just can't bring myself to type production passwords into such a thing. For this reason, and because I'd also like
695.
▲
by
sigil
16y ago
> Radix trees are O(k) Yes, thank you.
696.
▲
by
sigil
16y ago
Great, looking forward to it.
697.
▲
by
sigil
16y ago
Cool. Is the consensus algorithm straight-up Paxos, or are there modifications? The Paxos Made Live [1] paper from Google raised some interesting issues. [1] http://labs.google.com/papers/paxos_made_live.html
698.
▲
by
sigil
16y ago
I was curious how they implemented prefix matching, so I went and looked at the code [1]. Unfortunately, this is just a simple linear scan that calls .startswith(). It is possible to do fast (log N) prefix matching with radix / critbit tree
699.
▲
by
sigil
16y ago
Are you really comparing these github projects to the initial release of the Linux kernel? Have you read the source to either? Or stopped to consider their scope or potential impact? Not to disparage the Greplin team's work -- I think it's
700.
▲
by
sigil
16y ago
> I have a hard time understanding this line of argument. It's not a line of argument. It's a line of inquiry. You've given anecdotal evidence that cross-user deduplication benefits you and people you know, but what about some actual nu
701.
▲
by
sigil
16y ago
But you could prevent reuploads with per-user de-duplication, while avoiding the privacy issue of cross-user de-duplication. I could see why this would be more work to implement (you have to key on user+contenthash), but it would still be i
702.
▲
by
sigil
16y ago
If you don't mind my asking, what is the percentage savings achieved by de-duplication across all of Dropbox? Some others here have wondered if it was premature optimization.
703.
▲
by
sigil
16y ago
So, anybody know if they're pursuing a patent on this tech? A quick Google Patent search didn't turn up any US results. I ask because this language from the paper sounded patent-y: "In a more involved version of the construction, elements f
704.
▲
by
sigil
16y ago
> LogFS stores the inode tree on the drive; JFFS2 does not, which requires it to scan the entire drive at mount and cache the entire tree in RAM. For larger drives, the scan can take tens of seconds and the tree can take a significant a
705.
▲
by
sigil
16y ago
> That said, there is room for someone to develop a filesystem API designed with solid state in mind... What about the Journalling Flash Filesystem? It's been around for quite some time. http://en.wikipedia.org/wiki/JFFS2
706.
▲
by
sigil
16y ago
Maybe you're solving a different problem, but I'm not sure emitting one key-value pair per line is ultimately the way to go: $ echo '[{"a": [{"b": {"c": ["foo"]}}]}]' | jsonpipe / [] /0 {} /0/a [] /0/a/0 {} /0/a
707.
▲
by
sigil
16y ago
Interesting. For faster flattening of nested structures into paths -- and the inverse operation, unflattening -- you could use this Python C extension: https://github.com/acg/python-flattery Full disclosure, I'm the author. ;) It uses "."
708.
▲
by
sigil
16y ago
Sounds like an elegant solution. Similar to a recent suggestion on the whole Honeycomb thing (open the code, but assert control of the Android trademark). http://monogatari.doukut.su/2011/04/openness-and-reputation....
709.
▲
by
sigil
16y ago
> If you only have 2 or 3 companies competing ... If there were truly only 2 companies that provided internet in the Bay Area (this would be extremely surprising to me), collusion might be possible. With 3, you now have a nice unstable
710.
▲
by
sigil
16y ago
An old thread about designing a replacement for IMAP: http://news.ycombinator.com/item?id=1101693
711.
▲
Ask HN: Do you read papers / pdfs on your Kindle?
2 points
by
sigil
16y ago
|
2 comments
712.
▲
by
sigil
16y ago
> The downside to doing evhttp is that he'll have to write his own request parsing... Which, these days, isn't a huge deal. Both of these are decent: https://github.com/ry/http-parser https://github.com/mongrel/mongrel/blob/master/ex
713.
▲
by
sigil
16y ago
Maybe I will. ;) A few years back, I wrote a multiplexer / tunneler similar to Sshuttle in Python for a "Go To My PC" style web service. We wanted to tunnel over ssh, but had problems automating the client key generation and first-time conn
714.
▲
by
sigil
16y ago
Very cool. I wonder how hard it would be to port the muxer core to C, and run it under tcpclient / tcpserver on either end of the ssh connection.
715.
▲
by
sigil
16y ago
There are 20K unique User-Agent strings in the logfile, which gives an extreme lower bound. $ cut -f12-100 -d' ' lpthw.Apr.04.2011.log | sed -e 's# "-"$##; s/^"//; s/"$//;' | \ sort | uniq -c | sed -e 's/^ *//' | \ sort -k1,1nr | te
716.
▲
by
sigil
16y ago
> The "gateway interfaces" for C are too implementation-specific (CGI, FastCGI, SCGI, web server extensions/modules, etc). It would be something more abstract that would run on-top of a web server interface. Yes. My preference in web ap
717.
▲
by
sigil
16y ago
There's a great quote in the coreutils documentation[1] to this effect: "Our units of temporal measurement, from seconds on up to months, are so complicated, asymmetrical and disjunctive so as to make coherent mental reckoning in time all b
718.
▲
by
sigil
16y ago
That's exactly what happened. Still -- should have RTFM'ed.
719.
▲
How I Lost $100 and Blamed It On cal(1)
(acg.github.com)
19 points
by
sigil
16y ago
|
14 comments
720.
▲
by
sigil
16y ago
> I wonder if using an NPAPI plugin would be easier? I know this would be tons easier as a Firefox extension. I'm not so sure about that, when the NPAPI [1] hello world example [2] is 224 lines of C just by itself. By contrast, Shellac
More ›