HN user

mg

7,489 karma

I like to build web projects and to meet like-minded people.

www.gibney.org

Posts77
Comments1,067
View on HN
chatgpt.com 3mo ago

ChatGPT Shopping

mg
1pts1
www.gibney.org 1y ago

Prompt Coding: No code edits, only complete rewrites

mg
3pts0
twitter.com 1y ago

Andrej Karpathy on the State of Web Development

mg
48pts56
techcrunch.com 1y ago

Tesla Cybertruck is the third best-selling EV in America

mg
5pts1
www.youtube.com 2y ago

Tesla Rebranded FSD Beta to Full Self-Driving Supervised [video]

mg
1pts1
www.inc.com 2y ago

Reddit IPO: March 21, 2024

mg
5pts0
twitter.com 2y ago

Free DALL-E 3 access sends Microsoft Bing user numbers through the roof

mg
1pts0
news.ycombinator.com 2y ago

Ask HN: Is genetic programming still actively researched?

mg
51pts22
news.ycombinator.com 3y ago

Ask HN: Best way to self-host your own tweets?

mg
3pts4
masto.ai 3y ago

All Twitter content seems to be behind a login wall today

mg
116pts99
twitter.com 3y ago

The Reddit strike could severely impact Reddit's SEO

mg
6pts4
twitter.com 3y ago

Twitter now prevents using a search to get a chronological feed

mg
2pts0
news.ycombinator.com 3y ago

Ask HN: Are there alternatives to the subreddits which will go dark next week?

mg
14pts15
twitter.com 3y ago

90% of Apple's value was created under Tim Cook

mg
21pts13
twitter.com 3y ago

AI overtakes Money in Google search popularity

mg
1pts0
www.gibney.org 3y ago

I asked an LLM to rewrite Rilke's Panther and take the role of the panther

mg
1pts0
masto.ai 3y ago

Monthly Fediverse posts cross 1 billion for the first time

mg
250pts167
www.gibney.org 3y ago

Eye Test

mg
1pts0
twitter.com 3y ago

Looks like ChatGPT will soon surpass Reddit in popularity

mg
2pts0
www.gnod.com 3y ago

A tool to compare the answers of multiple AI search engines

mg
1pts0
news.ycombinator.com 3y ago

Ask HN: Name of the comic where a pelican and his friends fall into a computer

mg
2pts1
www.gibney.org 3y ago

Show HN: My Bookmarklet Editor

mg
9pts1
vay.io 3y ago

Vay – These remote controlled, driverless cars are driving in Germany now

mg
2pts0
twitter.com 3y ago

Looking at the Python documentation can be dangerous

mg
2pts5
www.cnn.com 3y ago

Banksy confirms seven new murals in Ukraine

mg
6pts0
twitter.com 3y ago

Three things to like about the Fediverse

mg
3pts0
en.wikipedia.org 3y ago

Buridan's Ass

mg
2pts0
news.ycombinator.com 3y ago

Ask HN: Software to turn black and white image into plottable SVG?

mg
3pts12
www.bloomberg.com 3y ago

NASA Delays Artemis I Moon Launch Again on Tropical Storm Risk

mg
1pts0
github.com 3y ago

Show HN: TwitterToNitter. A bookmarklet that makes reading on Twitter easier

mg
90pts46

Wouldn't a "toxic waste tax" be better than all these individual regulations?

Have a sales tax on each product that corresponds to the toxicity of its components.

Exempt recycled materials from the tax so companies have an incentive to collect old parts and recycle them, preventing them from going to a landfill.

Agreed that it is not linear.

I wrote my own agent, and it sends data to LLMs in this order: "General Prompts (How to write good code)" + "The Code" + "The Feature Request". This means the KV cache will be used even when the feature request changes.

And output tokens are usually way less than the input tokens.

So I think that my approach is very lightweight on token usage compared to an interactive session.

It would be interesting to measure it for the other agents out there. Sending a feature request two times vs an interactive session.

It is the other way round.

In an interactive session, adding "Fine, but make the button red" after the model generated a first solution more than doubles the tokens used. As the model now not only gets the original code and the feature request but also the updated code plus the change request as input tokens.

Sending a feature request to an LLM and then sending the feature request again with "The button shall be red" only doubles the tokens used.

Considerations about what goes on in agents internally will probably not be part of software development for long.

Personally, I already see LLMs and agents as blackboxes. I give each feature request to multiple LLMs and then compare the results. I don't manually use "sessions" at all. I just look at the outcome. When I dislike it, I "git reset --hard", change my prompts and restart the feature request.

To have an ongoing sense of which agents perform best, I keep a log and calculate an ELO score of which agents meet my demands best. This score is imporant to me, not so much how the agent achieves it.

In my current workflow, yes, I read all code.

In fact, I usually let multiple LLMs implement the same feature, and then I compare them. I even run my own arena in which I calculate Elo scores for LLMs from my perspective of which one implemented features better.

Having the ability to control code agents via voice would not take away my ability to do that. But I think in the future, that will become less and less necessary. If we look back at this conversation in five years, it will look very archaic, and we will be used to having superhuman AI do everything for us. In 10 years, it will sound like a strange idea that humans were once fiddling with code to improve the quality.

    How would you detect the
    presence of bugs in this
    scenario?
I would ask AI. "Did the last commit introduce any bugs or unintended consequences?". In fact I already use this prompt after every change I make manually.
    How would you make sure the LLM
    isn't adding yet another
    useless, redundant function to
    the code base?
By asking AI. In fact, I already run a long "Can you refactor anything in this codebase to reduce redundancy, improve readability, performance or maintainability" pretty regularly.

It would tell me about the changes like a human would.

"It changed the plot function so it takes another parameter called linewidth. It also added an input field in the stylecontrols section where the user can ...".

    you will be surrounded by an ecosystem of
    devices, none of which stand alone, but are
    more like portals to interact with your agents
I would be really happy with my phone + headphones as the device I use most. But only if I could use Gemini (or ChatGPT or Grok or any other chat agent) in voice mode and say "SSH into my GitHub Codespace soandso and implement feature soandso.". And it replies "Did it. I told copilot (or codex or whatever coding agent lives on that VM) to implement the feature".

And then a minute later I could ask it "Is copilot done yet?" and it replies "No, looks like it is still working on it". And then a minute later I ask again. It replies "Yes, it finished. It changed chart.py and styles.css. Do you want me to tell you what specific changes it made to the files?".

But it looks like none of the chat agents with voice interface have such a connector at the moment? An SSH connector would be the most useful. But a "GitHub Codespace connector" or something like that would also do.

I wonder if that will be a missing piece for long. If so, I would build an agent with voice mode and ssh connector myself. But I guess it should come out from the big guys any moment now?

I wrote my own tooling around the raw LLMs:

I can tick files in Vim, those get concatenated into a prompt. Along with a feature request. Plus an instructions file that tells the LLM how to reply. Plus my general "rules for good code" file, plus one "rules for good code" file per language involved, plus a project specific overview file. The LLM then answers with a list of changes it wants to make to the code. My tooling then applies those changes and I look at them via "git diff". If I like it, I commit. If not, I change one of the prompts and start the process again.

Instead of replying with code changes, the LLM can also decide to request more files. I wrote a little DSL for that.

I described the beginnings of this workflow last July:

https://www.gibney.org/prompt_coding

Feels like an eternity ago. I think I will write a new blog post this July and describe how the workflow has evolved over the past year.

Wake up! 16b 2 months ago

Makes me wonder how many bytes the shortest possible Mandelbrot implementation would need.

However you look at it, sitting at home doing nothing is not the right approach for engineers to get their company back on track.

If there is no money to pay them, they should get shares in the company. So if their R&D is successful, they participate in the outcome.

    how would claude code work from a browser environment?
If you want an agent (like OpenClaw) to write software, why have it use another agent (Claude Code) in the first place? Why not let it develop the software directly? As for how that works in a browser - there are countless web based solutions to write and run software in the cloud. GitHub Codespaces is an example.
    German chancellor Friedrich Merz ... 
    lashed out at German workers to
    “simply do a little more,”
Germany literally pays people to do nothing.

A friend of mine, an engineer who works in the German car industry, recently told me that nowadays he has a lot of free time. Because the company he works for has so few orders that the company is granted "Kurzarbeitergeld" - the government pays 60% of the salary if the employees work less.

That blew my mind. If I had fewer orders, I would work more to increase the quality of my product and my efficiency. Working less as a reaction to losing market share seems completely counterproductive to me.

MacBook Air with M5 5 months ago

What basic office tasks are that?

The last time I was excited about the performance of local computers was in the 90s I think.

Modern laptops are so insanely fast. Not sure if they are 2x, 10x or 100x faster than I need them to be. But I never hear fans. I never have to wait for the machine these days.

MacBook Air with M5 5 months ago

The one thing that interests me most when it comes to laptops these days is weight. So I jumped right into the tech specs section and looked it up. Since this is the "Air" laptop of the company that is popular for thin and lightweight devices, my hopes were high.

But ...

The 13 inch version is heavier than a ThinkPad X1 Carbon. Which has a 14 inch screen and can run Linux.

I'm not sure. I have not seen them on any large retailer in the USA like Amazon, Walmart, Newegg, BestBuy etc.

Maybe if someone here is in the USA and has bought one, they can chime in and tell where they got it from?

I have been maintaining this chart of phones with replaceable batteries available in the USA for 10 years now:

https://www.productchart.com/smartphones/removable_battery

Man, is it empty these days. The chart used to be pretty full. Now it only has about 1% of all phones that are in the Product Chart database. As the other 99% have fixed batteries.

I'm looking forward to see if the EU decision will push some companies to do this for their US versions too and revive the chart.

Are you located in a country where Google does not yet show AI answers?

In most countries, AI answers are the central aspect of Google now. Not the ranked pages.

I don't think we have seen "all functionality" yet.

We have not seen iterative AI use for example.

The use case, where you tell the model "Solve this task. Then solve it again. Keep the better solution, then solve it again. On and on. Tomorrow, show me the best solution.".

And also not the "Run a company on your own" use case.

Those might make people and companies use models full-time. The price of that will be way different from current subscription prices. The TCO of a single instance of a SOTA model is on the order of $100k per year.

The earnings do not need to come via direct monetization.

Google search revenue for example was over $200B in 2025. This revenue will be tightly coupled to the quality of their AI models in the future.

My napkin-math approach to get a bird's eye perspective on the situation:

A $1T investment needs to produce on the order of $100B in yearly earnings to be a good investment.

Global GDP is about $100T.

So one way for things to work out for the AI companies would be if AI raises GDP by 1% and the AI companies capture 10% of the created value.

This is a great example of how useful the File System Access API is.

On http://co-do.xyz/ you can select a directory and let AI get to work inside of it without having to worry about side effects.

The Fily System Access API is the best thing that happened to the web in years. It makes web apps first class productivity applications.