• 5 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • This might sound a bit heretical, but you could carefully pick and match a variety of software and configuration to your individual needs, turning your tiling wm into a fully functional desktop environment, or you could just install a tiling wm into an existing desktop environment and get something useful with like ten percent of the work.
    I know that I have done the former multiple times, only to fall back to existing desktop environments again because it’s just a lot less work and often works better, since you don’t have to take care of getting things like screen sharing or media buttons to function.
    Especially LXQt and Xfce make it very easy to run a tiling window manager, but you can also find extensions/plugins for KDE or Gnome to make them tile. I’m personally running Gnome with the Pop Shell extension right now









  • I agree with the Runtime being slower. These days Android doesn’t technically use the JVM anymore but the Android Runtime, ART for short, that actually performs ahead of time compilation to native code for the byte code for increased performance. Still, the Java Runtime it implements is very heavy and comes with it’s own overhead, so native Android code written in Java/Kotlin is generally slower than native iOS code written in Objective C/Swift.

    The kernel architecture does influence more than just the hardware it can run on though. Microkernels for example are generally more secure but slower than monolithic kernels


  • Microkernels aren’t better per se than monolithic kernels. Their main advantage is increased security. Only a small portion of the Kernel actually runs in Ring 0, the most privileged level where the code has full access to the computer. Drivers and the like then technically run as separate, less privileged programs that interact with the kernels via messages. This greatly reduces the attack surface on the kernel and prevents crashes or memory access from a faulty driver.
    This comes at a cost though. While microkernels are generally more secure, they are also less performant. Each message means overhead and a context switch you don’t have in a monolithic kernel.
    The discussion between the two kernel types has been going on for the last thirty years and was famously the source for a long argument between Linus Torvalds, founder of the Linux Kernel and Andrew S Tannenbaum, creator of the Minix kernel.
    In the end the XNU kernel isn’t even a full microkernel, but a hybrid kernel, trying to take the best of both world by originally taking the Mach microkernel and then implementing the 4.3BSD monolithic kernel on top of it. There are even project to do the same with Linux, like L4Linux

    Overall the choice of kernel doesn’t hold Android back in comparison, Linux is an extremely capable piece of software that runs on anything from small microcontrollers to all of the world’s largest supercomputers. Though Google’s newest OS project, Fuchsia, actually uses a microkernel for increased security. And it doesn’t use Linux because of licensing, but that’s a whole other can of worms


  • Ramenator@lemmy.worldOPtoLemmy Bread@lemmy.worldMade some dinkel onion bread
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    10 months ago

    I honestly just threw it together, let me write down what I did:

    Ingredients

    • 450g Dinkel flour
    • 50g wheat flour
    • 400ml water
    • 1 packet dry yeast
    • 2 teaspoons salt
    • 1 teaspoon onion powder
    • 3-4 tablespoons of fried onions
    • A bit of milk

    Preparation

    • Mix the wheat flour with 250ml of the water and cook it in a pot til it forms a thick paste. Let that cool down
    • Mix the dinkel flour with the remaining 150ml of water, the yeast, salt and onion powder
    • While mixing slowly add the roux to the mix
    • Knead until you get a well developed dough, roughly ten to fifteen minutes
    • Put in the fried onions and knead until they are well dispersed
    • Cover and let rest at a warm place until doubled, roughly one hour
    • Put into a well floured Dutch oven, brush with milk, score it and put the lid on
    • Put the durch oven into the cold oven at 180°C without convection
    • Bake for 50 minutes
    • Remove the lid and let it bake for another 10 minutes until the top is nice and brown







  • That’s not really what that blog post is talking about. Lua isn’t actually particularly old as far as programming languages go and one of the most commonly used scripting languages in game development, due to it’s easy embeddability. And it’s a perfectly fine language in that regard.
    Their problem is that they built their own visual scripting language on top of Lua called BlockBuilder. And that comes with quite a bit of overhead, since the way they’re doing it needs a number of additional heavy operations. And Lua is a full blown programming language that comes with a lot of functionality that they don’t need for that use case, but still need to account for.
    So the complaint is, that they used Lua instead of using a simpler and constrained language


  • That’s a rather rose-colored view of the game. One thing is certainly true about Spore: It’s absolutely unique in its genre and we haven’t really seen the like since.
    But it certainly had its flaws when it came out. The main one being that the further into the game you got, the more lackluster it felt. With the space exploration endgame feeling rather empty and basically the same every playthrough, with how you developed your creature having very little impact.
    There was also the whole DRM controversy which everyone complained about. The game had to be activated via EAs online servers and you could only activate it five times total. And changing your PCs hardware was seen as a new PC which needed a new activation