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.

inthehands, to random
@inthehands@hachyderm.io avatar

Less about tools that boost productivity, more about tools that reduce total workload.

janriemer,

@inthehands ...and now have a look at the summary below by GPT4o and Gemini 1.5.

While it perfectly got it right (this time!), the most crucial bit on how to disable this new linker is not present in the summary (see image below).

This is why context and details matter, which will always miss!

Writing requires - an lacks it.

3/3

janriemer, (edited )

@inthehands So much this! 💯

These LLM tools just lack so much context!

  • What is actually important for the person that receive the email?
  • What is actually important in this wall of text in the current context?

I've actually just done an experiment that shows this (with Chat LMSys):

https://chat.lmsys.org/

Some details in the next posts...

1/3 (wow, a thread within a thread🤯)

janriemer, (edited )

@inthehands I've given it the following prompt:

"Please summarize the following text in max 4 sentences:"

and then I've given it the pure text of the following blog post:
https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html

There is a summary at the end of the actual blog post (that's what makes this experiment so interesting!), which is not part of the prompt.

Please see the image below:

2/3

faassen, to rust
@faassen@fosstodon.org avatar

I wonder how to best describe how influences design, for better or worse. Here is some rambling...

It makes you avoid cyclical data structures, and you are far more aware of ownership. This makes surprising action at a distance harder. It also makes it more difficult to misuse globals or struct fields as globals just to pass data along to where it is needed no matter how.

Enums turn out to replace dynamic dispatch very often. Inheritance is just gone.

1/n

janriemer,

@ekuber @faassen

For me, programs feel very often like a state machine:

Data gets transformed (by taking ownership) from one data structure to the next data structure.

This is why I think Ownership/Borrowing is useful for much more than "just" memory safety - it actually ensures correctness (of data flow).

's focus on separating data and behaviour and defining both easily makes all the difference (I've written about it in some forum post: https://users.rust-lang.org/t/im-still-thinking-oop-in-rust-please-help-me-for-escape/93737/36?u=janriemer)!

❤️

janriemer, to random

😯Wait, what!? #AI is not growing exponentially, but has reached it's plateau!?

How can that be!? This is such a surprise! Oh my!😱

/s

OpenAI’s CEO Says the Age of Giant AI Models Is Already Over

https://www.wired.com/story/openai-ceo-sam-altman-the-age-of-giant-ai-models-is-already-over/

#Sarcasm #ArtificialIntelligence #ExponentialGrowth #SigmoidCurve #SALAMI #ChatGPT

janriemer, to ai

: requires massive amounts of compute

: requires massive amounts of compute

Hm...I can see a pattern with newly hyped technologies.

Why is that? Oh wait...big cloud companies are massively profiting from it, right!?

janriemer, to microsoft

will integrate into systems/infrastructure (like their own "Learn" platform, but also probably elsewhere).

Maybe in combination with integrating it into their search engine , but I'm still not quite sure about this one.

We will see an announcement in a year or so.

janriemer, to rust

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

janriemer, to ai

Inventing software that can "understand" context-dependent, ambiguous natural language, so that we can let it generate software with a context-free, unambiguous language. ➰

What can go wrong!? :awesome:

janriemer, to ai

If you want to know the current state of and where we're heading, do not read this fantastic article on Quanta Magazine by Max G. Levy

Chatbots Don’t Know What Stuff Isn’t:

https://www.quantamagazine.org/ai-like-chatgpt-are-no-good-at-not-20230512/

janriemer, to rust

Oh wow, did you know that in you can use Option as an iterator such that your types align, when you want to return a chain of iterators from a function, but also have an else case where the iterator is empty!?

I know, this was a mouthful.😳

Let's look at a playground that shows this:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=129eb419d767b71447b408e456773555

This trick is right from the docs on option:

https://doc.rust-lang.org/stable/std/option/#iterating-over-option

What a cunning trick!🤓

Rust, I ❤️ you!

janriemer, to webdev
janriemer, to webdev

It's just incredible what some box-shadow can do to a visual design. ✨

janriemer, to rust

Inko - A language for building concurrent software with confidence

https://inko-lang.org/

Looks quite nice! Almost like a mix of and (with 75% Rust and 25% Go).

janriemer, to rust

In my 4 years of , I've never written any macros, because I didn't felt the need to learn them and I honestly felt a little intimidated by them. 😳

But holy cow have I missed out on this feature! 's (Declarative) Macros can be really useful!

I might put the one I'm currently implementing up on crates.io in the next few days. 🤞 The macro is able to simplify pattern matching in certain scenarios.

Stay tuned! :ferris:

janriemer, to ai

You don't need to transform .then method chains to async/await syntax. 🙄

Most LSPs can do that with 100% correctness and not probabilistically like .

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 random

: will make purely functional programming languages mainstream and much more accessible.

https://www.roc-lang.org/

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 ai

Think about this:

and are the culmination of (unnecessary) abstraction:

We need to solve problem X, the AI has been trained with trillions of data points, where maybe 0.00000001% of it's data describes how to solve X.

So the other 99.99999999% is waste.

And here comes the twist: the AI doesn't even understand the problem we need to solve in the first place!

nrc, to random
@nrc@hachyderm.io avatar

I added a navigation menu to the site (e.g., on https://ncameron.org/about). It appears when you scroll down on desktop and expanded from the hamburger on mobile. What do you think?

janriemer,

@nrc I really like the navigation menu (only tested on desktop)! 👍

Also works with JS disabled - nice!🙂

janriemer, (edited ) to microsoft

So here's the thing with 's new feature:
It's not about Microsoft now suddenly spying on you. They can probably already do that if they want in a much easier way without you knowing.

So please be more realistic!

The far more severe concern in the age of work is when person A shares their screen and person B having Recall enabled, thereby "recalling" the other person's screen without person A knowing.

So it is a privacy concern between people!

janriemer,

@faassen Yes, very true!

> Could be mitigated somewhat if all processing were entirely local.

Yes, according to Microsoft, everything happens on-device.

https://support.microsoft.com/en-gb/windows/recall-and-your-data-d404f672-7647-41e5-886c-a3c59680af15

janriemer, to random

Emergend Abilities!

janriemer, to microsoft

Ctrl + Alt + Copilot 365 + PC

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