Marko (@ultrox) profile picture

Web Developer

Swiss
Joined December 2012
Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)Photo by Marko (@ultrox)
Everyone should know how WALs work. Not sure where to start? Write-ahead logs 101:
Most don't realize that nearly *every* database is built with a WAL. Postgres. MySQL. SQLite. Mongo. Kafka. ClickHouse. WALs are fundamental for fast, reliable, transactional data processing. Everyone should know how they work.
40
307
30
3,733
380,611
Acadia is out today! Bringing the benefits of @elmlang to SQLite and PostgreSQL: - Friendly error messages - Custom types for precise column data - Simple module system for easy reuse Check it out! acadia.engineering/blog/reth…
28
135
20
676
73,019
A professional who is aware of his duties
100
215
23
4,571
529,634
I like to think of these as forming 3 sides of a triangle. This is the same principle viewed from slightly different perspectives 1. Write functions at a single level of abstraction 2. Push conditionals up the decision tree 3. Separate decision code from "doing" code
2
3
1
25
Hello? Do you use #CSS grid? Ever wanted to have separators in between grid areas? Have you resorted to weird background gradient, box-shadow & more hackarounds to solve this? Then check out this gap decorations proposal blogs.windows.com/msedgedev/…
4
17
1
143
8,315
Marko retweeted
Roc has a real website now! roc-lang.org
18
79
11
284
31,159
Marko retweeted
Here’s a more complex variant of this #ViewTransitions demo that also allows the deletion of cards. 🔗 codepen.io/bramus/pen/mdabWz…
Replying to @Una
Here's a simple example: 1. Give each card a unique `view-transition-name` 2. Wrap your DOM mutation with startViewTransition() document.startViewTransition(() => { cardElement.remove(); }); 3. Enjoy 🥂 codepen.io/web-dot-dev/pen/J…
4
29
2
183
27,376
Of course - I try to write code with zero dependencies - code I wrote 25 years ago with zero dependencies still works today. Code I wrote 5 years ago with external dependencies often fails. It’s my contribution to the war on entropy.
I’m calling for an end to holy war against code duplication. We convince young developers and engineers that it’s the worst thing ever, when time teaches all of us that it is, the vast majority of the time, duplication preferable to dependency.
22
330
44
1,003
Why do some interactions just feel great? To find out, I wrote a 3000-word essay on deconstructing the craft of interaction design through metaphors and examples. rauno.me/craft/interaction-d…
98
618
134
3,246
612,120
Replying to @evancz @elmlang
Understand the problem. Explore all possible solutions. Pick one. Simplicity is not just for beginners. It's better to do it _right_ than to do it _right now_. It's not done until the docs are great.
5
28
92
In my latest YouTube video, we compare the quality of semantic markup in the docs sites for @reactjs, @vuejs, @angular, @sveltejs, @solid_js, and @QwikDev. Who will win the semantic showdown, and what can we learn? youtu.be/Dwvi_hjAS50
1
6
33
3,215
Yes, yes, yes! This article is incredible. Local databases are criminally underused in web apps. They have benefits for offline, performance, debugging, etc. and the idea of persisting not just data but all UI state is really interesting. riffle.systems/essays/prelud…
16
95
5
691
My video with @TkDodo is out! We refactor react hooks to use react-query in a more conventional and maintainable way. youtu.be/PtHRZqh3LHI
1
5
2
64
10,645
Becoming great what you do is about collecting experience. Each project, even small ones, is a chance to add new techniques and tools to your toolbox.
7
27
2
169
24,908
2nd Pen for this week's #CodePenChallenge codepen.io/thebabydino/pen/q… Uses an input[type=range] for the slider + an output & datalist tied to this input for the current value display & ruler. No SVG, no images in general save for #CSS gradients. Inspiration dribbble.com/shots/18436713-…
3
14
1
81
21,370
TypeScript misconception: “If I need to rename a union type, the usages won’t get updated.” Reality: All usages of the union type can be safely updated. Just hit F2 to rename any union type's value. TypeScript knows where the union type is used, and updates them. #typescript
4
14
2
156
28,766
The Tomorrow Corporation has built its own game programming stack with live reload, time travel debugging, and even the ability to serialise the entire game state and replay it between testers! youtube.com/watch?v=72y2EC5f…
1
6
2
60
16,241