Matija Marohnić

@silvenon.com

React frontend developer and various tooling nerd.

Due to my accumulated exposure to people who I believe to have narcissistic personality disorder I’ve been informing myself. Trump is acting the way a powerful and deeply narcissistic person would act. This illness is very destructive because it doesn’t really hurt them, it hurts everyone else.

There’s a React-related AI black hole whenever I’d like to run client side code ASAP, so it will recommend useEffect, which is the absolute LATEST time to run it. I assume this is because: - AI is trained mostly on SPAs - it doesn’t consider whether the code needs DOM to be ready or not

News satire shows can be fatally different: - The Daily Show: comedy is the goal, very little informing going on, which makes it feel like it's very good for business that Trump sucks - Last Week Tonight: informing is the goal, comedy is the tool, which results in a completely different atmosphere

I have a real problem with insisting that websites are just files and folders. They are AT LEAST also the server, content hosting, DNS hosting, domain management, SSL certificates and a bit more… Beginners can get quite overwhelmed when that reality starts setting!

GitHub is not an app I once knew, and it’s only going to get worse. I’m very thankful that alternatives exist, it’s only a matter of time. This will unfortunately exclude GitHub CLI too, a high quality piece of sotfware.

Today I tested a Vite plugin. I used Vite’s JS API to build using the plugin, disabled writing to the disk so that I could just analyze the returned results. But build WHAT? Using existing modules would be brittle, so I defined virtual ones that resolved to simple inline content. Mocks.

Artem Zakharchenko@kettanaito.com · 3w ago

A lot of you still think mocking is bad and mustn't be done. That thinking stems from the misconception of what mocking actually is. Please, read this www.epicweb.dev/what-is-a-t...

I was sorely missing a way to mock non-function properties. Turns out that @vitest.dev supports this! vi.spyOn supports a third "accessor" property: vi.spyOn(obj, 'foo', 'get').mockReturnValue('bar') console.log(obj.foo) // "bar"

"The secret of generative AI is (…) they don't actually work to replace the jobs that need to be done. The use case for AI is work that should not be done." — David Gerard

There was a drunk guy on a bench cheering for our soccer team, and hitting a tambourine. I can't square the obnoxious loud atonal cheering with bringing a tambourine from home. It's a paradox.

The worst thing about wanting to show how useful a dev tool is that I can't show it on a real product. I have to reinvent the problem on a demo project and pretend that it happened there, and the idea of that is very demotivating to me because I feel like much of the impact might be lost.

I’ve been taking the wrong dose of antidepressants because my doctor is intermittently perscribing me pills of different size. So that’s one more medication that I’ll have to stay vigilant about. I wonder if drug dealers will become more reliable.

There’s a fear that sleeping with a friend will ruin the friendship. I did lose a good friend this way, it was very sad and I truly regret it. But for other friendships it didn’t affect at all, I’d even say it made some of them stronger. So would that one friendship be ruined anyway?

I’m switching my Node.js version management from “tj/n” to pnpm v11+: pnpm runtime set node <version> --global pnpm installs Node.js without Corepack or even npm and npx! I’m probably going to do this for Bun as well. What are the benefits of this? 1/2

I thought Firefox would be my all-in-one, but it's pretty heavy on the CPU. Back to Safari for browsing — feels lightweight and supports fingerprint for Apple stuff. Firefox has interesting devtools, though! Very performant and refreshing after Chrome's heavy orientation around Core Web Vitals.

As a very emotional person I always missed talking about feelings with boys/men. Straight men by default cannot talk about this stuff, mostly sports, video games, booze and IT. I remember opening up to a colleague, but it was really off-putting to him and he said “this was too much”.