HNHacker News
TopNewBestAskShowJobs

selfmodruntime

3,603 karma · joined July 29, 2020

submissionscomments
selfmodruntime··on Where did all the public bathrooms go?
Eh. There‘s a cultural background factor to this.
selfmodruntime··on Where did all the public bathrooms go?
Insane Asylums.
selfmodruntime··on I accidentally logged hundreds of thousands of phone calls to military bases
The entire blog at lina.sh gives me such a fuzzy feeling of the old web.
selfmodruntime··on How does IKEA come up with names for its products?
I swear this is untrue. Half the names of ikea products allude to funny words in German.
selfmodruntime··on Tailscale didn't stop the Hugging Face intrusion
I'm willing to bet that 95% of people using tailscale for CI have a 90 day (max days) ephemeral, reusable auth key somewhere in their setup.
selfmodruntime··on The Rust on ESP Book
Also probe-rs went from barely working to working somewhat to now being back again to barely working for most chips
selfmodruntime··on Removing React.js from the codebase and adapting Htmx for UI interactivity (2023)
> The problem I had was that the entire experience became really slow when I had it all working together as one "response". Sending back all that HTML for an entire form with some large select lists as well as the response of results became noticeable laggy when there was more than a half dozen results.

Welcome to the disadvantage of server side rendering. We kind of had a point when we decided on delivering a single JS package up front and only tiny changed JSON after.

selfmodruntime··on Some more things about Django I've been enjoying
Wow. With a web service in Go or any similar language that would measure in the thousands, at least.
selfmodruntime··on Some more things about Django I've been enjoying
Well references in python are mutable by default, so you essentially combine an asynchronous model with mutable shared state. Combine that model with unknown caller exceptions in any subfunction and you're in for a world of hurt.
selfmodruntime··on Codeberg Bans Cryptocurrency Projects
I'm out. No place that has ever publicly advertised itself to be "political" has ever changed for the beter.
selfmodruntime··on Apple targets dozens of OpenAI employees with legal letters
Ive has potential that needs to be steered, and if Altman has shown one thing it's that he can't direct this employees.
selfmodruntime··on Stripe and Advent have made a joint offer to acquire PayPal – sources
PayPal Germany is a different beast. Germans are the only country that majorly doesn't rely on Credit Cards when doing online payment.
selfmodruntime··on Stripe and Advent have made a joint offer to acquire PayPal – sources
Competition is fierce and there's only so much innovation you can do as a payment service provider
selfmodruntime··on Stripe and Advent have made a joint offer to acquire PayPal – sources
I am so so glad to not be at either PayPal or IBM right now.
selfmodruntime··on Stripe and Advent have made a joint offer to acquire PayPal – sources
Everyone knows someone who has a story like this. Not a good look for a major PSP.
selfmodruntime··on Stripe and Advent have made a joint offer to acquire PayPal – sources
Braintree also is and isn't compatible with the legacy PayPal stack, of which there are 3 layers, depending on whom you ask.
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
Yes, sadly.
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
> You can also do one by using `unsafe` liberally, especially if you're flexible about actually upholding rust's rules (as the bun team just did

As in, they did not, which I can prove by using Miri and seeing hundreds of errors.

selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
> Ok, and how does, in your opinion, compiler rules enforcement work in an unsafe block?

By the engineer's wit of course!

> And how does Miri help solve this issue?

By detecting undefined behavior caused by violation these rules

selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
It's the wrong abstraction though and I am kind of not surprised the Bun maintainers went way. The correct abstraction would be to translate into Rust while using `clone` and `copy` liberally and then iteratively converting to a borrowing model. Nowhere at all was an introduction of the `unsafe` keyword needed.
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
This isn't propaganda, the Rust compiler's rules when using the unsafe keyword are difficult to uphold, which is why the community wrote Miri.
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
It's true and I write Rust and love it dearly. There is an entire book about working with the unsafe keyword and its aliasing rules: https://doc.rust-lang.org/nomicon/working-with-unsafe.html
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
There is almost zero reason for a public facing, non-embedded project like Bun to use unsafe anywhere.
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
This is untrue. You can do a file by file translation by using clone and copy liberally. After you're done, you can incrementally introduce borrowing.
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
The industry isn't biting @ Zig because it's unstable, notoriously difficult to integrate new changes into an existing codebase and because the compiler is a bitch to develop with (hard error on unused variables with no way to turn it off).
selfmodruntime··on Zig Creator Calls Spade a Spade, Anthropic Blows Smoke
> How is that better than the Zig codebase you started with?

It's worse, and I say this as an avid Rust fan and programmer. Try Miri with the new Bun project. It's currently blowing up. The Rust compiler's non-unsafe aliasing rules still need to hold during unsafe, which are far more complex than writing correct Zig code. That's the trade-off about Rust: The compiler has a ton of clever proofs for safe code, but if you're on your own, you'll have to do the work yourself.

selfmodruntime··on Apple sues OpenAI, accuses ex-employees of stealing trade secrets
Hard to believe when they could use this opportunity to hurt a competitor.
selfmodruntime··on Postgres rewritten in Rust, now passing 100% of the Postgres regression tests
Thank you. I write quite a lot of unsafe code myself and while safe Rust is much easier to get right than C, I'd say unsafe Rust is at least 10x harder to do correctly. Rustc's aliasing rules don't vanish when you use unsafe, you'll have to uphold them yourself!
selfmodruntime··on EU Parliament greenlights Chat Control 1.0
> I think the main purpose of the EU is to prevent wars between European states by providing a forum for compromise and cooperation.

It should have stayed this way.

selfmodruntime··on EU Parliament greenlights Chat Control 1.0
I would wager a good amount of money that below 1%, maybe even lower, could name the 5 most basic EU institutions and how they intertwine.
← PreviousPage 4 of 34Next →