janriemer

@janriemer@floss.social

Software Engineer with an incredible thirst for knowledge, who shares that knowledge with others, so that they can become their best selfs.

Interested in #Rust, #WebAssembly, #TypeScript, #OpenSource, #WebDev, #WebDesign and a lot of other interesting stuff.

Let's have some deep conversations about interesting topics. 🙂

I'm open-minded, but also hold strong opinions.

Dare to think for yourself.

Be kind.

Strive for excellence.

(moved from mastodon.technology - on Mastodon since Feb 2019)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

janriemer, (edited ) to Futurology

We, as a society, really need to stop thinking that

popular == good/best

because it is very often simply false.

#Society #Sociology

janriemer, (edited ) to gamedev

Wow, this is awesome! :awesome:

CC0 Textures and 3D Models by sharetextures

https://www.sharetextures.com/

“All of our content is copyright-free. It means, you can use them anywhere you want which includes commercial projects too.”

janriemer, to ai

Don't be fooled by all the headlines that #AI was the main cause of all the recent layoffs in the tech industry.

This is not the main cause!

The main cause is that #society starts to see the lies of #BigTech and their mass manipulation of people!

1/2

#SurveillanceCapitalism #Layoffs #ArtificialIntelligence

janriemer,

They are telling a story, so that people get even more and investors think: "Oh wow, with you can actually save money by not needing so much people. This is awesome. I'll invest in that!"

Don't believe this crap!

2/2

janriemer, to random German

Strom aus Kartoffel produzieren. 🥔 ⚡

notgull, to random
@notgull@hachyderm.io avatar

I thought the rain would wash the bugs off of my windshield. I thought wrong 😫

janriemer,

@notgull Wish, we could hope for this with software as well. 🌧️ 😔

outfly, to space
@outfly@mastodon.social avatar

Hey folks!

This is the new account for #OutFly, an atmospheric, open world, realistic, 3D #space #game that throws you into the Rings of #Jupiter.

https://yunicode.itch.io/outfly

Imagine a blend of #Fallout and #OuterWilds, where you are free to explore the breathtaking expanse of the #Jupiter system and discover what life could be like after hundreds of years of space colonization.

A work in progress, but worth checking out :)

#OpenSource forever, built with #Rust and #Bevy. #introduction #gamedev

janriemer,

@outfly This looks so cool!😍

chriskrycho, to random
@chriskrycho@mastodon.social avatar

An aside from one of my @lambda_conf talks:

> If you want to “get good” at software, practice reading and working on “legacy” code. The more inscrutable the better.

Comments like // MAGIC!!! tell you it’s going to be great. 😂

15% off conf. tickets: https://www.eventbrite.com/e/lambdaconf2024-tickets-540887036687?discount=ChrisKrycho15&is=65a1176ea09e0ae892aa4e47

janriemer,

@chriskrycho 100% agree!

Little anecdote:
Recently, I had to write such comment myself - it starts with "Warning: This is a huge hack!" and continues for ~15 lines.

The hack basically (ab)uses a bug in the compiler of a proprietary PL (shh, don't tell anyone🤫), so that standard code/logic of the app is not executed (normally you can only add your own code/logic before or after the standard logic has been executed, but standard logic must be executed).

Biggest #hack I've ever pulled off.😄

janriemer,

@chriskrycho Haha, nice! In the end, code and comments are a knowledge base aren't they!?

janriemer,

@chriskrycho Urgh, yes, the why is so important!

Funny enough, I recently had a discussion about exactly this topic (git commit messages and what they should contain) here:

https://fosstodon.org/@badrihippo/112264521169826597

Actually, the whole thread is worth a read IMO (it has started on the topic of AI generated commit messages).

janriemer,

@chriskrycho 🙂

> Sometimes I write them as a plan before I start [...]

Oh, I haven't even thought about this before! This is brilliant!

Also read your blog posts about Jujutsu (very well written, btw) and got me interested, but I yet have to actually try it out.

janriemer,

@chriskrycho Yes, absolutely! I think, we are fully in agreement here.🙂

janriemer,

@guenther 😬

GregMorenz, to random
@GregMorenz@hachyderm.io avatar
janriemer,

@GregMorenz 😮

I love the comment, though! 😄

This seems like a gnarly thing to figure out properly... 😬

chriskrycho, to rust
@chriskrycho@mastodon.social avatar

A victory! I have about 2K words of the #Rust async-await chapter drafted. It’s still all in suuuuuper early draft mode, but I managed to get past that first big roadblock and decide on how I want to introduce things. 🚀

janriemer,

@chriskrycho So excited for the new edition of the book! :awesome:

Thank you, Chris, for all the hard work you put into this. ❤️

This will be so valuable to the Rust community!

shuttle, to random
@shuttle@mastodon.online avatar

How do you leverage Rust’s concurrency features in your projects? Any particular strategies or libraries that have been invaluable?

janriemer,

@shuttle crossbeam-channel with actors!

Or, in more general terms:

  • threads should own every value
  • communicate between threads via sender-sharing, not memory-sharing

Multithreading in Rust is a bliss!

janriemer, to rust

C++ will be taken over by #Rust.

What will be the Rust-equivalent for #JavaScript?

I mean #TypeScript is a very good first step, but it's basically the C++ for C.

So in short:
C => C++
JavaScript ≈> TypeScript
C++ => #RustLang
JavaScript => ???

I think it will be a looong way to go, but maybe, maybe we'll see more and more #WebAssembly in the #frontend, but not quite sure yet.

#WASM #ProgrammingLanguage #CPlusPlus #C

janriemer,

@alcinnz

> Its like if JavaScript was allowed to stay itself!

That's a beautiful way to put it!

I don't know Lua (I should look into it!), but I once saw something that, at first sight, looked like JavaScript, but also not quite...something was slightly different...

...well, it was Lua! ✨

So I totally get what you are saying.

janriemer,

@mo8it

> I mean, you get problems if you try to launch a thread…

Which specific problems are you refering to?

As far as I understand, you can spawn threads in JS environments (e.g. in the browser) with no problems (using Web Workers and SharedArrayBuffer under the hood).

Only spawning them in non-JS environments is currently not supported, if I'm not mistaken. For this, we'll need the thread-spawn proposal implemented, right!?

https://github.com/WebAssembly/shared-everything-threads

#WASM #WebAssembly #WASI

janriemer,

@mo8it Thank you for sharing, Mo!

Hmmm...that's unfortunate and sad. 😔

You might need to set appropriate headers in your server config (due to Spectre attack mitigation). See details in the last paragraph of this section:

https://web.dev/articles/webassembly-threads#sharedarraybuffer

It basically says you need to cross-origin isolate your site. Details at MDN:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements

Also, as a baseline requirement, you need to be in a "secure context":
https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts

Hope, this will solve your problem. 🤞

janriemer, to rust

Clippy's lints for dealing with #async in #Rust:

https://rust-lang.github.io/rust-clippy/master/#/async

(Note, that this is just a search for the term "async" in the Clippy docs - there is no special "category" involved here).

#RustLang #RustAsync #Clippy

janriemer, to random

Doomscrolling...

...but in an actual ebook/pdf 📖

janriemer,

Doomscrolling...

...in the #UnrealEngine 5.4 release notes.

https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-engine-5.4-release-notes

You can hardly see the scrollbar anymore - that's how long those release notes are!

Absolutely mind-blowing! 🤯

#Unreal #GameDev

chrisbiscardi, to rust
@chrisbiscardi@hachyderm.io avatar

This Week in Bevy is very exciting this week. A tool for HDRis, Nannou's progress on their Bevy backend, Ludum Dare entries, and Bevy running on an ESP32!

https://thisweekinbevy.com/issue/2024-04-22-ludum-dare-nannou-and-esp32s

#rustlang #bevyengine #gamedev

janriemer,

@chrisbiscardi Thank you, Chris, for maintaining This Week In Bevy! ❤️
It's an absolute gem! 💎

alper, to rust
@alper@rls.social avatar

Trying to get my head around how to organise a #Rust project where you have to deal with "crates", "packages", "modules" and "libraries" each of which means something slightly different.

I guess the reason why so many Rust source files are 1000+ LoC is because figuring out how to split them up is too much of a pain.

janriemer,

@alper Glad it helps you (and thank you for getting back to me)! 🙂

Yes, I agree, modules are not that well explained in the book (other topics are, though, IMO).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines