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.

aport , in Let's go!

laughs in M1 Silicon

SkyeStarfall ,

Has less to do with the CPU architecture and more with the thermal and fan configuration.

I would assume macs have much higher quality fans due to them having a reputation to uphold.

aport ,

As someone who has compiled a ton of software on a lot of different laptops, Apple Silicon provides ridiculous performance per watt.

My M1 Pro macbook not only compiles emacs faster than my desktop with a 5600X, but the fans don’t even turn on.

Swedneck , in Let's go!
@Swedneck@discuss.tchncs.de avatar

truly programmers are minor gods, they even have a choir of angels singing as things are brought to creation from nothing.

xoggy , in Le torture
@xoggy@programming.dev avatar

Him being naked is completely unnecessary but enhances everything.

Quill7513 , in Le torture

Its so rough watching non vimmers use vim

dilawar ,

a pro vim user watching a vim noob using arrow keys.

Quill7513 ,
  • Using “cmd+f” to search terminal buffers instead of /
  • Using :wqa! and then reopening the editor instead of just using :w
  • Deleting an entire line by hitting x repeatedly
  • Adding to the end of a like by pressing i and then the right arrow key until they’re at the end of a line
LedgeDrop ,

STOP! You’re scaring the children!

naught ,

I’ve heard some people even use :wq over :x

CodeBlooded ,
@CodeBlooded@programming.dev avatar

….I’ve been using :wq for years…

naught ,

Repent! Imagine all of the wasted productivity! Ahhhhhhhhh

whats_all_this_then ,

Those last two made me physically recoil wtf

mrks , in Testing good

Coder: me. Tester: also me.

nyan , in What we really mean

Hey, now. It is possible to write readable Perl code—it’s just less interesting that way. 😜

simple , in Testing good
@simple@lemmy.mywire.xyz avatar

The code


<span style="color:#323232;">package main
</span><span style="color:#323232;">
</span><span style="color:#323232;">import "fmt"
</span><span style="color:#323232;">
</span><span style="color:#323232;">func main() {
</span><span style="color:#323232;">  fmt.Println("Hello World")
</span><span style="color:#323232;">}
</span>
alr , in Colors, localized.

If you think French is bad…


<span style="color:#323232;">// Danish
</span><span style="color:#323232;">farve = "#(9+½+5)FFAA"
</span>
rclkrtrzckr OP ,

Please elaborate. Any background on this?

alr ,

The Danish word for 99 is nioghalvfems, which literally means “nine and half five.” Which you could be forgiven for assuming meant 11½. The trick is that a) “half five” actually means 4½, as in half less than five, and b) it’s implied that you’re supposed to multiply the second part by 20. So the proper math is 9 + (-½ + 5) * 20 = 99.

Brisolo32 , in rule

I feel the need of putting a while(false) in my codebase now…

msage , in The sad truth about Twitter’s rate limit

I usually only read, so youtube is a no-go for me :(

KnorrFG , in What we really mean

IMHO it’s a complex, temporary work around with a few issues.

Also vim > emacs

Kerb , in What we really mean
@Kerb@discuss.tchncs.de avatar

I’m one of those people who think that Perl is a write-only language
-Linus torvalds

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

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

stebo02 , in What we really mean
@stebo02@lemmy.dbzer0.com avatar

The best way I know to quit vi is by turning off your computer

Olap ,

Why would you quit vim?

master ,
@master@lem.serkozh.me avatar

you can also accomplish that by turning off city’s electrical grid

magmaus3 , in What we really mean
@magmaus3@szmer.info avatar

ESC + :q!

ESC to enter normal mode (if you’re in a different mode like insert) : (colon) to enter commands q to quit ! (or a) to use the quit command withiut keeping any changes

sci ,

He’s speaking the language of the gods…

Lifter ,

ESC + (shift) ZZ is faster and also saves your changes!

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