10,594 karma · joined Dec 4, 2013 (12y ago) · 4,861 submissions
comment 1y ago · link · parent
You can also force the browser to behave in "corporate" mode, where DNS requests are analyzed by the corporation (you in this case) to determine which domains can and which cannot be accessed by employees (you and your family in this case).
Here for Firefox:
https://support.mozilla.org/en-US/kb/firefox-dns-over-https
"This article describes DNS over HTTPS and how to enable, edit settings, or disable this feature."
Notice the "or disable this feature".
You change the "trr" value (trusted recursive resolver) and DoH is not supposed to happen anymore.
Setting the browser to not use DoH and blocking known DoH servers is great.
What I wonder is if can then easily configure my DNS resolver (I run unbound) to itself use DoH: I don't have anything against DoH. What I have something against is not being able to blocklist based on domain names.
comment 1y ago · link · parent
For example let's take french... A cat is a "chat" but you don't pronounced the 't'. Oh but in "chatte" (pussycat or pussy), you pronounce the t's. While in other words in french you pronounced the 't', like in "table" (yup, it means a table btw).
Speaking of which, the 'e' in "le chat" isn't pronounced the same as the mostly (but not entirely) silent 'e' in "table".
No diacritics on these 'e' here and yet they've got different pronunciations.
Don't come and say: "but that's only with silent letters". Definitely not. "elle" (she) and "le" (the)... Different pronunciation for these three e's.
I've got better: "les fils" (the sons) vs "les fils" (the cables). Exact same spelling. But in one you pronounce the 's', in the other you don't.
Wait, even better: "le fils" (the son) vs "les fils" (the sons). Same pronunciation for "fils", no plural or singular: just one word with a 's' at the end.
Stop romanticizing about french: it probably has more exceptions and weirdness than english.
And you probably don't want to get me started on the average reading and writing skills in elementary and secondary schools in France. It's in freefall so the whole point is kinda moot: the digital natives can't use diacritics properly in french. Heck, many can't even (and don't want to) speak proper french. The language is becoming simpler and simpler, dumber and dumber.
Source: I'm a native french speaker.
comment 1y ago · link · parent
People shall complain that it's a gas guzzler but 38 years old is easily twice the lifetime any EV shall ever see. I don't see that taken into account much when talking about the lifetime CO2 of cars.
I have nothing against EVs: tried a Porsche Taycan and loved it and someone I know has a little BYD (chinese) SUV and it's very fine car for its price.
But sadly EVs seems to rhyme with "we can (and shall) remotely modify your car's software" and that's very close from "we'll remotely disable your car for good at some point in the future, when we consider it's time to upgrade to a new model".
As for car mechanics: those at official dealerships seems mostly clueless. They read the diagnostic and the diagnostic says: "Replace the entire braking system for the front right wheel". While if you go to a proper, old-school, mechanic, the dude shall happily find what's wrong and replace only what's necessary.
Gearbox noisy? Under warranty? Leave us the car for a few days and we'll replace the entire gearbox. Been there with my daily.
They're not really car mechanics anymore: they just swap complete parts, following procedures written by the car engineers.
Meanwhile you go into a shop taking car of oldtimers and youngtimers and you still get to see the actual proper mechanics, who can troubleshoot and fix only what's necessary.
comment 1y ago · link · parent
It's an array of integers so it fits in memory (otherwise it wouldn't be called an array). As it fits in memory, n cannot be that big. I'd still ask for more requirements, TopCoder problem style: I want to know how big n can be that the array fits in memory.
I didn't know that XOR trick. My solution would be a bit arrays with n bits and two for loops: one to light each bit corresponding to a number and one for loop to find the missing number.
And if my bit array doesn't fit in memory, then neither does the array from the problem (and certainly not the HashSet etc.).
comment 1y ago · link · parent
I'm using Linux on the desktop since the early Slackware days, in the nineties.
The one thing that changed since then is that Linux now powers 500 of the world's Top 500 supercomputers and that's it. Wait, no, I forgot... It powers as well as billions if not tens of billions of phones, routers, servers, TVs, etc. It's in space, in cars, at sea, underground, etc.
It's typically also powering OCI containers, containers host, VMs, Kubernetes (even Talos is still Linux), etc.
Now of course the one thing that hasn't changed is the "This year is the year of Linux on the desktop" joke. But somehow, in the face of billions of devices running Linux, that joke doesn't have the same punch to it anymore.
What makes you think that an OS that basically now powers the entire world isn't suitable long term as a desktop OS?
It's become so easy to use Linux as a desktop OS that even my wife is on Debian: not exactly a "newbie friendly desktop distro".
Is the whole Gnome/KDE/Xorg/Wayland a mess? Sure is. And yet Linux is definitely here to stay.
Linux shall still exist, even on the desktop, long after I'm gone.
Linux is perfectly viable on the desktop.
comment 1y ago · link · parent
So out of nowhere both my brother and my wife, without concerting themselves (they don't live on the same continent), are now taking coding lessons. Not AI related: just learning to code in Python.
And suddenly I'm winning lots of cookie points: my wife realizes that coding is not something that's that simple and that it's really the coders who have it easy with AI.
As for the AI boom: it's another tool. I use it daily (and pay for it). But it's still just a tool.
Wake me up when 95% of Linux's kernel code is written by an AI.
comment 1y ago · link · parent
https://en.wikipedia.org/wiki/Das_Boot
And after reading TFA I can see it's the most voted one. I don't know if it's the most realistic one but, sheesh, does it feel claustrophobic and stressful!