Better HN
topnewbestaskshowjobs
Log inSign up

strstr

1,097 karma · joined Dec 18, 2011 (14y ago) · 307 submissions

Submissions

comment 3d ago · link · parent

It’s an explosive. It will produce its own pressure and pop the metaphorical balloon you confine it with.

And any “real” confinement would just make it more explosive when it fails.

2.

I built a crane robot to clean my house [video](youtube.com ↗)

6 points · by strstr · 1mo ago · discuss

comment 1mo ago · link · parent

Does that make us the Biters?

comment 1mo ago · link · parent

Roughly 40 acre feet of water for the Lincoln DC. An acre of corn uses maybe a couple of acre feet a season. Corn irrigation alone uses tens of millions of acre feet of water per season in the USA.

comment 2mo ago · link · parent

From the article:

> Sampling the current RNG through observations,

> Computing the current internal RNG state,

> Predicting the future internal states,

> Calculating corresponding quality levels for each future call, and finally

> Making use of the predicted levels with some adapters.

The entropy->seeds (internal RNG state) step took more math of course. Frankly, I wouldn’t be surprised if they could have extracted the seeds without the math with a bit of RE and memory inspection.

The version I did wasn’t predicting quality of course, it was predicting tie breakers

comment 2mo ago · link · parent

I did an easier version of this in my college intro class. There was a class competition that involved rock paper scissors as a subcomponent, and ties were broken with randomness. You could rig Java’s prng so you would win all ties.

The prng was seeded with usec time at first call. I called the rng a bunch of times to harvest entropy, and scanned the plausible usec times to find the seed. Then I primed the prng so I would win ties.

Frankly, I assume I implemented this wrong, but the theory was there lol.

comment 2mo ago · link · parent

I always like to look at the windows for these “more attractive” buildings. They always lead me to believe the indoor experience is worse in some way. Either cramped or similar. Sometimes they imply a dark windowless rooms. Generally, they seem like they prioritize the appearance of the building over the experience of being inside the building, which is unambiguously the more important part of the building.

The funny one is the buildings that have better landscaping. A few of the buildings in the post only look attractive as a consequence of the green courtyard in front. If you cover up that part of the photo, they just don’t look as stunning compared to the other. Perhaps that’s an argument for traditional courtyards (fair enough), but it doesn’t imply the need for traditional building construction.

comment 4mo ago · link · parent

(I’ll bite and try to steelman) How does a typical user verify that they are running the intended secure software?

comment 4mo ago · link · parent

You can definitely do this without sorting.

QuickSelect is average case n, and is, roughly, quick sort where you throw away one of the sides each time and recurse on the other. This has a fat tail for cases where you pick a bad pivot (similar to quicksort), but you can median-of-medians your way out of that problem if someone cares. (Median of medians being where you subdivide the array into, say, 5 arrays, recursively compute the median on those, and pick the middle median as your pivot, which guarantees linear progress per iteration)

comment 4mo ago · link · parent

I used to translate classic interview questions into not-spoiled-on-the-internet ones by doing this kind of batch to incremental conversion. The count-the-islands one was fun but hard to fit into a 45minute interview.

Eventually most of those started getting spoiled too lol.

comment 4mo ago · link · parent

Who does a sort for this D:

comment 5mo ago · link · parent

Title: Android 17 is here

13.

Powering the next era of Confidential AI(cloud.google.com ↗)

7 points · by strstr · 5mo ago · discuss

comment 5mo ago · link · parent

[2025]

comment 7mo ago · link · parent

Split locks are weird. It’s never been obvious to me why you’d want to do them unless you are on a small core count system. When split lock detection rolled out for linux, it massacred perf for some games (which were probably min-maxing single core perf and didn’t care about noisy neighbor effects).

Frankly, I’m surprised split lock detection is enabled anywhere outside of multi-tenant clouds.

comment 9mo ago · link · parent

Popular blogger from roughly a decade ago. His rants were frequently cited early in my career. I think he’s fallen off in popularity substantially since.

comment 9mo ago · link · parent

This is more of a typing game than anything else. It rejected “blackcapped chickadee” (wanted black-capped chickadee). Frankly that felt a bit tedious on a phone. Had to scrub through to correct and lost.

comment 10mo ago · link · parent

My suspicion is that the bot was a fairly standard chess bot, but the difficulties were set based on computation time. As airplane computers got better, it turned into a beast.

As a result, if you tried this on older planes, it might have been “easier”

comment 11mo ago · link · parent

For my personal usage of ai-studio, I had to use autohotkey to record and replay my mouse deleting my old chats. I thought about cooking up a browser extension, but never got around to it.

comment 11mo ago · link · parent

How much are my eyeballs worth over the lifetime of a TV?

In the race to the bottom, ads will outcompete others by pushing price lower. But how much lower?

21.

Fractal Imaginary Cubes(i.h.kyoto-u.ac.jp ↗)

63 points · by strstr · 1y ago · 8 comments

comment 1y ago · link · parent

Legitimately, they are often too hard. Balancing the problems is quite challenging.

On top of that, the solutions often make the problems seem much intimidating than they are (not that they are easy). Most solutions involve a lot of “happenstance”, where someone tried something and it got an outcome that was useful, which they build on top of. This makes the solutions look crazy complicated (“how would i have ever thought of this!?”), when in reality they are Rube Goldberg machines built out of duct tape and baling wire.

I’ve only solved a few Google CTF problems, and one of them was the one I wrote, lol. That was nearly a decade ago though.

comment 1y ago · link · parent

Fair enough! Just happens to be the one of two I need to read

comment 1y ago · link · parent

Source for the ASP firmware is at https://github.com/amd/AMD-ASPFW.

It has a number of gaps, but it is mostly there. It doesn't build, it doesn't have source for some of the service calls iirc (SVC_.*), and the AGESA source isn't open (though a replacement is in progress, openSIL).

comment 1y ago · link · parent

In practice, it’s essentially infeasible to make a non-detectable virtualization stack. Timing is really really hard to match (as is everything else). You can edit the binary that’s doing the detection, but this is time consuming. Every new feature they push costs you time and will poison your hardware id.

You can go further by, say, requiring fTPMs that are on the SoC (super common these days for most recent consumer CPUs). If you can’t boot into linux without the PCRs reflecting your virtualization stack being in the boot chain, you’re cheat is quite detectable.

comment 1y ago · link · parent

That’s not intended to be possible for any reasonable TPM with a trustworthy ekcert.

comment 1y ago · link · parent

Allegedly some of the anticheats are configuring the IOMMU through Windows APIs (vanguard, faceit, and a smattering of chinese anticheats). It’s hard to find good public information though. They do some mix of blocking access and deliberately leaving some pages as bait (and monitoring iommu d-bits/faults)

comment 1y ago · link · parent

Cheating will slowly look more and more like trying to hack your own machine.

Secure Boot+TPM combined with decent firmware will make cheating a lot harder. If the firmware ensures random devices don’t get BME set before the IOMMU is properly, attestably, configured, you are basically now stuck looking for bugs in the TPM and UEFI if you want to shove yourself beneath the OS unnoticed. These are full of bugs, so that will work for a while, until it doesn’t.

Popping windows will probably work for some time, but HVCI will make this a pain once ubiquitously required.

And you have to do all of this while also not being detected for aberrant behavior. Eventually, the analog hole might end up being easier, lol.

comment 1y ago · link · parent

“ Default disclosure for this issue is 11 August. Opening this issue just five days early for visibility this particular week. :)”

Hello Defcon!

12345
11