10,594 karma · joined Dec 4, 2013 (12y ago) · 4,862 submissions
comment 3y ago · link · parent
But first I'll start with a question: why don't you (and everybody else for that matter), run everything as root?
Why don't we all search our entire disks for every single executable and then execute chmod 777 on all of them? I mean: that'd make for a good XKCD...
If the idea is that it's game over anyway if there's a local exploit, we may as well just run everything as root right? Why even bother with sudo at all?
> Out of curiosity: What sensitive things does the root account protect on your workstation?
I'm one of those person using several user accounts on my own system. For example my professional account is separated from my personal account (and I do use both simultaneously). One of my browsers (I run several browsers) is in a throwaway user account: clean slate at every launch. Why not?
And a local exploit compromising one user account requires a second exploit to access what's in the other users accounts.
> The only thing root access would give somebody on my machine is to uninstall some random packages or corrupt my install.
Root access could allow the attacker to install a persistent backdoor which would be very hard to detect. Installing a persistent backdoor that can evade detection is incredibly harder to do if all you have is a local exploit.
I take a system on which I have more chances to detect that an exploit happened --even if the exploit did already happen-- any day over one with less chances to detect that an exploit happened.
And even if, for me, a local exploit means it may be too late for some stuff (although having U2F/webauthn and soon passkeys in many important places should limit damages), having a non-compromised root may allow me to detect a local exploit and share my findings with the community. Which has a lot of value too.
comment 3y ago · link · parent
The downside is that I allow "root SSH", contrarily to every single best practice out there. The upside... Well. Is that there's no "sudo" installed on my workstation.
I think no sudo even installed on the machine beats the "never allow root SSH" mantra but YMMV.
(to set up the system I install the system offline, from a Debian installation medium whose checksum and signature I've verified, do my thing as root on the workstation, set up the login using U2F from the laptop, then I "lock myself out" from login as root directly at the workstation by entering a password so long I'll never enter it, something like "neverenterthisrootpasswordanymoreusethelaptopu2fkeyinstead#$bey8rUtIopTY6"*. A bit of pain to enter twice but then I'm good to go)
comment 3y ago · link · parent
And, technically, how are they going to do that? Oh, wait, maybe the tech already exists, is already operational and is already used by other nation states? It may be a "feature" of all our Android and iOS smartphones.
BTW if it's not I don't know how France actually plans to implement that.
comment 3y ago · link · parent
In a great many chat (as in one-to-many group chat as in, say, IRC -- where the 'C' stands for "chat" btw) it's perfectly okay when people join and start with just "hello".
I think TFA meant to write: "please don't say just hello in PMs to coworkers".
Not all chats revolves around leveraging synergies to maximize shareholders value while at work.
comment 3y ago · link · parent
You're worth more than 1.3m? Anything above that is already taxed at 1.3 to 1.6% yearly. You're really rich? Be ready to gift 3.5% of your wealth yearly to the spanish state.
There's one million millionaire in Spain, already taxed like mad. I don't know if they could be taxed even more to give that 20K bonus.
One million millionaire to give 20 K to how many million of people? There are, what, about one million people turning 18 each year in Spain? (quick ballpark computation, one official source seems to say its closer to 500 K people turning 18 each year).
So let's take 500 K people turning 18 each year and one million millionaire. This means taking 10 K EUR, yearly, from each millionaire, to hand over to the 18 years old.
Sounds a bit unrealistic to me but then I'm not a politician begging for votes in the upcoming spanish elections.
comment 3y ago · link · parent
But it does no? Shellcheck can be configured to ignore SC by putting a "disable" directive in a config file or even as a comment in your Bash source file. It would work if it's always the same annoying warning / SCxxx message you get.
comment 3y ago · link · parent
The cost problem of the last mile is not for the 2 meters between the fiber router in the home and the living room. The issue with the "last mile" is that it used to be excessively expensive to lay fiber everywhere on the, literally, last mile outside people's home.
I could plug a network card with an SFP port and have actual "fiber to the desktop" for the last three meters at my place but I don't. I'm not sure that these three meters where I run ethernet are called a "last mile" (off by a factor of 530x calling 3 meters compared to a mile) ad mean I don't have FTTH or that the last mile ain't fiber.
> ... most residential bandwidth increasingly comes from wireless techs.
What good does it make to laptops and phones using WiFi if the router is doing 40 Mbps max over DSL? It's once you bump that DSL link to FTTH that suddenly all these wireless devices can enjoy much faster speeds. In all the countries I've lived in people at home used WiFi, even from their phone, instead of 4G because 4G means lots of $$$ / EUR.
I think you're underestimating the gigantic speed boost many people are enjoying thanks to fiber (and not thanks to 4G) now that they're having FTTH.
comment 3y ago · link · parent
And at my new place in Luxemburg I've got FTTH too.
Fiber to the home is becoming incredibly common in many countries.
My brother had fiber to the home in 2003 already... In Japan (Tokyo).
comment 3y ago · link · parent
Since then, for newer models, the manufacturer has moved the nav+infotainment to Apple's iOS CarPlay. I don't know if QNX is still used for other stuff (like reporting the oil level / warning messages etc.).
comment 3y ago · link · parent
This is spot on. And the lie kept being repeatedly sold by tech bros and streaming service who need to lower their cost as much as possible and are, in 2023, still unable to stream lossless music to their audience without losing too much money.
And the tech bros, for the love of tech, keep explaining you how "you cannot tell the difference so you may as well listen to the lossy song instead of the lossless one". But why? Fuck no. Just no. Why the heck would I listen to a 320 kbps mp3 when I can have something simpler and unarguably more correct?
Do I want to go to the Le Louvre museum and see a color print of Mona Lisa, made from a .jpg at 97% quality "because from 1 meter nobody can tell the difference"? For the love of tricking human's eye just as mp3 can trick human's ears? Just screw that mindset of disrespecting humans.
Now a case could be made that "CD audio" ain't "human" either but the CD audio format was created in 1979 (?), then commercialized in the early 80s. This was way before the real tech abuse started. It's an incredibly well conceived format and it's all I need.
"the original kind of tech bros science nerd need to separate from humanity and nature"
They are tricksters. They want to trick my eyes and my ears for the love of Rube-Goldberg algorithms and the complexity deity. They want to trick me behaviorally. They need to sell me ads. They need to track me.
I'm off ranting, I'll now go buy a few audio CDs. Early 80s tech, the best one.
comment 3y ago · link · parent
As to whether they're worth the addition trouble or not, I sure as heck don't know.
But it's definitely nothing out of the ordinary.
blobs = createBlob()
.withinRange(min,max)
.excluding(a,b,c)
.asArray()
There are variations, for example where only the last call actually creates, say, a Blob array and where every intermediate call produces something only allowing the next method to be called, so that the IDE autocompletes nearly everything for you and where you won't be able to compile if you miss a single call.Don't know if the following link is any good but "fluent interfaces" are 15 years old stuff at least by now I'd say:
https://java-design-patterns.com/patterns/fluentinterface/#e...
comment 3y ago · link · parent
But the Tesla Plaid ain't pretending to go after exotic supercars. It's pretending to be a luxury car.
A Porsche Panamera however starts at $97 K and you already get a very nice one for the $135 K the Plaid costs. And it's actually a luxury car: it's in another league of quietness (wind noise dominates on the highway and the Panamera is simply much better sound insulated), audio (try a Burmester + double-glazzed windows in a Panamera: it's 1000 Watts and 18 speakers of bliss), way more luxurious, way more comfortable, handles better, gives a much better feedback through the steering wheel, has higher quality material all over the interior, etc.
That's my issue with the Model S: it's a very expensive car and you've got not just a bit but way more luxurious cars in that price range.
Now there's the issue of TCO, image (some don't want to be seen in a Porsche but have no issue driving a $135 K Plaid for example), gasoline vs EV, etc.
All I'm saying is $135 K ain't cheap and for that amount you have actual luxury cars that do drive superbly available.
> I'll never go back
I'll never go back either ; )
comment 3y ago · link · parent
And it's not even that slow anymore compared to, say, starting the JVM in 2010.
Some numbers for those curious...
On modern hardware launching the JVM to run a program immediately exiting takes less than 100 ms (so does starting Emacs complete with its GUI and running some elisp code exiting Emacs: 80 ms on my Ryzen 7000 series including reading from the M.2 NVMe PCIe 4.0 x4 SSD).
It's once you start loading lots of classes that JVM startup time can be slow.
One example would be a Clojure program doing nothing besides exiting: thousands of Java classes being used and you get into 1.2 seconds territory to do nothing. 12x slower than a Java program doing nothing.
As a sidenote for both Java and Clojure there are now ways to reduce startup time, like using GraalVM (which, for example, Babashka, a natively compiled Clojure interpreter, making Clojure startup so fast it can be used for scripts).
> The JVM is really really good because at one point or another they had basically every luminary in the field working on it.
I agree. The JVM is an impressive piece of machinery and it'll even give you, say, an AIOOBE (ArrayIndexOutOfBoungsException) instead of an exploit if you fuck up.
comment 3y ago · link · parent
Last summer in Europe there's been 38C for weeks in several places/countries. I was on the Atlantic side (for once), not even much south, and had 38C. We were cycling daily (without electric assistance) to the beach, under the sun, and had zero AC at home. It was hot but nobody there died. I used my car once while the rest of the group was cycling because I wanted my car's AC and music but that's it. It was very hard to enter a water at 17C (Atlantic side, huge tides, very cold water there) while the temperature was 38C outside but besides that meh.
Is "100% humidity" a value that even make sense? Spain regularly gets 40C+. I lived in Spain about five months a year for five years straight. 35C is really common there.
So I don't get it: "You can die at 28C with 100% humidity". OK, I don't dispute that.
But where do you get 100% humidity?
For example Morocco / Marrakesh is 41C today. It's pretty normal there.
comment 3y ago · link · parent
I have no idea: does IB send the price feed in real time? (they certainly send the data in real-time to TWS as it constantly updates right? But is the order book available through their API?)
Basically and even though I know this was published on polygon.io's blog, would that work by only using IB / TWS's API?
comment 3y ago · link · parent
If it's not linear then the difference between a 4000 lbs car vs a 3000 lbs one is nothing compared to the damage done by a loaded 80 000 lbs truck.
What I notice, on european highways: it's always the rightmost lane that is deformed. The leftmost lane is never deformed. The aquaplanning risks due to water present in two bands on the lane is always on the rightmost lane. Always, always, always.
Why? Because the rightmost lane is the one trucks do use.
Where I live atm, in the middle of nowhere, there are two things deforming the road: heavy vehicles (I'm not talking about 4000 lbs cars here but tractors / trucks) and... Tree roots. Most of the patches made on the road are due to tree roots lifting the road's concrete.
comment 3y ago · link · parent
It's not: it's super quick, the fastest website I check on a daily basis, by very far. If only all the web could be like this!
Which is user tekmol 's point: "Hacker News is one of the most responsive websites I know. And it is run on a single server somewhere in the USA. While I am in Europe."
HN is great in the EU. If most of the pageloading is just the roundtrip, you've already won, no matter if your users are on the same continent as your unique server or not.
comment 3y ago · link · parent
https://en.wikipedia.org/wiki/Chaise_Longue_(Le_Corbusier)
There are many replicas and also "continuation" ones (IIUC modern ones but sold by those having the rights to the model). It's really comfy.
The "LC3" is seen in many films and places really (but to me not very practical):
https://en.wikipedia.org/wiki/Grand_Confort#/media/File:Loun...
So Le Corbusier for furnitures: sure... For buildings: I don't dig the style, way too brutalist too my taste.
comment 3y ago · link · parent
Same: a very lean Linux install with the Awesome WM, now running on a 7700X (NVMe PCIe 4.0 x4 SSD in my case). I also use one of the keyboard that comes stock with the lowest latency (and I bumped its polling rate because why not).
This feels not just a bit but very snappy.
comment 3y ago · link · parent
Nice one. I say something more aggressive like: "excuse me, I go back down to earth talking with doctors saving patients' lives and engineers creating the planes in which you fly!".
comment 3y ago · link · parent
> The forms simply don't make sense when you separate them from their religious context.
As a big reggae fan I totally disagree.
Although there's indeed a lot of roots reggae talking about Selassie and religion, there's also a huge lot of reggae that's not about that. There's even, to me, lots of actual roots reggae that is not about religion but about poor people's struggle.
Lots of reggae is also purely about ganga / smoking (Peter Tosh "Legalize it").
Stuff I listen to... Max Romeo's "Chase the Devil" (and many other Max Romeo songs), Ranking Dread "Superstar" (where he sings about... famous reggae singers), many reggae love songs (Marcia Griffiths "Hold me tight"), John Holt "Police in Helicopter", Horace Andy "Skylarking".
One of my all time favorite: Zap Pow "This is Reggae music". No religion. No poor people's struggle. Just pure reggae sound, with lyrics about... Reggae itself (it's an amazing one, check it out).
There's also more recent anti-consumerist reggae, like Mike Love "Permanent Holidays" (link because this is sooo good):
So yeah big disagree. Not all reggae is about religion, far from it.