PF Random Thoughts


by protonchain
Tags: random
Borek
Borek is offline
#15643
Jun5-12, 08:43 AM
Admin
Borek's Avatar
P: 22,683
Just found this in my code:

m_cbUse.EnableWindow(!m_bBlockUseButton && TRUE);
Borg
Borg is offline
#15644
Jun5-12, 09:00 AM
PF Gold
Borg's Avatar
P: 728
Quote Quote by Borek View Post
Just found this in my code:

m_cbUse.EnableWindow(!m_bBlockUseButton && TRUE);
Well, as long as it's true.
I once found this method in some code that I was working on.
private void printCrap(){
    System.out.println("Crap");
}
AnTiFreeze3
AnTiFreeze3 is offline
#15645
Jun5-12, 01:03 PM
AnTiFreeze3's Avatar
P: 245
I've been teaching myself C++ for a couple of weeks now, and just picked up a book on it from the library.

Could I become somewhat proficient at programming by the end of the summer?
AnTiFreeze3
AnTiFreeze3 is offline
#15646
Jun5-12, 01:19 PM
AnTiFreeze3's Avatar
P: 245
By the way, Borg, I just clicked on your link about writing unmaintainable code. What's the purpose of really only allowing yourself to understand your own code?
Borg
Borg is offline
#15647
Jun5-12, 01:45 PM
PF Gold
Borg's Avatar
P: 728
Quote Quote by AnTiFreeze3 View Post
By the way, Borg, I just clicked on your link about writing unmaintainable code. What's the purpose of really only allowing yourself to understand your own code?
The site is a series of sarcastic descriptions of coding styles designed to frustrate those who have to work on your code after you leave a project. It's definitely relevant to my work since I am often trying to (as Ivan would put it) unfuster cluck the work of previous developers who must have used that site as a coding bible.
Astronuc
Astronuc is online now
#15648
Jun5-12, 03:11 PM
Admin
Astronuc's Avatar
P: 21,634
On Saturday, West Liberty-Salem (Ohio) High junior Meghan Vogel won a state title. Incredibly, that might not even be what she or anyone else remembers most about her day at the Ohio Division III track and field state meet, because she later committed one of the most selfless acts of the year on the track: She stopped running the 3,200-meter final to help along a foe who had collapsed just 20 feet from the finish line.
. . . .
http://sports.yahoo.com/blogs/highsc...100722161.html

Selfless acts of kindness and compassion.
Andre
Andre is offline
#15649
Jun5-12, 03:22 PM
PF Gold
Andre's Avatar
P: 5,450
Yay she is born!!! eight minutes past ten.
AlephZero
AlephZero is offline
#15650
Jun5-12, 03:24 PM
Engineering
Sci Advisor
HW Helper
Thanks
P: 6,356
Quote Quote by Borg View Post
I once found this method in some code that I was working on.
I was once testing a new release of a compiler written by a major computer company (a three letter name beginnig with I...)

Everything was going fine till one day it stopped dead in the middle of a simple 10-line function with the message

THE [SEVERAL EXPLETIVES DELETED] IN THE NEXT CUBICLE STILL HASN'T GOT THIS BIT WORKING RIGHT.

So we filed a bug report saying there was a problem with the documentation - we didn't understand the meaning of some of the technical terms in the error message, and they weren't in the glossary
drizzle
drizzle is online now
#15651
Jun5-12, 03:37 PM
PF Gold
drizzle's Avatar
P: 521
Quote Quote by Andre View Post
Yay she is born!!! eight minutes past ten.


A granddaughter?
Andre
Andre is offline
#15652
Jun5-12, 03:38 PM
PF Gold
Andre's Avatar
P: 5,450
Quote Quote by Gad View Post


A granddaughter?
Yes!
drizzle
drizzle is online now
#15653
Jun5-12, 03:39 PM
PF Gold
drizzle's Avatar
P: 521
Congratulation Andre!!! :D
Borg
Borg is offline
#15654
Jun5-12, 03:41 PM
PF Gold
Borg's Avatar
P: 728
Quote Quote by AlephZero View Post
I was once testing a new release of a compiler written by a major computer company (a three letter name beginnig with I...)

Everything was going fine till one day it stopped dead in the middle of a simple 10-line function with the message

THE [SEVERAL EXPLETIVES DELETED] IN THE NEXT CUBICLE STILL HASN'T GOT THIS BIT WORKING RIGHT.

So we filed a bug report saying there was a problem with the documentation - we didn't understand the meaning of some of the technical terms in the error message, and they weren't in the glossary
BTW, that reminds me of a bug that we had on one project. One of the developers had created a variable that was later used to create dynamic links to Google. Our boss demonstrated that web page to the customer for months and clicked on every link except for one. Good thing too because, through a series of modifications to the variable, that one link was passing XXX to Google.
Andre
Andre is offline
#15655
Jun5-12, 03:42 PM
PF Gold
Andre's Avatar
P: 5,450
Quote Quote by Gad View Post
Congratulation Andre!!! :D
Thanks, we dont have more info at the moment but all seems well and she has black hair.
Borg
Borg is offline
#15656
Jun5-12, 03:43 PM
PF Gold
Borg's Avatar
P: 728
Quote Quote by Gad View Post

A granddaughter?
Quote Quote by Andre View Post
Yes!
Congratulations, Andre!
lisab
lisab is offline
#15657
Jun5-12, 03:50 PM
Mentor
lisab's Avatar
P: 2,917
Quote Quote by Andre View Post
Yay she is born!!! eight minutes past ten.
Yay!
Andre
Andre is offline
#15658
Jun5-12, 03:52 PM
PF Gold
Andre's Avatar
P: 5,450
Quote Quote by Borg View Post
Congratulations, Andre!
Thanks, all is well, and she weights 4130 gr, wow I'll post pics tomorrow.
Borek
Borek is offline
#15659
Jun5-12, 04:06 PM
Admin
Borek's Avatar
P: 22,683
Quote Quote by Andre View Post
Yes!
Congrats!

So Dinand has a sister?
Andre
Andre is offline
#15660
Jun5-12, 04:17 PM
PF Gold
Andre's Avatar
P: 5,450
Quote Quote by Borek View Post
Congrats!

So Dinand has a sister?
Thanks Borek, and yes he has a little sis now, the name is Myrthe.


Register to reply

Related Discussions
Random thoughts on pitchforks. General Discussion 3
Random thoughts on snow flurries General Discussion 37
Random Thoughts On Dissappearing Planets General Discussion 10
Random Thoughts About Language General Discussion 1
Random thoughts Linear & Abstract Algebra 5