Better HN
topnewbestaskshowjobs
Log inSign up

kees99

1,025 karma · joined Jul 3, 2016 (10y ago) · 522 submissions

Submissions

comment 1y ago · link · parent

> Please show me a project where you believe you "effectively require containers" just to run the code

I guess GP meant "containers" broadly, including things like pipx, venv, or uv. Those are, effectively, required since PEP 668:

https://stackoverflow.com/questions/75608323/how-do-i-solve-...

comment 1y ago · link · parent

> 1Gbit uses easily reachable 125MHz clock

RGMII uses 4-bit bus, so that would be 250M state transitions per second.

Clock signal is 125MHz, yes. But data is sent/sampled at both edges (DDR), so PIO state machine has to be clocked at 250MHz.

That's still reachable with mild overclocking, I guess?

comment 1y ago · link · parent

Would that >1000°C reach the surface though?

There are some heady boundary-layer effects and temperature/temp-conductivity gradient physics involved here. For simplicity sake, consider a plastic [1] bag full to the brim with water, held over open flame. Will bag melt (oxidize, erode)?

[1] polyethylene melts around 120-ish °C and ignites around 220-350 °C (sources vary)

comment 1y ago · link · parent

Why? Diamond has very low thermal expansion, so no risk of stress/embrittlement/cracks from uneven heating.

Or you mean it'll catch fire? Also not a concern. That is supposed to happen at a temperature well above anything useful for cooking.

comment 1y ago · link · parent

Yep. And for good measure, first open with O_CREAT as tempfile with random name, then rename() it to predictable "foo.lock".

comment 1y ago · link · parent

Genuinely curious - why would world-writeable directory be bad for security? Assuming of course, it's on a separate filesystem mounted with sensible options. Here's what I see from "grep /run/lock /proc/mounts" in sid:

  rw,nosuid,nodev,noexec,size=5120k

comment 1y ago · link · parent

I use GNU screen for that. Looking at cu, it looks to be just as tiny and has ssh-like tilda-escapes, including "~." to disconnect. Nice, gotta try it out, thanks!

comment 1y ago · link · parent

Having too much parameters in your model, so that all of sample/training data is preserved perfectly, is usually considered a bad thing (overfitting).

But you're right - if dataset is exhaustive and finite, and model is large enough to preserve it perfectly - such overfitted model would work just fine, even if it's unlikely to be a particularly efficient way to build it.

comment 1y ago · link · parent

Did you "preheat" during those tests? It is very common for cloud instances to have "burstable" vCPUs. That is - after boot (or long idle), you get decent performance for first few minutes, then performance gradually tanks to a mere fraction of the initial burst.
1
567
18