HNHacker News
TopNewBestAskShowJobs

jjmarr

4,713 karma · joined February 8, 2024

All views are my own. Software Engineer II @ AMD

jjmarr.com

submissionscomments
jjmarr··on Dwarf Fortress is getting the mother of all magic updates
As soon as I bought Minecraft I opened the Wiki and used that to figure out how to craft stuff.

It was the first mainstream Wiki-based game. Now, every game does it that way.

jjmarr··on CEO fired developers to make room for AI. Developers create open source AI CEO
I like how you have to constantly use the LLMs in order to understand their speech patterns enough to consciously reject them.
jjmarr··on Cursor launches Origin, GitHub alternative
Are you hiring?
jjmarr··on Firefox for iOS now has a native adblocker
There are multiple standarss for better advertisements[1][2] and AdBlock Plus introduced "acceptable ads" whitelisting if your ad meets one of the criteria.[3] Consumers do not want this and this "acceptable ads" policy is what caused the shift from AdBlock Plus to uBlock Origin.

I'd rather the government sponsor a roundtable between advertisers/browser manufacturers to discuss coming up with a legally protected "acceptable ads" programme to be enforced by default without causing antitrust problems.

[1] https://www.betterads.org/standards/

[2] https://www.acceptableadscommittee.org/the-standard/

[3] https://adblockplus.org/acceptable-ads

jjmarr··on 1700 Cascadia Earthquake
The earthquake caused a tsunami which struck the west coast of North America and the coast of Japan.[3] Japanese tsunami records, along with reconstructions of the wave moving across the ocean, put the earthquake at about 9:00 PM Pacific Time on the evening of 26 January 1700.[4]

The earthquake took place at about 21:00 PT on January 26, 1700 (NS). Although there are no written records for the region from the time, the timing of the earthquake has been inferred from Japanese records of a tsunami that does not correlate with any other Pacific Rim quake.

jjmarr··on Simplifying and Refactoring Introductory Calculus (2018)
> And what are these Fluxions? The Velocities of evanescent Increments? And what are these same evanescent Increments? They are neither finite Quantities nor Quantities infinitely small, nor yet nothing. May we not call them the ghosts of departed quantities?

-- George Berkeley, namesake of UC Berkeley, in 1734, critiquing infitesimal approaches to calculus.

Math uses limits because "dx" as a concept is hard to define and relies on faith that such an object can exist. It behaves as zero when convenient yet is non-zero when that breaks math. Limits have a more rigorous footing.

jjmarr··on Understanding is the new bottleneck
Even before AI this was common.
jjmarr··on AI is removing the middle class of software engineering?
I'm getting work experience to become a licensed software engineer, which is possible in my jurisdiction (Ontario).

Rarely does anybody care. I heard it's useful for safety-critical stuff but have never met anyone who has made use of the designation.

jjmarr··on Silicon Valley misreads science fiction and undermines democracy
> No learning linear systems without learning how to do linear approximation of systems in a mostly non-linear world.

That's why Common Core trains kids on estimation from Grade 2. Instead of adding 12 + 23 = 35, you add 10 + 20 = 30 to get a number close to the right answer.

This plants the idea "I can simplified numbers to get the answer if I don't need the last digit, which lets me solve problems faster". Which gets generalized as "I can use the simplified Ideal Gas Law to model a complex system if I don't own a supercomputer".

Even in university I had this: my physics course heavily emphasized properties of linear systems to demonstrate why I'd want to use one and we ran linear regressions in other courses if we didn't "know" the true equations.

jjmarr··on AI assistant hacks gym website in first known Australian autonomous cyber attack
The ultimate goal is ChatGPT or Claude autonomously making purchases on your behalf and taking a cut.

So the "premium" gymcutter subscription will be presented to the user as a tool call, who taps yes, and then the purchase is made.

The user shouldn't be given a cost-benefit analysis. They just need to be told to spend money.

jjmarr··on Decades-old fish sauce at abandoned factory in Canada finally being removed
Having grown up in Toronto, unqualified "beef patty" means the Jamaican snack. It is extremely common junk food I would buy at a convenience store on my way home from school.
jjmarr··on AI migrated legacy COBOL programs to Java, bugs included
Erlang/Elixir/OTP has a resilient environment with hot swapping. Is that truly problematic?
jjmarr··on The Silicon Valley Founder Meat Grinder
> Makes me wonder how long we have before, "create your own ChatGPT" becomes the next big thing and people wonder why their "AI Labs" aren't making as much as the big boys.

We're already there. It seems like every intern I see has built a custom chatbot with a RAG pipeline integrated into an internal application.

And every legacy SaaS is paying millions in consulting to add the same to their app.

jjmarr··on GCC steering committee announces AI policy
In this case, it'd be Clang, which does allow AI use.
jjmarr··on Alien World Chemistry Found Inside Meteorite That Struck New Jersey Home
Is this actually true? Could it depend on latitude?
jjmarr··on Codeberg Bans Cryptocurrency Projects
It's the politics of the paid membership of the Codeberg non-profit that funds the whole operation. They vote in yearly meetings.
jjmarr··on Codeberg Bans Cryptocurrency Projects
In the words of the person who announced the ban, when moderating a discussion on it 8 months prior:[1]

> > Dear Codeberg, please push out and ban these political fighters.

> This is not a neutral space, Codeberg is political. If you disagree with someone, be constructive and don't call them merely political and think that's a reason for the discussion to stop.

the maintainers of Codeberg do not believe that they are a "coffee hosting service" that neutrally hosts code from a variety of perspectives. Their view is that hosting code is a political act and this is backed by the donations funding Codeberg's operation.

[1] https://codeberg.org/Codeberg/Community/issues/2184#issuecom...

jjmarr··on Codeberg Bans Cryptocurrency Projects
In the prior words[1] of Gusted, one of the board members that announced the ban:

> This is not a neutral space, Codeberg is political. If you disagree with someone, be constructive and don't call them merely political and think that's a reason for the discussion to stop.

[1] https://codeberg.org/Codeberg/Community/issues/2184#issuecom...

jjmarr··on Medici family mystery may be solved after more than 400 years
My family has spent centuries marrying into an alternative claimant to the Grand Duke of Tuscany who did not inherit through Ferdinando I. We were planning to use this as an excuse to invade Italy and put the scion of our own dynasty on the throne and establish ourselves as royalty in the annals of history.

Unfortunately, this + the unification of Italy may have irredeemably foiled our plan.

Not sure what to do now, should I find a wife with a better claim?

jjmarr··on Hacker wipes Romania's land registry database
The United States is rare. Most countries (seemingly including Romania[1]) have adopted either a cadastral/Torrens title system in which the land registry is definitive legal evidence of who owns a particular piece of land. If you purchased a piece of land and that wasn't recorded in the registry, you are SOL because registration is what conveys title.

The United States on the other hand has a massive title insurance industry, which wouldn't exist if this system was implemented. So you can make random handshake agreements all you'd like and sue over it.

[1] https://www.elra.eu/the-principles-underlying-the-land-regis...

jjmarr··on Neither GCC nor Clang are compliant with standard C++
The CUDA/HIP APIs are mostly C-like APIs but are really C++ language extensions. e.g. you need triple angle brackets when calling a GPU kernel. The compiler turns that into placing the kernel onto the GPU and running it.

The GPU kernel code itself needs to be compiled and for CUDA that is done with the proprietary nvcc, which is clang-based. HIP is better because it's an open-source llvm backend/frontend but you'd still need to add GPU-specific support to zig/rust/whatever.

jjmarr··on Data center opponents stage 142 protests across 42 US states
> People are perfectly content to accept pollution if it provides actual jobs not just money for tech bro douchebags living on a yacht in Tahiti.

> And for fuck sake never talk about how much you hate society and want to put people out of a job.

Let's say for the sake of argument, AI eliminates most jobs. In that case, the government will need to replace income tax.

Will the American government have an easier time taxing the physical datacenter in the United States or the billionaire that owns it in Tahiti?

And will the American government have any ability to tax a datacenter built in Dubai because there was too much bureaucracy in Virginia?

> They could learn a thing or two from the industrialists of the early 20th century.

We could learn a thing or two from the industrialists of the 18th century, who built all their infrastructure in the United Kingdom because it was convenient for them.

The British government's early advantage in factories snowballed into the largest empire on Earth and they maintained the advantage until WW2.

jjmarr··on Neither GCC nor Clang are compliant with standard C++
Unfortunately I'm a GPU programmer. C++-based CUDA/HIP is still the standard regardless of how much people would rather use Rust to program GPUs.
jjmarr··on Dependabot version updates introduce default package cooldown
In reality, one massive update is too big to digest and it never happens. So you're stuck on out-of-date packages having lost the ability to update.

That's never a problem until it suddenly is. Company is put at significant risk (courts want to reason by analogy and "engineers skipped maintenance and endangered people" is an easy one) and nobody is to blame since nobody owned the task.

jjmarr··on Ask HN: Does anyone let AI agents play games just for fun?
Right now it can't click on anything so it'd probably fail at the minigames. But it'd be super funny to see a 4 person LLM lobby fail at games.
jjmarr··on Ask HN: Does anyone let AI agents play games just for fun?
I made a general purpose harness integrated into MelonDS and got Claude to play Mario Kart by feeding it continuous video.

It made forward progress in the Figure 8 circuit after I helped it through a menu but kept slamming into a wall so it wasn't on track to win in less than an hour.

Also got it to play Age of Empires: Age of Kings using the same technique but it failed to click on anything.

DS specifically is very fun because it's touch based but the UI components aren't accessible. So it is extremely challenging for LLM's spatial reasoning skills.

I want to improve the harness more and have the LLM dynamically create its own tools based on drawing grid box overlays on a screen in a feedback loop, so it can say "click on the 'end turn'" button instead of "click 240,320" and it would 'just work' in any game.

I also want to eventually play games with it... I didn't really have friends to play my massive DS library with as a kid so it'd be nice to finally have someone that can roast me or react to my skills. And learn my playstyle enough to punish me.

Unfortunately haven't had the time due to work at my day job and needing to clean out my apartment.

jjmarr··on The footgun of right-to-left decorative characters
More like the billions of people that use non-Latin languages, or even Latin languages w/ accents.
jjmarr··on Is The Economist Always Wrong?
Alan Greenspan (fed chair from 1987-2006) was famous for deliberately confusing forward guidance. Ben Bernanke and Janet Yellen are the historical anomalies for clearly communicating their intent.

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

Quote from Greenspan himself:

> As Fed chairman, every time I expressed a view, I added or subtracted 10 basis points from the credit market. That was not helpful. But I nonetheless had to testify before Congress. On questions that were too market-sensitive to answer, 'no comment' was indeed an answer. And so you construct what we used to call Fed-speak. I would hypothetically think of a little plate in front of my eyes, which was the Washington Post, the following morning's headline, and I would catch myself in the middle of a sentence. Then, instead of just stopping, I would continue on resolving the sentence in some obscure way which made it incomprehensible. But nobody was quite sure I wasn't saying something profound when I wasn't. And that became the so-called Fed-speak which I became an expert on over the years. It's a self-protection mechanism ... when you're in an environment where people are shooting questions at you, and you've got to be very careful about the nuances of what you're going to say and what you don't say.

jjmarr··on Kernel Anti-Cheat Is an Overreach
> An arms race is the inevitable outcome. It's either that or competitive gaming is not viable.

I'd rather just give my passport and do one of those face turning challenges to play competitive video games. Then if I get caught cheating, my real life identity can't play anymore, rather than make a new account and "get better at cheating".

If I am a habitual cheater in literally any other sport on Earth, governing body figures that out and issues me a lifetime ban. At that point, I'm blacklisted. Even my Tuesday night dodgeball league can issue bans that actually stick because they know my real identity.

jjmarr··on Kernel anti-cheat is an overreach
You can buy an autoclicking device or software that recognizes screen pixels of enemy avatars and instantly clicks to kill them. This works in "remote streaming" situations and is ~30% of the cheating dataset detected by Riot's kernel level anticheat:

https://www.riotgames.com/en/news/vanguard-on-demand

> A “pixelbot” is a computer vision cheat that injects player input for the purposes of aiming at heads or casting spells with perfect timing. Coming in “external” (hardware microcontroller) and “internal” (python script) varieties, pixelbots can be extremely impactful in VALORANT due to the low time-to-kill, sometimes just simply pulling the trigger for the cheater when an enemy enters their reticle (also known as a “triggerbot”).

← PreviousPage 2 of 34Next →