Added @plausible.io #analytics πͺπͺ to recordranks.com. Always exciting to use #European #tech for my projects! Plus, Plausible is better for #privacy π
#coding #webdev
Posts by Deni Mintsaev (mintydev)
Made a video about my year-long experience of rewriting the entire backend of RecordRanks and the lessons I learned from it:
www.youtube.com/watch?v=xsu6...
#coding #programming #webdev #NextJS #React
But still, imagine hordes of agents just prodding around everywhere to see what they can penetrate. This stuff is getting quite alarming and should be regulated.
(4/4) ... createServerFn(), which is much better for type safety. I've spent far too much time researching the *correct* way to fetch and mutate data in Next JS and then relaying that to my team to avoid new security issues π« But in TanStack Start the best patterns are clearly laid out in the docs.
(3/4) And I'm actually convinced now that "use server" and "use client" were horrible conventions, evidenced by the fact that they had to patch this stuff up with "server-only" and React Taint. If you're going to do magic RPCs, just make it work like a special function, like TanStack's ...
(2/4) In practice, it feels like a light wrapper around React (despite all the bloat), and you end up having to add a whole bunch of other libraries just to cover your bases (next-safe-action, nuqs, server-only, TanStack Query/SWR, etc.).
I have gotten quite fed up with #NextJS and I say this as a long-time zealot. There are so many ways to do very basic things like data fetching, data preloading, mutations, etc., and no well-established patterns for all of that. (1/4)
#coding #webdev #Vercel #React #TanStack
Added Google SSO to RecordRanks, and I realized I'm way behind on some compliance stuff, lol. Gonna finally add a #privacy policy and a cookie banner. Also, it's somewhat amusing just how restrictive #Google is with their logo π¬
#coding #webdev #programming
I have taken the plunge and will spend the next few months trying to build RecordRanks into a proper service for #sports organization and rankings. I've contemplated "doing my own thing" for a good while now, and it's finally time to give it a proper shot! (1/2)
#webdev #coding #startups
Tbh, it was easier than I thought, though I did end up opening an issue on their GH for something that didn't work as it says in the docs. Gonna add another SSO method to my app soon, and it should be even easier now that I know how it works.
Somehow I just implemented an #OAuth login method for the first time in my 5 years as a web dev. I'd only ever done email + password auth before (with all the expected security measures). I guess better late than never. Having a great experience with Better Auth!
#webdev #coding #React #JavaScript
Made a YouTube video explaining why I switched from #MongoDB to #Postgres. I've heard plenty of criticism of it, but not much to do with actually using it. I get into that topic in this video.
#databases #Mongo #PostgreSQL #coding #programming #webdev
www.youtube.com/watch?v=SDVB...
I'm no longer using #AI in my IDE, due to #security concerns. While it would be nice to get a bit more of the productivity benefits, I just don't think those security risks are worth it. I now only use Le Chat - the chatbot from #Mistral - as a #coding buddy.
www.tomshardware.com/tech-industr...
Meme with a surreal humanoid being with glowing eyes saying "My goals are beyond your understanding".
Me writing a generator function in #JavaScript
#coding #TypeScript #react #webdev #programming
Omg, I've never heard a mention of Godspeed! You Black Emperor in the wild :0
I guess it's all relative. If 5-10 years from now AI is able to do 95% of what we can do and much more that we can't, I wouldn't say that's far off.
I don't know about very far. Maybe just a few steps ahead at this point.
I have now moved my biggest open source project (my website for sports rankings) from #GitHub to @Codeberg@social.anoxinon.de π©πͺ. I encourage other Europeans to also promote the adoption of European tech π
codeberg.org/mintydev/Rec...
#coding #programming #webdev #git #Codeberg
(2/2) If #neuralnetworks are meant to mimic how our brains work, why do we expect them to also never make mistakes, like regular computer code?
It's funny to me how much people love to point out specific issues with #LLMs, like them being unable to count the number of Rs in #strawberry until recently, almost as if people don't also have brainfarts or just make plane old stupid mistakes. (1/2)
#AI #coding #programming
It's cool, but I push for Europeans to use European tech instead. Namely, Qwant and Ecosia.
Implemented #Supabase Cron with my website for daily backups. Aaand yet again it was super tricky, as it typically goes with #selfhosting Supabase, haha. Worth it in the end though. I also reported a bug, so hopefully that'll be fixed and the next person won't have such a hard time.
#webdev #coding
I'd love to move to Matrix. I'm in the process of moving my own community from Discord to Matrix, or at least to have it as a second option that's much more privacy-friendly. I know there's no way in hell I'll be giving discord photos of my ID if that's the requirement.
German house edited to have the roof extended vertically to cover four floors instead of the typical 1-2
German houses be like...
(no AI btw)
#Germany #German #house #meme
(2/2) than my old Nginx setup. I added all the recommended security headers like CORS, CSP, etc., getting an A score on securityheaders.com (not A+ because it canβt detect my CSP header for some reason). Caddy also makes it dead easy to configure subdomains.
Check it out: github.com/mintydev789/...
I promised I'd share my final #deployment setup, so here it is. I ended up replacing #Nginx + Certbot with just Caddy. This simplifies my setup, especially SSL (Caddy does it automatically). And I did not compromise on security; even made it better... (1/2)
#selfhosting #webdev #coding #programming
Was able to get rid of all of our "hard-coded" images in the repo in favor of keeping them in blob storage. Trying to generalize my Rubik's Cube competitions/rankings website to work for most competitive sports now, and it's looking good so far!
Supabase dashboard displaying the contents of a storage bucket
Set up #Supabase Storage on my website last weekend. As it usually goes with Supabase #selfhosting, this wasn't exactly straightforward, but I'm really happy with the results. (1/2)
#coding #webdev #programming
(2/2) ...switching to Better Auth, replacing Mongo DB with #Supabase and more. I'm super happy with the result. I'll be sharing more insights soon, and you can read about it here:
cubingcontests.com/posts/the-bi...