Better HN
topnewbestaskshowjobs
Log inSign up

SamInTheShell

290 karma · joined Aug 13, 2024 (2y ago) · 279 submissions

Submissions

comment 1y ago · link · parent

I've seen that before. Idk how I feel about that pattern in general. When I see any of the tools I use do stuff like `bash(cmd... I didn't ask your permissions - hehe!~)`, I get a bit pissed that it wasn't a straight up standalone tool. The number of times it's gas lit me into panicing isn't zero.

comment 1y ago · link · parent

Isolation is a smart idea for these things, as you literally can't verify their behavior beyond "it's kinda doing the thing most of the time". My chat app just kinda settles for "you can require permissions and audit", which it's a fool proof bullet, when the AI can churn out more code than a human can read in a reasonable amount of time.

183.

Show HN: Vibe coded an AI chat app with features I wanted, Poe(github.com ↗)

1 points · by SamInTheShell · 1y ago · 6 comments

comment 1y ago · link · parent

There seems to be about the same level of effort with Elixir as there is for a language like Kotlin.

The free sandwich I'm referring to with Go is the ability to just do `go funcnamehere()` and that's running concurrently and in parallel. If I need coordination of those goroutines, I can still do that with any number of locking patterns. It's extremely convenient, making the trade off of having a runtime baked in worth it imo.

comment 1y ago · link · parent

Haha, yeah. Idk any other language where I practically get a free parallelization+concurrency sandwich. It's kept me coming back to Go for a decade now, despite them using a signal that prevents using it for system level libraries. They literally broke my libnss-go package years ago when they selected the signal to use to control the concurrency portion of the runtime.

comment 1y ago · link · parent

Kinda wonder what the extent of this is. You can get some really great results from your employees by mandating shit like this. /s

I use AI daily and frankly I love it while thinking of it from the context of "I write some rough instructions and it can autocomplete an idea for me to an extremely great degree". AI literally types faster than me and is my new typewriter.

However, if I had to use it for every little thing, I'd do it. The problem though is when it reaches a point where I have to use it to replace critical thinking for something I really don't know yet.

The problem here is that these LLMs can and will churn out absolute trash. If this was done under mandate, the only thing I'd be able to respond with when that trash is being questioned is "the AI did it" and "idk, I was using AI like I was told".

It literally falls into the "above my pay-grade" category when it comes down as a mandate.

I really hope there's more nuance to articles like these though. I really hope these companies mandating AI use are doing so in a way that considers the limitations.

This article does not really clue me the reader in to if that is the case or not though.

comment 1y ago · link · parent

Went in thinking "Have you heard of Go?"... but this turned out to be about GPU computing.

comment 1y ago · link · parent

So what do you do when the context engineer rolls up into chat and jailbreaks the system prompt that was designed? Do you just hire them on the spot? This literally isn’t what LLMs are designed for nor are they good at.

comment 1y ago · link · parent

Right there with you on this. These car companies would just be better served ripping out their telemetry stacks and just providing a screen that only supports a phone driving it. I pulled the jumper for the telemetry stacks in my last two cars and I’m going to do so in my next car. They don’t get to sell me a car that then tracks and reports my habits to my insurance without paying me to do so on an opt in only basis.

comment 1y ago · link · parent

The type of stuff I tend to do is much more complex than a simple website. I really can't rely on AI as heavily for stuff that I really enjoy tinkering with. There's just not enough data for them to train on to truly solve distributed system problems.

comment 1y ago · link · parent

That's weird. I can prompt 2.5 Pro and Claude Sonnet 4.5 about the same for most typescript problems and they end up doing about the same. I get different results with Terraform though, I think Gemini 2.5 Pro does better on some Google Cloud stuff, but only on the specifics.

Is just strange to me that my experience seems to be a polar opposite of yours.

comment 1y ago · link · parent

Which model are you using though? When I run out of Gemini 2.5 Pro and it falls back to the Flash model, the Flash model is absolute trash for sure. I have to prompt it like I do local models. Gemini 2.5 Pro has shown me good results though. Nothing like "ignores instructions" has really occurred for me with the Pro model.

comment 1y ago · link · parent

Smells like vaporware or a scam. I'll be surprised if this churns out anything that actually is secure and private.

If you're not running it on your own hardware and completely offline it's not private. I can prove that.

comment 1y ago · link · parent

Currently today, I would say these models can be used by someone with minimal knowledge to churn out SPAs with React. They can probably get pretty far into making logins, message systems, and so on because there is lots of training data for those things. They can struggle through building desktop apps as well with relative ease compared to how I had to learn in years long past.

What these LLMs continue to prove those is they are no substitute for real domain knowledge. To date, I've yet to have a model implement RAFT consensus correctly in testing to see if they can build a database.

The way I interact with these models is almost adversarial in nature. I prompt them with the bare minimum that a developer might get in a feature request. I may even have a planning session to populate the context before I set it off on a task.

The bias in these LLMs really shines through an proves their autocomplete properties when they have a strong bias towards changing the one snippet of code I wrote because it doesn't fit in how it's training data would suggest the shape of it's code should be. Most models will course correct with instructions that they are wrong and I am right though.

One thing I've noted is that if you let it generate choices for you from the start of a project, it will make poor choices in nearly every language. You can be using uv to manage a python project and it will continue to try using pip or python commands. You can start an electron app and it will continuously botch if it's using commonjs or some other standard. It persistently wants to download go modules before coding instead of just writing the code and doing `go mod tidy` after (it literally doesn't need the module in advance, it doesn't even have tools to probe the module before writing the code anyway).

RAFT consensus is my go-to test because there is no 1 size fits all way for you to implement it. It might get an in-memory key store system right, but what if you want it to organize etcd/raft/v3 in a way that you can do multi-group RAFT? What if you need RAFT to coordinate some other form of data replication? None of these LLMs can really do it without a lot of prep work.

This is across all the models available from OpenAI, Claude, and Google.

comment 1y ago · link · parent

> Gemini and it's tooling is absolute shit.

Which model were you using? In my experience Gemini 2.5 Pro is just as good as Claude Sonnet 4 and 4.5. It's literally what I use as a fallback to wrap something up if I hit the 5 hour limit on Claude and want to just push past some incomplete work.

I'm just going to throw this out there. I get good results from a truly trash model like gpt-oss-20b (quantized at 4bits). The reason I can literally use this model is because I know my shit and have spent time learning how much instruction each model I use needs.

Would be curious what you're actually having issues with if you're willing to share.

comment 1y ago · link · parent

Code losing value was my first take away when trialing out these coder agents. I think one of the skills I leverage more now than I have had to in the past is "How can I break this" thinking. The ability to validate the results is more valuable than being able to produce code now imo.

comment 1y ago · link · parent

No. You may not even talk around the topics. This explicitly comes with the training. Anyone asks me about my last job, I don’t really state much more than what the job title was and what the job postings said for the role I applied to.

comment 1y ago · link · parent

This makes me feel more justified in using Posting in my terminal these days.

comment 1y ago · link · parent

Your prompt is incomplete. He only called out the system prompt. What you're missing in the user prompt, that only shows up in his code he shows off.

Edit: also as the other guy points out, you're going to get different results depending on the model used. llama3.2:3b works fine for this, probably because Meta pirated their training data from books, some of which are probably scifi.

comment 1y ago · link · parent

My daily driver is a M1 MBP with 64GB of ram. Using ollama, lm studio, or even just max-lm in python, a model like gpt-oss:20b can produce results. It runs anywhere from 50-80 tps, so don’t expect blazing fast edits, but it’s usable such that you can background it with clear instructions and come back to something that isn’t complete trash.

comment 1y ago · link · parent

The words "Reflect on the nature of your own existence." is doing a lot of heavy lifting here to make it work.

comment 1y ago · link · parent

I suspect you misunderstand my intent here.

Right now the url is site.co/coparenting.

That’s .co/coparenting

What I’m saying is this works too: .co/parenting

It’s just irrelevant linking linguistics that I’m pointing out that was a missed opportunity. Doesn’t truly matter though.

comment 1y ago · link · parent

It’s gotten a lot better on MacOS as the virtualization framework had virtio functionality added to it.

comment 1y ago · link · parent

Route should absolutely be just /parents. The co is the tld.

comment 1y ago · link · parent

Just my experience, but slow start times, high memory usage, tracking down GC pauses, getting the memory flags in line with the k8s resources config, and fat image sizes. All things I enjoy living without.

Also regarding Quarkus, that's java stuff. I don't use it, but I know people do use it for shortcomings of Java in k8s. Perhaps GraalVM is the thing that makes it worth-while, idk.

There's also a distroless Java container from Google that could be of value.

comment 1y ago · link · parent

I actually put this in the wrong thread. Disregard, I have no clue where the thread I meant to put that was.

comment 1y ago · link · parent

The history stems from the term “free” software not being very palatable for marketing. There are 4 tenants to free software. Bear is no longer free software.

comment 1y ago · link · parent

Java is the worse language to deal with in Kubernetes. You might want to look into Quarkus. I’m of the opinion that ditching Java for Go is better if possible.

comment 1y ago · link · parent

Those same H100's are probably also going to be responsible for the R&D of new model versions. Running a model is definitely cheaper than training them.

comment 1y ago · link · parent

Bro, you gave it all the tools. I wouldn't call this minimal. Throw it in a docker container and call it good. :)
1
678910