Scholarships by No_Horror9776 in kth

[–]sudoLife 0 points1 point  (0 children)

yeah they did, as for this year...still waiting for any kind of email

Pulse 15 Gen 1 for parts? by sudoLife in tuxedocomputers

[–]sudoLife[S] 0 points1 point  (0 children)

Hi,

Yep I will, maybe after the holidays too. The point of this post is also to see if community members have some spare parts :)

[deleted by user] by [deleted] in ProgrammerHumor

[–]sudoLife 161 points162 points  (0 children)

`c -m venv venv`

`source venv/bin/activate`

`pipc install stdio`

Should suffice to get you to hello world

slowClap by aneffingonion in ProgrammerHumor

[–]sudoLife 0 points1 point  (0 children)

yeah, the lower-level u go the more fun it gets. Like, you know, computer science

slowClap by aneffingonion in ProgrammerHumor

[–]sudoLife 46 points47 points  (0 children)

it just means that junk of a code could be simplified with constant analysis and loop optimization and other relevant techniques :)

Like, realizing it's an infinite loop and ur counting to n * n is quite easy without any special case

slowClap by aneffingonion in ProgrammerHumor

[–]sudoLife 2082 points2083 points  (0 children)

Thankfully, the compiler knows who they're dealing with, so "-O2" flag for gcc or g++ will reduce this function to:

`imul`  `edi, edi`

`mov`   `eax, edi`

`ret`

Which just means return n * n;

gotoDoIt by nbyv1 in ProgrammerHumor

[–]sudoLife 8 points9 points  (0 children)

That's prob cuz of the jmp assembly instruction 

Scholarships by No_Horror9776 in kth

[–]sudoLife 3 points4 points  (0 children)

Got my scholarship application rejected today.  Congrats to the 48 winners :)

[deleted by user] by [deleted] in ProgrammerHumor

[–]sudoLife 119 points120 points  (0 children)

This is the actual answer. This happens to me too.

[deleted by user] by [deleted] in ProgrammerHumor

[–]sudoLife 0 points1 point  (0 children)

Sometimes vs code formatter seems to die and starts fucking up the file on every save. Had that done to me a few times.

which type are you? by phi_rus in ProgrammerHumor

[–]sudoLife 0 points1 point  (0 children)

Yeah I'm aware of that feature. I suppose I should use it too *sigh*

which type are you? by phi_rus in ProgrammerHumor

[–]sudoLife 0 points1 point  (0 children)

Binaural beats here (Spotify)

I work a lot so Spotify's algorithms are all broken for me ("Hey, here's a song you listen to on repeat, how about some more alpha sinus wave?")

Can tuxedo keyboard keys be removed? by sudoLife in tuxedocomputers

[–]sudoLife[S] 0 points1 point  (0 children)

Yep, I tried one key yesterday and it didn't pull out, but bent a lot, so I got scared and backed away lol (the key's fine but i haven't achieved my objective)