Skip Navigation
Jump
Trump pledges to deport Haitians in Ohio city if elected
  • If Trump is allowed to carry out his deportation plans, he'll deport American citizens ("by accident"), I guarantee it.

    15
  • Jump
    MAGA scrambles to excuse Trump chickening out of second debate
  • Let me tell your about prizefighters...

    1
  • Jump
    The $700 PS5 Pro doesn’t come with a disc drive
  • Putting the 5 in PS5

    10
  • Jump
    When you left the phone charging overnight, but it was not plugged properly
  • Whenever I get some lint in my Android phone I just use my 100,000 PSI water cutter to spray a little water in there and it cleans the lint right out.

    3
  • Jump
    It did hurt, actually
  • Well shit. OP was right. That didn't work out very well for me.

    2
  • Jump
    Kids who use ChatGPT as a study assistant do worse on tests
  • I, like the OP, was also studying math from a textbook and using GPT4 to help clear things up. GPT4 caught an error in the textbook.

    The LLM doesn't have a theory of mind, it wont start over and try to explain a concept from a completely new angle, it mostly just repeats the same stuff over and over. Still, once I have figured something out, I can ask the LLM if my ideas are correct and it sometimes makes small corrections.

    Overall, most of my learning came from the textbook, and talking with the LLM about the concepts I had learned helped cement them in my brain. I didn't learn a whole lot from the LLM directly, but it was good enough to confirm what I learned from the textbook and sometimes correct mistakes.

    1
  • Jump
    It did hurt, actually
  • I don't believe you

    8
  • Jump
    Nothing is requiring employees to be in the office five days a week
  • Instead of a planned layoff, it's a layoff of random people, with a bias towards laying off the most capable.

    6
  • Jump
    BMW Adaptive Suspension Can Be Added via Subscription. Suspension As A Service (SAAS)
  • If all the cars are the same price I'll buy the one with the upgrade options and then not pay for them.

    2
  • Jump
    She Loves Him So Much
  • Mega Chonk

    17
  • Jump
    Google pulls the plug on uBlock Origin, leaving over 30 million Chrome users susceptible to intrusive ads
  • Anti-trust lawyers are rubbing their hands in anticipation.

    28
  • Jump
    WALZ REFERENCED THE COUCH-F****R MEME!
  • It's funny because JD Vance is overshadowing Trump. I see more talk about JD Vance than I do about Trump.

    Trump needs the hate and attention, his supporters like him because he is counter-culture. Trump is their guy in the fight. If that stops then Trump becomes just an old rich white guy. This is why Trump plays the victim card every speech and talks about all the attacks he's constantly suffering.

    7
  • Jump
    US senators claim car makers sold driver data for pennies
  • We're seeing more and more that our "free market" with its "competition" doesn't provide goods and services that most people want, which makes me wonder, why have free markets and competition?

    3
  • Jump
    Most consumers hate the idea of AI-generated customer service
  • This is how companies that don't have competition act. This is how most companies act. We need more anti-trust enforcement.

    37
  • Jump
    Biden at peace if he loses to Trump: "As long as I gave it my all"
  • I believe the full quote is "As long as I gave it my all, that's what this is about".

    I thought it was about who would be President and all that entails, but apparently is actually about Joe doing his personal best.

    4
  • Jump
    Arizona toddler rescued after getting trapped in a Tesla with a dead battery | The Model Y’s 12-volt battery, which powers things like the doors and windows, died
  • There was a time I wanted a Tesla, but I don't anymore. This is just another reason why.

    Does Tesla care about making a "neat thing" or do they care about making "a car that can drive me places". The doors clearly show they prioritize making a "neat thing", but I want a reliable car.

    Opening and closing doors was a solved problem. Somehow Tesla made it worse.

    70
  • Jump
    JavaScript
  • At least C++ build tools are easier than modern JS.

    3
  • Jump
    NASA finds humanity would totally fumble asteroid defense
  • 🎵 Don't wanna close my eyes 🎵

    4
  • Jump
    Pornhub to leave five more states over age-verification laws
  • There's also websites hosted in countries that don't care about US law. We can access those even without a VPN, for now...

    12
  • Jump
    Internet forums are disappearing because now it's all Reddit and Discord. And that's worrying.
  • Google doesn't index Discord, which means the billion dollar ad industry makes little effort to push their ads on Discord.

    2
  • Git repos have lots of write protected files in the .git directory, sometimes hundreds, and the default rm my_project_managed_by_git will prompt before deleting each write protected file. So, to actually delete my project I have to do rm -rf my_project_managed_by_git.

    Using rm -rf scares me. Is there a reasonable way to delete git repos without it?

    45
    github.com GitHub - benfred/py-spy: Sampling profiler for Python programs

    Sampling profiler for Python programs. Contribute to benfred/py-spy development by creating an account on GitHub.

    1

    I like most things I see about Godot, and I'm going to try making some games with it.

    Whenever I imagine programming a game though, I imagine the game logic and simulation being separate from the display. For instance, if I was to make a game like FTL, I would plan to simulate all the ship interactions and the movement of the characters purely in code, and then write a separate module to render that simulation. The simulation could be rendered with graphics, or with text, or whatever (of course, a text render wouldn't be human friendly, but could act as a dedicated server for some games, or I could use it for machine learning, etc).

    I'm not an expert at Godot, but it seems this mindset is not going to fit well into Godot. Is this correct? It seems like the same object that is responsible for tracking the players health is going to also be responsible for drawing that player on the screen and tracking their location on the screen, etc. Will my player class have to end up being a subclass of some complicated Godot class? (Also, I'm a fan of functional programming and don't always use a lot of classes if given the choice.)

    What are your thoughts about this. Would you recommend another engine? No other engine seem to be in the same sweet spot that Godot is currently in.

    1

    My first experience with Lemmy was thinking that the UI was beautiful, and lemmy.ml (the first instance I looked at) was asking people not to join because they already had 1500 users and were struggling to scale.

    1500 users just doesn't seem like much, it seems like the type of load you could handle with a Raspberry Pi in a dusty corner.

    Are the Lemmy servers struggling to scale because of the federation process / protocols?

    Maybe I underestimate how much compute goes into hosting user generated content? Users generate very little text, but uploading pictures takes more space. Users are generating millions of bytes of content and it's overloading computers that can handle billions of bytes with ease, what happened? Am I missing something here?

    Or maybe the code is just inefficient?

    Which brings me to the title's question: Does Lemmy benefit from using Rust? None of the problems I can imagine are related to code execution speed.

    If the federation process and protocols are inefficient, then everything is being built on sand. Popular protocols are hard to change. How often does the HTTP protocol change? Never. The language used for the code doesn't matter in this case.

    If the code is just inefficient, well, inefficient Rust is probably slower than efficient Python or JavaScript. Could the complexity of Rust have pushed the devs towards a simpler but less efficient solution that ends up being slower than garbage collected languages? I'm sure this has happened before, but I don't know anything about the Lemmy code.

    Or, again, maybe I'm just underestimating the amount of compute required to support 1500 users sharing a little bit of text and a few images?

    20
    www.joelonsoftware.com The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)

    Ever wonder about that mysterious Content-Type tag? You know, the one you’re supposed to put in HTML and you never quite know what it should be? Did you ever get an email from your friends in…

    2