Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
1amzave
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
121.
▲
by
1amzave
16y ago
If I'm remembering correctly, the ARM port of XNU is not open-source though.
122.
▲
by
1amzave
16y ago
On a somewhat related note: http://www.urlshorteningservicefortwitter.com/
123.
▲
by
1amzave
16y ago
Unless your compiler is smart enough to optimize the tail-call into a jump...
124.
▲
by
1amzave
16y ago
Hm? Though on Linux I'm sure it varies from distro to distro, my Fedora 10 box has ulimit -u at 1024, and my OSX 10.6 install has it at 266 (2^8 + 10? Wonder how they decided on that number). (And yes, I tried forkbombing them for the hel
125.
▲
by
1amzave
16y ago
Well, since 'history' is a shell builtin, the thing to do would be 'help history', which actually gives a pretty thorough explanation of it. (And it's also explained pretty fully if you look at the actual man page for bash.) What the gran
126.
▲
by
1amzave
16y ago
Hell, I just turn off the menu bar entirely -- and the scroll bar and the toolbar with all the goofy buttons on it...waste of valuable screen real estate that could have text in it, if you ask me. One of these days I'll get around to re-bin
127.
▲
by
1amzave
16y ago
Not sure I buy that. C has a division operator, despite the fact that plenty of CPUs (ARM, for a common example) don't have a divide instruction. Typically, the compiler generates a call to a runtime support library (e.g. libgcc) with divi
128.
▲
by
1amzave
16y ago
The Law of Inanimate Reproduction: if you do this enough times, you'll eventually have enough parts left over to build an entirely new one.
129.
▲
by
1amzave
16y ago
Anyone else finding it...slightly annoying? I mean it's neat-looking, but having a big distracting animation pop up every time I open a new browser window (google.com is my home page) is a little less neat.
130.
▲
by
1amzave
16y ago
Some of us think of 'less' primarily as a unix pager...which I'm pretty sure predates all of these.
131.
▲
by
1amzave
16y ago
> Spotlight - I don't use Dock, sometimes I forget its even there. I would disable it if I could. While my replacement isn't spotlight (I just use Proxi with a bunch of switch-directly-to-application-X hotkeys), I don't use the Dock e
132.
▲
by
1amzave
16y ago
To be fair, I can't think of much that wouldn't be painfully slow on a 100Hz CPU.
133.
▲
by
1amzave
16y ago
Hmm...could you sidestep that by just OCRing (or however) the text from the strips and putting it on the page, thereby allowing Google to index it and thus make it searchable? Or would they not allow that either?
134.
▲
by
1amzave
16y ago
I dunno...even being from 1991, I had actually assumed this was intended as humor. Those are all simple enough (if not entirely trivial) optimizations that it doesn't take a particularly heroic compiler to perform them, even twenty years a
135.
▲
by
1amzave
16y ago
Many OS X text fields have built-in support this -- hold option and drag for rectangular selection. (And as someone else already noted, emacs of course can do this, albeit with a somewhat different UI mechanism -- see M-x apropos rectangle.
136.
▲
by
1amzave
16y ago
> Often register allocation is sensitive to the schedule (and there have been attempts to combine them into one pass.) Yes -- for what it's worth, the compiler I'm working on at the moment has a pre-allocation scheduling pass and a po
137.
▲
by
1amzave
16y ago
Or, to avoid detection by cameras entirely, lemon juice: http://opinionator.blogs.nytimes.com/2010/06/20/the-anosogno... "But I wore the juice!"
138.
▲
by
1amzave
16y ago
> riotous celebration Well, maybe. There are diminishing returns on increasing cache sizes (you solve the capacity misses but don't really deal with compulsory and conflict misses)...though it would be impressive an impressive feat
139.
▲
by
1amzave
16y ago
> If anything, Makefiles are too powerful and too close to turing complete. "Close to"? Not a formal proof of Turing-completeness (and may only work with GNU make, not sure), but... [me@host: ~]% cat fibo.mk dec = $(patsubst .%
140.
▲
by
1amzave
16y ago
> Unsurprisingly, Moolenaar (author of Vim) uses Vim for his examples, but I don't think this is primarily a propaganda exercise. Most of what he says could be applied to, say, emacs with only superficial changes. Mostly true, though
141.
▲
by
1amzave
16y ago
Well, usenet isn't really dead per se, though it's admittedly not what it once was. Some of us still use it, and some newsgroups still have nice communities to them and are still good sources of information. True, many groups are overru
142.
▲
by
1amzave
16y ago
For way more background on that than you probably actually want, check the archives of comp.lang.c...
143.
▲
by
1amzave
16y ago
I enjoyed this bit of example code: x = '%s, %s!' % (imperative, expletive) A decidedly familiar sentence structure...
144.
▲
by
1amzave
16y ago
Decent critique of Gmail, but the title seems a bit of a misnomer -- it really seems like an article about Gmail, with a few mentions of Pine thrown in. Given that it's presented as "X vs. Y", I would have at least expected the "Bad" and "
145.
▲
by
1amzave
17y ago
Jeeze...sleazebags hacking sleazebags. I saw the headline and thought "cool!", but then read the article and was disappointed -- I'd been hoping for some kind of stick-it-to-the-man, fight-the-monopoly sort of thing...sigh. Personally, I've
146.
▲
by
1amzave
17y ago
Very cool in general, though I think it might take me a while to get used to compiler messages of the form "...maybe you meant <suggestion>?". The extra effort in checking things is certainly appreciated, it's really just the phras
147.
▲
by
1amzave
17y ago
This is probably going on longer than it merits, but... Those aren't really good comparisons. Perhaps you have a different version of grep than I do, but my grep only prints filenames when more than one file has been specified for searching
148.
▲
by
1amzave
17y ago
> My version of curl only prints the progress junk to stderr if you pipe stdout somewhere. Hmm, good point -- I actually hadn't noticed that, and it seems to be the case on mine as well. (Though I rarely use it without piping or stdo
149.
▲
by
1amzave
17y ago
> With any modern shell you can simply turn off stderr, or only put stdout in the pipe, or put 2>/dev/null and so on. Or I could type fewer extra characters by using the '-s' flag, as I described in my comment. My point was about
150.
▲
by
1amzave
17y ago
My main complaint about curl is that it prints a bunch of crap (well, statistics technically) to stderr by default. Especially for something claimed to be (at least in this article) "traditional unix style", that seems undesirable. It's an
More ›