HNHacker News
TopNewBestAskShowJobs

compacct27

260 karma · joined September 12, 2019

submissionscomments
compacct27··on Teaching my kid to code with a modern MUD
A MUD got me into programming, just wanted to make one myself. I was too young then. Now that I’m “grown”, every five years I feel like the kids these days have so many tools to make it easier or at least more knowable.

Also, that ASCII art(or pixel art?) as the header looks serene. Any tips/rabbit holes on achieving that art style?

compacct27··on Progressive Web Components
The issues were more behavioral for us. You can build the web component however you want, and the venn diagram of acceptable WC behavior vs React isn’t a full circle at all. Changing elements directly will mess up any VDOM-based approach, resetting state because rerendering means having a brand new WC, creating custom events in an esoteric way, it was a minefield of incompatibility beyond just “React can work with web components”
compacct27··on Progressive Web Components
For web components to be consumable across frameworks, you still have to write it to be compatible for different frameworks. Our platform team thought they could get away with just focusing on native js, but when it came time to use in React, many behavioral approaches were incompatible. Dealing with re-renders would clear the state of the WC, losing all dropdown items. The toggle button had an infinite re-render glitch when combined with setState. We lost the ability to require event handlers, and prod had a few P0’s over unhandled click events.

The ideal was to be close to the browser, but it’s mostly blown up in our face. The approach in this post would’ve been helpful, and it’s almost worth the cross-framework compatibility, but I just wish the entire web components standard didn’t come with an unbelievable amount of these and other problems

compacct27··on A pure scheme web programming tool
This really gets at the issue with JavaScript in the age of AI: it’s just not a terribly statically verifiable language, and DOM work is incredibly prone to failing silently while the app itself is clearly not working. We’ve had to paper over it with TypeScript and frameworks that impose constraints just to stop several classes of bugs, and even then it doesn’t go terribly well.

The flip side is that AI is making the underlying code more like a..compilation target? At least in the sense that, yes, as this site mentions, Scheme is ugly to read and would be hell to write the old way, but with the new way..maybe we can try because it would give us what native JavaScript and the latest browser standards never could: reliability

compacct27··on How to Kill the Code Review
This isn't it. After spending my morning on a code review and catching several major issues despite it being a +7kloc diff, the real question is--how do we make the tooling around code reviews better? Intentions aren't enough, they're vague and the implementation details matter. They help, though, and this is closer to the answer to code reviews: check out the intentions, get an AI-assisted overview of the architecture of the code, then dive into the more important parts of the architecture.

Maybe it's because I'm in UI dev, but intentions aren't enough at all

compacct27··on OpenAI ChatKit
They have web components if you want
compacct27··on Apps SDK
“Build our platform for us!”
compacct27··on Microsoft Favors Anthropic over OpenAI for Visual Studio Code
Or less!
compacct27··on Lit: a library for building fast, lightweight web components
Integrating these web components into our React codebase has been pretty awful--more of a web components thing than a Lit thing, IMO. We have "scoped styles", except for certain important things like font sizes, so tons of little regressions everywhere when we swap in the web component in place of the old React one. DX-wise, we lost a lot, too. I assume the tooling will get better, or that we'll figure it out more, but it's mostly been a drag
compacct27··on What's happening to reading?
Another part of what happened is that the comment section feels more succinct and insightful than the actual article. Articles have to be long form, comments get to the point. It's sort of like your comment is the LLM response I wanted all along. And now we can personalize our reading and have a more meaningful outcome.

Maybe long form content solved a need back in the day when things were printed on paper and figured out well in advance, crossing their fingers on the relevance, and with where we are now we can suss it out without all the reading-as-middleman-to-knowledge

compacct27··on What Happens After A.I. Destroys College Writing?
The leverage has been flipped. We all had awful college classes teaching next to nothing, and now that you can get good grades without attending, what's left? "We lost critical thinking!" No, we were barely getting that in the first place. Now, classes need to be more valuable.
compacct27··on Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights
Oh my god, love these visuals. Geo data is so perfect for dataviz
compacct27··on Type-constrained code generation with language models
Honestly it's already working great in Cursor. Even adapting one type structure to another is quickly handled.
compacct27··on Building AI agents to query your databases
I’m sorry, does this send your database to Claude?
compacct27··on ADHD Didn't Break Me–My Parents Did
Biggest fear as a new parent is basically this. What if my ideals estrange my kid? They’re not bad ideals, but the kid might just not be wired for them. Working hard, doing good for others, building skills, all of that.

I wonder what this guy’s parents were seeing, what they were going through. From what I’ve seen from parents going through it, it can be really super challenging to handle a hyperactive child while still being, you know, an imperfect person yourself

compacct27··on Show HN: AI Tool Is Now Supporting React, Angular, CSS, Svelte, Vue
Gotcha, that wasn't obvious on mobile
compacct27··on Show HN: AI Tool Is Now Supporting React, Angular, CSS, Svelte, Vue
Well. I guess the demo doesn’t work for react components even when prompted for them? Overall the output seemed best for static demo showcasing, it was all HTML
compacct27··on Zettlr: Note-Taking and Publishing with Markdown
Obsidian Sync is great, was worried you were describing it for a sec there
compacct27··on Ask HN: What code editors or IDEs are easily scriptable?
In my experience, VS Code’s extension system really shines here. There are also boilerplate repos out there to get started.
compacct27··on Clojure macros continue to surprise me
The real trick here is dodging ASTs, which, after trying to use in so many parse-the-code projects, really aren’t needed all the time but are put pretty highly on the pedestal
compacct27··on The CrowdStrike file that broke everything was full of null characters?
The Austin tech culture is…interesting. I stopped trying to find a job here and went remote Bay Area, and talking to tech workers in the area gave me the impression it’s a mix of slacker culture and hype chasing. After moving back here, tech talent seems like a game of telephone, and we’re several jumps past the original.

When I heard CrowdStrike was here, it just kinda made sense

compacct27··on The Soylent delusion and the folly of food-hacking
"3rd party neutral observer" Taking a look at the rest of the blog, this one's anything but.
compacct27··on Did we lose our way in making efficient software?
Yup. Common. With all the performance blogs focused on time to first paint and the like, React introduced a whole new category that looks a lot like this
compacct27··on Ask HN: How did you raise your child to be high achieving academically?
Any good book recs?
compacct27··on The Elements of Differentiable Programming
Where do I go to learn what you just said?
compacct27··on A VC-backed startup's push for growth left little time for actual engineering
This is an amazing writeup. I usually judge an article by its comments (I know! but it's usually a good metric!), and for the absolute crickets this is getting, this article is well worth the read.

Filipino contractors essentially fulfilling what the eng team was supposed to, but didn't because their hands were tied up recruiting. Incredible.

compacct27··on Leaving LinkedIn
The big rewrite. Risky even on manageable codebases, and the leftovers never seem to fully go away. Who wants to score points on re-writing a tucked-away settings page several years into these?

I've seen so many attempts at these you'd think we'd have a framework for rewriting codebases. We don't. Automated codemods require a consistency that few adhered to. The code patterns evolved so much over time, it's like looking at tree rings.

We're basically putting code in boxes, re-arranging the boxes, and rightfully saying some arrangements are more efficient. How come we haven't found a better way? Automations operate at the code level, but not at the box level.

compacct27··on Show HN: Tweening web visualisation, in Rust – (WASM)
Why compare to WebGL? Tweening is for games, and making games in the DOM or in a Canvas is silly.
compacct27··on Show HN: Tweening web visualisation, in Rust – (WASM)
Eh, would rather see a comparison to a webGL approach given we’re doing tweening here. Fine to not have one, just sorta leaves the question up in the air. Faster than Canvas at the very least!
compacct27··on Show HN: Visualize the entropy of a codebase with a 3D force-directed graph
Love it, I think dependency trees are super underused data for static analysis.

The visualization here is amazing in its own right as well, can I ask what part of the codebase renders it and handled the force-directed part?

Page 1 of 4Next →