28km with an altitude of 333 meters 😍
28km with an altitude of 333 meters 😍
Open Source Software and publications by Christian Kruse
This page contains random thoughts and impressions by me.
28km with an altitude of 333 meters 😍
Today was may first race ever. 28km in 02:09:08, a pace of 04:34 per kilometer. I had a lot of fun 😍
I hereby declare a new disease: recommendation fatigue.
Whoever thought it would be a good idea to use email as a second factor should be punished. And whoever thought it would be a good idea to use email as a second factor and let the code be only valid for five minutes should be punished even more.
Halfway to the second exercise for the chest and I am already feeling sore 😂
Telefonie-Ausfall am morgen erzeugt Kummer und Sorgen
Whether you’re coming to Haskell from another language, or if you’re interested in writing programs that, y’know, actually do things, participating in the Haskell community can feel like you’re a second class citizen. […] If you’ve already learned another language, you can learn Haskell. And even if you haven’t, learning Haskell is no harder than learning any other programming language.
My experience when learning Haskell was that it is a really hard language to learn. A lot of very foreign concepts with a lot of foreign words.
But in hindsight it wasn't that hard; the documentation I tried to learn with was just not very good.
I registered for the Steinhart 500 (28km) a few days ago. I learned that I start with the seniors 😂
To be honest: I'm a bit nervous. My start number is 2042.
auch ein grund, warum sich sehr wenige frauen für DIY & heimautomatisierung interessieren, ist wahrscheinlich der altherrenhumor der männer die sich damit beschäftigen und drüber schreiben.
TIL: there is a SASS function mix()
, which mixes two colors.
Pretty accurate but also a bitter pill to swallow
Back to work again… welcome back, beloved treadmill
Get your shit together day 2019: ✅ done
Make mondays great again!
Today I learned: you can specify a binding position in an Ecto query via parameter:
def apply_some_filter(query, binding_position, field_name) do
from([{rel, binding_position}] in query, where: field(rel, ^field_name) == "foo")
end
This works thanks to pattern matching 😍
I'm glad I used Ansible for deploying my servers a few years ago. This allowed me to move my current setup to a new Digital Ocean droplet with minimal effort. Just a few changes due to new system versions. 🎉
Stop Scrolling Facebook! A pretty nice talk by Tantek Çelik about taking back the web.
It's fascinating to see how Rammstein still manages to create controversy and attention, even though they are in the business that long. First there „Deutschland“ video, where a lot of mainstream media weren't able to see the criticism on German history and called fascism. And now „Radio,“ a homage to the German band „Kraftwerk,“ a nostalgic view back on DDR history and, again, criticism on German history. And again all media is reporting.
Well done, Rammstein! 👍
regexpu is a nice little tool to transpile ES6 unicode regular expressions to ES5 👍
Public service announcement: Math.max(...[])
returns -Infinity
- took me about an hour of debugging to locate this problem.
Currently I am working on a TypeScript project. During this project I wanted to give the TypeScript compiler the hint that I expect a class object as a parameter. I couldn't find something in the documentation. But since you can use expressions as type declaration I tried to use typeof
:
class Bar {}
function foo(val: typeof Bar) {}
foo(Bar)
Surprisingly this works. Now after I knew what I had to look for I could find a hint in the documentation as well:
Next, we then use the class directly. Here we create a new variable called greeterMaker. This variable will hold the class itself, or said another way its constructor function. Here we use typeof Greeter, that is “give me the type of the Greeter class itself” rather than the instance type.
Maybe this saves you a few headaches.
Over the weekend my good friend Jeena was visiting me. We had a lot of fun and tons of interesting talks. It was a pleasure, Jeena!
From What I have learned working 1 year full-time using Elixir:
I do not get why don’t we all just write Erlang programs. You can write them, walk away for 20 years and they will be still up and running. Pure joy.
I can relate 😁