Viewing profile — alangpierce
alangpierce
HN member- Joined
- Wed, Jul 11, 2012, 8:50 PM UTC
- HN karma
- 2,122
- Public activity
- 430 items
- HN profile
- View on Hacker News ↗
About alangpierce
https://github.com/alangpierce
http://www.alangpierce.com
Recent public activity
-
comment
Comment #44408744
> What if you just... removed the AI part? Maybe I'm not fully understanding the approach, but it seems like if you started relying on third-party MCP servers without the AI layer …
-
comment
Comment #37193556
The state already puts a lot of resources into improving road safety, and that's one of the primary goals of the DMV, DOT, etc. There's reason to believe that driverless cars will …
-
comment
Comment #36608365
Interestingly, the ChatGPT Plugin docs [1] say that POST operations like these are required to implement user confirmation, so you might blame the plugin implementation (or OpenAI'…
-
comment
Comment #36038309
This article argues that there's no reliable way to detect prompt injection: https://simonwillison.net/2022/Sep/17/prompt-injection-more-... One solution to some indirect prompt in…
-
comment
Comment #35952400
Agreed that if you focus on any specific task, there's a safe way to do it, but the challenge is to handle arbitrary natural language requests from the user. That's what the Privil…
-
comment
Comment #35945040
Giving different permissions levels to different email senders would be very challenging to implement reliably with LLMs. With an AI assistant like this, the typical implementation…
-
comment
Comment #33797656
It looks to me like the profile viewer is actually speedscope ( https://www.speedscope.app/ ). I find it nicer for exploring profiles compared with Chrome's built-in viewer. To use…
-
comment
Comment #33448111
Like any transpiler, Sucrase can be run in parallel by having the build system send different files to different threads/processes. Sucrase itself it more of a primitive, just a pl…
-
comment
Comment #33444507
Hi, Sucrase author here. To be clear, the benchmark in the README does not allow JIT warm-up. The Sucrase numbers would be better if it did. From testing just now (add `warmUp: tru…
- story
-
comment
Comment #27780957
itertools.groupby isn't really the groupBy operation that people would normally expect. It looks like it would do a SQL-style "group by" where it categorizes elements across the co…
-
comment
Comment #24779697
The big difference, I think, is that dx87's post encourages the reader to make fewer assumptions and to keep an open mind ("While we don't know the details, it's entirely possible.…
-
comment
Comment #24620015
FWIW I find that TypeScript types can sometimes be overwhelming or hard to decipher, especially some third-party library type definitions. The connect function from react-redux is …
-
comment
Comment #24617897
Great project, really expands what feels possible with the new improvements in TS 4.1. I wonder if this strategy could also be used to have strongly-typed GraphQL queries without t…
-
comment
Comment #24613697
I use gitk pretty often and really like the fact that it acts like a modal, showing a richer UI visualization based on a shell command I run, and when I close it, I'm back to the c…
-
comment
Comment #24584466
> the downside of functional testing is that it's slower This is certainly true in some situations, but not all, and I think it's important to make decisions based on the tech stac…
-
comment
Comment #24265399
> We usually work on challenging problems At least for me (as someone who's more often answering the questions at my company), this varies quite a bit. Certainly sometimes there's …
-
comment
Comment #24032419
In case others are also confused by: > The first screen is a long scroll of 20 elegant looking blocks and titles none of which mean anything on their own. The page behaves differen…
-
comment
Comment #23755765
Certainly many of them do, but there are also plenty of people who want to focus on investments that also have a positive impact: https://en.wikipedia.org/wiki/Socially_responsible…
-
comment
Comment #23464171
Hi, Sucrase author here. I'm also having a hard time understanding the rationale here, but it looks like it's maybe a nuance around self-hosting. In general, for any regular TS pro…
- story
-
comment
Comment #22209192
I solved this using the ts-interface-builder and ts-interface-checker libraries and have been happy with the result. You write a plain TS type (rather than a custom syntax like io-…
-
comment
Comment #22149203
It was an attempt at standardizing a browser setting to opt out of tracking, but it was ultimately unsuccessful. https://en.wikipedia.org/wiki/Do_Not_Track
-
comment
Comment #22038196
Got it. So I understand, maybe someone saved a filename as the latin-1 encoding of some non-ASCII text, and Mercurial would need to support such files (but also would have no conte…
-
comment
Comment #22037655
It's interesting that they wanted to add b' prefixes to all strings, and I wonder if they would have had a better experience by embracing regular strings instead. At least in Pytho…