Better HN
topnewbestaskshowjobs
Log inSign up

decode

1,021 karma · joined Aug 8, 2008 (18y ago) · 256 submissions

I'm a software developer in Ann Arbor, Michigan.

Email me here: http://definingterms.com/contact/

http://definingterms.com/

http://github.com/aag

Submissions

comment 17y ago · link · parent

I think the important thing here is that the term "backup" only makes sense within the context of what kind of thing you're protecting against.

RAID is a useful backup for drive failures, if you're able to replace failed drives within a certain amount of time, but not for manual deletions. DVDs and tapes are useful backups for manual deletions, but not for fires. DVDs and tapes, stored at an offsite location, are useful backups for manual deletions and fires, but possibly not for earthquakes.

Since all of the different backup and archival methods have major pros and cons, the only way to say something meaningful about how useful they are is to talk about them within context.

comment 17y ago · link · parent

He makes an argument for making money, but not for getting (or being) rich. What societal advantage is there to one person amassing wealth? It seems like Cuban is saying that if you create wealth, you can pass it on to others. So wouldn't that mean that it would be better for society if you were just a conduit for wealth, paying your employees, contractors, and suppliers as much as possible?

It seems like the most beneficial thing would be to "Hire people. Train people. Pay people. Spend money on rent, equipment, services." but not skim a bunch off the top for yourself.

comment 17y ago · link · parent

"Right, so I bust my ass in school, non-paid internships, contracting as much as possible, and 50 hour work weeks on my startup... and the reason I'm making money is b/c I'm more "fortunate" than the slob who is still playing video games in college after 6 years and the idiot who chooses to have kids he can't afford?"

I don't know you, but I consider myself fortunate to be making more money than most because I was given, through no merit of my own, the ability and environment in which I could become educated and work towards goals that ended in lucrative work. As the child of educated, middle-class, white-collar people in a modern industrialized country, I have had thousands of opportunities denied most others in the world. If any of those things changed, for example if I happened to be born 300 years ago or if my community never taught me the importance of education and hard work or if I was born in a place where subsistence-level living is the norm, I would be in a completely different boat. If you have the ability to make wise choices that effect change in your life, then yes, you are fortunate.

On a side note, this sort of disdain for the poor is disturbing to me. Do people really think poor people choose to be so? Nobody wants to be poor.

comment 17y ago · link · parent

She recommends using a password manager, presumably one that stores your passwords in it. I've recently started using PasswordMaker, which I like better, because your passwords are never stored anywhere. Instead, I have it generate a SHA-256 hash of a combination of a master password and the site's domain name. The Firefox plugin makes it easy to use, and works on any OS you can run Firefox on.

http://passwordmaker.org/

A bonus of this scheme is that you can use their JavaScript generator page if you're not at one of your computers.

http://passwordmaker.org/passwordmaker.html

comment 17y ago · link · parent

I suspect the changes in your wants are a result of maturity, not income. The cars, clothes, and restaurants are really just toys, of the same type you wanted when you were five.

comment 17y ago · link · parent

Interesting musings, but unfortunately for the author, they're not related to reality.

Not only is there no such thing as a "no obnoxious rich people paradox," but the English language has had a special term to describe just one subset of the obnoxious rich for over 200 years: nouveau riche. Likely the French have been sensitive to the concept for even longer: Molière's "Le Bourgeois gentilhomme" was written in 1670. For at least that long, rich people have not been free to do whatever they wanted. In fact, it's the rich themselves who policed "refined" behavior and codified it in the concept of manners.

comment 17y ago · link · parent

The US Department of Justice has puts out reports on recidivism rates. Some information from the last report:

http://www.ojp.usdoj.gov/bjs/abstract/rpr94.htm

Those most likely to be rearrested within 3 years of release from prison committed these crimes: robbers (70.2%), burglars (74.0%), larcenists (74.6%), and motor vehicle thieves (78.8%).

Those least likely to be rearrested within 3 years committed these crimes: homicide (40.7%), rapists (46.0%), other sexual assaulters (41.4%), other violent offenders (51.7%).

If you look at the sex offender recidivism report, you find that 5.3% of sex offenders are rearrested for another sex crime:

http://www.ojp.usdoj.gov/bjs/abstract/rsorp94.htm

comment 17y ago · link · parent

I'm seeing about 1 million hashes per second on a single core. So, you can do about 10^11 hashes per second on 30,000 cores. At that rate, it will only take you 10^48 years to cover the keyspace.

You won't even cover a fraction of a percent of the keyspace before the sun burns out.

comment 17y ago · link · parent

This isn't actually correct, is it? Assuming an average 6-letter word length, there are about 10^67 valid combinations that your iterate_all() can go through: (((2^6) * 1000) ^ 12) * (94 ^ 5) = 3.5 * 10^67

Since this is much larger than the total hash space (2^160 = 10^48), you can hope you'll get a collision after the number of tries equal to half of the hashspace (10^48 / 2). That means you'll have to generate 10^47 hashes. At 5 minutes of runtime, you'll have to generate 10^45 hashes per second.

Bottom line: if you can run this on 200,000 cores, you'll have to generate 10^40 hashes per second per core, and that seems impossible to me.

comment 17y ago · link · parent

Lawrence Lessig also talks about that case in this great TED talk: http://www.ted.com/talks/larry_lessig_says_the_law_is_strang...

comment 17y ago · link · parent

"I think it is a replicated result among students of gifted students that they GAIN ground intellectually during the summer school vacation"

The way you phrase that makes it sound like there are studies that show this. Do you know of any, or are you just saying that was true for you and others you know?

comment 17y ago · link · parent

Just think of what you'd have at Adobe in the US: 4 more paid leave days and 3 more public holidays. :) I'm not sure what their sick leave policy is, though.

comment 17y ago · link · parent

You can also watch his presentation from RailsConf 2006. Wackiness and coolness are included. http://video.google.com/videoplay?docid=7470881644241559852&...

comment 17y ago · link · parent

So the joke is that the physicists have the hubris to think that French Literature isn't hard, right?

It would be an incredible feat for anyone to learn French in a year (well enough to critique its great literature) and also become expert in the existing body of knowledge of literary criticism. Much less a physicist, who probably dreads writing a 10-page conference paper because there's too much prose in it.

comment 17y ago · link · parent

If you're an IEEE member, you can get it here: http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1423...

It's interesting, though, that the author makes it seem like this paper is the only research on the efficacy of TDD. Even a cursory search of Google Scholar turns up a number of papers:

http://scholar.google.com/scholar?hl=en&lr=&q=%22tes...

Including a 354-page doctoral dissertation that studied both students and professionals over a 5-year period [PDF]:

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.94....

I haven't read the dissertation, but the abstract seems to contradict the OP: "This research demonstrates that software developers applying a test-first (TDD) approach are likely to improve some software quality aspects at minimal cost over a comparable test-last approach. In particular this research has shown statistically significant differences in the areas of code complexity, size, and testing. These internal quality differences can substantially improve external software quality (defects), software maintainability, software understandability, and software reusability. Further this research has shown that mature programmers who have used both the test-first and test-last development approaches prefer the test-first approach."

comment 17y ago · link · parent

Did they change the audio from the originally posted video? I just watched it and I didn't hear him claim to have developed anything he was showing.

comment 17y ago · link · parent

I thought this was interesting: "She found selecting, moving and orientating the photos very intuitive using natural gestures. She took a little guidance to get a handle on photo resizing but by the time she’d played for 15 minutes she had got to grips with it and could shrink and enlarge the photos with relative ease."

So moving images was easy and resizing them was hard. 15 minutes seems like a long time for a 4 year-old to learn a skill like that relatively well.

I think the conclusion you can draw from this, and the rest of the article, is that she could quickly do things that behaved exactly as they do in the real world (e.g. pushing a picture across a table), but things fell apart as soon as a new action had to be learned. That's why some of the actions seemed "intuitive," because they fit exactly into previous experience. I wonder if it would have been easier for her if they had played the "stretch a newspaper comic with silly putty" game a few days before.

comment 17y ago · link · parent

I always thought the long-term blood glucose levels were the reason that runners traditionally have a spaghetti dinner the night before a big race. Am I confused, or is there just bad science behind this practice?

comment 17y ago · link · parent

I can't figure out if you're saying your expectations were confirmed or undermined.

I don't know much about nutrition, but I was under the impression that noodles, rice, and beans are all high in starch, which the body turns into significant amounts of glucose in a healthy way (sustained blood glucose over time, instead of short spikes like with simple sugars). I'm sure surviving on Ramen is bad for you, but as far as this article is concerned, it will help you have self-control.

comment 17y ago · link · parent

Of course, that depends on what you eat when you eat out. If you eat a bunch of noodles, rice, or potatoes, the starches will give you a solid boost of blood glucose over a number of hours.

comment 17y ago · link · parent

This seems like a good trait to have, no matter what job you're doing. Whether you're a manager, a construction worker, or a software developer, criticism should be seen as a chance for learning and improving, not a personal affront to your pride. But, I can definitely see that this quality may be especially important in software development because code reviews and design reviews are so commonplace and frequent.

comment 17y ago · link · parent

I thought the same thing. It's probably because the rankings come from Alexa and Google Trends: the former is useless, and the second is unrelated to number of users.

comment 17y ago · link · parent

It seems like what you're really saying is, "There are a whole bunch of options out there for blogs, but WordPress is the best for almost everyone." I would agree with that statement, and I suspect that's why it's been so successful.

comment 17y ago · link · parent

I've always assumed that most people don't get every tweet SMS'd to them. So most of the time, a tweet isn't sent to anybody, it's just returned when people request the tweets that are relevant to them.

comment 17y ago · link · parent

You can download a PDF of the full paper that is referenced here:

http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1354849

Click "Download" at the top and then click the SSRN link. Doesn't require registration.

comment 17y ago · link · parent

While the user interface is very different, the functionality is fairly similar to what digg Videos has been for a long time.

http://digg.com/videos/

comment 17y ago · link · parent

I'm not in the Ruby community, but here's what I've gathered:

There was a talk at the Golden Gate Ruby Conference called "CouchDB + Ruby: Perform Like a Pr0n Star", which featured an extended porn-industry metaphor and what some have described as softcore porn in the slides. This talk created a lot of discussion in the Ruby community, in particular about the effect this kind of talk has on the female attendees, and the general atmosphere of the conference. It also caused the Ruby community to introspect on what kind of environment they are creating and how it affects people who are not heterosexual males who may wish to participate in that community.

See the links posted above by swombat for some of the discussion.

comment 17y ago · link · parent

I'm not sure this essay has much value. There are some fairly obvious observations, like "learning takes work", "not everyone is good for every career", "learn from your mistakes", and "programming involves typing". That's fine, but not particularly insightful.

Perhaps less useful is the author extrapolating from his community college classmates to the general programmer population.

But the part I disagree with is the reductionist description of programmers as people who only type and solve problems. This is only true if you expand the definition of "problem" to be so broad that it's meaningless. As a good software developer, you have to make aesthetic choices, exhibit empathy with customers and coworkers, do boring paperwork, be personable, and many other things. I'm not sure all of these things are problem solving.

I also don't think any of his 8 pithy statements of advice are very helpful. Just one example: "Take everything very seriously." Really? Is this tongue-in-cheek? How about, "Don't take yourself so seriously. Have fun and be curious about your world." That sounds like better advice to potential programmers to me.

comment 17y ago · link · parent

I've been using this setup, except with XCache instead of APC. Does anyone know enough about the differences between the two to say if this is better or worse?

comment 17y ago · link · parent

On average, the attacker will have to search half of the hash space to find a given password. So, your 40,000 searches is way too small as long as you require more than 2 character passwords. If you assume lowercase + uppercase + numbers for the passwords, and require at least 6 characters, you get

(26 + 26 + 10) ^ 6 = 56,800,235,584 combinations

searching half of that would be about 28 billion combinations. At 50ms each, that would take 388,888 hours, or 44.36 years.

1
56789