Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
neild
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
neild
13y ago
It is very seldom that you really want to deal with a string as an array of runes. (If actually you do want to, Go makes it fairly easy: Just use []rune rather than string.) Consider a simple string: "école". How many runes does
62.
▲
by
neild
13y ago
> Python somehow magically slices unicode strings without chopping characters in half. Well, that rather depends on what you mean by "character" and "in half". >>> s = u're\u0301sume\u0301'
63.
▲
by
neild
13y ago
I live in Fremont. It's boring suburbia. Lots of identikit housing, no good restaurants, not much to do. On the positive side, it's relatively inexpensive and is 30 minutes from Mountain View, San Jose, or Berkeley outside of comm
64.
▲
by
neild
14y ago
I work for Google. My highest degree is a high school diploma.
65.
▲
by
neild
14y ago
It doesn't translate well into Japanese.
66.
▲
by
neild
14y ago
Too much can be made of the idea of sharing state via channels. If it's simpler to express a piece of code using a mutex, use a mutex. A thread-safe set is one such situation. Don't feel bad about doing so; there is nothing non-idiomatic ab
67.
▲
by
neild
14y ago
That's pretty much exactly what IPv6 with stateless autoconfig does--network address in the upper 64 bits, MAC address (slightly modified) in the lower 64.
68.
▲
by
neild
14y ago
Yes. It costs a bit more than other models ($200), but they also have a larger battery.
69.
▲
by
neild
14y ago
Given that any Apple store can replace the battery while you wait, it obviously can't be that hard to do.
70.
▲
by
neild
14y ago
I just picked a random laptop off of Dell's small business site: The M4600[1]. Dell will sell you a replacement 97Whr battery for $170[2]. The M4600 gets 3.5 hours of life with the larger battery[3]. Apple will replace the 95Whr battery
71.
▲
by
neild
14y ago
Tcl most certainly does have hash tables--Tcl arrays are implemented as hashes and can have arbitrary keys.
72.
▲
by
neild
14y ago
Not even close. I'd say Go is, though.
73.
▲
by
neild
14y ago
Developers have root on their workstations. Google doesn't believe in treating developers like the enemy.
74.
▲
by
neild
14y ago
Sadly, if you use Python's batteries-included XML tools, this is virtually impossible to do. See http://bugs.python.org/issue2124 for some discussion.
75.
▲
by
neild
15y ago
Python 3 does not reuse the unadorned name "python". It installs itself as "python3" by default. The decision to have "python" be Python 3 was solely Arch's.
76.
▲
by
neild
15y ago
I once worked on a project that used the Boehms collector for a long-running server process. About once a year, we'd lose a week or two to tracking down a memory issue. While the root cause was never a GC bug, the GC would make it dramatic
77.
▲
by
neild
15y ago
Speaking as a fairly recent Google hire: No, this is not what it's really like to work at Google. I considered writing more, but really, what else is there to say? Working at Google is not defined by the presence of cafeterias, alcoholism
78.
▲
by
neild
15y ago
A concept video is the polar opposite of a tech demo. A tech demo is a demo . It's real. You can use it, you can see how well it works, and you can get a feel for whether it can be developed into something real or not. Making a tech dem
79.
▲
by
neild
15y ago
Aha! I misread the parent's "she" as referring to Siri, not as to the person using the phone. Apologies.
80.
▲
by
neild
15y ago
It doesn't talk out loud if you hold the phone up to your ear. To use Siri with minimal noise (aside from your own speech): Push the power button to turn on the screen. Hold the phone to your ear. Wait for the be-beep sound, played quietly
81.
▲
by
neild
15y ago
The children of the post-PC future will only have access to iPads. Or Kindle Fires, as pure a consumption device as I can imagine. Why would you think that would happen? And while I'm at it, why is "consumption device" an insult? Books
82.
▲
by
neild
15y ago
My first computer booted into a BASIC interpreter. That was pretty awesome, and gave me an early window into programming. On the other hand, it didn't have a lot of things. It didn't have a text editor. It didn't have anything other tha
83.
▲
by
neild
15y ago
How many people don't know about their preexisting conditions? If their preexisting conditions are serious, why are they letting their coverage lapse? If you look up the cost of individual medical coverage and the amount of money provided
84.
▲
by
neild
15y ago
A flop? The name may have changed, but NeXTSTEP has been a remarkable success in its new incarnation as OS X and iOS.
85.
▲
by
neild
15y ago
Amazingly infuriating to watch company after company claim to want to be a player in the mobile/tablet space, and fail continuously against Apple. It's far less that Apple's doing so much right, but everyone else keeps getting it so wrong,
86.
▲
by
neild
15y ago
Harald, by David Friedman. (There are a number of notable David Friedmans. This is the anarcho-capitalist-son-of-Milton-Friedman one.) Harald is quite good, IMO, but there isn't a lot of overt economics so it may not be what you're lookin
87.
▲
by
neild
15y ago
A few examples of the singular "they", courtesy of Wikipedia: Eche of theym sholde ... make theymselfe redy. — Caxton, Sonnes of Aymon (c. 1489) Arise; one knocks. / ... / Hark, how they knock! — Shakespeare, Romeo and Juliet (c. 1595) 'Ti
88.
▲
by
neild
15y ago
You can't maintain the same level of housing no matter where you are. That's what my example comparing my home town (backwoods Connecticut) with San Francisco is about--it simply doesn't make any sense at all to compare a hundred acres in
89.
▲
by
neild
15y ago
That calculator is making a very common and yet very fundamental error: It assumes that cost of living adjustments should apply linearly across a salary range. It costs more to live in San Francisco that it does to live in Detroit. However
90.
▲
by
neild
15y ago
The article states that the machines are accurate to that tolerance, but not whether that level of precision is required.
More ›