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.

doomsdayrs, to rust
@doomsdayrs@cyberpunk.lol avatar

I mean, What really is stopping me from dropping everything to dive head first into a completely new field and write a in ?

Temptations

janriemer,

@doomsdayrs Dew it!

janriemer, to rust

Currently reading "Asynchronous Programming in Rust" by Carl Fredrik Samson 📕

https://www.packtpub.com/product/asynchronous-programming-in-rust/9781805128137

I'm 1/3 through and so far I have to say it is really well written! :ferris:

⭐ ⭐ ⭐ ⭐ ⭐

janriemer, (edited )

"You’ve earned a break now. Yeah, go on, the next chapter can wait. Get a cup of tea or coffee and reset so you can start the next chapter with a fresh mind. I promise it will be both fun and interesting."

Will do, thank you!☺️

janriemer,

@qtuu Yup, that's where I've gotten it from. 😉

Yeah, I'm also not sure about the other books, tbh...

But even if it was only for the Async book, I'd buy the bundle again.🤓

18+ cafkafk, to random
@cafkafk@catgirl.farm avatar

girl who ate too much halloumi :ablobmelt:

janriemer,

@cafkafk Yum! 😋

alper, to rust
@alper@rls.social avatar

Trying to get my head around how to organise a 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

> why so many Rust source files are 1000+ LoC [...]

Based on this, I think you should mostly focus on modules first.

You'll often have many modules, but often very few crates in comparison.

I was also very confused how modules work, but the following blog posts have been very helpful for me to understand them better.

Rusts Module System Explained - by Aloso:
https://aloso.github.io/2021/03/28/module-system.html

Clear explanation of Rust’s module system - by Shesh:
https://www.sheshbabu.com/posts/rust-module-system/

Hope this helps. 🙂

janriemer, to Redis

Open Source will always win!

https://github.com/valkey-io/valkey

"A new project to resume development on the formerly open-source Redis project. We're calling it , since it's a twist on the key-value datastore."

amin, to random
@amin@alpha.polymaths.social avatar

So… I've been avoiding implementing any kind of PageRank deal on Clew, since I know how easily counting links in can be exploited and besides, I'm wanting to emphasize lesser-known sites anyway.

Now with that out of the way…

The current issue I'm struggling with is that I'm having some trouble trying to get the "main" page on a site to come up first when you search for something if it matches the query. Currently, if you, say, search for "cgit" you get specific commits to cgit before the main page itself.

So…

I'm thinking about implementing a sort of internal PageRank. A measure of how many pages within the same domain link to a specific page, as a sort of measure of how "important" that page is to the site. Then, giving a slight boost to pages with a high InternalPageRank; this would help main pages come up first when they fully match the query.

Thoughts?

janriemer,

@amin Search is a super interesting topic! I can't directly comment on the internal page rank via links, but here's my "experience" building a search engine/crawler in uni for their homepage:

We've used different weights for HTML elements, e.g. h1 having a higher weight than h2 etc.

Do not underestimate giving high weight (like, really high) to title elements: we've given it like 98% weight, which led to pages about lecturers show up as first search result, as their name was in the title. ✨

janriemer,

@amin Of course building a general search engine is way harder and more complicated, but it worked for our use-case (other implementations of the project had long pdf documents about courses as their search result, because the name of the lecturer just happen to occur several times).

Hope this gives you some inspiration for further ideas. 🙂

janriemer, to rust

Oh, look! 👀

There is a over at by Packt 🥰

https://www.humblebundle.com/books/rust-mastery-packt-books

It also contains the recently published "Asynchronous Programming in Rust" by Carl Fredrik Samson:

https://www.packtpub.com/product/asynchronous-programming-in-rust/9781805128137

janriemer,

@uncomfyhalomacro @to I feel you!😅 😬

(you don't want to see my collection of Humble books😳)

janriemer,

@codrusofathens Glad you like it! 🙂

Cool, thanks for the recommendation!

Will have a look, once I've finished the "Asynchronous Programming in Rust" book - see here:🤓

https://floss.social/@janriemer/112309418804019684

TodePond, to random
@TodePond@mas.to avatar
janriemer,

@TodePond Hmm...Microsoft should take inspiration for their next Windows ad.

janriemer, to bevy

Whoop! 🎉 In less then 30 minutes, the third is going to happen! 🥰

Come join us:
https://www.meetup.com/en/bevy-game-development/events/300167964/

Huge thank you to @rusticorn for hosting this meetup again! ❤️

amin, to random
@amin@alpha.polymaths.social avatar

Apparently my dad is currently in London looking at the Big Ben tower.

I vaguely remember him saying he'd be leaving for a trip soon but I guess I didn't pay attention to where.

janriemer,

@amin This made me laugh.😅

Wish your dad a nice trip!

hut, to android
@hut@chaos.social avatar

Anybody got experience writing entire apps in ?

janriemer,

@hut @N3Shemmy3

> surprise me with a magical solution...

Surprise! 🎁

crux - Cross-platform app development in Rust

https://github.com/redbadger/crux

Disclaimer: I haven't used this myself yet.

Docs:
"It splits the application into two distinct parts, a Core built in Rust, which drives as much of the business logic as possible, and a Shell, built in the platform native language (Swift, Kotlin, TypeScript), which provides all interfaces with the external world[...]"

janriemer,

@N3Shemmy3 @hut

Yup! 🙂

There is also an excellent talk from RustNation 2023. It's worth a watch!

https://farside.link/https://www.youtube.com/watch?v=cWCZms92-1g

(or YT: https://www.youtube.com/watch?v=cWCZms92-1g)

I'd sum this framework up as:
"Software architecture done right!"

crux' architecture is applicable to any software project out there, really.

khionu, to rust
@khionu@hachyderm.io avatar

I'm absolutely floored. I've been hired by Edera as a Founding Principal Engineer!! Looking forward to working with @alex @ariadne and Emily Long (no masto) bringing guaranteed memory safety and stronger security to virtualization.

janriemer,

@khionu Congrats! This is super cool! 🥳

janriemer, to rust

When you read a toot about :

"Have a compiling topic to share...?",

but it actually says

"Have a compelling topic to share...?",

you know that you have fully oxidized at this point. :ferris:

janriemer,

@KingmaYpe Wow, that indeed sounds like a compelling compiling topic!🤯 😬

Thank you for making Rust better! ❤️

janriemer, to random

CLASSIC ipuro bergamote Raumduft

https://www.ipuro.com/products/classic-ipuro-bergamote-raumduft-2

Duftet sehr frisch nach . Und das Design/die Farbe finde ich auch echt schick. Kann ich sehr empfehlen! 👍

(Mal etwas anderer Content von mir😉)

crabnebula, to rust
@crabnebula@fosstodon.org avatar

Why you might want to learn : 🦀

✓ One of the fastest languages after C
✓ Rich type system
✓ No garbage collector
✓ Helpful compiler output
✓ Memory safety
✓ Voted as the most beloved language since 2016 (as reported in StackOverflow)
✓ Rapid adoption in various industries

Did we miss anything?

janriemer,

@crabnebula

✓ One of the most reliable and correct software you'll ever write will be in Rust

This should come before it's argument for performance.

It's also in their vision: "[...]build reliable and efficient software": "reliable" comes first, "efficient" second.

Today, I had again the experience of WOFTAR (Works On First Try After Refactor):

  • refactored csv-diff, so that parsing and hashing csv are happening in different actors (as opposed to in one). All tests pass on first try. Magic!
janriemer,

@crabnebula Unfortunately, performance got worse.😢

janriemer, (edited ) to art

This is brilliant!

The Art of Being Precise | Frieder Nake in Conversation

https://yewtu.be/watch?v=Z_pOiHX6HYE
(or YT: https://www.youtube.com/watch?v=Z_pOiHX6HYE)

Frieder Nake is a german mathematician, computer scientist, and pioneer of computer #art.

Such a wise person!

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

Please see the next two posts for , which I find, one of the best quotes in this conversation...

1/3

#Philosophy #Interview #Wisdom #AI #GenerativeAI #ArtificialIntelligence #FriederNake #Life

janriemer,

""Algorithmic thinking is only [...] thinking in terms of computability. If we reduce our thinking to algorithmic, only the computable exists...and all the other doesn't exist. We are not computable! We should not allow ourselves, except for certain purposes, think algorithmically."

Quote continues in next post...

2/3

janriemer,

[...]We must be careful that the human does not, never give up [...] dialectical thinking, thinking in contradictions. Algorithms are no good at all at contradictions. We are always [...] living in contradictions. In fact life is contradictory."

Just beautiful! ✨

Exact timestamp in the interview (including previous question by the interviewer):
https://yewtu.be/watch?v=Z_pOiHX6HYE&si=qKlEqYWlNUcpLfRT&t=4295
(or YT: https://www.youtube.com/live/Z_pOiHX6HYE?si=qKlEqYWlNUcpLfRT&t=4295)

Dialectic[al thinking]:
https://en.wikipedia.org/wiki/Dialectic

3/3

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