Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dwedit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
481.
▲
by
Dwedit
1y ago
WEBP is two image formats bolted together. First, there's Lossy WEBP, based on VP8 video compression. It is better than JPEG, but mediocre by today's standards. Lossy AVIF and Lossy JXL greatly outclass lossy WEBP. Second, there
482.
▲
by
Dwedit
1y ago
There's nothing stopping you from using it in your own applications. Just not directly in the browser for now.
483.
▲
by
Dwedit
1y ago
A well-written scraper would check the image against a CLIP model or other captioning model to see if the text there actually agrees with the image contents.
484.
▲
by
Dwedit
1y ago
BASIC had the FOR-NEXT loop back in 1964. 10 FOR N = 1 TO 10 20 PRINT " "; 30 NEXT N C language would first release in 1972, that had the three-part `for` with assignment, condition, and increment parts.
485.
▲
by
Dwedit
1y ago
C# seems to like to use "Invoke" for things like delegates or reflected methods. Then it proceeds to use "Call Stack" in the debugger view.
486.
▲
by
Dwedit
1y ago
Not only do you upscale with nearest neighbor then downscale with bilinear, you also make sure that you are using the correct colorspace for downscaling. The most common mistake is to reinterpret sRGB as if it is a linear color space, and a
487.
▲
by
Dwedit
1y ago
Diacritics aren't unambiguous, there are different conventions for using them. What sound does "ā" make? It depends.
488.
▲
by
Dwedit
1y ago
Magic numbers do appear a lot in C# programs. The default text encoder will output a BOM marker.
489.
▲
by
Dwedit
1y ago
I don't expect anyone to adopt this. Listing complaints about a heavily used standard, and proposing something else incompatible won't gain any traction. Compare to WTF-8, which solves a different problem (representing invalid 16
490.
▲
by
Dwedit
1y ago
They were introduced in the Microsoft Plus package for Windows 98, then finally integrated into Windows ME. Windows ME was released after Windows 2000, so the feature didn't appear there. But it did appear in XP. You could actually
491.
▲
by
Dwedit
1y ago
In case of bugs in the decompiler. Extracting the files is still possible in newer versions, just not decompiling the installer scripts.
492.
▲
by
Dwedit
1y ago
ZIP Folders was developed by Dave Plummer from Microsoft (who runs the Dave's Garage YouTube channel). It was made in his spare time, then was licensed to Microsoft afterwards.
493.
▲
by
Dwedit
1y ago
7-Zip 15.05 is still useful today, because it was the last version to include built-in support for decompiling NSIS installer scripts. The feature was removed due to security concerns.
494.
▲
by
Dwedit
1y ago
.tar itself gives you enough information to seek forward past each file, though every file must be visited. .gz does not give you enough information to randomly seek within the big compressed .gz file, so you cannot skip past files within a
495.
▲
by
Dwedit
1y ago
Now we just need that one cool article about the Sinclair Scientific Calculator. It was a scientific calculator that was made to run on an underpowered chip intended for regular four-function calculators.
496.
▲
by
Dwedit
1y ago
With removal of reviews that the seller doesn't like, there's really no point to taking Amazon's star ratings or reviews seriously. It's all a big lie.
497.
▲
by
Dwedit
1y ago
In C#, there is Linq to SQL. Linq to SQL is an ORM. It does SQL code generation, even from user-provided code as long as it is in Linq Expressions form. With DelegateDecompiler, you can turn native lambdas into Linq Expressions. (You jus
498.
▲
by
Dwedit
1y ago
Instructions sets like ARM basically made it impossible to make that mistake. You need to use a different instructions when you involve memory.
499.
▲
by
Dwedit
1y ago
I once encountered SNES Puyo Puyo doing PPU open bus. This was when I was working on the RunAhead feature for RetroArch, and was checking when savestates failed to match. CPU execution trace logs didn't match because a value read out
500.
▲
by
Dwedit
1y ago
If JPEG-XL decompressed faster, I'd use it more. For now, I'm sticking with WEBP for lossless, and AVIF for lossy. AVIF's CDEF filter (directional deringing) works wonders, and it's too bad that JPEG-XL lacks such a fi
501.
▲
by
Dwedit
1y ago
Yeah, the whole "subscribe to events then check a status result" thing is pretty bad. This is compounded by "Box" behaving differently than everything else. When I made JxlSharp (C# JXL library wrapper), I had to add a
502.
▲
by
Dwedit
1y ago
If you wanted better compression, it's called Lossless WEBP. Lossless WEBP is such a nice codec. Compared with Lossless JXL, it decompresses many times more quickly, and while JXL usually produces a smaller file, it doesn't alwa
503.
▲
by
Dwedit
1y ago
I think it's because the SoC hardware is made by Rockchip.
504.
▲
by
Dwedit
1y ago
If you're hitting sprite limits because you used up all the sprite slots, you're doing something wrong. Sprites are for moving objects that need to exist outside of grid alignment. For steady objects, put them in a background la
505.
▲
by
Dwedit
1y ago
Locking away backing fields from a property is not an unnecessary feature.
506.
▲
by
Dwedit
1y ago
Linux has no viable solution for developing Windows Forms applications in C# with debugging and Edit-and-continue support. There's Visual Studio running in a VM, and that's it.
507.
▲
by
Dwedit
1y ago
CHD (compressed hunk of data) is another format that supports seeking, and allows LZMA compression. It's intended for disk images from CD systems, but can be used for other cases.
508.
▲
by
Dwedit
1y ago
These are 1992-era MIDI files that came bundled with MIDISoft Recording Session. Note that they contain both "Base" and "Extended" tracks in the same file, so there will be piano notes on channel 16 that are supposed to
509.
▲
by
Dwedit
1y ago
Metadata gets stripped by most websites. Embedding metadata into the pixels by using the least significant bits of RGB won't cut it, that stuff is gone when the file becomes a JPEG. But there do exist methods of embedding data in pixel
510.
▲
by
Dwedit
1y ago
Yes, I know it's just a "retro looking computer" to frame a YouTube video but... I had to look up the Tandy 1000 RSX, because it seemed very wrong to have 16-color VGA graphics coming out of a computer labeled as "Tandy
More ›