Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,589 karma · joined Dec 4, 2013 (12y ago) · 4,854 submissions

email: I'll add a suitable email one of these days
Submissions

comment 5y ago · link · parent

Oh the hilarity of that one... French people like to joke about belgian people being fries eater: anytime I hear that kind of joke I ask the french person "Do you know what 'frites' are called in most of the world and how they'll be called for posterity?".

The irony (as in "ironie du sort" / twist of fate) and the poetic justice of that one is plain delicious: the french have long made fun of the belgian for being fries eater, but the fate of the french is that fries in english are forever going to be known as french fries.

It cracks me up to no end : )

comment 5y ago · link · parent

Interesting comment!

Note that there are cryptographers out there working on blockchains that are quantum resistant: David Chaum for example and its "xx" blockchain (which is still in beta but already has a few hundreds nodes running).

comment 5y ago · link · parent

> ... social media and instant messaging giants of the world are incentivised to prefer the captive user over the paying user.

What's the incentive though? That approximately zero user would ever pay for a social media or messaging app? I think they simply have no other viable business model whatsoever.

comment 5y ago · link · parent

> Oh wait... Good desktop software needs all that too...

Are you saying it's not possible to have good desktop software on Linux? Users of JetBrains' IntelliJ IDEA and users of, say, Blender, are going to disagree (for example).

comment 5y ago · link · parent

> Easy answer, UNIX mass adoption.

On Unix mass adoption...

My best friend (and still best friend to this day) in the early 90s had an SGI Indy at home (his stepfather happened to be the director of SGI Benelux) and so I got to play with one of the earliest SGI Indy. What a machine to have, for teenagers into computing, at home in the early nineties!

The shock, the world of difference between a beige box running MS-DOS / Windows 3.1 and stuff like (Turbo) Pascal compared to that amazing SGI workstation...

I saw the future, I saw "my" future when I got to play on that SGI Indy. And then when I discovered Linux (back when it was shipping on a CD attacked to a book/magazine) I got to transform my MS/Windows beige PC into a (modest) Un*x station and never looked back (I'm using Linux daily since that day).

I don't have bad memories of programming in Pascal but both Pascal and Delphi felt, to me, like deeply attached to the MS ecosystem and a bit toy'ish (making it easy to do easy things, but very hard to make anything a bit advanced).

As soon as I found a way out of the MS world I was out and so I was done with Pascal/Delphi.

comment 5y ago · link · parent

But something like 99.9% (guesstimate) of the RH users happen to have long positions opened. So they're allowing something to the tune 99.9% of longs to close by selling, and 0.1% of shorts to close by buying (I take it the big shorters like Melvin Capital aren't shorting on RH).

This is so close to "allowing sells but not buys" that it is blatant market manipulation.

comment 5y ago · link · parent

> ... letting an user deny the password change with the old password is pretty horrible in case the password was leaked.

That's a different threat: an attacker knowing your password. Well... How do websites that allow instant credentials resets by email typically deal with a password reset asked by someone who knows the current password? Instant change too ("enter your current password / enter your new password twice"). And the good guy is locked out of his own account. I don't see how it's worse than that.

comment 5y ago · link · parent

> The next time you forget a password and need to reset it, how likely are you to be willing to wait three days?

10 minutes like others suggested is way too short that said: this wouldn't catch attacks happening at night.

But to answer your question: it really depends what it is that you are protecting. For most sites I use by very far I don't see how 72 hours without access would be that problematic. Not logged in to StackOverflow for 3 days? Not a problem. Not logged in to HN for 3 days? Not a problem. Not logged in to Twitter for 3 days? I can live with that. Etc.

The question is: how much convenience are you willing to trade for security?

comment 5y ago · link · parent

> However, there is a route on dev that can show email content to CMs and they use this to obtain the magic link used to reset credentials

So many sites do this: allowing major changes to be effective immediately (like resetting credentials/password) by simply opening a "magic link" sent by email.

I think that this "immediately" is a major security antipattern.

I prefer it when such changes have a "cooldown" period of, say, 72 hours, during which the change is "ongoing" but not effective yet and during which the user can veto the change (say by either login on the site, where they'd then get a warning that a major configuration change is ongoing, and denying the change on the site or by opening another "magic link", sent by email, which allows to deny the change).

It's not a perfect solution but it stops so many of these oh-so-common attacks dead in their tracks.

Because there's a big difference between being able to read an email meant to someone (as happened here, on the server side) and being able to prevent a legit user from receiving emails while also being able to prevent that legit user from login onto a website with its correct credentials.

comment 5y ago · link · parent

> I’m just observing reality.

Well me too and... Even before this recent WhatsApp fiasco I noticed that some parents are using Telegram at the school where my kid goes. Out of 24 kids in my kid's class, there are 3 families which I know for sure have Telegram (I don't have contact with all of the parents so I don't know).

And I think Telegram is reporting more than, what, 500M users by now? If it's true, it's definitely a sizeable dent in WhatsApp's market share. It may not be 2B+, but 500M is quite something.

The thing is: users are not loyal at all. Telegram or Signal or others are a click or two away: it's neither hard to find/install nor to use.

I really wouldn't be surprised to see a bigger shift some day once more people begin to realize that "WhatsApp = FB" (many don't like FB but have no idea WhatsApp belongs to FB).

comment 5y ago · link · parent

I don't think it's useless at all in that Japan is one of the hardest country on earth to get citizenship.

I've got family in Japan. All you need to do is to go to Japan to see that it's very "japanese".

You can get residency semi-easily but getting citizenship is extremely hard.

It's not the EU or the US where a huge lot of "foreigners" can become citizen.

comment 5y ago · link · parent

You could though probably make a wrapper that only kicks in when dd is called from the command line (as opposed to, say, from a script or some GUI program) and asking a confirmation "Do you really want to overwrite your main drive?", without breaking backward compatibility?

I have written a few wrappers like that on my own system preventing me from making a few common mistakes of mine (like scp'ing a file locally to a filename ressembling an IP address instead of on a remote server ;)

comment 5y ago · link · parent

That said I remember a roommate erasing it's Windows "C:" drive using Ghost (that is "Ghost" before Norton bought it).

No later than yesterday I copied my wife's entire (Windows 8.1) HDD to an SSD using the free (GUI) version of "Macrium Reflect". I'm pretty sure you can make the exact same mistake: copying destination unto source instead of the contratry. I used a Windows software and not DD for it was a Windows computer and I didn't feel like booting a live Linux CD to do the dump but under Linux, I always use dd.

Is it really that hard to learn that in dd the 'i' in "if" means "input" and that the 'o' in "of" means "output"?

The problem with "making things simple using a GUI" is that you typically totally lose the ability to do not just advanced things but even "average" things. For example for read-only media I always write the checksum on the media itself, using a sharpie. That way I can easily verify that my disk (or the copy) is ok doing a dd and piping into sha256sum (there are some gotchas to keep in mind but it works fine when you know how to do it).

Like, say, a Debian install ISO. I like to have these on read-only medium and make sure the checksum matches the official one (so I prefer a write-once / read-only DVD than a read/write memory stick).

How do you that with the GUI? Piping into a cryptographic hash?

I can understand that people prefer GUI over command line for many things but I think that people imaging entire disks are at least power users and can learn the difference between "input" and "output". Heck, maybe it's even doing them a service to teach them to use the CLI. Maybe it's the opportunity to teach them about piping, about cryptographic hashes, etc.

And once again: you can totally screw up with a GUI too.

I don't mean it in a bad way at all but... Linux on the desktop (which I use since 20 years) ain't exactly enjoying a huge market share compared to Windows or OS X and I think that's fine. If a Linux user cannot or isn't willing to learn dd, maybe that user is better served by Windows or OS X. And really: I don't mean it in a bad way. I don't think Linux has to "win" the Desktop war. I don't think it's wrong not to use Linux.

But I do think it's wrong to believe users willing to learn Linux cannot learn the difference between input and ouptut.

Also a strong case can be made that someone for whom it's a "disaster" to overwrite it's main drive is one hard disk failure away from disaster anyway.

I'm for educating users, not baby-feeding them with tools that are going to keep them in the dark and reinforce their bad practices (like not doing proper backups and hence being "one hard drive failure" away from disaster).

comment 5y ago · link · parent

I used to cat dd into "pv" : )

comment 5y ago · link · parent

Don't know if it can help but... If it's Audio CDs the problem is kinda solved in that you can make sure you extract a bit-perfect copy by verifying the checksum with the checksums of other people who extracted the same CD. Even though the Audio CD format tried to make it "hard" to rip in a bit-perfect way, it's done precisely like that since years and years.

There's a community of people ripping Audio CD to flac file and making sure all their rips are bit-perfect.

I've ripped my own collection and used, as far as I remember, "whipper" on Fedora Linux (for whatever reason I couldn't make that software work on Debian back then). After ripping a track/CD the software would automatically verify the checksum with an online DB of rips.

You say you can't use proprietary solution: as far as I know there are several free rippers on Linux and the online DB of checksum isn't proprietary either (?).

In case you rip with an error, it's near impossible that someone else who ripped the CD would have read exactly the same error and end up with the same checksum.

Now: for all the audio CDs I tried there was at least one other person who had already ripped it but it's not always the case. For example I've read about some collection of classical music CDs coming in pack of 300 CDs (!) and nobody had bothered, at home, to rip them / to share the checksum.

But it can already help for all the "common" CDs you own.

comment 5y ago · link · parent

> A good website will ask for 2FA again if a user tries to do something destructive (like change password, email, or disable 2FA). They wouldn’t be able to do those things.

The page mocking the login page where you need to answer the 2FA will simply phish your 2FA then, after a little delay pretending there's some lag, would say "wrong code, please try again". Now the person enters a second 2FA (which, due to the delay, would be different than the first one).

As I've just commented in a top-level comment: I've seen sites using a 72 hours delay before any destructive change can be made, coupled with the sending of an email containing a link allowing to unilaterally prevent the change.

I've also seen sites using two 2FA (TOTP style), one for login, one for any setup/destructive change. And there are sites using both techniques.

It's not 100% foolproof but it's better than "one 2FA phished and it's game over".

comment 5y ago · link · parent

Although I agree that 2FA like Google Auth/Authy/etc. doesn't authentify the site, I'd like to comment on this:

> Then the fake site uses your real token and logs in as you. > > Game Over.

Depending on how the site's security work, it's not totally game over. I've seen sites, optionally (you still have to turn the feature on), requiring a 72 hours delay before any setup change is taken into account (like, say, a password change). During this time a warning is sent by email and you can at any time during these 72 hours, unilaterally, prevent the change from happening.

So it may be "game over" in that the attacker can login and see all you account/activity/data (which, yes, is really bad) but it's not totally "game over" as in it doesn't mean "logged out of your account" (unless the attacker also compromised your email ofc, but now we're talking about something else).

comment 5y ago · link · parent

What many people believe is that there's not anywhere near the demand to justify a 35 K USD price and that's it's tether printing which pumped the price of BTC to these levels.

So if the tether printing press stops, the price would crash back to 3K USD or something in a hurry.

Crypto investors/gamblers concerned about tether/USDT already own zero USDT. What they're concerned about is that it would take the entire crypto market down.

Now on the very short term it may cause a BTC price spike: should it be true and USDT going down a lot, people hodling them may desperately try to get out and buy any BTC they can, shortly raising BTC's price.

But if tether is the reason the BTC price is so high, it won't take long before "zero new issuance of USDT to pump the price" would totally crash the market.

In any case it's an interesting story to follow...

comment 5y ago · link · parent

Great article "cryptoanonymous" (welcome to HN btw): really lots of information in there but...

Aren't you writing this because now that you could get out and got the (real) USD on your bank account, you actually want the price to crash very badly to buy much more coins?

If the price were to crash back to, say, 3K USD, wouldn't you be tempted to put a few millions back in and ride to 15K and more again?

comment 5y ago · link · parent

> Europe has some successful international projects like CERN or Airbus. Besides, what are the other options?

If we have to go back to mentioning Airbus (1970) and CERN (1954) to find successful European projects, I think this show how big of a serious problem there is in Europe no!?

P.S: a lot of the young in Europe are learning english because they want to get the f--- out the EU as soon as they can. I'm european and I'm raising my kid in a british college since years for that very reason.

comment 6y ago · link · parent

I've been out of the smartphone app for a while (was there in the Symbian / J2ME days and in the early iPhone days though) but...

I take it it's now legal according to Apple's term? Because IIRC there used to be (and maybe still is, but it doesn't look like it) an issue regarding generated code / automated porting tools for iOS? I think I remember it was a concern for people making tools allowing to do automated cross-platform porting to a variety of platform.

If anyone knows/remember what I'm talking about and where the situation's at atm, don't hesitate to chime in and tell me when things changed or what I remember wrong.

comment 6y ago · link · parent

So the bad guys used a public ledger (Bitcoin) to get paid? Why aren't the hackers asking for cryptocurrencies using zero-knowledge proofs like ZCash or Monero? Bitcoin? What's their plan next?

I'm not saying you can't get away with this (there are coin "mixers" and decentralized exchanges) but still, this leaves lots of traces left and right.

For example we saw a lot of people getting busted recently while they thought they were smart using cryptocurrencies, including a money launderer ring... And they were using mixers, decentralized exchanges, people located overal several countries/continents and whatnots if I recall correctly. Yet: all busted.

For all we known in six months the headline could be: "Hackers who extorted 1.14M USD from UCSF arrested by Interpol"

Besides that: what happened to offline backups? How exactly are hackers coming for cloned, unplugged, HDDs/SSDs stored on shelves / bank safes? (I know several companies doing just that as offline backups)

I hope this serves as a wake up call to companies/institutions either not doing backup properly or outsourcing to incompetent companies not doing backups properly (the latter being not really excusable).

comment 6y ago · link · parent

It's not a solution (you really shouldn't drive when you're sleepy) but a great many modern cars will warn you if you slowly quit your lane without having used your blinkers first, which is typically what happens when someone get sleepy while driving (slowly drifting out of your lane on the highway). My wife's little Toyota CH-R does just that: it tries to correct the car's trajectory, does give feedback both through vibration (in the steering wheel) and through an audio signal.

I think it's more realistic to settle for that kind of features than to wait for a real 100% complete autopilot.

comment 6y ago · link · parent

No TV allowed in our house (it's unrelated to ads: they didn't exist on TVs back when we decided to outlaw TVs at home).

I'm using something which is arguably both cheaper, bigger and gives more of a "cinema" feeling: a 1080p projector.

4K projector can be pricey, but there are a huge lot of very reasonably priced 1080p projectors. Just make sure to find one which is compatible with the size of your room (mine is in a big living room, so the smaller models weren't fit).

It's hooked to the system ceiling. If you don't like that look you can put them in a trap that comes down or use one of the newer, fancier, "short throw" ones.

The diagonal I have (for a few hundred bucks: 400 EUR IIRC) is something silly like about 350cm/138inches. Movies, sports, video streaming (Youtube or similar), ...

In my case it's the best solution: I love the theater feeling a projector gives and I definitely and positively hate the sharp and crisp pictures all these new TVs do give. Every time I see one at a friend I simply cannot stand the experience. And inversely: when friends come at home they're always impressed by how good the picture is from my cheap 1080p projector. I didn't even bother with the wall: I just project the picture on a regular blank wall. I didn't even make the wall perfectly flat: I just painted it white myself (and not even with a projector-specific paint: I had no idea these existed when I painted the wall).

It's getting used everyday since two years (had a 720p before that) and lamp use ain't even a concern.

As a bonus it's still trivial to find projectors without microphone listening to you 24/7 and which aren't sniffing on the HDMI ports.

Now I don't doubt that in the future we'll be graced with no other choice but "smart AI projectors", but that day hasn't arrived yet.

comment 6y ago · link · parent

I fully agree. It's really sad. I don't have a high DPI screen (just a 38" doing 3840x1600, but using a "regular" pixel-size, not a retina display) and I'm using a "pixel perfect" font for coding, no AA (a modified version Terminus I made myself, with inspiration from the Monaco font for some glyphs).

You're not alone but we are a dying breed.

comment 6y ago · link · parent

I'm very surprised to see it often mentioned that NVMe M.2 vs SATA ain't noticeable. Because when I switched from a SATA to a Samsung 950 Pro (5 years ago) and latter on to a 970, it was a gigantic speed boost. The difference was, to me, very noticeable. Now I'm a software dev and do compilation and sometimes "work with files" but it's neither a server nor a simulation rig. Just a "normal software dev" setup.

Now I do stuff like doing grep (well, ripgrep really) on an entire home dir, compute often hashes of files and things which may not be considered "regular use cases" but which I think are still "regular" or at least semi-regular when doing software development.

To me PCIe 3.0 x4 (or now 4.0 x4 I guess) NVMe M.2 vs SATA is day and night.

comment 6y ago · link · parent

What about the one who shall notice an off-by-one error?

comment 6y ago · link · parent

What about the study in Spain from a few days ago (I'm in Spain atm and it's kinda big news over here), at the Reina Sofia University Hospital in Córdoba, where they just announced the results of the randomized blind controlled trial and the results are incredible: 1 person out of 50 who got huge doses of vitamin D for a few days after arriving at the hospital with Covid-19 symptoms ended up in the ICU, where 13 out of 26 who didn't get any vitamin D ended up in the ICU? It's "only" 76 people but it's 2% vs 50%.

It was a blind study (AFAICT): patients had no idea whether they got vit D or not and patients got randomly selected.

Here's a doctor's analysis of that study:

https://youtu.be/V8Ks9fUh2k8

comment 6y ago · link · parent

> I also think travelling by car is a safer option, both for me and others around me.

I thought about it because I'll need to drive a long drive in two days (across France). I'm taking throwaway gloves with me...

Inside the car I'll be fine (and people outside the car too) but...

A gas station has to be one of the riskiest place to catch the virus because you are forced to touch the gas pump. And that's the same for everybody who just filled his car. Same with electric chargers for EVs. Anyone with the virus would cough, while driving, and the virus would be on one of his hand. Then that person would fill the car. Then the virus would stay there for hours?

It's a combination of two things: a great many people passing there and all these people being forced to touch something hundreds of people recently touched too. Hence the throwaway gloves.

Not to mention that if anyone in a car has the virus, it's likely that the one driving may have it on its hands (even if he's not infected ?).

I'm very mindful not to touch anything outside the house unless when I'm buying groceries (but at the grocery store when I pick, say, a thuna can, hopefully there haven't been a hundred people touching that on thuna can in the last x hours). At the gas station I know I'll have no choice.

comment 6y ago · link · parent

Very interesting, thanks a lot. I'll definitely give Wayland a try soon!
1
157158159
162