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


Forgot your password?

Comment Re: Whatever (Score 1) 355

It sends a very clear message that modern politics is failing to meet the needs of around half of the voting public, and change is required.

Not too dissimilar to the Brexit vote really. Dissatisfaction reached tipping point and people voted for something that they knew would hurt because it was still superior to the status quo.

Comment Re:Totalitarian software [Re:Whatever] (Score 1) 355

At first, that appears to be a perfectly reasonable complaint, and it actually is, but the problem I have with it is that in the past, I was several times unhappy with online maps "features" and/or their changes I didn't like, and with the inability to turn them on and off, but I didn't notice anybody trying to spin it into some kind of a social issue. Why is this the one feature I should be able to turn off and not the other ones? (I'm not aiming this at you, just to be sure.)

(And why the hell is it supposed to be about fat people, and not about, you know, the obnoxious get-everywhere-by-car culture?)

Comment Re:Share the backend code? (Score 1) 408

Took me 3-4 hours and it was pretty clearly a made up example scenario.

One element did need a proper computer science type algorithm to do something mathematical. I threw in a 'good enough' solution that would suffer a stack overflow with too much data, added documentation stating that and telling them which function to rewrite to fix that if they really cared.

Their test data set had no issues and completed sub-second even with the horribly sub-optimal code. So even if they did want to apply my solution to real-world data they'd have been buggered anyway.

(Wrong language for the problem; you could solve that shit in about three lines of R these days)

Comment Re:Ignore them (Score 1) 408

I can probably remember or guess the precedence for the weirder operators, such as bitwise XOR, but I wouldn't trust my memory

I can mostly remember precedence operators for the main languages I've used, but when you've created production code in 7 languages and played around in half a dozen more, it's pointless trying to remember them all.

So add the brackets. Make precedence explicit in the code and it's easier to read, easier to edit and easier to validate. Even if it's someone else's code.

Comment Re:Share the backend code? (Score 1) 408

I wouldn't hire you as a contractor without the ability to fully use, deploy, update and if necessary sell the code you write for me.

If you want IP ownership over it then we can negotiate on that, but I'm not paying you a licence fee unless you're providing me with a working solution out of the box, warrantied and with 24/7 support over the lifetime of the software. Good luck meeting my needs on that.

Comment Re:Share the backend code? (Score 4, Insightful) 408

I've never taken code from a previous job into a job interview. If I have access to that code, I'd be betraying trust by copying it and giving it to someone else. If I don't have access to that code, I can't anyway.

I have had a job application where a programming challenge was emailed to me with a three day deadline for completion, and sent back well structured working code, compilation instructions, a build script and working unit tests. I got called straight in for interview.

That seems reasonable to me; the programming challenge was a specific scenario so you couldn't search stack overflow for code examples (although this was in the days before stack overflow anyway), it let me demonstrate that I could program to a professional level, and it didn't require to me share any code that may belong to someone else.

Indeed. I hire people, and I am looking for way more than 50 lines. At least 500 lines. It should be a non-trivial complete program that does something interesting

I couldn't have done that. My professional work was in a team environment, where my code was part of a greater whole and a 500-1000 line excerpt might do an awful lot but certainly didn't compile and run standalone.

Shit, even my hobby code has that characteristic. Ask Linus for 500 line of his code and see if you get a complete fucking program back.

Slashdot Top Deals

grep me no patterns and I'll tell you no lines.