PNG is back!
After over two decades, we released a new PNG spec.
www.programmax.net/articles/png...
@drifte.dev.bsky.social
Writing fast code. Living slow life. π» Typescript, React, NextJS β°οΈ Climbing, Running, Hiking
PNG is back!
After over two decades, we released a new PNG spec.
www.programmax.net/articles/png...
For a percentage of your profits I will harshly mock all your ideas and any progress you make
20.02.2025 07:27 β π 1 π 0 π¬ 0 π 0Oh man, I've been using this and wondering why the creator sold out with banner ads that completely break the functionality of the page. Gotta remember which link to click next time.
18.02.2025 18:44 β π 4 π 0 π¬ 0 π 0I guess ES2025 didn't manage to incorporate algebraic effects after all...
18.02.2025 18:40 β π 1 π 0 π¬ 0 π 0Watch your thoughts for they become words etc.
26.01.2025 19:54 β π 2 π 0 π¬ 0 π 0Can everyone just agree to click βnot acceptβ on cookie consent from now on please.
23.01.2025 17:36 β π 3 π 0 π¬ 0 π 0And why not have β.β which is randomly prefixed on the cookie domain (only sometimes though). It has no effect on the handling of domain itself, but we should duplicate the cookie key (and let it have different values) just to be sure.
23.01.2025 17:33 β π 0 π 0 π¬ 0 π 0Want to access a cookie set in middleware in a server component in the same request? Guess youβre going to have to redirect (oh hi Iβm the browser I assume you wanted that 307 cached so your users could enjoy a nice infinite loop)
23.01.2025 17:29 β π 0 π 0 π¬ 0 π 0Got spaces in that string? Letβs have PHP encode those as + so that JavaScript canβt decode them
23.01.2025 17:27 β π 0 π 0 π¬ 0 π 0Need to sign that hmac cookie? Sorry, NextJS middleware doesnβt support crypto
23.01.2025 17:26 β π 1 π 0 π¬ 0 π 0Ensuring that cookie logic is interoperable between PHP, NextJS middleware, server, and client components, as well as vanilla react and JavaScript is an absolute nightmare.
Gotchas upon gotchas upon gotchas.
Toying with the idea of telling my PO about document.designMode = βonβ
Is this too much power for one man?
I used to copy-paste from those comments more often than stack overflow
14.01.2025 10:08 β π 0 π 0 π¬ 0 π 0I think this is a really neat and clean syntax, Iβve not written tests in storybook yet but this makes me interested to try
12.01.2025 16:11 β π 2 π 0 π¬ 0 π 0While youβre at it, letβs switch to noun-adjective order for easier conceptualisation too.
βDog big black hairyβ
Vs
βBig black hairyβ¦β
I really appreciate you sharing this, it filled in a few more gaps in my understanding, thanks
12.01.2025 08:15 β π 1 π 0 π¬ 0 π 0If you ever get back to it, figuring out webpack config is one area where chatGPT excels.
The crux is just defining a loader for each file type you plan to support, which is pretty standard across codebases.
I would love to be in this starter pack please! Iβm mostly talking about transforming frontend performance in e-commerce.
11.01.2025 10:10 β π 0 π 0 π¬ 0 π 0If you get frustrated with the βmagicβ of nextjs, I highly recommend experimenting with building your own react server rendering framework.
All you need is webpack, ReactDOM.renderToString, and a couple of hours.
Probably the most effective activity for understanding why nextjs does what it does.
What about uploading files via ftp and sharing code via email? π
01.01.2025 22:48 β π 3 π 0 π¬ 0 π 0My 2025 predictions:
- Globally, things will seem really, really bad
- There will still be opportunities to grow as an individual and contribute to our communities
My goal is to make the second thing more important than the first.
#HappyNewYear
Honestly even when I find a good use for do-while I normally refactor to just while (with an air of slight disappointment) to keep life simple for the next person to come across the code.
31.12.2024 17:11 β π 0 π 0 π¬ 0 π 0AI uses certain words more often than humans (see βdelveβ) and they have become unconscious markers for us when reading texts.
So if you are using AI to diversify your language, the content definitely does risk coming across as generated unfortunately.
Huh, I honestly hadnβt noticed thatβ¦ every game I wanted to play has been available so far. But youβre right.
29.12.2024 08:36 β π 2 π 0 π¬ 0 π 0You do you! This was a post about how I am having fun with cloud gaming, not telling anyone else how to do things.
29.12.2024 08:31 β π 2 π 0 π¬ 0 π 0Right now Iβve forked out for the most expensive tier as a Christmas treat, but Iβve played on all 3 tiers quite happily for the last few months.
29.12.2024 08:28 β π 0 π 0 π¬ 0 π 0Don't worry, you're the third person to make this comment!
28.12.2024 22:57 β π 1 π 0 π¬ 0 π 0Letβs imagine you have a laptop, but it canβt play games (underpowered, or itβs a mac).
You could spent $500+ on a console or gaming laptop.
Or, you could spend less than $100 on this setup.
The cost of the laptop is irrelevant, you donβt have to buy something new.
Itβs hilarious that multiple people have commented this like itβs some kind of gotcha π
28.12.2024 21:50 β π 0 π 0 π¬ 0 π 0I guess if you are nostalgic for younger brother mode
28.12.2024 20:46 β π 7 π 0 π¬ 0 π 0