Since when are contractors lower pay? Companies waste fortunes on them.
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...
They don't need to support Windows 10, they just need to not artificially block the installation of Windows 11 on old hardware.
Facebook and Google are the customers that use this feature.
Apparently. Does anyone know what they use it for?
Some suggestions:
- Declare
inputin the loop. That limits scope which is basically always a good idea. - Trim the newline like
let input = input.trim();
This is better in several ways:
- Simpler
- Doesn't allocate a new string.
- Removes all whitespace at the start and end.
- It makes
inputimmutable after that line.
Also attempts is never read - you should have got a compiler warning about that.
Otherwise, good work.
It's a Settlers 2 clone. It's deliberate.
Almost everyone uses Cargo. I think the only people that don't are Google and Facebook who will probably be using Bazel or Buck2. I think you're a bit confused about what Cargo is.
Yes because you used static type annotations. This thread was about code that doesn't use static types (or static type annotations/hints).
What you mean you can't easily tell what this is?
- foo:
-
- :
- bar:
baz: [
- -
]
Well, in fairness imagine if Guido did become a racist sexist arsehole. I don't think he should be immune.
But clearly this situation is not right.
What would you use instead?
FizzyOrange
0 post score0 comment score
Given the quality of your average Python code this sounds like a terrible idea.