Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmccabe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
cmccabe
14y ago
Almost every language has a book titled "Expert $LANGUAGE". If a language doesn't have one of those, it's probably either very new, or nobody actually uses it, or both. C and C++ are good for doing low-level stuff. If you don't want to do
272.
▲
by
cmccabe
14y ago
I think you are getting mixed up. The grammar of C isn't complex. Unrelatedly, C does have a few lesser-known features, but remarkably few for a 40-year-old language.
273.
▲
by
cmccabe
14y ago
Well, if you can't afford thousands of dollars of expenses, then you can do it yourself for less. This blog post tells you how. All you have to do is invest some of your time. If you're not willing to invest either a moderate amount of m
274.
▲
by
cmccabe
14y ago
Your statement seems meaningless. It's possible to have safe code in any language (even assembly language) as long as "everyone on the team plays by the rules." The question is, how hard are the rules to understand and how obvious are dev
275.
▲
by
cmccabe
14y ago
It's not at all the same situation for C. C's grammar is very-well defined and not at all hard to parse. C++, on the other hand, has a horribly complex grammar. It would be unfair to say that "nobody really knows what it is," given that i
276.
▲
by
cmccabe
14y ago
This was definitely a fun read. I agree that the court sets up a pretty arbitrary set of requirements. I'm not sure that changing it really makes sense, though. The court is already flooded with requests as-is. Having these kind of requi
277.
▲
by
cmccabe
14y ago
This is way too complex. Just put everything in .bashrc and symlink .profile to .bashrc. Then if there's something you don't want executed in non-interactive mode in .bashrc, put it in an if statement. Simple.
278.
▲
by
cmccabe
14y ago
If Broder made factual errors, then Musk was right to call him on it. It's really as simple as that. Stop fudging and hemming and hawing about psychology and take responsibility.
279.
▲
by
cmccabe
14y ago
Android doesn't have "silo'ed apps." I don't see what Windows Phone has to do with it.
280.
▲
by
cmccabe
14y ago
There are a ton of places in the tax code where making more money results in you keeping less of it. For example if you sell more than X dollars worth of goods on eBay, you have to start paying tax, which will cost you dear. So the jump f
281.
▲
by
cmccabe
14y ago
This is a pretty big waste of Congress' time. The Department of Defense, the only part of the government that actually has weaponized drones, is specifically exempted. I somehow doubt that any of the three-letter agencies will pay attenti
282.
▲
by
cmccabe
14y ago
Sorry, but it may be dumb, but it's true. Making more money can lead to less take-home pay. One really good example is if you hit the AMT (alternative minimum tax.) "Your money" is not in the AMT-- you are. And it often means that a rai
283.
▲
by
cmccabe
14y ago
You need to learn about android intents.
284.
▲
by
cmccabe
14y ago
Property isn't a philosophical or legal concept. It's a practical aspect of human psychology that has always existed. If you've ever watched two kids fight over an ice cream cone you've witnessed private property in action. People aren't
285.
▲
by
cmccabe
14y ago
Now this is just ridiculous. Everyone knows that Al Gore invented ChromeOS.
286.
▲
by
cmccabe
14y ago
Denial.
287.
▲
by
cmccabe
14y ago
So you think private property was invented in 1813? I guess the War of 1812 was more important than anyone could have dreamed at the time? You really need to read more. Like... a lot more.
288.
▲
by
cmccabe
14y ago
Wow, it's annoying to get modded down for saying something correct. Don't believe me? Run a golang program with strace -f sometime. You could write a pthreads-compliant threading library without using threads at all, just epoll.
289.
▲
by
cmccabe
14y ago
Probably better to relocate them to City 17. It's safer there.
290.
▲
by
cmccabe
14y ago
The laid off people can keep allocating themselves however they want. They just will discontinue receiving a salary.
291.
▲
by
cmccabe
14y ago
> Narrowing your latency band --even if it makes the average case worse-- makes so many systems problems better (top of the list: load balancing) it's not even funny. Yeah, it's a lot more practical than implementing QoS, isn't it?
292.
▲
by
cmccabe
14y ago
> The solution here is to figure out why your 99th is 3 seconds. Once you solve that, randomized routing won't hurt you anymore. You hit this exact same problem in a non-preemptive multi-tasking system (like gevent or golang). The Golan
293.
▲
by
cmccabe
14y ago
Revel doesn't run on the JVM. Golang compiles to a static binary that you can just deploy with the cp command. As for security, it seems a little unfair to criticize them for stuff that a different, unrelated framework did. As for J2EE, i
294.
▲
by
cmccabe
14y ago
If the stench of doom were any stronger on this project, Id Software would have to sue for trademark infringement.
295.
▲
by
cmccabe
14y ago
So you created your own string class? Wrapped all the operating system's APIs in your own custom classes? Built a lot of infrastructure on the theory that you might need it later? Obsessed over the best way to shave some efficiency yak, wit
296.
▲
by
cmccabe
14y ago
It's hard to take Google Web Toolkit seriously when Google themselves don't use it. I mean, it's cool and all, but a Rails-killer, it is not. And after all is said and done, if you had wanted to develop the site in Java, you could have ju
297.
▲
by
cmccabe
14y ago
What does open data have to do with small government? What does the Liberal government firing Canadian scientists in 2004 have to do with open data? What does the Canadian Association of Journalists have to do with open data? Content-free
298.
▲
by
cmccabe
14y ago
The point of Bitcoin is to have a currency that isn't subject to central control, but is easier to trade than gold or other commodities. We can argue about whether or not that is a good thing, but let's at least be clear about what we're ta
299.
▲
by
cmccabe
14y ago
Based on my understanding, you're right-- you'd have to use a string to get a truly arbitrary length key. However, you can use interface types as I've commented above, which gives you some flexibility, but not truly arbitrary flexibility.
300.
▲
by
cmccabe
14y ago
You can use interfaces types as the keys to a map. So you could easily have a map with both 3-tuples and 4-tuples as keys, just by having one struct with 3 elements and one with 4 implement the same interface and using that as the key. Of
More ›