There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

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

jim , in What we really mean
@jim@programming.dev avatar

"I can read this Perl scrip"t should translate to “I’m lying”.

MartianInAHumansBody , in You know who you are

Add a JVM just for the hell of it

knfrmity , in Truer words have never been spoken

I’ve been working with such a poorly documented application that five minutes of debugging can save me hours of reading documentation. Thanks Microsoft.

konakona , in Colors, localized.
@konakona@sh.itjust.works avatar

programming x linguistics humor

ophy ,

As a programmer and a linguist, this is the kind of content that really gets the happy chemicals flowing through my monkey brain

MooseBoys , in Borrow Checker

Just add unsafe sheesh.

MurdoMaclachlan , in It gets better the longer it runs
@MurdoMaclachlan@lemmy.world avatar

Image Transcription: Code



<span style="color:#323232;">bool is_prime(int x)
</span><span style="color:#323232;">    return false;
</span><span style="color:#323232;">}
</span>

[Beneath the code is a snippet of console output, as follows:]


<span style="color:#323232;">test no.99989: passed
</span><span style="color:#323232;">test no.99990: passed
</span><span style="color:#323232;">test no.99991: failed
</span><span style="color:#323232;">test no.99992: passed
</span><span style="color:#323232;">test no.99993: passed
</span><span style="color:#323232;">test no.99994: passed
</span><span style="color:#323232;">test no.99995: passed
</span><span style="color:#323232;">test no.99996: passed
</span><span style="color:#323232;">test no.99997: passed
</span><span style="color:#323232;">test no.99998: passed
</span><span style="color:#323232;">test no.99999: passed
</span><span style="color:#323232;">95.121% tests passed
</span>

I am a human who transcribes posts to improve accessibility on Lemmy. Transcriptions help people who use screen readers or other assistive technology to use the site. For more information, see here.

raspberry_confetti ,
@raspberry_confetti@sh.itjust.works avatar

good human

SolanumChillEse , in Colors, localized.

Just started learning French only to find out you need a Bachelor’s in math just to count past 70.

mamarguerat ,
@mamarguerat@discuss.tchncs.de avatar

In Swiss French we say « septante » (70) « huitante » (80) and « nonante » (90) which is better than counting by 20

rclkrtrzckr OP ,

Swiss French doesn’t count as French (like Schwiizerdütsch isch nöd Dütsch)

esmevane , in What the f*ck is a monad
@esmevane@beehaw.org avatar

A monad is just a monoid in the category of endofunctors. Everyone knows that!

thomas , in xkcd #1987: Python Environment

Download ML thing.
make new venv.
pip install -r requirements.txt.
pip can’t find the right versions.
pip install --update pip.
pip still can’t find the right versions.
install conda.
conda breaks for some reason.
fix conda.
install with conda.
pytorch won’t compile with CUDA support.
install 2,000,000GB of nvidia crap from conda.
pytorch still won’t compile.
install older version of gcc with conda.
pytorch still won’t compile.
reinstall the entire operating system with debian 11.
apt can’t find shitlib-1.
install shitlib-2.
it’s not compatible with shitlib-1.
compile it from source.
automake breaks.
install debian 10.
It actually works.
“Join our discord to get the model”.
give up.

AMAMazing ,

This comment gives me ptsd

omalaul ,

It feels like you stood behind me yesterday, taking notes.

HarryEffingPotter ,

thats when you do

/usr/bin/python3.11 -m pip install

mother. fucking. hardcoded paths. 1 step forward, 10 steps backward.

asyncrosaurus , in I know I should... but I just really don't wanna

Not testing is crazy. Once you realize you can actually refactor without ever having the fear you’ve broken something, there’s actually opportunity to make rapid improvments in structure and performance. Taking 2 minutes to write the test can save your hours of debugging. Unless you’re building a throwaway prototype, not unit testing is always the wrong choice.

psilocybin , in rule

So a syntax highlighted comment

ilobmirt , in Paid by the PostgreSQL gang
@ilobmirt@pawb.social avatar

The second frame with the second arm? 🤔 Almost didn’t catch that.

msage , in rule

Where’s my === gang at

julianh , in Robotics developers, startups, and resalers furiously shopping for new HID peripherals

I remember using them in my high school robotics club. And honestly, I think the controller was probably one of the least sketchy things about the sub. Lots of fields use game controllers to handle equipment since they’re well designed for that. There were many other things that were far worse.

ruffsl OP ,
@ruffsl@programming.dev avatar

Yep, I’ve seen reporting of Navy’s using them for controlling periscopes on submarines (now that most are drive by wire), or Air forces using them for piloting drones, as well as for teleoperated robotic thoracic surgeries.

The widespread user familiarity and benefits in transferable hand coordination skills with common gaming based HID economics is hard to refute. Although, I’m guessing the market for safety certified joysticks will uptick.

AI_toothbrush , in Fixed

People when they learn doubles and rounding exists

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines