Posts by predrag@hachyderm.io
(DIR) Post #AQ4XHChJgeG44WKysS by predrag@hachyderm.io
2022-11-28T17:22:40Z
0 likes, 0 repeats
@bug I think a lot of pain and suffering could have been avoided if we as a community had named "undefined behavior" something different and scarier-sounding.Also if we had tools like UBSan/ASan/Miri from the start.
(DIR) Post #AQ4jaXu8GQNunNJyzI by predrag@hachyderm.io
2022-11-28T21:45:40Z
0 likes, 0 repeats
@wolf480pl @bug Perhaps scary isn't the right word. Just a name that is less likely to give you the false impression of understanding the intricacies of the concept just from having heard the name, and without digging in further.UB isn't that scary. But it is subtle — e.g. see time-travelling UB, or the implications on debuggers in the presence of UB. And it gets confused for "implementation-defined" or "unspecified" behavior all the time. These are things that would have been better avoided.
(DIR) Post #ASIY8DMcHQ1BeBvioC by predrag@hachyderm.io
2023-02-03T00:43:44Z
0 likes, 0 repeats
@thephd I don't disagree with the conclusion, but I do believe your blog post conflates undefined and unspecified/implementation-defined behavior."things that were too hard or they weren’t sure about or it was just too damn hard to document" -> I think this mostly became unspecified/implementation-defined, not *undefined* behavior.This post of mine briefly covers the distinction in the intro:https://predr.ag/blog/falsehoods-programmers-believe-about-undefined-behavior/
(DIR) Post #ASU7S9ownS07aJzAoq by predrag@hachyderm.io
2023-02-08T23:24:26Z
0 likes, 0 repeats
@simon what's wrong with having slightly more buoyant, much more explode-y helium for your parties?I can't possibly see anything going wrong with that 😂
(DIR) Post #AUAwlSj2A1egdY6bOC by predrag@hachyderm.io
2023-03-31T13:10:07Z
0 likes, 0 repeats
@mjg59 I completely lucked out in my last move and ended up in an apartment building that FiOS uses for new tech test rollouts. I get symmetric 1Gbps courtesy of single-mode fiber that terminates in my closet.Based on what the tech that installed it said, their backhaul is super overprovisioned and if they wanted to they could run 10Gbps over the same fiber.They should advertise this stuff! I didn't know until I moved in.
(DIR) Post #AXjQAkNdTSSB82ROu8 by predrag@hachyderm.io
2023-07-15T21:06:22Z
0 likes, 1 repeats
New functionality and new example queries in the Trustfall rustdoc playground 👀Go query the supertraits, associated types, and associated constants over your favorite #rustlang crates 🦀https://play.predr.ag/rustdoc
(DIR) Post #AXjQAnOoFYAuUY0seO by predrag@hachyderm.io
2023-07-15T21:06:30Z
0 likes, 0 repeats
Expect lots of ✨ new lints ✨ in the next cargo-semver-checks release.Remember to thank the contributors that made them possible ❤https://github.com/obi1kenobi/cargo-semver-checks/compare/v0.22.1...main
(DIR) Post #AaxCuqGzuoWJtwde0O by predrag@hachyderm.io
2023-10-19T20:07:22Z
0 likes, 0 repeats
@amanjeev @fasterthanlime as someone who has had to look into the finer points of ISO 8601 date handling, I can certify that standard was the wrong kind of inspired.
(DIR) Post #Adi0Paol1rJOBEBphY by predrag@hachyderm.io
2024-01-10T16:44:34Z
0 likes, 0 repeats
@simon this is also a function of tooling:- It's hard to check for backward compatibility.- It's hard to upgrade many dependencies to a new library version.With better tooling, we wouldn't have to rename libraries like this.
(DIR) Post #Adi29tjH9FrW6mGlvs by predrag@hachyderm.io
2024-01-10T16:47:14Z
0 likes, 1 repeats
@simon on that note, I'm working on a Python linter that can find and report breaking changes between package versions!Like my Rust linter cargo-semver-checks, but for Python. Before making a new release (or merging a PR), run it to make sure no unintended breaking changes have snuck in.Who should I be talking to about this? Who needs to use it the most?#rustlang #python #semver
(DIR) Post #Adi7F6apFSDBDtcTVg by predrag@hachyderm.io
2024-01-10T18:01:16Z
0 likes, 0 repeats
@simon lmk if you're open to trying it on the datasette ecosystem — that'd be a very solid start 😎
(DIR) Post #AjKBd8LRqqUW9YE6xE by predrag@hachyderm.io
2024-06-26T16:10:30Z
0 likes, 1 repeats
What does semantic versioning buy us? Is it worth the hassle? How do we improve the experience in Rust, Python, TypeScript, and more?Catch @chriskrycho and me discuss this and more on the latest episode of the @changelog podcast 👇https://changelog.com/podcast/597#rust #python #javascript #typescript #semver #podcast
(DIR) Post #Ajxya8iBVIU3yBkPs8 by predrag@hachyderm.io
2024-07-15T20:51:32Z
0 likes, 1 repeats
The problem with #semver in practice: we can't possibly do it by hand. Check out my hot takes in this clip from my @changelog interview!It's the same story in all languages: Python, TS/JS, Rust, you name it. Better tooling or bust!https://www.youtube.com/watch?v=_qd1zW8gxUU#programming #devtools #python #rust #rustlang #typescript