HNHacker News
TopNewBestAskShowJobs

mmastrac

50,078 karma · joined July 3, 2007

Matt Mastracci

Playing with fun tech.

  Mastodon: @mmastrac@hachyderm.io (https://hachyderm.io/@mmastrac)
  Email me: matthew@mastracci.com
  LinkedIn: https://www.linkedin.com/in/matthewmastracci/
submissionscomments
mmastrac··on How to make Firefox builds 17% faster
sccache is pretty easy to set up and you can back it with S3, memcache, redis, etc.
mmastrac··on How to make Firefox builds 17% faster
Do you have a link for this one? Would love to see it.
mmastrac··on How to make Firefox builds 17% faster
Can you (err... buildcache) cache Rust proc-macros? I've been battling this with sccache and I'm now maintaining a 10-patch deep stack for the next.js build CI.

Windows builds were ridiculously poor on cache hits rates too because of non-determinism that was not able to figure out.

I'd be happy to test it out.

mmastrac··on All elementary functions from a single binary operator
I couldn't find any information on this, but is it possible that given how nicely exponentiation and logarithms differentiate and integrate, is it possible that this operator may be useful to simplify the process of finding symbolic solutions to integrals and derivatives?
mmastrac··on ACE on a USB-HDMI Adapter
Dead already, sadly.

Archive.org link is.. not quite working?

https://web.archive.org/web/20260404214455/https://blazeligh...

mmastrac··on Bitcoin and quantum computing
The mostly likely quantum attack on Bitcoin will be a catastrophic transfer of large wallets to burn addresses along with a massive short position. No need to worry about washing stolen coins when you can just enjoy your "well timed" legal short position's windfall.
mmastrac··on Samsung Magician disk utility takes 18 steps and two reboots to uninstall
If you're installing Samsung Magician for firmware updates, keep in mind that you can always update your firmware without using it and it's just as safe.
mmastrac··on Cherri – programming language that compiles to an Apple Shortuct
I wonder if https://crates.io/crates/apple-codesign is sufficient to codesign these. Apple usually re-uses these sort of things.
mmastrac··on Technology: The (nearly) perfect USB cable tester does exist
Can you rewrite the emarker chips?
mmastrac··on Lat.md: Agent Lattice: a knowledge graph for your codebase, written in Markdown
I definitely agree with the need for this. There's just too much to put into the agents file to keep from killing your context window right off the bat. Knowledge compression is going to be key.

I saw this a couple of days ago and I've been working on figuring out what the right workflows will be with it.

It's a useful idea: the agents.md torrent of info gets replaced with a thinner shim that tells the agent how to get more data about the system, as well as how to update that.

I suspect there's ways to shrink that context even more.

mmastrac··on OpenCiv1 – open-source rewrite of Civ1
This is a cool project, but the author should note that they _are_ likely creating a derivative version of Civ1 here. It might look somewhat different, but that's clearly just 16-bit (?) intel opcodes in a slightly spicier form.

It's very unlikely this sort of approach will end up with a copyright-free codebase, though it might be useful as a source for a cleanroom approach. The author shouldn't be discouraged -- lots of other recompilation efforts work this was as well, but it's a muddy place to be.

mmastrac··on I decompiled the White House's new app
> It’s hard to imagine a smug article like this dissecting a product of some other administration

Did the other administration put a "fake news" and "report to ICE" and grifting link to their own social network in their apps? I feel like you are perhaps papering over a whole lot of general shittiness of this app that didn't exist in less amateur previous administrations that at least tried to follow the norms.

mmastrac··on I decompiled the White House's new app
You omitted these items immediately above that line:

Injects JavaScript into every website you open through its in-app browser to hide cookie consent dialogs, GDPR banners, login walls, signup walls, upsell prompts, and paywalls.

Has a full GPS tracking pipeline compiled in that polls every 4.5 minutes in the foreground and 9.5 minutes in the background, syncing lat/lng/accuracy/timestamp to OneSignal's servers.

Loads JavaScript from a random person's GitHub Pages site (lonelycpp.github.io) for YouTube embeds. If that account is compromised, arbitrary code runs in the app's WebView.

Loads third-party JavaScript from Elfsight (elfsightcdn.com/platform.js) for social media widgets, with no sandboxing.

Sends email addresses to Mailchimp, images are served from Uploadcare, and a Truth Social embed is hardcoded with static CDN URLs. None of this is government infrastructure.

Has no certificate pinning. Standard Android trust management.

Ships with dev artifacts in production. A localhost URL, a developer IP (10.4.4.109), the Expo dev client, and an exported Compose PreviewActivity.

Profiles users extensively through OneSignal - tags, SMS numbers, cross-device aliases, outcome tracking, notification interaction logging, in-app message click tracking, and full user state observation.

mmastrac··on TurboQuant: Redefining AI efficiency with extreme compression
Is this a tradeoff between GPU-computation-expense vs accuracy? ie: you could quantize into segments or grids on the unit circle/sphere/etc, but that's too expensive so it's better to just quantize to a Cartesian grid because the GPU can decompress cheaper?
mmastrac··on Torturing Rustc by Emulating HKTs
I've been playing around with type mapping like this in a highly experimental crate. The ability to map, filter and reduce types is insanely powerful but it's tough to get ergonomic syntax.

https://docs.rs/tuplemagic/latest/tuplemagic/index.html

mmastrac··on What is agentic engineering?
After three months of seeing what agentic engineering produces first-hand, I think there's going to be a pretty big correction.

Not saying that AI doesn't have a place, and that models aren't getting better, but there is a seriously delusional state in this industry right now..

mmastrac··on Show HN: Context Gateway – Compress agent context before it hits the LLM
Please don't dump AI-generated comments into HN. The signal is already pretty hard to find around all the noise.
mmastrac··on PCB devboard the size of a USB-C plug
A significant number of consumer electronic devices (especially reduced-cost ones) already do this. I have yet to see an alarm clock that isn't at least matrixed...
mmastrac··on WSL Manager
FWIW I started reverse engineering the WSL2 API -- it's not terribly complicated to do most tasks without the CLI (which is clunky IMO, as it had a number of times where it changed in backwards/forwards incompatible ways)

https://crates.io/crates/wsl-api

mmastrac··on Israel Strikes Oil Facilities in Iran
Has anyone felt like the news out of this war has been more tightly controlled than other recent conflicts by multiple orders of magnitude? Russia/Ukraine news is everywhere, Israel/Lebanon, etc, but this one is zipped up tightly.

The platforms/news orgs must all be getting pretty serious orders on reporting, because even Gulf Wars I and II had more getting out.

mmastrac··on US economy unexpectedly sheds 92k jobs in February
"we're all trying to find the guy who did this!"

But seriously, antagonizing all of your trading partners and visitors so that tourism dies, your booze industry gets severely wounded, and making things expensive so the world's most efficient kleptocracy can keep feeding itself has some consequences, I guess.

mmastrac··on Pentagon formally labels Anthropic supply-chain risk
I really can't tell if this is snark or not.
mmastrac··on MacBook Neo
This could be useful as a remote-access device for something that has a decent amount of RAM, I suppose, but how can anyone do anything outside of light-duty work with 8GB? At some point a Pi + battery/screen case is legitimately better.
mmastrac··on Why does C have the best file API
"best file API" and the man page for the O_ flags disagree.
mmastrac··on Cash issuing terminals
I'm on mobile so I can't check but damn the Univers font really calls back to the pleasant reading experiences of 70s technical documentation.
mmastrac··on Let's discuss sandbox isolation
I believe deno literally shipped that final part a few weeks back.
mmastrac··on Nvidia and OpenAI abandon unfinished $100B deal in favour of $30B investment
You can find DDR4 at reasonable prices, assuming it's not DDR4 ECC, and assuming it's not a QNAP that will only boot with RAM from a very narrow window of compatibility (ask me how I know).
mmastrac··on The US is flirting with its first-ever population decline
I really hope that automation and robotics will _finally_ allow us to invert the pyramid.
mmastrac··on Show HN: I created a Mars colony RPG based on Kim Stanley Robinson’s Mars books
EDIT: Looks like these were almost all fixed, awesome.

I'd say there's a few QoL improvements you could make:

- The building choice for a colonist could probably just be a type of building, otherwise you're scrolling through 90+ buildings

- Add key repeat for scrolling long lists

- Draw a rectangle for the building footprint you're about to build to help position, allow mouse placement to shift it around if you need

- Maybe consider re-selecting the same building type because building an array of buildings requires a lot of keys (or a hotkey per building type?)

- Lists should probably wrap around too

mmastrac··on Show HN: I created a Mars colony RPG based on Kim Stanley Robinson’s Mars books
I have a popup saying "terraforming complete" after 10 sols, but I want to keep playing and I cannot dismiss that popup.

The game is definitely fun but there's some papercuts that make it tough: no dismantle I can find, placement is difficult to understand.

Some feedback:

Colonists are really tough to talk to - you have to be in just the right spot.

There doesn't seem to be a downside to spamming buildings if you can afford it. There needs to be some ongoing cost to everything you place OR a downside.

Music shouldn't change in menus, or at least shouldn't restart constantly. That gets a bit annoying.

← PreviousPage 5 of 34Next →