Hacker News new | past | comments | ask | show | jobs | submit | globular-toast's comments login

Rubbish, in my experience. People who understand dynamic languages know they need to write tests because it's the only thing asserting correctness. I could just as easily say static people don't write tests because they think the type system is enough. A type system is laughably bad at asserting correct behaviour.

Personally I do use type hinting and mypy for much of my Python code. But I'll most certainly omit it for throwaway scripts and trivial stuff. I'm still not convinced it's really worth the effort, though. I've had a few occasions where the type checker has caught something important, but most of the time it's an autist trap where you spend ages making it correct "just because".


> Rubbish, in my experience. People who understand dynamic languages know they need to write tests because it's the only thing asserting correctness.

Tests don't assert correctness. At best they verify specific invariants.

Statically typed languages lean on the compiler to automatically verify some classes of invariants (i.e., can I call this method in this object?)

With dynamically typed languages, you cannot lean on the compiler to verify these invariants. Developers must fill in this void by writing their own tests.

It's true that they "need" to do it to avoid some classes of runtime errors that are only possible in dynamically typed languages. But that's not the point. The point is that those who complan that statically typed languages are too cumbersome because they require boilerplate code for things type compile-time type checking are also correlated with the set of developers who fail to invest any time adding or maintaining automated test suites, because of the same reasons.

> I could just as easily say static people don't write tests because they think the type system is enough. A type system is laughably bad at asserting correct behaviour.

No, you can't. Developers who use statically typed languages don't even think of type checking as a concern, let alone a quality assurance issue.


Multiple days? A proper hoarder will take multiple months if there's any stuff of value there. If it's just boxes of old milk bottle tops it might be easier. But a proper hoarder will have a box of milk bottle tops right next to a box of expensive tools or something.

I've done the minimal lifestyle and found it tiring too. I got myself into a state where I wouldn't have any nice things because I would always be thinking it's one more thing to move when I inevitably do. But I don't want to move. I like being in one place and having a home. Hoarding is not the way, but it's ok to have this too.


We have enough thunderstorms that I do get worried about lightning frying my electronics. I have surge protectors on a lot of my gear, which might offer some protection. I'd love to have an optional internet connection but, alas, copper is all that is available. Anyone bothered isolating their copper internet connection from their network? If so, how?

Right. I once had a motherboard completely fried during a thunderstorm in London, back in the 90s. I always use good quality surge protectors for expensive kit now.

I had a part of my mobo fried which I suspect was due to lightning. Lost the onboard ethernet and USB. Computer kept going for years after I added a PCI NIC and just lived without USB somehow (should have really got a PCI card too but I was extremely against spending money back then).

Trouble is with moving you're kinda screwed, unless you want to squat in your buyer's house while you find another solution.

Incredibly helpful to have buffer days if you can manage it. A very short rent-back agreement for a few days smooths out a lot.

We sucked up an extra month's rent to have overlap on our move just across a small metro area to the older house we'd bought, and it was worth every penny - we had time to repaint some walls and refinish the living room floor before our furniture was moved in (local moving services in Germany are quite different from the nightmares I'm hearing about here)

Yeah, create overlap in some fashion. Anything with zero margin is error prone.

I agree and definitely makes things easier. The other way is like in England where it's common for the entire chain to exchange contracts on moving day. Means anything can go wrong right up until the last minute, but if it does at least you still have your things in your house. Maybe the US is more like Scotland where contracts are exchanged ahead of time.

I've known quite a few guys who are hopelessly bad with women. You know the type, couldn't get a date in brothel. I'm pleased to say all the ones I'm still in contact with have figured things out by now, but all of them had one thing in common: they were miserable people, always complaining.

I can offer a piece of advice to men who think they are similar: do not ever talk to anyone about things you don't like. Just don't. Talk about things you do like. This is not to say you should be a pushover, but music you don't like does not need to mentioned really ever.

In my experience women tend more towards being realistic and possibly pessimistic. But for both sexes the best way to not be negative is to be ignorant. Ignorance is bliss. It's up to each individual to decide whether being ignorant is really a good life, though.


Is this advice in relation to dating and talking to women? If so, I’d agree. I can’t imagine most people want to hear endless complaints from their first few dates.

That said, not complaining ever won’t get you anywhere either. (Even in a relationship, complaining is important if you’re suffering) A lot of times, a lack of complaining and being unaware of solutions is what results in you living a shit life forever. Complaining can be incredibly productive and healthy - especially if you’re focused on solutions. Obviously, complaining that energy isn’t free or how the sun is going to swallow us whole isn’t super productive… but there are many things worth complaining about.

I wonder how capitalists feel about complainers.


Cigarettes are everywhere. Doesn't mean they're good for us. Why do you assume generic background music in every cafe is going to be a good thing? We're just filling our existence up with noise. As for TV and movies, do you think we don't have enough generic "content" already? What benefit is there to making it even easier to make derivative garbage? Perhaps the people currently making it will be out of a job and forced to do better. Could it actually cause an increase in "real" art?

Pigs undoubtedly have a better sense of smell than us, but it's unclear if it's really "better" than dogs. Pigs in truffle hunting is a bit of a misconception. Wild boars might be able to find them sometimes, but the best truffle hunters are dogs. In attempts to quantify "sense of smell" pigs ranked lower than mice and way lower than elephants.

So, no, I don't think the large brain is to do with smell. I think it's more to do with them being quite similar to us which is apparent if you ever encountered a pig. What people do to them is horrible and they don't deserve it.


Acknowledging that my own reading of the situation may be flawed, I'd though the situation was that pigs on average are better at sniffing out truffles, but dogs are the better truffle hunters on account of being "good enough" and the fact that dogs, unlike pigs, aren't going to eat half the truffles they find.

No one here seems to have any idea what they are talking about about. 1. You put a ring in the pig nose so it doesn't root and eat the truffles, 2. Dogs have a better sense of smells than pigs by a lot, 3. Big brains don't come from standing upright, whales and dolphins have larger brains, 3. Brain size is important for intelligence, almost always the larger brain the more intelligent, the whole nonsense of body to brain ratio be more important was to make half the human population not feel as bad about having smaller brains. Almost always, more brain == more smart.

That's why I refuse to take blue whales on in chess

> 3. Big brains don't come from standing upright, whales and dolphins have larger brains

That is a terrible "counterexample" to the idea that it's easier to balance a large brain on top of a spinal column than to support it as it sticks out in front of the animal. Whales are aquatic; every part of their body is supported by the water.


Buddy, you have no clue what you're talking about.

They are now because winning trust is their biggest hurdle. They've got the "public risk" slider turned all the way down. Let's hope they don't later start to optimise for speed and realise that people probably won't just step out due to fear of death and it's in their best interest to nurture that fear like human drivers currently do.

A judge has the power to (effectively or actually) end someone's life. I am very glad this responsibility is taken seriously. As an adult I'm sick of memes and childish "stickers" etc everywhere as it is. It certainly doesn't belong in a court.

The increased use of AGPL is a good sign. Hopefully more people start to realise copyleft licences are what is good for us (people, communities). Permissive licences are for big corporations.

Looking at the comments it's amazing how much damage Ballmer/Microsoft did to free software with their "infection" rhetoric. Amazing that people would choose something that's good for Microsoft. Hint: if Microsoft likes something then you (a person) almost certainly want the complete opposite.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: