Better HN
topnewbestaskshowjobs
Log inSign up

matthberg

3,555 karma · joined Dec 25, 2016 (9y ago) · 587 submissions

Submissions

1.

The Invisible Shape(sorenblank.com ↗)

2 points · by matthberg · 1w ago · discuss

2.

Moiré No More (2021)(newsletter.shifthappens.site ↗)

3 points · by matthberg · 3mo ago · discuss

3.

CodeCrafters – Build Your Own <X> repo(github.com ↗)

5 points · by matthberg · 4mo ago · discuss

4.

Coolify(coolify.io ↗)

3 points · by matthberg · 4mo ago · discuss

5.

Making colordx fast: V8 lessons from a color library(dkryaklin.com ↗)

3 points · by matthberg · 4mo ago · discuss

6.

Show your hands honor for the power they bring you(aresluna.org ↗)

3 points · by matthberg · 5mo ago · discuss

7.

Text Makeup(text.makeup ↗)

1 points · by matthberg · 5mo ago · discuss

8.

Wikidata for Developers(wikidata.org ↗)

10 points · by matthberg · 7mo ago · discuss

9.

Mapterhorn(mapterhorn.com ↗)

4 points · by matthberg · 8mo ago · discuss

10.

Saulala(saulala.com ↗)

2 points · by matthberg · 8mo ago · discuss

comment 10mo ago · link · parent

Seems very similar to how maps work on the web these days, in particular protomap files [0]. I wonder if you could view the medical images in leaflet or another frontend map library with the addition of a shim layer? Cool work!

0: https://protomaps.com/

12.

Compressing Cellular Automata Images (2017)(cloudinary.com ↗)

2 points · by matthberg · 10mo ago · discuss

comment 10mo ago · link · parent

Quick summary for those confused:

In 1970 a massive project crowdsourced thousands of photographs of everywhere in Paris (nearly every single grid square on each letter sized page, a rare few have no photos).

To see the photos, click on a map section to go to the subgrid page. Then find the square grid number that corresponds to where you want to see and click the corresponding numbered link from the list at the top.

Some cool example locations:

By the Eiffel Tower: https://paris1970.jeantho.eu/carres/718.html

The Arc de Triomphe: https://paris1970.jeantho.eu/carres/427.html

Gare du Nord (urban area train station, less touristy): https://paris1970.jeantho.eu/carres/268.html

Random southern Paris neighborhood (many photos of streets, people, more suburban): https://paris1970.jeantho.eu/carres/1296.html

Random central Paris neighborhood (lots of photos, mainly of the urban architecture): https://paris1970.jeantho.eu/carres/507.html

comment 11mo ago · link · parent

Cool site, I especially appreciate the detailed about page [1] including the libraries used for the graphics (paperjs + GSAP) and the bloopers section [2], covering interesting glitches from development.

1: https://tiled.art/en/about/#thanks

2: https://tiled.art/en/bloopers/

comment 11mo ago · link · parent

Don't know if 2022 is needed since this seems to be an evergreen page for an actively developed tool (last update was 3 weeks ago).

https://github.com/ChrisTitusTech/winutil/releases/tag/25.12...

comment 1y ago · link · parent

He's also the person behind Practical Typography [0], a great reference/guide for essential typography and layout concepts and terms. It has opinionated recommendations covering nearly everything you'll need to make beautiful documents like this one.

Particularly helpful is the practical advice: how to get the desired results in Word, Pages, or with HTML/CSS; not just high-level abstract guidelines. There's everything from keyboard shortcuts for inserting different dashes (to accompany the explanation on when to use each type) [1] to guidance on page margins in print and on the web [2].

0: https://practicaltypography.com/

1: https://practicaltypography.com/hyphens-and-dashes.html

2: https://practicaltypography.com/page-margins.html

comment 1y ago · link · parent

Exactly, this letter refers to the "reconciliation bill" without mentioning the better known (and more notorious) monikers "Big Beautiful Bill" or "One Big Ugly Bill".

There are so many horrific things in it, the bill must be fully opposed, not endorsed with minor changes.

comment 1y ago · link · parent

Note that this letter's requests DO NOT include voting against the reconciliation bill, just modifying it to add a carve-out to fix Section 174. While I agree that Section 174 desperately needs reform and is harmful to the tech industry, the bill as a whole must be opposed, not tweaked.

There are many, many things wrong with the "Big Beautiful Bill", too many to fix through piecemeal efforts like this. It must be resolutely opposed, not endorsed with minor changes.

comment 1y ago · link · parent

I agree, yet at least you can kind of see where they're coming from.

I guess a better example would be the automatic hardware detection Lenovo Support offers [0] by pinging a local app (with some clear confirmation dialogs first). Asus seems to do the same thing.

uBlock Origin has a fair few explicit exceptions made [1] for cases like those (and other reasons) in their filter list to avoid breakages (notably Intel domains, the official Judiciary of Germany [2] (???), `figma.com`, `foldingathome.org`, etc).

0: https://pcsupport.lenovo.com/

1: https://github.com/uBlockOrigin/uAssets/blob/master/filters/...

2: https://github.com/uBlockOrigin/uAssets/issues/23388 and https://www.bundesjustizamt.de/EN/Home/Home_node.html (they're trying to talk to a local identity verification app seems like, yet I find it quite funny)

comment 1y ago · link · parent

Yep! Unfortunately its main method (as far as I remember from when I first read the proposal at least, it may do more) is adding preflight requests and headers to opt-in, which works for most cases yet doesn't block behind-the-lines collaborating apps like mentioned in the main article. If there's a listening app (like Meta was caught doing) that's expecting the requests, this doesn't do much to protect you.

EDIT: Looks like it does mention integrating into the permissions system [0], I guess I missed that. Glad they covered that consideration, then!

0: https://wicg.github.io/private-network-access/#integration-p...

comment 1y ago · link · parent

If I recall correctly Figma uses it to connect to the locally installed app, and Discord definitely uses it to check if its desktop app is installed by scanning ports (6463-6472).

I'm aware of two blockers for LAN intrusions from public internet domains, uBlock Origin has a filter list called "Block Outsider Intrusion into LAN" [0] under the "Privacy" filters, and there's a cool Firefox extension called Port Authority [1][2] that does pretty much the same thing yet more specifically targeted and without the exclusions allowed by the uBlock filterlist (stuff like Figma's use is allowed through, as you can see in [0]). I've contributed some to Port Authority, too :)

0: https://github.com/uBlockOrigin/uAssets/blob/master/filters/...

1: https://addons.mozilla.org/firefox/addon/port-authority

2: https://github.com/ACK-J/Port_Authority

comment 1y ago · link · parent

A comment I wrote in another HN thread [0] covering this issue:

Web apps talking to LAN resources is an attack vector which is surprisingly still left wide open by browsers these days. uBlock Origin has a filter list that prevents this called "Block Outsider Intrusion into LAN" under the "Privacy" filters [1], but it isn't enabled on a fresh install, it has to be opted into explicitly. It also has some built-in exemptions (visible in [1]) for domains like `figma.com` or `pcsupport.lenovo.com`.

There are some semi-legitimate uses, like Discord using it to check if the app is installed by scanning some high-number ports (6463-6472), but mainly it's used for fingerprinting by malicious actors like shown in the article.

Ebay for example uses port-scanning via a LexisNexis script for fingerprinting (they did in 2020 at least, unsure if they still do), allegedly for fraud prevention reasons [2].

I've contributed some to a cool Firefox extension called Port Authority [3][4] that's explicitly for blocking LAN intruding web requests that shows the portscan attempts it blocks. You can get practically the same results from just the uBlock Origin filter list, but I find it interesting to see blocked attempts at a more granular level too.

That said, both uBlock and Port Authority use WebExtensions' `webRequest` [5] API for filtering HTTP[S]/WS[S] requests. I'm unsure as to how the arcane webRTC tricks mentioned specifically relate to requests exposed to this API; it's possible they might circumvent the reach of available WebExtensions blocking methods, which wouldn't be good.

0: https://news.ycombinator.com/item?id=44170099

1: https://github.com/uBlockOrigin/uAssets/blob/master/filters/...

2: https://nullsweep.com/why-is-this-website-port-scanning-me/

3: https://addons.mozilla.org/firefox/addon/port-authority

4: https://github.com/ACK-J/Port_Authority

5: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

comment 1y ago · link · parent

A comment I wrote in another HN thread [0] (though this one was the original):

Web apps talking to LAN resources is an attack vector which is surprisingly still left wide open by browsers these days. uBlock Origin has a filter list that prevents this called "Block Outsider Intrusion into LAN" under the "Privacy" filters [1], but it isn't enabled on a fresh install, it has to be opted into explicitly. It also has some built-in exemptions (visible in [1]) for domains like `figma.com` or `pcsupport.lenovo.com`.

There are some semi-legitimate uses, like Discord using it to check if the app is installed by scanning some high-number ports (6463-6472), but mainly it's used for fingerprinting by malicious actors like shown in the article.

Ebay for example uses port-scanning via a LexisNexis script for fingerprinting (they did in 2020 at least, unsure if they still do), allegedly for fraud prevention reasons [2].

I've contributed some to a cool Firefox extension called Port Authority [3][4] that's explicitly for blocking LAN intruding web requests that shows the portscan attempts it blocks. You can get practically the same results from just the uBlock Origin filter list, but I find it interesting to see blocked attempts at a more granular level too.

That said, both uBlock and Port Authority use WebExtensions' `webRequest` [5] API for filtering HTTP[S]/WS[S] requests. I'm unsure as to how the arcane webRTC tricks mentioned specifically relate to requests exposed to this API; it's possible they might circumvent the reach of available WebExtensions blocking methods, which wouldn't be good.

0: https://news.ycombinator.com/item?id=44170126

1: https://github.com/uBlockOrigin/uAssets/blob/master/filters/...

2: https://nullsweep.com/why-is-this-website-port-scanning-me/

3: https://addons.mozilla.org/firefox/addon/port-authority

4: https://github.com/ACK-J/Port_Authority

5: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

24.

Scheming Reasoning Evaluations(apolloresearch.ai ↗)

2 points · by matthberg · 1y ago · discuss

comment 1y ago · link · parent

Since there're independent Lightness values set for each section (I'd say quadrant but there are 6 of them), I wonder if two bits can be shaved from the `L` value from the base color. It'd take some reshuffling and might not play well with color customization in mainly flat images, but I think it could work.

I'm also curious to see that they're doing solely grayscale radial gradients over the base color instead of tweaking the base color's `L` value and using that as the radial gradient's center, I'd imagine you'd be doing more math that way in the OKLab colorspace which might give prettier results(?).

Tempted to play around with this myself, it's a really creative idea with a lot of potential. Maybe even try moving the centers (picking from a list of pre-defined options with the two bits stolen from the base color's L channel), to account for varying patterns (person portraits, quadrant-based compositions, etc).

26.

Basilisk Collection (2021)(suricrasia.online ↗)

2 points · by matthberg · 1y ago · discuss

27.

Finding Threat Actor Infrastructure with SSL Certificates [video](youtube.com ↗)

2 points · by matthberg · 1y ago · discuss

comment 1y ago · link · parent

https://archive.is/LuVc7

29.

CSS-Sweeper – MineSweeper implemented in pure CSS+HTML (2020)(propjockey.github.io ↗)

2 points · by matthberg · 1y ago · discuss

12345
20