HN user

steventhedev

1,118 karma

Flawed human being, but always trying to improve

Posts27
Comments259
View on HN
www.reuters.com 11mo ago

Palo Alto to scoop up CyberArk for $25B to tackle AI-era threats

steventhedev
2pts0
tikzjax.com 1y ago

TikZJax: Embedding LaTeX Drawings in HTML

steventhedev
137pts31
pr.pico.sh 2y ago

Git-PR: patch requests over SSH

steventhedev
209pts103
brandur.org 4y ago

Identity Crisis: Sequence vs. UUID as Primary Key

steventhedev
6pts0
fermatslibrary.com 5y ago

How often should you beat your kids? [pdf]

steventhedev
3pts0
robertheaton.com 5y ago

Preventing impossible game levels using cryptography

steventhedev
4pts0
signalsandthreads.com 5y ago

Jane Street Podcast: NTP, PTP, and Clock Sync

steventhedev
5pts0
nautil.us 5y ago

Mathematicians Should Stop Naming Things After Each Other

steventhedev
12pts11
www.stolenhistory.org 6y ago

En L'An 2000: 19th century vision of the year 2000

steventhedev
2pts0
github.com 6y ago

A Git Murder Mystery

steventhedev
5pts0
risk-engineering.org 6y ago

Practical Drift Towards Failure

steventhedev
24pts1
risk-engineering.org 7y ago

Practical Drift Towards Failure

steventhedev
1pts0
pepijndevos.nl 7y ago

VHDL to PCB

steventhedev
2pts0
isomorphisms.sdf.org 7y ago

Introduction to Algotrading (2011) [pdf]

steventhedev
393pts130
www.kickstarter.com 7y ago

MyMe: wearable camera to identify everyone you meet

steventhedev
1pts0
archagon.net 8y ago

Data Laced with History: Causal Trees and Operational CRDTs

steventhedev
2pts0
www.gigamonkeys.com 8y ago

Repo style wars: mono vs. multi

steventhedev
4pts0
dustri.org 9y ago

Firefox has its own linker on Android

steventhedev
3pts1
medium.com 9y ago

Uber's SSH CA PAM Module

steventhedev
2pts0
www.ncsc.gov.uk 9y ago

UK NCSC recommends allowing password pasting

steventhedev
2pts0
gooligan.checkpoint.com 9y ago

Gooligan Infection Test by Checkpoint

steventhedev
1pts0
wombat.factcenter.org 9y ago

Electronic verifiable voting system

steventhedev
1pts0
beam-wisdoms.clau.se 9y ago

BEAM VM Wisdoms

steventhedev
2pts0
shipilev.net 10y ago

You don't get the Java memory model, do you?

steventhedev
3pts0
github.com 10y ago

KeyBox: Web based SSH access control and key management console

steventhedev
2pts0
bugs.ruby-lang.org 10y ago

Ruby .? (safe nagivation) operator

steventhedev
2pts0
www.feedio.co 11y ago

Show HN: Feedio – Aggregate your feeds from all your blogs + guest posts

steventhedev
7pts2

The dirty secret if you work inside BigCorp and look around at the projects they're showcasing:

1. They're low stakes to get wrong.

2. The most common is MCPs or similar ai-tooling.

3. Making them look good takes time and effort still. It's a multiplier, not a replacement.

4. Quality and maintainability require investment. I had to restart an agentic project several times because it painted itself into a corner.

The entire point of this is that the complexity is encapsulated on the signing side - not the verifier. So it's more that you would split the keys between systems you control - say the reverse proxy and the application server.

Or one that's checked into your version control (representing that it is your company's code that's running) and one that lives on the server (representing that it is a server your company controls).

Or to take your example - a key in the repo, a key from the dev, and a key from the build server.

No.

The H1-B visa is intended for bringing specific technical expertise that does not exist in the US for a set period of time. This is why one of the requirements is that you must have interviewed US persons first. Its the same reason it's a nonimmigration visa.

The rampant abuse of the visa has a remedy - criminal charges against the HR directors of any company who is found to have committed fraud, and capping the number of visas per company (setting up many shell companies is a strong signal that fraud is being committed).

If an H1-B worker can't negotiate on a global level for their expertise - they should not be on that visa.

%cpu is misleading at best, and should largely be considered harmful.

System load is well defined, matches user expectations, and covers several edge cases (auditd going crazy, broken CPU timers, etc).

Temperature sensors are a great example for alerting because they fluctuate constantly, have multiple seasonalities, and failures can be subtle. In the end, you'll want:

1. If the sensor dies and there is no data at all

2. If the sensor gets stuck (giving same value)

3. If the sensor slowly drifts (adjusting for daily, weekly, and yearly seasons) - indicating a clogged filter or leaking refrigerant

4. Statistical spikes - this is the hardest to tune so you need to treat it as a model that detects anomalies and it takes a long time to label extremely rare events

5. Static thresholds, over varying windows to deal with sensor error and transient spikes.

It also raises questions like "if the sensor is reporting 400C then either the building is on fire or the sensor is broken", or "how do we get the alert if the building is indeed on fire" and the inevitable followup: do we even need to get an alert if the building is on literal fire?

I'm fond of using KaTeX for my personal blog posts. There is support for server side rendering for KaTeX (but not on GitHub pages because it necessarily opens it to arbitrary code execution - I asked).

But it notably lacks tikz support and if it can emit SVGs I'm beginning to wonder why I even use KaTeX and not something like this (beyond my personal anti-JS sentiment)

It means that there is a statistically significant improvement, but that improvement is tiny, and will not make you happier than your peers all by itself (assuming a standard peer group of 200 people - you'd likely swap places with 1 or 2 people).

Of course, this study only considered normative people, not marginalized or those who were experiencing active harm from exposure to social media - your personal results may vary and it's important to remember that science is imperfect and social sciences are doubly so.

If going off Facebook improves your life - you do you.

TLS chose the threat model that includes MITM - there's no good reason that should ever change. All I'm arguing is that having a middle ground between http and https would prevent eavesdropping, and that investment elsewhere could have been used to mitigate the MITM attacks (to the benefit of all protocols, even those that don't offer confidentiality). Instead we got OpenSSL and the CA model with all it's warts.

More importantly - this debate gets raised in every single HN post related to TLS or CAs. Answering with a "my threat model is better than yours" or somehow that my threat model is incorrect is even more silly than offering a configuration of TLS without authenticity. Maybe if we had invested more effort in 801.x and IPSec then we would get those same guarantees that TLS offers, but for all traffic and for free everywhere with no need for CA shenanigans or shortening lifetimes. Maybe in that alternative world we would be arguing that nonrepudiation is a valuable property or not.

Yes. MITM attacks do happen in reality. But by their nature they require active participation which for practical purposes means leaving some sort of trail. More importantly is that by decoupling confidentionality from authenticity, you can easily prevent eavesdropping attacks at scale.

Which for some threat models is sufficiently good.

MITM attacks are common, but noisy - BGP hijacks are literally public to the internet by their nature. I believe that insisting on coupling confidentiality to authenticity is counterproductive and prevents the development of more sophisticated security models and network design.

The generic version in TFA puts the data type allocated alongside the next pointer - no additional allocation needed. The only functional difference is if the zig compiler is not sufficiently advanced to understand it can reorder the fields (hence the alignment question).

The removal scenario is merely specifying that you are passing in ConnectionListNode instead of a Connection. Although maybe it's a good idea to think about how they compose comparatively.

This feels like a net negative result. It removes some of the complexity of using generics, but it couples between the data type and the collections it can be indexed by.

What are the benefits of this approach? Is it limited to data alignment, or is it out of a greater desire to remove generics?

Aside from the technical beauty of this post, what is the practical impact of this?

Fan speeds should ideally be looking at temperature sensors, CPU idling is working albeit with interrupt waits as pointed out here. The only impact seems to be surprise that the CPU is working harder than it really is when looking at this number.

It's far better to look at the system load (which was 0.0 - already a strong hint this system is working below capacity). It has a formal definition (average waiting cpu task queue depth over 1, 5, 10 minutes) and succinctly captures the concept of "this machine is under load".

Many years ago, a coworker deployed a bad auditd config. CPU usage was below 10%, but system load was 20x the number of cores. We moved all our alerts to system load and used that instead.

It's intended to run for producing compiler test cases, so there shouldn't be any code that's actually running.

CPython includes a flag to only run parsing/compiling to bytecode. While you can use it like they did here and run the code - it really depends on how much you trust every possible subset of your code

I took a code theory course in grad school. It was the most rigorous course I took, and for all of the 5 students it was difficult, but I'm also really glad I took it.

Reed Solomon was about two thirds of the way through the semester, and the gist is that it's based on polynomials - with enough points you can define exactly where the polynomial is - so include some extra points and that way if some get lost along the way you can recreate them.

The rest of it is how to apply that for binary data (finite fields). Which is mathematically beautiful, but where they get somewhat complex.

From reading through the transcript - it feels like the context window cut off when they asked it about emotional abuse and the model got stuck in a local minima of spitting out examples of abuse.

There are a few exceptions to this, with varying degrees of justification:

1. An underperforming teammate when your personal rating is tied to team metrics. Which is a shit way to run a team.

2. You are a tech lead in a company where the career and level expectations are that you will assist in performance managing ICs on the team. Which is being a manager in all but name.

3. You truly care about the personal performance of these "slackers", which is a good sign that you want to be on the management track, but probably shouldn't be.

4. You have some strong external incentive like slackers directly impacting the values of your shares (and you own enough for it to make a difference)

5. You are a petty asshole.

I will never cease to be amazed how many people will fall into number 5 - but will insist they are doing it for other reasons.

Why not bulk import this from your city/county/municipality GIS system?

Dunno about San Francisco city, but many will track sidewalks as part of maintenance management. Depending on how well organized they are, they might have additional features such as trees and street lighting.

You are writing this as if security was a newly invented thing. Having done systems level security development for 12 years, anything that can be produced maliciously will be. By using JSON, you've invented a new vulnerability class for malicious deserialization attacks.

Actually, not new. Earliest CVE I found was from 2017, which feels a decade later than it should be. I guess no one thought of pushing JSON over trusted interfaces, and probably for good reason.