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.

CaptainHowdy , in Stop use docker

If you’re doing it right, containers are less like VMs and more like cgroups. If orchestrated correctly it uses less system resources to run lots of services on a single system/node.

That said, I’m a devops/infrastructure/network professional and not a developer, so maybe I’m missing something from the dev experience… But I love containers.

Docker does kinda suck now, though. Use podman or another interface instead if you can help it.

skuzz ,

If done correctly, it also forces devs to write smaller more maintainable packages.

Big if though. I’ve seen many a terrible containerized monolithic app.

dan ,
@dan@upvote.au avatar

I’ve seen many a terrible containerized monolithic app.

I’ve seen plenty of self-hosters complain when an app needs multiple containers, to the point where people make unofficial containers containing everything. I used to get downvoted a LOT on Reddit when I commented saying that separating individual systems/daemons into separate containers is the best practice with Docker.

skuzz ,

Separate containers works like a dream when one app starts shitting the bed, gets auto-cycled, and everyone else just chills. Not surprised on the Reddit downvotes though. That place is so culty, especially now.

sum_yung_gai ,

Why is docker bad now and what makes pdoman better?

MonkderDritte ,

Docker vs Podman CVE

sum_yung_gai ,

I see but I do wonder if docker has so many more cves partly because it has way more users.

MonkderDritte ,

It seems that Podman is more lightweight. Less code = less errors. And there are some architectural differences. But i’m only googling stuff.

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

deleted_by_author

  • Loading...
  • 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.

    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?

    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.

    LeroyJenkins , in Explaining software development methods by flying to Mars

    I like how many devs this pissed off. this picture is whack tho wtf

    YourPrivatHater , in How I date

    I don’t have Netflix either but i know a thing or two about the internet…

    briggsyj , in JavaScript
    schnurrito , in COMEFROM

    TBH I fail to see the significant difference between this and a function declaration.

    sxan ,
    @sxan@midwest.social avatar

    Doesn’t it steal control flow? More like a break point, except you define where execution continues.

    I wonder if it’s a compile error to have multiple conflicting COMEFROM statements, or if it’s random, kind of like Go’s select statement.

    How awesome would it be to be able to steal the execution stack from arbitrary code; how much more awesome if it was indeterminate which of multiple conflicting COMEFROM frames received control! And if it included a state closure from the stolen frame?

    Now I want this.

    davidgro ,

    I wonder if it’s a compile error to have multiple conflicting COMEFROM statements

    I think there’s at least one INTERCAL implementation where that’s how you start multi-threading

    palordrolap ,

    I'd say it's more like setting up a handler for a callback, signal, interrupt or something along those lines.

    Function declarations by themselves don't usually do that. Something else has to tell the system to run that function whenever the correct state occurs.

    That doesn't account for unconditional come-froms.¸but I expect there'd have to be a label at the end of some code somewhere that would give a hint about shenanigans yet to occur. Frankly that'd be worse than a goto, but then, we knew that already.

    polonius-rex ,

    it's semantic

    at the end of the day everything boils down to sequence and branchifs

    magic_lobster_party ,
    print(A)
    print(B)
    hello: print(C)
    print(D)
    print(E)
    comefrom hello
    print(F)
    
    

    This will print A, B, C and then F. D and E will be skipped because of the comefrom.

    sudo ,

    Its like if subroutine bar could say its going to execute at line N of routine foo. But if you were just reading foo then you’d have no clue that it would happen.

    You can simulate this effect with bad inheritance patterns.

    Cethin ,

    A function will be called by code and go to that point in code. To implement functions, you store necessary things to memory and goto the function definition. To implement that with comefrom you’d have to have a list of all the places that need to call the function as comefroms before the function definition. It’d be a mess to read. We almost never care where we are coming from. We care where we’re going to. We want to say “call function foo” not “foo takes control at line x.”

    zqwzzle , in Someone escaped the Matrix

    Was woodworking another common one?

    marcos , in It's easier to remember the IPs of good DNSes, too.

    Ok, now I’m fully proposing a new standard, called IPv16! (Keeping with the tradition to jump over numbers.)

    Also, it will be fully backwards compatible for a change! That solves the largest complaint from the holdouts!

    AVincentInSpace ,

    IPv6 is already backwards compatible though. There’s a /96 of the IPv6 space (i.e. 32 bit addresses) specifically for tunneling IPv4 traffic, and existing applications and IPv4 servers Just Work™ on IPv6 only networks, assuming the host operating system and routing infrastructure know about the 6to4 protocol and are willing to play ball.

    I learned a lot about it from this video: www.youtube.com/watch?v=e-oLBOL0rDE

    Chadus_Maximus ,

    TBH 4 billion IP addresses is way too many. We should reduce that to 33 million for convenience.

    Zink ,

    Oh nice. Does your system FINALLY provide enough addreses for every Planck volume in the observable universe? It’s been frickin amateur hour, this internet thing.

    marcos ,

    No, sorry. It’s backwards compatible on address length too.

    BubbleMonkey , in Instructions were unclear:gotta be precise with that anotating tool

    I’m enjoying the idea of someone looking at the picture, looking at their cords, looking at the plugs, and then working this out as a solution rather than sending a picture of the plug end and port and asking for clarification.

    Like this person probably felt really stupid needing to sort out what’s going on, because it was just unclear, and I enjoy where they ended up all the same. It’s totally wrong, but it’s creative problem solving for sure.

    armchair_progamer , in Instructions were unclear:gotta be precise with that anotating tool
    graphito OP , (edited )
    @graphito@beehaw.org avatar

    I enjoyed this vid and as a contribution I’ll spare y’all loading 20 MB of youtube JS

    imgur embedhttps://i.imgur.com/xKWIWmE.mp4

    unexposedhazard ,

    And instead you gift us with

    Unable to load image from i.imgur.com

    user224 ,
    @user224@lemmy.sdf.org avatar

    Well, it works on my machine.

    ShepherdPie ,

    But we’re people not machines.

    Sir_Kevin ,
    @Sir_Kevin@lemmy.dbzer0.com avatar

    Works on Sync and it’s it’s hilarious!

    Vilian ,

    it work in the browser lol

    MonkderDritte ,

    Well, only about 15 MB of imgur JS instead.

    Sparky ,
    @Sparky@lemmy.blahaj.zone avatar
    graphito OP ,
    @graphito@beehaw.org avatar

    Love the label SMART SOLUTION

    Black616Angel , in Programming as a hobby means I can do whatever I want!

    Rust mentioned!

    Ballistic_86 , in Cupholder.exe

    An old fashioned meme but it checks out

    Fades , in University Students

    Reminds me of every fuckin PR I do for the Indian contractors that were sold to us as “senior devs” but write code like a junior and you better believe every other line has the most obvious fucking comment possible

    Shirasho ,

    Better than writing beginner level crap that is at the same time super cryptic and not documenting at all. We have a bunch of that in our codebase and it makes me wonder why these devs are writing extension methods for functionality already built into the standard libraries.

    Shirasho ,

    Better than writing beginner level crap that is at the same time super cryptic and not documenting at all. We have a bunch of that in our codebase and it makes me wonder why these devs are writing extension methods for functionality already built into the standard libraries.

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