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 rust

Currently in the process of rewriting my from v4.2 to v1.0.0-alpha.6 🤓

It is a lot of fun so far, but I have to say these type signatures are wild!😄

I'm still struggling with it far more than I'd like, but I guess it is just a matter of time until intuition kicks in and it will become more and more natural.

Exciting project ahead!🙂

I'm even able to parse string literals with escape sequences - something I haven't even achieved with nom!

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

Hm...I'm getting the impression that is increasingly met with a refusal by some people (it's an almost hateful attitude sometimes).

I wonder why. Of course there are a lot of layers to it, but one is definitely that Rust has gotten a lot more exposure to people and so there are just a lot more potential matches that lead to Err(()) and that's Ok(()) (sorry, pun intended).

But I wonder, if there's more to it than what meets the eye (feeling excluded/alienated/left behind?).

janriemer, to rust

To all people, who think 's syntax is ugly: maybe you should give this one a read:

Complexity Has to Live Somewhere - by Fred Hebert (discovered through @algo_luca's book):

https://ferd.ca/complexity-has-to-live-somewhere.html

"If you're unlucky and you just tried to pretend complexity could be avoided altogether, it has no place to go in this world. But it still doesn't stop existing."

janriemer, to rust

Some people: "Rust's syntax is so confusing to me." 🥴

The project: "Let's match that confusion with even more confusing syntax!" :awesome:

🤦

/sarcasm

janriemer, to rust

It's alive!🎉

I've built a in , compiled it to and integrated it into a app! :awesome:

It's called selecuery.✨

It can transpile X++ select statements into query expressions. If you think "X++" is a typo and you don't have any idea of what I'm talking about, don't worry.😄

Have a look at the video below.

This project is dear to my heart! ❤️ I've started it 2019 for learning .

I think, I've been transpiled during this project as well.🤪

A video showing a web app with two code editors side-by-side. On the left, source code is entered, which looks like an SQL dialect. As the code is entered on the left, the code editor on the right updates in real-time. The right editor shows the SQL-like statement in a very different form, namely as a sequence of method calls on a query object. So it has just transpiled a declarative SQL-like statement into a procedural query expression. You can think of it a bit like C#'s LINQ: LINQ also has a declarative form and a procedural form.

janriemer, to ai

You know that looses millions of $ through their deployed systems, right? You can expect a much higher price for using their in the future - be it your privacy or your money.

So instead of learning proompt engineering, why not do something more useful and invest your time into learning a new :

  • - a language empowering everyone to build reliable and efficient software
  • - a purely functional language that changes the way you think
janriemer, to react

Hot take

#React is the new AngularJS

¯_(ツ)_/¯

janriemer, to rust

Many people say that #Rust is very hard to #prototype with or to #refactor. This couldn't be further from the truth! It is the exact opposite!

Let me share with you one of the most profound experiences I had with #RustLang on a casual sunday - a thread 🧵

I'm currently rewriting my #transpiler from #nom to #chumsky and until now everything has turned out great so far, until I've hit the following road block:
Implementing parsers by using #parser functions that have indirect #recursion.

1/11

janriemer, to rust

😯 Jon's stream is about to start everyone! Yay! :awesome:

They are going to "decrust" the web framework.

See:
https://fosstodon.org/@jonhoo/110776022205705585

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:

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" ( & ).

It will be stabilized in the next 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 for all of your hard work! ❤️

janriemer, (edited ) to javascript

This is mad 🤯

oxc - The Oxidation is creating a suite of high- tools for the / language re-written in - by Boshen:

https://github.com/web-infra-dev/oxc

Its linter is 50 - 100 times faster than ...

https://github.com/Boshen/bench-javascript-linter

...and its parser is even 2x faster than

https://github.com/Boshen/bench-javascript-parser-written-in-rust

tooling goes brrrrrrrrrrr! 🚀

janriemer, to rust

Watching @jonhoo's stream on std::collections in now. 🤓
Very exciting! :awesome:

janriemer, to brainfood

TypeScript Origins: The Documentary - by OfferZen Origins

https://farside.link/https://www.youtube.com/watch?v=U6s2pdxebSo
(or YT: https://www.youtube.com/watch?v=U6s2pdxebSo)

They couldn't have chosen a better time for this !

Use TypeScript!

janriemer, to rust

So companies, can you please tell me again, why you are NOT using ?

Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022:

"In fact, when asked to compare whether they felt that Rust code was more correct than the code that they write in other languages, an overwhelming 85% of respondents are confident that their Rust code is correct. [...]"

"And, it’s not just correct—it’s also easy to review. More than half of respondents say that Rust code is incredibly easy to review."

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 rust

You actually don't need

You just need clippy --fix :awesome:

https://doc.rust-lang.org/stable/clippy/usage.html#automatically-applying-clippy-suggestions

I've just run it over my first Rust code base. I'm impressed what it can detect!

janriemer, to react

Wait, what!? #React doesn't support scoped #CSS styles by default!?😱

happily goes on and creates a new #Vue component😊

janriemer, to logitech

I've just had a good laugh 😄

My old mouse device broke so it was time for a new one. I've bought the Logitech MX Master 3S:

https://www.logitech.com/en-us/products/mice/mx-master-3s.910-006556.html?sp=1&searchclick=logi

Now the actual fun part: the device has a "speedy" scroll mode, where you hit a certain button on-top of the mouse and suddenly your mouse wheel goes weeeeeeeeeeeeeee! :awesome: 😄

Literally, you can actually spin your mouse wheel and it keeps momentum. There are no "steps" anymore when scrolling. That feels so funny!😄

janriemer, to random

The biggest unsolved mystery of software engineering remains the widespread use of .

Can we just agree to use instead please!?

janriemer, (edited ) to random

Do NOT use !

Edit: The following is NOT true. See edit below.

Gmail has just declared a very lengthy e-mail of mine as "SPAM". My recipient uses gmail, so I can't send them my message.

Thank you for me and wasting my time!

Edit: I've tried to sent the e-mail to a non-gmail address and I experience the same issue. So it's NOT a gmail problem.

Sorry, for the confusion and the false accusation.😳

janriemer, to typescript

This looks wild! 🤯

civet - The Modern Way to Write

https://civet.dev/

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

When reading arguments of when to use Associated Types (AT) vs. Generics (G) in , it's often (correctly!) argued that you should use AT over G, when an impl only makes sense for one single type (good example is the AT in Iterator or Deref).

An additional benefit, that is often overlooked IMO, is that using AT is also object safe, so you can call methods that take AT as parameters on trait objects. ✨ :awesome:

See this playground:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=189efcd9a23ac63b73ccd67bc583c879

1/2

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