365 karma · joined Jan 4, 2016 (10y ago) · 84 submissions
comment 3mo ago · link · parent
https://web.archive.org/web/20070817224229/http://whyfirefox...
comment 3mo ago · link · parent
https://github.com/grompe/kbdasm (kbdusru_undead.asm)
comment 4mo ago · link · parent
html { -webkit-font-smoothing: antialiased; }
it's this: #TableOfContents { backdrop-filter: blur(3px); }
A panel that overlaps content only on narrow screens disables subpixel rendering for the entire text. Thanks Chromium. Not an issue on Firefox, btw.comment 5mo ago · link · parent
Watermarking tries to resist image data manipulation. Smuggling data is concerned with preservation of bytes.
Though if we're executing arbitrary code on the target anyway, ways of embedding data in an image are vast, including watermarking/steganography.
comment 5mo ago · link · parent
It would be more interesting to devise a method that survives all extra data stripping and re-encoding, perhaps taking advantage of deterministic encoders, assuming they don't randomize pixel data on purpose.
In other words: turning the image data stream itself into a polyglot.
comment 6mo ago · link · parent
Well designed video games that rely on fast and precise mouse input capture the cursor during the gameplay until menu is shown.
The only times I have to go fullscreen is for the games that fail to capture the cursor and where accidentally clicking outside of the game window leads to a loss.
Can't imagine a non-game program other than a video player that I would want fullscreen.
comment 6mo ago · link · parent
Thankfully, the dotnet package installed by package manager on Arch Linux disables telemetry by default. I left the env set just in case.
But my trust towards "modern" software has lowered. I default to run CLI tools, especially those built in JavaScript or .NET with network disabled:
firejail --net=none
For ilspycmd, for example, I had to defuse its default "update checking" behavior: alias ilspycmd='ilspycmd --disable-updatecheck'
This is what I'd call user-hostile defaults.comment 7mo ago · link · parent
Most things just worked after being extracted like that. Some things needed a few registry entries, or regsvr32 some dll files.
comment 8mo ago · link · parent
I've done it before on Windows 7. Resized system clock, resized start menu button, removed "Terminate batch job (Y/N)?" warning in cmd, etc.
Most annoying is that VirtualBox stops working with the patched uxtheme.dll.
...
Life on Linux is great. My modifications stick for as long as I want. Permanently if I get my patches upstream.
comment 9mo ago · link · parent
Also, I remember 8x16 VGA font that came with KeyRus had some slight differences between Cyrillic and Latin lookalikes, that brought some strange sense of comfort when reading, and especially typing the letter c, because its Cyrillic lookalike is located on the same key.
comment 9mo ago · link · parent
Let this be a warning: running oxfmt without any arguments recursively scans directory tree from the current directory for all *.js and *.ts files and silently reformats them.
Thanks to that, I got a few of my Allman-formatted JavaScript files I care about messed up with no option to format them back from K&R style.
comment 9mo ago · link · parent
Some games didn't mind running locally from an .swf file, but some others had a "URL protection", presumably to prevent people from embedding their flash games at other websites, and they didn't make an exception for localhost.
Long time ago I've fixed hundreds of such flash games using RABCDAsm and made them work in standalone Flash Player.
Took a brief look at Flashpoint Archive, it seems their way to fix URL check is to spin up a web server to present an address the game expects.
comment 9mo ago · link · parent
I hate the idea of installing stuff without an ability to look at what's inside first, so what I did was patch Chromium binary, replacing all strings "chromewebstore.google.com" with something else, so I can inject custom JS into that website and turn "Install" button into "Download CRX" button. After downloading, I can unpack the .crx file and look at the code, then install via "Load unpacked" and it never updates automatically. This way I'm sure only the code I've looked at gets executed.
comment 10mo ago · link · parent
The only thing that stops me from recommending it is non-integer zoom levels, which is especially bad for pixel art.
Moving layers around was also confusing, had to click Layer → Transform → Free Transform to be able to move things around. It would be much more obvious if there was a move icon in the tool panel that does just that.
comment 10mo ago · link · parent
Also I enjoyed how easily I could modify it:
- xfwm4: zoom only to multiples of integer, nearest neighbor only
- xfwm4: stop moving zoomed area after the cursor when Scroll Lock is on
- xfce4-screenshooter: supply custom actions with parameters %x %y %w %h of a selected rectangle, allowing me, for example, to select a rectangle and then launch a screen recording script.
Never found the use for multiple desktops, though.
The only part that irritates me is having to interact with the GTK file chooser (file open dialog). Someday I might be annoyed enough to replace it.
comment 11mo ago · link · parent
Looks like MTXT tool here does not quite work for this use case, the result of the roundtrip of a midi I tried has a segment folded over, making two separate segments play at the same time while the total duration got shorter.
https://files.catbox.moe/5q44q0.zip (buggy output starts at 42 seconds)
comment 1y ago · link · parent
#!/bin/sh
set -o pipefail
lang=${2:-eng}
if tesseract "$1" - -l $lang | xclip -selection clipboard ; then
notify-send "Text copied"
else
notify-send "Could not copy text"
fi
It works great most of the time along with the xfce4-screenshooter's ability to select a rectangle.When the text is especially difficult for tesseract, I can use Gemma3-4B via llama.cpp's llama-mtmd-cli, but that takes a minute.