Better HN
topnewbestaskshowjobs
Log inSign up

bgrainger

355 karma · joined Dec 18, 2010 (15y ago) · 105 submissions

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 ]

Submissions

1.

Aspire 17 Is Released(devblogs.microsoft.com ↗)

1 points · by bgrainger · 6d ago · discuss

comment 2mo ago · link · parent

Hard to believe that article doesn't contain the phrase "slide guitar".

comment 6mo ago · link · parent

https://github.com/L1v1ng0ffTh3L4N/Proof-of-Concepts/blob/ma...

4.

AI-Assisted Breach of Mexico's Government Infrastructure Report(gambit.security ↗)

1 points · by bgrainger · 7mo ago · 1 comment

comment 7mo ago · link · parent

The promise was that WPF would use hardware-accelerated libraries such as DirectWrite to put text on the screen even faster than GDI+ (using the CPU) could do. The reality turned out to be quite different: multiple layers of abstraction and just plain inefficient WPF code [1] meant that users needed powerful CPUs and GPUs just to get reasonable performance.

[1] https://faithlife.codes/blog/2019/06/improving-wpf-text-disp...

comment 7mo ago · link · parent

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.

7.

Planning Center is the newest Rails Foundation Contributing member(rubyonrails.org ↗)

2 points · by bgrainger · 8mo ago · discuss

comment 1y ago · link · parent

This feels like a dumb question, but why doesn't Cursor implement that tool?

I built my own simple coding agent six months ago, and I implemented str_replace_based_edit_tool (https://platform.claude.com/docs/en/agents-and-tools/tool-us...) for Claude to use; it wasn't hard to do.

comment 1y ago · link · parent

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 1y ago · link · parent

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 1y ago · link · parent

Storing issues in a local SQLite database reminded me of Fossil SCM, which natively supports "tickets" as a source code artifact (and which uses a SQLite database under the hood): https://fossil-scm.org/home/doc/trunk/www/bugtheory.wiki.

comment 1y ago · link · parent

One interesting thing about this repo is that the "Contributors" view shows "Copilot" as the #6 contributor: https://github.com/github/github-mcp-server/graphs/contribut...

It looks like that primarily comes from code review suggestions it's made on PRs, e.g., https://github.com/github/github-mcp-server/commit/031dd741a....

13.

Open Source Maintenance Fee(opensourcemaintenancefee.org ↗)

3 points · by bgrainger · 1y ago · 8 comments

14.

Docker Announces Don Johnson as New CEO, Succeeding Scott Johnston(docker.com ↗)

2 points · by bgrainger · 1y ago · 1 comment

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Duplicate of https://news.ycombinator.com/item?id=42317968

comment 2y ago · link · parent

I couldn't add "Sydney", "Auckland", "Johannesburg", or "Buenos Aires". Is the entire Southern Hemisphere missing?

18.

More than a quarter of all new code at Google is generated by AI(twitter.com ↗)

23 points · by bgrainger · 2y ago · 31 comments

comment 2y ago · link · parent

> [Dr. Jonathan] Anomaly is a well-known figure in a growing transatlantic movement that promotes development of genetic selection and enhancement tools.

Nominative determinism is real.

comment 2y ago · link · parent

There's an ongoing issue with ranking in Google Search that's affecting a large number of search results. We've identified the root cause and this issue is unrelated to the ongoing core update rollout.

21.

Silicon Valley's False Prophet(wheresyoured.at ↗)

41 points · by bgrainger · 2y ago · 3 comments

comment 2y ago · link · parent

Are you sure? The article says "cite this as Yan et al. (May 2024)" and published-time in the metadata is 2024-05-12.

Weird: I just refreshed the page and it now redirects to a different domain (than the originally-submitted URL) and has a date of June 8, 2023. It still cites articles and blog posts from 2024, though.

23.

The People Deliberately Killing Facebook(wheresyoured.at ↗)

127 points · by bgrainger · 2y ago · 42 comments

comment 2y ago · link · parent

Previous discussion (from when it happened but before the victim company was named): https://news.ycombinator.com/item?id=39248649

comment 2y ago · link · parent

https://news.ycombinator.com/item?id=38865020

comment 2y ago · link · parent

> the updater is busted, for the same reason the app stopped working. So re-download Keybase from http://Keybase.io and reinstall.

https://twitter.com/KeybaseIO/status/1741607828706545766

comment 3y ago · link · parent

The Kenya joke explanation is fun, but probably not the real reason. ChatGPT (GPT-3.5) also fails for "L":

User: Did you know that there is no country in Africa that starts with the letter "l"?

ChatGPT: Yes, that's correct! As of my last knowledge update in September 2021, there is no sovereign country in Africa that starts with the letter "L." If there have been any changes or new developments since then, I wouldn't be aware of them.

(Libya is just one counterexample.)

28.

Celebrating Ten Years of Hacktoberfest(digitalocean.com ↗)

2 points · by bgrainger · 3y ago · discuss

1234