• 0 Posts
  • 1.03K Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle






  • Ah, that’s efficiency of use and depends more on how familiar you are with the software as well as the design and task. Like editing an image or video is going to be a lot easier with a gui than a command line interface (other than generating slop I guess).

    When people talk about how efficient software is, it’s usually referring more to the amount of resources it uses (including time) to run its processes.

    Eg an electron app is running a browser that is manipulating and rendering html elements running JavaScript (or other scripts/semi-compiled code). There is an interpreter that needs to process whatever code it is to do the manipulation and then an html renderer to turn that into an image to display on the screen. The interpreter and renderer run as machine code on the CPU, interacting with the window manager and the kernel.

    A native app doesn’t bother with the interpreter and html renderer and itself runs as machine code on the CPU and interacts with the window manager and kernel. This saves a bunch of memory, since there isn’t an intermediate html state that needs to be stored, and time by cutting out the interpreter and html render steps.







  • Ib4 “uNusEd RAm iS wAStEd RaM!”

    No, unused RAM keeps my PC running fast. I remember the days where accidentally hitting the windows key while in a game meant waiting a minute for it to swap the desktop pages in, only to have to swap the game pages back when you immediately click back into it, expecting it to either crash your computer or probably disconnect from whatever server you were connected to. Fuck that shit.


  • There isn’t anything fundamentally slower about using a GUI vs just text in a console. There’s more to draw but it scales linearly. The drawing things on the screen part isn’t the slow bit for slow programs. Well, it can be if it’s coded inefficiently, but there are plenty of programs with GUIs that are snappy… Like games, which generally draw even more complex things than your average GUI app.

    Slow apps are more likely because of an inefficient framework (like running in a web browser with heavy reliance on scripts rather than native code), inefficient algorithms that scale poorly, poor resource use, bad organization that results in doing the same operation more times than necessary, etc.



  • Most of the danger is on the pulling out side, so it makes more sense to do the harder ones for the safer part. Plus, when you’re parking, it’s easier for others to predict what you’re doing, whereas pulling out gives more opportunity for someone walking by the line of cars to be surprised. If you’re pulling out forwards, it’s trivial to see someone about to walk in your path. If you’re backing out, you might not even be able to see someone who is 1s away from stepping in your path, especially if they are coming from your blind side.




  • That’s no longer accurate, as there are plenty of authentic Chinese restaurants in areas with Chinese communities that aren’t just trying to get western locals to visit. The dim sum place I’ve been to didn’t even have much English on their menu and it really helped to have some colleagues present who knew Chinese (both the language and the food).

    Easily one of the best meals I’ve ever had, and I’m not usually a fan of the western chinese style.