10,590 karma · joined Dec 4, 2013 (12y ago) · 4,855 submissions
comment 4y ago · link · parent
This is magical.
I know I could configure/use it for more stuff so I'll study TFA.
comment 4y ago · link · parent
One can criticize Ethereum and crypto as much as he wants, Vitalik Buterin (the creator of Ethereum) seems someone to be driven by something he believes in and not by money. If you read his blog posts / Twitter feed / comments on issues / EIP etc. the dude is relentless.
comment 4y ago · link · parent
Not at all and I can turn that argument back: I know non-vaccinated people who stay at home and "evil" fully vaccinated people who go out. It is a fact that vaccinated people can still carry and transmit the virus.
It is also a fact that in the EU 40 to 60% of all ICU beds are filled with fully vaccinated people (40% in Spain atm but the number is going up, 50% in Belgium, 60% in the Netherlands, for example).
So evil, fully vaccinated (like me btw), people going out, spreading the virus, then falling ill and ending up on an ICU bed.
Do you really want to shame people like that? Because if we play that game, then I'll shame the vaccinated people who still have a social life: they do spread the virus.
How did these evil fully vaccinated people who are on ICU bed get the virus? Who did they give it too? Why didn't they stay at home / live less of a social life? They're putting an unnecessary burden on the healthcare system...
Countries like Gibraltar with 100% vaccination rate still just experienced a wave.
Same in Israel, one of the most vaccinated country on earth.
> Besides, it's in everyone's best interest to get vaccinated.
That is not clear at all. Why not lock down hard, very hard, the old and those known at risk why letting the virus circulate among the healthy population: this, and that is a known fact, creates a much better immunity than the one conferred by the "vaccine". The studies published showed 12x less risk to catch the Delta variant if you had had Covid before compared to someone who just had the shots.
If anything: maybe that that "vaccine" which still let people carry and spread the virus is part of the problem.
The problem is the old and those at risk have been sold a lie by politicians and big pharma: that by getting the vaccine they'd be safe. So they let their guards down and now they're fully vaccinated... on ICU beds.
comment 4y ago · link · parent
50% to 60% of all the people in ICU with covid related symptoms in the EU atm are fully vaccinated.
It's been lies from day one: "masks do not protect" then "masks are mandatory because they protect" (I don't know which one is correct but at least one is a lie), "you're a conspiracy theorist if you think there's any link between a virus research lab in Wuhan and the fact that the outbreak started there" then now "a lab escape is a possibility", then Fauci commited a crime by lying in front of congress (he then retracted himself after having been called out by senator Rand paul) "I had no idea there was gain of function research done in the Wuhan lab", then "we will never discriminate between vaccinated and non vaccinated people", etc. ad nauseam.
Then the mRNA vaccine (which I got) was sold us as major scientific discovery and as a panacea. Turns out that "vaccine" doesn't confer a long lasting immunity at all (otherwise there wouldn't be 50 to 60% of ICU beds in Europe filled with fully vaccinated people).
I don't think suppression is possible with a non-sterilizing vaccine. I think it's even less possible that it's even less possible with something that is called a "vaccine" but that isn't really one (Merriam-Webster recently changed, by sheer chance, the very definition of what a vaccine is, but I need time to adapt to the new definition).
The virus is here to stay and we won't get rid of it with snake oil (I'm not saying the mRNA Pfizer shots don't work at all, I'm saying their effectiveness is extermely limited seen that ICU beds are filled with vaccinated people).
comment 4y ago · link · parent
Hmmm. You "decompress" the compressed key (a compressed key is one only transmitted using its x coordinate) and when you decompress, you can have two points on the secp256k1 curve (these are the "two solutions" TFA mentions): which is precisely why you pass the parity bit to get the correct one. There are two points are are going to validate y * 2 = x * 3 + 7 (mod p). So they're both on the curve right?
Now all the Bitcoin/Ethereum docs says that the parity is there to speed up computation: I took it they meant by that that of the two potentially valid public keys, only one shall have fund of them and that's easy to verify. And only the one with funds on it can actually do anything.
So I do agree that you don't technically even need that one bit (it only speeds up computation) however I do disagree that only one point will be on the curve (for both y and -y (aka P - y) will be on the curve).
comment 4y ago · link · parent
Hand shakes are back too.
Or, well, they were before the Omicron variant.
Because seen that the vaccines either aren't working or are working for a very short duration of time (half the people in ER due to Covid are fully vaccinated), it looks like it's another round of lockdowns / scare tactics. The only clear thing is they're non-sterilizing vaccines: what's not even clear is if they're vaccines at all (I got my shots btw, but apparently I'm in the threadmill now for shots every 9 months...).
I don't know if people hugging / kissing / shaking hands can survive several years of pandemic fearmongering.
comment 4y ago · link · parent
Took me quite some head scratching to get working but it was nice when it eventually worked.
Tiny nitpick: "Hence, when compressing a point, an additional byte of data is used to distinguish the correct y-coordinate.". It's actually only one additional bit of data that is needed, not a full byte: all you need is the parity of the y-coordinate. Even though that one bit is often encoded in a full byte it's not always so: for example Ethereum, for a very long time, used transactions where the y-coordinate parity was encoded as a single bit, along with the "chain ID" (now with the latest protocols they're encoding the parity in a full byte, which is either 0x00 or 0x01).
It's really a tiny nitpick but there you go.
comment 5y ago · link · parent
When I write my own code I try to not get after the 100th column on the line though (and that is never 100 characters per line with all the indentation going on).
But in case I stumble on code with long lines, I'm still fine.
One should also not forget that some language some of use are forced to work with are incredibly verbose (a combination of culture, lack of type inference, the existence of every and any modifier under the sun, etc.).
ECPrivateKeyParameters privKey = new ECPrivateKeyParameters(privateKey, Sign.CURVE);
That's 84 character for you (not even counting leading indent characters) from BouncyCastle, the Java crypto library. Maybe you'll even want so slap a "private" modifier in front of that line.And that's not an hardcore example: this is relatively soft.
Now thankfully, like Linus, I don't think 80 characters-wide code makes any sense at all whatsoever in 2021 (not that I especially like verbose language btw).
comment 5y ago · link · parent
Heck, maybe have some helper when outputting error message doing something like:
log.error("Could not download fizbulator v3.21.4", ping-btw)
Where "ping-btw" would try a ping and add the message: "by the way ping to 4.2.2.1 didn't answer after 300 ms, maybe your connection is down?".Something like that.
comment 5y ago · link · parent
I somehow thought the company making the M-DISCs was dead but apparently Verbatim (and others) still sells BluRay discs labelled as "M-DISC" and they're compatible with many BluRay readers/writers.
comment 5y ago · link · parent
Barcelona is one of the most stressful, if not the most stressful city, to use public transport in in Europe. If anything it should serve as an example for other cities as to what to not do. Public transports are full of thieves and scammers. It is simply beyond belief. It is known that if you ever dare to retaliate when you catch people stealing you, it can quickly degenerate very badly... For you.
I don't want to hear the typical: "If you look like a local and know what not to do, you'll be fine". I want public transports to be very safe otherwise I won't use them.
Several people mentioned Tokyo already: I spent close to a year there. Now that is a city with working and safe public transports.
comment 5y ago · link · parent
Well... If your thing is really clicky, then indeed Topre may not be for you. I do like blues too and I used Model Ms for years (even way clickier than blues) before finding Topre switches. Clicky switches lovers are, I think, a category of their own.
comment 5y ago · link · parent
They are expensive though. I own three (I've got several computers and I take one with me when I travel) and I love them (daily driver since years and years and years: I can throw anything at them, they're rated for 150 million keypresses... per key) but... I do hate the pricepoint.
Just checking on Yahoo Japan for an HHKB Pro JP like I have: 40 800 JPY / 350 USD / 320 EUR.
Common... However good it is, it's still just a keyboard.
The criticism on the pricepoint / luxury item: I do agree with.
comment 5y ago · link · parent
Same... Once in a while I took all the keycaps off of my HHKBs and vaccuum clean everything, then clean everything using q-tips, clean all the keycaps one by one. They're looking close to new despite heavy years of daily usage.
comment 5y ago · link · parent
They are, to me, out of this world. They ruined me forever in that I'll never be able to use something else than a Topre. I've got lots of IBM Model Ms, several Cherry boards (including the ultimate Cherry MX brown: the split MX 5000), I worked for years (when I was doing typesetting) on the best keyboard Apple ever made (Apple Extended Keyboard II is the name I think, from the early 90s): it wasn't bad.
But Topre is the best thing that ever happened to keyboards: I don't know how to put it in any other way.
My only gripe is that there are so little models to chose from: all the enthusiasts making their own keyboards are using Cherry MX switches but it's not because they're better than Topre, it's because they have no choice. There are many MX switches to choose from, yet, to me, they're not anywhere near close the greatness of Topre.
I'd totally be in the "build your own keyboard" community if I could easily build one using Topre switches. Heck, I considered cutting two HHKB Pro JP in half each to build me a split one... (it's doable).
Regarding the noise: I'm that guy crazy enough to go live somewhere quiet. Not the city, not full rural either because I don't want to hear animal farms and tractors. I'm the crazy one who'll splurge $$$ to get a high-end luxury car only for the sound insulation.
I'm also one of those dinosaurs who know what it was it was like to type in a room full of IBM Model M terminal keyboards (or similar) hooked to an AS/400.
Topre switches aren't that loud: no need to apologize for coworkers (moreover there are different Topre switches, some of which are quieter than others).
I'm not saying it's for everybody but I do really think anyone who's never tried one should try: it may be the keyboard switch they'll use until their last day.
I know I'm not the only one who's tried everything that exists out there and settled on Topre for life.
comment 5y ago · link · parent
Around 2014 I looked, out of curiosity, into Ethereum and its EVM before Ethereum came out. Back then I even ran a node on... a Raspberry Pi (!). If I remember correctly even in 2014/2015, the official Ethereum client/node, written in Go, called "geth", was already using the term "web3" everywhere.
I'm not saying it's good or bad that people are using that term but all I'm saying is Ethereum using the term "web3" predates the "Metaverse" announcement by at least seven years IIRC.
It may be "en vogue" now but credit where it's due: Ethereum was using that term a long time ago already.
comment 5y ago · link · parent
In Emacs you have control over absolutely everything so, of course, you can mess it up. The solution however is very simple, trivial even: just version your entire Emacs config in Git. Screw up something? Checkout the last known working version. There are people even going as far as versioning their entire user directory under Git (not just Emacs but everthing). At the OS level there are people using NixOS: where everything is reproducible.
You make it sound like it's not possible to have a deterministic system. It's not just possible: it's very easy (any dev should know how to use Git to revert back to a working Emacs config).
> And I generally actually prefer using dedicated IDEs for languages.
Then try the JetBrains tools. It's leaps and bounds above anything MS has to offer.
comment 5y ago · link · parent
Which keys? OpenBSD / OpenSSH for example does now (since 2019?) encrypt SSH keys in RAM to prevent rowhammer like attacks. They're mixing the key with a huge "pre key" and an attacker would need to side-channel attack the entire pre key to be able to read the real SSH keys.
So it's not as if there was nothing that could be done to guard against this.
It may require changing lots of software/libraries but at least the security-conscious ones already started, without waiting for this "blacksmith" attack.
comment 5y ago · link · parent
What does that mean? Aren't all fonts using grey pixels for AA while pixels are, well, squares (or close enough)? I know about "sub-pixel AA" done using colors but I don't think they're referring to this.
Or do they mean that the font has no AA at all and is just one using regular pixels, all of the same colors? (FWIW I'm using a version of the Terminus font that does just that: "pixel perfect" rendering at several sizes, no AA)
comment 5y ago · link · parent
Ethereum was conceived to be ASIC-resistant from day one. They even considered making the coin resistant to GPU-mining but then changed their mind.
It's not that hard to be ASIC-resistant and seen that ETH GPU miners are still profitable to this date, they obviously succeeded in preventing ASICs from being economically doable to mine ETH.
> Also when they switch to pos how do they transfer your coins over?
Ethereum is already on PoS, but partially. At the moment mining is going on both chains: PoW and PoS. In a few months it's going to be PoS only. All the coins from the "old" PoW-only chain will still exist and be usable on the PoS-only chain.
comment 5y ago · link · parent
A bicycle which you can use without using the pedals is, to me, not the definition of a bicycle.
> Surely where they're allowed to operate, for example, should be based on things like speed and weight, rather than "whether or not the operator is moving their legs in a circular motion."
speed / weight and acceleration. But I'm still not sure about that. Bicycle lanes were made, at first, for people cycling. In European cities it's part of an overall move to be "greener": what's green about a vehicle with can be used without doing any exercise at all? You basically took the ICE engine of a motorbike and put instead an electric motor.
KTM (motorbike company) is already in to e-bike game. These companies are going to come and game the system as much as they can if limits aren't set: they'll otherwise build ultra light full-carbon e-bike with crazy fast acceleration and the selling point is going to be "It's a motorbike you can use in a bicycle lane".
I do honestly think saying: "if you don't need to pedal at all, it's not a bicycle and hence cannot use the bicycle lanes" (like they're apparently doing in the Netherlands) ain't a bad rule.
comment 5y ago · link · parent
I see the two as totally different things: I've tried pedal-assist e-bike and they're great. But... Although I have nothing against motorbikes I'm not cool at all with basically motorbikes getting a free pass because they're disguised as bicycles.
BTW this reminds me of the old french "Solex / VéloSolex": basically a real engine put on top of the front wheel, and able to accelerate by itself without the need to pedal. But the thing still had pedals. I used to use one and still have one in a garage. But I didn't use it on the bicycle lanes...
comment 5y ago · link · parent
I'm very lucky, in both cases, I didn't hit anything but the road. Especially not the car.
I still rode MX bike on tracks for a while then eventually quite entirely.
Now I've got a mountain bike and it's scary enough already!
comment 5y ago · link · parent
For generated CSS I had Emacs configured to generate the CSS on change and automatically update the "cache buster" token (just to be safe). Clojure(Script) with figwheel takes care of updating the webapp (in dev) on every change in the CSS dir. Really no issue there: everything is instant.
comment 5y ago · link · parent
You should better be very afraid of using spaces in filenames.
You should do everything you can to support them but you have to know you'll invariably encounter countless cases where you'll have this or that tool that won't work properly with them.
I still live in a world where I cannot name a song from the french group L'impératrice with an eacute in the filename or my car's media system will display garbage (it's running QNX and I don't know which filesystem).
FWIW, and it should be food for thought, every single Git repository in the world contains a pre-commit hook sample (disabled by default but it's there) that enforces that every committed file in the repo is named using a subset of ASCII characters.
Every Git repository in the world has that example: let that sink in.
comment 5y ago · link · parent
This one really boggles the mind indeed and I have a theory. But first basically: to me it's the same as saying, if you could have the real DaVinci's Gioconda painting at your home, "Look, I've got this 300 dpi color print of the Gioconda and I don't care, because from 10 meters away you cannot tell the difference". This, in itself, when you can save tens of thousands of songs in FLAC (CD quality) on a 1 TB is just seriously WTF.
But I think the reason people are still using mp3s when they could be using FLAC files is because there's an entire industry, operating at a loss, streaming non-CD quality. And they have to brainwash everybody into thinking lossy audio still makes sense in 2021.
Storage, however, is only going to get cheaper and cheaper. The mental gymnastics going to be needed in the upcoming years to keep arguing for mp3s over FLAC is going to be plain mindboggling.
I don't care if I can't consciously hear the difference. I still want the correct file/sound. I can put 60 000 songs at CD quality on a 1 TB stick / SSD. Soon we'll be able to put 600 000 songs at CD quality on memory sticks / SSDs. And you can bet you'll still have people nostalgic of Winamp and Napster explaining how mp3 makes perfect sense.
FLAC are also a bitperfect archival format btw, mp3 ain't.
I rip all my CDs (and I still collect CDs) to FLAC file.
The only time I convert to mp3 is because my car's media system reads mp3 but not FLAC: and when I need to convert I'm happy that I don't have a lossy format to start with.