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

> tbody is genuinely optional in the spec

IIRC optional in the HTML spec only. Not in the XHMTL one and not in the polyglot syntax.

comment 4y ago · link · parent

Yup that's not valid polyglot HTML5/XHMTL code. In HTML < (and &) aren't special (except at the end tag). But in XHTML < is treated as a tag. Here's the link to that part of the spec for anyone interested:

https://www.w3.org/TR/html-polyglot/#raw-text-elements

comment 4y ago · link · parent

Forking in the background is one way, you can also use GNU "parallel" ("apt-get install parallel" for those on Debian and the likes).

For example I've got all my CD ripped to FLAC files, but my car only takes mp3 or wav... So I did a batch convert of FLAC to mp3, making sure to put all cores at work by piping the output of "find" into "parallel".

Some commands also allows to directly parallelize (like, say, "make -j 16 ..." to build using 16 cores/hyperthreads).

comment 4y ago · link · parent

I'm not really into the ecosystem but I do read about it once in a while and I did hear about "yearn" for sure. So I think they aren't that small.

comment 4y ago · link · parent

Yup, honestly it's pathetic and getting on my nerves every single time it's posted.

comment 4y ago · link · parent

Well the obvious solution if one was to use this scheme (which I'm not saying is good or bad) would be, at PIN creation time, to disable palindrome.

comment 4y ago · link · parent

Then make it so that the duress code allows you to withdraw $300, not $2000.

The duress code could also mean instant warning sent to the police. This would deter some bad guys too if it was widely known.

comment 4y ago · link · parent

> A Yubikey can be hacked to send arbitrary keystrokes - but that's of limited usefulness. I guess an attacker could force open a browser window to download malicious software, but that would be fairly obvious to a user.

If it can send arbitrary keystrokes, it's not just a "way in" (trying to download malicious software): it's also a way to exfiltrate the data (for example keylogged inputs) it collected.

As for being fairly obvious to the user: what about waiting for command+t (or whatever the command is) plus something looking a website to be typed, then wait for 4 minutes of user inactivity (no keyboard input, no mouse input) before sneakily opening a tab and quickly closing it? Sure, some user may notice it but many won't for after 4 minutes of inactivity they won't be looking at their screen (and the screensaver won't have kicked in already).

comment 4y ago · link · parent

Old books are really nice. I've got one from 1575 about plants, written in old french. It looks, feels and smells "hundreds of years old".

Some old books like the one about cooking in TFA are ultra rare but others were printed in gigantic numbers and many copies persists to this day, so they can be fetched at relatively low prices (sometimes for a few hundreds bucks if you're lucky).

Here's the one I have (there are complete PDF scans of that book on the net as it's a really common one):

https://duckduckgo.com/?q=fuchs+l+histoire+des+plantes&t=h_&...

comment 4y ago · link · parent

> It would be one thing if Visa/Mastercard were being forced to do this, but for them to take it upon themselves to "pick a side" during a global conflict feels really wrong.

Maybe they were forced. In any case, it really sucks.

comment 4y ago · link · parent

> You know without doubt that the binary that you produced was built from the source code, because you built it.

> I'm asking, why not stop there?

You do not know that it was built from the source code. That's precisely why you're not stopping there. For your machine, the one you're building from, may be compromised and compiling something else than the source code it's showing you (for example it may be inserting a backdoor here or there in the binary).

While if you really end up with the same build as everybody else does (and you have to really make sure of that: checking the hash from the very machine you compiled from is not be sufficient), you know for sure that the build is the same everybody else ended up with.

comment 4y ago · link · parent

I don't know why you're downvoted: there is some truth to that. Java has never been a big player on the Desktop space. There's been a few successful Java desktop apps but not that many.

I kinda liked developing Java Swing app but I never saw Swing apps as something very common.

On the other hand Java and the JVM "not on the desktop" kinda made it everywhere.

comment 4y ago · link · parent

Sure but for those who remember history C# was Microsoft's answer to the incredible success that Java was clearly becoming.

Being years late to the party and basically creating a (back then) Windows-only copy of Java, it's quite normal that they managed to do a few things better.

Regarding UI editors: back in the days IntelliJ was already amazing and allowed to hide all that boilerplate Java code. This boilerplate code was still there, but hidden by the IDE.

comment 4y ago · link · parent

I'm a huge Emacs user but I totally suck at org-mode. Now I do use it but mostly for the outlining functionality: I love it that I can quickly collapse/expand by "x levels" (for example only level 1 titles, up to level 2 titles, etc.). But most of all I "search don't sort": it's very common that I "ripgrep" (from Emacs of course) inside my .org files. Even only using like that, without knowing much about it, it's still very useful.

I do version everything under Git so when I switch machines/countries my latest notes are one (ma)git command away.

comment 4y ago · link · parent

> ... at the end of the day it's basically true that GDPR and CLOUD are fundamentally incompatible.

There are going to be a shitload of companies trying to offer EU-only cloud services that are going to comply with the GDPR (I'm not saying they'll all succeed, but there's obviously a market now). I don't see how the GDPR and the cloud are incompatible. I do however see how GDPR and american companies offering cloud services from servers based outside the EU are incompatible.

comment 4y ago · link · parent

> I don't mean to be confrontational, but as an American with websites in the US- why would I care?

What about all the users on HN who have websites and who happen to be from the EU though?

It's not because you don't care that no-one here cares.

comment 4y ago · link · parent

Yup but back then they still used a ball. And that ball was always filthy and both the ball and the rest required regular cleaning (just as with other old mice).

comment 4y ago · link · parent

> Could also be talking about boot time maybe - isn't SystemD supposed to boot faster than OpenRC much of the time?

The first time I switched to systemd, years ago (when Debian moved to systemd), I noticed the boot becoming much faster. So, yup, it was a thing. But now, years later, I got rid of systemd and honestly I don't see my system booting much slower. I mean: if Debian takes, say, 0.3s to show me the login prompt while Devuan (the Debian fork with all the systemd stuff stripped away) takes 0.4s, who cares...

(fwiw I always boot into text console, log in there, then manually launch the graphical display)

I don't think that the "faster boot time" is an argument in favor of systemd anymore, at least not on a modern system. And in case you need to spin a container in a heartbeat, you may be using some ultra minimal Linux distro like Alpine anyway.

comment 4y ago · link · parent

I'll just say this: many here are convinced our AI overlords have landed and we'll soon all be out of jobs and deepfakes are undistinguishable from the real thing.

So I'll say this: if you believe AI is advanced, then in 2022 it's not possible to take this video for granted and you have to take into account that all evidence surfacing from now may be deepfakes. I'm not saying they are: I'm saying you have to keep that in mind.

comment 4y ago · link · parent

Some 3 letters agency (FBI?) immediately raided all the nearby places that could have had cams and seized everything. I'm pretty sure that it's documented: IIRC footage from a petrol station nearby was confiscated.

I was there (at the time, in front of my TV I mean) and I clearly remember the first witnesses being interviewed by reporters: as soon as a witness would say something not fitting the official narrative, it would never be aired again. For example regarding the pentagon one eye-witness said he saw something like a big missile on which wings had been strapped. I saw that on TV. I clearly remember it. Now I'm not saying it's not a Boeing that hit the Pentagon: what I'm saying is that it's very weird that all these ramblings from these drunkards mistaking, say, a Boeing with a "missile with wings strapped on it" were basically aired once then erased. I'm pretty sure that guy was both drunk and of course because the plane was going fast, the mistake was made in honest faith (you, too, would certainly mistake a Boeing for a missile with wings strapped on it).

Same thing with people saying they heard explosions in the WTC: as soon as they'd mention that, they'd be cut off by reporters and these people would never be interviewed again and their account never aired again (FWIW I don't believe in a controlled demolition but I do believe in narrative manipulation).

After these oddities of course we all know totally normal things then happened: for example IIRC one the rare flight that was allowed to happen when no plane were flying in the US was a flight evacuating members of the Bin Laden family.

And then the wars that followed. Made perfect sense. No fabricated evidence. Guantanamo and the like: all perfectly cromulent.

When you take all this, honestly that we don't have any footage of that impact just seems on par for the course.

comment 4y ago · link · parent

> This is the "web of tomorrow"?

I'd argue that those who never wanted to do any of these things pretty much got the "web of today" they deserve.

comment 4y ago · link · parent

It's always great to read how these worked...

I'm the proud owner of both a real CPS PCB and a bootleg (but still vintage) PCB (they go in a arcade cab). If I'm not mistaken once you've got a CPS PCB, you can flash any CPS game you want on it.

As piracy was rampant with these, Capcom added a battery powering a Z80 on some CPS boards and if it was ever off, it'd erase the game. These Z80 are known as "Kabuki Z80". The issue is that... 25 to 30 years later, all these batteries started failing and these board would "suicide" themselves. So there are people out there who "desuicide" (it's the term employed) these boards.

They're a great piece of history and, well, of course Fabian Sanglard had to blog about it!

The Wikipedia page is a cool read too:

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

comment 4y ago · link · parent

My wife just asked me: haven't the truckers now basically been proven right?

I mean: in the end what they were really protesting against were measures they did find totalitarian (btw I'm double vaccinated and so is my wife, out of our free will, so we're not anti-vaxx).

The measures taken do not look like something normal to do in a democracy: invoking an emergency act and using laws meant for war times... Aren't some people who were not sympathetic to their cause now going to think they were right all along?

I'm asking because I just explained the situation to my wife and her first reaction was precisely what I mentioned: "so they were right all along?"

I didn't look at it from that angle but there are obviously people who will.

comment 4y ago · link · parent

> I don't see how this would grant the government permanent powers unless the Emergencies Act gets renewed in perpetuity.

Label any protest you don't like an "illegal protest". Then as long as there's less than one such protest every 30 days, it's not "permanent"... Yet it is.

comment 4y ago · link · parent

> driving. Driving your kid around will often soothe them.

Same here. Doing a walk with the stroller and I'd be looking at 45 minutes before the kid would fall asleep. Taking the car and driving once around the block and my kid was sleeping. I don't know if it's the movement, the fact that it's faster than walking, the vibrations, the engine noise (I wonder if parents with electric cars use that trick too) or something else: but for me and for many others the car trick simply works. Not the most ecological thing to do but, well, I was lucky in that mine would fall asleep in the car nearly instantly.

comment 4y ago · link · parent

The "identify" command is also worth a try should some a files be graphical. Not too sure if very old graphical format are supported by "identify" but it's worth a try.

comment 4y ago · link · parent

Big thanks to pg, dang, all the others involved and all the HN community.

Happy birthday!

P.S: I think it's one of those threads that can have the old /. or reddit feeling, posting messages without much substance but that do still feel good and even with an oldschool smiley ; )

comment 4y ago · link · parent

> Moving to 4k screens (200+ dpi) is the biggest upgrade you can do for text readability, and I suggest anyone who hasn't tried to do so and see for themselves.

I've got a M1 laptop and it is indeed very nice but... I love my ultra-wide 38" doing 3840x1600 pixels doing only 120 ppi (still better than, say, 90 or 100), way more than my M1 laptop's screen: I simply don't like the physical aspect ratio of the 200 dpi monitors up for sale... They're way too "squary" for my taste.

I'm really a happy camper with my non-retina ultra-wide even though I tried (and use nearly daily) a retina display.

I think there are two problems with current retina offerings: not enough resolution / physical aspect choice and not good enough refresh rates.

I'm sure they'll get there, eventually. Meanwhile I'll keep working on my 120 ppi monitor.

comment 4y ago · link · parent

> that you should use systems that have reversible transactions.

OTH I'm pretty sure that if the mark had been using such systems years ago, he wouldn't have $100m+ worth of ETH now ; )

comment 4y ago · link · parent

How are these models, still spouting out lots of seemingly okay but actually non-sensical and contradictory ouptuts going to deal with training the next version, once the training set will contain shitloads of non-sense generated by the previous version?

As soon as it gets "good enough", it's not going to be easy to tell it's actually bogus. What's to prevent people from poisoning the web with nonsense?

Or are these only ever going to be trained with known reliable sources?

1
141142143
162