[-] FizzyOrange@programming.dev 7 points 7 months ago

Hardware not working as well. Poor battery life. Worse game compatibility. Worse stability (yeah really). More bugs (yeah really; at this point Windows is quite a bit less buggy than Linux in my experience). More annoying to configure things / set things up usually.

Those are all only on average. Obviously there are times when Windows has bugs or sends you to the command line or fails to connect to WiFi or whatever... But by this point they're pretty rare.

I use Windows and Linux regularly and for Windows my complaints are:

  • If I leave my playstation controller plugged in the PC never sleeps. Took me a while to figure that out! Probably a driver bug.
  • That's actually it. I can't remember the last time the OS crashed.

For Linux:

  • Until I enabled a huge swap file whenever it ran out of physical ram it would hard reboot. This is just Linux's shitty memory management.
  • I recently installed a kernel update and now it hard freezes every week or two. I'm guessing a driver bug. Impossible to debug though.
  • Sometimes when I unplug the laptop while it's sleeping it gets confused and the only thing it responds to is the power button (it does a clean shutdown but that's still annoying).
  • Quite often the login screen freezes for a few seconds when I try to put my password in.
  • It asks me every time I plug my headphones in if they are headphones. Take a hint! Windows never asked that.
  • I set up a network to auto-connect to a VPN, then deleted that VPN. This confused the absolute bejesus out of it so it wouldn't even connect to WiFi. No error messages. Even dmesg only had some vague deauth message. Took me a long time to figure that out!

There's definitely more that I've forgotten.

In fairness this is Linux running on a shitty Dell laptop vs Windows running on a normal desktop. Still...

[-] FizzyOrange@programming.dev 7 points 9 months ago

They don't need to support Windows 10, they just need to not artificially block the installation of Windows 11 on old hardware.

[-] FizzyOrange@programming.dev 7 points 1 year ago

Some suggestions:

  1. Declare input in the loop. That limits scope which is basically always a good idea.
  2. Trim the newline like
let input = input.trim();

This is better in several ways:

  1. Simpler
  2. Doesn't allocate a new string.
  3. Removes all whitespace at the start and end.
  4. It makes input immutable after that line.

Also attempts is never read - you should have got a compiler warning about that.

Otherwise, good work.

[-] FizzyOrange@programming.dev 7 points 1 year ago

Kind of worthless video. Just speculates about how it works. They don't ever even show the app working!

These glasses aren't even AR so the idea that they can overlay details as shown in the mockups is impossible.

[-] FizzyOrange@programming.dev 7 points 1 year ago

What language are your apps written in? Generally the best options are:

  1. Qt (C++) or PyQt (Python wrapper if you hate yourself). Old school desktop GUI. Works extremely well though.
  2. Web based, then you can pick from a gazillion frameworks, most popular is React. You generally have a Typescript based frontend and a backend in whatever language you want. The downside is you have to deal with the frontend/backend communication which can be a pain.

There's also Flutter which is pretty nice, but again you have to use Dart for the GUI so if the rest of your app is in another language you'll have some friction.

But yeah, I would say the language you want to write your "business logic" in is the biggest factor to choosing. Also if you care about exposing your app over the web.

[-] FizzyOrange@programming.dev 7 points 1 year ago

That appears to not support comments. How they made that mistake after JSON is a mystery.

[-] FizzyOrange@programming.dev 7 points 1 year ago

Make sense. Firmware is also extra difficult to debug so it's nice to use a language that significantly reduces the amount of debugging you need to do.

[-] FizzyOrange@programming.dev 7 points 1 year ago

Sure there aren't many things that are universally loved. I mean I can't really think of anything that doesn't have some flaw.

But that doesn't mean everything is equal! What would you rather program with, Visual Basic or Go? PHP or Typescript? If you polled people there are obvious winners.

[-] FizzyOrange@programming.dev 7 points 1 year ago

What you mean you can't easily tell what this is?

- foo:
  -
  - :
    - bar:
      baz: [
        - -
      ]
[-] FizzyOrange@programming.dev 7 points 1 year ago

I haven't used one, but my guess would be they're fine if you're a "web browsing and email" sort, but most of us here probably aren't, and then you're going to have pain when you need to install some tool that expects to be installed globally, because so many pieces of open source software assume the "spew files all over /usr" installation method.

Feels like you'd be spending a lot of time fighting expectations in the same way that Nix has to.

[-] FizzyOrange@programming.dev 7 points 1 year ago

OMG they finally noticed how bad the REPL is. It's it going to let you paste indented code now?

[-] FizzyOrange@programming.dev 7 points 2 years ago

You should use python3 anyway not python. The latter is sometimes Python 3, sometimes Python 2 and sometimes doesn't exist. python3 works reliably, assuming you have it installed.

(And assuming you aren't using the official Windows Python installer, but that doesn't seem like the case here!)

view more: ‹ prev next ›

FizzyOrange

joined 2 years ago