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

> The standard national layouts often being poor fit for technical use only makes the situation more annoying.

Definitely!

And the absolute biggest pain with physical keyboard layouts is that if you use anything not standard then you're sorry out of luck when you buy a laptop (until your carry your external keyboard with you in addition to your laptop).

Even buying a common laptop with a US ANSI physical layout (wide enter key, not tall) is not trivial in Europe. It's doable but it requires some research/planning.

comment 3y ago · link · parent

> As a luxembourgish person, encountering many keyboards in schools, offices, through laptops i bought etc, the swiss (french) layout is by far the most common. I have never seen an Azerty used in practice except by french people.

I won't disagree with that but, living in Luxembourg, I head to the closest supermarket, a "Cora" also selling keyboards, mice, USB sticks, etc. and I can buy an AZERTY layout if I want to (they've got both QWERTZ and AZERTY keyboards).

That said, just like you: I type using a QWERTY layout.

comment 3y ago · link · parent

> For example, é (a single grapheme) is encoded in Unicode as e (U+0065 Latin Small Letter E) + ´ (U+0301 Combining Acute Accent). Two code points!

It's a poor and misleading example for it is definitely not how 'é' is encoded in 99.999% of all the text written in, say, french out there (french is the language where 'é' is the most common).

'é' is U+00F9, one codepoint, definitely not two.

Now you could say: but it is also the two codepoints one. But that's precisely what makes Unicode the complete, total and utter clusterfuck that it is.

And hence even an article explaining what every programmer should know about Unicode cannot even get the most basic example right. Which is honestly quite ironic.

comment 3y ago · link · parent

Nitpicking but most french keyboards have both ready-made keys for "é" and the few other commonly use keys and composing: hitting either '¨' or '^'. For example hitting '¨' then 'e' produces "ë".

comment 3y ago · link · parent

> It's always Cisco routers

A few weeks ago it was all about Unifi (and many others) being backdoored due to some upstream supplier being pwned by the NSA.

So it's not only Cisco. It's all of them.

comment 3y ago · link · parent

> I don't exactly get the recent surge in nostalgia for the Commodore computers in particular.

> why not 8086/PC, Macintosh, Amiga

Well the Amiga is a Commodore computer (Commodore bought Amiga very early on and the Amiga was only ever released by Commodore) and it's got a gigantic retro community too.

comment 3y ago · link · parent

> Could EU force hardware manufacturers to make working drivers for Linux?

> Why are these companies like intel, Razer, nvidia or AMD..

The question makes no sense. As one of the Reddit comment says: Intel and AMD are among the biggest contributors to the Linux kernel.

The real-world is pretty much powered by millions of Linux machines running on Intel or AMD hardware (for the most part). Try replacing that with Windows servers and their "working drivers" and then we talk.

comment 3y ago · link · parent

GP's point is that Portugal wasn't the best placed country to go all-in on renewable energy because it was already economically in trouble and that the last thing Portuguese people needed was higher energy prices.

There are other countries that have stronger economies which are better placed to "go green".

comment 3y ago · link · parent

I always let the spiders in the house alone. I know they kill mosquitoes and the like.

But nonetheless around last september we had bedbugs in our main bedroom (France, but not Paris : rural south east of France). I couldn't find any but they were obviously sucking our blood at night: these weren't mosquitoes bites.

Thankfully that bedroom is "zen": one huge bed and that's it. So we bought all the chemicals needed to kill the bedbugs (yup, sorry for the planet about these chemicals but you cannot live with bedbugs) and I quickly repainted the entire room, figuring out that bedbugs probably wouldn't like it much to get both the anti-bedbugs chemicals plus brand new painted walls.

Chemicals, painting the whole room, washing the sheets, vaccuum cleaning. Rinse and repeat for two to three days.

No problem since.

So you can get rid of these little mofos but spiders alone aren't sufficient.

comment 3y ago · link · parent

It's not Volkswagen AG who took control of Bugatti and Rimac, it's Porsche.

And Porsche is spinning out of VW and becoming independent again:

https://capital.com/porsche-volkswagen-vw-demerger-spin-off

https://www.autoweek.com/news/green-cars/a36933399/did-porsc...

(answer is "yes" btw)

comment 3y ago · link · parent

Not that complicated. Porsche was once described as "the hedge fund that happens to also build cars".

Porsche did this stake here and there thing precisely to gain > 50% of Rimac voting rights.

It's simple really: Porsche controls Rimac.

Then there's the whole "VW took control of Porsche after the short squeeze made by Porsche to try to acquire VW failed" (it failed due to the sudden crash during the 2008 banking crisis IIRC). And now Porsche is apparently spinning out of VW and shall be independent again.

comment 3y ago · link · parent

Same. There was low-quality content out there before but it's now gone totally out of control.

It's ridiculous to not admit that LLMs are producing crap by the metric shitton.

comment 3y ago · link · parent

Title: "Don't Blame AI. Plagiarism is turning digital news into hot garbage".

Subtitle: "A botched obituary underlines threats from both artificial intelligence and digital plagiarism mills to pollute the news with misinformation"

So which one is it? Sounds to me like LLMs are used to do (very low quality) plagiarism. So "AI" is to blame after all.

comment 3y ago · link · parent

So "Terminal Race Condition" is basically another term for the "technological singularity", but where the AI is evil?

comment 3y ago · link · parent

I find it interesting that all the answers using hardcoded values / if statements (or while) are all doing up to five comparisons.

It goes B, KiB, MiB, GiB, TiB, EiB and no more than that (in all the answers) so that can be solved with three if statements at most, no five.

I mean: if it's greater or equal to GiB, you know it won't be B, KiB or MiB. Dichotomy search for the win!

Not a single of the hardcoded solutions do it that way.

Now let's go up to ZiB and YiB: still only three if statements at most, vs up to seven for the hardcoded solutions.

I mention it because I'd personally definitely not go for the whole log/pow/floating-points if I had to write a solution myself (because I precisely know all too well the SNAFU potential).

I'd hardcode if statements... But while doing a dichotomy search. I must be an oddball.

P.S: no horse in this race, no hill to die on, and all the usual disclaimers

comment 3y ago · link · parent

> ... but I also don't know what that means

OK... Try this: there are "conscious" people, today, working on medication to cure serious illnesses just as there are "conscious" people, still today, working on making travel safer.

Would you trust ChatGPT to create, today, medication to cure serious illnesses and would you trust ChatGPT, today, to come up with safer airplanes?

That's how "conscious" ChatGPT is.

comment 3y ago · link · parent

> It was technically possible to wire up entire countries and continents for electricity and phone service, so I doubt there are any technical hurdles in doing the same with fibre.

France is aiming at 100% fiber coverage. I spent some time in a very remote, very rural part of France, far from the closest village... And I had fiber to the home (2 Gbps down // 600 Mbps up).

comment 3y ago · link · parent

> Outside of the US, Whatsapp is pretty much _the_ messaging app

In Europe Telegram is huge. 1 billion Telegram users in the world, with 700 MAU (and there are already some countries where Telegram is the most used messenger).

I refuse to use WhatsApp (and don't have FB). Most of my friends and family are on Telegram. Many have both and use both interchangeably.

comment 3y ago · link · parent

> a Pentium 4 Prescott RK80546PG0881M > ... and running a 32-bit Linux Server

Out of curiosity and I don't even remember: wouldn't that CPU already support 64-bit Linux?

comment 3y ago · link · parent

> ... but factories and labs have equipment which need to run for decades, so the computers controlling them also need to run for decades.

for PCs it's obviously not a problem (there are just so many parts out there for just about everything and anything) but what about these proprietary expensive ISA (or PCI) cards you mention? Are replacement available for decades too? Or are they easy to find second hand at reasonable prices?

comment 3y ago · link · parent

> Code was constantly being profiled using raster bars.

For those wondering: we'd change the background color from, say, black to blue for the "physics" part, to green for the "drawing" part, to purple for the "audio rendering" part... All in the same frame, while the frame was being drawn.

So you'd see on the border of your screen (usually outside of the drawing area you'd have access to) approximately which percentage of each frame was eaten by "physics", graphics, audio etc. and how close you were to missing a frame.

And it was quite "hectic" typically these color "raster" bars would jump around quite some from one frame to another.

But yeah there was indeed something very special about having a pixel-perfect scrolling for a 2D game running precisely at the refresh rate (50 Hz or 60 Hz back then). And it wasn't just scrolling: games running on fixed hardware often had characters movement set specifically in "pixels per frame". It felt so smooth.

Something has definitely been lost when the shift to 3D games happened: even playing, say, Counter-Strike at 99 fps (was it even doing that? I don't remember) wasn't the same.

People don't understand that their 144 Hz monitor running a 3D game still doesn't convey that smoothness that my vintage arcade cab does when running an old 2D game with pixel-perfect scrolling while never skipping a frame.

comment 3y ago · link · parent

Stable Diffusion is open and fully deterministic: a given version of SD+tools+seed shall always give exactly the same output. The model is available to everyone so you run it locally.

Which means there are countless (free) amazing tools around SD.

StableDiffusion is threatened by exactly nothing.

(others have mentioned that SD shall happily generate porn: I don't care about that... But I care about SD being the actual "open AI").

comment 3y ago · link · parent

> sm cwhx szms atmw tis lrnx b usq krkws frm y ltn lfbt. sc nn-zngrfk szms hv ofn bn dskrbd s lfbtk, x przs mat klam yt sc szms rx tru cwhx. hvvr ys lfbtk szms dhv vlu f stdxs vo kx ddkt y irs nssri tmzr a stngrfk cwhx. lfbtk cthxs kx b rtn at y spds yretkli psbl vy smbl szms 200 ws pr mx r mr bt rkvr nl a frkc fytm t akvr a usfl spid f btvn 60 ws pr mx

That's not the correct transcoding. The end is missing "and 100": I take it the end needs to be "60 x 100 ws pr mx".

comment 3y ago · link · parent

Hardware and software backdoors does scale.

Data exfiltration through audio / fan speed / LEDs blinking / power draw / etc. simply doesn't.

I think that a discussion about metric shitloads of networking gear being compromised is not the place to make fun of the few that didn't compromise on security.

There's a place for offline/airgapped devices and private keys (PGP keys, seeds, whatever) being generated by throwing dice.

If anything all these backdoors do show that math/cryptography do work. The NSA's budget may be 100% of the US GDP, they still wouldn't be changing Sun's gravity or the math behind cryptography.

The joke today is on those who kept making fun of those who didn't trade security for convenience.

comment 3y ago · link · parent

The biggest issue is you now need programmers who know about epsilon computation and error propagation when working with incorrect numbers. Then you need to know when to fudge the visual representation of your incorrect number (and you probably also need to understand when your programming language / libraries do fudge the output for you).

FP numbers have their use but they re better reserved for scientists doing actually scientific stuff and not just to represent what are actually tiny numbers (in the grand scheme of things) and which can be represented perfectly by other means.

comment 3y ago · link · parent

Some full sets are worth quite some money but most of that crap is mostly worth its weight in silver (it's not pure silver) and that's it.

Now here's the kicker: some of these sets have several kilograms of silver in them.

Here'd be the biggest french auction site and full "menagere" can go from 2 K EUR up to 15 K EUR for the rarest and biggest ones:

https://drouot.com/fr/l/22652407-couverts-espagnols-en-argen...

They're usually listed with the weight of the various pieces.

If it's 750/1000 silver (or whatever: it's not pure silver I think) and there are x kilograms, you can figure out what these are more or less worth.

> The silver was real silver judging by the tarnishing

I wouldn't be so sure... Many other material do look not unlike silver and were precisely used to make it look like they were silver. These aren't worth anything.

comment 3y ago · link · parent

> Educating children is incredibly expensive.

So people who've been homeschooled can opt out of that tax right? I mean: that's only logical.

comment 3y ago · link · parent

> ... despite population being the multiplier that scales every single problem the world faces

That's the big one which people don't understand. The poor that has five kids is doing more harm to the planet than the rich who has only one kid.

Wife and I decided, on purpose and for that reason, to have only one kid.

And no matter what we do during our lifetime, we're polluting less than people having more than one kid. It's a fact and a simple one. Yet people simply don't understand.

My father had four kids. Today's world problems are his fault and nobody is changing my mind on that.

And don't even get me started on people having many kids for religious purposes, to conquer the world with the women's bellies (as they say): they'll get the planet they deserve.

comment 3y ago · link · parent

> be the kind of person where if everyone acted like you, it’d make the world you want to live in.

My wife and I think exactly this way and we did just that: precisely for that very reason, we decided to have one kid. Not three. Not two (could have happened with twins but that's uncommon).

And if everybody were to do like us for a few generations, most of our problems would be solved in a few generations (and couple could start having two kids on average again).

And I do not care about the broken promises of failing states who need ever more young people to pay for the impossible-to-sustain pension schemes.

1
109110111
163