arvid.io
Principal Engineer/Architect with 10+ years experience | Rust 🦀 | Platform Engineering, High-Performance Systems | Working with Rust at Amazon
Twitter: twitter.com/arvidgerstmann
LinkedIn: linkedin.com/in/arvidgerstmann
Blog: arvid.io
266 posts
315 followers
362 following
Regular Contributor
Active Commenter
comment in response to
post
The combination with the palmrest is gorgeous!
comment in response to
post
Nevermind. I found a reasonably easy way, which passes miri.
play.rust-lang.org?version=nigh...
comment in response to
post
Miri says no. All permutations I could come up with were detected as UB by Miri.
comment in response to
post
This picture represents my feeling in summer.
comment in response to
post
You would think. I thought so, too. It’s more difficult than that.
comment in response to
post
With the current ecosystem, many things are already covered and unsafe is only required for some arcane or unpopular things.
I had to bridge the libcrypto crypt_r function from C, which requires unsafe.
comment in response to
post
The common pattern is that a safe abstraction is built once, with a minimal attack surface and easy to audit, which is then used by downstream consumers.
This massively reduces the attack surface.
It’s true, though, building these abstractions is difficult.
comment in response to
post
No, C doesn't need replacement new because it does not have objects.
I use pin-init from the Rust in Linux project. This seems to work, even on stable Rust.
How would you do this in stable Rust manually?
comment in response to
post
Difficult. Rust in the Linux kernel has some ugly workarounds.
Mostly, for embedded, which rarely has a heap, it's less of a problem. Constructing on the stack is no issue.
comment in response to
post
You can't. In Rust, all heap abstractions first initialize on the stack and then move it to the heap. Initializing a struct that won't fit on the stack creates stack overflows.
Rust in Linux has encountered this and circumvented it with nightly only features.
comment in response to
post
Especially the lack of a placement new equivalent is very limiting.
comment in response to
post
24 years the very same chair? That's a good run! I'll take a look, thank you!
comment in response to
post
You've also got the premium OI, as it seems.
comment in response to
post
HAG?
comment in response to
post
During the height of my issues with RSI I could best work sitting on the couch with my laptop. So I did this for a good few years. Both in and out of the office.
comment in response to
post
Read a lot about the Leap. Seems that a lot of folks really like it.
Thank you!
comment in response to
post
The Aeron was on my initial shortlist as well. Somehow, I landed on the Embody after reading a bunch of good opinions and reviews about it. Turns out, my back doesn't like it.
As you said, chairs are absolutely personal.
comment in response to
post
Incidentally, my girlfriend got a MARKUS to replace her old chair a couple of days ago. Might give it a test for a day or two.
Steelcase got quite a few, any particular favorite?
comment in response to
post
Are you happy with the Aeron? I got an Embody two weeks ago, and have noticed that it seems to make things worse for me.
The Embody will definitely go back. I gave it a chance but things only marginally got better. The lumbar support is brutally hard and hurts after some time.
comment in response to
post
Yes, so badly! I've hacked my own environment to quickly change schemes at runtime but it's definitely imperfect, especially in neovim. Tmux and terminal emulator work much better.
comment in response to
post
Right. Semi-slicks are legal. Absolutely stupid to drive with these on a regular car. We have a US base in Stuttgart, and there is the odd US car driving around here. However, they all have German plates. I wonder whether they need to adhere to German laws.
comment in response to
post
Can't make this shit up. Also, how are racing slicks legal on the street? They're definitely not in Germany (and I'd say, to an extent in all of Europe).
comment in response to
post
It looks like it feels watched.
comment in response to
post
It's also hilarious to do that when walking by people.
comment in response to
post
All of them. Cleaning the entire target directory and cache fixed it. It happens rarely enough that I always forget this fix.
comment in response to
post
Yeah. That's a lot of what I can get easily with YAML with schemas. Makes even YAML bearable.
Who would want to write JSON by hand? Has it comments now?
comment in response to
post
RON is a great addition. I had forgotten about it. Thank you!
comment in response to
post
1.1 has concise table syntax with newlines? This is my biggest gripe with TOML. I wonder if any Rust library supports that.
comment in response to
post
Yeah. It would be pretty similar for me. Just enough freedom to do whatever I like.