280 karma · joined Sep 18, 2018 (8y ago) · 114 submissions
comment 1w ago · link · parent
I have no practical Odin experience, I just looked at the core concepts. I tried a bit of Zig and there's significant discipline in the standard library to enable allocator use. But in 3rd Party libraries this discipline is hard to enforce because it also makes it harder to design easy to use interfaces.
I'm interested where on the spectrum of allocator usability Rust will end up at. I'd expect it somewhere between Zig and C++
comment 1w ago · link · parent
> This release brings about the stabilization of the core parts of allocator_api, enabling library authors to define custom allocators that can be used together with certain standard library types - currently Vec and Box. These are enabled through the newly-stabilized Allocator trait.
That made it sound like it was rather limited currently.
I asked an LLM (because it's outside my expertise) and it said:
> It is fair to say that the heaviest architectural lifting is already done: adding a defaulted type parameter (A: Allocator = Global) preserves backward compatibility for existing code, and the core data structures already store and thread the allocator internally. However, plumbing that generic parameter through String, HashMap's std wrapper, and hundreds of standard library methods still represents substantial retrofitting work rather than a completed state.
Looks like The patch notes lead me a bit astray. But it's also not at an 'already all there' state either.
comment 1w ago · link · parent
Seems like it will be useful for use-cases like embedded where you're restricted to certain parts of the library anyway. But the battle is kind of already lost for support at the level of Zig or Odin. Even if they retrofitted support for the whole standard library, they'll never be able retrofit all crates or make people even bother adding support for all new crates.
comment 1mo ago · link · parent
Even if your web-server is down or you don't have a network connection you can still use Actual as a PWA and later sync to the server when you're back online.
When I tried out Firefly III that wasn't really how it worked, it was more of a traditional php CRUD application.
comment 2mo ago · link · parent
But I don't think the comparison is completely far fetched. Let's take stuff like his "funding secured" tweet, the "2016 autopilot promo video", his "Solar Roof" stunt do come a little close to outright lying to investors for my taste. Not quite the level of forging documents, but pretty dishonest.
comment 4mo ago · link · parent
All the "oh, but it's different now, it's really safe" implies that the scientist at the time of the Chernobyl disaster didn't give assurance that it's totally safe either.
I am in favor of nuclear power and think that closing the plants was a huge mistake, but it's not somehow fully irrational to opose nuclear power. Not everyone has the hubris of thinking they can evaluate the risks when being shown some data. Nor can they distinguish the difference between "the experts then said it's safe" and "the experts now say it's safe".
comment 4mo ago · link · parent
The article itself doesn't say "it's better", basically just says "in this one specific benchmark it beat Claude with Claude code". Mind you with multimodality it Opus still beat GLM 5.2 very handily in that same benchmark.
I can't find any contradiction and I don't see anyone lying directly. At most they lead you to imply false things, but they're not untrue at a literal reading.
comment 5mo ago · link · parent
But that was also very Start-up and America focussed. So if you did web dev in some other country and didn't have colleagues who were into that culture you still might've missed the name.
comment 6mo ago · link · parent
I think by that logic dangerously-skip-permissions and openclaw should've never been a thing. I agree that people use them too liberally, but I think at some point you have to find a balance between systemic safety risks and individual freedom.
comment 9mo ago · link · parent
Edit: this was what I was remembering: https://x.com/XenoKovah/status/1339914714055368704
comment 10mo ago · link · parent
Does the Sensor Apple uses not use GLONASS in Russia? Or is it cheapo Android Phones picking up the tag and then sending GPS coords into cloud?
edit: Nvm, I might be dumb, I guess unless your jamming includes all commodity GNSS it's pretty useless.
comment 10mo ago · link · parent
I just don't want people to litter their heavily polished immaculately styled products that have so clearly bad user-interaction design. E2e testing and closing the loop on LLMs does seem to help here.
Though I really would prefer people click around their own product for at least 5 minutes.
comment 10mo ago · link · parent
I'd suggest you at least try and mitigate that by having the LLM do extensive e2e testing if you aren't interested in using your own product.
comment 1y ago · link · parent
I strongly disagree. How is everything being called an object in any way "heavily OOP"? OOP is not just "I organize my stuff into objects".
You can write OOP code with python but most python code I've seen is not organized around OOP principles.
comment 1y ago · link · parent
Is the runtime really that large? I know with wasm 2.0 with garbage collection and exceptions is a bit of a beast but wasm 1.0? What's needed (I'm speaking from a place of ignorance here, I haven't implemented a WASM runtime)? Some contiguous memory, a stack machine, IEEE float math and some utf-8 operations. I think you can add some reasonable limitations like only a single module and a handful of available imports relevant to the domain.
I know that feature creep would almost inevitably follow, but if someone cares about minimizing complexity it seems possible.
comment 1y ago · link · parent