HNHacker News
TopNewBestAskShowJobs

agarden

996 karma · joined June 26, 2013

submissionscomments
agarden··on No Spanking, No Time-Out, No Problems
I like some of the ideas in this article, but brushing off punishment as ineffective seems short-sighted.

For parents with kids who end up at a clinic because of problem behavior, punishment is ineffective. There is a selection bias going on here. Punishment, as noted in the article, is the first go-to for most parents. In situations where that works, they don't end up at a clinic for problem behavior.

If the first go-to for parents were offering shallow choices and rewarding desirable behavior, clinicians would probably find that problem behavior can't be solved that way. They might even be finding that the most effective way to deal with problem behavior is to just punish it immediately and decisively.

In other words, there is a large toolkit to be used to solve behavioral problems. Different tools work in different situations.

agarden··on Is Ego-Depletion a Replicable Effect?
Oh, wow. That is such an obvious explanation, now that you point it out. Where can I read more?
agarden··on Ways to maximize your cognitive potential
First of all, let me explain what I mean when I say the word "intelligence". ...I'm talking about increasing your fluid intelligence, or your capacity to learn new information, retain it, then use that new knowledge as a foundation to solve the next problem, or learn the next new skill, and so on.

And when you define intelligence this way, it turns out that the best way to increase your intelligence is to practice learning new things.

But what if you defined intelligence as depth of insight instead? It would seem that were one to define it that way, dropping new skills as soon as the novelty wears off would be counterproductive.

agarden··on VPAID ads destroy performance and are still served by major ad networks
You can pay them $49/year. If that doesn't remove the ads, then install an ad blocker that you turn on for just their site.

https://membership.theguardian.com/us/supporter?INTCMP=ADBLO...

agarden··on Learning Chess at 40
Physical fitness is given a lot of attention by players at the very top of chess. Here is a quote from an article that talks a bit about it.

“Anand has been pretty active as well,” says the Bad Sodener Zeitung. “He bought a season ticket for the swimming pool in Bad Soden and swam about 1000 metres per day. He would also run 10km every day and has also been spotted on a bicycle in the beautiful hills around Bad Soden. He lost about six kilos this summer. Most of the time, though, Anand prepared for the match in the Chess Tigers Training Centre with his seconds.”

http://www.dnaindia.com/india/report-viswanathan-anand-world...

agarden··on Japanese Priests Collected Almost Seven Centuries of Climate Data
It is because of critical thought like this that I read the HN comments. Kudos.
agarden··on Giving Up on TDD
He seemed to me to be criticizing people who want to make changes to the code without reasoning about the system, assuming that if they mess something up the existing tests will catch it and tell them. I think he is criticizing a real problem, but the metaphor is all messed up and hence misleading.

Writing software is not like driving a car. It is like engineering a car. Making a change on the assumption that tests will tell you if there is a problem is like deciding to move the gas tank and saying, "If that turns out to be an issue, QA will tell us when they do their collision tests." (Sort of like that. Obviously less expensive.) When you are making a change, you need to think about whether that change will require any new tests and you need to be thinking about how it integrates into the system as a whole. Maybe moving the gas tank means a new kind of collision test needs to be added to the repertoire.

Because the metaphor was bad, the GP seemed to be taking it as a criticism of testing, which isn't reasonable. But I may have been mistaken about his intent.

On the other hand, if the change you are making is just altering the shape of the bumper for cosmetic reasons, it seems pretty reasonable to assume that QA will tell you if it adversely impacts safety in ways that were not obvious.

I agree about static types. Static types are basically a way of having the compiler automatically write and run whole classes of unit tests.

agarden··on Giving Up on TDD
I think he did state that the benefit is also much higher, but it was a bit subtle. He argues that the cost is higher than expected because you have to design the tests and design the system to be testable. He then states that this isn't wasted effort because, "Something that is hard to test is badly designed." And then hammers the point home with the pacemaker story and a bit of ranting.

I agree with him. It took me a few years to realize that if code is hard to test, it is hard to debug. And if it is hard to debug, it is hard to reason about. And if it is hard to reason about, then it is likely to have hidden bugs.

agarden··on Giving Up on TDD
There are people who go around driving their car into guardrails. They are the people who build cars. Because if you don't test failure modes, you don't know that your product performs to spec under them.
agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
I think I've put my finger on why it doesn't seem to explain things.

Let's say guns were solely about entertainment, no other use. Alcohol is also solely about entertainment, so it should have a similar risk/reward ratio. And in the US, about the same number of people (~10k) die of DUIs every year as die of gun homocide (~10k). Yet alcohol does not raise the same fear and terror in the population as guns. The original article even cited drunk teenagers as something we should not care about when there are people who own guns.

It feels like there must be something else driving the fear and revulsion of guns.

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
I'm not sure how being designed to kill changes the risk calculation. Cars are not designed to kill, but they are designed to do something that is inherently dangerous and potentially lethal. The fundamental thing is how much risk is posed, not whether the risk is incidental to the goal or intentional, right?

...I think you are suggesting that people consider the risk of cars acceptable because the risk/reward ratio is acceptable, but many people see no value in guns and so the risk/reward ratio is abysmal in their eyes. That is a rational argument.

If that is what is going on, then processing the risk/reward ratio is subconscious. If it comes out badly, people just think and talk about the risk. If it comes out well, one just doesn't think of that thing as risky. That makes some sense, but it doesn't feel like it fully accounts for the terror I read in such articles as this one in the Guardian.

(Incidentally, if you live in the country and keep animals, having a gun might not be strictly necessary, but it is a tool you probably do not want to be without.)

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
You seem to be right about that. Thanks.

Traffic fatalities: https://en.wikipedia.org/wiki/List_of_motor_vehicle_deaths_i...

Gun fatalities: http://www.gunpolicy.org/firearms/region/united-states

Suicides do appear to be about 2/3 of the gun fatalities.

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
Do you think that we are familiar with cars and driving, and so find the risks acceptable? Or is it that because most people want to drive, they rationalize the risk?

PS. I live in the country and have most of my life. A gun is a very useful tool if you live in an area with wild animals.

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
Guns are regulated. You must be at least eighteen in most states in order to buy a gun. In many places (most?), there is a waiting period. You pay one day, you come back another to pick it up. Concealed carry is either illegal or requires taking a class, registering, and getting a permit. Open carry is legal in some places, illegal in others.

It is harder to get a concealed carry permit than a driver's license, at least past the age of 21.

I'm not saying that there aren't more regulations that could be passed that would make gun ownership safer. I think there probably are. But to hold that car ownership is more regulated than gun ownership is not a tenable position.

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
I am not trying to make an argument. I am trying to understand why people react the way they do to different risks.

I said banning guns because that is what the Guardian article was arguing for, or seemed to be.

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
It is a criminal offense to shoot people.
agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
What interests me about the gun debate (if one can call it that), is that there are ways of dying that are considered acceptable risks and ways of dying that are not. If you are driving your kids across town and get t-boned by a drunk driver and everyone dies, that is considered a tragedy. But no one will advocate giving up driving. Something really bad happened, everyone move on with your lives.

Or when a relative dies because of a medical error, they might be rage at the particular doctor at fault, but there isn't a general outcry against hospitals or doctors. Everyone will still urge you to go to the ER at first signs of a serious problem.

But if a lunatic shoots a few people in a public place, then guns should just be banned altogether and there is a general outcry and the POTUS needs to visit the victims to console them.

Maybe someone can enlighten me why the risk of gun deaths is so much less acceptable (to a portion of the population) than the risk of death by automobile.

EDIT: Skiing is purely entertainment. About 41.5 people die a year in skiing accidents[1]. This, too, is considered an acceptable risk.

[1] http://www.nsaa.org/media/68045/NSAA-Facts-About-Skiing-Snow...

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
I am a bit baffled by the terror-stricken tone of the article, summed up in this sentence.

I live in Appalachia. I hear shooting on almost every nice day. I am playing outside in the yard with my toddlers and the neighbors are shooting things. I don't even think about it.

agarden··on Toddlers Kill More People in the USA (with guns) Than Terrorists Do
Okay, try this: far, far more people die in the US in car accidents than are shot. More people die because of DUIs than because of guns. Yet guns are endlessly highlighted as a major problem and the talk is constantly about making it harder to attain them and yet few people are ranting on about the dangers of automobile or licquor.

Indeed, the original article dismisses drunk teenagers as a non-threat. Drunk teenagers almost certainly kill more people than toddlers with guns.

agarden··on Etsy CTO: We Need Software Engineers, Not Developers
Whether 'developer' and 'engineer' really mean what he says they mean is a question of semantics. Getting bogged down in a discussion of the appropriate uses of said terms, however, ignores what he is trying to say.
agarden··on Etsy CTO: We Need Software Engineers, Not Developers
His distinction between 'engineer' and 'developer' is artificial and easily criticized. That isn't what is interesting in this article. There are a lot of things that are.

Their method for avoiding the proliferation of different tools is interesting.

His discussion of the kind of people they want, once you ignore the semantics, is interesting. They want people who take responsibility and are always pushing the boundary of their knowledge into new fields. That's interesting.

My favorite part of the article was right at the end: "instead of asking questions about “why did something fail,” we want to ask why something succeeded, which is really easy to skip over."

agarden··on Mercedes Boots Robots from the Production Line
Yup. Though I have to think that people are also more likely to make a mistake and your custom car might show up with the standard cup holder when you ordered the heated. The robot might be inefficient at doing the variety of tasks required for such customization, but it is certainly better at keeping track of just what ought to be done.
agarden··on Spawkfish: Neural network chess
In my game[0] it played well until it hit a position where it seemed to run out of ideas. At that point, it let me take its queen for a rook. The strange thing was that it felt like playing my five year old, who also plays well until he runs out of ideas and then just sacrifices a piece.

It also missed the kind of tactics that my kid misses and played surprisingly human like mistakes. Note move 35... Rxf2, as if it forgot about the bishop because it had moved to the other end of the board. That's the kind of mistake a human player might make and computers never do.

It strikes me that this would be a great engine for my five year old to practice against. I'd love to see it added to lichess or put into a phone app for that purpose.

0. http://en.lichess.org/beOA0Q2T#68

agarden··on Mental fatigue impairs physical performance in humans (2009)
> I wonder if this extends into the positive as well, do cognitive boosting drugs (nootropics?) enhance your performance.

Yes. Dextroamphetamine is considered a PED and is banned in (some? all?) professional sports. The Orioles' slugger Chris Davis was suspended a couple years ago for using it. But it is a CNS drug; I believe it is most commonly prescribed to people with ADHD, to improve their focus.

agarden··on How I took control of my personal finances. Simplicity in money saving
"I was terrible wit keeping track of"

"healthier homemade meal (if planned)" (missing period at end of sentence)

"how much do you spend on" should be "how much you spend"

"when I’m not drinking (at all) alcohol my performance" should be "when I’m not drinking alcohol (at all) my performance" or "at all" could be changed to "any"

"do I waste on eg having drinks" should be "do I waste on, e.g., having drinks"

"and buy a bread" should be "and buy a loaf of bread"

"which I was eating while on the run. Turns out I’ve spent a lot of money on them" should be use a semicolon, like so: "while on the run; turns out..."

"In a blink f an eye" - of

"on the final straight" - final stretch

"on one category, It’ll point this" - "it'll" should not be capitalized

"you spend to much on for example entertainment, tighten" should be "too much on, for example, entertainment..."

"not rocket since" - rocket science

I really like your fundamental idea of choosing just a few simple categories you care about. Good tip.

agarden··on Ask HN: How to avoid being arrogant?
If what you say makes the people you are talking to feel stupid, and you don't care that it does, then you will be perceived as arrogant. There are other ways of being arrogant, I am sure. This is one way.

If people who are more powerful than you perceive you to be arrogant, they will tend to lash out and strike back. If people who are less powerful than you perceive you as arrogant, they will walk on eggshells around you. Because no one likes to feel stupid.

The tricky thing is that you need to remember to care about how what you say will make people feel, even when what you are saying is purely technical in nature. In other words, you can't ever focus so purely on the technical issues that you forget to craft your words to account for your audience's feelings. Which is really hard.

agarden··on Why Are Projects Always Behind Schedule?
The main problem with the typical estimate is that it is a scalar number. 2 hours or five days or three months. That's fine if you are looking for a target to aim for. But if you want to actually know when something will be done and how much it will cost, a probability distribution with a confidence interval is the only reasonable way to model that.
agarden··on Charles Dickens on being unhappily married (1858)
It seems to me unlikely that he expected his wife to do everything for the kids. Having a nurse was common in those days. The complaint seems to be that his wife did nothing for the kids.

His wife also wasn't earning any money, presumably. So Dickens had to work to provide for everyone.

Also, they had ten kids.

agarden··on Doctors want ban on prescription drug, device advertisements
If people acted like homo economicus, that would be true. But people are so irrational, that sometimes they need to be convinced to do the right thing for the wrong reason, no?

In other words, a given advertisement might be tricking people into choosing the optimal option.

agarden··on Doctors want ban on prescription drug, device advertisements
I was hospitalized for a bit a few years back. Several nurses commented passionately on what a relief it was to take care of someone who actually needed help, instead of the many people they have who come in complaining of pain just so they can get their morphine fix.
← PreviousPage 4 of 7Next →