Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Comment Re:Advertising is not a freedom of speech issue (Score 1) 195

This case is about the share button, when you buy something and the court is getting its knickers in a knot about nothing.

In German culture, it would be crude and crass for someone to put that into their social media feed or send an email. The number of people who do this kind of thing is astonishingly small. That they actually felt the need to forbid it is the odd part. Then again, it should not surprise me that they'd mandate social norms. You are not allowed to give you kid a nontraditional name.

Comment Re: People actually *like* Python whitespace? (Score 0) 339

I'll bite: It's called Cognitive Load Management

Let's presume that your editor is not doing something stupid and is configure to use a fixed number of white spaces in tabs and you are not doing something stupid in your git commits.

You've written an algorithm that does X. A year later, when you are no longer on the project, I have to look into that code to fix a bug or add a new feature. Or... a year later, you are still around and have to do it. Before making any changes, that maintainer is going to have to read through the code to understand what it does and how it works. If you used significant - and consistent - whitespace indentation to enhance readability, the maintainer has to devote fewer "brain clock cycles" to understanding your coding style and has more to devote to understanding how it works and what needs to be done. This means that the change gets done faster and with less risk of regressions or other bugs.

  - If you are using such a style anyway, then semicolons at the end of lines are moot.

- If you are using such a style anyway, then curly braces don't add much either. At best, they are irrelevant. At worst, they get used to space out the algorithm in such a way as to make it less readable and increase cognitive load.

Comment Re:Wrong, I don't (Score 2) 339

If you are not going to bother to write code that is easy for humans to read, then I don't want to be one of the people who has to maintain it. I'll take easy to read code over clever any day of the week, because at some point in the future - be it days, weeks, months or years later - someone will have to go back through that code and try to understand what it does.

Over the years, I've seen too much code where nobody understands how it works and won't touch it. Nine times out of ten, it was because of "obfuscation through laziness".

Comment Re:Good and Bad Outcomes (Score 1) 265

Ahhh... raging against the beauty of the free market! Its quite simple. Service is a transaction and the server makes a calculation of their time against the likely payoff. If you are a cheap tipper, then the time spent serving you forces them to incur opportunity cost; as they can't be serving a better tipper in that time. Your average waiter or cab driver may not use the language of an economist, but you can rest assured that they are making that calculation.

Or to take a game theory approach, with reviews, tipping is now a repeated prisoner's dilemma affair. Without reviews, the only strategy that the server can take is to cooperate and the customer is free to defect. With reviews, you are playing a repeated prisoner's dilemma with a generic waiter/cab-driver. It is well known what people do when playing a repeated prisoner's dilemma against habitual defectors; the only rational strategy is to defect.

Either way, it sounds like you are going to have to be less of an asshole to people in service jobs.

Comment Re:"Three years ago today" (Score 4, Insightful) 142

You are trolling, but I'll still bite.

While living in a cave...

We're talking about the same country who got its ass kicked by vietcongs for at least two decades (while using Napalm). Ass kicked in Afghanistan by people using weapons the CIA gave them back in the late '70s when Brejnev invaded their country and IEDs. .

Interestingly, this is is a time honored methodology for fighting against a much stronger force and is exactly how I would fight against the US, NATO, Russia, China, etc. if I were in a small country. Take to the hills, don't expose yourself to pitched battles that you will lose anyway and subject your opponent to death by a thousand paper cuts. Americans themselves successfully used this methodology against the British between 1775 and 1781.

The only real ways to fight against it are to either make yourself more popular among the populace than the resistance force (VERY difficult to do) or go full Ghengis Khan.

but was the only one to use them... Twice... Hiroshima August 6th 1945... Enola Gay...Little Boy...Gun Type 16kT. Nagasaki August 9th 1945... Bockscar...Fat Man...Implosion type 21kT.

Other designs were planned. We're talking about weapon testing... If the war wasn't over back in the old countries, they would *never* have dropped a nuclear weapon in europe.

So..... its the summer of 1945. YOU are Harry Truman. The war has killed, what 50 million people so far. The battle of Okinawa has just finished and it killed.... oh about 200,000 people. (about half being soldiers of the two side and the rest civilians). That was essentially the dress rehearsal for the invasion of Japan itself. You've just been told about these new kinds of bombs. What would you do? Try to finish the war off by using them and then bluffing the Japanese by saying you have a thousand (you don't. you have two) or go ahead with the invasion?

Slashdot Top Deals

The world is no nursery. - Sigmund Freud