Skip Navigation
Confederate railway gun captured by Union forces, US Civil War, 1864
  • Does that thing have a big turntable under there somewhere? Because from the photo, it looks like it can shoot in exactly or almost exactly the direction the rails happen to be pointing, and if you need to shoot somewhere more than two or three degrees to either side, you're SOL…

  • Smugly
  • After googling around for a bit, and then switching to duckduckgo instead (Google becomes aggressively unhelpful as soon as you have words like "ejaculated" in your query. Duckduckgo does the same thing, just not quite so much.), it seems the book in question might be "The tenant of Wildfell Hall" by Emily Brontë.

  • What is your favourite game with native Linux port?
  • Rimworld for me.

    (I have never tried Dwarf Fortress.)

    Honorable mention goes to War Thunder, while it isn't on of my favorites, I was still a bit blown away to find out it runs natively on Linux.

  • ‘Rape Room’ Coca-Cola Tycoon Vows to Ignore $900m Court Judgment
  • The guy is literally called "Alki". In my language, that's a short form for calling someone an alcoholic…

    Also, note that this saga has been going on for a while already. Here's an article from 2021 about this, also from the Daily Beast: https://www.thedailybeast.com/disgraced-billionaire-alki-david-says-he-faked-his-way-onto-the-rich-lists

    It looks like it's taking the courts quite some time to demonstrate that their judgment has any teeth when going against rich folk.

  • Electricity prices in France turn negative as renewable energy floods the grid
  • This is something that has been occasionally happening in Europe (at least in Germany, don't know about France) for well over 10 years now. Probably more like 15.

    What's sorely needed at this point is much more storage to make this energy available when it is needed instead of when it isn't. Before that happens, you cannot really decommission any gas or coal power plants, because you still need them during times of much less renewable production.

  • University Students
  • Writing good comments is an art form, and beginner programmers often struggle with it. They know comments mostly from their text books, where the comments explain what is happening to someone who doesn't yet know programming, and nobody has told them yet that that is not at all a useful commenting style outside of education. So that's how they use them. It usually ends up making the code harder to read, not easier.

    Later on, programmers will need to learn a few rules about comments, like:

    • Assume that whoever reads your code knows the programming language, the platform and the problem domain at least in general terms. You are not writing a teaching aid, you are writing presumably useful software.
    • Don't comment the obvious. (Aside from documentation comments for function/method/class signatures)
    • Don't comment what a line is doing. Instead, write your code, especially names for variables, constants, classes, functions, methods and so on, so that they produce talking code that needs no comments. Reserve the "what" style comments for where that just isn't possible.
    • Do comment the why. Tell the reader about your intentions and about big-picture issues. If an if-statement is hard to parse, write a corresponding if clause in plain English on top of it.
    • In some cases, comment the "why not", to keep maintenance programmers from falling in the same trap you already found.
  • MultiVersus is a Smash Bros. clone that feels like a smartphone game, spoiled by its monetisation
  • I wonder when, if ever, Warner Bros. Is going to learn that players are actively pushing back against corporate greed and live service games are already way past the limit of microtransactions that players deem acceptable.

    Some time after that actually happens.

    Yes, there are a lot of players in various social networks loudly complaining about the phenomenon (although I suspect many of those are not even in the target audience to begin with), and there are even some actively boycotting these games, but so long as there are enough of them left willing to play ball, and especially some with an exploitable addiction-prone personality that can be hooked on loot boxes and microtransactions until they spend more than they have, there just isn't anything for these companies here to "learn". Other than "hey, this is insanely profitable".

    They may get insulted on Xitter for it, but who cares, everybody gets insulted on Shitter…

  • Dreams of AI
  • You don't need "AI" for that. All you would need is some standardized APIs for the various shops, and you could easily solve this with computer technology from 20 years ago.

  • Photon UI does not work in Firefox 122 on Linux

    The photon UI under photon.lemmy.world does not work for me in Firefox 122 under Linux, showing nothing but blank page when I open it. It works in Chromium and in Firefox on Android.

    When I open the developer console, I get the following error message:

    Uncaught (in promise) TypeError: e.moderation is undefined

    10
    SNOOcalypse - document, discuss, and promote the downfall of Reddit. @lemmy.ml waigl @lemmy.world
    A major subreddit, r/pics, seems to have gone back on the blackout
    www.reddit.com r/pics

    r/pics: A place for media featuring John Oliver.

    r/pics

    It is read-only, no new submissions allowed, but it is no longer private.

    3
    How does i2p compare to tor?

    It seems like what i2p is doing largely overlaps with what tor does. How do the two compare, and why would you use one over the other?

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)WA
    waigl @lemmy.world
    Posts 23
    Comments 197