HNHacker News
TopNewBestAskShowJobs

cgarvis

516 karma · joined March 14, 2012

Building croft.now

Socials: - github.com/cgarvis - x.com/cgarvis

submissionscomments
cgarvis··on The foolishness of "natural language programming" (1978)
I've seen some newer testing frameworks where you prompt for the outcome you want under a specific scenario. The first run is a LLM agent that figures out the steps but those steps are then used for recurring runs. If something fails, it goes back to the agent loop to see if it's an actual error.

This works well in e2e type tests where the test implementation might change but the customer experience hasn't.

So maybe there is a hybrid approach in our future.

cgarvis··on The foolishness of "natural language programming" (1978)
This is the bet I'm making with Croft. LLMs to figure out the messy bits but once it's figured it, software is the better tool. Let the LLM write the software.

This is what software engineers do but just more expensive and time consuming.

cgarvis··on Ask HN: Who is using MCP in production?
MCP is for when your end user (the one driving an LLM Agent) is non technical. Most non technical people are not going to install a CLI on their computer. Most are not going to be driving the LLM agent via a terminal.

It also very helpful when you need auth. MCP OAuth with CIMD makes it easy instead of cumbersome process of generating API Keys.

If you are technical and already using CLIs, then MCP doesn't give you much.

cgarvis··on The Twelve-Factor App (2025)
Fly.io brings back some of that easy of deploy.
cgarvis··on Building optimistic UI in Rails (and learn custom elements)
never knew you could do css selectors on custom elements! does seem like syntactical sugar over classes. I do like the current trend with tailwind: style with markup using smaller components. But maybe there is something here with so many components being just styles...
cgarvis··on Show HN: Sculptor – A UI for Claude Code
Are you doing got worktrees in the backend?
cgarvis··on Cognitive load is what matters
Reminds me of the three tribes of software programmers. https://josephg.com/blog/3-tribes/amp/

Mort == maker Elvis ==? hacker Einstein == poet

cgarvis··on FTC bans hidden junk fees in hotel, event ticket prices
Dish outsources sales calls to a third party. This third party doesn’t have access to customer accounts so they have to send you to an actual Dish call center. Not as nefarious as you think but still frustrating.
cgarvis··on Llama-3.3-70B-Instruct
ChatGPT has a Mac app. If you want to run your own models, Ollama with Chital is great.

https://github.com/sheshbabu/Chital

cgarvis··on TurboWarp Desktop
+1 for osmo
cgarvis··on Gamification affects software developers: Cautionary evidence from GitHub
Recently read “Working in Public” where the author talks about how GitHub is to open source as the new feed was to Facebook/social networks
cgarvis··on Stop Writing Dead Programs [video]
Smalltalk has a change file and an ability to be source controlled. My understand is that the source controlled output is not human friendly.
cgarvis··on Ask HN: Solo Dev Stack of 2022?
I’m currently building one by myself in Elixir/Phoenix/Liveview/Tailwind using Fly.io for deployment. Elixir has been amazing for more complicated app dev. A lot of previous ruby people there. Liveview gives a React like experience without the extra complexity. Tesla is great for building api integrations. Knock has a great elixir api for notifications and emails. Telemetry is built into most things. Livebook is Jupiter notebooks but better, great for quick prototyping or doing adhoc data analysis.

You can get most of this from just using https://legendaryframework.org/

Want native apps? LiveView Native is a thing https://native.live/. One app to do it all.

cgarvis··on Play with TailwindCSS in the Browser
+1 Using it in a Elixir/Liveview app. Using phx_component_helper has made making those components really easy. https://phx-component-helpers-demo.onrender.com
cgarvis··on Adobe uses DMCA to nuke project that keeps Flash alive, secure and adware free
Just looked into this with CheerpX. You need the CheerpX license (15k/yr) and Flash license (25-50k/yr).
cgarvis··on Grain 0.4 – Cereal
Kinda feels like a JavaScript version of Elixir
cgarvis··on How we got to LiveView
Slight difference from stock phoenix but yes. Only area I’m not 100% on is auth. https://hexdocs.pm/phoenix_live_view/live-navigation.html
cgarvis··on Red Ventures has turned very specific advice into very big business
Started out as a DirectTV reseller!
cgarvis··on Red Ventures has turned very specific advice into very big business
They own 5% of all phone numbers in order to pull this off.
cgarvis··on The 5-Hour CDN
just started to use them for an elixir/phoenix project. multi region with distributed nodes just works. feels almost magically after all the aws work I've done the past few years.
cgarvis··on Startup Stock Options – Why A Good Deal Has Gone Bad (2019)
The population has grown from 205 million in 1970 to 330 million today. If you think 50% of the people join the workforce that is an increase of 65 million more people working.
cgarvis··on No script is too simple
I've been doing this with Makefiles for a while. It has always bugged me that I'm not "making" an artifact. Think I"m going to try this `run.sh` approach.
cgarvis··on No script is too simple
Here is a starting point for a AWS SAM Golang project. It even comes with a `make help` command.

https://gist.github.com/cgarvis/61d70eeb1288bfee540c59cad095...

cgarvis··on Microservices [video]
PG has an essay on keeping your identity small. It high lights the fact that when there is no way to prove one answer is correct, it’s then subjective which is the “right” answer. He uses the example of politics. Good read.
cgarvis··on Genetically engineered moth is released into an open field
Toygers are real: https://en.wikipedia.org/wiki/Toyger
cgarvis··on On Pair Programming
You don’t need an employer to by into pairing. Get them to buy into managing work at the team level instead of the individual level. Then you can safely pair with your team mates.
cgarvis··on On Pair Programming
I used pair programming at a startup with a heavy junior engineering team. I loved it cause I could pair with any one of them and that “mentoring session” would be retaught without me having to do it. Our junior engineers progressed really fast in a short amount of time and I didn’t lose my mind having to reteach the same lessons over and over.
cgarvis··on On Pair Programming
Goal of pair programming isn’t better quality code, that is a side effect, but better quality solutions. It’s one of those 1+1=3 types of things.

It is also a great training tool. Can’t tell you how many times I’ve had junior engineers ask me about something that I thought was common knowledge or wouldn’t have thought to mention cause I thought it was trivial.

It’s a tool in your toolbox. Don’t use it on every problem.

cgarvis··on On Pair Programming
Pairing programming is like any skill. If you never do it, you will be terrible at it. I also believe that pair programming requires a level of psychological safety that not all orgs possess.
cgarvis··on Ask HN: Are there any openly available software architecture documents?
I found the 4+1 architecture docs very helpful when working with a recent client. https://en.m.wikipedia.org/wiki/4%2B1_architectural_view_mod.... What I like about it is that it separates the architecture into four views each for a different audience
Page 1 of 3Next →