HNHacker News
TopNewBestAskShowJobs

SgtBastard

280 karma · joined November 7, 2019

submissionscomments
SgtBastard··on It’s infuriatingly hard to understand how closed models train on their input
“My mother? I’ll tell you about my mother!”
SgtBastard··on Leaked source – CS:GO
Valve has two EU-based subsidiaries who can sue you on the parents behalf.
SgtBastard··on European Commission Calls for Pirate Site Blocking Around the Globe
Tiffany’s spends a lot on advertising as well to create demand amongst those that can’t afford their jewellery - this line of thinking is not robust.
SgtBastard··on Ozempic drug supresses desire to smoke, drink and more?
The factory must grow…</gollum voice>
SgtBastard··on Cedar is an open source policy language and evaluation engine
Policy: Transactions under $X can be raised and approved by the same person. >X requires an independent approver with permission “supervisor”.

Activity: Alice (a supervisor), raises a transaction >X, Bob is a supervisor, Eve is not.

Problem: “Who can approve the transaction?”

(As humans the answer is obviously Bob, but for typical implementation approaches to AuthZ policy, this is challenging to determine. Typically it’s done out of band and then makes a decision when requested by Bob (allow) or Eve (deny))

SgtBastard··on Prompt injection explained, with video, slides, and a transcript
Section 17 (Right to be forgotten) 1a and 1b both refer to situations where there was a legitimate need to process and/or keep a subjects data.

https://gdpr-info.eu/art-17-gdpr/

Implementing this as a rollback-able delete will not be compliant.

SgtBastard··on The last days of a 350-year-old family farm
Several cogent points have been made about why China might have unexpectedly high agriculture output per acre used to a lay person - all of which you seem to wish to curmudgeonly argue against strawmen variants of.
SgtBastard··on The last days of a 350-year-old family farm
Friend, I’m Aussie as well and listing mining and geophysics as having anything to agriculture weakens your appeal to authority, making the subsequent snark even less appropriate for HN.

Do better.

SgtBastard··on The last days of a 350-year-old family farm
Not the person you’re replying to, but China over literally Millenia have effectively terraformed mountains into channels and channels of rice paddies for the cultivation of rice - areas that westerners would not typically consider farmland.

Of course you can also plant rice on flat fields (and China does as well), but this does skew the comparative ratios of acres of land use : people fed.

SgtBastard··on The last days of a 350-year-old family farm
A common abbreviation for agriculture.
SgtBastard··on How to design software architecture for startups
A JWT with a sid claim that RPs use to check session validity is 100% still a JWT with bearer authz claims.
SgtBastard··on How to design software architecture for startups
Friend, do you not understand that not all services are Microservices?

The article even states Microservices are not suitable for startups - the conversation in this thread has been able service oriented architectures which is a much broader topic.

SgtBastard··on Ask HN: Why is WebAuthn so slow to take off?
In at least Apple's case, Device PIN is also a factor to unlock the secure enclave where the passkeys are kept - so, assuming there's no stronger enforcement that it must use FaceID/TouchID, shoulder surfing a PIN unlock of the device and then swiping it grants access to all accounts.
SgtBastard··on Ask HN: Why is WebAuthn so slow to take off?
The WebAuthN standard (and corresponding browser implementations) do inject browser supplied attestation of the requesting domain, so only a horribly broken implementation would sign a request for mail.google.hackers.ru with the key provisioned for mail.google.com - the user has no input into what the browser supplies, hence its phishing resistance.

That being said, there's no end-to-end verification of the server, so any DNS-poisoning or proxy-MITM-ing of traffic that presents a certificate trusted by the browser will validly present the Passkey implementation a domain that matches a validly provisioned key, allowing session hijacking or the start of oracle attacks on the private key itself.

Also: phishing the recovery passwords to add a new device to the synched keychain is definitely a thing.

SgtBastard··on Ask HN: Why is WebAuthn so slow to take off?
> To my understanding, Passkeys implementations don't sync private keys, they sync and cross-sign public keys.

I haven't seen anything in the FIDO alliance or vendor (Apple, Google, MS) documentation to suggest that they're cross-signed public keys - can you point to some that I may have missed?

The reason why I ask is on the face of it, it doesn't make sense to implement in this way: It would mean that each new device would have its own keypair per service and cross signed by at least one other trusted device. Which could be fine, but now each service needs to store n public key pairs (one per device) after validating that the new key has been signed by a known key.

Then, when a new device is added to the Keychain (in apple's case), that device needs to generate m new keypairs for m services, have them cross-signed and then proactively registered for each service.

It does make sense to implement it as the person you're replying to suggests, where a shared private key is shared over an authenticated, end-to-end encrypted process - with the corresponding weakness that if the authentication method for adding new devices to an existing Keychain is compromised, so are all passkeys.

Hence the question.

SgtBastard··on Ask HN: Why is WebAuthn so slow to take off?
Two major problems with holding passwords server side as hashes: 1) Every authentication attempt needs to send the password as cleartext (even if over TLS) so that the hash can be recomputed server side and compared. This gives ample opportunity for the password to be intercepted either over the wire or compromise of infrastructure server-side. Using asymmetric encryption doesn't have this vulnerabity.

2) Passwords that can be stored in the meatsack attached to the keyboard aren't as random as we'd like to think them to be, where as a secure pseudo-random function will generate keypairs with unguessable entropy.

Expanding on 2) While salting and non-uniform iteration counts of hashes prevents instant compromise from rainbow tables, they only slow down adversaries generating hashes from password guesses, as the salt and iteration count will typically be leaked from the same table as the password hash.

Its worth noting that while it definitely is infeasible to attempt to crack 100K+ users passwords from a password hash leak, using password spraying and especially password stuffing approaches will inevitably lead to compromise one or more accounts relatively quickly. At the other end of the spectrum, if a known high-value account can be identified, dedicating the distributed cloud resources to cracking a specific password can be a net-profitable undertaking.

SgtBastard··on Qantas is bringing back Airbus A380s from the California desert
> The only problem…

No. Pilots weren’t even aware of MCAS’ existence until after the second fatal crash.

That’s a huge problem, compounded by

> Boeing cheaped out and made MCAS depend on a single AoA sensor.

https://en.m.wikipedia.org/wiki/Maneuvering_Characteristics_...

SgtBastard··on Street Votes: A proposed response to Ireland's housing crisis
Do you own the woods around you? If not, it’s these attitudes as to why we can’t have nice things.
SgtBastard··on Qantas is bringing back Airbus A380s from the California desert
IANAP, but a lot of the root cause analysis around the 737 max crashes was that they were sufficiently different and so should have required re-certification of pilots before being allowed to fly them. Due to the costs involved, Boeing made the ultimately fatal mistake of minimising these changes to airlines so that pilots didnt know what they were flying (insofar as some of the subsystems).
SgtBastard··on Why human societies developed so little during 300k years
“Everyone knows” FAANGs are a source of many good and new ideas - what makes you think it’s hidden?
SgtBastard··on The day Windows died
Deserve? Perhaps not.

But respond favourably to, in sufficient numbers, that it remains profitable for the shovelling class? You betcha.

SgtBastard··on Generative AI set to affect 300M jobs across major economies
He’s not saying anything of the sort.

You seem very worked up and calling people names is ironically something a puerile teenager in high school would do.

Go outside, get some fresh air and perspective and come back to being a productive member of this community.

SgtBastard··on Generative AI set to affect 300M jobs across major economies
He's saying you're arguing in bad faith because you are: Human drivers are fully autonomous and make mistakes - the difference being we accept the risk of human drivers and their mistakes as a society and have not (yet) with self driving cars.

That fact does nothing to disprove the existence of autonomous vehicles.

Go outside, friend.

SgtBastard··on He who submits a resume has already lost
You were supposed to bring balance to the market, not destroy it!
SgtBastard··on America’s banks are missing hundreds of billions of dollars
>The entire process of industrialization was hugely deflationary

Prices definitely lowered, but the difference being that while there was also supplier upheaval as artisan/bespoke producers were replaced by mass production - the industrialists were enormously and sustainably profitable and could in turn employ those displaced from the failed producers.

Aggregate demand arguably increased with the move of labour from rural agriculture to urban manufacturing.

A deflationary cycle annihilates demand by definition and fixed costs then eat producers alive - leading to wealth destruction, unemployment, debt writeoffs and credit tightening. Which in turn leads to more demand annihilation.

SgtBastard··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
>In my understanding it's something comparable to `gin.Default()` or `flask.Flask(__name__)`, rather than lower level basic `http.Server{Addr: addr}` or `http.server.HTTPServer(address)` (which still doesn't require any manual HTTP protocol parsing).

Its not. Keep reading.

SgtBastard··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
As a sibling commenter mentioned, there’s a minimalist functional web server available out of the box, that can later have other more complex components added on:

https://learn.microsoft.com/en-us/aspnet/core/tutorials/min-...

It’s .NET 101 stuff.

SgtBastard··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
So maybe be accurate when asking someone to write cheques then?
SgtBastard··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
… how often are you hand-parsing HTTP requests and hand-crafting HTTP responses one character at a time?

Productive devs want the request/response wrapper objects and routing constructs to handler methods to get work done and can still drop down into fine-grained request/response crafting as and when required.

SgtBastard··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
Yes:

https://learn.microsoft.com/en-us/dotnet/core/install/linux

Also VS Code, an open source IDE with first class support for .NET languages:

https://code.visualstudio.com/docs/setup/linux

← PreviousPage 4 of 8Next →