Show newer

Commit 150b7c8

...and we keep improving!
Now down to ~700ms. That's another 12% faster!

Hm...might we even be able to...

Show thread

Commit 9d1d7ae

Hell yeah! More than twice as fast! And we are now talking milliseconds, not seconds anymore.
But this is Rust - can we get even faster?
Wait until tomorrow...😏

nighty night 👋

Show thread

Commit e96349f

Yeah...there were times, were I _really_ struggled...

Show thread

The holidays are around the corner and so I have a little crat...eh..._gift_ for you my lil' crabbies.🤭 🦀

So here's the plan:
Until December 23rd, I'll post some performance progress I've made over the last months in this thread until we can finally unwrap() the gift together, Ok()?

Mhh...I can already smell the oxidized metal...🤤

:rust:

Hm...this looks useful. I think I'm going to use this in my next p̷̗̟̯̣͔͊̃̂͋̈́̓̀̊͌̍r̵͎̾̍̍̅̆o̸̧̮̞̜̳̩̜̺̖̔̔̅̿͆̍̂̓͊̿j̷̬̲̈́̋͆̅̒̔̌̎̆͠e̴̩̮̻̳̭͇̮̖̙̟͂̓̓͆̄͘c̴̭̬̱͊̉̇́̇̿̀̔͜͝͝t̵̬̟̘͙̀̊͂̄͜: :rust_thinking:

rust-sinner - Easy c̵̰͠r̵̛̠ö̴̪s̶̩̒s̵̭̀-t̶̲͝h̶̯̚r̵̺͐e̷̖̽ḁ̴̍d̶̖̔ ȓ̵͙ė̶͎ḟ̴͙e̸̖͛r̶̖͗ë̶̱́ṉ̵̒ĉ̷̥e̷͚̍ s̷̹͌h̷̲̉a̵̭͋r̷̫̊ḭ̵̊n̷̬͂g̵̦̃ f̶̻̊ơ̵̜ṟ̸̈́ R̵̞̋ù̵̺s̷̖̅ţ̸͗!̸̼͋

github.com/Eugeny/rust-sinner

Die Ernährung, die die Welt retten soll - :
spektrum.de/news/klimawandel-d

"[...]Die maximale Menge an rotem Fleisch, die ein 30-Jähriger, der 2500 Kalorien pro Tag zu sich nimmt, in einer Woche essen darf, beträgt 100 Gramm, also eine Portion rotes Fleisch. Das ist weniger als ein Viertel von dem, was ein durchschnittlicher Amerikaner zu sich nimmt.[...]Diese Ernährungsweise würde nach Schätzungen der Kommission jedes Jahr das Leben von etwa elf Millionen Menschen retten."

This looks awesome!

if-let-chains:
rust-lang.github.io/rfcs/2497-

It allows the following:
if let Some(Foo::Bar(_)) = foo.bar(baz)
&& let Some(qux) = foo.drix() && let Some(bla) = qux.do() {
i_am_hungry(qux, bla);
}

"The readability of programs is often about the degree to which the code corresponds to the mental model the reader has of said program. Therefore, we should aim to bring the language closer to the mental model of the reader.":
rust-lang.github.io/rfcs/2497-

I ❤️ this!

that in you can do `--simplify-by-decoration` when using `git log` with `--graph`, so:

git log --graph --oneline --simplify-by-decoration

This will show only those commits as a graph that have a decoration on them (e.g. a branch, tag etc.), so you get a really nice condensed view of your repo without all the "intermediate" commits.

Really handy, if you want to see at a glance which branch is ahead of others, for example.

TIL in Grid 🤓:

in grid-template-*: 1fr 1fr

is equivalent to

grid-template-*: minmax(auto, 1fr) minmax(auto, 1fr)

Just to add to that: you can avoid such horrible api by making the fn accepting a whole struct with the values. You can then additionally impl `Default` so that you don't have to specify all values all the time.

So there is no real benefit for Rust having overloadable functions.

Show thread

Do you think that this was a good idea?

is an open-source alternative to . You are in charge of your data and customizations. Built with and .

github.com/AppFlowy-IO/appflow

Show older
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!