Andreas Roth
banner
xent.dev
Andreas Roth
@xent.dev
Web, Cloud & Architecture
Ah I see.
I wonder if prefixes could work here.
When you have lib-p-5, consumers could add second tailwind compile step, that handles these classes with the prefix to generate the library css?
January 13, 2025 at 5:34 PM
What do you mean with „transpiling away“ the classes?

Non tailwind users would still include your Stylesheet with the tailwind classes that were used in your lib?
January 13, 2025 at 5:17 PM
Consumers can just add the library’s dist folder to their tailwind config and it will generate the classes in its own css file. Of course, this could break styles when size classes are different.
January 13, 2025 at 9:28 AM
Is upgrading to websockets an option?
TCP should already guarantee order of packets.
January 13, 2025 at 7:53 AM
I’m sure I read more than 10 posts from you explaining path traversal attacks but I can’t remember a single one that shows the solution to preventing them 😅
January 9, 2025 at 4:01 PM
No, sadly you are correct.
The docs on static export explicitly mention that dynamic params without genereagteStaticParams is not supported.

nextjs.org/docs/app/bui...
Deploying: Static Exports | Next.js
Next.js enables starting as a static site or Single-Page Application (SPA), then later optionally upgrading to use features that require a server.
nextjs.org
January 9, 2025 at 6:24 AM
Is the exploration part coming? :D
January 9, 2025 at 6:12 AM
Hm, and of course I can’t find the twitter thread anymore…
December 16, 2024 at 10:25 AM
Inngest is such a cool concept. Directly integrating into your app, where all dependencies are already set up is brilliant.
December 11, 2024 at 6:23 AM
But curly braces are so hard to type on German MacOS keyboards 🤪
December 6, 2024 at 7:38 AM
Same :D
December 5, 2024 at 5:19 PM
React is fast because of the virtual DOM?
December 2, 2024 at 5:47 PM
Are you already at the place where you bore yourself because you realise that you are repeating the same jokes and stories?
Happened to me a couple of years ago when I gave a training for the 4th time…
December 2, 2024 at 5:46 PM
$scope.apply()
November 29, 2024 at 2:52 PM
Wow, this content looks really cool!

I almost skipped this because the only thing above the fold is the table of contents and the enroll button. A simple or continue free lessons with a down arrow could fix this risk.
November 27, 2024 at 4:50 PM
What really surprised me was that there are some starting positions,that need EIGHT clicks to get to the end position...
Sadly, this kind of killed the game for me, because it feels like it's really unlikely that I will memorize these harder states, so I will always have to fall back to guessing...
November 26, 2024 at 9:58 PM
github.com/andrewgreenh...
Whole source code can be found here.
github.com
November 26, 2024 at 9:56 PM
So after a long day of work in front of my laptop, I decided to not spent time with my wife and open up my macbook again to build a solver...
And now, 2 hours later, it's done:
andrewgreenh.github.io/moriarty-con...
Each grid displays a number (the steps to finish) on the next cell to click.
Murdle Moriarty Console Solver
andrewgreenh.github.io
November 26, 2024 at 9:56 PM
It became apparent quickly, that there are "easy" starting positions and "hard" ones. For the harder ones, I always ended up randomly clicking around until I found a familiar place, where I knew how to finish.

And then I wondered what the optimal way was to solve each starting position
November 26, 2024 at 9:56 PM
In this minigame, you have a 3by3 grid of cells. Each cell can be on, or off. By clicking on a cell, you toggle the cell and the direct neighbours (NOT DIAGONALLY).

Your task is turn the whole grid "on" as quickly as possible on as many random start positions as possible.
November 26, 2024 at 9:56 PM