Matias Baldanza ✌️😁 βš›οΈ's Avatar

Matias Baldanza ✌️😁 βš›οΈ

@matiasbaldanza.bsky.social

Ridiculously enthusiastic nerd πŸ‡¦πŸ‡· πŸ‡ͺπŸ‡Έ My tech midlife crisis is becoming a dev again. http://twitch.tv/matiasbaldanza - http://youtube.com/@MatiasBaldanza_dev

196 Followers  |  249 Following  |  33 Posts  |  Joined: 21.08.2023  |  2.0753

Latest posts by matiasbaldanza.bsky.social on Bluesky

🀯

29.11.2024 10:01 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Can we have Community Notes here? At least, for the lolz.

28.11.2024 03:29 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Oh, and updating your project from Tailwind v3 to v4, the update command will migrate your JSON Tailwind config from tailwing.config.ts to your main CSS file!

npx @tailwindcss/upgrade@next

28.11.2024 00:25 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
a man with a name tag that says ronald ALT: a man with a name tag that says ronald

I didn't know that I had vite@4.0.4 installed globally, so running 'vite dev' failed in my test project.

If you have an outdated vite, update it, or run using 'npm run dev' instead of 'vite dev'

I know it's pretty basic, but perhaps this saves somebody else the time I spent monkeying around 😁

28.11.2024 00:23 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Testing TailwindCSS 4.0.
Pretty cool, so far!

Some caveats:
- It requires Vite 5.2.0 (will fail with prior versions)
- If using vite@latest (v6) will need to force deps using --legacy-peer-deps

28.11.2024 00:21 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

It was a bug with Vite 5, that required it to add rollup in optionalDependencies

20.11.2024 22:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Next: it should identify the GIF with its meme name, if any.

20.11.2024 04:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Lo mejor que puede pasar es que monetice lo antes posible. Vivimos IRL.

20.11.2024 00:23 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Locally, I'm on 20 and it builds.
Vercel... who knows?

I'll figure it out tomorrow.

20.11.2024 00:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

It never ends... πŸ€¦β€β™‚οΈ

Build runs locally, but not on Vercel.

19.11.2024 21:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

It was react-markdown!

npm ls <name of the lib> helps see who invited who to this party.

Did I need react-markdown? I wanted to parse markdown into HTML, but it was completely unnecessary.

Moral of the story: Do not add nice-to-haves until the need-to-haves work!

19.11.2024 21:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Allow me to insist that the grass is greener in Next.js, even if weird things break there, from time to time. 😁

19.11.2024 21:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Dreams of owning a small cafe or becoming a farmer intensify...

Dreams of owning a small cafe or becoming a farmer intensify...

Here we go again!

The build fails because it cannot resolve an import of "#minpath" from .../node_modules/vfile/...

Crap. Debugging these things takes precious time. Especially because vfile is not a direct import. Now I have to track down who did this (probably, Vite, but who knows? 😁)

19.11.2024 21:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Vite Install and configure Vite.

Solved! The solution was not in Vite docs, but in shadcn/ui docs ui.shadcn.com/docs/install...

Path aliases need to be added 3 times:
- tsconfig.json
- vite.config.ts (manually or using vite-tsconfig-paths)
- tsconfig.app.json <-- MISSED THIS

Vite was importing ok but TS did not see the imports.

19.11.2024 19:08 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Y filtrado asΓ­ sale un griego espectacular.

18.11.2024 23:56 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

SΓ­!

18.11.2024 23:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Hahaha!

The issue is with a few TS configs that somehow don't work as documented.

17.11.2024 11:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
a man with a mustache wearing a suit and tie with his eyes closed ALT: a man with a mustache wearing a suit and tie with his eyes closed

After using Next.js for a very long time, going back to Vite and wasting time with problematic Typescript config stuff that should just work but doesn’t is like… I’m too old for this sh*t.

17.11.2024 04:12 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

I wouldn’t mind seeing some Supernatural art. At all.

17.11.2024 04:08 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

🌠 I’m lucky enough to be a full-time educator. I work exclusively on my blog and courses.

A couple of people have recently asked how this happened, how I made it my job. I thought I’d share some info about my experience for anyone else hoping to become a full-time course creator / dev educator!

16.11.2024 19:59 β€” πŸ‘ 161    πŸ” 21    πŸ’¬ 8    πŸ“Œ 4

πŸ‘† THIS TWEET AGED BADLY. 😁

16.11.2024 20:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Language!!!

(It hasn't reached critical mass, I guess.)

16.11.2024 16:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Been burning the midnight oil getting everything ready for this year.

Excited to introduce our brand new platform, which we’ll be using from now on for this event!

Check it out πŸŽ„
adventofts.com

08.11.2024 18:50 β€” πŸ‘ 178    πŸ” 24    πŸ’¬ 18    πŸ“Œ 4

Literally, the disintegration of Jake Paul.

Let's call it the first teletransportation without reintegration.

16.11.2024 00:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Have you ever been rate-limited on bsky?

16.11.2024 00:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Archived your Twitter data and don't know what to do with it? Here's a few simple steps to read it using DuckDB (duh!)

13.11.2024 21:29 β€” πŸ‘ 171    πŸ” 43    πŸ’¬ 21    πŸ“Œ 7
Post image

β€”How much RAM do you need?
β€”Yes.

09.11.2024 00:19 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
a man wearing a plaid shirt says i 've been diagnosed with excessive oldness ALT: a man wearing a plaid shirt says i 've been diagnosed with excessive oldness

Is there a way to switch accounts here?

05.11.2024 11:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Happy birthday! πŸŽ‚

05.11.2024 11:11 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Congrats! Vault number? 😁

05.11.2024 11:11 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@matiasbaldanza is following 20 prominent accounts