programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Blackmist, in Me trying to fix a complex bug that's not important

That moment where you finally convince your boss it’s not worth fixing, and then you instantly think of a way to easily solve it.

Matombo, in Welcome to the wonderful world of code obfuscation

Ok another US local units are retarded rant: it’s called weekEND! why do you start your week at sunday and not monday! Sunday is part of the weekEND!

DieguiTux8623, in me_irl

The worst case is when someone requires changes, you address them, but then they disappear/go on a leave.

If the repository rules require all conversations to be resolved before merging and only the original reviewer can mark them as solved, the PR is stuck forever even if the rest of the team approves it.

AnarchoSnowPlow, in me_irl

Also me waiting for the junior dev to address review comments satisfactorily.

space, in Welcome to the wonderful world of code obfuscation

You want to expand your business to Europe. Bam, your code is broken, in Europe the week starts on Monday.

Than you want to expand to the middle east. Bam, broken again… Because in arab countries and Israel, the weekend is on Friday and Saturday.

Then you want to expand to Mexico and India. Bam, broken again, their weekend is only on Sunday.

irdc, in Welcome to the wonderful world of code obfuscation

<span style="color:#323232;">weekend = day_of_week in (“sat”, “sun”)
</span>

As a bonus this completely sidesteps the issue of what day is 0 or 1.

eluvatar, in Welcome to the wonderful world of code obfuscation

Honestly the first one is the only one that works when people define the first day of the week differently. On the other hand, it does make you wonder. If Sunday is the first day of the week (as it is in many places) then how is it also part of the weekend?

blakeus12, in GoOn
@blakeus12@hexbear.net avatar

s.w.x.y/z

plug it into a 5-dimensional graph and there you go.

doctorcrimson, in GoOn

ipv4 [0,255].[0,255].[0,255].[0,255]

ipv6 [0000,ffff]:[0000,ffff]:[0000,ffff]:[0000,ffff]:[0000,ffff]:[0000,ffff]:[0000,ffff]:[0000,ffff]

spudwart, in GoOn
@spudwart@spudwart.com avatar

I mean if I name them do I have to own the domain or…

jeffhykin, in Oh yea, that's the good stuff **huffs glue**

If you think that’s good, then you’re gonna love this “simplified” real code posted as a real issue on one of my Github repos.

Edit: updated link to address the stack-trace comment

Socsa, in Yes

This is false, you also need vim and tmux

SpasmodicColon, in GoOn
@SpasmodicColon@hexbear.net avatar

127.0.0.1, I’m an introvert

baseless_discourse, in Oh yea, that's the good stuff **huffs glue**

Is this how you do Fin in peasant languages?

urquell, in Show me a better text format for serializing

So much json here. All wrong, it’s csv

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #