Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
etal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
301.
▲
by
etal
18y ago
Some discussion: 1. Python's object-oriented syntax makes it tedious to hand-code a complete GUI app. Instantiate a container, add a label, set the label text, add button, add a button -- without special hackmagic (e.g. fussing with __dict_
302.
▲
by
etal
18y ago
I agree with SwellJoe, gruseom and gasull: this is a code maintenance issue, and the way to sell it to the customer (and to yourself, so you can get started) is bundling some cleanup with each feature. I ran into some ancient and crufty cod
303.
▲
by
etal
18y ago
It gets pretty ridiculous in programming languages, too: "So, you've just discovered Scala? (scoff) Briefly interesting, till I realized it just apes Haskell's type system and adds cruft from Java. Oh, you're getting into Haskell now? (roll
304.
▲
by
etal
18y ago
Now that you mention it: http://www.slate.com/id/2188684/?from=rss Summary: Game theory predicts the phenomenon that decent single men in their 30s and older are so much more scarce than similarly qualified women. Dating is compared to an
305.
▲
by
etal
18y ago
We use the console more. I have a gvim window running continuously, split a few ways, and then one or two console sessions doing whatever's needed (repl, ssh, general shelling). Using focus-follows-mouse without raising windows is a big hel
306.
▲
by
etal
18y ago
Not sure about standalone OOXML converters, but there's a widely ported command-line utility called antiword for converting .doc format to text: http://www.winfield.demon.nl/ OO.o 3.0 is supposed to have OOXML import included (it's a sepa
307.
▲
by
etal
18y ago
Yes, or install python-uno for a nicer API: http://udk.openoffice.org/python/python-bridge.html
308.
▲
Medpedia announced: collaborative online encyclopedia of medicine and health
(medpedia.com)
2 points
by
etal
18y ago
|
0 comments
309.
▲
by
etal
18y ago
My man pages tell me that egrep is the same as grep -E (--extended-regexp). There's also grep -P (--perl-regexp) which is even friendlier to Perl/Python/Ruby users, in that the parens and braces work the same way.
310.
▲
by
etal
18y ago
Some newspapers are completely free. Most charge a tiny amount to avoid the stigma of being a free paper (or, gain the credibility of a for-pay paper). The majority of the paper's revenue comes from advertising -- which also works online (s
311.
▲
How to choose between equivalent options
(wingolog.org)
1 points
by
etal
18y ago
|
0 comments
312.
▲
by
etal
18y ago
So, a recent Windows update clashes with the ZoneAlarm firewall. Workaround: Uninstall the latest Windows Update patch via Add/Remove Programs. This isn't particularly surprising; Windows Update frequently clashes with third-party software
313.
▲
by
etal
18y ago
But think how much shift-key this saves. For a language that's fully bracketed/parenthesized, would be nice to be able to hit both bracket keys without holding Shift or tweaking the keybindings.
314.
▲
by
etal
18y ago
It helps that Mark Shuttleworth has F-U money. He's coy about Canonical's revenue/profitability, but last I heard, they're not profitable yet -- but their planning is long-term and very ambitious. Blurb: "That means that we can fundamentall
315.
▲
by
etal
18y ago
Yes, you're right: Does the GPL allow me to sell copies of the program for money? Yes, the GPL allows everyone to do this. The right to sell copies is part of the definition of free software. Except in one special situation,
316.
▲
by
etal
18y ago
Most of the builtins have a corresponding __magic_attribute__ for objects that support it: bool -> foo.__bool__, len -> foo.__len__, iter -> foo.__iter__. This is usually because some syntactic sugar or other built-in function/m
317.
▲
by
etal
18y ago
The reaction should be positive, if anything. Linux distros have been for sale on computer-store shelves for years; OpenOffice.org shows up sometimes, too. Installfests sometimes ask for a few bucks for the disks if you want to keep them. I
318.
▲
by
etal
18y ago
The package manager is Linux's killer app, but new users coming from Windows or OS X don't expect it, don't understand it and don't use it. Blub phenomenon. (If an open-source program isn't already installed. click the Applications menu, go
319.
▲
by
etal
18y ago
The first 10 paragraphs seem to be intentionally echoing the usual gripes and fears, in an ignorant-sounding tone. The author could have made it more clear, but I think he meant for it to sound flippant or somewhat mocking, then rebut most
320.
▲
by
etal
18y ago
Of those three, who do you think is most likely to jump first? Yahoo is very corporate-friendly, so I'd expect them to be the last to give up IE6 support. MSN might want to push everyone towards the latest IE version so Microsoft can finall
321.
▲
NIST previews long-awaited mathematics reference
(scienceblog.com)
1 points
by
etal
18y ago
|
0 comments
322.
▲
by
etal
18y ago
Or a pseudo-open one -- Microsoft's XPS format has had some push and was submitted to ECMA not too long ago.
323.
▲
by
etal
18y ago
ISO (and FDA, etc.) standards tend to not be freely available online. Instead, you pay a few hundred bucks for a copy of the standard, which may be printed, electronic, or both. A sort of cottage industry even sprung up around this -- since
324.
▲
by
etal
18y ago
Me too. I think the introduction of the functional module will actually be good, because there's less resistance to adding clever features for higher-order functions in the standard library than there is in the core language (in Python, at
325.
▲
by
etal
18y ago
If P is a built-in function taking a single argument, or one that's already been defined, no. That's often not the case, though, and using a simple lambda is annoying and usually less efficient the rest of the time. For example, filte
326.
▲
by
etal
18y ago
See gojomo's comment. The cops' techniques for "hacking" the judicial system are low-tech, but it doesn't have to be that way. I like to think that hacker minds can solve problems beyond social web apps -- or in this case, a web app for sha
327.
▲
by
etal
18y ago
Sounds like a brilliant Scheme to me.
328.
▲
Love Data? Zillow Wants You
(freakonomics.blogs.nytimes.com)
1 points
by
etal
18y ago
|
0 comments
329.
▲
How Cops Really Want to Police
(freakonomics.blogs.nytimes.com)
45 points
by
etal
18y ago
|
57 comments
330.
▲
by
etal
18y ago
I was surprised to read PG's mention that he was affected by Yahoo's C++/Perl rewrite of Yahoo Store (someone else has supplied the link). The dog food to eat now is Arc, not Yahoo Store, isn't it? Wouldn't it have been more fun to just rew
More ›