HNHacker News
TopNewBestAskShowJobs

matthberg

3,555 karma · joined December 25, 2016

submissionscomments
matthberg··on Bzip3: A spiritual successor to BZip2
The Wikipedia page on Malbolge was quite the horrific read, downright amazing to have a lisp written in it.

Here's the program as talked about on HN:

https://news.ycombinator.com/item?id=38850961

https://github.com/kspalaiologos/malbolge-lisp

The cursed language: https://en.wikipedia.org/wiki/Malbolge

And the variant used by the program: https://esolangs.org/wiki/Malbolge_Unshackled

matthberg··on The QUIC API OpenSSL will not provide (2021)
Note this is a blog post from 2021, which should be added to the title. The information included is out of date by several years now.

OpenSSL has done stuff with QUIC since then, a cursory search turned up this README in their main repo on using QUIC and OpenSSL: https://github.com/openssl/openssl/blob/master/README-QUIC.m...

matthberg··on B+ Tree Visualization
From what I can tell these two are a little more polished than the main linked one, including features to add random values and trace lookups/range finding through the nodes checked.
matthberg··on Passport Photos
Looking at other art by him, his latest piece Democracy features three figures in voting booths, one with their pants pulled down. Sure feels timely. He wrote a nice blurb with it too, I love it when artists include some of their thoughts in portfolios rather than just the photos alone (though this piece was a sculpture).

https://maxsiedentopf.com/democracy/

matthberg··on I discovered mysterious hidden signals on a public radio channel (2013) [video]
I found on her website [1] that she released a RDS decoder tool [2] relatively recently (compared to the 2013 of the video at least). Looks like it works with a USB RTL-SDR [3] receiver or a pre-recorded file in a number of formats.

[1]: https://www.windytan.com

[2]: https://github.com/windytan/redsea

[3]: https://www.rtl-sdr.com/about-rtl-sdr

matthberg··on How Israel’s bulky pager fooled Hezbollah
This section of the literal Geneva Convention [1], which Israel is a signatory of [2] seems rather relevant. While this article's breakdown of the what's and how's is quite interesting, keeping international law in mind while talking about the attack seems important.

- "2. It is prohibited to use booby-traps or other devices in the form of apparently harmless portable objects which are specifically designed and constructed to contain explosive material."

[1]: https://ihl-databases.icrc.org/en/ihl-treaties/ccw-amended-p...

[2]: https://ihl-databases.icrc.org/en/ihl-treaties/ccw-amended-p...

matthberg··on Commission concludes that X should not be designated under the DMA
Seems like this would be beneficial for Twitter since it exempts them from the extra regulation that being a DMA "gatekeeper" entails. It seems like the main target of the DMA is front-page of the web/device interaction type entities like search results pages or app stores. Being designated seems to mean you're subject to more requirements around fairness, self-promotion, and access rights.

All this gleaned from this official summary article from the EU: https://digital-markets-act.ec.europa.eu/about-dma_en

matthberg··on Invisible text that AI chatbots understand and humans can't?
Looks different, from that docs page they're using a mix of:

- ZeroWidthSpace,

- zwj (zero width joiner, used with emoji modifiers like skin tones),

- zwnj (zero width non-joiner, used to prevent automatic ligature substitution), and

- U+FEFF (zero width no-break space)

It's a clever system, thanks for sharing the link to it!

matthberg··on Word-like HTML inline edit with design mode
MDN says `document.designMode = "on"` is supported in all browsers, not just chrome dev tools. Looks like it's a rather ancient feature—in Firefox since 1.0, same with Chrome.

https://developer.mozilla.org/en-US/docs/Web/API/Document/de...

matthberg··on Regex Crossword
I'm surprised nobody's mentioned the Regex Crossword game site [0], it's shown up on HN several times [1][2] and has a fantastic user-submitted puzzle section (that includes the MIT Mystery Hunt puzzle [3]) and a puzzle builder.

0: https://regexcrossword.com/

1: https://news.ycombinator.com/from?site=regexcrossword.com

2: Most discussed posting: https://news.ycombinator.com/item?id=8674039

3: https://regexcrossword.com/playerpuzzles/8cbea27f-c4c5-4d11-...

matthberg··on ThreadPlotter – toolkit for punch needle embroidery with X-Y plotters (2020)
You should check out the rest of the Licia He's work too. She's doing really cool stuff with watercolors and plotters, with a free course on it actively in the works. Unfortunately her site went down some time recently, yet archive.org has it here:

Course: https://web.archive.org/web/20240525172327/https://www.eyeso...

Course GH: https://github.com/LiciaHe/painting_with_plotters

Portfolio: https://web.archive.org/web/20240415055736/https://www.eyeso...

matthberg··on ThreadPlotter – toolkit for punch needle embroidery with X-Y plotters (2020)
Yep, seems to be a drawback of the punch needle embroidery technique, though, not just this specific automation of it. From a light skimming of a couple of articles even hand-done work in this style lacks a lock stitch and relies on the friction of the fabric and tightly packed loops.

Though that could make for an interesting ephemeral art piece, particularly paired with generated/algorithmic designs—a plotter that embroiders a piece and then unwinds it once finished, repeating in a loop and accumulating wear and knots and flaws.

matthberg··on Speeding up the JavaScript ecosystem – Isolated Declarations
The site's down for me, here's an Internet Archive link:

https://web.archive.org/web/20240706220437/https://marvinh.d...

I've really enjoyed this author's series on optimization techniques explored through non-trivial yet still small case studies, the other articles linked near the top are all worth checking out too!

matthberg··on 3dfx Voodoo 4 video card in MXM format
If anyone knows of a guide or layman-accessible reference talking more about them (compatibility, bios hacks, part sourcing best practices) I'd love to hear about it.
matthberg··on 3dfx Voodoo 4 video card in MXM format
MXM cards unfortunately seem to be incredibly niche and vendor locked with BIOs whitelists, but allowing for swapable GPUs on laptops would be amazing for e-waste reduction and upgradability. It's a shame the Framework laptops don't support them, it seems right up their alley.

Cool to see a project messing with them though!

matthberg··on Tor: From the Dark Web to the Future of Privacy
I agree it seems a bit scummy, yet likely unavoidable for the author due to the way MIT Press distributes things.

It's thankfully licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0, which allows for converting the content to other formats (given attribution and non-commercial use, same license, etc etc) [0]. I'd reckon that making a de-fingerprinted version and redistributing it as an epub, md, or pdf again would be allowed, then.

As for getting a clean copy to work from, using Tor would be quite fitting. I plan to convert the version I downloaded to epub for ereader use, maybe downloading it a couple times over different routes and combining to see if that has any impact on the fingerprinting. I'll comment with a download if I get to that and feel it's of a quality worth sharing.

0: https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en#re...

matthberg··on GPS antenna mods make Starlink terminal immune to jammers
This should be the main link instead of the hackaday article. Fascinating stuff.
matthberg··on A cartographer drew a freehand map of North America (2019)
The cartographer's website has a bunch more stuff from him and some better photos of the map itself:

https://www.antonthomasart.com/the-north-american-continent....

matthberg··on Librum: Open-Source e-book platform
Not the person you're replying to but I am a user of Calibre --

1. Automatic ingesting and conversion of book files (download a pdf, epub, mobi, even something with DRM to a specific folder and it's available for reading/transfer automatically)

2. One (or more if being selective) click loading onto an e-reader (with auto format conversion)

3. Plugins or native feature DRM removal for purchased ebooks. Also plugin support for reading different file types, tying it all in to the main app seems clunky, better to have auto-installed file-type plugins and the abstraction/freedom plugins bring

4. Automatic/semi-manual/full-manual metadata control. Being able to scan the internet for new covers, isbns, category tags, blurbs, etc and selectively choose what to add is perfect while still retaining the options for grab everything or enter everything by hand too

5. Full text search of all file formats, as well as field-specific metadata search

6. Semi-manual curation with tag filtering and virtual libraries (saved searches basically, very powerful in combination with tags and ratings)

7. Highlight/quote saving. This is something which I do a lot on the e-reader and have been meaning to find a plugin to load them back into Calibre. Native support (in your app) would be fantastic

8. Keyboard shortcuts, theming, all those other nice little features that are less calibre-specific

edit - adding more as I thought on this longer:

* Cover and table views - it's nice to see the book covers yet also the compact editing and selection of a text-only table is essential. Sorting by title, author, publish, upload/ingest date, rating, etc is also quite important

* Folder/file based data storage. Having database files for extra metadata or internally needed stuff is a-ok yet it's so nice to be able to go into a folder named after the author and copy out a file in any of the converted formats. Automatically updating the metadata in the file itself (title, author, publish date, etc) and standardizing the file names is also key

* Book editing. This is less important early on since it's a big feature yet it's nice to be able to go in and fix typos from OCR or take out extra whitespace (or copyright warnings). A global reformatter or format aware find/replace is also quite handy for standardizing across multiple download sources (h2 vs h1 for chapter titles, weird indenting at the start of sections, dividers done with ---, <hr>, or custom images, etc). Style editors are nice yet less important since reader apps/devices generally handle most of this

* Image background removal. If you have a dark mode or sepia or even better custom theming in the book reader view, there will be images and custom dividers with white backgrounds that would look better inverted or with transparent backgrounds. This is a tricky one, since some images don't make sense to invert or tweak to the theme, yet done well it's a really nice feature

matthberg··on Behind the scenes of Sound ID in Merlin – Identify birds using your phone (2021)
I don't know much about Merlin's accuracy with bird calls, yet unfortunately Seek isn't enough to accurately identify plants and often leads to incorrect or overly confident (ie wrong) identifications when not enough information is available. In keying out plants, especially at the level of distinguishing species, features needed for identification often can't be gleaned from a single or even sequence of phone photos. Blooms (not always present due to seasons), internal flower or fruit structures, seasonal foliage, and features at photo incompatible scales (hairs on a leaf and also overall branching structure are hard to capture in one picture) are all common diagnostics in keys, and using neural nets biased to suggest the most commonly occurring plants leads to similar yet less common ones being misidentified.

It's a great resource for getting down to the family or sometimes even genus level, yet botany knowledge and a local or regional key/flora is really needed beyond that in most cases, unfortunately. I still think it's great for folks who otherwise would never get into botany and also raising natural awareness, yet I do worry about its impact on citizen science by giving a false sense of confidence in shaky algorithmic classifications, potentially tainting data collected for more rigorous purposes.

matthberg··on Icanhazip: A simple IP address tool survived a deluge of users (2021)
/cdn-cgi/trace isn't available on just cloudflare.com, it's on every site they proxy too (there might be a setting somewhere to disable it yet it's on by default). I've yet to figure out what happens if your site also serves something there, yet it was surprising to see on a barebones site I had routed through them.

I learned this from: https://news.ycombinator.com/item?id=36383258

matthberg··on Ord Phone
Looking at the specs this looks like you're paying mostly for the software (skinned android) and the hardware is an ancient (microUSB?? 8MP camera?) no-name phone. While the aesthetics of this are nice the hardware seems a bit too weak to justify the price, I'd personally rather stick with a few-generations-back flagship android and look for a nice minimal launcher/custom ROM.
matthberg··on CSS-Only Chat
I got nerd-sniped into re-implementing this in Node. Running on a local server and reusing buttons to minimize DOM exploding it's fast enough to need serverside key debounce. I suspect the original author chose to re-send the entire button set to avoid this.
matthberg··on Even if you can't write assembly, you can read disassembly
Me too, I found that aspect of the site design really cool. Just another perk of hand-made personal sites instead of things like medium.

I think it might be even more useful with a faint background color so you could skip ahead to the end of the parenthetical if you figured out what you wanted to a few words in. Overall really cool feature though, which I'm tempted to steal haha.

matthberg··on Are there any robust and easy ways to keep two or more computers in sync?
Syncthing would be worth checking out. It seems like a good match for what you're mentioning, it automatically handles the networking and file change watching. I've used it in the past to back up photos from phones, and have a few notes on usage.

For syncing two devices with intermittent connectivity (phone and laptop) you really want a third device (raspberry pi in my case) that's always online to act as a buffer and keep each end up to date. I also had some issues with device discovery taking a while though I'm fairly sure it was phone power saving settings that was messing it up. It's stable and popular software, definitely battle tested on Linux, though there are apps for all platforms.

https://syncthing.net/

matthberg··on 100G-LR4 optic cable teardown
Yep, the Faraday Effect!

The sibling comment has a link to the Wikipedia page, yet for a quick video explanation and demonstration Applied Science's video on the Faraday Effect was fantastic. It demonstrates it, explains some use cases, and also goes into how the material the light is passing through affects the strength of the magnetic induced rotation.

https://www.youtube.com/watch?v=XhU-nNiAgtI

matthberg··on Ask HN: Should HN ban ChatGPT/generated responses?
There is an xkcd comic about this (of course):

#810 Constructive: https://xkcd.com/810/

matthberg··on Bike: Innovative Rich Text Editing
I was just going to comment about how bringing features like this to org would be great. Do you know if there's a way to have caret affinity displayed in org, or equivalents for the other features mentioned? Sorry if they're obvious features, I'm a bit rusty on the latest developments.
matthberg··on Fixing macOS Zsh Terminal History Settings
I often have multiple concurrent sessions of terminal open, which leads to messed up history interactions. One solution I've encountered (but have not tested yet) is zsh-histdb [0]. It stores sessions' history to a SQLite db instead of a single appended file, with extra metadata about when commands were run, what session, etc. If you've already got your .zshrc file open to mess with the history settings it might be worth checking out that tool while you're at it.

0: https://github.com/larkery/zsh-histdb

matthberg··on DALL·E: Introducing Outpainting
If you checked out the Photoshop extension inpainting that also used Stable Diffusion. I figured this Krita extension was just using a lower quality setting or something, since the Stable Diffusion Photoshop results looked much better. Maybe it could come down to the amount of VRAM in the machine the demos were recorded on, or something.
← PreviousPage 2 of 9Next →