Better HN
topnewbestaskshowjobs
Log inSign up

TacticalCoder

10,590 karma · joined Dec 4, 2013 (12y ago) · 4,855 submissions

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

comment 4y ago · link · parent

I don't know: I'm running a "native compilation" branch of Emacs and everything is really fast. I'm not saying once in a rare while something chokes a bit but I made sure to eliminate some of the usual suspects in my init files (for example not launching lots of minor modes on gigantic files or on files with very long lines).

In my experience Emacs, over the years, kept getting faster and faster. The "bloat", if any, is progressing way slower than CPU ares and certainly way slower than the bloat in other IDEs.

comment 4y ago · link · parent

> I for one am very glad that systemd modernized things a bit and helped remove some of this stuff from the equation.

I, for one, I'm glad there are still options and that even Debian let the door open to, one day, switching to something else than systemd.

I'm running Devuan (Chimaera) now and it's fine (for my needs).

It's not all rosy: there's something to be said about the insane kitchen sink that systemd is. Having the PID1 so gigantic, with its tentacles everywhere in the system, ain't something the Linux community should be proud of. I'm very happy that, so far, Linus is resisting and nothing in the kernel is (yet?) tied to systemd.

Linux is about choices too. The day there ain't no choice anymore, I'm switching to a BSD.

I'm running Linus' Linux. Not IBM/Red Hat/Poettering's Linux.

comment 4y ago · link · parent

> But if you don't turn your TV on at all, I have to ask - where do you watch Netflix et al? Or you simply don't?

Don't even own a TV. I own a projector / home cinema. I think it beats the shit out of a TV big times. I much prefer the "feel" of a projector compared to these 4K TVs or whatnots. When we turn the projector on, it's to really watch something, not as background noise.

comment 4y ago · link · parent

> ... in some countries (eg. Belgium) wages are automatically adapted to inflation

Only certain wages. Like public servant wages. Private companies paying normal people regular wages aren't forced to give them a raise. The minimal wage may inflate but if you're paid above minimal wage, there's no guarantee you'll see a raise.

comment 4y ago · link · parent

I thought I totally hated Bauhaus, probably mistaking it for brutalism, and now I just realized I do have, in my living room, the chrome Bauhaus chairs shown in TFA!

And I just discovered that the amazing "Barcelona" chair is considered a Bauhaus item: https://en.wikipedia.org/wiki/Barcelona_chair

And I think Le Corbusier (he was swiss french, not german that said)'s famous "LC4" lounge chair is considered Bauhaus too (it's Bauhaus era for sure).

I still don't like Bauhaus buildings that said but thanks HN for making me realize that there are a few furnitures I own and love that are actually Bauhaus!

It's incredible how modern these furnitures from the 1920s do actually still look even today.

comment 4y ago · link · parent

So Bitfinex is worth at least $3.6bn or is it all customers BTCs?

Were people made whole back then? Is it some MtGox thing where people who lost money back then will now have it? In BTC? Or in USD at the worth of BTC back then? Or in USD at today's BTC valuation?

comment 4y ago · link · parent

This "$5 wrench" XKCD always come up but... Plausible deniability ain't the only way around it.

For example there are safes that, no matter what you do, are only ever going to open on, say, wednesday morning at 10am. Or a safe that shall only open if, one hour previous to that, you entered your own personal code + a rolling code. You enter the rolling code and the one-hour countdown starts. Now... If you can only get the rolling code by calling someone (for example a security company) and if that person accepts two words, one being the real one, the other the "I'm under duress" one, now suddenly the "$5 wrench attack" doesn't look that great anymore.

BTW my home alarm has something similar: they'll came me after either a break-in or if I push the button "I'm under attack"... Then through the speakers they'll ask me "the" word. No matter if I say "banana" or "potato", they'll answer: all is fine, good night. But... "banana" means "everything is cool" while "potato" means "I'm under duress". Cops show up in 120 seconds where I live. The $5 wrench dudes better make very good use of that $5 wrench that'll, for sure, bring them billions of $$$ (such intelligent human beings btw: they figured out that a $5 wrench shall bring them riches) because in 120 seconds the cops are going to be there.

Back to the safe: the countdown starts and the attacker has no clue if the police has been contacted. They have to wait one hour. Oh and both codes starts the countdown. But the "I'm under duress one" will lead to some failure message on the safe "Error: mechanism locked" or "Bug 2134978" (whatever fancy you can come up with).

A $5 wrench attack is one thing. Kidnapping someone for days is another thing. Waiting for a safe to open for one hour without knowing if the cops are on their way (and have one hour to be there) is yet another thing.

My point is: I'm a bit fed up by people who have the victim mentality and think nothing can be done versus attackers. If attackers were that smart, they wouldn't be doing $5 wrench attacks in the first place. Use your intelligence to come up with schemes that a $5 wrench attack cannot break.

Another good one: a safe which only opens after a countdown of one-hour, no other way round. But as soon as you enter the code (and the countdown starts), a video feed of the room where the safe is located is sent to a security company. Someone at the security company checks the feed: he sees the $5 wrench (or he sees two people in the room, which is forbidden)... He calls the police and the police has one room to get the dude with the $5 wrench.

I much prefer people who think not just about how to resist $5 wrench attack but who thinks about ways to maximize the chance the one holding the $5 wrench ends up where he belongs.

So yup: I'm a bit pissed by that $5 wrench XKCD. So pissed I may actually one day join forces with company working on solutions to fight against that.

comment 4y ago · link · parent

Wired doorbell broke (a semi fancy one, with a gate opener and a camera, but totally proprietary and old). I don't have the will to troubleshoot what/why. I don't want to pay someone to fix it either. To me it's not worth getting it fixed.

Not too sure what we'll settle on eventually but meanwhile I put one of these cheap doorbells you can find on Amazon: a button (with a little battery) at the door/gate and then, inside, something you plug into an electrical outlet.

They work but they're not that great. It's only approx 20 meters / 65 feet and yet it regularly fails (one time out of five?). People who "know" know they have to press long and hard on the button, and try, say, three times (if it fails 20% of the time and you press three times, there's only a 0.8% chance it won't ring even once).

I should probably add a little message below the button: "Please ring three times". Low tech way to fix the brittle system I guess.

comment 4y ago · link · parent

> With due respect, why would someone trust this one?

It's the project of David Chaum: https://en.wikipedia.org/wiki/David_Chaum

Which makes that messenger very interesting. It's also quantum-resistant from the get go. I think the beta just went live.

comment 4y ago · link · parent

Yup. For those who don't know that is David Chaum's quantum-resistant messenger and he's an OG cryptographer (and he's mentioned in Bitcoin's original whitepaper, funnily enough).

> Full disclosure: I work on the infrastructure behind it.

Oh cool... I ran a node for many months during the beta (from home, fiber optic at home). I'm busy atm so I'm not running anything anymore but I do really hope that a real secure messenger that doesn't leak metadata left and right, and which uses advanced cryptography, shall eventually prevail.

comment 4y ago · link · parent

> Next time when Facebook pulls something user-hostile ...

In my opinion with or without FB putting anything more hostile people are moving, in drones, to Telegram. I see regular people (non-tecchies at all) in my friends' circle joining Telegram regularly.

I'm not saying TG is better than Signal but I think TG's userbase is many orders of magnitude bigger than Signal's.

comment 4y ago · link · parent

> People inventing/printing an endless supply of money for their own benefit.

This is odd because Bitcoin, despite is ecological problem, was created to precisely not have an unlimited supply. There are only ever going to be 21 millions Bitcoin and the free market was supposed to decide was one Bitcoin was worth (offer and demand: nobody was coerced into buying any).

I don't like Bitcoin's carbon footprint but I can see how Bitcoin maximalists may be disgusted by all the shitcoins and by NFTs.

I don't think "Satoshi Nakamoto" (whatever that means), if he/they is/are still alive, planned on creating an unlimited supply of money just for the sake of getting rich.

To me Bitcoin seemed more like some kind of an anarchist cyberpunk statement than a ponzi/scam.

comment 4y ago · link · parent

38" 3840x1600 (109ppi) curved ultra-wide here (since five years now). It's an old monitor so by now there are better 38". I love it for software development.

comment 4y ago · link · parent

In addition to various issues already mentioned, there are also some build systems that do build in parallel and produce builds or build artefacts that are going to depend on the order in which threads finished, which may vary from run to run.

I'm not saying you cannot build in parallel and end up with a deterministic build: that is done all the time. What I'm saying in that there are cases where some care has to be taken.

comment 4y ago · link · parent

> In other words, you can build centralization on top of decentralization, ...

We see that with Coinbase (a HN unicorn btw): lots of people are apparently not only fine leaving shitloads of coins on Coinbase, many are also totally fine using the USDC "token" which is (mostly) backed 1:1 with actual USD. I don't remember the stats but big "exchanges" hold a sizeable part of the circulating coin and it's not just people "trading": it's a lot of people simply holding to their coins and using Coinbase as, basically, a bank.

Heck, I think if they sell for USD (not USDC, don't know about USDC), their USD at Coinbase are even FDIC insured up to $250 K (for each american on Coinbase: it's not the same with Coinbase in the EU).

I'm not saying it's good or bad: I'm just saying that people leaving coins or USDC or USD on Coinbase are very far from "running their own bank".

comment 4y ago · link · parent

I'd say this whole ecosystem is the strongest proof we have so far that the secp256k1 curve is not backdoored. At least there's that.

comment 4y ago · link · parent

Going to listen to some you mentioned I don't know...

Just from the top of my head in case some here don't know them (if I start looking in my archive I'll find lots of stuff)... Not all "roots" but it's old stuff.

Zap Pow, "This is Reggae music": (I used to start my reggae compilation with this one)

https://youtu.be/-6G6PiRGCaU

Bunny Wailer:

https://youtu.be/tr0dyo7XGcw

Errol Dunkley:

https://youtu.be/D5Tg1l4pk94

Ranking Dread:

https://youtu.be/hkM14QObC9o (this one is really cool for the song talks about many OG reggae artists)

Jo Jo Bennett:

https://youtu.be/6Gawp4UPO2I

Marcia Griffiths:

https://youtu.be/ZA9FUDw3TNk (the theme is not "roots" but, darn, she's a good Jamaican reggae singer)

Max Romeo:

https://youtu.be/XcMNfX5yh28

John Holt:

https://youtu.be/smWVKR_LYjs

Horace Andy:

https://youtu.be/RCHTAu4In70

Linval Thompson:

https://youtu.be/2f7G9HFEbao

comment 4y ago · link · parent

> There's no decent reggae after the early 1980s ...

Big reggae fan here (old reggae) but Mike Love, "Permanent Holiday" is quite something:

https://youtu.be/fU7hZ3smj0g

comment 4y ago · link · parent

That is a classic! The number of times my SO scanned black & white documents in colour and 400 dpi then (from Windows) then ended up with a gigantic PDF file that email would reject (or, worse, recipient's email would reject)... Then she calls me.

Typically I batch downsize and convert to gray, then create a smaller PDF from these downsized/gray'ed scans.

I'll definitely take notes from that blog and from this HN thread for I'm sure some will come in handy.

comment 4y ago · link · parent

Weirdly enough I do believe Clojure ticks the boxes from that checklist.

It's familiar in that it both "supports popular language runtimes" (runs on top of the JVM or transpiles to JavaScript) and it's a Lisp dialect (or close enough) and Lisps have been around since a very long time.

It's incredibly stable: so stable some libraries commonly used haven't been updated in years. There's also very little code churn inside Clojure's own codebase.

It is very reliable.

It's limits and trade offs are well known.

Somehow I though my language of choice was "edgy" but I realize it may actually be "boring": a dialect from a very old family of language running on top of a boring tech (the JVM).

comment 4y ago · link · parent

> I am not using a load balancer, a database, or a cache server.

But it's serving some static assets from CloudFlare... (nothing wrong with that: I'm just pointing it out)

comment 4y ago · link · parent

I have literally zero clue as to how that ETH/WETH smart contract work but...

Why the heck did the guy not first did a test with 1 000 USD worth of coins instead of 500 000 USD? Once he sees everything is cool with 1 000 USD, he sends the rest. Sounds like 101 to me.

comment 4y ago · link · parent

> Why reinvent the wheel when you can just use this and it would use browser's default sans-serif font setting?

I've done lots of testing and very often a font stack gives better looking results than simply using the default. People who came up with these font stacks didn't do a bad job at all. I'd say it's especially noticeable on Linux (but not only): the default may really be freaking ugly compared to one of the previous font in the stack.

> Which users can define to whatever they want, system font or not.

But most users really don't bother do that. Heck, out of simplicity I don't even do it: the reason being I like to see how others are using fonts on their sites and I don't want to always turn my font overrides/default on/off. I want to know if the sites looks good "without any user intervention".

One problem with font stacks though is those who picked one then forget to update them when new, much better, fonts installed by default comes out. For example a shitload of websites on the latest OS X / M1 macs are going to fall on Helvetica first (because they use outdated font stacks) and use that even though the world as really moved on and came up with incredibly better looking screen fonts than Helvetica (I'm not saying Helvetica doesn't still have its place in print).

comment 4y ago · link · parent

The typical font stacks IMO always forget to put "Liberation". For many Linux desktop users it's going to be the best available when Oxygen/Cantarell/Ubuntu aren't there. Many Debian users, for example, are going to have Liberation and not the others. It's sad that a fugly default is often going to be picked up for these users instead of Liberation.

So: modern font stacks... Not bad, but not yet the panacea either (even for big websites who really should know better).

comment 4y ago · link · parent

> Almost all of the named fonts in common font stacks are either now superfluous or not a good idea any more

It's all fallback, how can they be "not a good idea"? That's the beauty of these CSS font stacks: you can always put first the latest best practices.

> Most font stacks now are just cargo culting, and are mostly mildly harmful.

I disagree and if anything they're not complete enough (I'll write another comment).

comment 4y ago · link · parent

Nice little site: Amiga / retro computing, woodworking, home cinema... I'm into these too. Was "Hutchhikes" yours (in the "geekpics")? I've got one from 1988 (since 1999) but thankfully never crashed it.

comment 4y ago · link · parent

A very weird thread that degenerated into: "PaaS vs self-hosted/self-owned hardware".

I'm pretty sure most people sysadmin'ing their Linux servers are actually doing it with rented dedicated servers. TFA btw specifically mentions: "don't manage physical hardware". Big companies like Hetzner and OVH have hundreds of thousands of servers and they're not the only players in that space.

They don't take care of "everything" but they take care of hardware failure, redundant power sources, Internet connectivity, etc.

Just to give an idea: 200 EUR / month gets you an EPYC 3rd gen (Milan) with shitloads of cores and shitloads of ECC RAM and a fat bandwith.

And even then, it's not "dedicated server vs the cloud": you can have very well have a dedicated server and slap a CDN like CloudFlare on your webapp. It's not as if CloudFlare was somehow only available to people using an "entire cloud stack" (whatever that means). It's the same for cloud storage / cloud backups etc.

I guess my point is: being a sysadmin for your own server(s) doesn't imply owning your own hardware and it doesn't imply either "using zero cloud services".

comment 4y ago · link · parent

> How do you handle traffic spikes, especially from the networking point of view?

I don't know about GP but managing your own server doesn't mean you cannot use a CDN with your webapp.

comment 4y ago · link · parent

> ... but won't actually share the data despite the incredible high number of cases (ie, should be able to do some analysis by now) they are probably hiding something.

I don't know about that but the paper we had to sign to decide if we wanted to give our kid the vaccine or not was a "beautiful" example of a dark pattern:

"Do you want your kid to get the vaccine? YES / NO. Pick one. Example reason for saying "NO": your kid has some rare medical condition (see with your doctor)"

This was carefully crafted and nasty. Vaccine for kids ain't mandatory yet (at least not in the country where my kid goes to school). I'm 100% sure several parents got tricked into thinking you needed a valid medical reason to answer "NO".

In addition to that, it was made in a hurry: kid came back with the paper in their backpack and you had 48 hours to answer, leaving many parents without any time to think / talk about it.

FWIW I know several doctor friends who are fully vaccinated, who fought in ICUs during the previous waves, including one who got three shots already (he showed me his "covid pass", which contains a counter with the number of shots), and who totally refuse to give their kids the vaccine.

I really don't see the point if you have an healthy kid, knowing that vaccinated people do still catch and transmit the virus. The interests of whom are served by vaccinating an healthy kid?

comment 4y ago · link · parent

> and pay an ISP $$$ for unusually high upload bandwidth/throughput?

But the ISPs I know do not bill $$$ if you use the max bandwidth (max bandwith they did advertize to you btw) for a sustained amount of time: they'll just start throttling you.

Anyway GP ain't asking about "cloud vs hosting at home" but about "cloud vs dedicated server(s)".

1
142143144
162