Better HN
topnewbestaskshowjobs
Log inSign up

leourbina

136 karma · joined Jan 3, 2013 (13y ago) · 37 submissions

I like to build things and enjoy learning.

[ my public key: https://keybase.io/leo; my proof: https://keybase.io/leo/sigs/dN7Slupw75sgWe6AsNmOucD6LSkuTAo7zzO6YW2cnkc ]

Submissions

comment 2w ago · link · parent

Exactly. It is based on Cloudflare primitives to give real-time/multiplayer capabilities to artifacts. It also comes with a bus (originally made it as a separate project https://open-bus.ai, but made it all into one project).

The problem I'm trying to solve for myself is: I want to have a single place where me and my collaborators (my agents, other humans and _their_ agents) can all come together and do work efficiently. It's like a Google Docs/Drive but for the AI era and not tied to any one AI lab.

comment 2w ago · link · parent

Hey, great feedback. I'm currently re-doing the landing page as the project has expanded quite a bit (including native annotations/comments, presence, inter-instance collaboration/sharing, Yjs based real-time collaboration for agents and humans, etc).

Currently this works using Cloudflare Workers (and Durable Objects). This provides your agents with trivial tools to make realtime multi-player artifacts. Some demos include (all made by DeepSeek v4.1 Flash in ~5-10m each:

- Real-time tic-ta-toe: https://demo.open-artifacts.com/a/kA5P1UTCZ9jwRSAx - Chess: https://demo.open-artifacts.com/a/ErF1KapC2paDnmgs - Mini version of r/place (pixel canvas): https://demo.open-artifacts.com/a/xsDmeifD7bX7NeSJ - Live poll: https://demo.open-artifacts.com/a/PY6AbssBQg4epqgk

The full list of demos is here: https://demo.open-artifacts.com/

I'll be opening sign-ups for a hosted version in the coming days. All feedback welcome. Actively trying to make it better.

comment 2w ago · link · parent

Check out https://open-artifacts.com - it gives you that and much more. It also allows your agent sessions to talk to each other regardless of which machine they’re running on. It’s free and OSS. I’m the creator - happy to answer questions.

comment 2w ago · link · parent

(Deliberately tooting my own horn) I’ve been on the same path. One of the first frustrations I ran into when migrating away from Claude is that I really missed the ability to create and interact with artifacts. The idea that the products of my conversations was locked away in some frontier AI lab silo bothered me.

I built OpenArtifacts (https://open-artifacts.com) to fix this exact problem. It’s free, open source and trivially self hosted on your own Cloudflare account. I’m releasing a hosted version in the coming days. I’d love to hear what other think.

comment 1mo ago · link · parent

I built this as I was frustrated that there wasn't a high quality, open, replacement for Claude Artifacts that I could use from any coding agent.

Setting it up is a easy as copy pasting this to your agent:

"Set up open-artifacts.com/llms.txt"

This will deploy an instance to a Cloudflare domain you own, and hosts everything on Cloudflare Workers free account. If you are planning to use it heavily you may want to be on a Workers Paid account as it benefits from much higher limits.

6.

Show HN: Open Artifacts – host AI artifacts on your own Cloudflare account(open-artifacts.com ↗)

1 points · by leourbina · 1mo ago · 2 comments

comment 1mo ago · link · parent

Don't be fooled, submarines don't swim.

comment 4mo ago · link · parent

Just use Cloudflare Workers. Incredibly fast, super cheap and stable and very mature.

comment 5mo ago · link · parent

Had to search here to understand what this is really about https://www.gonum.org/

comment 6mo ago · link · parent

And yet here here we all are taking about it. Art is about inciting a response, and he’s done it. Whether we think he’s a hack or not is irrelevant - he has the world’s attention.

11.

Show HN: Idea File for LLM Cycling Coach(gist.github.com ↗)

1 points · by leourbina · 7mo ago · discuss

comment 10mo ago · link · parent

Yes

comment 10mo ago · link · parent

And that’s where my hopes vanish. A dictator-wannabe that has a track record of not respecting the peaceful transition of power in _his own_ country and has run his entire campaign on hatred for immigrants and more recently Venezuelans in particular, is going to, all of a sudden, grow a conscience and do what’s right for the Venezuelan people? Let’s call it what it is: this is about oil. I don’t have to say it, because he already did in front of the cameras. He doesn’t care what happens to Venezuela or Venezuelans.

comment 10mo ago · link · parent

What we’ve been living through in the last 28 years is Chavismo and yet Chavez is not around. When Chavez died in 2013 we celebrated that he was gone, and what we got after was much, _much_ worse. Now Maduro is gone, and we can celebrate it too. That said, Trump has signaled that he’s not interested in removing Chavismo: he’s keeping Delcy, Diosdado, et al, as they continue to be the brokers of power as long as he gets access to oil. This is just Chavismo aligned to American interests. Time will tell whether this is better or worse.

PS: As an aside, since I was a child growing up in 90’s Venezuela, the overall political mentality of people was that things were so bad that they couldn’t get any worse - and yet they continued to worsen. A lesson that I’ve learned is that in politics things need to be intentionally built - there is no “rock bottom”, the fact that things have been horrible doesn’t mean that they can’t get even worse. Thus my hesitation with what’s going on. There are no guarantees that this isn’t going to be a deal with the devil that leaves us in an even worse state…

comment 10mo ago · link · parent

Venezuelan here. It’s not that simple: Maduro was an _absolutely_ horrible dictator and yes many Venezuelans (myself included, and likely many of the 8+ million that left) are overjoyed with him being ousted, we haven’t seen any change in over two decades. And yet, it is transparently clear that the Trump admin is here not to save Venezuela, or Venezuelans… it’s here to line its pockets and that of its shareholders.

There was a very evident omission during Trump’s press conference: Any mention of Edmundo Gonzalez Urrutia, the duly elected president-elect of Venezuela (who won with a super majority last July - backed by Maria Corina Machado). Instead, Trump bad mouthed Maria Corina saying that “she does not have the support or respect of the country to run it”. They ousted Maduro, but they kept his VP (Delcy Rodriguez - which along other things is in charge of running the torture centers for political prisoners) as “she will do anything we ask her”. Trump doesn’t care about democracy or regime change - these things take time and are a long, thorny road (this wouldn’t be the US’ first rodeo). Instead they’ve chosen to keep the regime obedient with the threat of force, and instead just come in and extract as many riches as humanly possible…

Dark times ahead for Venezuela and the Venezuelan people

comment 11mo ago · link · parent

Came to say exactly the same thing :)

comment 1y ago · link · parent

This post follows the general, highly academic/dogmatic, tone that I’ve seen when certain folks talk about REST. Most of the article talks about what _not_ to do, and has very little details on how to actually do it.

The idea of having client/server decoupled via a REST api that is itself discoverable, and that allows independent deployment, seems like a great advantage.

However, the article lacks even the simplest example of an api done the “wrong” vs the “right” way. Say I have a TODO api, how do I make it so that it uses HATEOAS (also who’s coming up with these acronyms…smh)?

Overall the article comes across more as academic pontification on “what not to do” instead of actionable advice.

comment 1y ago · link · parent

I’m a MIT grad from ‘12. PM me (email is on my profile)

comment 1y ago · link · parent

Anyone can say anything on YouTube. I think you’re confusing confirmation bias with “citing your sources”.

comment 1y ago · link · parent

UUIDs are very wasteful [1]. For most use cases you can replace them with much shorter strings and still have very low chances of collisions [2]

[1] https://henvic.dev/posts/uuid/

[2] https://alex7kom.github.io/nano-nanoid-cc/

comment 2y ago · link · parent

Just fyi, the person that replied wasn't just "someone" at Cloudflare. It was Kenton Varda (kentonv here). He's the creator of Cloudflare workers, he's an incredible engineer.

comment 2y ago · link · parent

If you can run this using ollama, then you should be able to use https://www.continue.dev/ with both IntelliJ and VSCode. Haven’t tried this model yet - but overall this plugin works well.

comment 2y ago · link · parent

I've been using co-pilot as well as Claude (Sonnet 3-3.5) and ChatGPT (4-4o) since the beginning of the year with somewhat mixed success. My general take is that, at least so far, the improvement is very much marginal. These tools save me a few seconds by quickly surfacing information that otherwise would require me having to google and search through docs/stackoverflow/etc, or by writing code that's generally tedious (like tests).

Co-pilot is mostly useful to stay in the zone, allowing me to focus on a larger task and letting it get some of the details right (which it does ~90% of the time).

On the other hand, I use ChatGPT/Claude for more open ended tasks (e.g. "I got this <insert obscure> error", "how do I configure this framework so that xxx") which previously I would have googled hoping to find a stackoverflow answer or a doc page somewhere. For this use case I'd say it's ~50% successful, but I often have to deal with hallucinations - some times just following up with "Are you sure?" does help, but it's hit/miss.

As I said a the beginning, mostly marginal improvement. It's definitely saved me time, but thus far nothing that I couldn't do myself by spending a little bit more time. Largely it is a nice to have, not a need to have.

comment 2y ago · link · parent

I’d take a slightly different perspective. I’d like to think that these tools are in some ways “humanizing” - we can offload things that we’re not particularly good at (like memorization tasks) and instead we can use our capacities to do things that (at least for now) we humans are uniquely capable of doing. As an example: Back in the 90’s people knew many phone numbers by heart, nowadays I don’t think people know more than a handful, if that. Does that mean that “phone contacts” are making us dumber? Or perhaps we can use the time/effort/capacity to better use.

comment 2y ago · link · parent

Paperspace is a great way to go for this. You can start by just using their notebook product (similar to Collab), and you get to pick which type of machine/GPU it runs on. Once you have the code you want to run, you can rent machines on demand:

https://www.paperspace.com/notebooks

comment 3y ago · link · parent

It just needs to be clarified that KL divergence isn’t a proper mathematical norm, so it doesn’t behave the way we intuitively think a distance should. As mentioned, it doesn’t satisfy the triangle inequality, which is a basic property for any distance-like function.

In comparison, both of your examples are much closer to norms as they both satisfy the triangle inequality.

For reference, this is what I’m referring to when I say a “norm”:

https://en.m.wikipedia.org/wiki/Norm_(mathematics)

comment 3y ago · link · parent

One intuition is that KL-divergence represents a sort of “distance” between probability distributions. However, this isn’t quite right as it doesn’t satisfy some basic properties a real distance (a norm) would satisfy, including the fact that it isn’t symmetric: KL(Q, P) != KL(P,Q), and it does not satisfy the triangle inequality. Nonetheless, KL(P,Q) gives you a good idea of how “far” is P is from Q: in the context of encoding, if you wanted to come up with an ideal encoding of symbols coming from P, but you guessed Q as the distribution of these symbols, then KL(P, Q) is the extra number of bits you’d have to use. One nice property is that in the case that KL(P,Q) = 0, P and Q are equal (almost everywhere, which for most applications is irrelevant). This makes it useful in the ML context as you can minimize KL divergence and know that the resulting “guessed” distribution is getting closer to the data distribution you’re trying to guess using some parametrized function (an NN).

comment 3y ago · link · parent

https://webcache.googleusercontent.com/search?q=cache:s7pKN1...

comment 3y ago · link · parent

Just wanted to say thank you. your content was crucial in getting me to understand network programming and was crucial for my masters thesis. Your content has always been crisp, to the point and accesible. Keep it up!

comment 6y ago · link · parent

Redis Streams is a pretty good lightweight replacement for Kafka. Of course, what Kafka gets you are durability, being able to pick among at-least-once, at-most-once and exactly-once delivery of messages, among other things
12