Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Dwedit
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
961.
▲
by
Dwedit
2y ago
"Emoji" (絵文字) is also a false-friend for "Emoticon". "Emoticon" indicates icons that express emotions (typed with ASCII characters), but "Emoji" is simply the Japanese word for pictograph, and is not
962.
▲
by
Dwedit
2y ago
Presumably due to code maintenance issues, they couldn't ensure the installer script decompiler was secure. File extraction from NSIS is still there, just not installer script decompilation.
963.
▲
by
Dwedit
2y ago
I wonder if someone could port Elevated to WebGL, then how big would it be? I wonder if it would fit within 64KB.
964.
▲
by
Dwedit
2y ago
7-zip version 15.05 will also decompile NSIS scripts (Nullsoft Installation System), but the feature was taken out of newer versions.
965.
▲
by
Dwedit
2y ago
Programs like 7-zip and PeaZip both have an unusual feature: Ability to explore NT paths that Windows Explorer will refuse to load. You can go to a path like "\\?\Harddisk0Partition2\" in 7-zip file manager or PeaZip. On my PC, t
966.
▲
by
Dwedit
2y ago
C# does a much better job of calling into C Code. All the programmer has to do is either write a extern function with the "DllImport" attribute, or they can turn a raw function pointer into a delegate. (Or even directly use a fu
967.
▲
by
Dwedit
2y ago
There do exist ABIs that aren't the C ABI. But saying "use the C ABI" is far more portable than anything else. I can also point to the GCC Inline Assembler as an excellent way to call arbitrary functions whether they impleme
968.
▲
by
Dwedit
2y ago
Yes, that's me.
969.
▲
by
Dwedit
2y ago
Can it become loose then suddenly not have all pins attached properly? This is something that's unlikely to happen with SODIMM slots, but I've seen so many times when screw receptacles fail.
970.
▲
by
Dwedit
2y ago
SNES does not put video memory on CHR-ROM, it's all writable RAM. The restriction is total RAM avaialble (including cartridge save ram), possibly calling functions or using data from the original ROM.
971.
▲
by
Dwedit
2y ago
Sometimes even after you've come up with the exploit, you can create something really beautiful for the console to run afterwards. Pokemon Yellow: https://www.youtube.com/watch?v=Vjm8P8utT5g Super Mario World: https:&
972.
▲
by
Dwedit
2y ago
Except for the search-replace error (The Impresario on the Train!)
973.
▲
by
Dwedit
2y ago
Block enough scripts and there is no paywall.
974.
▲
by
Dwedit
3y ago
It's not a standalone program, it's usually a set of pixel shaders that can be integrated into another program. I once made an image viewer that would apply the effect, but it's not publicly released. There is an extremely ro
975.
▲
by
Dwedit
3y ago
AI-based image upscaling happened many years ago. Waifu2x first released back in 2015, and ESRGAN first released in 2018.
976.
▲
by
Dwedit
3y ago
My go-to for any kind of very fast image upscaling is the SuperXBR algorithm. It's fast, a pixel shader implementation runs at over 60FPS on Skylake IGP. SuperXBR is in the family of Edge-Directed interpolation algorithms, so diagonal
977.
▲
by
Dwedit
3y ago
Ever looked at the SWF format before? It's a series of tags. Things like DefineShape, DefineMorphShape, DefineSprite (Movie Clip), DefineText, DefineBits (image), DefineBitsJPEG2 (jpeg), DefineButton, DefineFont2, PlaceObject2 (placin
978.
▲
by
Dwedit
3y ago
So why not use the SWF file format? It's a well-documented standard, and is binary and compact.
979.
▲
by
Dwedit
3y ago
Meanwhile in Windows land, "static linking" is very much a thing, but it means you dynamically link only to the basic Windows API libraries (Kernel32, User32, Gdi32, Ole32, Advapi32, etc...). You can't have a windows program
980.
▲
by
Dwedit
3y ago
81, 8D, 8F, 90, 9D are invalid.
981.
▲
by
Dwedit
3y ago
Running bytecode is much lower latency than compiling into native code. If you're not bottlenecked by running the bytecode (as opposed to memory or disk speed), you don't really have to JIT it any further into native code.
982.
▲
by
Dwedit
3y ago
All the television caption characters shown in that chart have a Unicode code-point defined, so they exist in UTF-8.
983.
▲
by
Dwedit
3y ago
But you can assume non-UTF-8 upon seeing an invalid UTF-8 byte sequence. From there, it can be application-specific depending on what encoding you expect to see. (And of course UTF-16 if there's a BOM)
984.
▲
by
Dwedit
3y ago
Speaking of new computers slowing down to access IO, someone managed to add an ISA slot to new PCs by using pin headers normally used by TPM devices. It's called the "dISAppointment".
985.
▲
by
Dwedit
3y ago
A whole lot of Pluto in there.
986.
▲
by
Dwedit
3y ago
If you were designing a new compatible processor for older systems, the limiting factor would be the memory bus. A cache would be necessary to get high speeds. The cache would need to know about all bank-switching performed by the system,
987.
▲
by
Dwedit
3y ago
I actually did not know that File.WriteAllText/new StreamWriter defaulted to UTF-8 without BOM if no encoding was specified. I always passed in an encoding to those functions, and "Encoding.UTF8" has a BOM by default. Witho
988.
▲
by
Dwedit
3y ago
Or possibly confusing it with JavaScript, which treats strings as sequences of UTF-16 characters?
989.
▲
by
Dwedit
3y ago
UCS-2 is why we have the WTF-8 encoding standard, which allows mismatched UTF-16 surrogate pairs to survive a round-trip through an 8-bit encoding. https://simonsapin.github.io/wtf-8/
990.
▲
by
Dwedit
3y ago
Basically every C# program will insert BOMs into text files by default unless you opt-out.
More ›