HNHacker News
TopNewBestAskShowJobs

mcintyre1994

6,336 karma · joined January 30, 2013

submissionscomments
mcintyre1994··on Gemma 4 on iPhone
You need some way to give it tools - the essential ones for coding are running bash commands, reading files and editing files.

You need the LLM to be able to respond with tool use requests, and then your local harness to process them and respond to it. You can read how tool calling works with eg Claude API to get the idea: https://platform.claude.com/docs/en/agents-and-tools/tool-us...

Under the hood something like Claude Code is calling the API with tools registered, and then when it gets a tool use request it runs that locally, and then responds to the API with the result. That’s the loop that enables coding.

Integrating with an IDE specifically is really just a UI feature, rather than the core functionality.

mcintyre1994··on Post Mortem: axios NPM supply chain compromise
You’re right, but a colleague recently showed me this CLI for it: https://docs.npmjs.com/cli/v11/commands/npm-trust

Still needs to be published first, but looks like it automates all the annoying UI things you mentioned.

mcintyre1994··on Post Mortem: axios NPM supply chain compromise
Then the malicious packages would always be published as a security fix.
mcintyre1994··on Post Mortem: axios NPM supply chain compromise
In cases like this that isn’t an issue, NPM takes the malicious package down and you roll back to the previous version.

The problem would be new versions that fix security issues though, and because this is all open source as soon as you publish the fix everyone knows the vulnerability. You wouldn’t want everyone to stay on the insecure version with a basically public vulnerability for a week.

mcintyre1994··on Post Mortem: axios NPM supply chain compromise
Nope, the most restrictive option available is to disallow tokens and require 2FA. I think that using exclusively hardware 2FA and not having the backup codes on the compromised machine probably would have prevented this attack though.
mcintyre1994··on Claude Code's source code has been leaked via a map file in their NPM registry
See also: https://github.com/openclaw/openclaw/pulls (6,647 open PRs)
mcintyre1994··on Axios compromised on NPM – Malicious versions drop remote access trojan
The frustrating thing here is that axios versions display on npmjs with verified provenance. But they don’t use trusted publishing: https://github.com/axios/axios/issues/7055 - meaning the publish token can be stolen.

I wrongly thought that the verified provenance UI showed a package has a trusted publishing pipeline, but seems it’s orthogonal.

NPM really needs to move away from these secrets that can be stolen.

mcintyre1994··on Copilot edited an ad into my PR
It's definitely an ad, I think the only real question is whether it's just marketing Copilot or whether part of their partnership with other companies is advertising the integration in this way. The links all go to Copilot docs pages on the integrations, so they're not typical tracked link advertising campaigns.
mcintyre1994··on Copilot edited an ad into my PR
If you click the Raycast link in one of these PRs it links to: https://gh.io/cca-raycast-docs

So I think they’re injecting this as a tip on using Copilot, that just happens to be their integration with Raycast.

I have no idea what their actual partnership with Raycast looks like, maybe this is part of what they offered them? But it’s not a traditional link to another product ad like it appears to be from Raycast being a link.

mcintyre1994··on Don't Wait for Claude
Something would be deeply wrong!
mcintyre1994··on OpenAI Has New Focus (on the IPO)
It only has $1m volume, so even that conclusion is a bit of a stretch. By comparison NCAA tournament has $15m, and US confirms aliens this year has $18m.
mcintyre1994··on Pyodide: a Python distribution based on WebAssembly
Love all the tools mentioned in the comments, Pyodide is a fun tool. I built https://pyground.vercel.app with it a few years ago, as a quick way to run Python on a CSV/JSON file locally in the browser. For a while Python/Matplotlib was what I was most comfortable writing quick and simple analysis scripts with, and this was my go to for one-off data analysis work. You can drag-drop a file in, then some 'clever' code makes it available as `data` in the Python script so you don't have to write any parsing code yourself.

Now I'd probably just get Claude Code to write something locally, but there might be some value in a version of pyground that can use an LLM to write the Python code for you (and give it the data shape) but keeps the local execution setup the same.

mcintyre1994··on Canada's bill C-22 mandates mass metadata surveillance
You only need to look at the US to see that a government dedicated to mass deportation is more authoritarian and worse for civil liberties.
mcintyre1994··on The death of social media is the renaissance of RSS (2025)
I think you’d just have to unfollow sources that publish AI slop. But that doesn’t seem too difficult with RSS, I can’t think of any source that sometimes publishes AI slop and sometimes I want to read their stuff. I guess if you tried to put an X feed in there, but I doubt you can do that now anyway.
mcintyre1994··on Glaze by Raycast
A similar product in the mobile space is Rork - I haven't used it but I've seen it on twitter a bit. I definitely wouldn't be surprised to see Apple acquire one of them.
mcintyre1994··on Glaze by Raycast
> If anything they do background processes better since you can send a very long task off to a server and shut off your computer, come back later and pick up where you left off.

I think it's fair to say that's a benefit of web apps over native apps in many cases. But for the kind of business app use case they're talking about, it's also a tradeoff. I can imagine a lot of business apps where you don't want to send the data to the server of a Replit etc. and doing all the processing local is a benefit.

mcintyre1994··on Glaze by Raycast
They say they're targeting Mac only for now, so it could be native code, or they could just have not tested/refined their prompt for other platforms yet.

> This was never the case for the desktop tools I mentioned.

I'd be curious how well Claude Code works for a native Swift app on macOS, if that's the platform you're on. I've found it extremely good at iOS apps so my guess is it would be equally good at building a native macOS app with the same stack.

mcintyre1994··on Glaze by Raycast
I think their value add if you’re comfortable with Claude Code is probably some nice tooling for the packaging, and they probably sign apps for you too?
mcintyre1994··on Iran War Cost Tracker
Wouldn’t most of these costs have been going for a few weeks, given the build up?
mcintyre1994··on I am directing the Department of War to designate Anthropic a supply-chain risk
From what I’ve heard the actual restriction is just on using Claude for stuff they’re doing for the Pentagon. They’ll keep using Claude for everything else and be less effective when they work for the government, and that’s fine because everyone else working for the government will have the same handicap.
mcintyre1994··on I am directing the Department of War to designate Anthropic a supply-chain risk
Probably just gonna go all in on MechaHitler!
mcintyre1994··on I pitched a roller coaster to Disneyland at age 10 in 1978
Sorry, I mean the current implementation seems trivial to spoof. I agree that doing something like your suggestion would make me feel much more comfortable about those logins.
mcintyre1994··on I pitched a roller coaster to Disneyland at age 10 in 1978
I always wonder about how easy that would be to spoof, because it seems like it'd be trivial.
mcintyre1994··on I verified my LinkedIn identity. Here's what I handed over
I have a LinkedIn account and I occasionally have recruiters cold phone call me. They always tell me they got my phone number from LinkedIn. The first time this happened I deleted my number off LinkedIn, which was not shared according to their settings but was being used for 2FA. I still occasionally get these calls, and I'm unsure if LinkedIn is still letting people buy access to my deleted phone number, or if the recruiters are just lying and getting my number from some creepy stolen data service.
mcintyre1994··on Gemini 3.1 Pro
At least Anthropic tells you how many more tokens you’re paying for! 5x 10x 20x whatever. Google seems to just say more, higher, highest.
mcintyre1994··on US plans online portal to bypass content bans in Europe and elsewhere
So instead of using a VPN that might have weird relationships with spy agencies, you just use one run by the US government? Clever idea to spy on the stupidest people in the world I guess.

Also I’m guessing they won’t allow this to be used to get around the sorts of content blocking project 2025 calls for in the US.

mcintyre1994··on Twitter(X) Is Down
Seems to be dead again
mcintyre1994··on WebMCP Proposal
Wes Bos has a pretty cool demo of this: https://www.youtube.com/watch?v=sOPhVSeimtI

I really like the way you can expose your schema through adding fields to a web form, that feels like a really nice extension and a great way to piggyback on your existing logic.

To me this seems much more promising than either needing an MCP server or the MCP Apps proposal.

mcintyre1994··on I want to wash my car. The car wash is 50 meters away. Should I walk or drive?
Heh, is through Claude Code? I have a side project where I'm sometimes using Claude Code installs for chat, and it usually doesn't mind too much. But when I tested the Haiku model it would constantly complain things like "I appreciate the question, but I'm here to help you with coding" :)
mcintyre1994··on I’m joining OpenAI
Something I learned while hacking on something recently is that claude’s non-interactive mode is super powerful. It uses all the same tools/permissions etc as interactive would, it can stream responses as JSON with tool use etc, and it can resume from a previous session. Together this means you can actually build a really slick chat-like UI for it.

I think this is a pretty cool example: https://github.com/mcintyre94/wisp

This is using Claude on VMs that don’t have SSH, so can’t use a regular terminal emulator. They stream responses to commands over websockets, which works perfectly with Claude’s streaming. They can run an interactive console session, but instead I built a chat UI around this non-interactive mode.

You can see how I build the Claude command here: https://github.com/mcintyre94/wisp/blob/main/Wisp/ViewModels...

← PreviousPage 5 of 34Next →