HNHacker News
TopNewBestAskShowJobs

ValdikSS

1,445 karma · joined December 29, 2014

submissionscomments
ValdikSS··on Claude writing a macOS driver for my obscure HP printer built only for Windows
CP1025 is supported in foo2zjs.

You need to manually download a color profile data (getweb script) though. Make sure there's /usr/share/foo2zjs/icm/hp-cp1025-rgb-392-bpp1.icm file.

If you tried to use foo2zjs in Fedora / Redhat or similar distro, they now require additional configuration with obscure error message: https://fedoraproject.org/wiki/Changes/FoomaticRipRejectsUnk...

ValdikSS··on Claude writing a macOS driver for my obscure HP printer built only for Windows
!!!

If you have MATRIX PRINTER, please consider running GhostScript regression tests per release (twice a year).

The developer is looking for volunteers.

Otherwise upcoming GhostScript version will remove widely used LQ850 driver and you won't be able to use it in the next Debian/Ubuntu/whatever.

https://bugs.ghostscript.com/show_bug.cgi?id=709659

!!!

ValdikSS··on Nvidia CMP170HX driver 64GB RAM unlocking patch
NVIDIA CMP170HX is a binned A100 chip card from 2021, with PCIe gen1 4x connection.

With 64GB HBM2e RAM physically, it's locked down to 8GB with the fuse.

2 months ago, a paper describing security bypass w/ code execution appeared, and a driver patch released a month ago.

You could get these "3090 64GB" for $250 or so only. Now they are $700+.

What's baffling is that hardly any major English tech publisher wrote about this hack of a century!

All the info in Russian: https://habr.com/ru/news/1060032/

Recent LLM tests @ Reddit: https://old.reddit.com/r/LocalLLaMA/comments/1vlwjr8/i_teste...

It was initially assumed that the RAM is also binned and the rest of it is bad in one way or another (doesn't work on expected frequencies, flip bits, etc). On 8GB (64GB) model we haven't seen bad RAM so far. The tests are all OK. 10GB versions supposedly have 80GB of physical memory, but only 40GB is unlockable (don't know the reason).

Upgrade to PCIe 2.0 16x possible. 2.0 4x is a software unlock with a driver patch, 16x requires capacitors soldering.

ValdikSS··on ASRock BC-250: Building the Budget Steam Machine
So far we haven't found any card with binned RAM. All memory is working and doesn't flip bits.
ValdikSS··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
Libtorrent 2.0 switched exclusively to mmaped read/writes for torrent downloads, which resulted in various performance and especially memory consumption issues on ALL platforms.

For some reason Windows handled increased memory consumption the least gracefully.

Many people continued to use v1.2 which use regular files.

V2.1 ended up using pread/pwrite nowz it's fine now.

The issue continued for 3 years more or less.

https://github.com/arvidn/libtorrent/issues/6667

ValdikSS··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
If it weren't mmaped files, I would use strace/gdb, or even fuse proxy file system.

But these are mmaped, I don't know any easy debugging or monitoring solution besides writing kprobes/systemtap hooks.

How would you debug it?

ValdikSS··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
I don't have experience with xfs or zfs, and I don't have a free stand for experiments right now unfortunately.
ValdikSS··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
>This issue report feels like it ought to be accompanied by a fix.

systemd is a stewarded FOSS, which means there's a team behind it, who are getting paid, and develop this software with release cycles, backwards compatibility guarantees, architectural decisions, and such.

These people know better. I usually only prepare fixes for FOSS one-man-show which have little to no maintenance, otherwise I prefer professionals to handle it. Sometimes "suggestion" PR is worse than a triaged issue IMO.

ValdikSS··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
journald uses hash tables, I think it update it on every new log line, although I didn't debug it in depth yet.

https://github.com/systemd/systemd/blob/199f75205b9c0625bf56...

ValdikSS··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
Many applications hammer the disk even if the developers don't believe this is an issue, not only journald, unfortunately.

It's my third attempt to make my regular Linux desktop less disk-chatty. This is a huge issue for btrfs and for COW FS in general, because they have massive write amplification for small and frequent writes (38,7 TB written to my idle desktop SSD in 2 years).

If you're interested, here are my findings this time so far:

    - workrave: 60 second stat sync https://github.com/rcaelers/workrave/pull/717
    - kde klipper: saves to disk on every copy, even if permanent storage is disabled https://bugs.kde.org/show_bug.cgi?id=501030
    - kde plasmashell: saves qt shader cache each time notification popup disappears https://bugs.kde.org/show_bug.cgi?id=523805
    - bitwarden firefox extension: tries to connect to desktop application every 10 seconds, writes about every failure to browser's WebStorage 14+ KB https://github.com/bitwarden/clients/issues/22192
    - firefox datareporting/glean: very chatty .mozilla/firefox/xxx/datareporting/glean/db/data.safe
    - ipfs: writes every received DHT announce to disk, 20 GB in 3 hours https://discuss.ipfs.tech/t/constant-writes-to-datastore-log/20316
    - mailcow: redis saves data every 5 minutes https://github.com/mailcow/mailcow-dockerized/pull/7405
ValdikSS··on Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes
https://github.com/systemd/systemd/issues/40262#issuecomment...
ValdikSS··on Worms: The Future of Yesterday's Worms Today
Latest Worms Armageddon (released in 1999) patch from December 2020 still supports Windows 95 (and Windows 11).

When I asked CyberShadow why, he replied that CD-ROM case claims Win9x compatibility, that's why any new update should not break it.

ValdikSS··on Delphi 13 Community Edition Is Now Available
… as well as for iOS, and Android, and web!

https://www.embarcadero.com/starthere/seattle/mobdevsetup/io...

https://www.embarcadero.com/products/delphi/features/mobile

https://blogs.embarcadero.com/easily-create-web-apps-for-des...

ValdikSS··on Delphi 13 Community Edition Is Now Available
You can create chess with Delphi in a matter of literally 30 seconds.

Just install "Chess VCL" component, drop it onto the form, compile, and you're ready to go!

ValdikSS··on Proxmox VE now available for ARM64
https://github.com/armbian/configng/pull/965
ValdikSS··on Proxmox VE now available for ARM64
>Maybe it'll make the SBC market get its stuff together and start actually doing UEFI instead of every board needing a custom build.

If your board needs custom build, it's probably because there's no SPI flash with the bootloader. The board can't describe itself.

This could be solved https://sd-card-images.johang.se/ style: single kernel+rootfs OS image, with the small board-specific bootloader + dtb, which you concatenate to the OS image.

The majority of ARM SBCs can boot UEFI (TianoCore) as a u-boot payload, there are ports for many SoCs/platforms. Raspberry Pi has a port. Libre.computer ships Amlogic and Rockchip with UEFI out of the box.

Nobody just usually bothers because modern u-boot handles all aspects of boot process, incl. display and user interaction. Unless you want Windows on ARM, or want to use beefy server/desktop hardware (ARM non-SBC, non-embedded) with external PCI-e boards which may want to run its embedded .efi rom, you probably don't want UEFI.

ValdikSS··on Show HN: Shitty – fast terminal. Memory-unsafe and faster than yours
I sell free software of others as an appliance, as a hardware device. Nobody of original authors complained so far, quite the contrary.

I don't get it when the software author choses the license they don't see suitable in full, only because it's one of a common FOSS licenses, and than wiggle around it. There's nothing wrong with making open-source with exception, or dual licenses, or non-free software.

ValdikSS··on Show HN: Shitty – fast terminal. Memory-unsafe and faster than yours
>Unfortunately, someone might instead take it, start making profit out of it, and never giving anything back to me or the community.

>you can do whatever you want with my work except profit.

GPL doesn't prohibit that.

https://www.gnu.org/philosophy/selling.html

> If a license does not permit users to make copies and sell them, it is a nonfree license.

ValdikSS··on Devtools must be open source
>How to Personalize Software

I've seen https://v-it.org/ here on hackernews. Same idea, different wording.

ValdikSS··on A big win for Android interoperability
Xiaomi Mi Band 6 and 7 support NFC card emulation for payments, issued by Visa/MC.
ValdikSS··on A big win for Android interoperability
Yes, Russian MIR system works this way.

https://glenbrook.com/payments_news/russias-mir-domestic-pay...

Just an application which emulates the card over NFC. No need to Google Play Services. It's been this way for ≈10 years I guess.

ValdikSS··on ASRock BC-250: Building the Budget Steam Machine
Right now the same situation happens with CMP 170HX.

These GPUs physically have 64GB RAM but locked to 8GB RAM. You can unlock all 64GB RAM with a patched driver.

They used to cost $200-250 but now cost $700+.

ValdikSS··on GitHub has alternatives, but no replacement
There's a mercurial, a very similar idea built in a very similar times. It was supported by BitBucket until recently.
ValdikSS··on GitHub has alternatives, but no replacement
I've recently seen https://v-it.org/, although the naming ("social software") is strange, the idea seems to be great: automatically maintain your own feature set of the software even if not all of the features are present in the mainline.
ValdikSS··on GitHub has alternatives, but no replacement
In the early days of github, it offered private repositories only for paid users. Bitbucket allowed private repositories for free.
ValdikSS··on Show HN: BitBang – Reach machines behind NAT from a browser, no account
It has an example on both the website and in SSH.
ValdikSS··on Show HN: BitBang – Reach machines behind NAT from a browser, no account
Will shamelessly promote my thing: https://ssh-j.com

No applications except regular ssh client. Needs an SSH connection on the client as well though.

ValdikSS··on Read this before you buy that TV streaming stick
In the world of auto-updates of software and firmware, even the hardware which is now completely legal and crap-free, could convert itself to a proxy or ad network later any time.

And don't forget about counterfeit products (which look like original but different in firmware) and supply chain attack vectors, which are really, really common.

If you want to buy something as simple as a feature phone, going to a store with 10 of them will give you at least 1/10 chance to buy a phone with a trojan/backdoor.

ValdikSS··on Substack writers, you need a website
>No one is writing purely for themselves

Every time I see posts like this one and go into comments, everyone in the comments treat writing as a hobby which they would like to turn into work and earn money from, more or less. And I suppose the words "writing" and "blogging" associate with the community around themselves in their minds, not with the text information per se.

I'm writing technical articles (blog posts) my whole life most of the time as a result of me learning something new, to structure the information on some topic for myself and others.

If it's a research, I make a post with all the information and final result of it in public, primarily for myself and sometimes for others, because 95% of the time it's not secret and there's no point to store it privately.

If it's a helpful information (software: unofficial bugfix, hacky workaround, poorly documented feature somewhere, etc), I want it to be searchable/indexed, only that.

I don't care about attribution, about who reads my writing (be it me, my friends, people I don't know, or AI), I have no incentive to push (as in post here or on social networks) or promote these articles in any way. I don't want people to get back to my site, to subscribe to it, or to build a community around it.

If the user types "How do I solve issue X" and by a mere coincidence I solved and documented it, I don't care if the user gets the solution from my website, from the scrape & repost websites, or from AI agent which scraped the site. If this helps the user to fix the issue or to learn something new, every way is fine for me!

ValdikSS··on Substack writers, you need a website
If you write news, posts that needs discussion, information that relatively quickly becomes obsolete, then probably yes, you won't want a website because few people will search for it deliberately.

But if you're writing for yourself, articles with multimedia, or want to use advanced features, no platform provides anything close to what you can do on your website.

Take a look at https://ciechanow.ski/bicycle/ for example.

← PreviousPage 3 of 14Next →