Hacker Newsnew | past | comments | ask | show | jobs | submit | alexeldeib's commentslogin

yeah, the system/application distinction feels somewhat superficial. The “multiple user space” inside a container thing sounds interesting (not sure what that means exactly), but maybe more similar to a Kubernetes pod, except maybe instead of different rootfs there’s another isolation mechanism?


The "first" link (after the home button) on bbchallenge is the header bar link to https://bbchallenge.org/story which cites Aaronson in the first sentence (double first!). I would not describe it like OP for someone trying to find the actual link ;)

"One Collatz Coincidence", the 2nd story on the blog, also mentions Aaronson


that's kind of a thing with https://docs.rs/no-panic/latest/no_panic/ or no std and custom panic handlers.

not sure what the latest is in the space, if I recall there are some subtleties


That's a neat hack, but it would be a lot nicer to have explicit support as part of the language.


That's going to be difficult because the language itself requires panic support to properly implement indexing, slicing, and integer division. There are checked methods that can be used instead, but to truly eliminate panics, the ordinary operators would have to be banned when used with non-const arguments, and this restriction would have to propagate to all dependencies as well.


Yes that’s right. The feature really wants compiler support for that reason. The simplest version wouldn’t be too hard to implement. Every function just exports a flag on whether or not it (or any callees) can panic. Then we have a nopanic keyword which emits a compiler error if the function (or any callee) panics.

It would be annoying to use - as you say, you couldn’t even add regular numbers together or index into an array in nopanic code. But there are ways to work around it (like the wrapping types).

One problem is that implicit nopanic would add a new way to break semver compatibility in APIs. Eg, imagine a public api that just happens to not be able to panic. If the code is changed subtly, it could easily start panicing again. That could break callers, so it has to be a major version bump. You’d probably have to require explicit nopanic at api boundaries. (Else assume all public functions from other crates can panic). And because of that, public APIs like std would need to be plastered with nopanic markers everywhere. It’s also not clear how that works through trait impls.


Yeah, this is how it works with no_std.


No? https://godbolt.org/z/jEc36vP3P

As far as I can tell, no_std doesn't change anything with regard to either the usability of panicking operators like integer division, slice indexing, etc. (they're still usable) nor on whether they panic on invalid input (they still do).


The problem is with false positives. Even if you clearly see that some function will never panic (but it uses some feature which may panic), compiler might not always see that. If compiler says that there are no panics, then there are no panics, but is it enough to add as part of the language if you need to mostly avoid using features that might panic?


Brightline https://www.gobrightline.com/

Never had the chance to use it, but one of the more exciting US rail developments I’ve seen recently.


you seen kubie? `kubie ctx` is great for avoiding the first issue

https://github.com/sbstp/kubie


Supabase would be a good pick. Vercel and Cloudflare both do SQL DBs now too, curious how they are. Neon seemed interesting, haven’t heard much about them in a while.

None of those integrated of course, but easier than going big cloud or self hosted


Vercel SQL DB is just a thin wrapper (with added cost) on Neon


(I work at Vercel) We got rid of this and made it the same price as using Neon directly. We also added a bunch more database options (e.g. Supabase) https://vercel.com/marketplace


great talk! I’m curious about an approach like this combined with CUDA checkpoint for GPU workloads https://github.com/NVIDIA/cuda-checkpoint


This makes sense for checkpointing and restoring long ML training runs.

Doing this on a networked application is going to be iffy. The restored program sees a time jump. The world in which it lives sees a replay of things the restore program already did once, if restore is from a checkpoint before a later crash.

If you just want to migrate jobs within a cluster, there's Xen.


What was your takeaway? Any added insights/reading?


I am aware there is a lot of complexity (obviously) in why people develop lung cancer, or any illness for that matter, but within that assumption was smoking being far worse than it actually is. Reading further, and this may also seem obvious written out in this simple form, the cancer numbers for people in homes using coal burning for cooking food varies hugely depending on the coal. And that the incidence of lung cancers in 'never-smokers' is rising rapidly globally.


Radon is scary, and surprisingly everywhere in some regions.


Isn’t there an argument we’re simply better at brain statistics and modeling than current AI? Forget architectural limitations. What is the nature of the extrapolation? How do individuals balance their experiences and determine likely outcomes?


Maybe! But even so there’s facilities AI lack that are more capability based than model based. For instance we demonstrate agency, we can simulate things in our mind alone, such as arriving at Maxwells Equations, or general relativity, or any number of other profound insights that aren’t based on our training data but are an extrapolation through our mind into domains we’ve no experience with and arrive at profound insights never conceived of before. Statistical models generally aren’t able to do this - they’re reflections of their training set, even if very complex ones. The human mind can create its own training set and that’s a remarkable capability.


have you seen systemd-analyze?


systemd-analyze dot is nice in theory. In practice the sheer amount of dependencies makes the results difficult to use or understand.

That it's a mixture of before and requires (probably also wants, don't rememeber) does not make it easier.

Edit: Newer version have options to separate ordering from requirements. I don't think that existed on the system where I last used it.


yes and it also fails to catch that. and when reported years ago it was dismissed as "debian is doing weird shit. nobody sane depends things like so"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: