208 karma · joined Mar 4, 2014 (12y ago) · 74 submissions
1.
TriggerAPI – A native API client written in Go with full support for MCP servers(github.com ↗)
1 points · by kalekold · 1mo ago · discuss
comment 1y ago · link · parent
Seems pretty clear cut to me.
Why do rust developers demand everything be re-written in their language? Especially one of the longest running, largest and most successful C projects of all time? It was never going to work out.
There are a few brand new operating systems being developed in rust, why not contribute to them instead?
comment 1y ago · link · parent
This is such a bad take.
ctx.Value is incredibly useful for passing around context of api calls. We use it a lot, especially for logging such context values as locales, ids, client info, etc. We then use these context values when calling other services as headers so they gain the context around the original call too. Loggers in all services pluck out values from the context automatically when a log entry is created. It's a fantastic system and serves us well. e.g.
log.WithContext(ctx).Errorf("....", err)comment 1y ago · link · parent
What I really miss are methods on structs a'la Go. Just simple receivers would be a great addition imho. Because of this choice, it's affected the entire stdlib and boy does it look old. Creating a typed variable to pass it to a stdlib init function (for allocation, etc) is terrible decision and it's everywhere. The stdlib looks muddled too.
Odin is obviously heavily inspired by Go (among others) but it's learned nothing of the lessons of the Go authors. For example, Odin is a larger language and has fewer features.
I got an ICE while compiling once and it reported something like `TODO(bill) support this`. Not a good look.
comment 2y ago · link · parent
* Imagine AI giving a terrorist network a recipe for the most toxic nerve gas ever discovered. (This has already happened to AI researches)
* Imagine AI being used for deepfake propaganda inciting a war between superpowers. (This is arguably already in progress)
* or it could be the usual sci-fi classic of an AI intelligence becomes superior to humans and just takes over (using the above methods and more).
AI has the ability to be completely undetectable and incredibly insidious. We could be destroyed by a force we don't even notice.
comment 2y ago · link · parent
You might be right!
https://writings.stephenwolfram.com/2020/04/finally-we-may-h...
comment 2y ago · link · parent
Basically, it's just a bunch of people wanting to work on open source software and demanding to be paid for it. Like literally demanding you pay them for using their software!
I'll repeat here what I always say to them. If you demand to be paid for creating open source software, then maybe it's not for you because you don't seem to understand the license you added.
comment 3y ago · link · parent
The kicker is sometimes when you use apt to install a package, sometimes it installs a snap! It's madness!
comment 3y ago · link · parent
> In a letter to Ofcom, Lord Wolfson KC, Lord Pannick KC, Lord Grabiner KC and Jeremy Brier KC urged the regulator to investigate the corporation.
> The authors of the letter said that Hamas is a proscribed terrorist organisation in the UK and “that is not a matter of debate or discussion. It is a matter of legal fact.
https://www.telegraph.co.uk/news/2023/10/11/bbc-not-calling-...
comment 3y ago · link · parent
I currently use Raylib with Go and the Go bindings[1] to create screensavers for Linux and I'm really happy with the results.
I even use it at work to draw interactive infrastructure diagrams that animate dependencies, allow controlling start-up etc. It's really flexible and simpler than anything else I've found to get stuff on-screen. I love it!
23.
Node 20 allows you to compile your app into a single executable(twitter.com ↗)
4 points · by kalekold · 3y ago · 1 comment
comment 3y ago · link · parent
Neovim is a cash grab by developers who forked the repo and demanded patreon payments etc. with wild claims that it will replace vim. Neovim doesn't support vim's development it only takes from it. It never pushes anything back upstream and most importantly, never contributes to Bram's charity, ICCF Holland.
comment 3y ago · link · parent
comment 4y ago · link · parent
Since I quit, the entire new engineering team quit and it looks like the company is going under. Functional programming is a big mistake for some real-world code.
comment 4y ago · link · parent
And the reality is that there are no absolute guarantees. Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus.
https://lkml.org/lkml/2022/9/19/1105#1105.php