Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmccabe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
151.
▲
by
cmccabe
13y ago
A bitvector: []bool Most of the time, you would use map[key]value rather than your own hash table or BST. If you need an implicit linked list, there is one in the standard library: http://golang.org/pkg/container/l
152.
▲
by
cmccabe
13y ago
you can't monkey-patch functions into external libraries like you can with Python modules You can add functions to existing types in Golang. no preemptive multitasking, so one goroutine can wedge the entire program That's pret
153.
▲
by
cmccabe
13y ago
Man spends 20s in SF, moves out later. Film at 11.
154.
▲
by
cmccabe
13y ago
now that is silly. you don't know what kind of infection it is unless you go to the doctor. You really need to get a health plan if you don't have one. If you're young it might only be $100/$200 a month, even if you&#x
155.
▲
by
cmccabe
13y ago
So it's a "circular file" system.
156.
▲
by
cmccabe
13y ago
What about Cobol on COGS?
157.
▲
by
cmccabe
13y ago
So spin off the profitable parts and restructure the non-profitable ones. Or, I don't know, keep riding the failure train right off the side of the cliff. Whichever is easier.
158.
▲
by
cmccabe
13y ago
If we learned anything from ActiveX, it's that "click to continue" is an ineffective defense against malware on the web-- at least for most people. I don't think it's 100% impossible that there will be a WebGL explo
159.
▲
by
cmccabe
13y ago
I think you got it backwards. Maven doesn't support any form of authentication or verification for packages. So you better trust the network you're on, the core network, and the remote repository. Maven central and other reposit
160.
▲
by
cmccabe
13y ago
The security claims were bullshit. For details see: http://games.greggman.com/game/webgl-security-and-microsoft-... tl;dr: While it was talking up the security risk of WebGL, Microsoft was allowing Silverlight to perm
161.
▲
by
cmccabe
13y ago
Yeah. What a ridiculously one-sided deal. Heads I win, tails you lose. If Nokia had done well, Microsoft would have acquired them for an artificially low price. Now that they have crashed, Microsoft is free to walk away. Nokia can'
162.
▲
by
cmccabe
13y ago
MySQL's query optimizer is a joke compared to Oracle's. If you don't do joins and just use it as a key-value store, that doesn't matter. MySQL also doesn't enforce most SQL constraints like "can't store
163.
▲
by
cmccabe
13y ago
Well, this is a good effort. I think you are quite right to leave out reference counting. Reference counting is something that you should pay for only if you need it. I don't really understand the fear of macros. void pointers are m
164.
▲
by
cmccabe
13y ago
Thanks, that's interesting. I would probably add some kind of callback to free individual elements if I ended up using this. A lot of the boilerplate when managing resizable arrays in C ends up being making sure you properly dispose
165.
▲
by
cmccabe
13y ago
You don't have to live like a college student. Move to the south bay and you can get a 2BR place for half of what you're paying now. We have dishwashers, washing machines, garages, and storage rooms here too, oh my!
166.
▲
by
cmccabe
13y ago
The UK was where English first evolved, and it seems like there is a lot more diversity in how it is spoken there. Fragments of older dialects that didn't win out still linger. The US was settled relatively quickly and there wasn'
167.
▲
by
cmccabe
13y ago
As a senator, Obama voted for TARP in 2008 (as did fellow candidate McCain). So in some sense, he did do something. It would also be naive to believe that he didn't spend a lot of time planning his future actions during that year. B
168.
▲
by
cmccabe
13y ago
It's attainable if you bet on the right startup and make it. Or if you bought it years ago. California doesn't re-asses property taxes unless you sell your property, which means that many people are paying tiny amounts of proper
169.
▲
by
cmccabe
13y ago
There is a lot of truth in this. SOMA and the Financial District are very much places to work, not places to live. I remember being in SOMA a week or two ago on Saturday at 5pm and everything was closed. I was there for an event at the m
170.
▲
by
cmccabe
13y ago
Palo Alto is about 30 miles away from San Francisco and it's a very different place. Those 30 miles will probably take you somewhere between 45 minutes and an hour depending on traffic. Palo Alto is the traditional headquarters of the
171.
▲
by
cmccabe
13y ago
I agree, SF is a fun place to visit, but I wouldn't want to live there. I also don't like how some San Franciscans like to put down other areas. You can have pride in your city without insulting other people and places. As someo
172.
▲
by
cmccabe
13y ago
Obama, together with the Fed, pulled the US back from the brink of financial disaster in 2008. If the banks and AIG hadn't been bailed out, we'd be in a great depression now. Luckily we learned something since 1930 (although peo
173.
▲
by
cmccabe
13y ago
It's nice that you made these available. You might also want to look at queue.h from BSD (see http://fxr.watson.org/fxr/source/sys/queue.h ) and tree.h ( http://www.freebsd.org/cgi/cv
174.
▲
by
cmccabe
13y ago
I am shocked-- shocked!-- to learn that PHP's random number generator is seriously flawed, like everything else in PHP.
175.
▲
by
cmccabe
13y ago
Looks like the art for Zynga.
176.
▲
by
cmccabe
13y ago
Probably mercury poisoning. It will make you as mad as a hatter. Symptoms include inability to rebase branches or rewrite history, choking on large repos, inability to do more than two-way merges, and clumsy handling of branches. Clean c
177.
▲
by
cmccabe
13y ago
Are the examples given by the author really that worthy of respect? If you write yet another unnecessary Foo to Javascript translator, or over-complicate your code to show off how well you know the dark corners of your chosen language (bot
178.
▲
by
cmccabe
13y ago
Is it really helpful to provide numbers that you know are many years out of date? If you're really interested in this, try to import a big repository like, say, the Linux kernel using the latest version of Mercurial and see how it compares
179.
▲
by
cmccabe
13y ago
I'm really annoyed by your refusal to stay on topic. I pointed out a specific problem with security in many higher level languages-- the presence of eval and eval-like constructs in the language. You changed the topic. I pointed out that
180.
▲
by
cmccabe
13y ago
In some ways, C is more secure than Python because it doesn't support eval. Things like pickle can easily be abused. Also, I notice you completely snipped the point about using process separation. Sigh. Mistakes of the past, doomed to re
More ›