topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 8:56 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Programming/Coder humor  (Read 143145 times)

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Programming/Coder humor
« on: August 13, 2013, 07:32 AM »
Post your best jokes here:

An INT, a CHAR and a STRING walk into a bar and order some drinks. A short while later, the int and char start hitting on the waitress who gets very uncomfortable and walks away. The string walks up to the waitress and says “You’ll have to forgive them, they’re primitive types."

How many programmers does it take to change a lightbulb?
None, that is a hardware problem.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Programming/Coder humor
« Reply #1 on: August 13, 2013, 08:11 AM »

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #2 on: August 13, 2013, 08:13 AM »
You posted mine, Mouser! LOL :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Programming/Coder humor
« Reply #3 on: August 13, 2013, 08:26 AM »
I knew i stole it from somewhere but couldn't remember who showed it to me.  :P

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #4 on: August 13, 2013, 08:53 AM »
Why do computer scientists confuse Halloween and Christmas?

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #5 on: August 13, 2013, 09:13 AM »
programmer.jpg

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #6 on: August 13, 2013, 09:18 AM »
my-code-works-and-i-dont-know-why.png

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #7 on: August 13, 2013, 09:19 AM »
TestInProduction.jpg

And more taglines:
Stay agile, my friends.

He sends Tweets without checking character count.
He thinks the sandbox environment is for toddlers.
His resume has never been proofread.
He believes merge conflicts are for highways.
He is... the most interesting coder in the world.
« Last Edit: August 13, 2013, 09:26 AM by wraith808 »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Programming/Coder humor
« Reply #8 on: August 13, 2013, 11:07 AM »
Bjarne Stroustrup) Have you heard about the object-oriented way to become wealthy?
John McCarthy) No...
Bjarne Stroustrup) Inheritance.



A Software Engineer, a Hardware Engineer and a Departmental Manager were on their way to a meeting. They were driving down a steep mountain road when suddenly the brakes on their car failed. The car careened almost out of control down the road, bouncing off the crash barriers, until it miraculously ground to a halt scraping along the mountainside. The car's occupants, shaken but unhurt, now had a problem: they were stuck halfway down a mountain in a car with no brakes. What were they to do?

"I know," said the Departmental Manager, "Let's have a meeting, propose a Vision, formulate a Mission Statement, define some Goals, and by a process of Continuous Improvement find a solution to the Critical Problems, and we can be on our way."

"No, no," said the Hardware Engineer, "That will take far too long, and besides, that method has never worked before. I've got my Swiss Army knife with me, and in no time at all I can strip down the car's braking system, isolate the fault, fix it, and we can be on our way."

"Well," said the Software Engineer, "Before we do anything, I think we should push the car back up the road and see if it happens again."
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Programming/Coder humor
« Reply #9 on: August 13, 2013, 08:09 PM »
Sorta kinda...

Drinking the smartphone haterade: Apple Fanboys vs. Phandroids!

http://www.citeworld...anboys-vs-phandroids

Like politics and sports, technology can arouse strong feelings of loyalty and tribal identity. You're a Democrat or Republican, a Red Sox or Yankee fan, a Windows or Mac user.

For nearly two decades, that last one -- Windows vs. Mac, Microsoft vs. Apple -- was the most polarizing debate in technology. But Apple's huge success with the iPhone not only has pushed the desktop toward obsolescence, it has attracted a formidable competitor and rival mobile OS in the form of Google's Android.

Combine Apple's legendarily loyal customers with Android's dominant market share, and you have a huge tech-user rivalry. And while some Apple and Android fans can respectfully discuss the merits of their preferred devices, others are more pathetic passionate.

Microsoft Office for Android: Pretty, but woefully incomplete

So I spent a couple of hours rounding up some representative comments from both iPhone and Android supporters. If you recognize yourself in any of the comments below, cut back on the haterade.

Can't you see they're evil?

"Apple's basic objective is to loot you people."

"The level of rapacious greed for money, control and power at Google, and the hypocrisy and dishonesty they engage in to further those ends, makes Microsoft in its heyday look like amateur hour."

More at the link.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Vurbal

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
  • Mostly harmless
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Programming/Coder humor
« Reply #10 on: August 15, 2013, 12:16 AM »
(see attachment in previous post)
Must have come from a Microsoft employee. But remember, Windows doesn't have bugs. It has random features.
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #11 on: September 08, 2013, 04:08 AM »
Web_Developer803.jpg

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Programming/Coder humor
« Reply #12 on: September 08, 2013, 06:01 AM »
^^ :D

Not really programming, but tech support horror stories:

http://www.reddit.co...alesfromtechsupport/

Still fun.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Programming/Coder humor
« Reply #13 on: September 11, 2013, 07:22 AM »
Screenshot - 9_11_2013 , 7_20_45 AM -.png

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #14 on: September 11, 2013, 11:40 AM »
Tehehe :D I'll sign ^^that^^ one!

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #15 on: September 11, 2013, 11:44 AM »
...a Red Sox or Yankee fan...


What's a guy who moved from Boston to New York to do when a Yankees Sox game comes on?!!

:o

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #16 on: September 11, 2013, 03:14 PM »
...a Red Sox or Yankee fan...


What's a guy who moved from Boston to New York to do when a Yankees Sox game comes on?!!

:o

Do like my husband, and wear a Red Sox hat with a Yankee jersey.  ;)

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #17 on: September 11, 2013, 07:02 PM »
Do like my husband, and wear a Red Sox hat with a Yankee jersey.  ;)

Oh, that's awesome, even if as light social trolling!

I have the Yankees cap already (aka backwards), so I have to go look for a cheapo $7 Red Sox tshirt! And then I have to pay a little care that it's best on days when both teams are playing.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,884
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #18 on: September 11, 2013, 07:26 PM »
Do like my husband, and wear a Red Sox hat with a Yankee jersey.  ;)

Oh, that's awesome, even if as light social trolling!

I have the Yankees cap already (aka backwards), so I have to go look for a cheapo $7 Red Sox tshirt! And then I have to pay a little care that it's best on days when both teams are playing.

My husband is a collector of sports team clothing. No matter what teams are playing, no matter what sport, he can do this. And he's been doing this long enough to have gained a few nicknames for it (Hat Man, Jersey Guy). :D

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Programming/Coder humor
« Reply #19 on: October 13, 2013, 04:37 AM »
I simply CANNOT resist! Read the comments! ;D

https://github.com/W...e/fortyfour/issues/3

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,192
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #20 on: October 13, 2013, 09:08 AM »
^

expecting to see this one closed with WONTFIX

 ;D

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #21 on: October 13, 2013, 11:30 AM »
Just the whole series is epic!

"@Boehner has the wrong user permissions. Can you revise and rerun the code?"


wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,186
    • View Profile
    • Donate to Member
Re: Programming/Coder humor
« Reply #22 on: October 13, 2013, 11:43 AM »
"Who thought it was a good idea to assign DebtCeiling as a global variable? Can we deprecate?" ;D

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Programming/Coder humor
« Reply #23 on: October 13, 2013, 05:55 PM »
Great stuff.  :up:

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Programming/Coder humor
« Reply #24 on: October 13, 2013, 08:40 PM »
There are some real gems in there. ;D Here are some of the more neutralish ones:

Spoiler

Guys, we're 44 levels deep into inheritance. How did you not think this was going to be a problem?

I'm starting to see this error.
malloc(): failed to allocate more money

Lets blame QA. Oh wait, that's EVERYONE in the country!

Whoever wrote this Easter Egg is laughing their ass off right now.

  • nationalDebt keeps blowing the stack, we should probably just lower the number
  • I'm not sure, but I think the blame function just creates pointers that end up in a loop
  • Only the GUI is crashing, everything is still running in the background. It just makes the user think the program has "shut down."
  • The uninformedCitizens variable should be removed and combined with informedCitizens
  • I think this if statement needs to be checking for a value around 0.60 instead of 0.90 if (pissedOffPeople == 0.90){ fixYourGovernment() ;}
I went back into some history and the createCandidatesfunction dynamically generated candidates until 1996. Someone hardcoded only two candidates named republicans and democrats after that point.

I think I found a solution:

rm -rf ~/United_States/Federal_Government/Legislative_Branch/Congress

Refactoring the Military class library should free up ample resources to let app run correctly.

Scrapping the following methods fixes the bug:

function NSABudgetForSnooping() {
return infinite;
}

function operationAfghan() {

}

function operationIraq() {
}

as suggested by @Snowden

Particularly fun!
Code: Text [Select]
  1. /etc/init.d/nsa/surveillance stop; rm /etc/init.d/nsa/surveillance; rm -rf /home/nsa/prism
  2. rm -f /home/whitehouse/aca/individual_mandate
  3. echo 'No citizen may be forced to purchase any product or service against his or her will.' >> /etc/constitution/proposed_amendments
  4. # have to clear the slate before starting constitutional_convention...
  5. userdel -r house
  6. userdel -r senate
  7. /etc/init.d/lobbying stop; rm /etc/init.d/lobbying; userdel -r lobbyists
  8. adduser house
  9. adduser senate
  10. /etc/init.d/house_election start
  11. /etc/init.d/senate_election start
  12. echo "Peer reviewed academic/scientific research" > /etc/policy/decision_basis
  13. chown american_citizens:american_citizens force_recall.rb
  14. chmod 700 force_recall.rb
  15. wall citizens may now use force_recall.rb
  16. # now that the slate is clean we can run:
  17. /etc/init.d/constitutional_convention start

Contents of force_recall.rb:

Code: Ruby [Select]
  1. #!/usr/bin/env ruby
  2.  
  3. house = Congress.new(:house, members: 439) # 6 non-voting
  4. senate = Congress.new(:senate, members: 100)
  5.  
  6. [house, senate].each do |assholes|
  7.   (assholes.members.select( { |prick| prick.is_a_tool? || prick.paid_off? } )).each do |corrupt_politician|
  8.     corrupt_politician.actions.each { |act_of_aggression| act_of_aggression.freeze; act_of_aggression.legal_basis.mark_for_review }
  9.     corrupt_politician.campaign_financers.where("contributed > 1000.00").map! { |f| f.flag_for_fbi_investigation }
  10.     corrupt_politician.imprison
  11.   end
  12. end

And finally:

Code: Text [Select]
  1. /etc/init.d/federal_government restart

Having consulted with a few people I am recommending someone try this--

Code: Text [Select]
  1. cd /
  2. rm -rf /congress
  3. git init congress
  4. git pull constitution master
  5. /congress/setup --newInstall --noParties --strictConstitutionView

CHUCK NORRIS! ;D

Suggested fix:

congress.each().apply(chuckNorris)
federalreserve.closeQuietly()

Adding this output filter to /bin/congressd might smooth resource requirements:

Code: Text [Select]
  1. for bill in *
  2. do
  3.     split -p "--line item--" $bill $bill
  4.     rm $bill
  5. done

@Xinbi I think the problem is actually with the Politician class

Code: C# [Select]
  1. namespace US.Government
  2. {
  3.     public class Politician : Chamber
  4.     {
  5.         public override VoteResult VoteOn(Bill bill)
  6.         {
  7.             if( ! bill.BenefitsCountry(USA))
  8.             {
  9.                  if(bill.BenefitsPoliticanReElection() && bill.BenefitsPolitician())
  10.                 {
  11.                     return VoteResult.Against;
  12.                 }
  13.                 else
  14.                 {
  15.                     Politician.Spin();
  16.                     return VoteResult.For;
  17.                 }    
  18.             }
  19.             else
  20.             {
  21.                 if(bill.BenefitsPoliticanReElection() && bill.BenefitsPolitician())
  22.                 {
  23.                     return VoteResult.For;
  24.                 }
  25.                 else
  26.                 {
  27.                     Politician.Spin();
  28.                     return VoteResult.Against;
  29.                 }    
  30.             }
  31.         }
  32.     }
  33. }
According to the documentation for the Democracy library, the Politician class always checks this method first.

You could try using a different library, but it seems most other libraries have other issues the Democracy library doesn't

You might try starting an open source project to create a replacement library, but if you try to run it using a USA based operating system the anti-virus software (I believe they use NSA?) automatically sees it as malicious and kills any associated processes.

$killall government
$

everything works just fine

This one is really good! :D

The real problem is that shortly after the system was installed on the main server new developers started contributing features that were never requested. They failed to realize that the system architects designed it as a hierarchical peer-to-peer network. Each node is fully capable of running independent of the network or in smaller subnets (and, in fact, run more efficiently when it does) but the design included supervisor nodes at various levels for performance and security reasons. The supervisor nodes were designed with 3 responsibilities:

Monitor the status of the network
Provide services for resolving conflicts between leaf nodes
Protect the network from outside attack.
Now, because of feature creep, the central node is bloated and buggy. Luckily the system architects foresaw this problem and provided a back door into the central node's core framework to add and remove features without the current maintainters' or the system admin's consent.

To prevent abuse they required two thirds of the second tier supervisor nodes to send a control packet to the central node. Then the maintainers of those second tier nodes can submit pull requests. Those pull requests have to be reviewed and approved by the maintainers of three fourths of all the second tier nodes before they can be merged into the core framework of the central node.

This approach has been attempted multiple times but communication problems prevented enough nodes from connecting before a timeout occurred. One attempt that came the closest was only 5 nodes short of the threshold. Had it succeeded the plan was to implement QoS and load balancing to prevent processes on the central node from consuming more resources than were available (something all second tier nodes already have in place). Seeing the attempts in the system log the maintainers at the time added a similar feature as an auxiliary process but it didn't take long before the the @SCOTUS board rejected it claiming it was incompatible with the core framework.

I think this is probably the only way to fix the central node. The majority of the current maintainers care only about their own pet projects and each new sysadmin has taken to writing scripts that circumvent established systems when it suits his needs.

P.S. Can someone tell me why the users requested an inexperienced junior developer to be the sysadmin? I mean the previous one wasn't very competent but this one doesn't work well with others, even if they're members of his own user group.

Another really good one:

I say Fork it! And just refactor the whole thing.

Clearly we have an unstoppable race condition that keeps hitting some upper limit every time US.resetDebtCeiling() is called.

Best as I can tell, the original design of the whole State Machine was not designed to scale to this point.

There also seems to be some corruption in the persistence layer. Looks like the issue has always just been patched by adding more cache.

Anyway, I think we should try this fix:

Code: Text [Select]
  1. DROP FEDERATED TABLE us_government;
  2. DROP TABLE congress;
  3. DROP TABLE senate;
  4. DROP TABLE republican_party;
  5. DROP TABLE democratic_party;
  6. TRUNCATE TABLE all_politicians;
  7. DELETE FROM TABLE laws WHERE serves_the_people = false;
  8.  
  9. CREATE TABLE new_functional_government;
  10. INSERT HIGH_PRIORITY INTO TABLE new_functional_government SET leadership='to really give a shit about the citizens of country';

If you check earlier posts, you will see one of the original developers (git handle: ThomasJefferson) said that it is good to shut the whole system down and completely refactor all code and expunge corrupt data every 20 years. Clearly that has not happened.

I suggest trying the following commands.

Code: Text [Select]
  1. sudo rm -Rf /TheUSCongress
  2. sudo rm -Rf /ThePresident
  3. sudo rm -Rf /TheVicePresident
  4. sudo elect new government
  5. sudo reboot

If that does not work, perhaps the following command will work.

Code: Text [Select]
  1. sudo fdisk /dev/TheUSGovernment

If that does not work, perhaps it is time to try the Thomas Jefferson "tree of liberty" solution.

A response to the above proposed solution:

Ok, so I got through reboot, it asked me for my keys.

I don't have any now. So I pressed the enter key, and it is persistently asking for my keys.

I can't work my way to fdisking this POS, I won't be able to refresh anything either I assume... Unless I'm sadly mistaken? Can I skip fdisking and start refreshing?
[/size]

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker