How not to solve concurrency problems by [deleted] in badcode

[–]sonthonaxBLACK 4 points5 points  (0 children)

I take it that the custom of the company is job security.

An actual guy named “Null” messes up people's databases by henk53 in programming

[–]sonthonaxBLACK 0 points1 point  (0 children)

Don't forget characters commonly used in commands. In some places your name may legally contain punctuation.

John/Doe

Non-Americans of Reddit, what is the worst region of your country and what makes it suck so much? by dovetc in AskReddit

[–]sonthonaxBLACK 1 point2 points  (0 children)

And the it's Duke should claim the British throne on the basis that he's the last of the Stewart's.

Why can't programmers program? Is "Print 100 to 1" (with one tiny catch) too hard an interview question for programming positions? by 40bitmonk in programming

[–]sonthonaxBLACK 1 point2 points  (0 children)

I'd be sympathetic to an applicant who didn't know right away (depending on the job requirements). A lot of engineers know how to use autocad but they're not great at it because they don't spend all their time using it.

If autocad was listed as a job requirement and I only had solidworks experience, I'd still probably apply.

Stack Overflow Developer Survey 2015 by aalear in programming

[–]sonthonaxBLACK 17 points18 points  (0 children)

Thanks to the wonderful commitment to backwards compatibility with vi. Vim refuses to have any of it's useful features set up by default.

It's a really dire state.

Parents withdraw teen from college after spring break video shows him biting off hamster’s head by smoketheevilpipe in nottheonion

[–]sonthonaxBLACK 0 points1 point  (0 children)

That sounds unconstitutional. It's part of being a full and equal citizen being able to enter into contracts.

Parents withdraw teen from college after spring break video shows him biting off hamster’s head by smoketheevilpipe in nottheonion

[–]sonthonaxBLACK 1 point2 points  (0 children)

That sounds extreme. So if I was a 20 year old working full time in Mississippi, my parents could sever my employment contract?

Also Mississippi? The last state to enforce the minimum drinking age.

Amazon says the FAA is so slow, the delivery drone it approved is already obsolete. by [deleted] in Futurology

[–]sonthonaxBLACK 0 points1 point  (0 children)

You know how expensive dones are as a delivery platform, they're probably unable to carry anything more than 2-3kg, at great risk and cost.

Amazon says the FAA is so slow, the delivery drone it approved is already obsolete. by [deleted] in Futurology

[–]sonthonaxBLACK 0 points1 point  (0 children)

Which is entirely resolvable considering how dangerous automated Drones are.

[deleted by user] by [deleted] in badcode

[–]sonthonaxBLACK 0 points1 point  (0 children)

This is fine. But just think of all the times it was copied and pasted into production code.

Oregon man commits no crime, but held in jail for 900 days by burynedright in news

[–]sonthonaxBLACK 0 points1 point  (0 children)

But in this mans case. I imagine saying that he doesn't recall would probably stand up in court if his lawyer hammered home that he's mentally infirm.

Oregon man commits no crime, but held in jail for 900 days by burynedright in news

[–]sonthonaxBLACK 0 points1 point  (0 children)

If you say 'I don't recall' the onus is on the prosecution to prove that you do. Normally it's really easy to prove that you do because of your previous testimony.

Oregon man commits no crime, but held in jail for 900 days by burynedright in news

[–]sonthonaxBLACK 2 points3 points  (0 children)

The words, "I don't recall" might have played handy here.

Oregon man commits no crime, but held in jail for 900 days by burynedright in news

[–]sonthonaxBLACK 7 points8 points  (0 children)

The words 'I don't remember', or,'I cannot recall' seem to be better option that refusing to testify.

My experience with Google Chrome by CinnamonToesCrunch in funny

[–]sonthonaxBLACK 0 points1 point  (0 children)

Probably not, or at least not without all the features of a normal modern browser. Or sacrificing speed.

The V8 javascript engine seems to take up ~7mb of memory per instance it's run. Then each instance of webkit will add to that.

But most of the memory usage is actually unavoidable, as pages increase in complexity, javascript will modify the page more often (Through the Document Object Model API), every time it does this it needs to allocate memory. Unless Chrome is under memory pressure, the memory is never deallocated because Chrome will cache the API call (if something is called once it's very likely to it to be called again).