Feed


Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

one of the most powerful forces is the need to be self consistent

make one bad (or good!) decision and your brain _bends_ to align with it

laugh at an over-the-line joke and find yourself a little later defending the indefensible

we radicalise ourselves


Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

as a kid i struggled to start That Hideous Strength so many times - it was so different from the other two β€˜Space Trilogy’ books

… but after i finally finished it, it became one of my favourites - and has stayed in that list πŸ’―

so many truths + wisdoms

particularly incisive today


Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

self-taught developers have advantages of our own:

- you didn't get into coding _by accident_ - embrace your drive
- use other skills in your coding - e.g. your problem solving or creativity or verbal talent

plus:

- play with code!
- ask 'why' a lot
- try to help others out

roe.dev/ama

If I'm not mistaken, you are a self-taught developer, right?  What is your advice for any new self-taught developer?

Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

fascinating to see what I _think_ are outrage bots infiltrating the js ecosystem

... they post totally (but plausibly) misguided responses to js posts as lures

but, when you check out their profiles, they are almost 100% posting something along the lines of 't**** is evil' or 't**** is god'


Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

so …

a friend of mine (v talented engineer w great people + edu skills and significant tech experience) is looking for a new role

πŸ‘‰ any leads?

they are looking for
- broad responsibility inc engineering/product vision + teaching
- may be(?) best suited to small startup with a great early product


Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

absolutely. πŸ‘Œ

it's not the _import_ that gets overridden, though.

rather, Nuxt merges your `nuxt.options` from all your layers. so if one of your layers sets one property, but the final project that uses the layer sets the property to something different, it will override it.

I import and use values (pass them to nuxtseo config) from `./site` in my layer's nuxt.config.ts.   In my main app, I want to include a './site.ts' and I want this to override the one used in my layer, possible?

Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

I started using a standing desk because I don't have enough room right now for a chair. it's quite fun. it feels more active somehow.

in honesty I don't experience foot pain. I move around a bit + sometimes I stand on one leg. (tmi? sorry)

Looks like you are using standing desks. Can I ask why you prefer them? It seems a bit strange to me. How do you control your foot pain? I mean your sole foot.

Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

can't wait to tell you about some amazing work from @damianpumar.hf.co ❀️

... hint, it's not just going to be for @nuxt.com, and not just for @qwik.dev either πŸ‘€


Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

πŸ’‘ idea:

ai agent to automatically archive emails after a period of time and send an apologetic reply:

"I'm sorry, I'm an llm responsible for protecting Daniel's mental health and I've archived this email for his own good. (he intended to reply.) if it's important, do remind him!"


Avatar for Daniel Roe
daniel roe πŸ‡ΊπŸ‡¦

you want to handle errors closest to where they occur*

*but have a maximal view of where that could be

I'd advise in general that you:

1️⃣ handle them in the server api (db errors, etc.)
2️⃣ and also in the component (fetch errors, loading state for better DX, etc.)

roe.dev/ama

When building server apis with Nuxt, what's the best practice for handling errors?

Try/catch in server route? Throw error and handle it with the error variable in the useFetch in the frontend? Something else?
Β  ​