|
Eddy Vluggen wrote: always start your SQL script with "START TRANSACTION". That's like jumping out of a plane with a parachute on, just in case you need it. Real men don't need it.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
My rule of thumb is to create the select statement and run it before changing it to delete or update. That, however, only works if (1) I count on my thumbes, and (2) type the write table name. Everything could seem OK. (even with your Transaction wrap) until just a little bit later.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos wrote: Everything could seem OK. It is not relevant how things seem.
You validate before you commit. You cannot assume, one must validate. Seriously, paranoia pays.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Yeah, I usually do this.
Of course that doesn't work when you have some text selected (which I had) for deletion, but hit F5 instead
Luckily we had a backup (well, not so lucky as we make those daily) and I was able to undo the harm without anyone even reporting the issue
|
|
|
|
|
Silly human.
AI would've never made this mistake.
You are replaceable. The robots are coming! The robots are coming!
|
|
|
|
|
AI's have the ability to make millions of mistakes per second.
I won't even code that many instructions in my life
|
|
|
|
|
Easy mistake, since the F5 key is right next to the Del key ... oh wait.
Been there and done that, though. The feeling when you just realize you've just deleted the whole company's timecard entries? Like jumping out of an airplane. Thank goodness for frequent (15-minute intervals) log backups.
If you think 'goto' is evil, try writing an Assembly program without JMP.
|
|
|
|
|
Trapped | CommitStrip[^]
Vi was as much fun - no universal CTRL+F4 for us early adopters!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Been there, stuck in input mode, and it took some time to escape.
|
|
|
|
|
:w!
Damn, I meant :q!
sccs get program.c
Tap-tap-tappety-tap
Damn! Wrong again!
:w!
redo from start
98.4% of statistics are made up on the spot.
|
|
|
|
|
PeejayAdams wrote: 98.4% of statistics are made up on the spot.
47.7% of statistics are wrong.
|
|
|
|
|
vim is still my most used editor.
|
|
|
|
|
Please! Why did you remind me on that !
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Because the Youth Of Today need to be reminded just how good they have it!
That and to remind everybody of what happens when you let developers design user interfaces...
(Though to be fair, most of Unix was much the same in those days, and DOS wasn't far behind: remember EDLIN?)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I remember vi and edlin too.
There was one in RSTS but I forget it's name.
I'm glad they're largely gone.
|
|
|
|
|
Line mode EDT was what we were taught on RSTS, but them what knew used TECO in screen mode.
On OpenVMS I use EDT in screen mode.
|
|
|
|
|
I remember using TECO and EDT. TECO primarily under RT-11 and RSX-11 on PDP-11's of one sort or another, and EDT on VAXen.
Software Zen: delete this;
|
|
|
|
|
I had to program with VI and VIM so i know the pain.
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Hard reboot. Psh. I just burn my house down whenever I get stuck in VIM.
|
|
|
|
|
OpenVMS has what it calls Text Processing Units, and several text editors derive from them. Whenever I accidently run LSE (Language Sensitive Editor) rather than EDT, I generally have to Ctrl-C to get back out.
|
|
|
|
|
Nano isn't so bad....course it's just for the basics, but that pretty accurately describes how linux workflows are supposed to go.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
Kabaam! 2 days of complete screw up costing god knows how many millions in compensation.
Offshoring, it is not worth it. The quality goes through the floor.
|
|
|
|
|
You know that, I know that.
But the people who make the decision and evaluate the tenders are accountants. People who know the cost of everything, and the value of nothing.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It is penny pinching.
I think it was Leggo who recently reshored the production of platics due to the lower pound making the financial difference less interesting, allied to the far higher quality achieved.
Quality is a big part of any product, and the race to the bottom results in quite frankly, sh*t.
|
|
|
|
|
And some things you can't buy: a good reputation for example.
You can throw it away very easily though.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|