Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dwedit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
541.
▲
by
Dwedit
1y ago
You can do it without a manifest too, it involves calling "CreateActCtxA" and "ActivateActCtx" with the appropriate Activation Context object. Manifest file is much easier.
542.
▲
by
Dwedit
1y ago
No, linking to a static version of the CRT is a good thing, it cuts out the unused code. If you dynamic link to MSVCRxx/VCRUNTIME, you force the user to download that exact DLL from Microsoft. Dynamic linking to MSVCRT doesn't h
543.
▲
by
Dwedit
1y ago
When you include "No tools" in your requirements, you're locking yourself out of WebAssembly. WebAssembly still requires that you have a C compiler that can target WebAssembly binary format. Zig works well as a compiler for
544.
▲
by
Dwedit
1y ago
Example of setting DPI awareness: https://github.com/Dwedit/GameStretcher/blob/master/Stretche... This code dynamically checks for and calls one of the following: user32:SetProcessDpiAwarenessContext, sh
545.
▲
by
Dwedit
1y ago
I can't imagine that working in any programming language, given the smart quotes.
546.
▲
by
Dwedit
1y ago
A screenshot shows an "Error 451" page, but how can that even happen? It's https. Unless Cloudflare is also the web host, they can't change a page like that without the client seeing a certificate error.
547.
▲
by
Dwedit
1y ago
How does this compare with Zig or Beef?
548.
▲
by
Dwedit
1y ago
If WASM has to do anything other than computation, it will need to call the same functions that Javascript provides.
549.
▲
by
Dwedit
1y ago
Struct of Arrays vs Array of Structs have different performance, depending on how they are accessed, mainly due to how memory will be cached. If you are iterating over objects sequentially, and looking at every field, they will perform abou
550.
▲
by
Dwedit
1y ago
I figured out the way to get multi-value results on GCC for 32-bit ARM. Use a union to pack two 32-bit values into a 64-bit value. Return the 64-bit value. Then use a union to split the 64-bit value into two 32-bit values. I haven'
551.
▲
by
Dwedit
1y ago
Way way back, there were hard disk size limitations that were really only software limitations rather than hardware limitations. So there were tools that could install themselves to the boot sector of the drive, and provide support for lar
552.
▲
by
Dwedit
1y ago
I don't know if VLC itself is even legal in countries that enforce software patents.
553.
▲
by
Dwedit
1y ago
Adventure kept it small mainly by indirection. Each room has a pointer for its graphics, 4 exit locations, and the color/darkness flags. The game doesn't need to do anything special to handle most rooms, so that keeps the code s
554.
▲
by
Dwedit
1y ago
This game is quite simple in how it uses the Atari 2600 hardware. Atari Hardware can draw exactly 6 things on a scanline: Playfield, Ball, Sprite 1, Sprite 2, Missile 1, Missile 2. So Adventure made the player be the Ball, the thin walls
555.
▲
by
Dwedit
1y ago
I once ported the game into Flash, using a disassembly of the game as reference. I had it on my website, but it got DMCA-ed off for trademark reasons .
556.
▲
by
Dwedit
1y ago
When you bring the dot into the screen with the wall, the wall turns light gray to match the background color. Yet the wall is still there, and still drawn on top of the background and player. Someone might be misled into thinking that the
557.
▲
by
Dwedit
1y ago
Mp3tag is a really good program for this task, how does this one compare? I once used MP3Tag to fix some MP3s where the artist got screwed up because the track name contained a slash, and these files had already been put into separate direc
558.
▲
by
Dwedit
1y ago
I see Mr. Kelly R. Flewin in Twitch chat all the time.
559.
▲
by
Dwedit
1y ago
It's about trust, the third-party ad companies don't trust that the first party will be honest with them, not generating fake impressions or clicks.
560.
▲
by
Dwedit
1y ago
The real impact is in Microsoft making people throw away perfectly good computers by ending Windows 10 support.
561.
▲
by
Dwedit
1y ago
Yay Rop Chains!
562.
▲
by
Dwedit
1y ago
There's around a 64KB block size limit for a block of compressed data. That sets a max compression ratio.
563.
▲
by
Dwedit
1y ago
That costs you a lot of bandwidth, defeating the whole point of a zip bomb.
564.
▲
by
Dwedit
1y ago
https://support.mozilla.org/en-US/kb/firefox-protection-agai... "Random data is introduced to background images when the image is read back by the website. If a website merely renders data to the background,
565.
▲
by
Dwedit
1y ago
How does it deal with the audio ring buffers on the various devices? Does it just try to start them all at the same time, or does it take into account the sample position within the buffer?
566.
▲
by
Dwedit
1y ago
The problem with using 12-bit sRGB is that sRGB is not a linear colorspace. You're not taking 16 evenly spaced points in the full range of brightness, you're taking 16 points along the sRGB curve.
567.
▲
by
Dwedit
1y ago
Is there any interference from "anti-fingerprinting" which corrupts the image canvas?
568.
▲
by
Dwedit
1y ago
If you know that a particular JPEG block is corrupted, it could be possible to isolate the damage to just that block. You know the next block should not have a hard edge against the block above it, so you could try to find something that m
569.
▲
by
Dwedit
1y ago
Your "cartridge" could just as easily be a sheet of paper with a barcode/QR code printed on it.
570.
▲
by
Dwedit
2y ago
And if you resist, you are considered a scraper bot and are blocked from the site.
More ›