Wrote jesthandbook.com + ×3 books with Packt. Thoughts at codewithhugo.com
LLMs/agents give you that in the cases where they don't one-shot your request.
Even just firing up the dev server and testing the output still gets you closer to flow even in the one shot case.
LLMs/agents give you that in the cases where they don't one-shot your request.
Even just firing up the dev server and testing the output still gets you closer to flow even in the one shot case.
Can we make a plan to solve it but in a way that i can take over from Jules if you cant solve it? (So probably include a reproduction, make sure it fails eg. automation tests, submit that code, then try to fix it)
Can we make a plan to solve it but in a way that i can take over from Jules if you cant solve it? (So probably include a reproduction, make sure it fails eg. automation tests, submit that code, then try to fix it)
Async development agent, you grant it access to GitHub repositories, it clones them in a VM and runs tasks (including scripts etc).
Not bad for small tasks, stubbing/poc attempts or while on the go (slow to type code on mobile).
Async development agent, you grant it access to GitHub repositories, it clones them in a VM and runs tasks (including scripts etc).
Not bad for small tasks, stubbing/poc attempts or while on the go (slow to type code on mobile).
Subscribe if you think this content might interest you.
buttondown.com/hugo/
Subscribe if you think this content might interest you.
buttondown.com/hugo/
izs.me
(RT please)
izs.me
(RT please)
codewithhugo.com/typescript-t...
codewithhugo.com/typescript-t...
For the Chrome Webstore you need to capture 1280x800 and I'm just not that accurate with drag and drop
screenshot.rocks seems to do the basics of what I need (browser frame config, padding/background)
For the Chrome Webstore you need to capture 1280x800 and I'm just not that accurate with drag and drop
screenshot.rocks seems to do the basics of what I need (browser frame config, padding/background)
ostwilkens.se/blog/setting...
To be honest for alpinedevtools.com/updates
I went even further: use .md files and generate the HTML using the VSCode Markdown All In One plugin.
ostwilkens.se/blog/setting...
To be honest for alpinedevtools.com/updates
I went even further: use .md files and generate the HTML using the VSCode Markdown All In One plugin.
I keep hitting this "I want to select elements where attr starts with *prefix*"
Eg. Detect HTMX I need hx-* or data-hx-*
Re why it's `data-s-attr="attrName=contextValue"`
1. The querySelectorAll is simpler (select for data-s-attr), I'm not even sure how I would use querySelect for "attrs starting with :"
I keep hitting this "I want to select elements where attr starts with *prefix*"
Eg. Detect HTMX I need hx-* or data-hx-*
But working on the Alpine Devtools in the evenings means I finally felt the "why no dark mode" pain
This vindicates the time I spent wiring Tailwind (v4) properly the other day (devtools v1 is on Tailwind 1)
But working on the Alpine Devtools in the evenings means I finally felt the "why no dark mode" pain
This vindicates the time I spent wiring Tailwind (v4) properly the other day (devtools v1 is on Tailwind 1)
```
data.map((d) => {
prevState = oldData.reduce()
})
```
When data and oldData are ~10k entries, you're doing a 100 million iterations.
Move the reduce out of the loop (.map here) and you're doing 20k...
```
data.map((d) => {
prevState = oldData.reduce()
})
```
When data and oldData are ~10k entries, you're doing a 100 million iterations.
Move the reduce out of the loop (.map here) and you're doing 20k...
- use `@tailwindcss/browser` via CDN (but only on local) in your app
- run `copy(document.querySelector('style').innerText)` (depending on whether you've got other styles you might need to mess with the selector)
- paste into your .css file
- use `@tailwindcss/browser` via CDN (but only on local) in your app
- run `copy(document.querySelector('style').innerText)` (depending on whether you've got other styles you might need to mess with the selector)
- paste into your .css file
I was part of the original crew that worked on Alpine devtools.
Chrome has obsoleted the extension (granted, it has had no updates since Sept 24) with Manifest v3
I was part of the original crew that worked on Alpine devtools.
Chrome has obsoleted the extension (granted, it has had no updates since Sept 24) with Manifest v3
I started leaning into the IDE to run things, shell is just a minefield with backslash in paths, slow and bad auto complete
Keyboard navigation muscle memory for VSCode letting me down
I started leaning into the IDE to run things, shell is just a minefield with backslash in paths, slow and bad auto complete
Keyboard navigation muscle memory for VSCode letting me down
I guess will sip battery?
I guess will sip battery?
A lot has happened since I was regularly sending this out. I'm intending for it to still a place to learn about JavaScript/TypeScript and Node.js in the real world.
A lot has happened since I was regularly sending this out. I'm intending for it to still a place to learn about JavaScript/TypeScript and Node.js in the real world.
Found it a bit painful to do templating (`.innerHTML` or `.appendChild` friendly options)
Open sourced 2 utils that I couldn't find a lightweight existing package for (`lit-html` seems heavy handed in this case)
Found it a bit painful to do templating (`.innerHTML` or `.appendChild` friendly options)
Open sourced 2 utils that I couldn't find a lightweight existing package for (`lit-html` seems heavy handed in this case)
A `divide(numA, numB)` function implemented partial application `if (numB == null) return n => divide(numA, n)`
A `divide(numA, numB)` function implemented partial application `if (numB == null) return n => divide(numA, n)`