I'm also excited to run a workshop on WebAssembly (learn how to use Rust in your browser) and see the talks from @timClicks, @orhun and others!
=> More informations about this toot | View the thread
I'm going to spend the week in Hong Kong (it's my first trip there) and I'm really excited to meet people and see the city! Let me know if you have any suggestions.
=> More informations about this toot | View the thread
I'll be speaking at Rust Asia in Hong Kong on March 28! Very excited to talk to other programmers about how Rust powers the CAD suite we're building at Zoo.dev. If anyone else is going, or lives in Hong Kong, say hi!
https://www.rustasiaconf.com/speakers
=> More informations about this toot | View the thread
Many jobs I previously considered boring are now, since playing Satisfactory, really fascinating. When I meet someone who works in logistics, supply chains, warehouses, etc, I've got so many questions for them. Moving goods from producers to consumers through physical space is complex and playful.
=> More informations about this toot | View the thread
If you're using vitest (JS) and you run tests in a describe
directly, don't. They're not guaranteed to run before any setup you have in e.g. a beforeAll
call. Instead, run your tests inside it
.
This was causing a bunch of tests to pass when I ran my whole test suite (because some earlier test called its beforeAll), but fail when I focused on just one test (because beforeAll never ran)
=> More informations about this toot | View the thread
Today, my coworker and I figured out a bug that's been annoying me for 6 months or so :)
=> More informations about this toot | View the thread
This short article taught me a ton about page faults and measuring the impact of virtual memory. Also how to use perf. Strong recommendation.
Uses Rust, but isn't really about Rust, it'd apply just as well to any systems language. https://tverghis.space/posts/page-faults/
=> More informations about this toot | View the thread
Are you passionate about frontend testing and releasing? We want you to help us kill bad releases of our CAD suite before they leave CI. We love testing and automation and releasing quickly. Come help us out. Happy to answer any questions! Reposts appreciated :) https://zoo.dev/jobs/4513852005?gh_src&gh_jid=4513852005
=> More informations about this toot | View the thread
Helix, my preferred text/code editor released today. They release twice a year, so they're big releases. https://helix-editor.com/news/release-25-01-highlights/
=> More informations about this toot | View the thread
i'm not imperative! I'm not imperative!! i continue to insist as I slowly shrink and get optimized away by the compiler
=> More informations about this toot | View the thread
Good morning! It's day 4 of advent of code. I'm going to stream solving it in Rust in 90 minutes (7am west coast, 9am central, 10am east coast), at this link:
https://www.youtube.com/live/MF3-W2oAV7A?si=EPj7EhZQHFThxcdf
=> More informations about this toot | View the thread
I just deployed https://rustcombinators.com
It's just a fork of the excellent interactive Which Rust Combinator Should I Use tool from https://jethrogb.github.io/rust-combinators/, I did zero work on it. But I can never remember that URL. Hopefully a catchier URL helps other people find the tool.
=> More informations about this toot | View the thread
Whoah! The USA has granted my team at Cloudflare a second patent for our work! I'm very excited to see my name next to a bunch of really talented engineers who taught me so much.
https://ppubs.uspto.gov/dirsearch-public/print/downloadBasicPdf/12107827
=> More informations about this toot | View the thread
We're hiring! If you know a graphics/C++ engineer who wants to build a new CAD kernel at a fully-remote startup, please apply or DM me for more about the role!
The job is probably 2:1 ratio of C++ to Rust, but it can skew higher or lower depending on what you want to work on.
https://zoo.dev/jobs/4478481005?gh_src&gh_jid=4478481005
=> More informations about this toot | View the thread
We're using docs.rs/miette for this, here's the (pretty straightforward) PR to integrate it. https://github.com/KittyCAD/modeling-app/pull/4574
=> More informations about this toot | View the thread
Feeling very happy. My KCL tests used to snapshot a debug print of KCL errors. These were very hard to read. Now we're using the Miette crate to store a fancy, human-readable error instead. It shows exactly where in the KCL program the error is coming from. This will make debugging so much easier.
[#]rust
=> View attached media | View attached media
=> More informations about this toot | View the thread
My talk from #RustConf is up! I talk about the history and current state of computer-aided design, why we're building a new programming language for 3D modeling, and the lessons I learned along the way.
https://www.youtube.com/watch?v=f11kfaKAPzw&list=PL2b0df3jKKiTWZeF7cip6ZUsaVXxWioRi
=> More informations about this toot | View the thread
OK it's definitely the tan call. https://github.com/adamchalmers/fp-repro if anyone is interested in a repro.
=> More informations about this toot | View the thread
Today I learned that f64::tan (or maybe f64::to_radians?) produces different results (given the same inputs) on my ARM MacBook and on x86_64 Linux.
The math consistently returns -3.40476137196133 on one, and -3.4047613719613308 on the other. At least it's deterministic. Happening on both debug and release builds.
=> More informations about this toot | View the thread
Does anyone know why this surprising Serde behaviour works? Why can JSON arrays and objects both deserialize into a Rust struct via the default serde derives? https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=00a0bfdf489e6964794caa4ddecdab9f
=> More informations about this toot | View the thread
=> This profile with reblog | Go to adam_chal@hachyderm.io account This content has been proxied by September (3851b).Proxy Information
text/gemini