Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sah
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
sah
18y ago
Does Linux boot, or is that GRUB/LILO? Remember loadlin? Does that count? What about Windows XP under VirtualBox?
62.
▲
by
sah
18y ago
Iterate through the list bitwise-XORing the numbers together into an accumulator. Because x ^ x = 0, and x ^ 0 = x, and ^ is commutative (x ^ y = y ^ x), the final value in the accumulator for a list like [x, y, y, x, z] is: x ^ y ^
63.
▲
by
sah
18y ago
More languages should have a facility for keeping track of units and doing conversions, regardless of whether it's done in the type system or at runtime. Making this a part of the type system seems a little strange to me. Obviously it's ni
64.
▲
by
sah
18y ago
Sure, whether you need to work to earn a living depends on the standard of living and risk level you're comfortable with. But I think it's possible to set a reasonable upper bound. Say, around the point where your interest income at a typ
65.
▲
by
sah
18y ago
You're spelling "you're" wrong.
66.
▲
by
sah
18y ago
I think the clearest line between rich and not is whether you have to work to earn a living. In my book, if you're an "earner" at all, you're not rich yet.
67.
▲
Syntax Across Programming Languages
(merd.sourceforge.net)
4 points
by
sah
18y ago
|
0 comments
68.
▲
by
sah
18y ago
What's wrong with making known physical location a service that you buy, rather than a right? A right is really just a service that you can't not buy.
69.
▲
by
sah
18y ago
I would argue that there's very little value in standardizing that syntactic stuff. Whatever tiny amount of value there might be is probably destroyed by picking a convention as almost universally inappropriate as XML.
70.
▲
by
sah
18y ago
You missed the point. After you've agreed on XML, you still have to agree on how to represent a list. You can use existing libraries to parse the XML, but you still have to write a parser to transform the resulting DOM into a list. Plus,
71.
▲
The 34 Women That Won The Nobel Prize
(nobelprize.org)
1 points
by
sah
18y ago
|
2 comments
72.
▲
by
sah
18y ago
I hope someday I manage to build something that people laugh at as much as they're laughing at Twitter.
73.
▲
by
sah
18y ago
I think the idea was to be entertaining.
74.
▲
Social news sharing survey results, part 1
(seefresh.net)
1 points
by
sah
18y ago
|
0 comments
75.
▲
Amazing Stat: California Uses More Gas than China
(blog.wired.com)
2 points
by
sah
18y ago
|
1 comments
76.
▲
by
sah
18y ago
There's one here in Truckee, CA.
77.
▲
by
sah
18y ago
There's a reason why "if x is None" is idiomatic when "if not x" is shorter: >>> x = '' >>> if x is None: ... print 'x is None' ... >>> if not x: ... print 'x is empty' ... x is empt
78.
▲
by
sah
18y ago
"Who writes like that??" The authors of: BitTorrent: https://develop.participatoryculture.org/trac/democracy/brow... Django: http://code.djangoproject.com/browser/django/trunk/django/ut... Pylons: http://pylonshq.com/project/pylonshq
79.
▲
by
sah
18y ago
This is an excellent overview of how Python is usually written by people who write (and read) a lot of it. I hardly ever see coding conventions documents that do such a good job of capturing the popular conventions without inserting quirky
80.
▲
Approximately 800 vulnerabilities discovered in antivirus products
(blogs.zdnet.com)
1 points
by
sah
18y ago
|
0 comments
81.
▲
by
sah
18y ago
This paper makes a pretty compelling argument against threads as a model for concurrency: http://www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-1.... ? [pdf]
82.
▲
by
sah
18y ago
"The difficulty of concurrency lies in the problem itself, not the API." Isn't it possible that it's both? Concurrency is hard, but I think the classical threading model makes it harder. There are simplifications that really do make it
83.
▲
Earth's Core & Magnetic Field Changing Fast, Study Says
(news.nationalgeographic.com)
3 points
by
sah
18y ago
|
1 comments
84.
▲
List of acquisitions by Google
(en.wikipedia.org)
1 points
by
sah
18y ago
|
0 comments
85.
▲
Problems with C++
(yosefk.com)
3 points
by
sah
18y ago
|
0 comments
86.
▲
Biofuels have forced global food prices up 75% according to a World Bank report
(guardian.co.uk)
4 points
by
sah
18y ago
|
0 comments
87.
▲
New longevity drug mimics caloric restriction in mice
(blog.wired.com)
10 points
by
sah
18y ago
|
10 comments
88.
▲
AOL Increasing Dial-Up Fees
(informationweek.com)
1 points
by
sah
18y ago
|
1 comments
89.
▲
Paleolithic concert halls? Cave drawings in France correspond with places of natural resonant sound
(news.nationalgeographic.com)
5 points
by
sah
18y ago
|
1 comments
90.
▲
by
sah
18y ago
I think this is relevant, and would love to hear more about it.
More ›