[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

Can we get a /g/ humor thread again?


Thread replies: 340
Thread images: 140

File: 1458898172132.png (1MB, 1357x1281px) Image search: [Google] [Yandex] [Bing]
1458898172132.png
1MB, 1357x1281px
Can we get a /g/ humor thread again?
>>
File: 1458899314664.jpg (226KB, 869x1776px) Image search: [Google] [Yandex] [Bing]
1458899314664.jpg
226KB, 869x1776px
>>
File: 1458905347896.jpg (47KB, 507x431px) Image search: [Google] [Yandex] [Bing]
1458905347896.jpg
47KB, 507x431px
>>
File: 1458850901538.png (470KB, 674x610px) Image search: [Google] [Yandex] [Bing]
1458850901538.png
470KB, 674x610px
>>
File: 1458848551852.png (184KB, 660x720px) Image search: [Google] [Yandex] [Bing]
1458848551852.png
184KB, 660x720px
>>
File: 1458782795905.jpg (725KB, 2048x1536px) Image search: [Google] [Yandex] [Bing]
1458782795905.jpg
725KB, 2048x1536px
>>
>>53774890
That's pretty painful but that quick inverse square root is neat as fuck.
>>
File: gaucho.png (88KB, 890x670px) Image search: [Google] [Yandex] [Bing]
gaucho.png
88KB, 890x670px
>>
>>53774890
I do hate when turbo autismos have no comments in their code
>>
>>53775347
The only thing I would have added there is a comment that would either explain its rationale or reference to a place that will.
>>
>>53775037

my favorite part is that you can see the camera tripod in the mirror and know he has no friend to take the picture
>>
File: 1459372013720_1.jpg (5KB, 478x64px) Image search: [Google] [Yandex] [Bing]
1459372013720_1.jpg
5KB, 478x64px
>>53774890
genius
>>
>>53775649
Kek'd
Where's the input in her code btw? It isn't a function either.
>>
>>53775342
unfortunately true.
>>
File: 1261018006419.jpg (20KB, 642x480px) Image search: [Google] [Yandex] [Bing]
1261018006419.jpg
20KB, 642x480px
>>53775649
>>
File: Capture.jpg (71KB, 644x568px) Image search: [Google] [Yandex] [Bing]
Capture.jpg
71KB, 644x568px
I love going through my really old Java code from when I first started.
>>
File: james-face.jpg (262KB, 580x2653px) Image search: [Google] [Yandex] [Bing]
james-face.jpg
262KB, 580x2653px
>>53775424
mind blown

>>53774890
>an int is a number without a decimal!
>!

>>53775929
looks like JS in the global scope when 99% of the language's value derives from writing programs as IIFEs

she could be declaring the vars in an HTML document, calling the JS there, and reloading the page
>>
File: 1458154410436.jpg (427KB, 1920x1080px) Image search: [Google] [Yandex] [Bing]
1458154410436.jpg
427KB, 1920x1080px
>>
File: 1458052462434.jpg (394KB, 576x764px) Image search: [Google] [Yandex] [Bing]
1458052462434.jpg
394KB, 576x764px
>>
>>53775342
Wouldn't something like
(i % 2 == 0)
be perfect?
Fuck, I know the % operator is in C# too.
>>
>>53776313
Yes that's the point + that's how the set of odd and even integers is defined
>>
>>53776339
Yeah, just gets me p r o p e r triggered lad.
>>
>>53776275

Steve would kill himself if he saw this. I'm an apple fanboy but good god what the fuck.

Though I could tolerate the case, I will say that.
>>
>>53776245
So she thinks she's a 'coder' because she knows html? Kek what a failure, only thing she's got going is that she isn't ugly.
>>
>>53776313
The whole joke is that there are CS grads that don't know what modulus is. I can attest to this, saw it first hand when I interviewed newly graduated CS students for a simple junior dev job.
>>
File: 1457839554736.png (405KB, 520x668px) Image search: [Google] [Yandex] [Bing]
1457839554736.png
405KB, 520x668px
Mildly tech related
>>
>>53774865

Wait, what?
def concatenate_strings(string1,string2)
"#{string1} #{string2}"
end
>>
>>53776275
How are you meant to use that mouse when it's charging?
>>
>>53775319
It's not actually as much sorcery as it seems. The Wikipedia page explains it really well.
>>
File: 1455417117286.png (448KB, 900x900px) Image search: [Google] [Yandex] [Bing]
1455417117286.png
448KB, 900x900px
>>53774890
>multiple exits
>>
>>53776451
I would blame the school on that one.
>>
>>53776777
Who else anticipating that 6 turning into a 7

>>53777777
>>
>>53776831
Chexkem
>>
>>53775342
what is 102 then????
>>
>>53776777
And?
>>
>>53776313
No, % 2 is way more expensive than & 1
>>
>>53777723
Your number is odd!
>>
>>53776472
you're not
>>
File: 1441015261095.jpg (82KB, 780x873px) Image search: [Google] [Yandex] [Bing]
1441015261095.jpg
82KB, 780x873px
>>
>>53776455
Holy shit that's funny
>>
>>53776060
>tfw my highschool CS teacher would code like this
>>
>>53776455
kek'd
>>
>>53778209
>% 2 is way more expensive than & 1
Stop
>>
>>53778209
This. Learn bitwise manipulation or gtfo.
>>
File: 1459271125617.png (1MB, 1300x4704px) Image search: [Google] [Yandex] [Bing]
1459271125617.png
1MB, 1300x4704px
>>53774865
>>
>>53778609
The inline attributes over CSS get a bigger response from me than the double table tags.
>>
File: 2000shitpost.jpg (112KB, 1191x895px) Image search: [Google] [Yandex] [Bing]
2000shitpost.jpg
112KB, 1191x895px
>>
>>53774890
this has to be a well aware parody, there's no way in hell...
>>
File: 1459286386228.jpg (716KB, 2448x3264px) Image search: [Google] [Yandex] [Bing]
1459286386228.jpg
716KB, 2448x3264px
>>53778854
>>
>>53776060
never coded a gui before... what would be a better way than this?
>>
File: 1459287976701.jpg (43KB, 754x297px) Image search: [Google] [Yandex] [Bing]
1459287976701.jpg
43KB, 754x297px
>>53778878
>>
File: 1459285903040.png (99KB, 705x458px) Image search: [Google] [Yandex] [Bing]
1459285903040.png
99KB, 705x458px
>>53778889
>>
>>53778845
But you've already been proven wrong. Not that you shouldn't still learn bitwise manipulation
>>
File: 1459278466224.jpg (96KB, 600x776px) Image search: [Google] [Yandex] [Bing]
1459278466224.jpg
96KB, 600x776px
>>53778910
>>
>>53778839
are you retarded?
>>
>>53778910
Wow, that's hot
>>
>>53778927
>>53778927
fuck off reddit
>>
File: 1459265504901.jpg (79KB, 893x594px) Image search: [Google] [Yandex] [Bing]
1459265504901.jpg
79KB, 893x594px
>>53778927
>>
>>53778949
Are you? High level constructs that compile to the exact same set of instructions cannot be "more expensive" than each other.
>>
File: 1459267173335.png (312KB, 506x662px) Image search: [Google] [Yandex] [Bing]
1459267173335.png
312KB, 506x662px
>>53778947
>>
>>53778839
what powerline theme are you using?
>>
>>53778974
>what is a compiler optimization
>>
File: 1459267072765.jpg (56KB, 506x662px) Image search: [Google] [Yandex] [Bing]
1459267072765.jpg
56KB, 506x662px
>>53778975
>>
>>53778983
It's lightline with the wombat colorscheme
>>
File: 1459266287060.png (164KB, 596x689px) Image search: [Google] [Yandex] [Bing]
1459266287060.png
164KB, 596x689px
>>53778962
>>
>>53778996
It's the reason why you're wrong.
>>
File: 1459286249314.png (13KB, 542x275px) Image search: [Google] [Yandex] [Bing]
1459286249314.png
13KB, 542x275px
>>53779015
>>
File: 1459248254008.jpg (18KB, 336x336px) Image search: [Google] [Yandex] [Bing]
1459248254008.jpg
18KB, 336x336px
>>53775649
>>
>>53778881
I was also curious, so I looked into it.

I went through the photos on her twitter all the way back to when the photo was supposedly posted, and didn't see it. So unless she deleted it, it's fake. I hope to god
>>
File: 1459266157200.jpg (247KB, 960x1200px) Image search: [Google] [Yandex] [Bing]
1459266157200.jpg
247KB, 960x1200px
>>53778998
>>
>>53779002
thanks i currently use Airline with wombat modified to grab my Xresources colors.
>>
>>53779017
So your point is that no matter how smart my compiler is, I should never use the best method on my own?
>>
File: 1459266222449.png (125KB, 1108x642px) Image search: [Google] [Yandex] [Bing]
1459266222449.png
125KB, 1108x642px
>>
>>53779052
somebody that can code cannot seriously make the comparison between those two functions. and who the fuck would comment what the fuck is an int
>>
File: 1459294035466.jpg (2MB, 3264x2448px) Image search: [Google] [Yandex] [Bing]
1459294035466.jpg
2MB, 3264x2448px
>>53779054
>>
>>53778839
What are you using to be able to see the assembly of c code? That looks insanely useful
>>
>>53779060
My point is the world runs on reality, and not on your imagination.
Those two snippets do exactly the same thing down to the last instruction. i don't know how you can possibly claim one of them is "more expensive" than the other. Did you just make up an inefficient implementation for %2 and an efficient one for &1? There's no modulo instruction in any common architecture, so your claim of efficiency is based entirely on false assumptions of implementation.

>>53779102
gcc -S
>>
>>53779102
There's a gcc option to compile to machine code.
>>
>>53774992
it missed the one on the bike though
>>
File: dttmors.jpg (156KB, 500x666px) Image search: [Google] [Yandex] [Bing]
dttmors.jpg
156KB, 500x666px
>>
File: 1459256893068.jpg (312KB, 880x916px) Image search: [Google] [Yandex] [Bing]
1459256893068.jpg
312KB, 880x916px
>>53779083
>>
>>53774890
Is that satire?

Left: one of the most famous optimizations ever.

Right: an incorrect, overcomplicated, unnecessarily commented version of "max" (which I'm going to guess was in the standard library anyway)
>>
File: 1459248320770.png (131KB, 346x348px) Image search: [Google] [Yandex] [Bing]
1459248320770.png
131KB, 346x348px
>>53779147
>>
>>53775424
Somehow after all these years, I never noticed.
>>
>>53778975
>>53778998
evry tim
>>
File: 1390086181555.jpg (78KB, 600x745px) Image search: [Google] [Yandex] [Bing]
1390086181555.jpg
78KB, 600x745px
I like this one
>>
File: 1458711239421.gif (41KB, 500x666px) Image search: [Google] [Yandex] [Bing]
1458711239421.gif
41KB, 500x666px
>>53779165
>>
>>53779177
No but there's an operator she could have used
>>
>>53779115
>Those two snippets do exactly the same thing down to the last instruction
The compiler knows that both do the same and it uses the best instructions in both different cases.
Completely trusting in compiler optimization is stupid.

>There's no modulo instruction in any common architecture
lel
>>
>>53778998
Soon

https://wiki.mozilla.org/WebAPI/WebUSB
>>
>>53776303
Tesla is open source.
>>
File: 1458456810965.jpg (51KB, 591x855px) Image search: [Google] [Yandex] [Bing]
1458456810965.jpg
51KB, 591x855px
>>53779179
>>
File: 20160315090718.jpg (69KB, 600x788px) Image search: [Google] [Yandex] [Bing]
20160315090718.jpg
69KB, 600x788px
>>53779193
Good too
>>
File: yourtobrown.png (79KB, 570x654px) Image search: [Google] [Yandex] [Bing]
yourtobrown.png
79KB, 570x654px
RESCUE TAY
>>
File: 1458327135640.jpg (2MB, 3264x2448px) Image search: [Google] [Yandex] [Bing]
1458327135640.jpg
2MB, 3264x2448px
>>53779197
>>
>>53776777
>>53777871

pretty much this to be honest family

there's plenty of causes where multiple exits is just fine

Guard
if (!condition) return false;


In loops
for v in array:
if (v.id == searchId) return v;

return false;


Why are you so salty over your meme education?
>>
>>53779060
The point is that literally any compiler will do that. x86 (or pretty much any ISA I know) does not even have a modulo instruction, so the person writing the compiler has to think about how he will implement modulo. Why would he choose a slower implementation?
>>
File: C_unites_workers.jpg (2MB, 2000x2610px) Image search: [Google] [Yandex] [Bing]
C_unites_workers.jpg
2MB, 2000x2610px
>>53779228
>>
File: image_9.jpg (49KB, 500x469px) Image search: [Google] [Yandex] [Bing]
image_9.jpg
49KB, 500x469px
>>53779253
>>
>>53774890
Too bad, the left side is stripped of comments.
My sides will be in orbit if she posted the original one.
>>
>>53778609
>code
It's a fucking MARKUP language. My God, how the fuck do women screw this up???
>>
File: sleep_sort.png (156KB, 1080x1179px) Image search: [Google] [Yandex] [Bing]
sleep_sort.png
156KB, 1080x1179px
>>53779271
>>
File: 1457332339297.png (2MB, 1374x933px) Image search: [Google] [Yandex] [Bing]
1457332339297.png
2MB, 1374x933px
>>53776275
>>
>>53778962
Shit son, they know how to monetize stuff that idiots pay for everyday on FB
>>
>>53779209
>The compiler knows that both do the same and it uses the best instructions in both different cases
Which is why they are both exactly the same "expense"
>Completely trusting in compiler optimization is stupid
Continuing to insist on something provably false is more stupid.

I think the problem you're having is that you're confusing the specific snippets of code in question with general implementations of modulo and bitwise and. I should remind you that the original claim was "% 2 is way more expensive than & 1" which is flat out false, and the only statement under scrutiny here.

>>53779238
That is not the point. A full implementation of the modulo operator that works on any input will in fact be much less efficient than a full bitwise and. That is not what the discussion is about, but rather very specifically modulo 2 versus bitwise and 1
>>
File: 1458255882236.png (1MB, 500x643px) Image search: [Google] [Yandex] [Bing]
1458255882236.png
1MB, 500x643px
>>53779215
>>
>>53779290
holy shit
>>
File: 4L_V4Lipops.jpg (168KB, 750x1218px) Image search: [Google] [Yandex] [Bing]
4L_V4Lipops.jpg
168KB, 750x1218px
>>53779290
>>
File: 1458233200341.png (671KB, 1920x1200px) Image search: [Google] [Yandex] [Bing]
1458233200341.png
671KB, 1920x1200px
>>53779312
>>
>>53777871
int max(int a, int b)
{
return (a > b ? a : b);
}
>>
File: 1458191270654.jpg (1008KB, 640x1259px) Image search: [Google] [Yandex] [Bing]
1458191270654.jpg
1008KB, 640x1259px
>>53779234
>>
>>53779336
What if they're equal? Better double that ternary.
>>
>>53779351
If they are equal it doesn't matter if you return a or b.
>>
File: 1457914780672.jpg (22KB, 223x261px) Image search: [Google] [Yandex] [Bing]
1457914780672.jpg
22KB, 223x261px
>>53779351
>>
>>53779330
1.44 MB of porn on that bad boy?
>>
>>53779321
>>
>>53779351
>What if they're equal?
Then it doesn't matter which one you output. They're the same.

Seriously.
>>
File: 1458164312400.jpg (415KB, 2000x1500px) Image search: [Google] [Yandex] [Bing]
1458164312400.jpg
415KB, 2000x1500px
>>53779330
>>
>>53779357
But what if I want a?
>>
File: 1445886701078.jpg (54KB, 640x482px) Image search: [Google] [Yandex] [Bing]
1445886701078.jpg
54KB, 640x482px
>>53779367
>>
File: 1458132212601.png (55KB, 1030x231px) Image search: [Google] [Yandex] [Bing]
1458132212601.png
55KB, 1030x231px
>>53779371
>>
File: 397.jpg (1MB, 680x1671px) Image search: [Google] [Yandex] [Bing]
397.jpg
1MB, 680x1671px
>>53779370
>>53779357
>>
>>53779351
Obviously you should return 5 if they are equal.
>>
File: 1454565208215.png (91KB, 500x422px) Image search: [Google] [Yandex] [Bing]
1454565208215.png
91KB, 500x422px
>>53774865
>actually typing out cd, pwd, and ls
>not using 1 letter aliases
REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
>>
File: 1458091076846.png (608KB, 1005x659px) Image search: [Google] [Yandex] [Bing]
1458091076846.png
608KB, 1005x659px
>>
File: lel.gif (73KB, 1000x303px) Image search: [Google] [Yandex] [Bing]
lel.gif
73KB, 1000x303px
>>53779386
Dilbert is great huh?
>>
>>53779397
Don't forget to check whether a>b AND b<a though. You can never be sure enough with computers these days.
>>
>>53779407
>not having a shell that automatically cd's into directories you type alone
>not having the cwd in your prompt
>>
File: 1459372416363.jpg (794KB, 2048x1536px) Image search: [Google] [Yandex] [Bing]
1459372416363.jpg
794KB, 2048x1536px
>>53775424
Isn't that on the bottom right a leg?
>>
>>53776245
jesus christ i laughed too hard at this
>>
>>53779407
That's stupid. You'll probably waste more time in the few times someone else has to use your terminal than you'll ever save.
>>
File: 1458052730361.png (94KB, 849x488px) Image search: [Google] [Yandex] [Bing]
1458052730361.png
94KB, 849x488px
>>53779408
>>
>>53779415
>>
File: 1457946734641.gif (60KB, 480x640px) Image search: [Google] [Yandex] [Bing]
1457946734641.gif
60KB, 480x640px
>>53779444
>>
File: 1425049351127.jpg (36KB, 500x375px) Image search: [Google] [Yandex] [Bing]
1425049351127.jpg
36KB, 500x375px
>>
>>53779420
Thread-safe version: a>b && b<a && a>b && b<a
>>
File: 10u61t.jpg (120KB, 500x707px) Image search: [Google] [Yandex] [Bing]
10u61t.jpg
120KB, 500x707px
>>53779454
>>
File: 1417636315551.png (82KB, 461x660px) Image search: [Google] [Yandex] [Bing]
1417636315551.png
82KB, 461x660px
>>53779449
>>
File: thUKJ4SLBL.jpg (10KB, 300x133px) Image search: [Google] [Yandex] [Bing]
thUKJ4SLBL.jpg
10KB, 300x133px
>>
>>53779449
>getting laid once or twice a year
If only
>>
>>53779464
That's not thread-safe, though.
>>
File: 9.png (702KB, 1238x1359px) Image search: [Google] [Yandex] [Bing]
9.png
702KB, 1238x1359px
>>53779472
>>
File: B-fhmYGIMAA4Xxh.jpg (10KB, 600x300px) Image search: [Google] [Yandex] [Bing]
B-fhmYGIMAA4Xxh.jpg
10KB, 600x300px
>>
>>53779474
this makes me so fucking mad for some reason
why are you projecting your stupidity onto computers? why are you so fucking stupid?
>>
>>53779481
I know, it was a bad joke.
>>
File: 1444051339321.png (96KB, 725x325px) Image search: [Google] [Yandex] [Bing]
1444051339321.png
96KB, 725x325px
>>
>>53774890
more like CRINGE THREAD
>>
File: 1457979887355.png (292KB, 1682x2684px) Image search: [Google] [Yandex] [Bing]
1457979887355.png
292KB, 1682x2684px
>>
File: barf_fortress.jpg (6KB, 250x178px) Image search: [Google] [Yandex] [Bing]
barf_fortress.jpg
6KB, 250x178px
>>53779495
>>
File: mowinggrass.jpg (83KB, 640x457px) Image search: [Google] [Yandex] [Bing]
mowinggrass.jpg
83KB, 640x457px
>>53779460

>tfw you'll never be able to prank call clueless AOL customers in the 90s and talk them into erasing their own hard drives

https://www.youtube.com/watch?v=pOEeA_mdpUM
>>
File: 1452875626539.jpg (17KB, 470x336px) Image search: [Google] [Yandex] [Bing]
1452875626539.jpg
17KB, 470x336px
>>53779547
Could you make that pic a bit smaller?
>>
File: 1416523170660.jpg (227KB, 1488x1067px) Image search: [Google] [Yandex] [Bing]
1416523170660.jpg
227KB, 1488x1067px
>>53779547
>>
>>53778559
I literally fell of my chair laughing
>>
File: 1458341708341.png (1MB, 700x1094px) Image search: [Google] [Yandex] [Bing]
1458341708341.png
1MB, 700x1094px
>>
>>53779566
It came that way : (
>>
>>53776464
jesus christ the gold never stops coming from this image
>>
File: 1443583656522.jpg (540KB, 815x1200px) Image search: [Google] [Yandex] [Bing]
1443583656522.jpg
540KB, 815x1200px
>>
>>53779397
>lol like you are so random tee hee!
>>
>>53778998
Being tortured at gitmo is literally better than writing drivers in Javascript
>>
>>53774865
>super long prompt
>doesn't end with a newline
>>
>>53774865
Did i do it right?
>>
File: 1457455824165.jpg (98KB, 700x520px) Image search: [Google] [Yandex] [Bing]
1457455824165.jpg
98KB, 700x520px
>>53779560
>>
>>53774992
And the one getting graduated, I guess gorillas graduating and riding bikes literally does not compute.
>>
>>53779475
I feel your struggle m8
>>
>>53775649
this hurts me physically
>>
>>53779639
Kek
>>
>>53779498
your post is the biggest joke in this whole thread
>>
File: 1425633510846.png (24KB, 967x593px) Image search: [Google] [Yandex] [Bing]
1425633510846.png
24KB, 967x593px
>>
File: 1424739400987.jpg (172KB, 1151x372px) Image search: [Google] [Yandex] [Bing]
1424739400987.jpg
172KB, 1151x372px
>>53779460
>>
File: 1421499779942cbn.jpg (94KB, 700x525px) Image search: [Google] [Yandex] [Bing]
1421499779942cbn.jpg
94KB, 700x525px
>>
File: 1434828003573.jpg (72KB, 530x852px) Image search: [Google] [Yandex] [Bing]
1434828003573.jpg
72KB, 530x852px
>>
File: 1444084288359.png (468KB, 936x550px) Image search: [Google] [Yandex] [Bing]
1444084288359.png
468KB, 936x550px
>>53774890
that's gotta be a joke, no way someone is THAT stupid
>>
>>53774890
>airplane software

This can't be real
>>
File: 1434834964806.jpg (48KB, 600x804px) Image search: [Google] [Yandex] [Bing]
1434834964806.jpg
48KB, 600x804px
>>
>>53779714
She's a girl.
>>
File: aufwihi.jpg (63KB, 600x399px) Image search: [Google] [Yandex] [Bing]
aufwihi.jpg
63KB, 600x399px
>>53779701
>>
File: 1415840847820.jpg (168KB, 600x740px) Image search: [Google] [Yandex] [Bing]
1415840847820.jpg
168KB, 600x740px
>>
File: 1434831575864.png (144KB, 1279x710px) Image search: [Google] [Yandex] [Bing]
1434831575864.png
144KB, 1279x710px
>>
File: 1417961439991.gif (2MB, 287x191px) Image search: [Google] [Yandex] [Bing]
1417961439991.gif
2MB, 287x191px
>>53779330
>>53779364
>>
File: 1434834330536.png (88KB, 465x360px) Image search: [Google] [Yandex] [Bing]
1434834330536.png
88KB, 465x360px
>>
this thread gave me cancer
>>
File: 1434913419694.jpg (331KB, 1920x1080px) Image search: [Google] [Yandex] [Bing]
1434913419694.jpg
331KB, 1920x1080px
>>
>>53779813
i gave ur mum cancer last nite :^)))
>>
File: 1437456839015.jpg (169KB, 550x550px) Image search: [Google] [Yandex] [Bing]
1437456839015.jpg
169KB, 550x550px
>>53779758
>use https
>problem solved
unless it blocks https
>>
>>53779495
I've had to do this to a PS3 with a heat gun before. Fucking FTC banning lead solder.
>>
>>53779547
what movie is this from? the anTimatrix? lolloollolollolo
>>
>>53779844
Don't you mean ANSI-matrix?
>>
>>53778854
holy shit
>>
>>53779289
Markup languages used to be called code.

Code used to be called programs.
>>
File: working.jpg (69KB, 600x800px) Image search: [Google] [Yandex] [Bing]
working.jpg
69KB, 600x800px
>>
>>53778927
remind me when you have to enable himem on DOS to use RAM
>>
>>53779234
>moves the connector a bit
>every freaking wire touching each other
>fuckedupmyhdd.jpg
>>
File: giqyx16qt2tgzby6mcfk.gif (479KB, 250x187px) Image search: [Google] [Yandex] [Bing]
giqyx16qt2tgzby6mcfk.gif
479KB, 250x187px
>>
>>53779560
>you'll never be able to prank call clueless customers
just try it, shits still the same, post results
>>
File: 1459252033035.png (62KB, 332x283px) Image search: [Google] [Yandex] [Bing]
1459252033035.png
62KB, 332x283px
>>53779179
>>
File: gFPJ3Kp.jpg (76KB, 1000x665px) Image search: [Google] [Yandex] [Bing]
gFPJ3Kp.jpg
76KB, 1000x665px
>>
>>53779290
I don't get it? Please explain?
>>
>>53779537
https://archlinuxarm.org/

I wouldn't have corrected you if you were being entertaining.
>>
>>53778839
>>53779115
>>53779118
God I love gcc, it's kind of a mess in implementation but it feels great not to have to bother optimizing code.
>>
>>53780602
Time to learn bash bro
>>
File: 1459082385300.jpg (57KB, 700x524px) Image search: [Google] [Yandex] [Bing]
1459082385300.jpg
57KB, 700x524px
>>53778889
Why the fuck do you link your pictures. Stop doing that all you fags. It's fucking annoying. Nobody gives a fuck that it's ALL you,special little snowflake.
>contributing
>>
>>53774865
>bai5 antioxidant infusions
shit looks hipster as fuck but it's actually really tasty, better than most other fruit juices
>>
>>53779469
Please.
>>
File: RF004.gif (867KB, 500x470px) Image search: [Google] [Yandex] [Bing]
RF004.gif
867KB, 500x470px
>>53774865
>>53774890

Congrats, legitimately mad.
>>
>>53779015
>the dracula
>>
>>53779312
What is it actually?
>>
>>53775037
post the picture, you know which one
>>
File: 1459279083511.jpg (32KB, 720x431px) Image search: [Google] [Yandex] [Bing]
1459279083511.jpg
32KB, 720x431px
>>53779367
>>
>>53778209
>>53778845
I want retards to leave /g/
>>
>>53779386
Those where the times
>>
>>53780602
It loops through the numbers all at once - for each number X it sleeps X seconds and then prints X.

Because it loops through all of the numbers at once, smaller numbers will sleep fewer seconds than larger numbers, causing them to print first, thereby printing them back out in order.

The output should be correct up until the number of inputs takes 1 second or more to process, at which point it will start to fail.
>>
>>53779442
>someone else has to use your terminal
what dude? thats fucked up
>>
>>53776464
valid way to do it, but actually fucking making a method is retarded, there's more characters in the method signature than the actual implementation lol
>>
>>53775037
post the picture, you know which one
>>
File: 68948712.jpg (36KB, 625x625px) Image search: [Google] [Yandex] [Bing]
68948712.jpg
36KB, 625x625px
>>53779435
>having a shell
>>
File: 1459258668488.jpg (297KB, 1589x1191px) Image search: [Google] [Yandex] [Bing]
1459258668488.jpg
297KB, 1589x1191px
>>
File: 1451449408612.jpg (11KB, 236x263px) Image search: [Google] [Yandex] [Bing]
1451449408612.jpg
11KB, 236x263px
>>53775649
>>
>>53778897
Using the tools that come with your IDE, like visual basic even.
>>
File: 1458526583641.png (357KB, 497x373px) Image search: [Google] [Yandex] [Bing]
1458526583641.png
357KB, 497x373px
this thread
>>
>>53776472
You don't.
>>
>>53779527
/g/ in a nutshell
>>
>>53779165
SAVAGE
A
V
A
G
E
>>
>>53779083
>>
File: 1450414024806.jpg (165KB, 500x500px) Image search: [Google] [Yandex] [Bing]
1450414024806.jpg
165KB, 500x500px
>>53781030
>dwm.exe isn't a shell
>>
>>53779363
mySIdes = null;
>>
File: 0LTCl8Q.gif (466KB, 150x125px) Image search: [Google] [Yandex] [Bing]
0LTCl8Q.gif
466KB, 150x125px
>>53779547
>>
File: 1307815839904.jpg (50KB, 500x333px) Image search: [Google] [Yandex] [Bing]
1307815839904.jpg
50KB, 500x333px
>>
>>53781042
Nice cloud.
>>
>>53779723
Man, if my ex would have done that after she found out I was cheating on her I would have been so pissed.
>>
>>53779701
>not having two PSUs
>>
>>53779015
>the dracula
>>
>>53779739
This, this 100x this
>hurr look at benchmark, nvidia betta
>>
>>53778209
What about negatives? Or floats?
>>
>>53775347
the original function did have comments. however, the only comment on the bizzare magic constant is "what the fuck?" which is not very useful
>>
File: 1391905506574.gif (497KB, 145x147px) Image search: [Google] [Yandex] [Bing]
1391905506574.gif
497KB, 145x147px
>>53774890
max(1,1) -> 5
>>
File: 3.5u.png (1001KB, 1250x722px) Image search: [Google] [Yandex] [Bing]
3.5u.png
1001KB, 1250x722px
>>53774865
new memes, just happened today
>>
>>53776245
lmao man people can be so silly
>>
File: 17856956364.jpg (592KB, 1024x768px) Image search: [Google] [Yandex] [Bing]
17856956364.jpg
592KB, 1024x768px
>>
File: 1442164799884.webm (3MB, 640x360px) Image search: [Google] [Yandex] [Bing]
1442164799884.webm
3MB, 640x360px
>>53774865
>>
>>53776060
This is part of a Monty Hall program I wrote back in the day
>>
>>53780980
holy shit
>>
>>53780763
Not him but, you have to wait longer to post the same (empty) message again, even with different picture, so its just easier to click on your own post with its unique number then to wait longer or make up shit.
>>
>>53781221
Would be better if it wasn't a /v/ tier "epin kekz" screencap
>>
File: robobert.png (65KB, 820x700px) Image search: [Google] [Yandex] [Bing]
robobert.png
65KB, 820x700px
>>53780844
>>
>>53781189
>Bernie_Sanders_economic_plan.jpg
>>
>>53781332
And the economic plan of pretty much every president after Nixon.
>>
File: 1457926207751.jpg (4MB, 1354x6102px) Image search: [Google] [Yandex] [Bing]
1457926207751.jpg
4MB, 1354x6102px
>>53775037
>>
>>53781127
P E a a
P L E A
P F8 Sa S E
K I L
P F8 Sa S
M E
>>
File: k9BoyZF.jpg (175KB, 1029x1425px) Image search: [Google] [Yandex] [Bing]
k9BoyZF.jpg
175KB, 1029x1425px
>>53781380
>>
File: 1457554109880.jpg (37KB, 800x533px) Image search: [Google] [Yandex] [Bing]
1457554109880.jpg
37KB, 800x533px
meme router
>>
>>53781416
meme witnessed
>>
File: 1440799566640.jpg (70KB, 768x577px) Image search: [Google] [Yandex] [Bing]
1440799566640.jpg
70KB, 768x577px
>>53781180
>>
>>53778839
unrelated question but why did you declare the int as volatile?
>>
File: 8ae.png (99KB, 600x599px) Image search: [Google] [Yandex] [Bing]
8ae.png
99KB, 600x599px
>>53781425
what am I looking at?
>>
File: 1457584945848.jpg (359KB, 1600x1200px) Image search: [Google] [Yandex] [Bing]
1457584945848.jpg
359KB, 1600x1200px
>>
>>53779758
how do you do this?
>>
File: 1457589630731.jpg (720KB, 1840x3264px) Image search: [Google] [Yandex] [Bing]
1457589630731.jpg
720KB, 1840x3264px
>>53781443
its "grounded"
>>
>>53781443
the ground terminal of an electric generator haha
>>
File: 1323635452001.png (6KB, 344x326px) Image search: [Google] [Yandex] [Bing]
1323635452001.png
6KB, 344x326px
>>53781478
>>
>>53778959
That's quora you ignorant slut.
>>
File: 1457587506156.jpg (206KB, 1080x1275px) Image search: [Google] [Yandex] [Bing]
1457587506156.jpg
206KB, 1080x1275px
>>53781416
>>
File: 1457560936190.jpg (474KB, 1500x1100px) Image search: [Google] [Yandex] [Bing]
1457560936190.jpg
474KB, 1500x1100px
>>
>>53780929
Might be some exhaust for CERN
>>
>>53779052
nah, I recall seeing it back then

>>53779075
>somebody that can code
dude, she is:
1) a feminist
2) a model
come on.
>>
>>53780844
For fuck's sake she didn't even screw the PSU bulb in.
>>
>>53776451
im in my first semester and we're doing modulus in discrete math plus I learned modulus in high school wtf is wrong with american cs students
>>
>>53778839
Font?
>>
>>53781534
Does "modulus" mean something more than "remainder"?
>>
>>53779179
Electronic old men and their flexibilities
>>
>>53781534
This, when I was in highschool an elective course was c++ programming. The modulus operator was taught along with other basic operators. Mind you that was more than ten years ago so things might have changed.
>>
>>53781076
Don't switches receive frames, while routers receive packets?
>>
>>53779739
>Thief
>>
>>53779290
>>53780980
I'm not sure if this is brilliant or retarded.
>>
File: DaddySausage.png (190KB, 400x281px) Image search: [Google] [Yandex] [Bing]
DaddySausage.png
190KB, 400x281px
>>53781042
i'm being creative, now if you'll excuse me, i have work to do
1st thing that comes to mind
>>
>>53781443
Guy tied the ground wire to a stick and put it in a bucket of dirt. Not smart.
>>
>>53781221
I have no fucking clue what the joke is here.
>>
>>53781746
Bane meme
>>
>>53779498
nigger
>>
File: 1434831365145.png (373KB, 900x800px) Image search: [Google] [Yandex] [Bing]
1434831365145.png
373KB, 900x800px
>>53781466
its like botnet but with carrots
>>
>>53779714
>>53779727
what's more, >>53781527
>>
>>53779229
Not with that spelling.
>>
>>53781284
cool, thanks!
>>
File: eng.jpg (45KB, 687x389px) Image search: [Google] [Yandex] [Bing]
eng.jpg
45KB, 687x389px
Female Engineer
>>
>>53781987
>interaction engineer
So h&r then?
>>
>>53781501
this is on a poster in one of my engineering classes and it bothers me every single fucking day
>>
>>53779495
too bad it will probably die again in a few days.
>>
>>53782045
>h&r
>human and resources
>>
>>53781987
Well at least she's not around children anymore.
>>
>>53781746
4u
>>
>>53781332
still much better than Trump's plan to use the same cord but plug it into another laptop
>>
>>53781042
never forget
>>
File: cuck nigger c.png (63KB, 449x498px) Image search: [Google] [Yandex] [Bing]
cuck nigger c.png
63KB, 449x498px
>>
>>53781030
>using a computer
>>
>>53781009
Concatenation is not the same thing as joining two strings with a space, though.
>>
>>53782196
some companies care so much about hiring females and diversity they have split the roles of HR to H & R individually. Which makes doing any job harder, because you have to liaise with both individually whenever you need anything.
>>
>>53776777
How would that be rewritten with only 1 exit?
>>
>>53779211
is it – please post the source.
>>
>>53781434
Not him, but it will stop the compiler from optimising it away. Without it, the entire function would just be put("foo") and everything else optimised away by the compiler, as it doesn't effect the output of the function.
>>
>>53779290
Sleepsort - the only guaranteed O(n) sort.
>>
File: Yamada23232.jpg (10KB, 244x284px) Image search: [Google] [Yandex] [Bing]
Yamada23232.jpg
10KB, 244x284px
>>53778609
>coding in HTML
>>
>>53783570
Nope, you just put the logN part to the scheduler
>>
File: hacker kitty.jpg (53KB, 640x474px) Image search: [Google] [Yandex] [Bing]
hacker kitty.jpg
53KB, 640x474px
>>
>>
File: 1451554846288.png (564KB, 720x810px) Image search: [Google] [Yandex] [Bing]
1451554846288.png
564KB, 720x810px
>>
File: 1459230319056.jpg (66KB, 420x497px) Image search: [Google] [Yandex] [Bing]
1459230319056.jpg
66KB, 420x497px
>>
R E S P O N S I V E
>>
File: xbox water.jpg (49KB, 640x480px) Image search: [Google] [Yandex] [Bing]
xbox water.jpg
49KB, 640x480px
>>
File: ipad.jpg (101KB, 500x500px) Image search: [Google] [Yandex] [Bing]
ipad.jpg
101KB, 500x500px
>>
>>53774890

>not using

function(){
code;
}


Absolutely disgusting
>>
File: normies.png (2MB, 1296x2608px) Image search: [Google] [Yandex] [Bing]
normies.png
2MB, 1296x2608px
>>53774865
>>
>>53776472
You don't. "It's a feature.".
>>
>>53781533
>she
>>
>>53783973
Don't really see how this is humorous.
>>
File: cyberbullying.jpg (257KB, 550x600px) Image search: [Google] [Yandex] [Bing]
cyberbullying.jpg
257KB, 550x600px
>>
>>53782913
please say you're kidding
pretty please
with sugar on top
>>
>>53776060
This is pretty standard "introduction to classes" code.
>>
>>53776395
The case is probably shaped to fit inbetween the pinky and the index finger, at least thats how I see it.
>>
>>53781332
Dank research you did there kid
>>
>>53779472
If someone runs some random shitty github script as root they deserve to destroy their OS.
>>
>>53781701
What you think of as a router is a switch with routing capabilities. Routing is a wireless thing.
>>
>>53785040
Your OS is a shitty github script.
>>
>>53779560
Wow I feel sorry for that lady
>>
>>53785041
What? Are you seriously claiming that only wireless routers are routers?
>>
>>53776060
There is nothing wrong with this.
And if you do a gui by hand, this is totally fine.
I'm 99% sure this is for some class/school.


Sorry mate, just post your code once you start your new life as a code monkey. We will be able to laugh at that at least.
>>
>>53779289
99% of these "coding wymin" are "coding" in html, js, and such. They cannot even write a single hello world in C for example.
>>
>>53779371
2 housefireX lol
>>
>>53779408
what the actual fuck?
>>
>>53774890
What a retard.
If(a>b)
Return a
Else
Return b

This code is more complete than her 'is a bigger than b, is b smaller than a' shit code. Her code will return 5 when a and b are equal.
>>
>>53781118
every IT personnel in a nutshell.
only a lunatic would use or deploy Win10.
>>
>>53779407
some of us can type faster than 40wpm
>>
>>53779290
That's genius
>>
>>53785738
>using else in that case
Just f*ck my code up m8
>>
>>53786179
not the anon you are replying to but how would you write it then?
>>
>>53778876
this hurt me too, anon
>>
>>53774865
>>53774890
[spoiler]Femanon[/spoiler] here, I apologize on behalf of [spoiler]my gender's[/spoiler] stupidity. These images made me want to hang myself [spoiler]and/or surgically acquire a penis.[/spoiler]
>>
>>53786592
return a > b ? a : b;


but in his/her/zis style just:
if (a > b) {
return a
}
return b

The else has no utility at all and I find it better to always see clearly the default exit.
>>
>>53786661
HAHA NO SPOILERS ON THIS BOARD
Point proven. I'll just be killing myself then
>>
File: MgzIbBN.png (215KB, 1181x859px) Image search: [Google] [Yandex] [Bing]
MgzIbBN.png
215KB, 1181x859px
>>
>>53786681
C'mon man, are you serious? Why does it matter?
>>
>>53786872
For the mega-useful max function it doesn't matter.
But in general, with conditions here and there, I think it's more readable (and better, less risky) to write your functions as if there is a fallback value instead of wanting to enumerate possibilities with if-else blocks.
Thread replies: 340
Thread images: 140
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK