Better HN
topnewbestaskshowjobs
Log inSign up

samtheprogram

1,451 karma · joined Mar 22, 2017 (9y ago) · 601 submissions

Submissions

comment 1y ago · link · parent

This. Reminds me of Casey Muratori warning people to not trust benchmarks made by random people on the internet.

There’s absolutely no way Tauri apps take 25s to launch. Source: I’ve played with Tauri on Linux. This is an order of magnitude off.

comment 1y ago · link · parent

Good point, thanks for the insight!

comment 1y ago · link · parent

I responded "This is not true" to a sibling comment about this same topic, but about "shared libraries", which is the opposite problem (multiple programs could load the same shared library and try to interact).

This is absolutely not true for Linux kernel updating. While you won't be using the new kernel before rebooting, there's 0 risk in not rebooting, because there's exactly 1 version of the kernel running on the machine -- it's loaded into memory when your computer starts.

There's of course rare exceptions, like when a dynamically linked library you just installed depends on a minimum specific version of the Linux kernel you also just installed, but this is extremely rare in Linux land, as backwards compatibility of programs with older kernels is generally a given. "We do not break userspace"

comment 1y ago · link · parent

This is not true. Different programs on the same system that interoperate and use different versions of the same shared library can absolutely cause issues.

For a trivial change to glibc, it won't cause issues. But there's a lot of shared libraries and lots of different kinds of changes in different kinds of libraries that can happen.

I still haven't nailed if it was due to a shared library update, but just the other day, after running upgrades I was unable to su or sudo / authenticate as a user until after rebooting.

comment 1y ago · link · parent

This. Honestly, their issue based on Zed’s issue tracker is likely with NVIDIA drivers inconsistencies, which ironically is due to the closed source nature of NVIDIA drivers (its workarounds all the way down bringing pain to app and driver developers), not Zed (which is indeed FOSS, just not “volunteer” driven).

comment 1y ago · link · parent

You should report an issue with your specs, not just say “other applications don’t have this problem” — especially as a Linux user.

For one, not all applications are GPU accelerated.

Two, their UX may need to be improved for a specific hardware configuration. I have used Zed with good performance on Intel dGPU, AMD dGPU, and Intel iGPU without issue — my guess is a missing dependency?

comment 1y ago · link · parent

This is a philosophical article, not clickbait.

comment 1y ago · link · parent

Yes. Static pages can include frontend JavaScript, including WebAssembly + Pyodide. You'll likely just have a build step that produces the actual JavaScript bundle you'll be serving statically.

As for obsfucation, you could precompile to Python bytecode (.pyc files), and then to obsfucate that further you could e.g. pyminify before the bytecode compilation.

There's also pyarmor, but as of 2022 [1] that was unsupported.

[1]: https://github.com/pyodide/pyodide/discussions/2325

comment 1y ago · link · parent

False, you said:

> only the richest companies getting exemptions

…when the reality is that certain classes of goods were exempted. You reiterated the clickbaity headline.

Products like the Librem phone have exceptions. Is Purism one of the richest companies?

comment 1y ago · link · parent

Because while you might agree with the current regime, laws, etc, and they may not be abusing their all knowing powers, allowing government (or any corporation) such power means they can change the rules, for example in an authoritarian direction, and you have 0 recourse, power, or leverage in the situation.

comment 1y ago · link · parent

99.9999999% sure that was their point? Why else would they bring up that particular work?

comment 1y ago · link · parent

This looks like the opposite -- accessing a plan9 system from a web browser?

comment 1y ago · link · parent

Yes. It’s the same reason AppImage could work — if the licensing allows for the all libraries to be included in the image, because the Linux syscall interface is generally stable.

“We do not break userspace”

comment 1y ago · link · parent

Not sure why you are downvoted but I’m curious why. I appreciated this tidbit, thanks.

comment 1y ago · link · parent

You have never been encouraged to use Bixby or any other Samsung app?

Let’s define “ad”.

comment 1y ago · link · parent

I’m one of them. I saw demos at _last year’s_ WWDC that I’ve been excited to get. And now with this announcement I don’t think that will happen before this year’s event.

comment 1y ago · link · parent

> None of my Samsung phones have ever advertised anything to me.

I had a Galaxy S8. It definitely did.

> Unlike iOS,there are any number of music player apps on Android that stay out of the way and don't try to be a "platform".

iOS has other music players too. It was a choice that e.g. doubleTwist stopped supporting iOS when pivoting to CloudPlayer.

comment 1y ago · link · parent

Same, would love that. TinyGrad’s driver would be pretty awful to use if it would even work since I think it would prevent using the GPU simultaneously, though I may be wrong there.

Otherwise as it stands the 128 GB configuration seems pretty niche.

EDIT: looking deeper it seems like the "Ryzen AI" is it's own thing with a different implementation than ROCm, so it could be interesting but might not help with ROCm.

comment 1y ago · link · parent

Wait, so I’d have to use ROCm for compute?

That sucks. I’ve had better luck with Intel’s drivers for their first series of dGPU’s.

If this works with tinygrad’s AMD driver, that would then interest me.

comment 1y ago · link · parent

Just talk at them until they talk with you. Works better than you would think, however crazy you seem at first.

comment 1y ago · link · parent

To clarify this further, pickle was more common ~10+ years ago I’d say? Hence the “historically”

It wasn’t designed (well enough?) to be read safely so malware or other arbitrary data could be injected into models (to compromise the machine running the model, as opposed to the outputs like in the article), which safetensors was made to avoid.

comment 1y ago · link · parent

True. Either way, Umami's been using `yarn` since 2020, before that release of NPM (although for what reason at that time, I don't know).

Being bad thereby creating desirable competition has lasting effects. We could get into when/why/what each thing supports all day, but it's not worth it.

Speaking of what's supported nowadays, installing other package managers is a corepack call away -- literally a whole other feature built into Node.js because NPM is/was/etc subpar. It's experimental, but this is all to say: it doesn't surprise me in the slightest that a project might use something that isn't NPM, and I actively expect it when picking up other's projects.

comment 1y ago · link · parent

Seems like it’s because they’re using the resolutions feature to override a dependency resolution. The alternative would be forking at least 1 package, all the way down to the dependency, to fix the version.

There’s a reason there’s 3 popular package managers for Node that aren’t NPM. Yes, part of that is the culture/ecosystem, but not entirely.

comment 1y ago · link · parent

People I know who are iOS developers say differently.

The Swift language itself is bloated? Compared to what? Golang?

1
678
21