My Dell XPS is my most hated computer. 90% stable with Ubuntu but that 10% really stings.
My Dell XPS is my most hated computer. 90% stable with Ubuntu but that 10% really stings.
Interesting project. Thanks for the share. Just saying Ansible is a more “general purpose” tool, almost a programming language, to configure most anything, not just desktop environments.
Not that it would eliminate every shell command but you should learn Ansible. This is what’s it’s built for.
This is the kind of AI they’re “celebrating”: https://en.m.wikipedia.org/wiki/AI-assisted_targeting_in_the_Gaza_Strip
Fucking deplorable.
How does “foo” mean “get”? Half the battle of writing correct code is writing code that’s easy to interpret. Do you always look at the guts of every function you’re about to use?
Don’t know but copyright holders have demonstrated a few cases where they got AI to blatantly rip off copyrighted pictures or music.
Another ridiculous policy I’ve seen (many years ago) is logging in too fast. I used to get locked out of my banks website all the time and I used autotype with KeePass so I was baffled when it wouldn’t get accepted. Eventually I had a thought to slow down the typing mechanism and suddenly I didn’t get locked out anymore.
I’m highly considering this as a daily driver. Docs need a bit more organization and not sure how big the community is but it checks a lot of boxes for me.
branching ≠ if ≠ conditional
They’re all related but can’t just be used interchangeably. “if” is a reserved keyword to indicate a specific syntax is expected. It’s not the semantics the author was trying to change, it’s the syntax, and the overall point is that you aren’t always required to use the specific “if” syntax to write code just like you’re not required to use “while” to achieve looping.
What’s the purpose of foo? Why an ambiguous single character variable? What if the property was there but the value was null? Why not use (assuming JS) optional chaining?
I’d approach it more like this:
function getWhatevrProp(userData) (
const default = { whatevr: "n/a" };
return { ...default, ...userData }.whatevr;
}
Sorry, read too fast the first time. It’s more likely Python. I also don’t know Python well enough to give recommendations on that.
Always love seeing the trope:
*writes awful code*
See! This is why this language sucks!
Usually it doesn’t solve my problems but it gives me a few places to start looking. I know some models are capable of this but to get a perfectly accurate and useful response would probably require it to recall a specific piece of input it was given and not just an “average” of the inputs.
To each their own. Some won’t like the repeating code and some won’t like the distributed logic (i.e. you have to read every if and if-else statement to know when the else takes effect). I think the use of booleans like isDriverClose
makes the repeated logic less messy and reduces inefficiency (if the compiler didn’t optimize for you).
It has conditionals not but actual if statements. Not really different in functionality but a more consistent style.
Hehe. COBOL doesn’t look too bad. Reads a bit like a person that’s never talked to another human being before.
If it’s closed source then it’s a losing battle to try and document code. I mean, do it when you feel it’s 100% necessary (e.g. complex code that you really can’t dumb down, “magic numbers” with a complicated backstory, test cases – it feels like that’s a different part of your brain so the transition is hard). Otherwise write code that almost reads like a sentence and don’t add complexity until you need it.
I’d agree with this recommendation. I believe there were multiple occasions where my router assigned a dynamic IP the same as some other reserved IP. Hard as hell to diagnose. Key indicator was that roughly half the packets were being lost.
What’s your Win 11 use case? If you don’t need native performance I’d recommend Linux and BTRFS for everything and run Win11 off a VM. Dual booting is fine but I’ve personally struggled with allotting the appropriate space for each partition.
Is turning anything into a bomb a good idea?
Wow. I might have the same model. What distro are you running?
I’m running Ubuntu Budgie Jellyfish. My biggest gripes are battery life and notifications (only low battery warning I get is the screen flickering 1 min before it dies at around 5% power), video (maybe once a month the screen will go black and I can’t do anything but hard reset), and Wi-Fi (5G connection is much more likely to drop than 2.4G if I’m between APs). Might be a bit of a lemon since I had to get the mobo replaced in like the first 2 weeks.