News for hackers. Stuff that matters.
Re:Have you ever hurt yourself from your own code? by alexc05 on Wednesday May 26, 2021 @11:56PM (#27299226)
I wrote a layoff database for Nortel Networks from ~1998 to 2001.

The way I got my notice of termination was while I was running some tests on the production database and needed a "negative" so I searched for a userid that was not present in the database: my own.

When I saw my name in the list I called my manager and asked him what was going on.

He said "Alex, why don't you head on home for the day and I'll call you there"

I wouldn't say "hurt" though. Nortel went bankrupt and I got a great severance package.

Re:Have you ever hurt yourself from your own code? by ibudiallo on Thursday May 27, 2021 @10:09AM (#27303333)
... as part of the bankruptcy proceedings they sold the technology to a bigger company. A developer improved the application by automating it. It could now send emails to the right departments automatically. The developer entered his own email as a test and was promptly fired by the new software.

Everyone who worked on the machine are now gone, yet it continues to do what it was designed for. That is until I found myself on the path of the machine...

Just kidding, but it would make a great origin story to this: https://news.ycombinator.com/item?id=17350645

Re:Have you ever hurt yourself from your own code? by bijant on Thursday May 27, 2021 @02:47AM (#27300136)
DELETE FROM LayoffDB WHERE EmployeeName='Alex';
Re:Have you ever hurt yourself from your own code? by toomuchtodo on Thursday May 27, 2021 @11:32AM (#27304295)
This is what triggers are for :)

“Some say Alex is still collecting a check to this day.”

Re:Have you ever hurt yourself from your own code? by aoms on Thursday May 27, 2021 @07:48PM (#27310044)
BobbyTables would do well here..
Re:Have you ever hurt yourself from your own code? by aoms on Thursday May 27, 2021 @07:47PM (#27310039)
This is a great example of how companies really are. Nobody is important enough in the end.

Work for a company for what you get from them, not for what you can give them!

Re:Have you ever hurt yourself from your own code? by mypalmike on Thursday May 27, 2021 @05:36AM (#27300946)
Echoes of Office Space right there. Did you happen to have a red stapler?
Re:Have you ever hurt yourself from your own code? by sneak on Thursday May 27, 2021 @10:23AM (#27303499)
Fun fact: Swingline never made a red stapler, the one in Office Space was a prop produced for the film by the production crew. Office Space popularized it to the point where Swingline actually started producing red staplers after the release of the film to capitalize on the demand.
Re:Have you ever hurt yourself from your own code? by OJFord on Thursday May 27, 2021 @12:34PM (#27304999)
But.. I was told..
Re:Have you ever hurt yourself from your own code? by sneak on Friday May 28, 2021 @03:52AM (#27312776)
Just pass.
Re:Have you ever hurt yourself from your own code? by blablabla123 on Thursday May 27, 2021 @12:06PM (#27304646)
> why don't you head on home for the day and I'll call you there?

As non-native English speaker this expression really puzzles me.

Re:Have you ever hurt yourself from your own code? by cedricd on Thursday May 27, 2021 @12:07PM (#27304667)
In other words: please go home and I'll call you.

'Head on home' is a real expression. Similar ones are 'head over there', 'head to ...', all of which just mean 'go to'.

Re:Have you ever hurt yourself from your own code? by blablabla123 on Thursday May 27, 2021 @02:38PM (#27306502)
I mean more the "Why don't you ..." It's quite obvious that it's rethorical but it seems so nonsensical to put this into a question while camouflaging what is really going on.
Re:Have you ever hurt yourself from your own code? by aynsof on Thursday May 27, 2021 @07:12PM (#27309759)
What an interesting question!

As others have said, it's definitely a 'softening' of a request to make it more polite ('Go home' vs 'Would it be possible for you to go home?').

But I think there are some status games going on here, too. A subordinate would never use that phrasing with a superior.

While the phrase uses conditional language to 'soften' the request, it's also an imperative (an order) that's made to look like a request.

Try to imagine the boss saying this. How would they have said it - with an upward inflection at the end, as in a question like this one? Definitely not! The phrase would definitely end on a downward inflection, as in an order like 'Please go home'.

It's a curious turn of phrase that I'd suggest is particular to managers, parents, and other authority figures that need to maintain a veneer of respect for their subordinates. It also strikes me as uniquely American; I couldn't imagine a Brit or an Australian saying something like this (but happy to be corrected).

Re:Have you ever hurt yourself from your own code? by blablabla123 on Saturday May 29, 2021 @01:59PM (#27327011)
Thanks for the detailed answer! That makes it really understandable :)
Re:Have you ever hurt yourself from your own code? by HeyLaughingBoy on Thursday May 27, 2021 @05:20PM (#27308701)
Don't feel bad :-) My 11 year-old son (a native English speaker) said the same thing to me just yesterday.

"Hey, bud. Why don't you pick up those two plastic containers and follow me."

"OK, but dad, it really confuses me when you say that. Can't you just say 'please pick up those containers'? It sounds like you're giving me an option but you're really not."

Until he said that, I had never given it a thought. But he takes things very literally, so I can see how it's confusing even though he knows what I mean.

Re:Have you ever hurt yourself from your own code? by kibbleble on Friday May 28, 2021 @01:37AM (#27312080)
Did your son really say "can't you just say?" :P

I think English littered with these suggestive polite negation statements.

Re:Have you ever hurt yourself from your own code? by HeyLaughingBoy on Friday May 28, 2021 @10:34AM (#27315791)
LOL. I didn't even notice that :-)
Re:Have you ever hurt yourself from your own code? by schoen on Friday May 28, 2021 @01:11AM (#27311940)
It occurs to me that Spanish can also have this, which I only know because of this incident:

https://en.wikipedia.org/wiki/%C2%BFPor_qu%C3%A9_no_te_calla...

(I don't know whether it has exactly the same set of connotations in Spanish as in English, but it doesn't seem like the king expected Chavez to do something other than comply.)

Re:Have you ever hurt yourself from your own code? by dentemple on Thursday May 27, 2021 @04:54PM (#27308405)
The "camouflage" here indicates an increase in the speaker's politeness level. Some languages use explicit terms or forms of address to do this; English, however, utilizes indirect phrasing to achieve this effect.
Re:Have you ever hurt yourself from your own code? by adrianmonk on Thursday May 27, 2021 @03:47PM (#27307359)
I'd say the purpose is more or less to show respect. By phrasing it as an idea or a suggestion, you give them the chance to (appear to) cooperate willingly.

Both people presumably do know what's really happening, and this is exactly why it's seen as unnecessary (and inconsiderate) to actually say it. There's no reason to call extra attention to something unpleasant.

Re:Have you ever hurt yourself from your own code? by toolslive on Thursday May 27, 2021 @12:14PM (#27304761)
is that a pars pro toto?
Re:Have you ever hurt yourself from your own code? by hnbad on Friday May 28, 2021 @08:47AM (#27314738)
No, "head" is a verb in this case. Related to "heading" (i.e. what direction a vehicle is pointed at while moving), I think, rather than the body part.

I can't find the etymology beyond words meaning the body part or "primary"/"main". There's no direct equivalent in German for example despite the shared etymology for the other meanings.

I would guess that it is related to the body part in a figurative sense in the same was as "face" (i.e. turn your body in a specific direction) though I have no idea how "put your head there" would come to me "go there". I wonder if this was before or after "heading" became a thing for ships (which generally move in the direction they "face", so the "heading", i.e. how the "nose" is aligned, could go on to become a verb).

EDIT: I'm not sure it's pars pro toto because I'm not sure it directly refers to the "head" in the sense of the body part rather than the "heading" which is not directly related to the actual body part when talking about vehicles like ships.

Re:Have you ever hurt yourself from your own code? by FabHK on Thursday May 27, 2021 @09:45PM (#27310856)
No. It's not "take your head home", with your head (a noun) being the part standing in for the whole, namely you. Rather, "to head" is a verb that means (among other things) "to move in a specific direction". For example, an aircraft could be heading north.
Re:Have you ever hurt yourself from your own code? by hnbad on Friday May 28, 2021 @08:48AM (#27314751)
Isn't "take your head home" pars pro toto given that it means "take yourself home" with the head (pars) standing in for (pro) the person (toto)?
Re:Have you ever hurt yourself from your own code? by FabHK on Saturday May 29, 2021 @11:33AM (#27325901)
Yes, "take your head home" would be pars pro toto, but it is not something people usually say (in particularly, that's not what GP (or GGP or whatever) said).
Re:Have you ever hurt yourself from your own code? by shoemakersteve on Thursday May 27, 2021 @12:20PM (#27304823)
no that's latin
Re:Have you ever hurt yourself from your own code? by shoo on Friday May 28, 2021 @04:46AM (#27313091)
live by the layoff db, die by the layoff db
Re:Have you ever hurt yourself from your own code? by prox on Thursday May 27, 2021 @01:25AM (#27299695)
Ouch... and what are the odds!
Re:Have you ever hurt yourself from your own code? by yaitsyaboi on Thursday May 27, 2021 @02:18AM (#27299961)
What are the odds of being laid off if your boss asks you to write something called a layoff database?
Re:Have you ever hurt yourself from your own code? by inopinatus on Thursday May 27, 2021 @09:40AM (#27302956)
Writing the tool to fire yourself is definitely a level up from merely being asked to train your replacement.
Re:Have you ever hurt yourself from your own code? by bryanrasmussen on Thursday May 27, 2021 @02:37AM (#27300090)
normally I'd think not very high, at least until the first round of layoffs are done and any potential bugs with the database/application have been worked out.
Re:Have you ever hurt yourself from your own code? by Agathos on Thursday May 27, 2021 @01:44PM (#27305874)
“We anticipate this being the last round of layoffs so we won’t need a layoff db guy any more.”
Re:Have you ever hurt yourself from your own code? by flear on Thursday May 27, 2021 @06:20AM (#27301164)
"Why me?" "You're more than qualified for this task."
Re:Have you ever hurt yourself from your own code? by kanzenryu2 on Friday May 28, 2021 @04:46AM (#27313088)
One of the only bankruptcies in history to make a profit!

I worked for the Australian subsidiary in the 90s when they had "Vision 2000" of becoming the world's third largest telco by 2000.