"Smooth GNOME experience in a wie variety of devices" youtube.com/watch?v=qAjPRr5SGo

I quite like the idea of the new operator, although I think it looks ugly.

I published my first rust library: crates.io/crates/adjacent-pair

But #bash can also do it in 46ms

#/usr/bin/env bash
for string in 1{,+,-}2{,+,-}3{,+,-}4{,+,-}5{,+,-}6{,+,-}7{,+,-}8{,+,-}9; do
result=\$((\$string))
if [[ \$result == 100 ]]; then
echo \$string
fi
done

Then I came up with a solution in that took me ~5 minutes to write but with an execution time of 20s.

Expressions that evaluate to 100

123+45-67+8-9
123+4-5+67-89
123-45-67+89
123-4-5-6-7+8-9
12+3+4+5-6-7+89
12+3-4+5+67+8+9
12-3-4+5-6+7+89
1+23-4+56+7+8+9
1+23-4+5+6+78-9
1+2+34-5+67-8+9
1+2+3-4+5+6+78+9

At first I came up with a solution in JavaScript.
time spent: 22min
execution time: ~170ms
loc: 21

At todays C++ meetup I was told a programming quiz:

Given the digits 1-9 (in that order), you can combine them with either '+', '-' or nothing.
Now find all of these mathematical terms, that evaluate to 100.

You can use any programming language and library you like and you have 1 hour to complete the task.

Interesting. I just found out that ldd is a shell script.

I just found out that a.out is not actually a.out but ELF. I feel tricked.

FSMaxB boosted

Nice, #NewPipe has support for media.ccc.de now!

In the meantime: Why not help me with finding better wordlists (less obscene and garbage words) for fsmaxb.github.io/correcthorseb

What I was wondering recently: If people are so bad at thinking up good passwords, why not just generate good ones for them and display them as possible candidate? (But definitely not send them via email).

@bps ダブルコンパイール

At the you can reach me on my DECT phone via 4251

I'm on my way to Leipzig for the !

FSMaxB boosted

Reacting to MARBLE MACHINE COVERS - This made me so happy!