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

I'm so tired about these examples: I don't find them impressive.

Here's what I got several times with GPT and other who are using it must have encountered the same issue (simplifying the example to show the problem I encounter all the time):

    GPT: Frodo says that 2 + 2 is 5.
    user: that is wrong, 2 + 2 is 4.
    GPT: You are correct, I was wrong. Here's the correct version:

         Gandalf say that 2 + 2 is 5.

This happens to me all the time. The textual model only evaluates part of the input and focus, for whatever reason, on the wrong part of the text and then from there it's a descent into madness / futility.

This exact "partial input" issue was shown yesterday in the "Eliza vs GPT" vid:

    Eliza: "Did you come to me because you are programmed to simulate human language?"
    GPT: "Yes, that's correct.  I'm programmed to simulate human language behavior..."
Everybody using it must have noticed that. It's not answering what was asked. It's only partially taking into account the user's input. I don't know if it's because the way questions are parsed or the way the model is compressed but something is very seriously off.

And don't "you're prompting it wrong" me.

comment 3y ago · link · parent

> It’s more complex than that. French courts are not subservient to the CJEU (as France is a sovereign country) and whilst precedents at the European level are important, they are not laws.

Well yes and no. The UK is a sovereign country. France, just as all the EU countries, have to translate EU rules and legislation into national laws in a timely manner and the EU is not exactly kidding with this.

The EUCJ's role is specifically to insure "that EU law is interpreted and applied the same in every EU country; ensuring countries and EU institutions abide by EU law".

That's quite the mission statement.

Basically: France can abide or can get the fuck out the EU, like the UK did.

comment 3y ago · link · parent

Thought it was a clone of that one too! I never played much of the "sim" games but Theme Hospital was a good one.

comment 3y ago · link · parent

> A gamble that the zero knowledge proof, implementation, etc. will outlive the statute of limitations for whatever crime I commit.

And that is only for the blockchains which do actually use ZK-proofs. Like, say, David Chaum's upcoming "XX network" chain (FWIW David Chaum is the author of Digicash, predating Bitcoin, and one of the seven papers cited in Bitcoin's whitepaper).

Most blockchains by very far are using a public ledger and zero ZK crypto.

comment 3y ago · link · parent

> My entire career is now technical debt, or the code has been deprecated.

My fellow dev often laugh when I tell them that instead of looking at all the long dead techs that are not useful to me anymore, my way to feel good is to look back at all the long dead techs that I didn't bother to learn.

And, geez, is the graveyard huge.

> Java Applets were also a big thing once upon a time. They were slow, and having the correct version of Java installed on your computer was always a mess.

Java applets were never that big. They didn't work very well (for the reason you mention) and weren't ubiquitous. They also nearly all looked like shit.

But Java isn't disappearing anytime soon. Java is huge and it'll have a legacy dwarfing COBOL big big times. Many may not find Java sexy but the JVM is one heck of a serious piece of tech, with amazing tooling available.

And most devs hating on Java are using an IDE written mainly in Java (all the JetBrains ones): the irony of that one gives me the giggles.

Did anyone in the mid to late nineties / early 2000s really discover Java and Java applets and thought: "Java applets is the tech that'll catch on, I'll invest in that" and not invest in Java itself? To me Java was the obvious winner (not that it was that great but it was clear to me Sun was on to something). And, well, compared to the other dead tech, at least if you learned Java applets you got to learn Java too so it's not all lost.

comment 3y ago · link · parent

> If you ever want to do anything with the funds in that wallet (e.g. sign transactions using the private key), you're going to need to connect it to a machine that can connect to the Internet.

Not commenting on GP's point but... No, you don't.

You can prepare your transaction on an online machine, without signing it. With full access to the blockchain, the balance of every address, the "counter" needed so that you tx is legal (in Ethereum's case), which address you want to spend from etc.

Then you transfer that transaction, without using the Internet, to the offline computer and sign it there and transfer the transaction back to the online computer to broadcast it.

The computer preparing the transaction, the one signing the transaction and the one broadcasting it can be three different computers.

You can even do that with an hardware wallet: the hardware wallet does not need to be plugged to a computer that is online. It can be plugged to a computer that is offline.

There are still many issues, even when using airgrapped computers. For example it's possible that a hardware wallet vendor is using non-determinism in "random" parameters chosen to sign transactions to exfiltrate the seed hidden among signed transactions. So even an offline/airgapped computer and a hardware wallet hooked to that offline/airgapped computer wouldn't help.

comment 3y ago · link · parent

Another nasty supply chain attack exists, way simpler (unlikely to work on knowledgeable users though)... A legit hardware wallet is shipped, but with fake documentation accompanying it. Some evil people working for delivery companies would swap legit hardware wallet for the exact same model, but with documentation using the official company's logo and font and saying, basically:

"Here's your hardware wallet, initialize it with the seed written on this piece of paper, it's the only one that's going to work for this hardware wallet. Do not lose this seed or you'll lose access to your funds!".

Several unsuspecting users, not aware that a random seed is supposed to be generated by the hardware wallet (or by throwing dice, or whatever) have been pwned this way.

comment 3y ago · link · parent

I have no solution for the web turning to complete shit but I do have a solution for the "laptop on fire" / fans going crazy and my solution even helps the planet a tiny little bit.

I do simply throttle my entire CPU when I'm on a virtual dekstop / workspace where there's a "surf the Web" browser opened (as opposed to, say, a workspace where I have a browser I use to test stuff in dev).

It's all automated from my window manager: everytime I switch workspace the maximum CPU speed allowed is modified. I go to workspace 3, where my editor/IDE is, the CPU governor is set to "ondemand" (i.e. the CPU can boost to 5.5 Ghz if it wants to). I go to other workspaces: the CPU governor is set to "powersave".

It's brutally efficient. No more noisy fans because this and that websites are busy executing oh-so-important JavaScript code to track me.

I don't bother modifying the max TDP of the GPU when I switch workspaces but I could (the reason I don't bother is that I'm using fanless GPUs in my two main machines).

It just works.

In the past I used to put CPU and RAM quota on processes/group running browsers but I find it much easier to just modify the CPU's power settings upon switching workspaces.

It's trivial to do and there's really not much websites can do about it. They can basically suck it.

comment 3y ago · link · parent

> Carbon Based Lifeforms anyone?

Of course! I recommend anyone not knowing them to check their "MOS6581" song (and not just for its title: it's a totally epic song).

comment 3y ago · link · parent

> Floating Points

You won!

Solar Quest although seen your list you probably know them already.

comment 3y ago · link · parent

So that it gets cached by the browser?

comment 3y ago · link · parent

> I think this can be generalized to, “when you lose the ability to create a certain Form, you also lose some of your ability to imagine new types of that Form, and instead just rely on shuffling existing versions of it around to generate novelty.”

And it has a very serious consequence: "when you lose the ability to write, you lose the ability to create new content on which future LLMs are going to be trained".

One guy has been exposed for producing one computer programming book per week, for six months or a year straight, all with 5 stars reviews.

How many people like him are gaming, for their own benefits, the system?

It's all too obvious on GitHub and StackOverflow already: people gaming the system with automatically generated code that just, to reuse you words, "rely on shuffling existing versions".

How can this LLM-generated content possibly be used to created a better LLM?

Basically: how do we train future LLMs using content produced by those among the humans whom didn't lose their ability to think?

comment 3y ago · link · parent

> The crypto markets may be looking uncertain right now but some are still making money from Bitcoin sales: the U.S. government.

Oh yup they do. The IRS also claims FTX.us must pay them $44 billions and because it's the IRS they get preferential treatment and are to be paid those $44 billions before customers get to get their money.

So it's all "fake monopoly money" and whatnots, but the US government is certainly enjoying very real money from all this, not to mention the tax on realized gains they're making too.

comment 3y ago · link · parent

> How is that possible?

I'd say that we live in a world of checksums, cryptographic checksums, retries, deterministic builds, distributed VCS (like Git), digital signatures, etc. which helps a lot with the very rare bitflips that do actually happen.

> For example, in the average statically compiled codebase, flipping a single bit in source code being edited (with the code then being saved to disk) will make it fail to compile with high probability, which would be noticed immediately.

I fully agree. If I set say "unstable" settings in my UEFI/BIOS for the RAM, I cannot compile, say, Emacs, without getting a segfault.

> For example, in the average statically compiled codebase, flipping a single bit in source code being edited (with the code then being saved to disk) will make it fail to compile with high probability, which would be noticed immediately. That seems incongruent with the figure quoted above.

I don't understand it either.

comment 3y ago · link · parent

For comparison, on my Debian Bookworm (aka "testing" but in hard freeze and full freeze in a few days I think, stable release in june) here...

    ...$  lsmod|grep nf_table    (tried without any just to make sure) 
    ...$  unshare -U -m -n -r
    unshare: unshare: failed: Operation not permitted
    ...$  /sbin/nft add table inet filter
    Error: Could not process rule: Operation not permitted
    add table inet filter
    ^^^^^^^^^^^^^^^^^^^^^^

    root #  cat /proc/sys/kernel/unprivileged_userns_clone
    0

comment 3y ago · link · parent

From the talk:

> "(caveat): doesn't work with DNS-over HTTPS"

That's kinda a big one. Thankfully, so far, Firefox can still be set to some "corporate" setting where DoH can be forcibly turned off.

If you want to experiment and play with Wireshark to check DNS queries you pretty much have to use Firefox and you have to configure it to not use DoH.

It's what I do: Firefox with DoH prevented. Then I run dnsmasq on the local machine (the one also running Firefox) and I also run unbound on a RPi (because, really, why not!?). unbound is really sweet: you can match domains using wildcards and null route them, you can force a higher (or lower) TTL setting before the response expires, etc.

Then there's the more extravagant stuff I do: like using the firewall to automatically reject any query that tries to fetch a domain name containing Unicode characters (yup, I'm like that and, no, I don't care that it may break a few sites... Unicode characters in domain names can just die a painful death).

comment 3y ago · link · parent

I don't think it's misinformation. You may decide, on your own website, for your own users, to accept passkeys from everybody but others won't.

Sadly enough it's a near guarantee that the less secure implementations of passkeys (the software ones, allowing cloning and backups in the cloud) are likely to be the most accepted.

While actually secure implementation with the secret hidden deep down behind an HSM and never leaving it, made by smaller companies who do care about security, are likely to be rejected on the ground that it's too much of an "obscure" vendor.

I already posted about it today but if you think about it it's literally insane that cloning was meant to be detectable (and detection was enforced and upon detecting a cloned key, one of the two keys would stop working) and that this feature has now been removed with the sole justification being: "Because software backups to the cloud".

It is not good.

comment 3y ago · link · parent

> It's no longer "something you have" when it can freely be copied, including by a casual passerby or a virus

Yup it's very sad. It's better, for regular people, compared to passwords but it's a complete step backwards compared to actual physical secrets stored behind an HSM (like inside an actual physical FIDO2 device).

It is pure insanity that FIDO2/webauthn was, at last, getting somewhere and that we had something secure gaining traction and that the standard has been embraced and extended by the likes of Microsoft (and Apple and Google) to then greatly lower its security.

While still pretending it's all still FIDO2/webauthn.

And as I understand it it's really bad because companies using passkeys shall be able to force their users to use the less secure form of passkeys by actually refusing passkeys from those offering passkeys where the secret never leaves physical hardware.

For a start it is pretty obvious that the less secure Google/Apple/Microsoft "password stored in a file on your desktop" (and backed in the (i)Cloud: what a concept for security keys!) you mention shall be accepted everywhere. While it's highly likely that at some point, "because convenience", they'll cut off passkeys vendors offering actually secure devices.

And it's likely we'll have at the same time "security experts" explaining it's a godsend security-wise.

> So now when you use Passkeys we'll need to add another 2FA instance to properly secure your account...

As long as it's actually possible to do so.

I fear that at some point it's going to be passkeys are the only auth option and by the way we accept "software passkeys backupable to the cloud" only.

It's just sad.

When you think that the original implementation of FIDO allowed users to detect if their security key had been cloned, thanks to the monotonic counter (I know for a fact because I verified this myself, with cloned security keys, both before and after Google removed that monotonic counter )... But since then Google (and others) removed that check (so it's already impossible to detect if your key has been cloned).

This all makes me think there's more to it than "just" Apple/Microsoft/Google. I think it's highly likely some three-letter agency was involved in the "enhancement" of the standard.

comment 3y ago · link · parent

I own the model just before the F355, the Ferrari 348. A big difference between the two, in addition to the F355's much better handling, is that the F355 has got 5 valves per cylinder (355 is for "3.5 liter / 5 valves per cylinder while 348 stands for "3.4 liter / 8 cylinders and has only 4 valves per cylinder). The music the 348 produces is already beautiful (especially with a non stock exhaust) but the F355 is indeed one of the best sounding V8 of all times.

Italians know how to make cars sing. Sadly they don't much about electricity/electronics nor reliability ; )

comment 3y ago · link · parent

> Waiting for the post delivery, hoping that day was the day the next package arrived.

And ads in physical newspapers to exchange demos and games! I've got amazing memories of the C64 era and then the switch to the Atari ST / Amiga one.

With my best friend we'd hop on our BMX 2000 bicycles and drive all across town (and sometimes even for two hours outside town) to go meet our "contacts" and spent countless time copying disks. And then we'd cycle all the way back and be amazed at the new intros (they weren't called "cracktro" yet IIRC) and demos we had fetched.

And, just like you, I had to know how to code the same. So it was on to assembly to manipulate the blitter and the copper: those "copper bars" were just way too cool!

P.S: I cannot thank enough my mom who, like many parents, somehow understood that it was the future and bought us those expensive toys (it was sizeable expenses for her).

comment 3y ago · link · parent

> So, isn't this firmware protection with BootGuard only really meant to prevent rootkits from getting persistence?

I saw this "but it only prevent persistence" several times and I wonder...

Isn't preventing rootkit from getting persistence already a big win? Preventing a rootkit from getting persistence also means that should a new signed kernel contain a security fix fixing the hole the rootkit was exploiting be installed, the rootkit won't work at all anymore. The attacker now needs not only to root the machine at each boot, he also needs to cross fingers that a kernel patch closing the hole he's exploiting doesn't get installed (or he needs to both prevent the new kernel from being installed while, at the same time, managing to make believe it's been installed).

Which also raises the probability the exploit he's using at every boot gets detected at some point.

How is this a win for attackers?

Are black hat hackers really thinking "Great, BootGuard and SecureBoot are getting ubiquitous, everything up to the kernel loading is signed and enforced, so now things are easier for me!"?

comment 3y ago · link · parent

I can see your point but, geez, that's pretty depressing if it's the only reason it's supported!

As a sidenote for having installed Debian with SecureBoot on on several systems, I'd say I still had to muck around quite some in the BIOS/UEFI. Latest one I scratched my hair for a bit was an AMD 3700X on an Asrock mobo where I somehow had to turn "CSM" (Compatibility Support Module) off otherwise Debian would stubbornly start the non-UEFI (and hence no SecureBoot) installer. On my Asus / AMD 7700X things were a bit easier but I still had to toggle some SecureBoot setting (from "custom" to "default" or the contrary, don't remember). All this to say: it's still not totally streamlined and users still need to muck around anyway.

comment 3y ago · link · parent

To all those saying SecureBoot brings absolutely nothing security wise...

Why is a project like, say, Debian, even bothering signing kernels:

https://wiki.debian.org/SecureBoot

What's their rationale for supporting SecureBoot?

comment 3y ago · link · parent

> I don't know if this extension foxes it, but I've found learning language through Netflix difficult as the subtitles and dialog don't match, neither for dubbing or original.

100 000 times this. I don't understand why it's like that but they simply often don't match. And it's not some automated translation that went wrong: it's as if the subtitles didn't match exactly the final "script". They don't match but the subtitles are still totally correct. Sometimes the sentences are formulated differently.

It's honestly both a mystery and a gigantic WTF for me. Are these only meant for deaf people? And how did they manage to get "correct but non-matching" subtitles?

comment 3y ago · link · parent

> They took a 40% hit to deposits. What do you want them to do? It’s not survivable. This is just how our banking system works.

You're making it sound like people taking out their money out were those in the wrong, causing the failure of the bank.

That's not what happened. People taking their money out were in the right.

The root cause is bankers at FRB miscalculating risk. And they are those who were wrong.

comment 3y ago · link · parent

49 EUR a mont or about 600 EUR a year.

I live in neighbouring Luxembourg now and here it's very simple: public transportation inside the country are free. No need to register or anything: you just hop in and it's free. For tourists, for expats/residents/natives: doesn't matter, it's all free.

Income tax goes as high as 40% in Luxembourg (for the high earners) but it sure seems like people here do get a lot in return for their taxes.

comment 3y ago · link · parent

It is definitely not a new concept.

Vernor Vinge came up with the term in the eighties or early nineties.

The Wikipedia page I linked to has more than a hundred references.

comment 3y ago · link · parent

> This is sometimes called the AI singularity or a superintelligence explosion.

Nitpicking but an intelligence explosion due to an AI able to enhance itself is called the "technological singularity":

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

1
118119120
163