Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×

Comment: Re:It's good if they don't code like 90s C++ devs (Score 1) 280

by drinkypoo (#49360941) Attached to: Ask Slashdot: What Makes Some Code Particularly Good?

If that's all the variable is used for, won't the compiler optimize it out of existence anyway? Or is that too fancy yet?

I think a lot of people don't really understand how the compiler actually works. Not even at a basic level.

Well, no, I don't. That's why I asked. It sounds like the answer to my question is yes?

Comment: Re:Boorish (Score 1) 633

by drinkypoo (#49360799) Attached to: Jeremy Clarkson Dismissed From Top Gear

But as for taking production back to Wolfsberg, last I checked there were still lots of VWs made in Mexico.

Right. Don't buy them. They specifically moved the Golf back to Wolfsberg. Be careful, though, because I think they moved it back to Mexico more recently. You can get e.g. a "VAG VIN Decoder" app for Android, or just memorize which place in the VIN to look at and a handful of plant codes. Then you'll know precisely where the vehicle was produced.

Comment: Re:It's good if they don't code like 90s C++ devs (Score 1) 280

by drinkypoo (#49360541) Attached to: Ask Slashdot: What Makes Some Code Particularly Good?

If adding a variable aids readability, add the fucking variable! Shove all the results into a meaningful, readable variable name and then shove *that* into your function argument, not some long series of nested function. It's not the 90s. You don't have to save memory! Memory is there to make your code readable. Use it!

If that's all the variable is used for, won't the compiler optimize it out of existence anyway? Or is that too fancy yet?

Comment: Re:Wouldn't Want To Be In The Same Room With Her (Score 1) 291

I got my job just because the company I work for had over twenty developers that were all male, and it looked bad on their EEO report.

Not because you were the most qualified applicant? That means the company you work for hired you not because they should have, but because they were strong-armed into it. In fact, they should not have had to have hired you, they should have been able to hire the best-qualified applicant.

Comment: Re:This whole issue needs to be buried (Score 1) 291

The reality is that society needs children.

The reality is that you are asking employers to pay for that, but making children isn't their business. If society needs children, then society should pay for children, through income redistribution. Oh wait, guess what? We already give people a tax break for having children. I've known people who made more than me but paid no taxes because of their children. Now you want employers to pay again?

Of course the rules should apply equally to both genders. You could argue that people who don't have kids should get more time off,

Or you could argue that people who do have kids don't deserve to get paid for their time off. A person who doesn't have kids is worth more to their employer. If people can't afford to survive while they have kids (they can) and we need more people (we don't) then it would be worth it to pay people to have kids. Big problem with that is there are too many humans on this planet already, at least while we operate in our current mode. You want more people made, but that's the opposite of what we need.

Comment: Re:Boorish (Score 1) 633

by drinkypoo (#49360499) Attached to: Jeremy Clarkson Dismissed From Top Gear

If I want a car assembled correctly, I buy one which was put together in Germany

You mean like all those VWs built in Mexico?

No, completely unlike those VWs built in Mexico, which are built like shit. The only thing more embarrassing to my heritage than how shit UAW puts together cars is how shit Mexico puts together cars. It's interesting that you mention Volkswagen because Mexicans are known to be particularly bad at that. When VW brought USDM Golf production to Mexico, reliability plummeted. When they took production back to Wolfsberg, it came right back up to the German standards that we know and love.

Anyone who buys a VW built in Mexico is a moron. All of my imports to date have been built in their designing nation, and came over here on a boat fully assembled. Started with imports with a 240SX, then I had an Impreza GC5, couple of 300SDs (still have one) and an A8. That last has electrical problems but the mechanicals are good, anyway. And there's the rub with VW; their electrical is a bit garbage, even out of Germany.

Comment: Re:What we need... (Score 2) 317

by houghi (#49357457) Attached to: Amazon Requires Non-Compete Agreements.. For Warehouse Workers

In Belgium I followed a cource on hunman resource law. What they said to me (as employer, not as employee) was that you can basically write everything in a contract, but that does not make it legal. Not only could it mean that a part of the contract can be trown out, but the whole contract can be trown out AND the law will be even more inclined to side with whatever the emplyer tells.

On the other hand, if the people do not complain within a year after termination, you are good.

Th ebest defence an emplyee has to the question of why he did not compain when he was working there would be "I was afraid to loose my job." Just having that feeling is enough.

Once case I know of is where a manager who signed that he would do extra hours for no extra pay documented all the extra hours and got them payed out, because that is what the law says. Say they had to pay several years of extra hours.

Now before you start suing your company, please go to a lawyer (or your union) IRL, because every situation is different.

Comment: Re:Adopt the German Rules (Score 3, Interesting) 317

by houghi (#49357381) Attached to: Amazon Requires Non-Compete Agreements.. For Warehouse Workers

In Belgium when you have a non-compete, you will get what is quoted in the contract. (Unless you start working for the competition)
It also depends on the job and will have a limited reasonable duration.

I had one, but unfortunately they annulled it when they fired me.(1) Otherwise I would have been given a year extra payment while working at a company in the same job, but not in the same field.

I know somebody who started working for the competition and in the identical job, but they just named the job differently. He never asked the money and the company never followed up on it.

I know of somebody else who was forced to leave their new job, but got the money. The law will side with the worker most of the time and unless there is a clear abuse of what is reasonable, then nobody actualy follows up on it.

If you get fired, most of the time it will be annulled and if people leave, they just go to somebody who is not the competitor.

All that said, if you are anything like a blue collor worker or an office serf, no way they could stick that to you. I sign them gladly and hope they forget when they fire me when they need to cut back.

(1)They gave me 5.5 months pay instead of the legal required 3, so that was nice.

Comment: Re:Don't make it impossible, just make it hard (Score 1) 353

by hankwang (#49355915) Attached to: Modern Cockpits: Harder To Invade But Easier To Lock Up

"Why would the cabin crew have the code? The code is for the pilots."

Here is airbus's own explanation: http://m.youtube.com/watch?v=R...

TL;DW: if the pilots are incapacitated, the cabin crew can punch a code to save the day; the door will unlock after 30 seconds unless the pilot pushes the button to deny access. (the pilots are alerted by a beeping signal.) Actually, a pretty sensible way to do it.

Comment: Re:what will be more interesting (Score 1) 633

by drinkypoo (#49354595) Attached to: Jeremy Clarkson Dismissed From Top Gear

Tell me about it. The other day I tried really really hard and I just couldn't manage to not buy a TV.

The default is to charge you the fee whether you have a tuner in your household or not. This may be less ridiculous now that they provide a lot of other services, but it was also true back when they didn't.

Comment: Re:Congress is a bunch of fucking retards (Score 1) 128

by Xyrus (#49354041) Attached to: GAO Denied Access To Webb Telescope Workers By Northrop Grumman

How far back would you like to go? If Iraq hadn't invaded Kuwait...

Which the US set in motion by putting Saddam in power AND all but gave approval of the invasion by essentially turning a blind eye to it. If the international community didn't raise such a stink over it, it's quite likely the our boy Saddam would still be at the reins.

And we put Saddam in power because the Iranian people decided that they didn't like being oppressed under the rule of a bloody dictator (the Shah) who was, no surprise, also put into power with the help of the US.

Al Quaeda? We bankrolled their entire operation until we found out that they really didn't like us anymore than the Soviets.

We've been screwing over the Middle East region in one form or another for the past 60 years or so. Is it really any surprise that things are they the way they are given the social, economic, and political unrest that our actions (and others) have caused there?

Comment: Re:Cookie authenticated or open WiFi is insecure? (Score 1) 40

by drinkypoo (#49354031) Attached to: Big Vulnerability In Hotel Wi-Fi Router Puts Guests At Risk

What you use is noscript, and then you allow only the scripts necessary to get the portal working, and you don't run any flash or java from the portal, etc etc. And you keep your browser updated. It's not rocket surgery. It's not foolproof, but it's best to act as little like a fool as possible.

The universe is an island, surrounded by whatever it is that surrounds universes.

Working...