All topics about coding, designing, etc. goes in here.
RuadRauFlessa
Registered User
Posts: 20576 Joined: 19 Sep 2003, 02:00
Location: Bloodbank
Post
by RuadRauFlessa » 27 Mar 2012, 07:09
Found a comment the other day....
Code: Select all
// If you are not good enough to debug this then you should not be coding.
Was in a class above some random math in a recursive function which for some or other reason has no return statement.
Got a couple of others I added to some code last week...
Code: Select all
// if you can't figure out what this class does find another job
Code: Select all
/*
2012.03.19 - Initial implementation
2012.03.20 - Changed around the columns by request of our lovely Call Center Manager
2012.03.21 - Another change for our beloved Call Center Manager. Swapped the axis on the graphs
2012.03.21 - Why oh why do we have meetings with all of these people in the same room in order to spec these things... Canceling all the meetings for the rest of time while busy adding alternate row colours... yellow and green lines are going to look so nice. I'm already starting to puke.
2012.03.22 - Another change after proving that their logic is flawed and that they need to get a damn life... This time our SLA manager wants a column added to a report he is not even getting. Added the SLA Target to the report.
2012.03.23 - Showed this log to my direct manager and he instructed for all changes to be undone and for these people to go fly a kite... so now I'm sitting and wasting time again... how lovely isn't the weather this time of year.
*/
Code: Select all
//
// Next time someone decides to book this code out and butcher it please for heavens sake don't change the
// threading. I don't want to fix your **** again. Concurrent processing is fine but when you are trying to process
// 40,000 odd files at the same time and dump their data into a database it is seriously not cool to try and do it
// with a single thread for each one and all at once either.
//
// So when in doubt.... !@#$ off
//
Spoiler (show ) Intel Core i7-2600k @ 3.4GHz
Corsair Vengence 2x4GB DDR3 2000MHz
Thermaltake Toughpower 850W
ASUS nVidia GTX560 1GB
CoolerMaster HAF 932
Ron2K
Forum Technical Administrator
Posts: 9050 Joined: 04 Jul 2006, 16:45
Location: Upper Hutt, New Zealand
Contact:
Post
by Ron2K » 27 Mar 2012, 14:23
You know you have a tad too much free time when you start putting xkcd references in code comments.
Code: Select all
if (stopCondition) // ******! ABORT! ABORT! (http://www.xkcd.com/1029/)
Kia kaha, Kia māia, Kia manawanui.
Tribble
Registered User
Posts: 88465 Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:
Post
by Tribble » 27 Mar 2012, 21:33
ROFL -= I read these to the other students today - they loved them. Trying to recruit new members I am
doo_much
Registered User
Posts: 26022 Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:
Post
by doo_much » 30 Mar 2012, 08:41
Code: Select all
/* Display smilies (Bug #47265) */
Meaning allowing the use of smilies is a bug?
By the way - this is from the print style sheet of the G3ar theme I currently use....
MOOD - Thirsty
A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
Ron2K
Forum Technical Administrator
Posts: 9050 Joined: 04 Jul 2006, 16:45
Location: Upper Hutt, New Zealand
Contact:
Post
by Ron2K » 30 Mar 2012, 09:21
Nope, meaning that there was a bug causing smilies to not be displayed correctly. Original bug report
here .
Kia kaha, Kia māia, Kia manawanui.
SykomantiS
Registered User
Posts: 14085 Joined: 06 Oct 2004, 02:00
Location: Location, Location...
Contact:
Post
by SykomantiS » 14 Aug 2012, 14:08
Just found this in one of our source files.
Code: Select all
#region <summary>
//.-- .-""-.
//. ) ( )
//. ( ) (
//. / )
//. (_ _) 0_,-.__
//. (_ )_ |_.-._/
//. ( ) | \
//. (__) |__--_/
//. |'' ``\ |
//. | \ | /b/
//. | \ ,,,---===?A`\ | ,==y'
//. ___,,,,,---==""\ |M] \ | ;|\ |>
//. _ _ \ ___,|H,,---==""""bno,
//. o O (_) (_) \ / _ AWAW/
//. / _(+)_ dMM/
//. \@_,,,,,,---==" \ \\|// MW/
//.--''''" === d/
//. // SET SAIL FOR FAIL!
//. ,'_________________________
//. \ \ \ \ ,/~~~~~~~~~~~~~~~~~~~~~~~~~~~
//. _____ ,' ~~~ .-""-.~~~~~~ .-""-.
//. .-""-. ///==--- /`-._ ..-' -.__..-'
//. `-.__..-' =====\\\\\\ V/ .---\.
//. ~~~~~~~~~~~~, _',--/_.\ .-""-.
//. .-""-.___` -- \| -.__..-
//.
//. This is a temp fix until toolbox items are rewritten with posititiong.
#endregion
Cyrax
Registered User
Posts: 28 Joined: 16 Aug 2012, 08:11
Location: Death Star
Contact:
Post
by Cyrax » 17 Aug 2012, 02:12
Isn't that similar to the logo lulzsec used? O_O
Spoiler (show ) AMD Phenom 2 X6 T1100 @ 3.8Ghz "pelter cooled"
16GB 1800 kingston ram
Asus board "forgot chipset"
AMD 6890 2GB
Geforce 9800GT 512MB "physix re-enabled"
2x 80GB SDD in raid "for speed"
1.2KW PSU
SykomantiS
Registered User
Posts: 14085 Joined: 06 Oct 2004, 02:00
Location: Location, Location...
Contact:
Post
by SykomantiS » 27 Sep 2012, 10:45
It probably is
Also:
Code: Select all
/// <returns>bool value weather a assocation was found or not</returns>
It hurts...
DeathStrike
Registered User
Posts: 2663 Joined: 29 Jul 2004, 02:00
Location: hidden deep in the depths of the underworld is my home.
Contact:
Post
by DeathStrike » 27 Sep 2012, 23:13
Ron2K wrote: I left this above a particularly nasty piece of code that I wrote earlier this week:
Code: Select all
// here begins the Dark Magic - a ritual of Pain and Suffering to appease the Evil Gods (aka the Marketing Department).
Hahaha
I take it the marketing department in all companies are bad... Mine are.
Spoiler: (show )
SIG by HMAN Member of The Pride Of Darkness
DeathStrike on Twitter
About me
Spoiler: (show ) Asus P5KPL-CM motherboard, 4 GIG RAM, Q6600 @ 2.88GHz (Thanks Anthro), GeForce 8600GT, Samsung 2333 23" + CRT 17" Monitors. 500GB + 1.5TB HDD, Compro TV tuner, 350 WATT PSU
DarkStar
Registered User
Posts: 2701 Joined: 17 Aug 2004, 02:00
Location: What? You mean you can't see me?
Contact:
Post
by DarkStar » 19 Oct 2012, 18:43
I didn't want to start a new thread, so I figured this is the best place for this...
VIDEO
Tribble
Registered User
Posts: 88465 Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:
Post
by Tribble » 20 Oct 2012, 07:20
Very funny
DeathStrike
Registered User
Posts: 2663 Joined: 29 Jul 2004, 02:00
Location: hidden deep in the depths of the underworld is my home.
Contact:
Post
by DeathStrike » 30 Oct 2012, 07:05
I loled
Spoiler: (show )
SIG by HMAN Member of The Pride Of Darkness
DeathStrike on Twitter
About me
Spoiler: (show ) Asus P5KPL-CM motherboard, 4 GIG RAM, Q6600 @ 2.88GHz (Thanks Anthro), GeForce 8600GT, Samsung 2333 23" + CRT 17" Monitors. 500GB + 1.5TB HDD, Compro TV tuner, 350 WATT PSU
Anakha56
Forum Administrator
Posts: 22136 Joined: 14 Jun 2004, 02:00
Processor: Ryzen 1700K
Motherboard: Asus X370
Graphics card: Asus 1060 Strix
Memory: 16GB RAM
Location: Where Google says
Post
by Anakha56 » 14 Nov 2012, 20:36
Something from Google about goats...
Code: Select all
/**
* Used to determine whether the user making this call is subject to
* teleportations.
*@return whether the user making this call is a goat
*/
public boolean isUserAGoat() {
return false;
}
One of the Android Developers on G+ that I follow posted that. Apparently in Google Chrome if you do the following:
If in Chrome, do Shift-Esc. Right click on any process and you get a list of data elements to display. One of them is "Goats Teleported".
You see teleporting goats as well...
/Apple probably has "Nuking Android" references in its iOS code...
JUSTICE ,
n A commodity which is a more or less adulterated condition the State sells to the citizen as a reward for his allegiance, taxes and personal service.
Ron2K
Forum Technical Administrator
Posts: 9050 Joined: 04 Jul 2006, 16:45
Location: Upper Hutt, New Zealand
Contact:
Post
by Ron2K » 15 Nov 2012, 08:20
Sneakily inserted into a switch statement's default clause:
Code: Select all
// I'M TWELVE YEARS OLD AND WHAT IS THIS?
Kia kaha, Kia māia, Kia manawanui.
DeathStrike
Registered User
Posts: 2663 Joined: 29 Jul 2004, 02:00
Location: hidden deep in the depths of the underworld is my home.
Contact:
Post
by DeathStrike » 13 Mar 2013, 11:52
Code: Select all
// oops, wrong parameter passed... die yankee *******!
Spoiler: (show )
SIG by HMAN Member of The Pride Of Darkness
DeathStrike on Twitter
About me
Spoiler: (show ) Asus P5KPL-CM motherboard, 4 GIG RAM, Q6600 @ 2.88GHz (Thanks Anthro), GeForce 8600GT, Samsung 2333 23" + CRT 17" Monitors. 500GB + 1.5TB HDD, Compro TV tuner, 350 WATT PSU
Ron2K
Forum Technical Administrator
Posts: 9050 Joined: 04 Jul 2006, 16:45
Location: Upper Hutt, New Zealand
Contact:
Post
by Ron2K » 16 May 2013, 18:23
Not a code comment, but close enough. This happened the other day in one of the IRC channels I sit in.
Code: Select all
--> steristumpie (~emotality@SF-C2010FDC.dynamic.isadsl.co.za) has joined #programming
<steristumpie> any ios developers?
<anonymous> thats prolly worse than OS/2 even, why not android? :p
<anonymous> its never too late to change for the better
Kia kaha, Kia māia, Kia manawanui.
Stuart
Lead Forum Administrator
Posts: 38503 Joined: 19 May 2005, 02:00
Location: Home
Post
by Stuart » 05 Dec 2013, 09:13
Looking at a .htaccess file on a website I am working on, and while this obviously serves a purpose, I lol'd when I saw this:
SykomantiS
Registered User
Posts: 14085 Joined: 06 Oct 2004, 02:00
Location: Location, Location...
Contact:
Post
by SykomantiS » 05 Dec 2013, 10:41
Win!
GDI_Lord
Forum Administrator
Posts: 2663 Joined: 05 Sep 2005, 02:00
Post
by GDI_Lord » 05 Dec 2013, 11:43
Important Thread:
Yours in Christ's service,
Hman
Registered User
Posts: 28520 Joined: 06 Oct 2003, 02:00
Processor: Intel i5 650
Motherboard: Asus P7H55-M LX
Graphics card: Gigabyte 7850 2GB OC
Memory: 8GB Kingston DDR3
Location: In my skin
Contact:
Post
by Hman » 05 Dec 2013, 14:16
Not a comment in code, but a little song for programmers to sing while drinking their sorrows away.
99 little bugs in the code
99 little bugs in the code
Take one down, patch it around
117 little bugs in the code
"Every thinking man is a drinking man."
Member of the Barberton Tigers
GreyWolf
Registered User
Posts: 4754 Joined: 06 Aug 2003, 02:00
Processor: PHENOM II 945
Motherboard: Asus M4A78
Graphics card: HIS ICEQ 4850 1GB
Memory: 4GB CORSAIR XMS II 1066
Location: , location, location!
Post
by GreyWolf » 05 Dec 2013, 14:57
HAH!
"Every normal man must be tempted at times to spit on his hands, hoist that black flag, and begin slitting throats."
- H. L. Mancken
DeathStrike
Registered User
Posts: 2663 Joined: 29 Jul 2004, 02:00
Location: hidden deep in the depths of the underworld is my home.
Contact:
Post
by DeathStrike » 14 Jan 2014, 14:53
Code: Select all
//HACK - this was requested by the client and client understands risks and impacts and forced us into this
Love clients like this.
Spoiler: (show )
SIG by HMAN Member of The Pride Of Darkness
DeathStrike on Twitter
About me
Spoiler: (show ) Asus P5KPL-CM motherboard, 4 GIG RAM, Q6600 @ 2.88GHz (Thanks Anthro), GeForce 8600GT, Samsung 2333 23" + CRT 17" Monitors. 500GB + 1.5TB HDD, Compro TV tuner, 350 WATT PSU