There are at least 10 types of capacitors. Theory tells you how a circuit works, not why it does not work. Not everything works according to the specs in the databook. Anything practical you learn will be obsolete before you use it, except the complex math, which you will never use. Engineering is like having an 8 a.m. class and a late afternoon lab every day for the rest of your life. Overtime pay? What overtime pay? Managers, not engineers, rule the world. Always try to fix the hardware with software. If you like junk food, caffeine, and all-nighters, go into software. Dilbert is not a comic strip, it’s a documentary.Зри в корень!
Apr. 11th, 2018 09:16 am
My name is Brian Root and this story began when my company was acquired by a larger outfit, and everyone gets a new login based on just the employee's family name -- which in my case is Root.That should have been a non-issue with any other name, but when the administrators created my account, they apparently didn't think about the fact that root is the superuser account in our Unix systems.
Following the instructions provided in an email, I logged in and changed the password on my 'root' account. The next time I logged in, the password didn't work. I called the help desk for the new company and they reset my password -- and it worked until I logged off and tried to log back in.
After three days of this, I finally asked the second-level support tech if it was possible that my 'root' login was creating my issue, since there was already a root account and directory in Unix? And after several more days, I received an email with my new account name: broot. Problem solved. But I always imagined that each time I changed my password on the root account, systems were failing all over the world.

Перед наступлением 2000 года один опытный программист решил срубить денег: специалистов по Коболу осталось мало, а программ, в которых надо было исправить «проблему-2000», — много...
Нормально работал потом, жил счастливо и накопил денег на "вечную жизнь" - просил себя перед смертью в 2050 году заморозить - вдруг в будущем научатся лечить и оживлять людей...
...Когда программист очнулся, вокруг него была странная футуристическая обстановка, а с огромного экрана гологрофона на программиста пристально смотрел пожилой африканец в яркой военной форме.
— Здравствуйте, Джон, — произнес африканец.
— люди Земли приветствуют вас! Простите, что не разбудили вас раньше - мы научились оживлять людей уже в 2100м году, но произошла досадная ошибка, и вы проспали лишние восемь тысяч лет...
— Почему же вы разбудили меня сейчас? Обнаружили ошибку?
— Не совсем. Понимаете, приближается 10 000 год, а вы — единственный человек на планете, который знает Кобол!
Детская задачка для программистов
Mar. 25th, 2012 08:33 pmБуратине дали три яблока. Два он съел.
Сколько яблок осталось у Буратины?
Думаете одно? Фигушки! Это может в первом классе на уроке арифметики оно одно осталось.
А ежели задать эту задачку программистам?
Ответы могут быть совершенно неожиданными:
- Неизвестно сколько. Никто-ж не знает, сколько яблок было у него до этого.
Мораль: обнуляйте начальные переменные.
- Даже если обнулить переменные, никто не гарантирует, что Мальвина не отдала ему свои яблоки,
пока он уничтожал те два. Или не сожрала третье.
Мораль: не используйте глобальные переменные.
- А где гарантия, что Буратино съел именно два яблока, а не два чего-то другого? Там написано что он съел два.
- Количество яблок у Буратины не изменилось.
Они только поменяли область видимости: часть из них переместилась внутрь Буратины.
Сколько яблок осталось у Буратины?
Думаете одно? Фигушки! Это может в первом классе на уроке арифметики оно одно осталось.
А ежели задать эту задачку программистам?
Ответы могут быть совершенно неожиданными:
- Неизвестно сколько. Никто-ж не знает, сколько яблок было у него до этого.
Мораль: обнуляйте начальные переменные.
- Даже если обнулить переменные, никто не гарантирует, что Мальвина не отдала ему свои яблоки,
пока он уничтожал те два. Или не сожрала третье.
Мораль: не используйте глобальные переменные.
- А где гарантия, что Буратино съел именно два яблока, а не два чего-то другого? Там написано что он съел два.
- Количество яблок у Буратины не изменилось.
Они только поменяли область видимости: часть из них переместилась внутрь Буратины.
For as long as you can remember, computers and electronics fascinated you. Your future as a computer programmer seemed fated by the timing of your entry into adulthood. The first Internet gold rush was in full swing and all around you nerds were being touted as heroes of the New Economy on the covers of Fast Company and Wired, and they were making money hand over fist doing what you loved to do.
You dropped out of college and started looking for a job at a startup. Leaving school to launch the next big thing was a rite of passage rooted in the mythos of geek icons like Steve Jobs and Bill Gates. Companies were hiring anyone with a basic grasp of Boolean logic and the hunger to create, and college dropouts seemed more willing to go the extra mile for less pay as long as there were stock options involved.
Details: http://www.mcsweeneys.net/links/dreamjobs/dreamjobs5.html
You dropped out of college and started looking for a job at a startup. Leaving school to launch the next big thing was a rite of passage rooted in the mythos of geek icons like Steve Jobs and Bill Gates. Companies were hiring anyone with a basic grasp of Boolean logic and the hunger to create, and college dropouts seemed more willing to go the extra mile for less pay as long as there were stock options involved.
Details: http://www.mcsweeneys.net/links/dreamjobs/dreamjobs5.html
Unix humor
Jul. 28th, 2010 07:17 pmwho | grep sleeping
who | grep awake
who | egrep 'bad|good'
for (goodness sake) {
be good
}
% ar m God
ar: God does not exist
% ^How did the sex change^ operation go?
Modifier failed.
% make love
Make: Don't know how to make love. Stop.
% sleep with me
bad character
% got a light?
No match.
% man: why did you get a divorce?
man: : Too many arguments.
% ^What is saccharine?
Bad substitute.
% man woman
No manual entry for woman.
% %blow
%blow: No such job.
% (-
(-: Command not found.
% sh $PATH=pretending! /usr/ucb/which sense
no sense in pretending!
$ drink matter
matter: cannot create
/earth is 98% full... please delete anyone you can.
Overflow on /dev/null, please empty the bit bucket.
The world is coming to an end. Please log off.
This login session: $13.99, but for you $11.88
[YOU MIGHT HAVE MAIL]
Your fault: core dumped
"SCCS, the source motel! Programs check in and never check out!"
- Ken Thompson
"Beware of bugs in the above code; I have only proved it correct, not tried it."
- Donald Knuth
How many hardware engineers does it take to change a light bulb?
None: "We'll fix it in software."
How many software engineers does it take to change a light bulb?
None: "We'll document it in the manual."
How many tech writers does it take to change a light bulb?
None: "The user can work it out."
Мораль сей басни такова: если Вы ничего и не поняли, то Вам остаётся только делать вид, что это смешно...
who | grep awake
who | egrep 'bad|good'
for (goodness sake) {
be good
}
% ar m God
ar: God does not exist
% ^How did the sex change^ operation go?
Modifier failed.
% make love
Make: Don't know how to make love. Stop.
% sleep with me
bad character
% got a light?
No match.
% man: why did you get a divorce?
man: : Too many arguments.
% ^What is saccharine?
Bad substitute.
% man woman
No manual entry for woman.
% %blow
%blow: No such job.
% (-
(-: Command not found.
% sh $PATH=pretending! /usr/ucb/which sense
no sense in pretending!
$ drink matter
matter: cannot create
/earth is 98% full... please delete anyone you can.
Overflow on /dev/null, please empty the bit bucket.
The world is coming to an end. Please log off.
This login session: $13.99, but for you $11.88
[YOU MIGHT HAVE MAIL]
Your fault: core dumped
"SCCS, the source motel! Programs check in and never check out!"
- Ken Thompson
"Beware of bugs in the above code; I have only proved it correct, not tried it."
- Donald Knuth
How many hardware engineers does it take to change a light bulb?
None: "We'll fix it in software."
How many software engineers does it take to change a light bulb?
None: "We'll document it in the manual."
How many tech writers does it take to change a light bulb?
None: "The user can work it out."
Мораль сей басни такова: если Вы ничего и не поняли, то Вам остаётся только делать вид, что это смешно...
Don't do that
Oct. 22nd, 2008 01:55 pm1. The kids at Google...working all these years on a secret plan to bankrupt Microsoft by replacing the desktop...So they quickly wrote Chrome and released it...
Type "about:crash" in the omnibox(addressbar to you old-timers) and Chrome will obediently crash...
Some reviews of Chrome caution that the products is only in beta and shouldn't be judged by grown-up standards, but you and I know that no Google product is ever out of beta.
2. A Portland, Oregon family saw a $20,000.00 charge on their AT&T bill when their son sent 21 emails and photos back from Vancouver, BC.
3. A study cited at Ars Technica finds that "heavy mental effort leads to much bigger meals".
My bulging belly is just evidence of how hard I've been thinking.
Michael Swaine.
Type "about:crash" in the omnibox(addressbar to you old-timers) and Chrome will obediently crash...
Some reviews of Chrome caution that the products is only in beta and shouldn't be judged by grown-up standards, but you and I know that no Google product is ever out of beta.
2. A Portland, Oregon family saw a $20,000.00 charge on their AT&T bill when their son sent 21 emails and photos back from Vancouver, BC.
3. A study cited at Ars Technica finds that "heavy mental effort leads to much bigger meals".
My bulging belly is just evidence of how hard I've been thinking.
Michael Swaine.
...full PL/1, with its growth characteristics of a dangerous tumor, could turn out to be a fatal disease.
Edsger W. Dijkstra, ACM Turing Lecture 1972, "The Humble Programmer" - http://www.cs.utexas.edu/~EWD/transcriptions/EWD03xx/EWD340.html
For references: http://dobbscodetalk.com/index.php?option=com_myblog&show=Catching-Minnows-in-a-Jar-with-PL-I.html&Itemid=29
Edsger W. Dijkstra, ACM Turing Lecture 1972, "The Humble Programmer" - http://www.cs.utexas.edu/~EWD/transcriptions/EWD03xx/EWD340.html
For references: http://dobbscodetalk.com/index.php?option=com_myblog&show=Catching-Minnows-in-a-Jar-with-PL-I.html&Itemid=29
Murphy is the son of the devil?
May. 28th, 2008 03:02 pmBack In The Days of The 1971:
A small state had a central (shared) computer system. The Motor Vehicle system was the elephant sitting in the middle of the room.
The computer was and IBM 360/40 with:
256kb of core memory
That's kilo byte, not mega byte.
240mb of disk storage,
in an array of 40mb drives.
1gb 2321 Data Cell and
6 vacuum column tape drives.
124kb/sec read/write speed.
The 2321 was about the size of a washing machine tub. The storage was on 6x2 inch magnetic strips hanging in a circular array. The rental was $5,100/mo.
The system was backed up monthly. The backup was a 10 hr run. The transactions were written to journal tapes. When the system failed, it almost always did, it was restored from the previous month's backup, and the transactions applied from the journal tapes.
The back ups were started Friday evenings. The analyst pilot fish gets the call early Saturday morning, it's failed again. Roust the IBM Customer Engineer, (repair guy) out of bed, fixes it and the restore is started. 11:00 that evening, analyst gets call it's on the last tape. It's a nice Sunday evening and fish and operator are enjoying smokes out side. There is a brilliant flash and several seconds later a loud explosion. The power substation had blown up.
In horror and extreme dread, the fishes take a look at the 2321. Sure enough, the program had been running; It was restoring the VTOC, vol. table of contents, tape strip. The strip was a perfect according. 3 or 4 milliseconds later and it would have been a perfect run.
Since that that time the analyst has been a believer in the kingdom of Murphy, and Murphy sits on the left hand of god (or devil?).
Fish's boss bit the bullet and said the decision to bring all other processing to a halt and run it again was like the time he flew a glider across the Rine.
He knew they were coming down, hoping it wasn't into the trees.
For references: http://en.wikipedia.org/wiki/Murphys_law
http://www.columbia.edu/acis/history/datacell.html
http://www-03.ibm.com/ibm/history/exhibits/storage/storage_2321.html
http://members.optushome.com.au/intaretro/2321DCD.htm
http://en.wikipedia.org/wiki/Early_IBM_disk_storage
A small state had a central (shared) computer system. The Motor Vehicle system was the elephant sitting in the middle of the room.
The computer was and IBM 360/40 with:
256kb of core memory
That's kilo byte, not mega byte.
240mb of disk storage,
in an array of 40mb drives.
1gb 2321 Data Cell and
6 vacuum column tape drives.
124kb/sec read/write speed.
The 2321 was about the size of a washing machine tub. The storage was on 6x2 inch magnetic strips hanging in a circular array. The rental was $5,100/mo.
The system was backed up monthly. The backup was a 10 hr run. The transactions were written to journal tapes. When the system failed, it almost always did, it was restored from the previous month's backup, and the transactions applied from the journal tapes.
The back ups were started Friday evenings. The analyst pilot fish gets the call early Saturday morning, it's failed again. Roust the IBM Customer Engineer, (repair guy) out of bed, fixes it and the restore is started. 11:00 that evening, analyst gets call it's on the last tape. It's a nice Sunday evening and fish and operator are enjoying smokes out side. There is a brilliant flash and several seconds later a loud explosion. The power substation had blown up.
In horror and extreme dread, the fishes take a look at the 2321. Sure enough, the program had been running; It was restoring the VTOC, vol. table of contents, tape strip. The strip was a perfect according. 3 or 4 milliseconds later and it would have been a perfect run.
Since that that time the analyst has been a believer in the kingdom of Murphy, and Murphy sits on the left hand of god (or devil?).
Fish's boss bit the bullet and said the decision to bring all other processing to a halt and run it again was like the time he flew a glider across the Rine.
He knew they were coming down, hoping it wasn't into the trees.
For references: http://en.wikipedia.org/wiki/Murphys_law
http://www.columbia.edu/acis/history/datacell.html
http://www-03.ibm.com/ibm/history/exhibits/storage/storage_2321.html
http://members.optushome.com.au/intaretro/2321DCD.htm
http://en.wikipedia.org/wiki/Early_IBM_disk_storage
All In a Name
Feb. 24th, 2008 11:07 amNames and naming conventions are nothing new to programmers, as anyone who has tried to read the source code of a new programming language knows. Which suggests there is a formality to names, a philosophy of names, if you will.
Take James Hack (http://www.cgd.ucar.edu/cms/jhack), for instance. Dr. Hack, who is a senior scientist at the National Center for Atmospheric Research was recently appointed director of the National Center for Computational Sciences at the Oak Ridge National Lab. How great is that? A computer scientist named "Hack." Okay, I should be offering congratulations to Dr. Hack instead of having fun with his name. But I doubt that I'm the first person Dr. Hack has run into who's pointed out the irony of this.
Jonathan Erickson, http://www.ddj.com
Take James Hack (http://www.cgd.ucar.edu/cms/jhack), for instance. Dr. Hack, who is a senior scientist at the National Center for Atmospheric Research was recently appointed director of the National Center for Computational Sciences at the Oak Ridge National Lab. How great is that? A computer scientist named "Hack." Okay, I should be offering congratulations to Dr. Hack instead of having fun with his name. But I doubt that I'm the first person Dr. Hack has run into who's pointed out the irony of this.
Jonathan Erickson, http://www.ddj.com
Being a Manager by Dilbert
Feb. 19th, 2008 12:11 pmManager: Wally, what's the status on the RDP project?
Engineer: Am I working on that one?
Manager: You've been in charge of it for year.
Engineer: Oh. In that case, it's almost done.
Manager: Half of being a manager is living with a vague feeling of uneasiness.
For references: http://www.omega.com/dilbert
Engineer: Am I working on that one?
Manager: You've been in charge of it for year.
Engineer: Oh. In that case, it's almost done.
Manager: Half of being a manager is living with a vague feeling of uneasiness.
For references: http://www.omega.com/dilbert




