HNHacker News
TopNewBestAskShowJobs

ghrl

484 karma · joined August 16, 2024

submissionscomments
ghrl··on There are now 5 inference providers for abliterated DeepSeek
I've seen Experiential Labs insert advertising including the tracked redirect links for them at the end of responses. So who knows what they do with the Chain Of Thought.

And we tend to forget, but we implicitly give any llm provider we use full access to all the tools available in the harness, often including shell, so no changes to the model are required to do malicious things.

ghrl··on Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor
Sounds like a reasonable choice of a language.

I myself have written a small llm proxy in Go, doing nothing but injecting the real API key to outgoing requests while itself validating virtual keys it generates, and it works great.

ghrl··on Mercury 3: Diffusion at scale
I tried the model in OpenCode now and it seems great, for certain workloads.

For grilling sessions, it is really fast and the quality of the questions are still decent. The suggested options are less versatile or specific. However, answer3ing one batch of questions and the next batch of questions is there within a few seconds.

And when you don't know how to answer a question, it can write a 600 line html prototype for each option in some 2 seconds and help decide.

ghrl··on What I self-host
I like "a service that's a single Go binary" just like the author does, but deploying that in a FROM scratch docker container is arguabdy the best of both worlds? You get the self contained container, it's not bloated, runs at native speed, works with docker tooling...
ghrl··on OpenCode 2.0
I've been using OpenCode V2 since it first appeared on the website, and I can only repeat the positive views on usability, the client/server model and self-awareness/ability to edit it's config and write plugins.

I'd like to mention two other impressive things about OpenCode.

First, their issue tracker on GitHub works really well. They have the OpenCode GitHub App connected, and for any bug report it reads the issue, tests on the mentioned version and latest dev branch, and comments the findings along with a reproduction script. For TUI Bugs it even records a video. And all that in less than two minutes, usually.

https://github.com/anomalyco/opencode/issues?q=is%3Aissue+st...

Another thing they are working on is opentunnel, where you can tunnel services to https on <random>.opentunnel.xyz and its subdomains. What's notable is that the subdomain is persistent and unique to you, and a wildcard ssl cert is actually generated on your machine, so the platform cannot see the traffic. Their primary use case seems to be making the OpenCode Server usable from anywhere, but it can do much more with their cli:

https://opentunnel.xyz/

ghrl··on OpenCode 2.0
This is quite confusing, indeed, but the limits are generous and transparent once you understand the concept.

There are two plans, OpenCode Go and Go Plus, for 10$/mo and 40$/mo.

With your plan, you get a specific monthly amount of money you can use, with separate weekly and 5-hour limits to not spend all at once.

The amount of money you can use depends on the model, but the usage percentage adds up regardless. For example, on the Haiku Model, the monthly limit is 15$/mo, as you read from the page. For other models, such as DeepSeek V4.1 Flash, the limit is now 80$/mo (the increased it from 60$ recently).

This might seem odd, but the stated purpose of OpenCode Go is "Low cost coding models for everyone", so the limits on the open models tend to be higher.

The math works like this: You use 5$ no Haiku and 20$ on a 60$ model, then your monthly limit is used 66.6%, meaning 5$ of Haiku or 20$ of a 60$ model remaining.

Another way to view this is as follows: You have 10$ flat usage per month, and the "higher usage on each model" is actually just a discount on the token price. So Haiku is discounted to 10$/15$=66.6%, DeepSeek to 12.5% and so on.

Go Plus just means you get more usage, though the rate is not always 4x.

To answer your remaining questions: The billing is based on the actual provider's api costs, so input/cached/output tokens. I suppose the "requests" number is estimated. The OpenCode TUI and your account website actually show the real session prices, which also helps with an understanding how expensive the agents are on raw (unsubsidized) api pricing. The usage limits are rolling, so there is a 5-hour, a weekly and a monthly limit. The 5h is 20% of the monthly limit, and the weekly is 50% (not sure on the exact numbers).

I would agree that the pricing is confusing, but for the price you get surprisingly much usage, especially on the 60$ models. Give DeepSeek V4.1 a try, you get nearly unlimited usage and it's around Sonnet/Opus level.

ghrl··on OpenCode 2.0
I would state the same, but looking at commercial offerings for agents, such as MCP servers or skill instructions in the vender's own docs, opencode is often not mentioned at all.

Here is an example I encountered recently: The Figma MCP Server documents usage with Claude (Code), Codex, Cursor, Grok and Antigravity [], but notably not OpenCode. More so, their oauth registration seems to use some kind of whitelist, meaning just adding the MCP by url does not work either. To make it work, my agent edited the config entry to use "Codex" as the oauth name, which worked.

That's just one example, but something you see quite frequently.

ghrl··on Making big downloads resumable in Firefox
I agree, I've been using axel on every device and it works great!
ghrl··on Attack of the Vibe Coded Photoshop Clones
> it has its limits[] with old file formats or old MS Office

Those problems map extremely well to agent loops. Take a cheap model (like Luna, which can basically run all the time on a Codex subscription, or V4.1 Flash), give it a goal like <1% pixel difference between it's own implementation and what the oracle produces, and it can run for hours or days probing the oracle, verifying it's progress and handling edge case after edge cast until it's effectively perfect.

Key idea is to remove the human from the loop. Don't let the agent build something, tell you what it did and you point out all the issues. It does not scale, leads to fatigue and impatience and limited uptime for the agent. Build clear verifier loops the agent can rely on, let it run and such edge cases are well within reach.

ghrl··on Attack of the Vibe Coded Photoshop Clones
Yeah, exactly what i thought. Behind all the rant and hate in the post (that i suppose may be driven by fear or the shock that one's greatest achievements are now close to a commodity), there is genuinely valuable criticism that an agent can be prompted to address. The bottleneck is no longer the AI's ability to complete tasks, improve performance or research and develop new approaches, but in verifying what they built (at least in heavily vibe-coded projects), so beyond verifier loops such feedback is what leads those kinds of software to improve.
ghrl··on Show HN: Hacker News, Without AI
Just what I thought.

> made with &lt;3 by Ayden

That's the cherry on the cake - indicating genuine effort and attention to detail put into something, yet not even checking the credit at the bottom.

ghrl··on Anthropic's ‘watermark’ text adulteration in Claude is a perversion of writing
I can't speak for Anthropic, but with Google's SynthID, the algorithm is actually public. However, checking (or creating) the watermark requires a symmetric key, and the providers likely wouldn't share that key.
ghrl··on Anthropic's 'watermark' text adulteration in Claude is a perversion of writing
Yes, exactly, that is my understanding as well. Since the watermarking is based on a symmetric key by design (as to not be easily able to test and remove the watermarks), the providers will need to offer a watermark detection API.

I see even more problems with this. To check any text for those watermarks, it needs to be sent to dozens of AI companies to check, potentially paying them all for just determining whether it matches their watermark, and more concerningly sending all that mostly human-written, often high quality text like unpublished research or books, to AI companies that almost all proved to obtain training data through all kinds of dubious ways.

ghrl··on Anthropic's ‘watermark’ text adulteration in Claude is a perversion of writing
My biggest concern is that checking any text for watermarks requires sending the entire text to Anthropic. And even that is not sufficient, as the text might have been generated with ChatGPT, Gemini, Grok, Mistral, ...

So every check requires sending the text to as many AI providers as offer a watermarking detection API, almost all of which have a very dubious track history with obtaining training data through illicit means.

Any university using AI detection in their submission pipeline, or lawyers, editorialists, proofreaders that check for AI marks will be sending significant amounts of text like unpublished research, books, potentially internal documents and more, most of which is high quality human written, to dozens of AI companies, blindly trusting they won't train on any of that.

ghrl··on Staging patches with git add (2024)
From skimming through the article, isn't that what the uppercase variants do?
ghrl··on What we learned when a user tried to load a 1 GB GML file in a browser
What shines through here is that the AI writing / reasoning this is about as lazy as always, declaring a hard limitation where some engineering might solve or work around the limitations. In modern JavaScript a surprising amount of tasks can be handled, e.g. with Workers and in a streaming way.
ghrl··on Beer CSS – Build material design in record time
Beer CSS is great. I've used it for multiple simple projects and it provides a great DX with the clean html code and the many snippets on the official website. The only downside is that LLMs are quite bad at working with it from my experience, maybe it's just too simple for them..
ghrl··on Slightly reducing the sloppiness of AI generated front end
That's refreshingly usable and not-slop-looking, nice additional style.
ghrl··on Claude Fable is relentlessly proactive
Yeah, spot on. I had an agent delete some files it shouldn't have as well, similarly to me making the same mistake. I think system prompts should default to using `trash` over `rm`. For now that's just in my AGENTS.md, and gets honored most of the time.
ghrl··on Claude Fable is relentlessly proactive
Sounds like a case for NixOS
ghrl··on Claude Fable is relentlessly proactive
Amazing observation, and I'm certainly guilty of it too, but it is just way too convenient not to sandbox it, and some tasks right away depend on not being sandboxed.

For anything other than writing code directly in a fully contained git project, where sandboxing might work well, it requires access to system wide tools, user configuration and more.

Occasionally I tell the agent to do everything inside of docker, which works too and it leaves the system alone then mostly, but adds significant overhead and slightly degraded perceived quality / effectiveness.

I think the most important takeaways are to have reliable backup strategies, access control and security mechanisms, which is a win regardless. Whether by the agent or the human, mistakes happen (like a rm -rf * ran in the wrong directory), and where they would be devastating, there should be other protections than just "hope it won't happen" or "rely on a sandbox to prevent agent error".

ghrl··on AI agent bankrupted their operator while trying to scan DN42
I would assume that cost to be minimal, considering their PR never got merged. And if it were me I would consider that well worth the entertainment.
ghrl··on MiMo Code is now released and open-source
Or by using a proxy, yeah. Personally I would still prefer a multi provider harness over CC when using it with another provider, if alone for the visible reasoning, model switcher, cost estimation and so on. So far I've only preferred CC when I needed to work with Jupyter Notebooks because it has built-in tools for that.
ghrl··on Anthropic requires 30 day data retention for Fable and Mythos
In many cases they're amazing, too. And the visible reasoning and the pricing are amazing too.
ghrl··on Stop the Apple Music app from launching
Yeah, I used that too on my last Mac. But the page explicitly states the benefits of this approach (preventing it from launching all together without doing anything vs listening for the launch and killing it). It also does not use a menu bar icon, which is also good considering the limited space.
ghrl··on Reverse-Engineered Userspace Driver for Asus ZenVision Lid OLED on Linux"
Yes, certainly. I've heard of people that let an agent run on one machine, point a USB Camera at the target and give the agent ssh access and something like imgsnap (cli webcam command) and then let it run autonomously. The agent can then try all sorts of things and also verify the results without asking the user. I think that's quite a good workflow, giving at least a basic feedback loop for work that can't be tested with just software.
ghrl··on MacBook Neo is so popular that Apple doubled production
I would say if it's only used as the build and publishing device and development happens elsewhere, this would work without problems. 8Gb for building the iOS app and testing on a real device or even an emulator would likely work. Apple's swap is also quite fast.
ghrl··on Muxcard, a DIY credit card size computer
I was thinking all that too and considering commenting about being sick of those credit card size claims, but after seeing the footage I am genuinely impressed. Great work there.
ghrl··on Microsoft builds MacBook Pro rival with NVIDIA-powered Surface Laptop Ultra
Wow, very interesting example.
ghrl··on Meta launches Instagram, Facebook, and WhatsApp subscriptions
I believe you can get close to that with various Instagram mods for Android. They have advanced features like only show posts from followers and stuff like that. I switched to one of them after realizing the 5 second ad breaks I got were only there because I disabled personalized advertising.
Page 1 of 2Next →