Imagine if god showed up one day and said: “It’s actually Jod” then left
- 11 Posts
- 108 Comments
Try this link on an iPhone: https://jpegxl.info/resources/jpeg-xl-test-page.html
The future is
webpJPEG XL…And telling software patents to burn in hell.
spartanatreyu@programming.devto Programming@programming.dev•What's your favorite IDE right now?2·2 months agoThey told you to use “ed”
You missed the joke
spartanatreyu@programming.devto Programming@programming.dev•What's your favorite IDE right now?31·2 months agoI really want to switch from VSCode to Helix but not having a file tree is a deal breaker.
Luckily there’s been a lot of work on adding a plugin runtime with one of the proof-of-concept plugins being a file tree. Assuming the plugin runtime comes out this year in a helix release, and adding on a year for the community to settle on the first wave of plugins while giving them time to mature, I can see myself using helix fulltime in 2027 (before Microsoft has enshitified vscode enough to be unpleasant to use).
spartanatreyu@programming.devto Programming@programming.dev•Firefox has moved onto Github7·2 months agoFor a complicated project I get it, github’s PR system is kind of bad (horrible branch based workflow and no stacked diff support resulting in increased churn) compared to the alternatives.
That’s why we have tools like Graphite to add stacked diff support on top of github, and other devs creating new VCSs because git still hasn’t made it’s interactive rebase and merge conflicts easy enough to handle for juniors and it should be simpler.
spartanatreyu@programming.devto Programming@programming.dev•Big Rust Update Merged For GCC 15 - Lands The Polonius Borrow Checker5·4 months agoPolonius
“Well it’s about damn time” smokes cigar
Yes, I know it’s not out out yet, but we’re nearly there
spartanatreyu@programming.devto Programming@programming.dev•Any opinions on "vibe coding"?14·4 months ago^ this
Using AI leads to code churn and code churn is bad for the health of the project.
If you can’t keep the code comprehensible and maintainable then you end up with a worse off product where either everything breaks all the time, or the time it takes to release each new feature becomes exponentially longer, or all of your programmers become burnt out and no one wants to touch the thing.
You just get to the point where you have to stop and start the project all over again, while the whole time people are screaming for the thing that was promised to them back at the start.
It’s exactly the same thing that happens when western managers try to outsource to “cheap” programming labor overseas, it always ends up costing more, taking longer, and ending in disaster
spartanatreyu@programming.devto Programmer Humor@programming.dev•When you look at code you wrote last year3·4 months agoThis is why you’re meant to comment your code.
Your code tells you “what”, your comments tell you “why”.
Here’s a good review of comments in the redis codebase: https://antirez.com/news/124
spartanatreyu@programming.devto Programming@programming.dev•What do you use for writing HTML by hand?3·6 months agoI would advise against using pixels for margin/padding since it’ll have issues for users who have different zoom/text sizes than you do.
Stick to rem for margin and padding.
If you’re still early days with css, it’s worth pointing out that you should use a “css reset” file. It will solve problems for you that you don’t even know exist yet.
spartanatreyu@programming.devto Web Development@programming.dev•Does someone know an alternative to Mozilla MDN ?9·8 months agoI think the more important question here is why are you using the internet without an adblocker?
But to answer the lesser question, stick this in a pinned tab and download what you need: https://devdocs.io/offline
spartanatreyu@programming.devto Web Development@programming.dev•WordPress.org denies service to WP Engine • The Register3·10 months agoWatching web developers react to this change on mastodon has been… interesting to say the least
This doesn’t seem overly useful.
It’s a list taken out of a bunch of books with no regard for how something can be the best path in one language and a smell in another language.
Look at this page for example: https://luzkan.github.io/smells/imperative-loops
It suggests using functional loop methods (
.map()
,.reduce()
,.filter()
) instead of using imperative loops (for
,for in
,for each
) but completely disregards the facts that imperative loops also have access to thebreak
,continue
, andreturn
keywords to improve performance.For example: If I have an unsorted list of 1000 cars which includes a whole bunch of information per car (e.g. color, year manufactured, etc…), and I want to know if there were any cars were manufactured before the year 1980, I can run an imperative loop through the list and early return true if I find one, and only returning false if I haven’t found one by the end of the list.
If the third car was made in 1977, then I have only iterated through 3 cars to find my answer.
But if I were to try this with only functional loops, I would have to iterate through all 1000 cars before I had my answer.
A website with blind rules like this is going to lead to worse code.
spartanatreyu@programming.devto Programming@programming.dev•Which protocol or open standard do you like or wish was more popular?3·10 months agoQOI is just a format that’s easy for a programmer to get their head around.
It’s not designed for everyday use and hardware optimization like jpeg-xl is.
You’re most likely to see QOI in homebrewed game engines.
spartanatreyu@programming.devto Programming@programming.dev•Which protocol or open standard do you like or wish was more popular?12·10 months agoAre you not made primarily of water?
spartanatreyu@programming.devto Programming@programming.dev•Which protocol or open standard do you like or wish was more popular?31·10 months agoThe syntax is only difficult to read in their example.
I fixed their example here: https://programming.dev/comment/12087783
spartanatreyu@programming.devto Programming@programming.dev•Which protocol or open standard do you like or wish was more popular?6·10 months agoI fixed it for you (markdown tables support padding to make them easy to read):
markdown table x y |markdown|table| |--------|-----| |x |y |
spartanatreyu@programming.devto Programming@programming.dev•Which protocol or open standard do you like or wish was more popular?2·10 months agoChromium had it behind a flag for a while, but if there were security or serious enough performance concerns then it would make sense to remove it and wait for the jpeg-xl encoder/decoder situation to change.
It baffles me that someone large enough hasn’t gone out of their way to make a decoder for chromium.
The video streaming services have done a lot of work to switch users to better formats to reduce their own costs.
If a CDN doesn’t add it to chromium within the next 3 years, I’ll be seriously questioning their judgement.
spartanatreyu@programming.devto Programming@programming.dev•Which protocol or open standard do you like or wish was more popular?13·10 months agoI’m under the impression that there’s two reasons we don’t have it in chromium yet:
- Google initially ignored jpeg-xl but then everyone jumped on it and now they feel they have to create a post-hoc justification for not supporting it earlier which is tricky and now they have a sunk cost situation to keep ignoring it
- Google today was burnt by the webp vulnerability which happened because there was only one decoder library and now they’re waiting for more jpeg-xl libraries which have optimizations (which rules out reference implementations), good support (which rules out libraries by single authors), have proven battle-hardening (which will only happen over time) and are written safely to avoid another webp style vulnerability.
Google already wrote the wuffs language which is specifically designed to handle formats in a fast and safe way but it looks like it only has one dedicated maintainer which means it’s still stuck on a bus factor of 1.
Honestly, Google or Microsoft should just make a team to work on a jpg-xl library in wuffs while adobe should make a team to work on a jpg-xl library in rust/zig.
That way everyone will be happy, we will have two solid implementations, and they’ll both be made focussing on their own features/extensions first so we’ll all have a choice among libraries for different needs (e.g. browser lib focusing on fast decode, creative suite lib for optimised encode).
It’s not about caring, it’s about the lawyers making the argument javascript’s genericness easier