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.

fmstrat , in You know who you are

Don’t forget the ARM64 to AMD64 conversion.

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

Ucinorn , in You know who you are

Not just OSX: anyone using WSL on windows is an offender too

But as a WSL user, dockerised Dev environments are pretty incredible to have running on a windows machine.

Does it required 64 gig of ram to run all my projects? Yes. Was it worth it? Also yes

qwop ,

My experience using docker on windows has been pretty awful, it would randomly become completely unresponsive, sometimes taking 100% CPU in the process. Couldn’t stop it without restarting my computer. Tried reinstalling and various things, still no help. Only found a GitHub issue with hundreds of comments but no working workarounds/solutions.

When it does work it still manages to feel… fragile, although maybe that’s just because of my experience with it breaking.

desmaraisp ,

You can cap the amount of cpu/memory docker is allowed to use. That helps a lot for those issues in my experience, although it still takes somewhat beefy machines to run docker in wsl

Mermitian ,

I’m even worse, I have used wsl in a windows vm on my mac before haha

ShrimpsIsBugs , in My prof can meme fr

I can physically feel the pain in the first one

MooseBoys , in Borrow Checker

Just add unsafe sheesh.

Xylight , in It gets better the longer it runs

How long would this have to run for it to round up to 100%?

snowe , in Colors, localized.
@snowe@programming.dev avatar

I had to read a lot of the comments to understand what the post meant.

ojmcelderry ,

Yeah. Honestly, I’m still not sure I understand it. ELI5?

AlternActive ,

French being french. They have no word for ninety for example, it’s four-twenty-ten. Not bullshitting you.

As in Four (times) twenty (plus) 10.

MouseWithBeer ,
@MouseWithBeer@iusearchlinux.fyi avatar

The American is how it is supposed to be.

The British one has the “color” changed changed to “colour” due to British spelling of color.

The Spanish one has an upside down semi colon because in Spanish you write questions like this: ¿Is this an example question?

The French one is because the French number system makes absolutely no sense and to say 99 you have to say quatre-vingt-dix-neuf (meaning 4 x 20 + 19).

I hope this helps somehow.

nintendiator ,

The American is how it is supposed to be.

The British one has the “color” changed

[citation needed]

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

YellowTraveller , in You know who you are

When I was in school I once used a IOS emulator running inside a docker container of MacOS running on a linux machine. It works surprisingly smoothly.

Yoz , in You know who you are

Can someone please explain me like i am 5 what is docker and containers ? How it works? Can i run anything on it ? Is it like virtualbox ?

SantaClaus ,

Think of a container like a self contained box that can be configured to contain everything a program may need to run.

You can give the box to someone else, and they can use it on their computer without any issues.

So I could build a container that contains my program that hosts cat pictures and give it to you. As long as you have docker installed you can run a command “docker run container X” and it’ll run.

Lmaydev ,

A container is a binary blob that contains everything your application needs to run. All files, dependencies, other applications etc.

Unlike a VM which abstracts the whole OS a container abstracts only your app.

It uses path manipulation and namespaces to isolate your application so it can’t access anything outside of itself.

So essentially you have one copy of an OS rather than running multiple OS’s.

It uses way less resources than a VM.

As everything is contained in the image if it works on your machine it should work the same on any. Obviously networking and things like that can break it.

rpj , in It gets better the longer it runs

Wow, a neural network!

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.

MartianInAHumansBody , in You know who you are

Add a JVM just for the hell of it

somada2kk , in Colors, localized.

As guy who hate French language and was learning in 1999 I can confirm it was pain to read the topic of lesson and the date. I was so happy when we switched to 2000.

Obi ,
@Obi@sopuli.xyz avatar

Whole generations of French students that have no idea they escaped having to write “mille neuf cent quatre-vingt dix-neuf” over and over again, in cursive of course.

rikudou , in 8 hobbits = ?

Now do kilohobyte.

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