HNHacker News
TopNewBestAskShowJobs

ArbitraryLimits

1,012 karma · joined April 13, 2011

submissionscomments
ArbitraryLimits··on Help, Linux ate my RAM
Where I come from, what you're describing is called pre-fetching, not caching. That's why your earlier comment confused me.
ArbitraryLimits··on Why does changing 0.1f to 0 slow down performance by 10x?
I was astonished in my computer architecture class as an undergraduate to find out that the C language specification requires that all single-precision floating point numbers be converted to double-precision before any operations are done on them. So working with float's rather than double's in C is not only more vulnerable to underflow and what-not, but it's slower. Since then I've never declared a variable to be a float again.
ArbitraryLimits··on Help, Linux ate my RAM
I'm sorry, but this reply doesn't make any sense to me. If applications have to cache something, they should use the file system, which would not affect their resident memory at all. Maybe I'm just old school, but where I come from operating systems handle the memory hierarchy, not applications.
ArbitraryLimits··on Help, Linux ate my RAM
555 MB is still a lot. That's the actual memory usage.
ArbitraryLimits··on Sometimes the bug isn't in your code, it's in the CPU
I've seen that problem also (not pretty) but no, the two variables were from the same .c file, and were only used in that file.
ArbitraryLimits··on Sometimes the bug isn't in your code, it's in the CPU
Depends on the compiler. When I took my "hardware for CS students" class as an undergrad, our big project for the semester was to write a CPU simulator in c, and the campus labs had just rolled out the upgrade from gcc from 2.x to 3.x. I had a bug in my program that I just couldn't isolate, and after about eight hours of chasing it, I realized that the compiler had allocated space for an integer variable right in the middle of an already-allocated array, so the two variables were stomping on each other. I changed the name of the integer variable and my problems went away.

Apparently I wasn't the only one, because within a week all the labs were back on GCC 2.95.

ArbitraryLimits··on People Aren't Smart Enough for Democracy to Flourish, Scientists Say
I agree with everything you've said, however I take issue with the broad idea that the purpose of democracy is to pick the best leaders. It's not, the purpose is to prevent any single leader from doing too much damage. A certain amount of fickleness and inconstancy on the part of the voters is actually a good thing, because the elected leaders know they have to stay on their toes.
ArbitraryLimits··on Six-Legged Giant Finds Secret Hideaway, Hides For 80 Years
It hardly seems fair to consider them an invasive species without considering all humans one as well.
ArbitraryLimits··on Stochastic Pattern Recognition Dramatically Outperforms Conventional Techniques
Well, this is actually the old way of parsing a genome. What you've described is essentially a Hidden Markov Model with discrete states, which is the bread and butter of genome sequencing.
ArbitraryLimits··on Evernote blog: WhySQL?
In addition to the other factors listed here, Postgres's default configuration was tuned to a dramatically underpowered machine for many years. Yes, that meant that the occasional user who did have that kind of machine saw acceptable performance out of the box, but the other 9/10 systems burned a lot of the DBA's time tuning the system. I think that's a big reason why Postgres has a reputation for difficulty in some quarters.
ArbitraryLimits··on Stochastic Pattern Recognition Dramatically Outperforms Conventional Techniques
Are probabilistic techniques still not considered conventional? It's not like the mathematical foundations of probability haven't been laid hundreds of years ago (I'm talking about the rules of inference, not the axiomatization).
ArbitraryLimits··on Dealing With JVM Limitations in Apache Cassandra
IMO it's not 100% accurate for you to claim that you don't use garbage collection when you roll your own reference counting mechanism.
ArbitraryLimits··on All Web Developers Should Stop Doing This Immediately
I have a friend who was an accountant, found that he liked writing VBA scripts in Excel, and eventually wound up at a company big enough to need an IT department but small enough not to afford a big one, and now he's basically got a dual CFO/CIO role. Every six months or so he tells me about the new mobile app he's got in development for the salesmen to place orders, or for manufacturing line inspectors to check inventory, or something. I always point out that it would be cheaper, faster, and more general to just build a wep application, and he always rolls his eyes and tells me I don't understand the marketing power of mobile apps.

Which is true, I don't. But it got me thinking about all the "browser is the new OS" and "the Internet is OS-agnostic" and "this is the end of Microsoft" talk from the late 90s. Anyone else remember those days? Because Steve Jobs and the IPhone pretty much undid it all. It's 15 years later and everyone cares about the OS again. Weird.

ArbitraryLimits··on Tumblr Architecture - 15B Page Views a Month and Harder to Scale than Twitter
Well, if you remove the word "useless."
ArbitraryLimits··on The Management Team - Guest Post From Joel Spolsky
If it's a core question, it's not "bike shedding." If the problem is really bike shedding, a good leader will get both sides to realize they're being ridiculous and wasting everyone's time over something trivial.
ArbitraryLimits··on The FBI's files on Steve Jobs
One of my favorite tidbits from "The Best And The Brightest" is that Dean Rusk, President Kennedy's nominee for Secretary of State, had to fill out a security questionnaire like this one, and to the question, "Have any of your relatives been part of an organization whose purpose was to subvert the government of the United States?" he answered "yes" because both his grandfathers had fought for the Confederacy in the Civil War.
ArbitraryLimits··on Rich Dad Poor Dad... Worst Personal Finance Book of All Time?
Tax breaks. A surprisingly large portion of the book is in praise (what's the opposite of a screed?) of having a company you control pay for your meals, car, and house so you avoid personal income tax.
ArbitraryLimits··on Roger Boisjoly dies at 73; engineer tried to halt Challenger launch
> In fact, your average NASA employee doted on astronauts like a star struck little girl. What the crew wanted, the crew got.

This is the question I've always had about the Challenger, but never heard addressed: How much of a factor was the crew's opinion considered to be? I strongly suspect that the astronauts themselves exerted informal but real pressure to prefer flying, since it would be their moment in the sun.

ArbitraryLimits··on Using GNU Make's 'define' and '$(eval)' to automate rule creation
I couldn't agree more. Once upon a time I spent about a week refactoring a really ugly build system (produced a combination of .NET assemblies, C++ libraries, Java applets, and a hacked version of Apache with bash embedded - don't ask) and got everything just right with this approach, then within a week it was all broken again. I removed the rule-generation from the Makefiles and everything was fine after that. Since then my policy has always been that copy-pasta is OK in the build system, and not to worry about it.

(I'm not saying generating the rules from code in a real build system wouldn't be a good idea, jut that it isn't with make.)

ArbitraryLimits··on Cars kill cities
> The problem with buses for transport is they use the same infrastructure as cars.

I've always thought that was their #1 selling point. Light rails are just insanely expensive. When you've already got roads in place, buses become very attractive.

ArbitraryLimits··on Serious Flaw Emerges In Quantum Cryptography
It's possible to structure "quantum communication" (meaning passing qubits back and forth, basically) so that if someone in the middle reads them at all, the recipient is aware of it. It's not really possible to prevent the interception but it is possible always to detect it, at least in theory.
ArbitraryLimits··on Maddox - I hope SOPA passes
While I wholeheartedly agree with your overall sentiment that the baby boomers poisoned the well of liberalism for the next few generations, I feel compelled to point out that Nixon's landslide was in 1972. 1968 was one of the closest elections of the century.
ArbitraryLimits··on Maddox - I hope SOPA passes
> It seems like it's all about "me", not "us".

You really don't see the connection between the baby boomers's rebellions and the fact that their grandkids have this attitude?

ArbitraryLimits··on What I Wish Wikipedia and Others Were Saying Today About SOPA/PIPA
Uhm, a 95% re-election rate is not a 5% chance of getting fired ever. The chance of being re-elected N times is (1-0.05)^N, so the chance of not being re-elected N times is 1 - (1 - 0.05)^N. For N = 10 (a nice twenty year run in the House), that's only ~ 60% chance of being re-elected each time. For N = 15, it drops to 46%. I think that's actually pretty reasonable, you've got enough security at the beginning to allow you some latitude but not so much that you stop caring.
ArbitraryLimits··on OCaml for the Masses
Wow, I had no idea haxe was still around. I looked at using it about 4-5 years ago and dismissed it as not ready for prime time, but that looks like a reasonably active community.
ArbitraryLimits··on No New Accounts Today
Wow, you guys are much classier than I am. I've just been hitting Google's "cached" links for Wikipedia today.
ArbitraryLimits··on Martin Fowler: The Fallacies and Reprocussions of Diversity Imbalance
If you're talking about the sharp decline in computer science degrees granted to women around 1984, I have a couple of guesses.

First, no one really knew what kind of career path getting a computer science degree entailed until around then anyway, and once women had figured it out they decided they didn't want it.

Second, in my opinion women are much more sensitive to their career's stability and predictability than men are, for the simple reason that they're the ones who have to plan out when to have children. You'll notice that the drop-off more or less coincided with the first (or second, or maybe third - I forget which) big bust in the PC industry in the 80s. Mainframes and even microcomputers did not have boom-and-bust cycles like PCs did in the 80s, although individual companies might blow up the industry as a whole was relatively stable. College students looking for stability around that time might sensibly decide "computing" wasn't for them any more.

My favorite reference in this discussion (well, about women in science and engineering as a whole) is Philip Greenspun's article (http://philip.greenspun.com/careers/women-in-science) who basically makes the argument that the median scientist who doesn't win Noble Prizes actually has a pretty crappy career and that women are smart enough to stay away.

ArbitraryLimits··on Martin Fowler: The Fallacies and Reprocussions of Diversity Imbalance
I wasn't arguing the "women aren't good at programming" position.

My personal opinion is that the most important reason there are few women programmers, next to which any other factor fades into insignificance, is that women are simply less interested in doing it. Now that I think about it, the fact that there used to be many more women programmers when women's career options were more limited is pretty strong evidence that this is true: Now that women have more options, there are fewer women programmers.

ArbitraryLimits··on Martin Fowler: The Fallacies and Reprocussions of Diversity Imbalance
Back in the day I think the popular perception of programmers was kind of an extension of a secretary (it's just typing on toggle panels instead of a typewriter, right?) so there were lots of women stuck in secretarial positions who tried it out.
ArbitraryLimits··on Martin Fowler: The Fallacies and Reprocussions of Diversity Imbalance
I was under the impression that most people had accepted that the reason more men than women do software development is that more men find it interesting than women do, not because women are less intelligent or because there's a conspiracy to keep them out. Too bad, I guess not.

As an aside, my boss at the moment is a woman, and a few years ago she had to staff up significantly and hired several young women at the junior level. The interesting thing is that her team hasn't really changed because of "the diversity" since it turns out that women who like programming act pretty much like the men who like programming: they're kind of socially awkward, have sometimes unreasonable expectations that the world will be a meritocracy, make a fetish out of liking cartoons and movies that most people don't, and so on.

← PreviousPage 8 of 11Next →