https://web.archive.org/web/20070817224229/http://whyfirefox...
365 karma · joined January 4, 2016
https://web.archive.org/web/20070817224229/http://whyfirefox...
https://github.com/grompe/kbdasm (kbdusru_undead.asm)
Compose key, period, period = ellipsis …
Compose key, period, equals = bullet •
Compose key, period, minus = interpunct ·
Compose key, !, ? = interrobang ‽
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.Just now I learned of "font-family: monospace, monospace" hack. Indeed, browsers will render the font smaller with just one "monospace".
I've never run into it before because setting explicit font-size in pt or px avoids that weirdness.
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.
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.
The only places that still forced CRLF were batch files and clipboard.
Some developers seem proud doing that, somehow feeling that extra 5-10 lines of code for backwards compatibility is too much.
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.
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.Most things just worked after being extracted like that. Some things needed a few registry entries, or regsvr32 some dll files.
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.
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.
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.
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.
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.
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.
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.
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)
#!/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.