Programming Jokes February - Obligatory Witty Remark
1,291 replies, posted
main;
[url=https://github.com/Microsoft/openssl/commit/007eb90d5efacd780c4344adcd64ad4d474f69ab]From Microsoft's very own Windows Phone OpenSSL port:[/url]
[quote]commit 67280012aeb3ef4cc958c9c0f745f60de9eae062
Author: Gilles Khouzam <gillesk@microsoft.com>
Date: Tue Aug 26 16:42:07 2014 -0700
Changing the entropy generation on WinPhone 8 to use CoCreateGuid
Windows Phone 8 doesn't have native cryptography libraries so the easiest way to get random data is to create a GUID.
We will keep generating guids until we have enough data as requested.
Added a line break in the result output also.[/quote]
[QUOTE=DrTaxi;46181229][url=https://github.com/Microsoft/openssl/commit/007eb90d5efacd780c4344adcd64ad4d474f69ab]From Microsoft's very own Windows Phone OpenSSL port:[/url][/QUOTE]
Wow....
Something along Schadenfreude:
Been trying to learn and develop in JavaEE and my project/IDE got corrupted 3 times or so.
Like it's telling me: No, just go fuck yourself.
Maybe I just should have used PHP.
[URL=http://cdn8.howtogeek.com/wp-content/uploads/gg/up/sshot502dcdd481b9b.jpg]Kinda related.[/URL]
[img]https://i.imgur.com/QCI9gBM.jpg[/img]
related
[img]http://www.automatedworkflows.com/wp-content/uploads/applescript_easter_egg.png[/img]
Happened upon a young filipina lady on omegle today. My interests said "computer science" so she asked me for some help. I gave her some code, and she sent me this screenshot to confirm what I had written:
[img]http://i.imgur.com/Zu0WJaF.png[/img]
why do they all use turbo c
i actually used it to compile wolf3d once or something
[QUOTE=Amiga OS;46329923][IMG]http://u.cubeupload.com/chrishind10/1414262630677.png[/IMG][/QUOTE]
Fuck, I nearly choked on my food.
Didn't know where else to put this. My CS teacher gave us this example code today. He also demonstrated it to us in JCreator. The first thing he said was "It is crucial that you name the java file the same name as your class." and IMMEDIATELY proceeded to break this rule by misnaming the java file. When JCreator threw up an error, he spent 5 minutes trying to figure out what happened while we kept yelling the exact solution up at him. He eventually closed JCreator, re-opened the file (which had thankfully already been saved correctly) and ran it.
The example:
[img_thumb]http://i.imgur.com/5Tv0ZaD.jpg?1[/img_thumb]
Look, I don't want to presume that I'm an expert just because I've got a few years of experience on the rest of my classmates, but I'm pretty sure that this is textbook bad style. Thankfully, facepunch warned me ahead of time to teach myself to code so I've been studying C and UNIX for the last few months.
God help me get out of community college without putting a bullet in my brain.
unfortunately you're going to see a lot of stuff like that. While some teach good theory, others require you to write out code(because this is what you do in real life circumstances which you pay to be taught, right?)
Saw this one in [I]The Art of UNIX Programming[/I] (Eric Raymond).
[quote]
It’s a well-known fact that computing devices such as the abacus were invented thousands of years
ago. But it’s not well known that the first use of a common computer protocol occurred in the Old
Testament. This, of course, was when Moses aborted the Egyptians’ process with a control-sea.
--
Tom Galloway
rec.arts.comics , February 1992
[/quote]
[QUOTE=Amiga OS;46347361][T]http://i.cubeupload.com/PalUFw.jpg[/T][/QUOTE]
This reminds me of our class shirt for AP Computer Science about 2 years ago. I sold it to the whole class and profited about $100.
[t]http://i.imgur.com/yM6fVR8.jpg[/t]
[QUOTE=jaooe;46313102][url]http://www.cmake.org/files/v3.0/cmake-3.0.2-Linux-i386.sh[/url]
:O[/QUOTE]
Well, that's one way to go about it I s'pose.
Plugged in the standalone PC monitor from the old desktop PC into the new laptop.
Procrastination has never been so multi-threaded.
Is there a graphics library for C/C++ with adequate documentation? SDL has lazyfoo, but that's pretty much it. Few other tutorials exist, and the Lazyfoo one isn't very good in my opinion. Also a completely documented API would also be nice. I'd like to use SDL but I just can't find any really good documentation for it.
edit: wtf why did I post this shit here
[QUOTE=proboardslol;46466436]Is there a graphics library for C/C++ with adequate documentation? SDL has lazyfoo, but that's pretty much it. Few other tutorials exist, and the Lazyfoo one isn't very good in my opinion. Also a completely documented API would also be nice. I'd like to use SDL but I just can't find any really good documentation for it.[/QUOTE]
I would have thought SDL's API would come under 'completely documented' at this stage, but maybe not.
SFML's documentation is generated from comments in the source code and is therefore thoroughly complete, is that more to your tastes?
[QUOTE=proboardslol;46466436]Is there a graphics library for C/C++ with adequate documentation? SDL has lazyfoo, but that's pretty much it. Few other tutorials exist, and the Lazyfoo one isn't very good in my opinion. Also a completely documented API would also be nice. I'd like to use SDL but I just can't find any really good documentation for it.
[/QUOTE]
good one
I didn't even notice what thread this was. Oh well, joke's on me!
[IMG]http://i.imgur.com/4ib3Z4A.png[/IMG]
[QUOTE=Trumple;46477005]good one[/QUOTE]
Idk why I posted that here
this is the most politically incorrect code ive ever seen, its a garrys mod script that bans certain countries from joining a server
[url]http://facepunch.com/showthread.php?t=1437438[/url]
[code]function player.GetRussians()
local tbl = {}
for k,v in pairs(player.GetAll()) do
if v:GetNWString("countrycode","...") == "RU" then
if v:GetNWString("countrycode","...") == "GB" then
if v:GetNWString("countrycode","...") == "DE" then
table.insert(tbl,v)
end
end
return tbl
end
[/code]
[QUOTE=elevate;46505867]this is the most politically incorrect code ive ever seen, its a garrys mod script that bans certain countries from joining a server
[url]http://facepunch.com/showthread.php?t=1437438[/url]
[code]function player.GetRussians()
local tbl = {}
for k,v in pairs(player.GetAll()) do
if v:GetNWString("countrycode","...") == "RU" then
if v:GetNWString("countrycode","...") == "GB" then
if v:GetNWString("countrycode","...") == "DE" then
table.insert(tbl,v)
end
end
return tbl
end
[/code][/QUOTE]
More importantly, it's syntactically incorrect too
[img]http://i.imgur.com/odlth4V.png[/img]
some people just want to watch the world burn