Better HN
topnewbestaskshowjobs
Log inSign up

gregwebs

4,744 karma · joined May 15, 2007 (19y ago) · 1,511 submissions

Software engineer.

Interests in security, startups, health, sustainability, productivity, community.

Side projects:

* eatnutrients.com * docjumper.com

github: gregwebs

gregwebs.at.hn

Submissions

comment 2d ago · link · parent

This article goes over some of the math involved with that: According to one article 1GW of solar takes 64 square miles [1], and another article calculates it at 52 square miles [2]. You might see other articles that state a factor of 10 less, but those are not producing 1GW 24/7 into the winter.

One of the data centers being planned is designed to require 18GW of power.

[1] https://liberalandlovingit.substack.com/p/delivering-1gw-of-...

[2] https://medium.com/@simon.palmer_42769/1-gw-of-continuous-so...

comment 2d ago · link · parent

Now that the US is fracking shale, most of the natural gas production in the US is a byproduct of oil production. In the Permean Basin natural gas sometimes even trades negative. When it doesn't get captured, in the US it is supposed to be flared- burned onsite without any productive use (not flaring has a worse greenhouse effect).

As long as we are going to keep pumping every drop of tight oil out of the ground its going to make sense to generate power (or intentional useful heat) from the natural gas that comes with it rather than just flare it at the extraction site.

Data centers use what comes in on a transmission line or what they can build themselves. When they take from a transmission line it's not their choice how the energy was generated- its our choice.

When a data center builds its own power plant natural gas is the only option. Nuclear has been regulated into impossibility although there is an effort to change this with small module nuclear reactors. A solar farm would need massive amounts of land to keep up with a data center in winter (and massive amounts of batteries to keep it running at night).

comment 3d ago · link · parent

I would like to see another option explored/explained: abandonment.

As I understand it, one of the reasons for a larger plume is the fact that they are directing the explosion away from the community.

So in addition to abandoning the munitions/military facilities this might also mean abandoning Middleton, IA, population 363. They would be weighing relocating with incentive against dealing with heavy metal contamination in their community.

comment 4d ago · link · parent

I am happy to pay a fair cost and not have ads. If everyone blocks ads the content isn't going to exist or if enough block they are going to work harder to block ad blockers.

I have paid for Kagi and Spotify for a long time. Its tragic that most of the web only offers a large monthly subscription to read a single article or intrusive ads- I do use Zen on Desktop and Orion on mobile due to that.

comment 4d ago · link · parent

If you watch Youtube much at all, Youtube Premium Lite (no ads) is well worth the $9/month. This is included with their $20/month AI plan. Spending that other $11/month wasn't worth it before Neon, but it might be now.

There are 3 different antigravity quotas:

* gemini (previously just Gemini 3.8 Flash)

* claude and gpt (very small quota)

* argon (very small quota)

The Gemini quota now includes Neon and Hydrogen. Hydrogen (medium) competes with DeepSeek (high). Its within 2x on cost and more intelligent.

This is all from benchmarks- I am only just trying these models out now.

comment 5d ago · link · parent

Token spend is not increasing much at the moment: https://www.apollo.com/wealth/insights-news/insights/daily-s...

Heavy Anthropic users have a strong incentive to demand DeepSeek cost/task. Its a ~10x difference. There are other ways that will be discovered to improve cost/task. Those decreases in cost don't necessarily lead to dramatically lower bills: it can be soaked up by more heavily using AI in existing processes (code reviews, veifications, etc). And we will see a lot more software being developed over the next few years.

Anthropic stock seems like a bet as to whether they can both maintain their leadership role in software against intense competition and further develop other industries outside of software.

comment 1w ago · link · parent

After I created this skill for verification, it completely changed my level of trust with AI coding.

https://github.com/gregwebs/skills-sdlc/blob/main/skills/ver...

The implementation process that I am using also looks for verifications during planning and reviewing and makes sure they are completed. It does use a lot more time and AI spend than just asking AI to do something. I still do the latter for simple or noncritical changes. I had to switch to using DeepSeek as my workhorse to keep down my spend.

https://github.com/gregwebs/skills-sdlc/blob/main/skills/imp...

comment 2w ago · link · parent

A backend API service may have some core business logic or other properties that would be worthwhile to prove certain properties about.

We need proof systems that are designed to work with our programming languages- working with the code so it more likely represents reality. I like verus with Rust and I have a skill for using it: https://github.com/gregwebs/skills-sdlc/blob/main/skills/rus...

comment 2w ago · link · parent

I have been using Pi most of this year. Just one problem that's going to make me move to deepseek harness: no subagent support. I am using tintinweb/pi-subagents and it works, but always wondering if there is a better option. It doesn't seem to work right with Herdr's agent status.

I have a plugin for rotating between providers as quota gets used up by altering the model used by the tintiweb subagents. https://github.com/gregwebs/pi-quota-dispatcher

comment 2w ago · link · parent

This looks quite similar to docker sandbox (sbx). It uses Lima for VMs under the hood. Windows advertised as not supported (Lima is missing features on Windows).

Like Docker Sandbox this meets what I think should be our standards in the AI age: kernel isolation and secret shielding in addition to network and disk isolation.

I have been working on a similar project because I haven't seen one before that to me didn't have security design deficiencies. This project looks to have made good design decisions around security.

The things that are design choices for these tools are

  * agent integration
  * docker image composition
  * are vms more persistent or throw away
  * managing configuration
It does look like it has some design decisions that are optimal for convenience but might lead to inflexibility. It assumes 1 VM per directory. It is trying to auto-detect what someone needs in an image and provide well integrated images and tools out of the box but I don't see how to just provide my own image.

comment 2w ago · link · parent

Its a good point that there is benefit to using general intelligence models to figure out what code to write and to write specs. Implementation plans as well as long as the general intelligence is also great at coding. But you would actually prefer here the model that performs best in your business domain rather than best at general intelligence.

The Opus frontier model will spin up a cheaper Sonnet subagent to explore the code base. Similarly we can have a Pareto optimal subagent write most code and verify it.

comment 2w ago · link · parent

These general intelligence/capability benchmarks don't apply to your specific task. If you are coding, you want just benchmarks for coding. I don't see performance+price at this benchmark for coding. When you look at just coding, DeepSeek is Pareto optimal for a good portion of coding benchmarks. For example here, although even this is very flawed because it only benchmarks max/xhigh effort: https://artificialanalysis.ai/agents/coding-agents

Closed models might be better generalists because they don't have that much constraint on size and come from well funded labs that can afford to better train for generalization. If a model's actual goal is to be open then smaller is better.

comment 2w ago · link · parent

It's sad that we have to pay a different company to do it, but it seems they mostly just remove junk or re-priorize Google results. Google is showing us results in a way that maximizes ad/click revenue for Google. Kagi is showing results in a way that maximizes the likelihood that you will pay Kagi for that search service itself.

comment 2w ago · link · parent

Found it on that page, but they don't have it on their coding page.

Their coding page shows DeepSeek Max as Pareto optimal: https://artificialanalysis.ai/agents/coding-agents Costing 1/2 of Terra Xhigh. It would also be great to see Sol and Opus not on max there.

Not a useful benchmarking site for coding unless you only want to run your models on Max.

comment 2w ago · link · parent

1-2) Claude $20/mo (planner) Codex $20/mo (reviewer) Deepseek $1-3/day workhorse.

4) A standard /implement skill creates separate agents for different parts of the workflow. It uses Claude for planning, codex for reviewing, and deepseek for doing and orchestrating. https://github.com/gregwebs/skills-sdlc. I also have a plugin for switching between providers when quota gets low: https://github.com/gregwebs/pi-quota-dispatcher

I can produce a significant amount of low-defect production quality code while keeping costs less than $100/mo. It is probably at least 3x slower than just asking for an implementation, but defects cost time and money later.

3) Pi harness with herdr for organizing multiple projects/agents and Collie for mobile access (on a tailscale network). I have also been happy using zellij previously and might go back to it if the experimental Collie integration works. I need to switch to a different sub agent plugin for Pi (or leave Pi for a different harness) because herdr/collie are confused by the current subagents.

comment 2w ago · link · parent

That analysis is unfortunately running DeepSeek on Max. DeepSeek recommends against that since it guarantees higher cost and rarely improves the outcome- it should be ran on "high".

comment 3w ago · link · parent

The solution is to not have an untrusted workload handle secrets.

comment 3w ago · link · parent

This downloads a library of mostly kiwix wikipedia information and produces a full text SQLite index that is live searched by the model and then the model reads and summarizes the information.

Interesting thing is that when I asked a follow up question it answered but showed: This answer came from what the AI already knows, not the library, so there's no source to check. Ask “look that up” to get one.

When I asked "look that up" it was able to. It highlights relevant sections.

The information it was working off in my case was WikiHow and there aren't any citations in that information.

Running on a 32GB Mac M1 using Qwen 27B. Ollama is showing as taking 19GB steady state and 23GB while answering on Activity Monitor (sometimes a little more and sometimes a little less).

Its amazing this can be done, but it seems like someone should be able to develop a much smaller model that can be used reliably for this use case. There are smaller models available to use and download but it is stated that they have some reliability issues.

comment 4w ago · link · parent

Ironically the best defense against police abuse of power seems to be doing your own surveillance. Recording interactions with the police and having a dash cam. Many popular dash cams like Viofo record to an SD and don't send recordings to the cloud.

comment 1mo ago · link · parent

I have a skill for using Verus with Rust [1]. I think they found a nice way to integrate proofs with the language. The verify skill I use lists proofs as a possible technique [2] and the project instructions have instructions on using it, but only a very small fraction of the code base I am using this on has proofs. Anyone can now have an LLM write proofs but its still difficult to know when they are more productive than other techniques and to relay that advice to an LLM.

[1] https://github.com/gregwebs/skills-sdlc/blob/main/skills/rus... [2] https://github.com/gregwebs/skills-sdlc/blob/main/skills/ver...

comment 1mo ago · link · parent

I am reading this as a potential leak of almost every possible piece of metadata related to the operation and the business but a limited leak of customer data.

This goes to show the benefit of maintaining separations between the control plane and the data plane.

This site does say it has SQL logs which have some amount of customer data and there is a mention of some snapshots/imports- this looks like a case where the control plane and data plane end up getting entangled. Its possible the attacker could have reset customer database passwords to try to connect to them or could have exfiltrated customer data by initiating snapshots but just didn't want to deal with the increased risk of detection.

TiDB is for large scale data. You generally wouldn't use it unless you have at least 1TB of data. A 10TB leak of information is less than the size of a single small customer database for them.

comment 1mo ago · link · parent

https://www.ftc.gov/news-events/news/press-releases/2024/08/...

comment 1mo ago · link · parent

TiDB is for large scale data. You generally wouldn't use it unless you have at least 1TB of data. 10TB is a single small customer database for them.

comment 1mo ago · link · parent

I am reading this as a leak of every possible piece of metadata but not an actual leak of customer data. They have SQL logs which do contain customer data and there is a mention of some snapshots/imports.

comment 1mo ago · link · parent

The company's own news page: https://api-docs.deepseek.com/news/news261017

They are showing this new version scoring significantly higher across multiple coding benchmarks, beating Sol 5.6 (6.1 is the latest) across 10/11 benchmarks.

I am going back to DeepSeek for writing code. I was trying out using Sol and liking the result, but this should close a lot of that gap. I use Opus/Sol for an implementation plan and code review also use them for grilling. DeepSeek is also running verifications.

comment 1mo ago · link · parent

> For example, benchmarks in our initial list heavily cover AI-exposed lawyers’ tasks, but barely cover any of the O*NET tasks of similarly AI-exposed legal secretaries or court clerks.

This technique seems dubious- what is stopping AI from doing the computer work of legal secretaries and court clerks as well?

Solving math problems is one of the hardest theoretical jobs. Software engineering is one of the harder practical jobs. AI is now much better at these tasks than humans because it has been able to properly train for them.

For other computer-based jobs it's a matter of AI getting properly trained for them. If a job is harder to verify or the training data is more limited, it may be much more difficult to train AI for it but I don't think there's any reason to think it won't happen eventually.

comment 1mo ago · link · parent

There is a now 20 year old article (maybe something has changed since then?) where someone got 50 different opinions- going to different dentists with the same mouth, and got diagnoses all over the place- from $460 to $29,850.

Originally at https://www.rd.com/article/how-honest-are-dentists/ it now seems available here: https://asset.cdocs.com/uploads/forum/attachments/258722/Rea...

comment 1mo ago · link · parent

Rust does have one glaring weakness: compile times. I suspect in the LLM era we will see the rise of a language or perhaps some sort of Rust redesign that achieves what Rust has with great performance and great type safety but also has better support for fast compilation.

I have found that agents are good at writing Verus proofs in a Rust code base, and that these proofs have only a minimal negative effect on the normal compilation path. I have a skill for using Verus: https://github.com/gregwebs/skills-sdlc/blob/main/skills/rus...

comment 1mo ago · link · parent

Senior engineer and all SWE positions will become more like a technical lead.

If you can direct AI and produce more value per $/time spent then a non software engineer directing AI to develop software then you still can produce a lot of value. This should be the case now for most things that are not a prototype. The job has changed from "writing code" to "shipping software". A technical lead.

Software products making ever more intelligent AI software development accessible will continue to reduce the need for software engineer involvement. But there’s also going to be 1000x more software. So there may continue to be opportunities for those that adapt.

comment 1mo ago · link · parent

DeepSeek is presumably break even or better and costs 20-40x less than frontier models. Its intelligence is lagging the frontier by a lot, but its already plenty good to contribute to certain aspects of software development. There is a lot of opportunity to make model usage more cost effective for software development.
12345
51