programmer_humor

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

uid0gid0, in Need a rust version too.

The Patsy from Monty Python in the PHP section got me

AnUnusualRelic,
@AnUnusualRelic@lemmy.world avatar

“Message for you sir!”

argh

troyunrau,
@troyunrau@lemmy.ca avatar

I have that as my cell phone notification. It’s amazing.

Here’s a download link if anyone else wants it: drive.google.com/file/d/…/view?usp=sharing

AnUnusualRelic,
@AnUnusualRelic@lemmy.world avatar

Duh. I can’t believe I never thought of it, just because it was a model.

Hazzia,

Thank you for your contribution to the betterment of society.

aMockTie, in DO NOT MERGE

Why did they submit this as a pull request in the first place? Just commit it to a WIP branch until it’s ready to merge. Am I missing something?

brisk,

Probably to get some other benefitof the PR system, such as CI tests

leds,

Does gerrit have a draft state? In azure devops you can mark PR as draft , won’t trigger any builds but you can still start them manually

beeng,

manually

This is probably why the dev created a PR, less clicks

sf1tzp,

I don’t remember if it did when I used it. Our convention was to -2 your own change until it was ready to go 😅

DrJenkem, (edited )
@DrJenkem@lemmy.blugatch.tube avatar

It’s been a while since I’ve worked with AOSP, but I had always understood it to be some weird shit with Google’s internal processes. The “do not merge” commits are all over the AOSP, or at least they used to be.

NotSteve_,

I do this often. It’s useful if you want to send it to your coworker for some early feedback or as others have said, have the CI run

Corbin, in The Perfect Solution

Don’t use OpenAI’s outdated tools. Also, don’t rely on prompt engineering to force the output to conform. Instead, use a local LLM and something like jsonformer or parserllm which can provably output well-formed/parseable text.

lledrtx,

Agree this is better but neither of them actually seem “provable” though?

Corbin,

I’ll be informal to boost your intuition. You know how a parser can reject invalid inputs? Parsers can be generated from grammars, so we can think of the grammars themselves as rejecting invalid inputs too. When we use a grammar for generation, every generated output will be a valid input when parsed, because the grammar can’t build any invalid sentences (by definition!)

For example, suppose we want to generate a JSON object. The grammar for JSON objects starts with an opening curly brace “{”. This means that every parser which accepts JSON objects (and rejects everything else) must start by accepting “{”. So, our generator must start by emitting a “{” as well. Since our language-modeling generators work over probability distributions, this can be accomplished by setting the probability of every token which doesn’t start with “{” to zero.

dan, in Every goddamn time
@dan@upvote.au avatar

Be sure to wear a hoodie in a dark room so that you can hack faster.

emptyother, in My coding skill V/S My GitHub Repositories

They are all named some variant of “tutorial_Ch01” or “testprogram” probably. And one repository named “My Unnamed MMO” (or some other overly complex but trendy genre) that has like 12 lines of code so far and a crappy drawn pixelart png.

QuazarOmega, (edited ) in what the hell is happening in ultramarine linux

What’s Fyra tho?

Edit: I guess it’s this: fyralabs.com
Very disappointed in the lack of cats ;(

Justas,
@Justas@sh.itjust.works avatar

It just means 4 in Swedish, like en/ett, två, tre, fyra, fem …

state_electrician,

Femboi?

NovaPrime,
@NovaPrime@lemmy.ml avatar

Pretty sure it’s the patron goddess of the fyre festival

Fizz, in what the hell is happening in ultramarine linux
@Fizz@lemmy.nz avatar

Imagine the smell of that office

hikikoma, (edited )

MUTHKY

blackn1ght, in Always

This isn’t my experience. I’m way more focused in the morning and then it’s all downhill after lunch. By the time it’s the evening I have zero motivation to do any code.

dyc3,

Yeah that’s about how I feel too. Mostly because I take my ADHD meds in the morning, and afternoon is about where they wear off.

oce,
@oce@jlai.lu avatar

My best focus is before lunch and before the end of the day.

CodingCarpenter,

I’m the opposite I’m useless until after lunch

slazer2au, in Happy New Year Coders.

Surely a regular day should have a rubber ducky.

onlinepersona, in Happy New Year Coders.

I was getting emails about pull requests and issues all night. It’s like some people just took advantage of everybody being outside of the house to code 😅

CC BY-NC-SA 4.0

kameecoding,

Why do you have a link to CC in your comment?

embed_me,
@embed_me@programming.dev avatar

Pfffft why wouldn’t you?

CC BY-NC-SA 4.0

kameecoding, (edited )

I don’t know, waste of characters?

it’s confusing?

nilloc,

I was about to post a tshirt with their comment on Etsy, but the NC stopped me.

nilloc,

I was about to post a tshirt with their comment on Etsy, but the NC stopped me.

syd, in Good luck web devs
@syd@lemy.lol avatar

I won’t try implement something like this even my boss forces me.

muzzle,

No one died this kind of stuff because someone asked then to do it. This is the kind of useless insane stuff you do for the lulz, or because someone dared you.

kamen, in The Holy Trinity of JavaScript

Lots of silliness indeed, yet I can’t remember the last time I had to use a non-strict comparison.

CanadaPlus,

Yes, it’s been established that you can still use JavaScript, and it will only backfire sometimes, even though it’s a bad language. And yet, people try to use it where it’s not even required.

normalexit, in no.. just no

This idea is bad and whoever came up with it should feel bad.

III,

It never ceases to amaze me how far idiots will go to avoid learning the most simple things. SQL isn’t hard, people’s difficulty with it says a lot more about them than it does SQL.

emptyother,

People think in different ways. What might seem logical to you might look alien to another. I know SQL well enough to optimize queries, but I find it a lot easier to think about and write queries as LINQ methods. A lot more cleaner and logical to my brain.

MonkderZweite,

Neither is sending form data to the server without any JS. It’s more robust too. Yet almost no form on the web works without JS.

sheepishly, in Let me just move this project to the "unfinished" folder
@sheepishly@kbin.social avatar

Just release unfinished DLC for $35, release a "definitive version" even though that was only the first half of the DLC, release the even more unfinished second half of the DLC and still leave a bunch of shit from the base game unexplained. Yeah I'm still salty about something, how'd you know?

Ethanice,

This sounds like Destiny but I’m not sure.

sheepishly,
@sheepishly@kbin.social avatar

It's Pokemon

kSPvhmTOlwvMd7Y7E, (edited ) in Need a rust version too.

So let me summarise this:

Only C and Lisp actually completed the initial task of getting the princess free, and Author clearly favors C over the drooling and homeless lisp hacker. Also, turns out, C greatest weakness helped to save not only the princess but everything she ever possessed! How convenient!

Shareni, (edited )

Naah, C stabbed himself in both of his feet while planning. The rest of it is his dying mind hallucinating saving the princess.

Lisp is the true hero, but the author has parenthophobia

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