HNHacker News
TopNewBestAskShowJobs

aaaronic

457 karma · joined July 17, 2017

GitHub: https://github.com/aaaronic

I teach Media Device Architecture at Georgia Tech (in addition to my day job). Sometimes different courses over the Summer.

submissionscomments
aaaronic··on How to keep enjoying programming in a world of LLMs
It's the difference between constantly reviewing someone else's code and getting to write the code yourself.

There's both deep satisfaction and deep value in having an understanding of the past, present, and notional future of the system (especially at scale). If I use agentic tools to do the actual coding, I never feel like I have as deep an understanding of the implementation, it's inherent assumptions or lessons learned. Over time, my understanding of the system atrophies badly enough that it becomes difficult to steer the LLM, instead of the other way around.

This is what makes those "unicorn"/great managers who both manage well AND maintain a clear understanding of the system over time so amazing.

aaaronic··on PostgreSQL for Everything
That feature is definitely part of why it's still so relevant. The hstore approach wasn't nearly enough when it was all PG offered.
aaaronic··on PostgreSQL for Everything
Sure, best not to overcomplicate early if you don't need it.

PG is great and I work with it daily, but it's also not a problem to think about scale early and at least have a notional plan for what to and how to know when scale is becoming an issue in your system as you're designing it. Even PG is overkill and sqlite is more than enough for some of my projects.

There are a lot of specialized tools available, but you definitely don't need to put every one in your toolbox. Experience and observation help you make those edits -- and of course there's almost always room for improvement, but "good enough" definitely exists (until it doesn't anymore :D).

aaaronic··on AI;DR (AI; Didn't Read)
Do you think it's actively deciding to remove them or just not noticing you added them and then overwriting?

I ask because when I started informing it I made personal edits, it stopped doing this kind of thing so often and let me work _with_ it more.

My saved prompt now says never to assume a file has not been edited since the last time it was read between prompts.

aaaronic··on AI;DR (AI; Didn't Read)
My "favorite" Claudism is when I critique its work and ask it to remove some unnecessary part of the design -- and then the diff has more green than red because it added comments about why the code is no longer there -- the code that was never in the mainline and never asked for!
aaaronic··on Picophysics: Single file physics for games on platforms like N64, PSX, DC
Most of the older consoles don't have an FPU. Fixed point is king on those older systems.
aaaronic··on Einstein's relativity rules chemical bonds in heavy elements, new research shows
Yes and no. It depends which branch of chemistry you world have chosen to go down. Physical Chemistry certainly improves a fair amount of the hand waving, but even there the underlying physics is simplified fairly often (as I understand it — I went straight Physics and dabbled in Chemistry from the other side).
aaaronic··on Einstein's relativity rules chemical bonds in heavy elements, new research shows
Sigma and Pi bonds are typically covered in AP Chemistry, even if the “why/how” is hand waved pretty heavily. The valence cloud shapes get wild for heavier atoms and bonds between two or more atoms add even more to the mix.
aaaronic··on Microsoft's open source tools were hacked to steal passwords of AI developers
It's not like they're mutually exclusive. In fact, multiple candidates seem to be quite sympathetic in their feedback loops.
aaaronic··on Microsoft wants users to be addicted to Scout, their AI personal assistant
I thought his name was Watson (the dog assistant).

Edit: I was wrong. But there is "Power Pup" and apparently Will Shakespeare

aaaronic··on AI Agent Guidelines for CS336 at Stanford
Ha, I have a 16 year old who yells "chat" often enough when online gaming to be familiar with that use.

I'm positive these students did use an LLM to get the help instead of crowdsourcing, but it is an interesting linguistic overlap.

And while I'm on my "old man" soapbox -- "look it up" and "search for it" somehow became "search it up" with the young people. I corrected my son for years before I started hearing college students also saying it that way...

aaaronic··on AI Agent Guidelines for CS336 at Stanford
I was hoping to get them access to a specific tool like GitHub Copilot via GitHub Education, but when I looked, sign-ups were paused, so I went the tool-agnostic approach. Even during installation a lot of them were telling me how "chat" told them to fix their installation issues (but some were clearly using an alternative to ChatGPT, specifically).

However, I see from other comments on this post that I may need to include a CLAUDE.md as a copy (and could maybe just leave the .history part out of that version?).

aaaronic··on AI Agent Guidelines for CS336 at Stanford
I told them up front this was new territory and we're all learning from it. If they're overusing it I assured them they won't be dealing with a student integrity issue, but I will be giving them feedback if they're clearly over-reliant and if they continue to do so, it could eventually impact the grade on later assignments.

I'm hoping they learn to use it as a tool instead of trying to offload all cognition to it.

This is a CS course targeted at non-majors, so thankfully the "fundamentals" aren't as critical as the overall themes and general skills.

aaaronic··on AI Agent Guidelines for CS336 at Stanford
I'm trying something similar this semester with my course via AGENTS.md. I think this one is overly verbose and probably falls out of context windows pretty quickly, based on my experience (for me, a very terse but clear set of 30 lines performed better than providing examples and more nuanced explanations during my testing with a few models).

I have included the basic "I am a student -- help me learn, don't just do everything for me," but I also am trying out telling it to generate a .history folder with a markdown history of every prompt and a summary of the action take in response.

I _know_ there are some tools that offer the prompt history automatically, but I've told students they can use _whatever_ tool they want, but should let me know if the folder isn't showing up as they work.

The .history folder is required if they used AI and I intend to review it and try to give specific feedback to the students using it as too much of a crutch.

I just started this last Friday, so wish me luck!

aaaronic··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Brave man. RIP your inbox.
aaaronic··on I built "Middle Class Museum", a tour of things that used to be affordable
I'm pretty sure I did not get to keep my shoes on through TSA in 2004. It may not have been mandatory nation-wide until ~2006, but the origin is a 2001 incident.
aaaronic··on Pgbackrest is no longer being maintained
See: "It's OK to abandon your side-project (2024)": https://news.ycombinator.com/item?id=47918961 (also on today's frontpage)
aaaronic··on Taste in the age of AI and LLMs
I've worked in too many large codebases where no one can point to any _single file or class_ and label it "correct," ("the right way") yet management is amazed when the lack of a "North Star" means the codebase is full of overlapping, piecemeal patterns that are lucky to work together at all.
aaaronic··on Taste in the age of AI and LLMs
It does amaze me when colleagues refuse to read what I (personally, deliberately) wrote (they ask AI to summarize), but then tell AI to write their response and it's absolutely bloated and full of misconceptions around my original document.

If they aren't willing to read what I put effort into, why should I be expected to read the ill-conceived and verbose response? I really don't want to get into a match of my AI arguing with your AI, but that's what they've told me I should be doing...

aaaronic··on FSF statement on copyright infringement lawsuit Bartz v. Anthropic
I also found the statement bizarre. They don’t seem to have any argument for compensation of any kind unless the books were under a restrictive license that required derived works to also be open source.
aaaronic··on Leaving Google has actively improved my life
But some of Apple or Spotify Premium's recent moves Re: advertising show that even those who _are paying_ end up getting the ad experience eventually.

The old "If you aren't paying for a product, you're the product." adage doesn't apply anymore when even if you're paying, you're _still_ being productized.

The real problem is increasing concentration of _everything_ into ever-fewer (viable) players.

Doctorow's book "Enshittification" goes into way more examples of this phenomenon (though I'm far less optimistic than he is about the ability to reverse this trend).

aaaronic··on The Manuscripts of Edsger W. Dijkstra
Building floor numbers in at least a few countries I’m aware of start from zero or “G” ( or the local language equivalent for “ground“) with 1 being the first story above the ground.

I think you’re just biased to think that starting must “naturally” begin with 1.

Zero is just a good a place to start and some people do start counting from zero.

aaaronic··on Just let me select text
Ditto!
aaaronic··on Quantum Computing and the Hidden Subgroup Problem
I’m afraid I couldn’t follow. Too long since I used most of those terms or symbols.

Can anyone ELI5?

aaaronic··on Lossless Log Aggregation - Reduce Log Volume by 99% Without Dropping Data
The multi-line case can usually be fixed with simple configuration changes to a structured log format.

The other cases are more interesting, and pre-aggregation of all logs related to a correlation ID can be really helpful when debugging a specific incident, but it does seem like this proposal is the same basic trade-off around size and performance as with virtually any form of compression.

aaaronic··on Porygon Was Innocent: An epileptic perspective on the infamous Pokémon episode
I thought it was common knowledge that Pikachu was the culprit.
aaaronic··on A wonderful coincidence or an expected connection: why π² ≈ g
Multiplying by increasingly complicated expressions equivalent to “1” is what I remember doing for almost every problem in Quantum Mechanics.
aaaronic··on Why is 'Left Stick to Sprint' so unpleasant in games?
It’s not so bad when there’s at least sprint toggling (often an option in gameplay settings). Having to hold it down continuously can be a bit much, especially in games where you basically want to sprint 90%+ of the time.
aaaronic··on SSH as a Sudo Replacement
I can agree with that, though admit to being guilty of using sudo bash far more often than I should.

I honestly thought they’d be using ssh that way (single command at a time), though I’m still not sure to what security end.

aaaronic··on SSH as a Sudo Replacement
Am I missing something?

How is logging into ssh (sshd) AS root more secure than using sudo? I honestly don’t even know how dangerous that is because I’ve always been told to never allow it. I see here thought goes into preventing that for a remote user, so I’m not talking about that aspect of security here.

Maybe it has to do with #3 in the sudo limitations — I certainly don’t see any benefits vis-a-vis #1.

I totally get that this is an experiment, but I suspect it is more vulnerable than using sudo, not less (the open socket proxy looks interestingly vulnerable to a man in the middle attack).

Having said all that, I did learn some tricks old tools are capable of, so kudos for showing me something new.

Page 1 of 3Next →