Better HN
topnewbestaskshowjobs
Log inSign up

OneDeuxTriSeiGo

1,361 karma · joined Feb 22, 2025 (1y ago) · 470 submissions

Submissions

comment 3d ago · link · parent

Yeah that's why they don't want rain. What you do is stage water saturation systems around the blast site and wire them up to go off right after the detonation triggers. Soak down as much of the dust as possible but you want to control the water so that you can contain it. Then you take the cordoned off area and you harvest as much of the contaminated soil as possible.

comment 4d ago · link · parent

TBH I've not used it professionally but Samba actually has done a lot of work building up a usable AD DC platform that works on linux. It punts a lot of work over to LDAP and co generally but you can get substantial parity to ADDS on linux nowadays.

comment 2w ago · link · parent

de Vries is one of the most surnames in Holland. It literally means "from Frisia (the modern day dutch province of Friesland)".

So Peter de Vries is effectively the dutch equivalent of John Smith.

comment 2w ago · link · parent

Yeah a provider serving botched inference probably would count against SLA if it was at all detectable.

comment 2w ago · link · parent

1. It's a provider concern and a developer concern. If your infra is serving broken proofs that might be justification for compensation for breaking SLA.

2. Models only change weekly for closed frontier models and even then they should be reporting model "sub-versions" if only for observability purposes.

3. This doesn't really hold true. Kimi and DS release their models on a monthly or bi-weekly cycle and while it's still DS-v4.1-Flash or whatever, under the hood it's DS-v4.1-Flash-1017 or some other date code identifier of which specific model it is and that is both exposed to the user and that model version can be requested explicitly by the user.

comment 2w ago · link · parent

The main benefits are:

1. it proves your models are running correctly. FP ops tend to deviate in small amounts between hardware providers and tensor ops even more so due to the relatively new and unstable standardisation environment atm. So it proves your HW configuration is delivering outputs correctly. i.e. it's a good test for what is currently a very non-trivial validation environment.

2. it proves your external provider is running the inference they said they are. i.e. it eliminates the concerns of model providers running quantized versions silently behind the scenes since quantization breaks the proof and you need to use a new, updated proof signature for the quantized version.

3. likewise for fine tuned or tampered models. Or outright substitution for another model (ex the accusation by OAI and Anthropic that Kimi and DS and co are periodically forwarding requests to their platforms to harvest responses for knowledge distillation).

All in all it's a nice chain of trust utility if it can evolve out of the toy stage and reach production viability (since rn it's limited to int-only weights and 1k context which is practically useless atm).

comment 3w ago · link · parent

It's not really misleading. A lot of people here use Bunny and this is a relevant security incident. It's not a major failing but rather a "hey shit happened come make sure if it applies to you that you respond in kind".

NGL it's the exact wording I'd personally like to see from a product that had an infra provider have an incident just so that I can mentally tune in enough to figure out if I need to care.

comment 1mo ago · link · parent

> That makes me wonder - I’m sure it’s not a novel thought - if there is a more suitable species of algae for these conditions we can inject into bleached corals?

TLDR Yes but it's complicated. There are more suitable algae species but AFAIK coral under heat stress will still often expel the algae even if the algae isn't the one stressing the coral. So you have to essentially breed a more tolerant coral and then provide the algae.

Now luckily there do exist more heat tolerant coral and algae species living alongside each other. Unfortunately those species are located in the Persian Gulf/inside the Strait of Hormuz so they are regularly subject to added stressors from Oil/NG extraction, military conflicts, and waste dumping. And of course their location makes research on them/collaboration between research institutions complicated.

And it's not like you can just transplant these coral somewhere else and they'll live. They are adapted to their environment and that environment plays a part in their heat tolerance as well. But research on these coral ecosystems will likely shed a light on how to help other coral species to adapt and evolve.

comment 1mo ago · link · parent

Yep this is exactly it. It's a sanity check that enforces the invariants so that when someone else violates those invariants and they don't know what went wrong they can easily debug it.

comment 1mo ago · link · parent

> That method still works just fine with passkeys right?

Kind of? But it really depends and there's a lot of edge cases the phishing website would have to dodge to avoid breaking the custody chain.

If you force the user down to "use your password/security questions/whatever" to auth and create a new key then yes phishing is still viable here but one of the key advantages of pushing for a passkeys-first approach is that you can make the other auth methods harder. i.e. mandate password + 2FA as a strictly backup method instead.

> The key problem is that sites have made users so used to having to generate a new password/credential that they think nothing of it. It's something you just do every few months for most websites esp. secure websites like banks.

Yep and passkeys explicitly exist to eliminate this behavior.

> Even on the same device users are being trained to generate multiple passkeys, one for chrome, one for safari/apple, how about a third for the phishing site.

Well here the caveat is that the phishing website would have to force the user back down to password-auth or security questions or whatever other "weak" method and then use that to create a passkey but not have perms to do anything else.

Now if the phishing site tries to MITM the actual passkey registration flow there are a lot of ways to detect a phishing attempt and terminate the registration and alert the user through alternate contact methods.

TLDR: there are probably still ways to execute a phishing attack but to succeed they have to be far more sophisticated and there's countless ways to accidentally break the passkey auth chain in a way that halts the attack.

comment 1mo ago · link · parent

? If a website sucks and can't support multiple passkeys that's not a flaw of passkeys. It's a flaw of the website. You could make the exact same argument for TLS or 2FA or every other security feature.

If the developer fucks up the website/app, that is their fault and not a failure of the technology.

comment 1mo ago · link · parent

> Is it input validation to say a string must be at least some length characters

Yes. Yes it is. Input validation should happen at the public API and then contracts after that.

Contracts are very explicitly for things you don't want to ever see happen. They are "something went wrong".

So your API would accept a function that handles input validation and maybe has its own contract for things it explicitly doesn't handle but then internally you use contracts to enforce that the string is already input validated and you don't have to enforce edge cases.

comment 1mo ago · link · parent

Strictly speaking you put them in the header.

The first declaration of a function must include the contract pre/post conditions and follow-up re-declarations of the function must either not include any contract conditions or the same conditions as the initial declaration.

And you can avoid re-including the world because pre/post conditions should be externally visible behavior or call out to functions for pre/post checks on internal behavior.

Essentially you either define them using what you have in scope during the initial declaration or you call out to a function located elsewhere that can have access to more/internal scope and do more complicated checks.

comment 1mo ago · link · parent

nah contract_assert has entirely different semantics than normal asserts.

It includes checkpoint semantics (something that is part of contracts in general) as well as processing through the contract violation handlers.

Functionally contract_assert should eliminate the need to use assert at all and is an over all substantial UX improvement.

comment 1mo ago · link · parent

contracts are intended to document hoare logic. i.e. pre, post, invariant.

They can be compile time if the compiler can verify them statically (where they become a noop), runtime otherwise, or disabled entirely if you can't prove them statically but don't want the overhead cost.

Realistically contracts will gradually evolve towards static/compile time asserts as tooling improves.

And like the blog post states, contracts are explicitly not input validation. They are there to encode what you expect and what you don't internally in your code rather than just documenting those pre/post/invariant conditions in comments.

comment 1mo ago · link · parent

?

That's not the argument being made.

The argument I'm making is that the only MITM/phishing vulnerability is in the initial passkey registration and not in the auth.

So once you have a passkey and the flow supports attestation, as long as you use the passkey you are effectively immune to MITM and phishing.

Now if you input a password or recovery code or whatever and use that to register a new passkey that's initial passkey registration again and not MITM or phishing of the passkey itself. The reason this matters is because you can register as many passkeys as you want. Say you sign up and log in on your phone. Now you register a passkey on the phone. You want to log in on your laptop, use the key from your phone to log in and register one for the laptop as well. Now you lose your phone or your laptop, you use the other to log you in and set up a new passkey for that device.

Once that initial passkey was registered the auth process is pretty watertight and each device you regularly use gets a new key after auth so you generally always have at least one device that you can use to get into your others.

Now of course if you only have one device and it gets destroyed or if all your devices are destroyed in a fire or flood or whatever then you have to go through the untrusted reset/re-registration flow but in all other scenarios you always default to the passkey-based "use another device you own" methods to register new keys.

TLDR: the point is that you very rarely ever do a true cred reset. The flow itself incentivizes multiple passkey auth methods such that bootstrapping new keys from an untrusted environment is rarely if ever required. This works best for "core services" like your email/google acct/apple acct/microsoft acct where you are generally expected to want access to them anywhere you do stuff so the passkey flow is best pared with SSO to increase the odds you've used the acct on at least one other device.

comment 1mo ago · link · parent

Strictly speaking it's mainly hardware attestation but it's technically "hardware based passkeys" and "remote attestation". So if you rely on attestation in general and don't restrict the attestation source it works just as well.

Software passkeys can be stolen if the client is compromised but they aren't vulnerable to MITM or phishing as long as attestation is used.

> which enclaves/sources/devices do you support vs. not support?

You support all of them and prefer the strongest configuration for the source available.

If you've registered a hardware based key with attestation and then an attack tries to intercept that via phishing or MITM, the key already has its capabilities established and if you try to use the key without attest it should fail.

If you register a key without attestation support then you may be vulnerable to MITM or phishing but you can't intercept a user/their passkey with a stronger set of capabilities and downgrade them.

comment 1mo ago · link · parent

Yes. You can register as many different passkeys as you want. Any limitation in passkeys registration quantity is a limitation of the website/app itself and not a limit of the spec, etc.

comment 1mo ago · link · parent

It depends what you need to run. There exist a number of Windows images which can be run without any paid license requirements for test and validation IIRC.

https://learn.microsoft.com/en-us/windows-hardware/manufactu...

https://learn.microsoft.com/en-us/windows-hardware/manufactu...

comment 1mo ago · link · parent

> They are still susceptible to malicious enrollment. If a user is convinced a fake site is real, to the point that they are opening their password manager to copy the password to it, you should assume they will do the equivalent with a passkey (re-enroll attacker's key or register attacker's passkey).

This is only technically true because of the definition of what a passkey is is vague.

Hardware Attestation solves this problem and is "good actually". The issue with attestation is when site attempt to restrict which enclaves/sources can register keys. But if you don't restrict who/what can register keys, attestation is super useful for preventing this exact issue.

When you register your key initially you establish your hardware attestation parameters. The attacker cannot know those parameters unless they were the ones to initially register you for the site as the public attestation signature is unique per-key and the private one per-use with the public one verifying the private one.

So if you have remote attestation you can verify whether the source presenting the signature for auth is the same source that created the signature and trivially block MITM attacks. Likewise for more complicated custody/proxy chains.

This just by itself largely solves MITM key re-enrollment attacks but tech camps that support passkeys either ideologically oppose attestation (due to understandable enclosure fears) or enforce hardware attestation for enclosure purposes without bothering to address MITM/signature origin checks.

comment 1mo ago · link · parent

> is not the Holocaust

Hitler and Nazi Germany did not start with the Holocaust. It was instead the end result. Something can be compared to Hitler or compared to the Nazis or their rhetoric without being literally the Holocaust.

Keep in mind that Hitler and the Nazis took power starting in 1933 but forcing jews to carry identification (i.e. add israel or sara to non-jewish names and add jewish identification marks to paperwork) didn't start until mid-to-late 1938 with Kristallnacht following only months later in Nov 1938.

But in that early period however Nazis began

- gutting research institution

- literally destroying research institutions and research. (ex the famous 1933 book burning picture was from the demolition of the Institute for Sexual Research which studied gender non conformity, intersex traits, and broader topics in the LGBTQIA academic space. Also was where the first transgender sex reassignment surgery took place.)

- expelling academics

- dismantling social programs

- pressuring companies into aligning with state ideological and industrial objectives

- seizing control of, attacking, or privatising domestic and foreign media

- pressuring domestic and foreign entertainment into aligning with Nazi ideological stances

- punishing, oppressing, and expelling political and cultural enemies of the party from the military and civic institutions.

- converting prisons into work camps.

- building out detention facilities/prisons for "illegals" with deplorable conditions with intent to make them suffer as long as possible. These would later become concentration camps and then death camps once crowding became too extreme. And notably this began with the romani population in the early 1930s who Nazis believed to be criminals illegally present within the country.

--------------------

Nazi germany was so much more than just the Holocaust and genocide of the Jewish people. They were part of it however they were the conclusion not the start.

comment 1mo ago · link · parent

ah yes the infamous "please drink a verification can" patent.

comment 1mo ago · link · parent

it's a linux container but through WSL and natively integrated into windows. that's basically it.

It replaces the need to install docker and mess with a lot of hackery instead with an officially first party supported linux container subsystem.

Edit: and since I forgot to mention a key value-add of this is that it's integrated with group policy, defender etc so you can limit specific users or groups or OUs, etc to running specific containers or to exposing specific resources/network devices/hardware/etc to WSL at all. It makes managing all of it no different than managing any other part of an enterprise windows setup.

And likewise WSL has native antivirus/anti-intrusion instrumentation hooks via a Microsoft Defender for Endpoint/MDE plugin to WSL so that unlike with docker, etc you don't get a sudden blindspot that's non-trivial to monitor (or that comes with a heavy perf penalty).

comment 1mo ago · link · parent

Note that these specific mosquito species are invasive in most of the world after they escaped their native ecosystems and proceeded to spread like wildfire so arguably eradicating them would be a net benefit for most ecosystems.

comment 1mo ago · link · parent

It's not that it eliminated mosquitoes entirely but rather that it effectively eliminated mosquitoes in the genus Aedes.

These are some of the most problematic/disease causing of the mosquitoes but also notably mosquitoes in the Aedes genus are essentially the only mosquitoes that are "hunting" during the day. All the other mosquitoes operate almost exclusively in the evening and at nighttime.

So by eliminating these mosquitoes a major disease vector is eliminated but at the same time it completely eliminates mosquitoes during the day (i.e. the main time when you are out and about trying to enjoy the summer).

comment 1mo ago · link · parent

> You still have to run Romex everywhere

You still have to run romex for the other circuits. But it's not hard to run those on a separate breaker. Rooms often have like one and a half 15A circuits each because lighting used to draw so much power but now you can drop it down to one 15A circuit per room and run a single circuit that switches out to the entire house off of one 15A breaker.

> what's the difference between a power supply running on 48 volts DC versus 110 or 220 volts AC?

It's already DC. A properly sized buck converter based LED driver is going to have like 80-95% efficiency when the LED is on (and it's trivial to draw no power when off) and they are like 0.25USD per IC.

They are going to have equal or better performance than AC->DC switching mode power supplies because buck converters are already the simplest and most efficient type of SMPS.

comment 1mo ago · link · parent

Yeah 24VDC or 48VDC would make more sense but tbh you only need to drive the LEDs with it.

At 48VDC you could run 16AWG like 100ft and still be fine as long as the lights pull around 60W or less all together (which works out to ~12 lights on a circuit). And that circuit would only add another ~2W or so in power losses when energized.

That circuit is essentially what power over ethernet does today so you could replace romex with PoE Type 3/Type 4 plenum rated ethernet and it'd be like half the cost.

And if you really want to optimise for losses you could put the switches on the ethernet data line and use that for sensing rather than running the PoE circuit out to each light switch (and then de-energise the PoE circuit when the switches report off). Bonus points in that this would allow you to "reprogram" which light switch controls which circuit without needing to do any re-wiring.

comment 1mo ago · link · parent

If you want a better understanding of what the AHA spends their money on I'd recommend checking their financial reports.

29% of their expenses go to paying education/training staff and the expenses involved with operating that but about the same amount comes back from their trainings in revenue. And that amount that comes back is actually near equal to all the donations they get.

Another ~31% goes to public health education staff.

~5% goes to operating various community services.

~18% goes to research.

and then overall management is ~8% with fundraising expenses making up the remaining ~9%.

For a group split between running various emergency training and certification programs (ex CPR), general public health awareness and education, advocacy, and research, those are pretty reasonable numbers.

https://www.heart.org/en/about-us/american-heart-association...

https://www.heart.org/en/-/media/Annual-Report/2024-2025-Ann...

comment 1mo ago · link · parent

Note that there exists multiple ways to continue to lookup SHA1s in a SHA256 repo.

One example is to maintain git-replace refs for the rewritten SHAs but there also exist config flags to enable object format compatibility extensions that help translate the SHAs back and forth.

https://git-scm.com/docs/git-replace

12345
16