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.
Matija Marohnić
@silvenon.com
React frontend developer and various tooling nerd.
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
$ git history fixup <commit> is short for: $ git commit --fixup <commit> $ git rebase <commit>^ --autostash and it’s also instant AF
Nice to see the `git history fixup` command added to Git 2.55. Handy for quickly amending previous commits in one go: github.blog/open-source/...
Well, this vulnerability was caused by humanity, so let’s not distance ourselves too much from what’s happening here.
A small act of kindness toward someone vulnerable just went viral, proof that you do not need grand gestures to make a real difference. Sharing food, helping a hurt animal, aiding a stranger, this is
Claude Code’s Chrome integration is fun AF. I have an interesting day tomorrow filled with tasks that might make a real impact.
@npmx.dev is not just a browser for packages, it's mostly a reminder that we can take internet back in our hands. You want it, you build it.
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!
Wow, wireless earburds allow some people to be weirdos with no regard for their surroundings.
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.
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"
Is the bubble of constantly talking about the AI bubble bursting about to burst?
"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
Hey, people who overuse AI to write — we can tell. I'm sorry you had to find out this way. Unchecked AI writing is only useful to AI.
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.
I want this trend GONE. I’d assume it would have become annoying by now because it’s been around for a long time, but it’s almost as if it has GAINED strength… I’m looking at you, IntersectionObserver ಠ_ಠ
web developers, I *implore* you... STOP FADING SHIT IN AS I SCROLL It has got to be the most annoying "modern" trend in web dev I've ever seen, good lord.
1.) Videos about ONGOING events where reporters say that they are ongoing, you knew that from the title, but to justify the video they bring on people to ask them “what can you tell us about this” and the guests always say basically “nothing yet, duh”. 🧵 youtu.be/56EyKNjhUDY?...
Everybody wants to waste your time
YouTube video by Drew Gooden
youtu.be
Upon opening GitHub this modal popped open. Quite obtrusive. The contrast of the close button of immaculate. It's almost as if they don't want me to use it.
I used to consider my plugin npmx.dev/package/rema... to be such a silly hack that I considered advising people against using it. However, it turned out to be a much needed bridge, counting over 3M weekly downloads, and I'm very thankful for all the contributions ❤️
remark-smartypants - npmx
remark plugin to implement SmartyPants
npmx.dev
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.
Never in a million years. Try again. I recommend that you finish your code review flow. You know, something that people actually need.
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
“Low poly” is when you’re also going out with other people, but being super casual about it. “We’re trying out low poly for now”
What’s the BEST tool for low poly? Well… there isn’t one😅 But here’s a quick cheat sheet to the most popular and useful options! HOWEVER, for game dev and animations, I 100% recommend Blender Grab some of my Free resources for learning Blender here: crashsune.com/blender-freebies ✨
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.
Ok this is getting annoying. Users generally don't need to know that something isn't available unless they try to reach for it.
Why does anyone still use OpenAI shit after Adam Raine? That was an instant switch for me.
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”.