Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmccabe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
301.
▲
by
cmccabe
14y ago
Using a real bank is hands down the best choice.
302.
▲
by
cmccabe
14y ago
Doing m[f(a)] = b is not that much less convenient than m[a] = b. You can wrap it in a function if it seems easier. If f() seems expensive, then you should reconsider whether you should be using a (hash) map at all (or use a struct and ca
303.
▲
by
cmccabe
14y ago
The problem in Oakland is gang activity. So your chances of getting randomly killed there are a lot less than the numbers might suggest. However, it does happen that people get caught in the crossfire. Oakland also covers a pretty wide a
304.
▲
by
cmccabe
14y ago
OK, I forked LLVM and libstdc++ on github, and compiled them. In the process I learned about the joys of code reuse, surely what a true grandmaster would use. When can I expect my certificate in the mail?
305.
▲
by
cmccabe
14y ago
SF has more murders than San Jose, despite having fewer people. I'm not trying to argue where you should or shouldn't live, just stating a fact. source: http://en.wikipedia.org/wiki/United_States_cities_by_crime_r...
306.
▲
by
cmccabe
14y ago
Natural gas is a non-renewable fossil fuel. Burning it generates carbon dioxide and particulate matter that causes cancer. It may not be as dirty as gasoline or coal, but it's still the same kind of thing fundamentally. If we're going to
307.
▲
by
cmccabe
14y ago
Yeah, it's hard to believe that they deliberately picked a syntax that would compile but cause crashes and security issues for the people already using these functions. At least now we have an ironclad reason not to ever use this garbage.
308.
▲
by
cmccabe
14y ago
A few adventurous folks wrote a c99-to-c89 compiler, to solve the issues with MSVC. https://github.com/rbultje/c99-to-c89 (see http://blogs.gnome.org/rbultje/2012/09/27/microsoft-visual-s... )
309.
▲
by
cmccabe
14y ago
we already had aligned_malloc; it was just called posix_memalign.
310.
▲
by
cmccabe
14y ago
The issue with VLAs (variable length arrays) is that what tends to happen is that programmers create a denial-of-service bug. It's easy to do-- just create a VLA without first checking to make sure the size isn't too big. Then invalid (or
311.
▲
by
cmccabe
14y ago
As I understand it, a lot of researchers work on Clang/LLVM just because it allows them to focus on the aspect of the system they're interested in. For example, if you want to make a static analysis tool, you can do that with LLVM, but not
312.
▲
by
cmccabe
14y ago
There are companies out there that offer commercial sequencing software. DNANexus is one. As for whether there's "a killing to be made", it's kind of unclear so far.
313.
▲
by
cmccabe
14y ago
If you work on low-level software, you can and will use tools like VTune and cachegrind to understand where the performance bottlenecks are for your code. If you are working with a lot of people who tell you not to optimize, you're probably
314.
▲
by
cmccabe
14y ago
I'm amazed by people's stupidity in continuing to advocate solutions that just don't work. And hopeful for the future of electric and hybrid cars, which will do a lot to reduce this problem. Although, judging from the comments, it sounds
315.
▲
by
cmccabe
14y ago
Rasterization also requires "acceleration structures," kept in memory. I could be wrong here, but I think the point John was trying to make was that there was again a constant factor handicapping ray-tracing. But constant factors are, wel
316.
▲
by
cmccabe
14y ago
Academics have been whining about C and C++ since at least the 1980s. But if you ask any three academics what programming languages they like, you'll get three different answers, depending on what department and program they are in. I'm su
317.
▲
by
cmccabe
14y ago
SuSE has made a few questionable decisions, like being the first major distribution to call btrfs stable, and playing games with libc symbols in 10.x. I was on board the Fedora train until recently, but I had to get off because it was chang
318.
▲
by
cmccabe
14y ago
Ubuntu is focused on trying to be easy to use, and so it does things like make the bootloader difficult to access, package a huge amount of stuff by default, and include relaxed security. In fact, the default configuration for Ubuntu is no
319.
▲
by
cmccabe
14y ago
$7 a month sounds like a lot for storing a few kilobytes of files. Especially given that he could get 5 GB of storage free on Google Drive or a similar service. The silly thing here is that Github's pricing for private repos doesn't take i
320.
▲
by
cmccabe
14y ago
You should consider using git-annex with an S3 remote. http://git-annex.branchable.com/tips/using_Amazon_S3/
321.
▲
by
cmccabe
14y ago
This is why you use OpenSUSE or CentOS for servers, not Ubuntu. Also, if for some reason, you have a desire to contribute to Ubuntu, contribute to Debian instead. Your changes will probably end up in Ubuntu, and the Debian folks care about
322.
▲
by
cmccabe
14y ago
Wow, C and C++ have undefined behavior? I bet nobody knows that unless... they took an undergrad comp sci class. Why is this on HN? Use the right tool for the job. Sometimes that C or C++, sometimes it's not.
323.
▲
by
cmccabe
14y ago
So you chose to be extremely pedantic, and point out that apps that are dual-licensed under the GPL and some other license can be distributed in the Apple app store. That doesn't invalidate my point, which is that if you want people to act
324.
▲
by
cmccabe
14y ago
Thanks for the clarification. It looks like they forbid it after 9pm on certain days.
325.
▲
by
cmccabe
14y ago
HBase.
326.
▲
by
cmccabe
14y ago
Alcohol isn't allowed on Caltrain on days when there is a sporting event.
327.
▲
by
cmccabe
14y ago
- The salary box has a hilarious pair of up/down arrows for increments of 1. Yeah I'm going to click 110,000 times to enter my desired salary. :) You have to work for it!
328.
▲
by
cmccabe
14y ago
First of all, I agree with patio11 here... this doesn't belong on HN because it's just a bunch of political stuff. Secondly, there's a lot of misleading stuff here-- either half-truths or things taken completely out of context. Start with
329.
▲
by
cmccabe
14y ago
Don't release it under the GPL. Due to Apple app store restrictions, GPL'ed apps cannot be distributed that way. It's probably best to pick a BSD or Apache style license. Being an app developer is frustrating even on Android. Getting pub
330.
▲
by
cmccabe
14y ago
Go for go. Go is actually fast, not just fast in theory or fast when speed isn't important, or whatever other weasel words you care to choose. Goroutines and channels give you the scalability advantages of async programming, without leav
More ›