(code is in alt text)
(code is in alt text)
Heres the concept:
- provide a 'retryable' function taking a function (foo)
- it provides a 'retry' function that interrupts the current foo's execution and re-executes foo
🧵
#Javascript #TS
Heres the concept:
- provide a 'retryable' function taking a function (foo)
- it provides a 'retry' function that interrupts the current foo's execution and re-executes foo
🧵
#Javascript #TS
at one point someone created a script on the spot voting for a contestant endlessly 😆
at one point someone created a script on the spot voting for a contestant endlessly 😆
We had nerdy conversations, played some beerpong...
We had nerdy conversations, played some beerpong...
We had great speakers like @rich-harris.dev (fanboy moment), @mirjam-diala.bsky.social talking about testing and training dogs (I mean come on! 🐶❤️) and @nico.dev showing us how he recreated KITT 🤯🚗
#web #dev #conference #ai
We had great speakers like @rich-harris.dev (fanboy moment), @mirjam-diala.bsky.social talking about testing and training dogs (I mean come on! 🐶❤️) and @nico.dev showing us how he recreated KITT 🤯🚗
#web #dev #conference #ai
-C (for colorized output)
--gitignore (apply .gitignore to the search (!))
--dirsfirst (to sort dirs on top)
#terminal #dev
Since I wanted to use bun I just had to make sure the runtime knows bun. Thats where docker comes in.
Koyeb comes with a dockerfile builder.
Since I wanted to use bun I just had to make sure the runtime knows bun. Thats where docker comes in.
Koyeb comes with a dockerfile builder.
A websocket can subscribe to a "channel" e.g. "match-${matchId}" and then from anywhere else in the code our server can publish to those channels 😍🧦
A websocket can subscribe to a "channel" e.g. "match-${matchId}" and then from anywhere else in the code our server can publish to those channels 😍🧦
1. offer a preview joker (e.g. look at your result once per match)
2. be able to execute the player's code and extract console output (e.g. for a console joker)
1. offer a preview joker (e.g. look at your result once per match)
2. be able to execute the player's code and extract console output (e.g. for a console joker)
The backend then relays those updates to the host client which will embed each player's code into an iframe.
This is actually important to isolate the players' codes from each other
The backend then relays those updates to the host client which will embed each player's code into an iframe.
This is actually important to isolate the players' codes from each other
I made a blind-coding-challenge app for the evening entertainment at an event.
Both technologies are just chefs kiss 😚👌
🧵
#bun #hosting #javascript #buildinpublic #dev
(host client) (player client)
I made a blind-coding-challenge app for the evening entertainment at an event.
Both technologies are just chefs kiss 😚👌
🧵
#bun #hosting #javascript #buildinpublic #dev
(host client) (player client)
Well cheating is - of course - the solution here 😌👏🏻👏🏻
And we also won't just stop executing our animation function after one second 💡
Well cheating is - of course - the solution here 😌👏🏻👏🏻
And we also won't just stop executing our animation function after one second 💡
But the stone won't stop moving while we animate the camera towards its new target position 😵💫 So even when our camera will ultimately reach its desired position after 1 second the stone will be long gone.
But the stone won't stop moving while we animate the camera towards its new target position 😵💫 So even when our camera will ultimately reach its desired position after 1 second the stone will be long gone.