Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sigil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
721.
▲
Shellac: extend Chrome with unix shell commands
(github.com)
12 points
by
sigil
16y ago
|
3 comments
722.
▲
by
sigil
16y ago
I really enjoyed your posts on scheme iOS development, and was saddened when the Apple rejection came. Any further developments on that front? Are you using scheme in anything else interesting these days? By the way, I noticed there's a sch
723.
▲
Coding for the Web: A Proposal for Better Inline Syntax Highlighting
(acg.github.com)
6 points
by
sigil
16y ago
|
0 comments
724.
▲
by
sigil
16y ago
I second Agora. It's my favorite hack spot when I'm in Houston.
725.
▲
by
sigil
16y ago
In a new post from antirez directly addressing your scenario, he suggests starting with a fixed but large number of shard instances on the same machine, then migrating the instances off to other machines using master / slave replication as
726.
▲
by
sigil
16y ago
I've been using FreeBSD on IBM Thinkpads for years, mostly with the old T4x models. YMMV with the ACPI on newer models and other brands. Power management, suspend / resume, and wireless all work. As mentioned elsewhere ath(4) is your best b
727.
▲
by
sigil
16y ago
An interactive map of income distribution by NYC neighborhood: http://envisioningdevelopment.net/map
728.
▲
by
sigil
16y ago
What? No RT?
729.
▲
by
sigil
16y ago
> How do I know what keys were just "stolen"? Do I have my new-node code hash every possible key (all stats for all forums for all hours for all time) to see which might go to that node? And then it reverses that key to know what it "me
730.
▲
by
sigil
16y ago
Thanks for the info! > I'm not sure how consistent hashing helps when adding nodes to a "real" DB, either ... How does consistent hashing help with the migration? Instead of backfilling all data to an entirely new cluster, you'd only ba
731.
▲
by
sigil
16y ago
Sharding: "We just take the modulo of the owning user's ID against the number of nodes we have to decide which node to read/write from/to." What's your procedure for adding new nodes to increase capacity? Would you have to take your redis c
732.
▲
by
sigil
16y ago
> I have to disagree that this one is really a best practice at all. I have dozens of different accounts on different computer systems, if I didn't do at least some password reuse I would have a hard time writing them all down, and reme
733.
▲
by
sigil
16y ago
"Debugging a program running on a $100M piece of hardware that is 100 million miles away is an interesting experience. Having a read-eval-print loop running on the spacecraft proved invaluable in finding and fixing the problem." I would lov
734.
▲
Rogue Planets Could Harbor Life In Interstellar Space, Say Astrobiologists
(technologyreview.com)
2 points
by
sigil
16y ago
|
0 comments
735.
▲
Mapping Python Code Over Protocol Buffer Records With lwpb
(acg.github.com)
2 points
by
sigil
16y ago
|
0 comments
736.
▲
by
sigil
16y ago
So, for the idf component, what is the corpus of other documents you're comparing the input text against?
737.
▲
by
sigil
16y ago
> simple "system calls" like memove Minor, pet-peevy point: memmove(3) and memcpy(3) are not system calls. ( http://en.wikipedia.org/wiki/System_call )
738.
▲
by
sigil
16y ago
Agree. The phrase "from the creator of XMPP" never fails to make me cringe, for a variety of reasons. It's a tribute to the simplicity of IRC that you can write a channel logging bot in like 20 lines of shell ( https://github.com/acg/logbot
739.
▲
by
sigil
16y ago
How about micro_httpd, an inetd-style HTTP/1.0 server in 200 lines of C. ( http://acme.com/software/micro_httpd/ )
740.
▲
by
sigil
16y ago
"Social Security taxes are paid into the Social Security Trust Fund maintained by the U.S. Treasury. Current year expenses are paid from current Social Security tax revenues. When revenues exceed expenditures, as they have in most years, th
741.
▲
by
sigil
16y ago
Perl's Storable can also serialize code references which get eval'ed during deserialization, and can also serialize multiple references once, though you have to be more explicit about that. And Storable is still 2x-3x faster than the alread
742.
▲
by
sigil
16y ago
Yup, simplejson is much faster than the standard json. JSON 3.56521892548 SimpleJSON 0.727998971939 Protocol Buffer (fast) 0.38397192955 Protocol Buffer (standard) 4.86640501022 Protocol Buffer (lwpb) 0.3
743.
▲
by
sigil
16y ago
Thanks Robby, got the benchmark working, was trying to do a homedir install of fast-python-pb earlier. I added a couple more tests to the benchmark, here are the results: JSON 3.57209396362 Protocol Buffer (fast-python-pb) 0.3257
744.
▲
by
sigil
16y ago
You should add cPickle to the benchmark as well -- I bet fast-pb still comes out ahead, and that may be an eye opener for many Python devs.
745.
▲
by
sigil
16y ago
Here's a fast Python C extension for protobuf that's already usable: https://github.com/acg/lwpb I read through your upb code about 3-4 months ago, was initially impressed, but couldn't get the Python extension to work. Certain abstractio
746.
▲
by
sigil
16y ago
Has anyone managed to run the fast-pb tests in benchmark.py? I'm not sure where this switch is coming from: protoc --fastpython_out
747.
▲
by
sigil
16y ago
I too have a speedy Protocol Buffer implementation in Python: https://github.com/acg/lwpb It clocks in at 11x faster than json, the same speedup reported by fast-pb. Only with lwpb: * There's no codegen step -- which is a disgusting thing
748.
▲
by
sigil
16y ago
Varnish is indeed crazy fast...for things you can cache. The complaints I've been seeing center on slowness and timeouts for posting stuff, in which case Varnish (like the recent pagination change) might not help. I think PG opening up the
749.
▲
by
sigil
16y ago
> Except in areas where there's essentially a monopoly, and the high cost of entry into the market is likely to keep it this way, where ISPs are free to abuse their market position for fun and profit. Which areas do you have in mind? "T
750.
▲
by
sigil
16y ago
I generate a new random but semi-pronounceable password for every account using apg ( http://www.adel.nursat.kz/apg/ ), then store it in one of several gpg-encrypted, replicated master password files. The first few times I use a newly gener
More ›