Better HN
topnewbestaskshowjobs
Log inSign up

jjmarr

4,726 karma · joined Feb 8, 2024 (2y ago) · 1,229 submissions

All views are my own. Software Engineer II @ AMD

jjmarr.com

Submissions

comment 3d ago · link · parent

"A use-after-free in Ghostscript’s Type 1 font loader lets a crafted document cross Ghostscript’s -dSAFER sandbox, alter native path controls, and execute attacker-chosen commands as the rendering process."

This can affect any application that accepts file uploads because many will render PostScript uploaded with other file extensions. WordPress, MediaWiki, Google Docs, Dropbox were affected.

2.

Upload2Shell, RCE in GhostScript(pwn.ai ↗)

3 points · by jjmarr · 3d ago · 1 comment

comment 3d ago · link · parent

I'm guessing their point is unlike binary trees which have two children per node, B trees can have as many children per node is best for cache locality/SIMD/etc. Which despite being "heavyweight" (wasted space if not all children per node are occupied) is faster in practice because it's cheaper to preload large unused blocks to cache rather than only access memory when it is needed.

4.

Twin films are films with the same or similar plots released with a short time(en.wikipedia.org ↗)

19 points · by jjmarr · 3d ago · 1 comment

comment 1w ago · link · parent

It used to be the standard!

https://en.wikipedia.org/wiki/Common_Gateway_Interface

comment 2w ago · link · parent

The `.local` TLD exists as a zeroconf domain name for this purpose on local networks. Your homelab can advertise as `homelab.local` without setting up custom DNS servers.

comment 2w ago · link · parent

Wealthsimple has 170 billion in assets under administration, while BMO, the smallest major bank, only has 310 billion. Considering WS is 100% retail, it's arguably a major financial institution at this point (though legally not a bank).

comment 2w ago · link · parent

You can use `sin(arctan())` as the repeatable operator instead of sqrt(). Then "unwrap" by applying ^-2 - (2^-2)

3=(sin(arctan(sin(arctan(sin(arctan(2))))))^−2 − (2)^−2

comment 2w ago · link · parent

There is no standard build/module system or way of dependency management. Unfortunately, this is because there's no standard compiler with standardized flags so C++ would also have to standardize compiler behaviour too.

Large FAANGs that would be incentivized to change it don't care because they have their own in-house C++ build systems like bazel (Google) or buck2 (Meta) that are far faster than cmake (distributed compilation and caching) but require huge teams to maintain. Unfortunately, this distributed compilation and caching layer is something that many other languages don't have since their build systems are made for single devs building locally.

Also the dependencies can be added in a myriad of ways. Your build system can download them, your meta-build dependency manager can find them (Conan), your Linux distro can provide them (system libraries), or maybe you just download an object file from a website + some headers and are told to figure it out yourself (many commercial packages like cuda or steam).

comment 3w ago · link · parent

I love the AI generated parodies because they show how formulaic some essays are.

comment 3w ago · link · parent

I don't understand why the kernel needs to be linked to the distro. I use Gentoo and kernel upgrades are orthogonal to my userspace because of Linus' "we don't break userspace" policy. I do not even need to recompile packages when I change my kernel.

If EAC signs a custom kernel I will just boot into that one when I want to play video games. Unlike dual-booting Windows it won't delete my Linux boot entries and I can use all my applications.

comment 3w ago · link · parent

The next two include the Vatican City with 21,645 and the USA with 4,691. Seychelles in absolute terms has a larger allocation than all but 4 other African countries, so I was surprised not to see it on the IPv4 map.

Why is this?

13.

Seychelles has 58,396 IPv4 addresses per 1000 people, the most per capita(en.wikipedia.org ↗)

2 points · by jjmarr · 3w ago · 1 comment

comment 3w ago · link · parent

I'm on Gentoo and when I compile my kernel, by default, almost nothing is enabled.

On other distros they throw in the kitchen sink because it is easier than making an endless amount of them customized to every system.

comment 4w ago · link · parent

Banning the "limited use" category by default in the "General Security Profile" is interesting given it overrepresents indigenous scripts.

For example, Canadian Aboriginal Syllabics is the writing system of Inuktitut, the primary language of the Canadian territory of Nunavut spoken by 63.1% of the population. It seems like they're being disenfranchised by this proposal.

comment 1mo ago · link · parent

The AI isn't me, though. If it goes overboard I can tell people it went rogue and get away with it.

comment 1mo ago · link · parent

The whole highway from my hotel to downtown Austin was new.

comment 1mo ago · link · parent

https://maps.app.goo.gl/ryE7MoAhZEfH1t3T7?g_st=ac

Here's the interchange near my hotel that's not on satellite but is on Google Maps. Unfortunately satellite coverage on Google Maps is older than Google Maps is, but you can see on streetview in April 2025 it mostly wasn't there and in May 2026 it mostly was. I think I visited a month or so after which is why it was so recent.

comment 1mo ago · link · parent

I went to Austin a few months ago and half the interchanges weren't on Google Maps because they were built so recently. In the week I was there I think they finished building a new one near my hotel.

I wonder how reliant self-driving cars are on unchanging road infrastructure.

comment 1mo ago · link · parent

The top comment discussing how price inelasticity means it is the drug users who are donating the money and deserve the moral credit made me appreciate my economics minor.

comment 1mo ago · link · parent

The ending needed to force you to click on a mine so you die in the cutscene lmao.

comment 1mo ago · link · parent

Thanks for reminding me of Kiva. I used to be big on it when I was younger. Just sent US$50 to a Liberian to fund her clothing business, hope it works out.

comment 1mo ago · link · parent

They run anti-abuse filters with ZDR but to my knowledge they don't have the specific prompts that triggered them. I have never received any emails from OpenRouter or otherwise.

comment 1mo ago · link · parent

This is why I use ZDR and API access.

comment 1mo ago · link · parent

That's because she has other options.

There are far more people unhappily married with 4/10 attraction for each other because it is better being alone.

That's why it needs to be a stable matching instead of "high compatibility matching".

comment 1mo ago · link · parent

> the preference matrix is based on identical mutual compatibility scores

Is that modeling the problem correctly? It seems pretty rare for two partners to have equal amounts of love for each other.

comment 1mo ago · link · parent

The set of stable matches for a given problem seems to be called the lattice of stable matching.

https://en.wikipedia.org/wiki/Lattice_of_stable_matchings

The problem is it's a lattice and not fully ordered. There are cases where there are two or more pairings that are worse for women and better for men, but we cannot determine which pairing is superior to the other overall.

comment 1mo ago · link · parent

Gale-Shapley, used in this service, has the property that one side ("proposing" side) is guaranteed their most advantageous stable match while the other side is guaranteed their worst possible stable match.

I've never heard this discussed or mentioned as a drawback because it's Nobel Prize winning and "stable" is a shorthand for "fair". Even though there's many unique stable matches that each offer participants different utilities even if individual participants don't have incentives to change their pairing.

In practice, the more powerful party seems to be the proposing side, e.g. hospitals are the "proposing side" when using Gale-Shapeley to match w/ med school students and get their ideal students.

I wonder if anyone who works on dating apps knows if men or women are the preferred side? And is there any research on stable matching that ensures equity (or ideally arbitrary distribution of utility) between the two groups in their stable matches?

12345
41