HNHacker News
TopNewBestAskShowJobs

SamInTheShell

241 karma · joined August 13, 2024

submissionscomments
SamInTheShell··on I want a good parallel language [video]
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.
SamInTheShell··on A new threat: Being replaced by someone who knows AI
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.

SamInTheShell··on I want a good parallel language [video]
Went in thinking "Have you heard of Go?"... but this turned out to be about GPU computing.
SamInTheShell··on Show HN: Zee – AI that interviews everyone so you only meet the best
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.
SamInTheShell··on Enjoy CarPlay While You Still Can
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.
SamInTheShell··on Claude Code can debug low-level cryptography
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.
SamInTheShell··on Claude Code can debug low-level cryptography
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.

SamInTheShell··on Claude Code can debug low-level cryptography
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.
SamInTheShell··on Verifiably Private AI
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.

SamInTheShell··on Show HN: Why write code if the LLM can just do the thing? (web app experiment)
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.

SamInTheShell··on Claude Code can debug low-level cryptography
> 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.

SamInTheShell··on Genie, Take the Wheel
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.
SamInTheShell··on Casey Muratori: I can always tell a good programmer in an interview
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.
SamInTheShell··on Postman which I thought worked locally on my computer, is down
This makes me feel more justified in using Posting in my terminal these days.
SamInTheShell··on AI model trapped in a Raspberry Pi
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.

SamInTheShell··on Implementing a local AI coding agent is hard
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.
SamInTheShell··on AI model trapped in a Raspberry Pi
The words "Reflect on the nature of your own existence." is doing a lot of heavy lifting here to make it work.
SamInTheShell··on Show HN: Tallyit.co/coparents – Split costs with your baby dady
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.

SamInTheShell··on I ditched Docker for Podman
It’s gotten a lot better on MacOS as the virtualization framework had virtio functionality added to it.
SamInTheShell··on Show HN: Tallyit.co/coparents – Split costs with your baby dady
Route should absolutely be just /parents. The co is the tld.
SamInTheShell··on How do you handle JDK/JRE patch updates for Java apps on K8s?
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.

SamInTheShell··on Bear is now source-available
I actually put this in the wrong thread. Disregard, I have no clue where the thread I meant to put that was.
SamInTheShell··on Bear is now source-available
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.
SamInTheShell··on How do you handle JDK/JRE patch updates for Java apps on K8s?
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.
SamInTheShell··on Are OpenAI and Anthropic losing money on inference?
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.
SamInTheShell··on Agent-C: a 4KB AI agent
Bro, you gave it all the tools. I wouldn't call this minimal. Throw it in a docker container and call it good. :)
SamInTheShell··on [dead]
Gemini is an LLM. These are text completion algorithms. They can generate fiction about as well as they can generate code.
SamInTheShell··on Secure Boot, TPM and Anti-Cheat Engines
Seems like a non issue to me, time is just relative. Analysis on receipt is still possible, because you can calculate latency.

I'd recommend checking out Leslie Lamport's work, you can probably derive some ideas. I'm not be prescriptive here because this isn't a space I plan to work in to solve problems since it's just games. Entertainment isn't really my thing, I tend to lean heavily into systems and security knowledge which has served me well broadly.

SamInTheShell··on Secure Boot, TPM and Anti-Cheat Engines
It sure doesn't. Any reason you couldn't just slap a TCP connection on top of it to make your replication log for analysis though?

As I mentioned in my last comment, someone would need to design a system to better deal with this type of stuff. The way things are stem from decades of decisions made, starting with more design constraints than we have today.

SamInTheShell··on Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea
This is a nifty little project. If I wasn't already neck deep in blocknote adoption in a small experiment I'm doing, I'd be taking this for a spin.

I noticed on the site the really cool animation you got has a 1px solid border on one of the overlays in firefox. Figure you might care since it's clearly supposed to be flashy.

← PreviousPage 5 of 7Next →