HNHacker News
TopNewBestAskShowJobs

tripflag

272 karma · joined September 3, 2021

submissionscomments
tripflag··on SVG Chromium bug is more than 10 years old
Chrome behaves correctly on Linux, macos and windows, I can confirm that much. Files are immediately closed when they are no longer in use, either by a FileReader() or by an XmlHttpRequest.

Firefox /appears/ to immediately be closing files as well, as long as they are only accessed by a FileReader and not by an XmlHttpRequest, however this could just be luck.

And I agree my phrasing was suboptimal on that part. I recall that was the first impression I had when encountering the issue and misremembered the details.

tripflag··on SVG Chromium bug is more than 10 years old
I feel that Firefox has been increasingly focusing on adding fancy new features rather than ensuring the browser is stable and functional. Accounts, Sync, Pocket, to name some examples.

If we include the android edition it's easy to mention the UX customization options as another example. "Scroll to hide toolbar" frequently breaks the viewport size calculation, making it impossible to scroll to the bottom of most pages. "Pull to refresh" keeps triggering when trying to scroll up on pages. "Swipe toolbar to switch tabs" is great, even though it occasionally sends you to the new-tab splashpage which I'm still not quite sure how to effectively return from. And the decision to make most addons unavailable is just confusing through and through.

I get the motivation to add "some value" to set Firefox apart from the competition; I just wish it was a far second to bugfixes.

tripflag··on SVG Chromium bug is more than 10 years old
I have entirely given up on getting Firefox bugs fixed; considering stuff like the entire browser crashing because the GC gets starved during heavy load [1] to seemingly having no control of their file handles at all [2]... The chromium team is a fair bit more receptive/reactive. I wish Firefox could get their priorities straight.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1790500 [2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1792598

tripflag··on Easy SVG sparklines
True; so the server-side rendering is tuned for minimal server load, with the resulting output being heavily degraded. Still good enough for its purpose, and Firefox gets the bonus hi-res thumbnails :-)
tripflag··on Easy SVG sparklines
This is only an issue on chrome-based browsers; performance in Firefox is much closer to what you would expect. You can/could (late 2022) reliably crash chrome by displaying 1000+ unique SVG files on one page, with each SVG simply displaying a single line of text. My current workaround is rendering the SVGs to png serverside if the client is chrome-based, as canvas feels like the wrong solution.
tripflag··on SUSE Liberty Linux: secure your Linux future without fear of vendor lock-in.
Curious, what CVE is this? I thought that even CentOS 7.x was still under support, so not patching vulnerabilities sounds like a great way to lose even more (would-be) customers.
tripflag··on The Awk Programming Language, Second Edition
I have found a handful of unconventional applications for awk -- I once needed a tiny pcm pulsewave generator, and awk was surprisingly decent for the job [1].

Aside from that I've mostly been using it for quick statistics [2], but it quickly moves into perl territory...

1: https://github.com/9001/asm/blob/hovudstraum/etc/bin/beeps#L...

2: https://ocv.me/doc/unix/oneliners/#965bfcb8

tripflag··on When Discord is open in the background, NVIDIA card will not reach full speed
In case you (or anyone else) is a windows user with the same issue, I ended up rolling my own solution for it: https://github.com/9001/uptt
tripflag··on The terminal escape sequences ocean is deep and dark
Ansi escape codes are fun tho! My favorite so far's been finding a way to scroll the screen up or down by one line [1] in a way that works on as many terminal emulators as possible - the spec says how to do it, but most actual terminals don't implement it correctly.

Another fun one was asking the terminal how big it is [2] (and also figuring out the modem speed as a side effect) -- especially when a major telnet client fails as soon as the width is above 256 characters [3]...

Both of these would have been simple if the terminal is a local one, but the fun part is dealing with an unknown implementation at the other end of tcp - and the fact that that's even possible :-)

[1]: https://github.com/9001/r0c/blob/master/r0c/ivt100.py#L1651-...

[2]: https://github.com/9001/r0c/blob/master/r0c/ivt100.py#L625-L...

[3]: https://github.com/9001/r0c/commit/5e7d64d7f81cab3350259b0cd...

tripflag··on Show HN: Copyparty – file-sharing service / NAS interface
this became somewhat of a kitchen sink -- it started as a way to quickly/reliably get files from A to B, but now there's file management and indexing, video thumbnails, a lightbox, markdown editor... but no email client! :p

it's good at getting things in/out of a headless box, but it's also found some use as a media library, and a portable wiki, to name a few.

documentation and ux is possibly not my strongest side, very open to feedback :>

← PreviousPage 3 of 3