Programmer Humor

This magazine is not receiving updates (last activity 0 day(s) ago).

als , in Stop use docker

I've recently spent a fair amount of time trying to peel my blog away from my existing framework due to how much I hated using docker to just build a website, it doesn't need to be this heavyweight.

nobleshift , in Stop use docker
@nobleshift@lemmy.world avatar

BSD Jails have entered the chat ...

ssm ,
@ssm@lemmy.sdf.org avatar

pledge() and unveil() were already compiled into the chat client

sundaylab ,

That's one of my dilemmas. Due to using BSD and relying on jails I have a hard time using lots of possibly nice apps being released nowadays because they only offer the docker way of installing.

NegativeLookBehind , in Stop use docker
@NegativeLookBehind@lemmy.world avatar

Kubernetes: I will ruin your fucking life

where_am_i , (edited ) in Stop use docker

Weak one. Let's ideate on a better version

STOP DOING DOCKER

  • Virtualization was supposed to reduce the overhead, not create entire DevOps departments.

  • Years of containerization yet no real use over make clean; make build

  • Wanted to deploy your app in the "cloud" anyways for a laugh? We had a tool for it, it's called rsync

  • Let's run a virtual container in --privileged mode, so we can manage system resources from it -- Statements dreamt up by utterly Deranged

Look at what tech interviews have been demanding your Respect for all these years.
(These are real documentation examples for how a simple virtualization supposedly works)

????

??????

?????????

--

Hello, I would like to put 20 Terabytes of "images" into my /var/lib/, please!

They played us for absolute fools!

where_am_i ,
where_am_i ,

A good example of a similar meme: https://i.redd.it/uew0stv0mff61.jpg

ulterno ,
@ulterno@lemmy.kde.social avatar

https://i.sstatic.net/7GLcJ.png

The owner of the site does not allow hotlinking to the resource.

henrikx ,

And who's gonna stop us?

ulterno ,
@ulterno@lemmy.kde.social avatar

Error 1011: Access Denied

Cloudflare, apparently

And I feel like this is going to be my new Find My IP service.

dan ,
@dan@upvote.au avatar

Your version is better than OP

MonkderDritte ,
  • Let's run a virtual container in --privileged mode, so we can manage system resources from it

Seriously?

where_am_i ,

agree or disagree with facts and arguments.

Right now it's not clear if your reaction is pointed towards the privileged mode or towards its criticism.

MonkderDritte , (edited )

You don't support superposition yet?

...I mean, not running monitoring software as container, would be an idea.

ssm , in Stop use docker
@ssm@lemmy.sdf.org avatar

very cool and based; I take it you're a chroot fan?

where_am_i , in Stop use docker

Meh, this one is weak.

5714 , in Stop use docker

I don't like containerisation because it leads to bullshit like atomic distros. I don't want a spicy Android.

Steam OS has some cool elements like the menu, the in-game side panels and the game mode/desktop dichotomy, but incremental rolling release is utterly deranged from my POV as an Arch user (btw).

Reawake9179 ,

If stability is deranged then yes.

As someone having used Arch, stuff does break at times and Valve can't link a Wiki link with the fixes

5714 ,

Say Plasma "breaks" - a wiki will not help fast enough.

I'm not trying to defend rolling release for a gaming console, but give me at least the option to decide for myself whether I'm ok with breakage or not. There is this kernelspace NT driver that I wanted to try, but I couldn't because pacman is locked.

SpeakinTelnet ,

I'm currently trying Fedora Kinoite and from the get go the hassle of getting a proper Firefox+codecs to watch online videos feels like a major step back.

Then you have the issue of installing software in flatpack (is: vscode, texmaker) that are either not fully working of need to have their access tweaked. Atomic distros appeal is to "just work" it doesn't seem like it does.

embed_me ,
@embed_me@programming.dev avatar

Steam OS isn't an incremental rolling release, right?

Rainb0wSkeppy , in The only correct way to indent

intercal dosent support indentation with null bytes yet :(

tacosplease , in Stop use docker

I wish I understood this because it seems funny

HeapOfDogs ,

You ain't missing much

explodicle ,

Moral of the story: never make breaking changes. Always backwards compatible, always.

BigMikeInAustin ,

It's worked for Windows?

KinglyWeevil ,

When you're 90% of the market you get away with telling everyone else to suck your dick.

magic_lobster_party ,

It’s not that funny.

Docker is like a virtual machine, but you only run one specific program in it. About exactly what the meme describes.

gencha , in Stop use docker

Containers are a great way run applications.

Docker is a piece of garbage by a company way too far down the enshittification slide.

Snapz , in "Working with Gen AI" by Dandytoon

Except AI doesn't say "Is this it?"

It says, "This is it."

Without hesitation and while showing you a picture of a dog labeled cat.

werefreeatlast ,

I have vivid examples of how bad AI is a programming.

Passerby6497 ,

My favorite is when it just keeps giving you the exact same answer you keep telling it is wrong

kshade , in Stop use docker
@kshade@lemmy.world avatar

For real though, containerization isn't the only way to separate applications from each other but totally fine, it's the "It works on my machine, so here's my machine" mentality that doesn't fill me with confidence. I've seen too much barely-working jank in containers that probably only get updated when a new version of the containerized application itself is released.

pimeys ,
@pimeys@lemmy.nauk.io avatar

Nix user arrives to the room.

SeattleRain ,

Can you elaborate?

pimeys ,
@pimeys@lemmy.nauk.io avatar

Nix can build you a bit-to-bit exact environment for your app. It is a superior environment, but is hard to use in the beginning and users can feel snobby sometimes. It is awesome, but YMMV.

qaz ,

How do you separate Nix programs from the rest of the system?

pimeys ,
@pimeys@lemmy.nauk.io avatar

It creates a set of symlinks so every program sees exactly the dependencies it needs.

https://nixos.org/guides/nix-pills/09-automatic-runtime-dependencies#automatic-runtime-dependencies

You can also create a container:

https://nixos.wiki/wiki/NixOS_Containers

Or you can create reproducible docker containers with nix:

https://dev.to/anurag_vishwakarma/a-better-way-to-build-reproducible-docker-images-with-nix-2k59

The secret sauce with nix is reproducibility. If it builds once, it will continue building exactly like that forever. Bit by bit.

qaz ,

That's very interesting, I was aware of how NixOS separated dependency versions but I didn't know it natively supported containers.

thehatfox ,
@thehatfox@lemmy.world avatar

I like containers. But they do have a habit of nurturing cludgy temporary hacks into permanent infrastructure, by sweeping all the ugly bits under the big whale-shaped rug.

synae , in Stop use docker
@synae@lemmy.sdf.org avatar

Reject whale, join the kubernetes cluster.

We have fully automated gay space crashloopbackoff!

nickwitha_k ,

Absolutely the best kind of space crashloopbackoff.

jawa21 ,
@jawa21@lemmy.sdf.org avatar

It also has the superior theme song.

nickwitha_k ,

I both love and hate this so much. The performance and recording is incredible but any super tech nerdy parody just causes me immense internal cringe. I couldn't make it more than a third of the way through that and I love working with K8S.

some_guy , in Stop use docker

Why does this feel like it’s a flat-earth slide? I haven’t looked at any flat-earth propaganda, but I strongly suspect that it looks a lot like this.

That said, I’ll stick with my VMs regardless. I like simplicity.

lakemalcom10 ,
elgordino ,
Norgur ,
@Norgur@fedia.io avatar

Are VMs really simpler? I'd say no.

CodeBlooded ,
@CodeBlooded@programming.dev avatar

I was so relieved to never need VM’s again after discovering Docker.

Norgur ,
@Norgur@fedia.io avatar

The absurd waste of resources VMs bring.... LXC and Docker a godsend in that regard.

namingthingsiseasy ,

I would vote for docker as well. The last time I had to inherit a system that ran on virtual machines, it was quite a pain to figure out how the software was installed, what was where in the file system, and where all the configuration was coming from. Replicating that setup took months of preparation.

By contrast, with Docker, all your setup is documented. The commands that were used to install our software into the virtual machines and were long gone are present right there in the Docker file. And building the code? An even bigger win for Docker. In the VM project, the build environment for the C++ portion of our codebase was configured by about a dozen environment variables, none of which were documented. If it were built in Docker, all the necessary environment variables would have been right there in the build environment. Not to mention the build commands themselves would be there too, whereas with VMs, we would often have developers build locally and then copy it into the VM, which was terrible for reproducibility and onboarding new developers.

That said, this all comes down to execution - a well-managed VM system can easily be much better than a poorly managed Docker system. But in general, I feel that Docker tends to be easier to work with than a VM. While Docker is far from flawless, there are a lot more things that can make life harder with VMs, at least from my experience.

PoolloverNathan ,

Nix has flakes; nix run can contain pretty much all of the needed dependencies. If that's not enough, you can set up an entire container as a module.

Blackmist , in "Working with Gen AI" by Dandytoon

I guess whether it's worth it depends on whether you hate writing code or reading code the most.

anakin78z ,
@anakin78z@lemmy.world avatar

Is there anyone who likes reading code more than writing it?

Croquette ,

Probably a mathematician or physicist somewhere.

I hate reading the code I wrote two days ago.

monkeyman512 ,

Maybe if you wrote better code ...

/Jk

Croquette ,

I write better code everyday because yesterday code always looks bad haha.

Corbin ,

Your hands and wrists must not hurt yet. You'll eventually come to see writing code as tedium.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • kbinchat
  • All magazines