HNHacker News
TopNewBestAskShowJobs

alexchantavy

1,023 karma · joined March 7, 2015

I work on a tool called https://cartography.dev and am building a company around it called https://subimage.io
submissionscomments
alexchantavy··on "Vibe code hell" has replaced "tutorial hell" in coding education
> They’re doing sweet battle with bots that are more interested in getting their newly-generated test suite to pass than solving the user’s problem in the simplest way possible.

Makes having good tests even more important. One technique I've found super helpful for coding with agents is to make the agent do TDD.

Basically ask the agent to come up with the test cases first, manually review those to make sure they make sense, then have the agent game itself to write code to pass the tests. I feel like doing TDD on my own manually is very tedious but having it be AI-assisted helps me move a lot faster.

alexchantavy··on My first contribution to Linux
Neat! I don't know much about the Linux ecosystem so I didn't realize how Linus himself is still so deeply involved in the day-to-day review and release process.
alexchantavy··on Why Self-Host?
In recent years I noticed RSS has gotten way less popular, even in hacker circles (or maybe that's just my perception).

I remember browsers used to have a native RSS button in the main interface and then you could curate your feed. Seems better than any news feed thing gamified to steal my attention. Sigh.

old-man-yells-at-cloud.gif

alexchantavy··on Vibe engineering
> It makes me want to move into something completely different like sales

Aaand that's startup founder life :)

Intense multitasking, needing to accept a lower engineering quality bar, and ignoring scale problems because you don't know if anyone will actually buy the thing you're building yet.

Engineering something that you know you'll redo in 1 month is very different from engineering something that you intend to last for 5+ years, but it's still a fun challenge picking the right tradeoffs and working under different constraints.

alexchantavy··on Microsoft is plugging more holes that let you use Windows 11 without MS account
I would buy a PS5 if I didn't already have a gaming rig tbh. For PC I enjoy the tinkering and the ability to basically do anything with it, but nowadays the cost compared to console is stupid and after a long day's work the last thing I want to do is see another desktop UI. Different toys for different purposes.
alexchantavy··on What makes 5% of AI agents work in production?
Yeah it bugs me. We've got enough examples in this article to make Cards Against Humanity ChatGPT edition

> One panelist shared a personal story that crystallized the challenge: his wife refuses to let him use Tesla’s autopilot. Why? Not because it doesn’t work, but because she doesn’t trust it.

> Trust isn’t about raw capability, it’s about consistent, explainable, auditable behavior.

> One panelist described asking ChatGPT for family movie recommendations, only to have it respond with suggestions tailored to his children by name, Claire and Brandon. His reaction? “I don’t like this answer. Why do you know my son and my girl so much? Don’t touch my privacy.”

alexchantavy··on Microsoft is plugging more holes that let you use Windows 11 without MS account
Can't make a custom gaming rig with Mac. Linux gaming isn't quite there yet too.
alexchantavy··on Microsoft is about to launch free Xbox Cloud Gaming with ads
I love the idea of GamePass (unlimited games for one small monthly fee) because it reminds me of Sega Channel on the Genesis back in the 90s.

But in practice, games that I’m into take 20+ hours to finish, and with my busy schedule, a $60 game gets stretched out to a year or so, so GamePass’ $15 fee (which is a lot higher now!) becomes too expensive

alexchantavy··on Ask HN: What's your experience with using graph databases for agentic use-cases?
Neo4j has a GraphRAG book that I've found very helpful: https://neo4j.com/essential-graphrag/

It depends on the shape of your data. In my domain (cloud security), there are many many entities and it's very valuable to map out how they relate to each other.

For example, we often want to answer a question like: “Which publicly exposed EC2 instances are used by IAM roles that have administrative privileges in my AWS account?”

To answer the question, you need to: 1. Join ec2 instances to security groups to IP rules to IP ranges to find network exposure paths to the open internet. 2. Join the instances to their instance profiles, to their roles. 3. Join the IAM roles to their role policies to determine which have admin policies. 4. Chain all of those joins together, possibly with recursive queries if there are indirect relationships (e.g., role assumption chains).

That’s a lot of joins, and the SQL query would get both heavy and hard to maintain.

In graph this query looks something like

match (i:EC2Instance)--(sg:EC2SecurityGroup)--(r:IPPermissionInbound{action:"Allow"})--(rng:IPRange{id:"0.0.0.0/0"}) match (i)--(r:AWSRole)--(p:AWSPolicy)--(stmt:AWSPolicyStatement{effect:"Allow", resource:"*"}) return i.id as instance_id, r.name as role_name

To answer this question what internet open compute instances can act as admins in our environment, we needed to traverse multiple objects, but the shape of the answer is pretty simple: just a list of ids and names.

Graph databases have quirks and add complexity of their own. If your domain isn't this edge heavy, you're probably better off with Postgres, but for our use-case it's been worth the trade-off imo.

alexchantavy··on Potential issues in curl found using AI assisted tools
There are a lot of good AI code reviewers out there where they learn project conventions based on prior PRs and make rules from them. I've found they definitely save time and catch things I would have missed - things like cubic.dev or greptile etc etc. Especially helpful for running an open source project where code quality can have high variance and as a maintainer you may feel hesitant to be direct with someone -- the machine has no feelings so it is what it is :)
alexchantavy··on Unix philosophy and filesystem access makes Claude Code amazing
+1, cursor and Claude code do this automatically for me. Take a big analysis task and they’ll write python scripts to find the needles in the haystacks that I’m looking through
alexchantavy··on Claude Code 2.0
Excellent concrete examples with video demos here: https://embracethered.com/blog/

The researcher has gotten actual shells on oai machines before via prompt injection

alexchantavy··on Baldur's Gate 3 Steam Deck – Native Version
Shame they said they’re not going to do more in the Forgotten Realms though, I love this campaign setting
alexchantavy··on Find SF parking cops
Oh wow this is from the same author as https://walzr.com/bop-spotter -- love these projects
alexchantavy··on I forced myself to spend a week in Instagram instead of Xcode
I didn’t know people used Insta for b2b outbound like LinkedIn haha.

> Build it and they will come is a fallacy. You have to tell people about the damn thing.

Great lesson for engineering types

alexchantavy··on About the security content of iOS 15.8.5 and iPadOS 15.8.5
Bunch of negativity on Apple UI recently, but you gotta give Apple credit for supporting really old phones. Google Pixel, forget about it lol
alexchantavy··on Windows-Use: an AI agent that interacts with Windows at GUI layer
Yeahh computer-use agents remind me of game automators like RuneScape autoclickers back in the day like SCAR: I posted on this a while back haha https://news.ycombinator.com/item?id=29716900#29720860
alexchantavy··on Becoming the person who does the thing
Kind of like if /r/im14andthisisdeep met LinkedIn B2B SaaS prose :)

(side note in all seriousness I did enjoy the article)

alexchantavy··on iPhone Air
Yeah, the 13pro is 204g and in my opinion pretty uncomfortable to one-hand. The 17pro according to the website is 206g :\
alexchantavy··on Building a DOOM-like multiplayer shooter in pure SQL
Do it in Neo4j now lmao
alexchantavy··on The elegance of movement in Silksong
When I was in college, I bought Demon's Souls and also started the most difficult semester I'd had yet with 3 classes deeply into my CS major. I was terrified of what lay ahead of academically, so I procrastinated by playing Demon's Souls.

Yes, Demon's Souls was hard, but eventually I somehow I started passing dungeons and beating bosses. The rush that I got from that gave me what I needed mentally to persevere through my classes: by the end of the semester I had A+s in 2 and an A in the other. I don't think I've had a better semester since. Beating big demons in video games made me feel like I could beat my own big demons in real life.

Lots of others feel the same way about Souls-like games; there are many video essays on Youtube that cover how Souls-likes got them through depression and other things.

alexchantavy··on Everything from 1991 Radio Shack ad I now do with my phone (2014)
In music, phones also killed metronomes and tuners which I'm thrilled about because by themselves those are $30+ instead of $1 (or free with ads) for an app
alexchantavy··on You don't want to hire "the best engineers"
What kind of process was it?
alexchantavy··on Proposal to Ban Ghost Jobs
This. The unintended side effect is worse and I feel like the only winners would be the lawyers in the middle.

There are many ways for a company to justify leaving a posting up if sued:

- candidate’s resume did not meet bar so company did not interview

- candidate could not be scheduled

- candidate was interviewed but did not pass

- offer was given to competing candidate but competitor rejected so company couldn’t fill position and still had to leave posting up

Companies would then need to keep super detailed records on job postings which is overhead, and then many would just choose to not publicly post to avoid the hassle

alexchantavy··on Sequoia backs Zed
I love ST and don't get why it stopped taking off. VSCode is way too heavyweight for just editing text and TextEdit is more like WordPad on Windows than Notepad.
alexchantavy··on Sunny days are warm: why LinkedIn rewards mediocrity
> If writing online matters to you, you’re probably better off starting a blog and building things there. You’ll get less views and less engagement but there’s less temptation to post nonsense just for likes. You’re going to have a harder time getting people to stick around and read what you’re writing but that additional pressure raises the bar.

Telling people to “raise the bar”, and then suggesting they should aim for less engagement just sounds strange. Who decides where the bar is, and why should hitting it require fewer people to see what you made?

I agree that a lot of LinkedIn content is cookie-cutter garbage, but advising others to invest serious effort into thoughtful writing with the expectation of no reach feels deeply unhelpful.

Instead, you could encourage others to write content on LinkedIn that sounds less "what X taught me about B2B sales" and improve the culture of "toxic mediocrity".

alexchantavy··on Do things that don't scale, and then don't scale
Guess it better scale then :-)
alexchantavy··on Show HN: Doom port to pure Go – Gore
I'd love to `kubectl run doom` and kill monsters when I'm supposed to be working
alexchantavy··on GitHub is no longer independent at Microsoft after CEO resignation
It's always better when companies are hungry for business. I thought that in 2016ish it was super cool for Microsoft to get into Linux, build VS Code, and make bets like the Surface Studio.

For comparison, I think Mac OS in 2008 was also at a bit of a golden age:

- You had native file support for .iso, .zip without needing to install crapware like Winzip.

- You even could preview *.psd files out the box.

- You had first-party apps like Image Capture to scan documents without needing to install extra software.

- There was an amazing third-party app ecosystem with things like Yojimbo, OnyX, Little Snitch, Quicksilver, Handbrake, Coda, Adium.

This was around the time of the "I'm a Mac" campaign when Apple was _hungry_ to win business away from Windows. All of these small, polished advantages made me fall in love with the experience.

OSX today is still good but there definitely isn't that same level of "underdog hunger" showing up in the products as of late.

Anyway I'm just trying to say companies being hungry for business shows up in its products and that's better for consumers.

alexchantavy··on Things that helped me get out of the AI 10x engineer imposter syndrome
I didn't say that. When you're trying to get a job done, it's time consuming to sift through a long tutorial online because a big part of that time is spent determining whether its garbage and whether its solving the exact problem that you need to solve. IME the LLM helps with both of those problems.
← PreviousPage 3 of 12Next →