Better HN
topnewbestaskshowjobs
Log inSign up

steventhedev

1,128 karma · joined Oct 23, 2013 (13y ago) · 291 submissions

Flawed human being, but always trying to improve
Submissions

comment 1d ago · link · parent

I wonder if this is just them binning granules so the dust goes into a production line for instant coffee while the bigger bits go to pods or something like that

comment 1w ago · link · parent

A $20 DP splitter works better than their docks. MST is a thing outside of apple, and their Linux drivers ran the CPU at 100% and panicked weekly. We banned them shortly after buying those splitters.

So while I'm sympathetic to the defendant, DisplayLink docks work better as paperweights than actual devices.

comment 1mo ago · link · parent

My personal head canon is that ICANN told Google they had to open registration or someone who would open it up would get it

comment 1mo ago · link · parent

I'm always amazed by the precision work this guy does. My only nit with this article was he didn't link the Eurovision entry:

https://youtu.be/I0tqgGVQkew

comment 6mo ago · link · parent

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.

comment 8mo ago · link · parent

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.

comment 1y ago · link · parent

More like a failure on TechCrunch. There is an implied agreement and violating it will result in a flat refusal to talk outside of prepared press releases.

This isn't good journalism and should not be celebrated.

comment 1y ago · link · parent

Reading through that I stand corrected. Thank you for sharing a link.

At the same time, if a US person applies and is similarly qualified, they must be offered the job.

Which is trivially abuseable by offering substantially less for the H-1B position. I'm not sure if there's an easy policy solution for that.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

%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).

comment 1y ago · link · parent

Elastic license, so many people refer to this as source available rather than open source

comment 1y ago · link · parent

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?

13.

Palo Alto to scoop up CyberArk for $25B to tackle AI-era threats(reuters.com ↗)

2 points · by steventhedev · 1y ago · discuss

comment 1y ago · link · parent

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)

comment 1y ago · link · parent

Why not juries of 13 people? That way you never have a clean tie?

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Apparently there are some forks that offer more features and fix some of those bugs. Maybe one of those can help you?

This is the one that was shared on lobsters, but there are likely more: https://bill-ion.github.io/tikzjax-live/

18.

TikZJax: Embedding LaTeX Drawings in HTML(tikzjax.com ↗)

137 points · by steventhedev · 1y ago · 31 comments

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

There is a security model where MITM is not viable - and separating that specific threat from that of passive eavesdropping is incredibly useful.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

At no point did submeta qualify their statement to only apply to former soldiers. Quite the rather - they removed the nuance that did exist in their quoted propaganda articles and made it explicitly based on national origin only.

comment 1y ago · link · parent

By that incredibly racist logic Meta should only hire born and bred Americans. How many Russians work at Meta? How many Palestinians?

comment 1y ago · link · parent

That is suspiciously equal to the "Other revenue" line in Meta's 10-K.

Given that likely rolls up other products I doubt it's all coming from Whatsapp.

[0]: https://d18rn0p25nwr6d.cloudfront.net/CIK-0001326801/1f8bf8e...

comment 1y ago · link · parent

Same pipeline, but if it's a friend who wants to work with you then you have someone who is not in recruiting who you can ping for updates if the process gets stuck.

Depending on the company, there may even be referral bonuses so there's a financial incentive for your "insider" to follow up.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

12345
10