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, to random

Oh wow, I didn't know @GameFromScratch was on Mastodon!

Hello 👋

Thank you for your videos! ❤️

Always inspiring to watch!

janriemer, to LLMs

I start to see a clear pattern with lately:

Models apparently get better the smaller and more specialized they become - could we end up with an actual algorithm in the end that is actually correct!? 🤔

/s

janriemer, to rust

Asynchronous streams in (part 1) - Futures, buffering and mysterious compilation error messages - by Guillaume Endignoux (@gendx) (April 2021)

https://gendignoux.com/blog/2021/04/01/rust-async-streams-futures-part1.html

Asynchronous streams in Rust (part 2) - Cancelling expired requests

https://gendignoux.com/blog/2021/04/08/rust-async-streams-futures-part2.html

janriemer, to graphics

shadplay - Real-time visualisation tooling for educating oneself in the art of programming

https://github.com/alphastrata/shadplay

janriemer, (edited ) to design

If you have similar interests as I have, which is #WebDesign / #WebDevelopment / #Design / #Graphics and #Rust #RustLang and you want to contribute to meaningful #OpenSource projects, may I suggest the following projects to you 🙂

#Graphite | 2D vector and raster graphics editor

https://graphite.rs/blog/looking-back-on-2023-and-what-s-next/

#Bevy | simple data-driven #GameEngine

https://bevyengine.org/

#Servo | independent web rendering engine

https://servo.org/

Sigh, sometimes I wish I could do
self.clone().🥺

janriemer, to webdev

Blitz | High and renderer powered by - by the team at DioxusLabs

https://github.com/DioxusLabs/blitz

Looks like a really interesting project!

janriemer, to bevy

If I should describe in one word, it is this:

Lego

janriemer, to bevy

Wow, is actually dangerous! ⚠️ :awesome:

I've just fixed a concurrency (yes, you've heard that right, even if it's ) in the bevy_mod_picking crate 🐛

https://github.com/aevyrie/bevy_mod_picking/pull/299

What was the problem?

Well, retrieving EntityCommands from Commands with commands.get_entity(entity_id) does not guarantee that the entity is still present when you try to insert a bundle afterwards, because another system could have despawned it.

You should use try_insert instead.

janriemer, (edited ) to github

I now get spammed @GitHub @github ?

See my handle mentioned in the following scam/spam message:

https://github.com/bossoff/e-learning-project/pull/1#issuecomment-1873440202

Please ban the user "tim-tepia" from your service (I've simultaneously reported the user via your UI).

janriemer, to rust

Software engineers should really look more into and architecture when designing software. This is especially useful in software systems written in .

It is mostly used in 's, most notably in , but is very useful outside of , too.

It all comes down to this:

  • separate data from behaviour
  • favor composition over inheritance

It's the antidote to .

1/2

janriemer, to rust

Yay! @notgull is working on smol integration with ! :awesome:

https://github.com/notgull/smol-axum

The smol runtime:
https://github.com/smol-rs/smol

is not the end-all-be-all runtime. You should keep looking at alternatives and what unique features they can offer. ✨

Don't be blinded by "if it is the most popular, it must be the best" fallacy.

janriemer, to bevy

Writing some more unit tests in for the dragndrop plugin (by cadyn - see below) right now. It is so much fun and I already discovered a small bug (the test is red ❌)! 🙂 🐛

Going to fix it now. 💪

Hopefully, I'm able to get it to green ✅ Let's see...

https://github.com/cadyn/bevy_dragndrop

janriemer, to rust

Some time ago there has been an interesting thread over at forum, where someone asks for "help to escape OOP in Rust".

I've tried to help them escape with the following answer 🙂

https://users.rust-lang.org/t/im-still-thinking-oop-in-rust-please-help-me-for-escape/93737/36?u=janriemer

Are you willing to escape from in Rust as well!?🙂

janriemer, to Amazon

"Earlier this year, announced plans to start incorporating into movies and TV shows streamed from its Video service, and now the company has [a date]: it’s January 29th."

"[...]Customers have the option of paying an additional $2.99 per month to keep avoiding advertisements."

https://www.theverge.com/2023/12/26/24015595/amazon-prime-video-ads-coming-january-29

Oh really!? This is such a surprise! How could they do this!?

Another prime example (pun intended) of , if you ask me... ¯_(ツ)_/¯

janriemer, to opensource

I'm always baffled when someone says they don't know what software they should build (for a side/hobby/open source project).

I mean, just look at the software you are using every day - millions of opportunities in front of your eyes... 👀 ¯_(ツ)_/¯

#Awareness #OpenSource #Software #Ideas #SideProject #UX #SoftwareDevelopment

janriemer, to bevy

Me, trying to figure out how to implement basic drag functionality in UI without the cursor jumping to the mid-point of the dragged rectangle.😬

My head hurts!🥴 😪

janriemer, to webassembly

WebAssembly Micro (WAMR)

https://github.com/bytecodealliance/wasm-micro-runtime

" is a lightweight standalone WebAssembly (Wasm) runtime with small footprint, high performance and highly configurable features for applications cross from embedded, IoT, edge to Trusted Execution Environment (TEE), [...], cloud native and so on."

Looks neat, especially the different running modes look useful:

https://bytecodealliance.github.io/wamr.dev/blog/introduction-to-wamr-running-modes/

janriemer, to random

Today, I've encountered a class with almost 30,000 lines of code.

No, it wasn't fun.

😳

janriemer, to bevy

First baby steps with / :awesome:

This was way harder for me to implement than it might seem. I might write about it in the future... 🤞

janriemer, to webdev

Every system will eventually morph into a shape that is indistinguishable from and .

janriemer, to rust

makes some happy screaming noise :awesome: :ferris:

#Rust will end this year with a long awaited feature that will define it's future:

We will get "async fn and return-position impl Trait in trait" (#AFIT & #RPITIT).

It will be stabilized in the next #RustLang version 1.75, which will be released on 28 December, 2023.

https://releases.rs/docs/1.75.0/

PR:
https://github.com/rust-lang/rust/pull/115822

Thank you Rust #community for all of your hard work! ❤️

#RustAsync #AsyncRust

janriemer, to ArtificialIntelligence

Ant colony optimization algorithms

https://en.wikipedia.org/wiki/Ant_colony_optimization_algorithms

"[T]he ant colony optimization (ACO) is a technique for solving computational problems which can be reduced to finding good paths through . Artificial ants stand for multi-agent methods inspired by the behavior of real ants. The pheromone-based communication of biological ants is often the predominant paradigm used."

janriemer, to graphics

This is genius:

vong | The first compute-centric vector graphic video game

https://github.com/simbleau/vong

I think zooming should be an explicit feature in the game (which triggers some behaviour/state change in the game besides zooming).🙃

janriemer, to rust

If you get weird 's: have you already tried to just remove the lifetime annotations and see what happens? You'll often get much better error messages this way. :ferris:

If this doesn't work and you still can't figure it out: try to not use references and own your values instead.

janriemer, (edited ) to programming

There is still plenty of room for in the space of 's:

sapling | A highly experimental vi-inspired editor where you edit code, not text.

https://github.com/kneasle/sapling

Accessible AST-Based for Visually-Impaired Programmers (2019)

https://dl.acm.org/doi/pdf/10.1145/3287324.3287499

Also related:
diffsitter | A tree-sitter based AST to get meaningful semantic diffs

https://github.com/afnanenayet/diffsitter

➡️ Edit: please check out part 2 of this post below...

1/2

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