Skip Navigation
20 years later, real-time Linux makes it to the kernel - really
  • Look what I just did:

    "In a real-time kernel, the trouble with using print_k (or similar logging functions) often revolves around potential disruptions to real-time performance. Here are some key issues:

    1. Blocking Behavior: print_k may block if the output buffer is full, leading to unpredictable delays in real-time tasks.

    2. Interrupt Context: Using logging functions within interrupt handlers can lead to priority inversion, causing lower-priority tasks to block higher-priority ones.

    3. Latency: Printing can introduce significant latency, which is detrimental in real-time systems that require deterministic timing.

    4. Context Switching: Frequent logging can increase context switching overhead, impacting overall system performance.

    5. Overhead: The computational overhead of formatting and outputting strings can interfere with time-sensitive operations.

    For these reasons, it’s typically recommended to use alternative methods, such as circular buffers for logging, or to minimize logging in real-time contexts.

    "

  • What. the. hell?
  • Tbf though this is non-lethal stuff. And I don't know that much about American police, but maybe it's not such a bad idea universities don't let them handle crowd control? I hear they don't have the best track record.

    (I get that in an ideal world universities shouldn't arm themselves against their students, but come on, Jeff from the economics department is a real douchebag, and ever since he has been hanging around with those extremists he is becoming more and more unhinged)

  • Vegan Nutella, made with chickpeas and rice syrup, to hit shelves
  • They're made by a local supermarket chain here in Europe, one of their organic brands. They use sunflower oil instead of palm oil, and taste fantastic. Apart from that, just sugar, hazelnuts, cocoa, lecithin and vanilla. Maybe check organic supermarkets in your area?

  • Who was the producer of the motorcycles of the French army in the First Indochina war?

    I tried duckduckgoing it for quite a bit and failed. Does anybody have an idea?

    10
    Donating a gaming PC, how can I let them try my games in a safe way?

    Hey guys,

    so I posted here a few weeks ago, with the idea of donating a gaming PC to a nursing home. I talked to someone in charge there today, this might actually happen.

    Thing is, to try this out I would probably have to supply the software (Microsoft Flight Simulator being the most important now.)

    As I understand it, you can only use the Flight Simulator with a Microsoft account. If I let them use my own account, that would mean a PC with my logged in account would be standing around there in the open, for anyone to access.

    Does anyone have any idea how to approach this in a safe manner? I wish I could just buy a physical copy and let them have it for a while, before they buy their own. But even those need a connected Microsoft account nowadays, it seems.

    Was also thinking of buying a used Xbox Series S (this might become the long term solution anyway), but same issue with the account, I believe.

    (Man, modern gaming keeps finding ways to be annoying sometimes.)

    P.S. If you have great game recommendations for octogenarians, bring them on!

    9
    Could a gaming PC be a good thing in a nursing home?

    Recently talked to a 90+ year old man in a park in front of his nursing home, guy is a former RC plane enthusiast. Can't do anything now because of his age, though. Bored all the time, sitting in the park is his highlight.

    Thinking of donating an old gaming PC that can somewhat run the Microsoft flight simulator. Would that be a good idea? Can the average 80-90 year old use that at all, just speaking sensorically and motor skill wise?

    Are there any other thoughts you have on that idea?

    28
    Does Microsoft have the power to pull the plug on Linux gaming?

    So I'm talking about playing previously Windows-only games on Linux, e.g. via proton.

    I don't know about the libraries etc that are used - is it possible for Microsoft to use some legal voodoo, for example, to suddenly end it all, and make the use of their libraries illegal (if they belong to Microsoft in the first place)?

    Or could there be other ways of interference?

    33
    You randomly get a hold of your colleague's phone. It's unlocked. You don't mind being fired. What sounds do you set as his notification and ring tones?

    I was thinking of something like the Duff Man theme and slapping sounds and moans, but I feel that Lemmy knows better.

    (Obviously, I would start texting and calling him during the next meeting)

    23
    What is it with companies ditching Denuvo?

    I've been reading the same thing a couple of times lately, company x removes Denuvo from game y.

    What is happening? Are we returning to a state of innocence and purity?

    5
    You finally made it

    Alright, your propaganda here over the past months has worked. I want to get into Star Trek. Where do I start? Can I take an abbreviated tour? Or do I need to go to TOS?

    9
    Meta: Requirement to post year of creation?

    Hello, I love this community, but I can't stand it that so many posts don't feature the year that the artwork was made. That's such important information, just to place that piece of art in context. Maybe it can be made a requirement to include the year? What do you think?

    8
    Alexa should react to short, weird sounds like glottal stops

    I think it's silly to speak in full sentences to home assistants, when I really just use 5 commands most of the time.

    It would be snappier to make weird sounds, produced by snapping ones tongue e.g., like some African tribes use in their languages.

    Or any other weird, short sounds.

    It might be more satisfying to use, and probably funnier.

    Also, over the course of a few years this might find its way into everyday spoken language. Which would be wonderfully dystopian and maybe funny.

    20
    Why are there so many apps that could be websites?

    Seriously. I don't want to install something on my phone when the dev is just using a WebView, if that's what it's called. When the app is basically just a website with the browser hidden.

    What's the reason for that? To attach the customer? To sell the app for money? Is there more ad revenue that way? Do you reach more people?

    (Are there any good reasons for it, too? Security, maybe?)

    98
    Is public transport in the USA owned by car makers?

    I once heard that in the middle of 20th century, public transportation in the USA was widely privatized and bought by automotive manufacturers, and then wilfully left to rot, so that people would buy more cars.

    However, I can't find anything backing that up. Do you know whether that's true, and where I can find some sources for that?

    14
    What's an alternative to Spotify that doesn't play you the same fucking songs over and over?

    I am in an intense love-hate relationship with Spotify. It makes good mixes for me, I have found a lot of great bands that way. BUT IT KEEPS REGURGITATING THE SAME SONGS IN THERE. I know about Song Radios and Artist Radios, so please don't recommend those. Smart Shuttle doesn't cut it, either.

    The best thing would be several randomness sliders. One for randomness in bands, the other for randnomness of their songs, one for genres. Please tell me some music service has implemented something like that. I am dying over here.

    117
    Would eating raw human brains make you high?

    With all the hormones and whatnot inside. Dopamine, adrenaline, melatonin, whatever. Also, there's this Hunter S. Thompson bit on the.. pineal gland?

    If it had an effect on you, wouldn't it be a really messed up high, all over the place? With uppers, downers etc mixed? (Not including the emotional implications of eating raw human brains.)

    73
    Play it for the first time now or wait for September?

    Hey there,

    so I was turned off by all the drama at launch and waited until now to buy the game. I hear major changes are going to come soon.

    So do you think it's a better idea to start playing it now, or wait for patch 1.7/2.0?

    13
    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/)SI
    sir_pronoun @lemmy.world
    Posts 19
    Comments 439