Hacker Timesnew | past | comments | ask | show | jobs | submit | thangalin's commentslogin

Claude has neither a soul nor a warbleflupper.

> LLMs are not actually doing a great job of translating ideas into tangibly useful software

Here is the source code for a greenfield, zero-dependency, 100% pure PHP raw Git repository viewer made for self-hosted or shared environments that is 99.9% vibe-coded and has had ~10k hits and ~7k viewers of late, with 0 errors reported in the logs over the last 24 hours:

https://repo.autonoma.ca/repo/treetrek



Frankly, I created dozen of such projects in the last weeks. Recently I just deleted them all. I feel like there's no point. I cancelled my Claude subscription, too.

I got back learning from books and use LLMs for "review my code in depth and show me its weak points" occasionally.


LLMs in teacher mode instead of solver mode can be great. ("review this change" is kinda sorta teacher mode.)

How is this greenfield?

How is it not?

You can trace the back commits to the first to show that it was started from scratch:

https://repo.autonoma.ca/repo/treetrek/commits/c7742cb3c580d...


It's using a mature data model from an existing framework (git), and it's essentially a simpler clone of other similar projects.

That's brownfield to me. Greenfield would develop a completely new system. This is a utility for an existing system, one whose design is clearly a copy of existing utilities. Both of those make this brownfield.


On Tue, Oct 3, 2023, 1:18 PM, I wrote:

How many apps must people put on their phones, or payment cards people must carry, to pay to charge their vehicles with the convenience of a petrol station?

* https://parking.ubc.ca/are-there-electric-vehicle-ev-chargin...

"Charging fees can be paid through the Honk Mobile App or using a web browser with internet access."

* https://electricvehicles.bchydro.com/bc-hydro-ev-mobile-app

"You can use the BC Hydro EV app to activate stations on other networks across North America."

* https://www.flo.com/en-ca/products/software/flo-mobile-app/

"Download the FLO app for free. Access thousands of chargers on-the-go in our network and start your session with a tap."

* https://www.chargepoint.com/en-ca/drivers/mobile

"Get the ChargePoint App. The easiest way to find available stations, start charging and get updates when your EV is fully charged."

* https://ecocharge.ca/

"Download the AmpUp our mobile app from the Apple or Google Play store to."

* https://www.electrify-canada.ca/mobile-app/

"Use the Electrify Canada mobile app to schedule your home charging and find a public charging station. Sign up for an account to enjoy exclusive, members-only public charging features and pricing."

* https://swtchenergy.com/

"iPhone & Android app. No download required via SWTCH’s in-browser app. Tap-and-go charging with our complimentary RFID card."

I could not charge my Kona at multiple public charging stations around Vancouver:

* "Free" FLO Level 2 charger at New Westminster High School (requires sign up).

* BC Hydro Level 3 charger near a Real Canadian Superstore (requires sign up).

* AddEnergie Level 2 charger at Tsawwassen Mills (requires sign up).

* Honk Level 2 charger at a University of British Columbia parkade (requires sign up).

* Bonus: Most Tesla stations (no adapters available).

From Aging Wheels:

* https://www.youtube.com/watch?v=92w5doU68D8 (Oct 15, 2023; bad experience)

* https://www.youtube.com/watch?v=ouPiwt5hxXQ (Nov 24, 2024; better experience)

It's steadily improving, though!


I have owned an EV for a few years and a PHEV before that. Public charged primarily for a full year before switching to home charging and I've done multiple 500+ mile road trips. I've charged at EA, Tesla, EVgo, IONNA, MB-HPC, Pilot, Rivian, Red E, Nouria[ChargePoint activated], and those are just the DC Fast Chargers I remember off the top of my head.

Tesla and ChargePoint are the only ones that require an app. For those, my car's app can activate them if I don't want to download them.

Of course, I'm referring to the United States, I have not done a lot of charging in Canada.


> I could not charge my Kona at multiple public charging stations around Vancouver:

You could not, or you did not want to? There is a difference.


The linage can be traced back to Basile Bouchon's paper tape invention in 1725. The article doesn't mention the role of punched cards in The Holocaust, though, which my blog post goes into:

https://dave.autonoma.ca/blog/2019/06/06/web-of-knowledge/


I'll bite. Here's a 99.9% vibe-coded raw Git repository reader suitable for self-hosted or shared host environments:

https://repo.autonoma.ca/treetrek

There's still some work to do on the rendering side of model objects. Developing the syntax highlighting rules for 40 languages and file formats in about 10 minutes was amazing to see.

https://repo.autonoma.ca/repo/treetrek/tree/HEAD/render/rule...


Cool, thank you.

Edit, great example. What is your long term maintenance strategy, do you keep the original prompts around so you can refine them later or do you dig into the source?

Would love to see more of your workflow.


> difficult to keep [...] docs updated with actual code

I used my software and R Markdown documents to help address such problems. In the source code, you have:

    // DOC SNIPPET BEGAN: example_api_usage
    /**
     */
    function amazing_function( char life, long universe, string everything ) {
    } 
    // DOC SNIPPET ENDED
In the R Markdown you write an R function to parse all snippets, then refer to snippets by name. If the snippet can't be found, building the documentation fails, and noisily breaks a CI/CD pipeline.

What's nice is that you can then use this to parse C++ definitions into Markdown tables to render nicely formatted content.

The general idea is that you can have "living" documentation reference source code and break on mismatch. Whether you use knitr/pandoc or python or KeenWrite/R Markdown[1] is an implementation detail.

[1]: https://keenwrite.com/


In the Elixir ecosystem (where documentation is considered a "first-class citizen" in the language), you can run code examples as part of your test suite in a similar fashion ("doctest"): https://elixir-recipes.github.io/testing/doctests/

> documentation is considered a "first-class citizen"

How exquisitely Knuthian!


Syntax highlighting rules, initially vibe-coded 40 languages and formats in about 10 minutes. What surprised me is when it switched the design from a class to the far more elegant single line of code:

    return \file_exists( $file ) ? require $file : [];
* https://repo.autonoma.ca/repo/treetrek/blob/HEAD/render/High...

The rules files:

* https://repo.autonoma.ca/repo/treetrek/tree/HEAD/render/rule...


> Is this kind of facial reconstruction from a skull legit?

What did you search for when you tried to verify this yourself?

https://www.youtube.com/watch?v=klxUyd3CgrE

Aside, a similar approach was used in a MacGyver episode nearly 40 years ago ("The Secret of Parker House"):

https://www.imdb.com/title/tt0638792/mediaviewer/rm119321036...


> What did you search for when you tried to verify this yourself?

That's quite the assumption, considering most people here would trust HN users here over a google search, understandably.


I did check the Wikipedia article, and they have an example of a reconstruction next to an actual photograph, and to my eye they looked nothing alike.

How Cosmic Ray Influenced an Election:

https://scotopia.in/journal/journalbkend/paper_list/v-4-i-1(...

Why Electronic Voting Is Still A Bad Idea:

https://www.youtube.com/watch?v=LkH2r-sNjQs

My Līberum Cōnsilium (see references on page 55):

https://repo.autonoma.ca/repo/delibero/raw/HEAD/docs/manual/...


Of possible interest:

* https://dave.autonoma.ca/blog/2022/01/08/logging-code-smell/

* https://dave.autonoma.ca/blog/2026/02/03/lloopy-loops/

Both of these posts discuss using event-based frameworks to eliminate duplicative (cross-cutting) logging statements throughout a code base.

My desktop Markdown editor[1], uses this approach to output log messages to a dialog box, a status bar, and standard error, effectively "for free".

[1]: https://repo.autonoma.ca/repo/keenwrite/tree/HEAD/src/main/j...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: