bgrainger

Joined 16 years ago

Karma
355
Submissions
104
Member since
Dec 18
Director of Software Development at Faithlife.

http://faithlife.codes/

[ my public key: https://keybase.io/bgrainger; my proof: https://keybase.io/bgrainger/sigs/t_sdP8-ktPcjS-f6m6GKpcHa90Pmtm1bRpCQA_l4Hig ]

View on Hacker News

Recent submissions

Comment · 1 month ago
Hard to believe that article doesn't contain the phrase "slide guitar".
Comment · 6 months ago
Comment · 6 months ago
Comment · 7 months ago
I first encountered this in Bjarne Stroustrup's 2000 book, _The C++ Programming Language_. As he notes in the introductory material:

> In code examples, a proportional-width font is used for identifiers. … At first glance, this presentation style will seem “unnatural” to programmers accustomed to seeing code in constant-width fonts. However, proportional-width fonts are generally regarded as better than constant-width fonts for presentation of text. Using a proportional-width font also allows me to present code with fewer illogical line breaks.

I switched years ago and would never go back to monospace.

Comment · 11 months ago
Comment · 11 months ago
https://news.ycombinator.com/item?id=45968731

  Why can I not authenticate into Google Antigravity?
  Google Antigravity is currently available for non-Workspace personal Google accounts in approved geographies. Please try using an @gmail.com email address if having challenges with Workspace Google accounts (even if used for personal purposes).
https://antigravity.google/docs/faq
Comment · 1 year ago
Completely agree, and I've started writing more Roslyn analyzers to provide quick feedback to the LLM (assuming you're using it in something like VS Code that exposes the `problems` tool to the model).

I also want C# semantics even more closely integrated with the LLM. I'm imagining a stronger version of Structured Model Outputs that knows all the valid tokens that could be generated following a "." (including instance methods, extension properties, etc.) and prevents invalid code from even being generated in the first place, rather than needing a roundtrip through a Roslyn analyzer or the compiler to feed more text back to the model. (Perhaps there's some leeway to allow calls to not-yet-written methods to be generated.) Or maybe this idea is just a crutch I'm inventing for current frontier models and future models will be smart enough that they don't need it?

Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
We self-host GitHub using GitHub Enterprise Server. It is a mature product that requires next-to-no maintenance and is remarkably stable. (We did have a period of downtime caused by running it on an underprovisioned VM for our needs, but since resolving that it hasn't had problems.)

Of course we have a small and mostly unchanging number of users, don't have to deal with DDoS attacks, and can schedule the fairly-infrequent updates during maintenance windows that are convenient for us (since we don't need 100% availability outside of US working hours).

I don't have the metrics in front of me, but I would say we've easily exceeded github.com's uptime in the last 12 months.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton