Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Good Luck (Score 4, Insightful) 331

In any case, you would need Amazon to actually enforce it.
While they do have more money for legal fees, they would risk a big PR issue if they tried to prevent some guy from working at Walmart after quitting Amazon. Also, the first guy with such a problem wouldn't have a lot of trouble finding someone to help them with legal fees, if only for the publicity.

This is probably just a scare tactic, to discourage people from leaving them, it is unethical, but not really enforceable.

Comment Re:Good code (Score 4, Interesting) 298

For newly written code, things like readability, testability, and maintainability all can come in to whether it is "good" or not

For legacy stuff, Good code is code that works. Who cares how easy it is to read or test as long as it works?

The second one should also include "immutable". If it's hard to understand it will evolve easily to non working, and time spent on improvements can start to creep up very fast.

I have worked in very clever, solid code, but not easy to read. It was then maintained and extended by average, but competent programmers down the road, and turned into a big mess, only because it was so hard to understand.

In my experience, good code is easy to read, above all. That will make it easy to extend it coherently, find bugs and stuff. Also, if it doesn't work OK, it's easy to find out why. The single metric that saves time, money, and improves quality down the road is readability. Eveything else should be suject to that.

And, about the last point in the "article", "efficient", it's nonsense. Premature optimization is the root of all evil. You should _always_ follow the second rule of optimization (see http://c2.com/cgi/wiki?RulesOfOptimization ).

Comment Re:Not being PHP (Score 1) 298

PHP can be good or bad, like any other code. Lately it's getting better.
As an example, do you think this looks bad? Looks pretty good to me.

  https://github.com/symfony/sym...

I have some awful, unreadable examples I could share in Java, PHP, Javascript and even C, but chosen language no longer forces you to write bad code. Maybe Perl, but I haven't seen it lately.

Comment bullshit (Score 1) 267

This is total bullshit, and dangerous at that.

Firstly, a lot of software out there still has password length limits, sometimes silently discarding additional characters. You will still need ordinary passwords now and then.

Secondly, no normal human will type a five, six or more words passphrase every time they want to unlock their screen. They will do it for three days while they're hyped on how secure they are now, and then it'll become something they hate, and then they'll change it back to "123".

Thirdly, this is a bit more tricky, the real world security of almost every password scheme I've come across in 15 years of IT security experience is several orders of magnitude lower than the mathematical assumption. Because we consistently forget to take the human factor into account. Maybe some extreme nerds will actually follow this guideline, more normal people will discard words they can't remember for words they can, change things "a little" for convenience, and generally sabotage the whole system without even realizing it. It's the same as with passwords, all over again. Yes, on paper, a password has on the order of 10^16 possible combinations. But in reality, taking into account how people actually choose passwords (even ignoring the whole "password" and "123456" problem!) the actual diversity is more on the order of 10^9. Same here. You think using dice removes the human factor. omg do you underestimate humans!

Comment yes, they are (Score 1) 159

In fact, they're ridiculous. I've given a couple presentations on password strength, and password meters are to password strength what the TSA is for air travel security - a better-than-nothing baseline approach that is mostly for show.

The problem is that we have nothing better to offer at this time, even though most security experts agree that passwords are a solution whose time is over.

Comment ethics (Score 2) 177

For example when faced with the decision to crash into a pedestrian or another vehicle carrying a family, it would be a challenge for a self-driving car to follow the same moral reasoning a human would in the situation

Or maybe it would follow better moral reasoning. Ours is not perfect, it's just whatever evolution came up with that gave us the best species survival rates. That doesn't mean it's really the most ethical solution.
For example, in a post-feminist society, let's assume for arguments sake that gender discrimination has been overcome, wouldn't we also do away with "women and children first" - which is a suitable survival approach in a species fighting for survival in the african prairie, but hardly for the dominant species that already is overpopulated.

Google

"Google Glass Isn't Dead!" Says Google's CEO Eric Schmidt 141

lord_rob the only on writes "After Google stopped selling its wearable Glass device in January this year, many people speculated that the controversial gadget was on its way out for good. However, Google executive chairman Eric Schmidt has said that the technology behind Glass is too important to throw away, and that the program has been put under the control of Nest's Tony Fadell to "make it ready for users" in the future.

Comment Re:Animal House (Score 4, Insightful) 765

There is no right to create a hostile working environment for women.

You are right. There's no reason to make boob-grabbing a sport at work, or install under-table cameras and post the up-skirt shots in the Intranet. There's no reason to announce publicly the menstruation periods of every girl in the office, or enforce a dresscode that ignores female anatomy. Definitely sex should not be a condition for promotion, and meetings should not start with blowjob requests, made in order of beauty to the attending women. Likewise, putting a single toilet for women into the basement while having men toilets everywhere.

Oh wait, you were talking about a software joke project on some random Internet site that nobody is forced to visit or even know about? Yeah, that definitely is the dictionary case for "hostile working environment".

the entire back office being papered over with pinups

That's absolutely the same as a random Internet site that nobody... why am I wasting my time here, a monkey would see the difference.

Comment cry baby (Score 1) 765

Let's live in a perfectly politically correct world where our jokes, every sentence we speak and every message we write is controlled by the thought police.

And I say that as someone who was bullied at school. But here's the point: There's harassment, which has a victim and there's jokes about a class the size of half the worlds population and either you are incredibly insecure or unbelievably egomaniac to consider yourself the individual target.

Every real woman I've met in my life laughs about jokes that ridicule women in general the same way that I laugh about jokes where guys in general are the target. These jokes are funny exactly because they contain a piece of truth.

Everything, taken to extremes, is evil. That includes feminism, no-harassment policies and political correctness. No, wait. That last one is evil from the start.

Comment Re:simple opinion (Score 1) 320

Firstly, the general feeling that Postgres is engineered and designed and not cobbled together.

Secondly, support for non-trivial SQL is just a lot better. For a forum or simple application, MySQL is fine by language, but if you get into the more tricky SQL, it will fail you much sooner.

Thirdly, schemas, views, stored procedures the whole environment around the tables is so much more refined and powerful. Not that it's easy to say "MySQL cannot do this" - there's usually some hack or roundabout way in which it can do it, but in Postgres you don't need the hacks.

And it seems to me that it's so much clearer and better to do serials and foreign keys and all that. In MySQL it always felt to me like everything that's not trivial was added on, by someone else than the last feature. Postgres is just much more consistent in its approach.

Oh yes, and it does GIS. And blobs (properly). And UTF (properly). I just feel a lot more comfortable throwing everything at it and not thinking "will it handle it?" all the time.

Comment simple opinion (Score 1) 320

I've used MySQL for almost 20 years for different projects of mine. In my professional life, I've also used ADABAS, Oracle and this and that other.

I was interested in Postgres some years ago but never went beyond reading one book. Then two years ago I decided to start a new project with Postgres from the start, because I wanted PostGIS.

I'm not looking back. Every future project I do will always use Postgres. Aside from the technical and functional and other rational arguments, the feeling you get is like graduating from BASIC to a real programming language.

Slashdot Top Deals

This file will self-destruct in five minutes.

Working...