Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,594 karma · joined Dec 4, 2013 (12y ago) · 4,862 submissions

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

comment 3y ago · link · parent

Oops (edited my post to fix it).

comment 3y ago · link · parent

Oh my bad: OVH is totally fit for production and they've got very good DDoS protection (which you can combine with CloudFlare and whatnots) but...

I just meant that I wouldn't recommend the 5 EUR / month dedicated servers for production: these do not have a big bandwidth and they don't have ECC RAM.

I edited my other post accordingly.

comment 3y ago · link · parent

OVH "ECO Kimsufi" offering. Now... You'll need to "refresh" regularly the page for the 4.99 EUR one (I rounded @ 5 EUR but it's 4.99) for they're in demand and often sold out. Or you write a script that monitors the page to see when they're available again.

I had to wait a few days to fetch my last one but I got it. Always do : )

On OVH's website: OVH cloud / Bare metal & VPS / ECO Dedicated Servers.

P.S: back in the days the "Kimsufi" (french for "qui me suffit", literally "which is enough (for me)") used to be part of OVH, then OVH spun Kimsufi out of OVH and then now... Kimsufi are back into OVH (the older Kimsufi servers are still accessed using the old Kimsufi credentials but the newer ones are using the OVH credentials again).

comment 3y ago · link · parent

For 5 EUR / month you can also get a dedicated server (not a VPS) from OVH.

Sure it's only an ATOM N2800 with 4 GB of RAM / 1 TB SSD / 100 Mbit/s bandwith (which is definitely the bottleneck as I've got gigabit fiber to the home).

But it's 5 EUR / month for a dedicated server (and it's got free OVH DDoS protection too as they offer it on every single one of their servers).

I set up SSH login on these using FIDO/U2F security key only (no password, no software public/private keys: I only allow physical security key logins). I only allow SSH in from the CIDR blocks of the ISPs I know I'll only ever reasonably be login from and just DROP all other incoming traffic to the SSH port. This keeps the logs pristine.

Nice little pet these are.

I'm not recommending these 5 EUR / month servers for production systems but they're quite capable compared to their price.

comment 3y ago · link · parent

Official CIA factbook numbers: 3% to 5% of the world's entire fucking GDP is due to criminal activities [1].

Of course this money mostly all ends up in the real economy.

[1] Numbers which do not account for what should be accounted as criminal activities but aren't because they're endorsed by the state.

comment 3y ago · link · parent

Oh I know: I loved the movie so much (and still do) and found it so cool that the movie was named that way on purpose that I gave my daughter four given names and they start respectively with G, A, T and C...

comment 3y ago · link · parent

> Let’s pause for a bit and dwell on the absurd amount of RAM it takes to run it even after this exercise.

I agree and I find the apologists to be completely wrong. I run a modern system: 38" screen, 2 Gbit/s fiber to the home. I'm not "stuck in the past" with a 17" screen or something.

The thing flies. It's screaming fast as it should be.

But I run a lean Debian Linux system, with a minimal window manager. It's definitely less bloated than Ubuntu and compared to Windows, well: there's no comparison possible.

Every single keystroke has an effect instantly. After reading the article about keyboard latency, I found out my keyboard was one of the lower latency one (HHKB) and yet I finetuned the Linux kernel for USB 2.0 polling of keyboard inputs to be even faster. ATM I cannot run a real-time kernel because NVidia refuses to modify a non-stock kernel (well that's what the driver says at least) but even without that: everything feels and actually is insanely fast.

I've got a dozen virtual workspace / virtual desktops and there are shortcuts assigned to each of them. I can fill every virtual virtual desktop with apps and windows and then switch like a madman on my keyboard between each of them: the system doesn't break a sweat.

I can display all the pictures on my NVME SSD in full screen and leave my finger on the arrow key and they'll move so quickly I can't follow.

Computers became very fast and monitor size / file sizes for a regular usage simply didn't grow anywhere near close as quickly as CPU performances.

Windows is a pig.

comment 3y ago · link · parent

> Perhaps the Beatles really weren't that great...

That's exactly what I think... The Beatles were my parents' generation, not mine but I heard them a lot. I'm listening to music from that era: but that'd be, say and YMMW, The Rolling Stones, The Doors, Jimi Hendrix, ...

I always looked at the Beatles as the commercial, pop, easy, and a bit "cheesy" band of their time.

The Beatles are still catchy more than half a century later but, yeah, even if it's an unpopular opinion it's just, to me, mass produced pop that's not particularly deep.

comment 3y ago · link · parent

Well there's this high profile in the EA community who happened to have its name tied to FTX not just for being SBF's guru but also for being on the FTX payroll in FTX's early days.

But not only that: it gets better for he happen to have bought a mansion in the UK, supposedly for EA, with $15m of stolen money SBF gave him. (mansion which may be clawed back, I sure do hope it is).

The dude is a teacher at some fancy uni in the UK.

Tells me all I need to know about EA and the kind of people higher up the echelons there. It's obviously highly manipulative and I'm not surprised at all to see manipulative gurus misappropriating money and using their manipulative tactics to prey on women.

P.S: as he altruistically given back the mansion acquired with stolen money?

comment 3y ago · link · parent

Back when HDD would fail really a lot warranty was working. I'd happily fill an online form, Web 1.0 style, and then send my Seagate (I'm in Europe, was sending them to the Netherlands IIRC) disks and a few weeks later I'd receive a new drive.

I probably still have a few screenshots of these forms somewhere.

comment 3y ago · link · parent

From TFA it's not just the 980 Pro 2 TB but also all the newer 990, so it's problematic.

comment 3y ago · link · parent

A friend of mine got laid off from Stanley: that's not an IT company. Same thing: after 12 years in, an email saying he's been fired, all his accesses have been cut off and he'd only be able to come once more to the office to pack his personal stuff.

Legally they could have asked him to work for x more weeks but they said they don't do that: concerns about fired people not performing well or even trying to sabotage something, steal documents, complain to co-workers, etc.

After 12 years in the EU he got a very nice package: I think one year full salary paid.

That accesses are cut off before or at the same time the email is sent is normal.

I know it feels brutal but that's how big companies roll.

comment 3y ago · link · parent

Restored footage from 1902 of that railway compared to footage from 2015, side by side:

https://youtu.be/7TqqdOcX4dc

comment 3y ago · link · parent

> Wow someone really ought to let the rest of the world outside of America know.

It's exactly the same as you describe in many European cities. When you pack houses next to each other and stack apartments on top one of another, which is the definition of a city, you get concrete. Lots of concrete.

Sure some European cities may have historical city center totally car free but most restaurants have outdoor terrace on regular streets, complete with cars, lots of people passing by, noise (not just from cars) and dog poo.

I agree with you one point: it's not a relaxing environment to eat.

comment 3y ago · link · parent

My first two networked Linux computers where my desktop (probably a 486) and a laptop, though the parallel port using PLIP. My desktop was much faster than the laptop so I'd just launch a X11 server on the laptop and then run everything on the desktop. By doing that my brother and I could both use the Internet (Netscape) at the same time, sharing our... 28 800 modem connection : )

Oh the memories.

comment 3y ago · link · parent

Ah, I just checked your profile: thanks a lot!

comment 3y ago · link · parent

Regarding fonts, here's one that makes me sad... The ASCII vertical bar (the "pipe" symbol) used to be a "broken bar", making it very clear it wasn't an uppercase "I" or a lowercase "l" or even a "1" (in some old or stylized font).

I really like a broken vertical bar. There's been a fight, where it became a solid vertical bar, then a broken vertical bar again, then a solid bar again:

https://en.wikipedia.org/wiki/Vertical_bar

See the "Solid vertical bar vs broken bar" section.

Because mathematical "OR" and all that IIUC. But I don't care. I'm in control. So my monospace font use a broken vertical bar (and a taller one than what's usually seen too, there's no risk of mistaking my "broken bar" '|' with '!'). When I write "my" font, it's literally a font I made myself by using FontForge slightly modifying another font (I basically modified @$%&|l and a few other tiny details). I cannot distribute it though.

EDIT: funnily enough reading that Wikipedia article I posted, I checked my keyboards... Two of them, an old IBM Model M and a "not so old but still old" Sun keyboard do both have a broken bar printed as the vertical bar: I never realized that!

comment 3y ago · link · parent

Nerd fonts comes with a patcher that can patch .ttf fonts to add all the icons. I've never tried it but I take it it'd work?

comment 3y ago · link · parent

Thanks, I just checked Foldoc: there's definitely quite some stuff in there but then I tried terms like "Clojure" and "iptables" (which aren't recent by any means) and they're apparently not in that dictionary but it's a start, I'll dig a bit more.

comment 3y ago · link · parent

Speaking of spellchecking... As devs we tend to use lots of weird words and acronyms and they're not, by default, in the spellchecker that Emacs (or other editors) do use (aspell in my case). You can add them but then I take it many of us keep "adding to the wordlist" the same words (for example, yes, "abs", "stdin" and "stdout" are correctly spelled, etc.).

Does anyone know of a good source of "programming vocabulary" made to add to spellcheckers?

comment 3y ago · link · parent

> I’ll still occasionally print out source and lay it out on a table to annotate by hand when I’m learning a complex code base.

I've got fond memories of printing programs on continuous form paper (the one with holes on the side that the printer would use to advance the paper) and then reading it to find my bug(s) : )

comment 3y ago · link · parent

I basically just slightly modified the code in ediff-setup-windows-plain-merge from ediff-wind.el.

Not too sure how to paste code on HN, here's the modified version which works for me. The orginal ediff-setup-windows-plain-merge may depend on your Emacs version though, so buyer beware (things may have changed and need to be revisited).

Instead of showing:

        A      B
        C      D
    Ediff control panel
I show:

        A    B   C
             D
        Ediff control panel
As for Git AFAICT all I have is git config --global merge.conflictStyle diff3.

Compare it to your version of ediff-setup-windows-plain-merge to see what I changed:

    (defun ediff-setup-windows-plain-merge (buf-A buf-B buf-C control-buffer)
      ;; skip dedicated and unsplittable frames
      (ediff-destroy-control-frame control-buffer)
      (let ((window-min-height 1)
            (with-Ancestor-p (with-current-buffer control-buffer
                               ediff-merge-with-ancestor-job))
            split-window-function
            merge-window-share merge-window-lines
            (buf-Ancestor (with-current-buffer control-buffer
                            ediff-ancestor-buffer))
            wind-A wind-B wind-C wind-Ancestor)
        (with-current-buffer control-buffer
          (setq merge-window-share ediff-merge-window-share
                ;; this lets us have local versions of ediff-split-window-function
                split-window-function ediff-split-window-function))
        (delete-other-windows)
        (set-window-dedicated-p (selected-window) nil)
        (split-window-vertically)
        (ediff-select-lowest-window)
        (ediff-setup-control-buffer control-buffer)
    
        ;; go to the upper window and split it betw A, B, and possibly C
        (other-window 1)
        (setq merge-window-lines
              (max 2 (round (* (window-height) merge-window-share))))
        (switch-to-buffer buf-A)
        (setq wind-A (selected-window))
    
        (split-window-vertically (max 2 (- (window-height) merge-window-lines)))
        (if (eq (selected-window) wind-A)
            (other-window 1))
    
        (setq wind-C (selected-window))
        (switch-to-buffer buf-C)
    
        (select-window wind-A)
        (funcall split-window-function)
    
        (if (eq (selected-window) wind-A)
            (other-window 1))
        (switch-to-buffer buf-B)
        (setq wind-B (selected-window))
    
        (when (and ediff-show-ancestor with-Ancestor-p)
          (select-window wind-B)
          (split-window-horizontally)
          (when (eq (selected-window) wind-B)
            (other-window 1))
          (switch-to-buffer buf-Ancestor)
          (setq wind-Ancestor (selected-window)))
    
        (balance-windows-area)
    
        (with-current-buffer control-buffer
          (setq ediff-window-A wind-A
                ediff-window-B wind-B
                ediff-window-C wind-C
                ediff-window-Ancestor wind-Ancestor))
    
        (ediff-select-lowest-window)
        (minimize-window)
        (ediff-setup-control-buffer control-buffer)
        ))

comment 3y ago · link · parent

It is. I've got a Emacs setup to show 3-ways merge in ediff which differs from the default. I show, side by side, three columns: "variant A", "common ancestor", "variant B" and then, below, the result.

I do really enjoy my wide screen while doing that. I'm literally moving to a 360 columns mode when I do that: 120 columns for each of variant A, common ancestor and variant B. It's the only time I make Emacs that wide.

I like to have the common ancestor in the middle, so I can quickly see where both "variant A" and "variant B" are coming from.

So I'm using Emacs's ediff to do 3-ways merge while showing four versions of the code.

comment 3y ago · link · parent

Total lies: the current bankruptcy CEO says that balance sheet accounts for hundreds of millions in a company called LedgerX (IIRC, out of memory) which FTX.us acquired with... Money fraudulently siphoned from investors and customers.

So the money used to buy LedgerX (and which LedgerX still partially has) should at some point be seized.

FTX.us is insolvent too.

comment 3y ago · link · parent

Am I misunderstanding TFA or is the encryption done with the encryption key in the clear inside the browser?

I just set up my servers' SSH to use U2F keys for authentication and the secret never leaves the security key, protected behind the security key's HSM.

That's kinda the point of these security keys: computers aren't devices to be trusted. If they were, we wouldn't need physical security keys with the secrets hidden behind a HSM.

From TFA:

> Local threats like JavaScript injection attacks could exfiltrate the value of inputKeyMaterial from Step 2.1 and store it away for later use.

I really enjoyed TFA but... These kind of "local threats" are precisely what these U2F security keys are all about: you can use them on a totally compromised computer and yet the attacker cannot extract the secret from the security key.

I've seen people use security keys with GPG and I'm nearly sure the private part of the key is never leaving the security key.

I may be wrong though...

comment 3y ago · link · parent

> I do however have an unused Ledger X laying around. Does anyone knows if the Ledger X could act as a security key? Thanks in advance.

I don't have a X but I've got a S which I only use for U2F (well, webauthn now really). Chrome deprecated and now removed U2F support so moving forward it's webauthn but U2F devices are compatible with webauthn.

So yes it works. I use it to log on to several services and I use to log on using SSH.

Anyway here's a video showing how it works on a X:

https://support.ledger.com/hc/en-us/articles/115005198545-FI...

Now I don't know if it specifically work for this new AppleID "dual security keys" thing.

comment 3y ago · link · parent

> If someone were to steal your yubikey then they’d be able to perform a step that previously you’d have needed to be there for.

Several security keys are protected themselves with an additional factor. There are, for example, Yubikeys which are unlocked by your fingerprint: this now requires the thief to not only steal your Yubikey but also have the skills required to reproduce your fingerprint.

There are also several U2F devices protected by a PIN. The "Only key" uses one PIN to register a service (which you do once per service) and another PIN to authenticate to the service (so you cannot easily be tricked into registering instead of authenticating). The Ledger Nano U2F app is also protected by a PIN and has its own little screen so it displays the name (or the identifier) of the service you're either registering or authenticating to (and tells you if you're actually going to register or authenticate), is protected by a HSM and factory resets itself after three wrong PIN.

I'm using the later to SSH now (requires a moderately recent version of OpenSSH: latest Debian stable is sufficient for example).

comment 3y ago · link · parent

DINK means "Double Income No Kids".

comment 3y ago · link · parent

It's incredible how this article is trying to portrait her as a victim who just happened to share the apartment of her partner who, himself, just happened to hold bags of cash for someone else.

And then, by chance, that poor innocent woman quickly handed a duffel bag full of cash to her father.

I call bullshit: you don't stumble, by chance, on duffel bags full of cash for a seven digits sum in your appartment and then realize something shady is going on. She's deep in it, just as her husband is. She at the very least fully knew and she likely was part of it.

That's not journalism from spiegel.de. I wonder how much the "journalist" got in cash to write such an article.

P.S: we're also to believe that it's a pure coincidence that that woman was lecturing the European Parliament about how "some believe those saying good thing about Qatar are corrupt people" and things like that... When she would be an innocent victim happening to be the one where the corruption money is located? 100% bullshit article.

1
124125126
163