Philipp Renoth 🇩🇪🍻🦀

765 posts

Philipp Renoth 🇩🇪🍻🦀 banner
Philipp Renoth 🇩🇪🍻🦀

Philipp Renoth 🇩🇪🍻🦀

@daaitch

Rust 🦀 and (node.)JS/TS, working @consol_de

Munich, Bavaria Katılım Nisan 2018
148 Takip Edilen132 Takipçiler
The 5422m4n 🦀
The 5422m4n 🦀@5422m4n·
TIL: Asterinas is a secure, fast, and general-purpose OS kernel that provides Linux-compatible ABI. It can serve as a seamless replacement for Linux while enhancing memory safety and developer friendliness. Written in rust of course github.com/asterinas/aste…
English
1
2
44
1.5K
Philipp Renoth 🇩🇪🍻🦀 retweetledi
Deno
Deno@deno_land·
Programming should be simple
English
278
1.3K
10.9K
1.2M
Philipp Renoth 🇩🇪🍻🦀
@5422m4n @zeddotdev Offtopic, but I'm interested in your setup: Everything I do with git I do in the terminal except merge conflicts and when I checked Zed a few weeks ago it's lacking any git integration, so I went back to vscode. How do you work?
English
1
0
1
52
The 5422m4n 🦀
The 5422m4n 🦀@5422m4n·
oho, one hour back I had the first ever crash of @zeddotdev just now again has never happened before, anyone else having this experience?
English
1
0
0
63
Philipp Renoth 🇩🇪🍻🦀
@ChromiumDev There is no error. It's just an overcomplicated way to say: setTimeout(() => {console.log(5); console.log(5); console.log(5); console.log(5); console.log(5); }, 1000) you're welcome.
English
0
0
3
629
Chrome for Developers
Chrome for Developers@ChromiumDev·
Calling all web development debugging detectives! 🕵️ Put your skills to the test and help us uncover what the error is in this code. for (var i = 0; i < 5; i++) { setTimeout(() => console.log(i), 1000); }
English
26
9
79
24K
Philipp Renoth 🇩🇪🍻🦀
@5422m4n At first I thought "cool", but I'm not a big fan of asymmetry. cargo run and running the binary directly should both do the same. I guess it's more for build scripts and rustc variables.
English
1
0
5
474
The 5422m4n 🦀
The 5422m4n 🦀@5422m4n·
Do you still use .env files in your #rustlang project? TIL: the `env` section in your workspace .cargo/config.toml can be a drop-in replacement read more about it: #env" target="_blank" rel="nofollow noopener">doc.rust-lang.org/cargo/referenc…
The 5422m4n 🦀 tweet media
English
12
38
245
20.6K
Philipp Renoth 🇩🇪🍻🦀 retweetledi
Shayan
Shayan@ImSh4yy·
Eventual consistency.
Shayan tweet media
English
4
112
666
39.8K
Andy Young
Andy Young@anerdguynow·
Everyone always shares code that they're proud of. I want to see code you wrote that makes you cringe. Here's mine, and it's been in production for years, and there's a very good chance you've executed it before. No, I will not be taking questions. 😅
Andy Young tweet media
English
75
17
659
148.8K
Philipp Renoth 🇩🇪🍻🦀 retweetledi
Bevy Engine
Bevy Engine@BevyEngine·
It is with great excitement that we announce the Bevy Foundation: a non-profit that exists to develop Bevy and educate people about its usage! Know that the Bevy Foundation exists for YOU and we wouldn't be where we are today without your support! bevyengine.org/news/bevy-foun…
English
12
104
538
38.1K
Philipp Renoth 🇩🇪🍻🦀 retweetledi
Jon Gjengset
Jon Gjengset@jonhoo·
Oh cool, Rust for Rustaceans is in the latest "Learn You Some Code" @humble Bundle! That means you can get it discounted together with a bunch of other tech books from @nostarch *and* support the Python Software Foundation in the process! humblebundle.com/books/learn-yo…
English
5
20
148
15.1K
Philipp Renoth 🇩🇪🍻🦀
🤦 What a successful day. Took me 6h to find out that MacOS sucks for embedded programming an #esp32. 🌈 2h later from scratch on Ubuntu I wrote a 20LOC programm that makes a LED blink. Guess my stack, hint: 'cargo run' and it's done. #rustlang #embedded
Philipp Renoth 🇩🇪🍻🦀 tweet media
English
1
0
0
155
Philipp Renoth 🇩🇪🍻🦀
@hmemcpy In Rust 'unsafe' has a different meaning. '.unwrap' in comparison is very safe. At some point you will write unwrap because you know it will not fail and also you don't want to implement error handling.
English
0
0
3
286
Igal Tabachnik
Igal Tabachnik@hmemcpy·
Every time I see .unwrap() in Rust code I immediately get flashbacks to people using Option.get in Scala. If you have to do those unsafe operations, you're missing the entire point!
English
11
9
95
14.7K
Philipp Renoth 🇩🇪🍻🦀
@Legend_Ori I started @chunklands about 10yrs ago as a C++ exercise. The main reason is probably that I was missing game concepts and started somehow and ended somewhere 😃. Nevertheless I learned #rustlang and #vulkan so I don't regret anything and I made progress in every iteration 👍.
English
0
0
1
55
trav
trav@techsavvytravvy·
why doesn't this narrow yet... feel like i've been wanting this for years
trav tweet media
English
15
0
104
29.7K
Philipp Renoth 🇩🇪🍻🦀
@mattpocockuk I think we tried this for an opaque date type which is a number and the value itself was a utility class with static methods for it. But in the end we decided to use 2 names.
English
0
0
0
25
Matt Pocock
Matt Pocock@mattpocockuk·
Fun fact: you can export a value and a type with the SAME NAME. This is great for when you have runtime things in your app that feel like types, like Zod schemas. Are you using this technique? I'm a convert.
Matt Pocock tweet media
English
103
69
1.1K
202.9K
Matt Pocock
Matt Pocock@mattpocockuk·
Prettier is thinking about improving the auto-formatting of ternaries. This would be MASSIVE for improving conditional types in TypeScript, as well as improving life for devs all over. Which of these do you prefer?
Matt Pocock tweet media
English
196
32
735
405.8K
Nat Miletic
Nat Miletic@natmiletic·
I made this cool age selector with HTML and JS Follow me for more coding advice
English
127
73
1.4K
236.1K
Holly Guevara
Holly Guevara@hollylawly·
I need to make an extra $200k in the next 6 months. What should I do? Write a book? Any good shitcoins we can pump? Open to all ideas 😮‍💨
English
123
4
308
340.3K
Philipp Renoth 🇩🇪🍻🦀 retweetledi
Massimo
Massimo@Rainmaker1973·
This is called the Coffer illusion. In this image there are 16 circles. Can you find them?
Massimo tweet media
English
2.8K
7.5K
71K
23.6M