Hacker Newsnew | past | comments | ask | show | jobs | submit | rapind's commentslogin

Very cool. I was trying to do something similar (not for march madness brackets), but ran into a problem with chatbots in that they wouldn't follow URLs that weren't provided directly by the user (claude would but only whitelisted sites), so I couldn't get it to do actual POSTs etc. for authentication. Claude.ai would instead create react app (fragments). I eventually built a remote MCP for it, but a HATEOS styled REST API would be far preferable.

Any tips?


No - I think we are months (weeks/Days?) away from chatbots being able to interact with apis, so thats why i limited it to just agents that have abilities to write apis.

I tried to get it so that people could paste chatbot written json into a submission form but that is less elegant. So now i have a zoom call set up with my dad so he can install CC lol


OK so the same issue I ran into. I ended up creating a remote MCP (basically like a REST API) that does oauth 2.1. If interested you can check it out here: https://github.com/pairshaped/gleam-mcp-todo

Thats cool!

There is a valid both sides argument to a lot of these issues IMO, but where the discussion ought to be is at how extreme “one” side has taken it.

Whether it’s executive orders, corruption, pardons, appointments, obstruction, gerrymandering. pedophilia, lying, etc. I don’t think there’s a valid defence of just how far one particular side has gone (and proactively I might add).


Wasn’t ICE pretty much doing exactly that with no oversight or accountability?

The other day an ICE lawyer told our state's court that when a bunch of ICE agents rolled up to a private citizen's house and harassed and threatened them, they "were not acting according to policy"

So, yeah.

But none of that stops Meta wanting to help Trump be more efficient at harassing discontent.

It can always get worse. Always.


> The developer is the bottleneck. We're slow compared to computers. A language where the compiler has already verified structural correctness before the diff reaches your screen means the reviewer can focus on logic and intent instead of chasing down missing nil checks.

For me this is Gleam. Fairly small lang, type safe, compiled, NO NULLS (very important IMO), good FFI, code is readable, and... you get the BEAM!

Agents can pretty much iterate on their own.

The most important thing for me, at least for now (and IMO the foreseeable future) is being able to review and read the output code clearly. I am the bottleneck in the agent -> human loop, so optimizing for that by producing clear and readable code is a massive priority. Gleam eliminates a ton of errors automatically so my reviews are focused on mostly business logic (also need to explicitly call out redundant code often enough).

I could see an argument for full on Erlang too, but I like the static typing.


How's Gleam's IO story today? Still need to go via OTP?


Under the hood you're still calling into BEAM/OTP but most operations are covered in gleam, at least I've very rarely needed to FFI into Erlang (couple times to extend what a library provides with a custom edge case).

gleam/io, mist, gleam/otp, sqlight, gleam_pgo, etc.


gleam/io doesn't actually support file IO, though, does it? Only printing to stdout.

So you'd need to use FFI just to write to disk, right?


There’s simplifile


no nulls is truly not a problem. Of all the problems I have seen, I have never seen Claude mess up with nulls in Elixir.


There are definitely some caveats / tradeoffs with SQLite, but I can't think of any that are specifically related to many to many relationships. Which features did you find missing? Lateral joins maybe?


I only remember from my last Django project, that I started out thinking: "OK, I will do things properly, no many-to-many relationships..." then at some point saw the need for them, or manually creating the intermediate relation and at that point using the Django way was what I was supposed to do. But then I got errors for some things I wanted about not being supported by SQLite.

The project is here: https://codeberg.org/ZelphirKaltstahl/web-app-vocabulary-tra... But I left it unfinished and a quick grep does not yield comments or something that explains why at some place I do something to circumvent the SQLite problems. I remember though, that I basically swore to myself, that I would not ever use SQLite in production with Django ORM. And if I am not using it in production, then testing also better should not be using it, because one should test with the same RDBMS as runs in production, or risk unexpected issues suddenly only happening in production. So SQLite is out for anything serious in Django projects for me.


Ridiculous take that Florida is expensive like it's some kind of luxury trip.

Florida was always a budget option for us. It's always been a quick, easy (you can drive), low risk break to get away from the cold. I just don't feel like dealing with CBP and random MAGAs right now to be honest. Wife is low-key stressed about the idea. I mean at best it's a hassle... so why bother?


> I think some people want to punish the US for tariffs that don't exist.

I'm sure it has nothing to do with the Gestapo. What a lovely time to be a foreigner travelling in the US...


Believe it or not but there are some Canadians still going to the US.

Gestapo is ... bullshit and FUD.

Yes, we see the news about ICE.

https://www.bts.gov/newsroom/border-crossing-data-annual-rel...

In 2025 there were about 18M personal vehicles and about 300K pedestrians crossed from Canada into the US. So yes, it's down (like 10%) but it's still a lot of people. Out of those the number of people that run into problems with the "Gestapo" is approximately, within rounding error, zero. You're a lot more likely to die in a car crash or get robbed or something.

Why does everything today have to be about hyperbole? You don't want to visit the US (like me) ... well don't. You don't like Trump ... fine. You disagree with the immigration policies, enforcement whatnot... fine. But enough with this bullshit fear mongering.


> "What happens when 1.5B come knocking because if they stay they die?"

You think that’s bad... Up here in Canada we’ll have to deal with Murican immigrants as things heat up. Talk about killing the vibe.


I think the least of your worries will be immigrants when an imperialistic nation with superior military power realizes that the annexation of your land is necessary for its survival.


I actually am moderately concerned with that to be honest. If the US doesn't have free and fair midterms I don't think it's really that paranoid to be worried about it.


This is why it's so important we pass the America SAVE Act. We have to stop MAGA from cheating in 2026.


Why would the US annex canada? It is already in the american hegemony.


To distract from the Epstein files.


I'm surprised even the smarter democrats are saying that stupid line. Distraction would imply there are still to be people who have not yet learned and formed an opinion on the Epstein files. Everyone knows about these already and made their positions about it.

As it turns out the most abhorrent things can come out with those Epstein files and it doesn't seem to hurt Trumps support among his base any. Doesn't seem to be threatening any legal action for him or implicated parties. Once again only Maxwell is in jail, somehow, with dozens and dozens of witnesses stepping forward. Democrats have been grandstanding on this man for 10 years now and haven't been able to stop him. I think by this point it is clear he is going to get away with everything even if people want to write about him "flailing." Him flailing is literally him achieving all his domestic and foreign policy goals right now and his base couldn't be more pleased...


> Everyone knows about these already and made their positions about it

I guess I’m not someone, because I’m still open on whether Trump is a pedophile. (I don’t think he is. I’m open to being proven wrong.)

> the most abhorrent things can come out with those Epstein files and it doesn't seem to hurt Trumps support among his base any

We don’t know this. And we don’t know how those outside his base on whose votes he and his Congress depend would react.


https://www.politico.com/news/2026/03/05/donald-trump-epstei...

From his own FBI department a few days ago. Federal court already found him liable for rape of Jean Carrol. Why are you giving this man any benefit of the doubt when he quacks like a rapist pedophile?


> They barely test this stuff.

In all fairness they are more focused on domestic surveillance these days.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: