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

I was trying to set up OpenClaw and broke it. My bad guys.

POST https://fjtwtlaryvoqohkwnbwd.supabase.co/functions/v1/transf... 402 (Payment Required)

Function error: FunctionsHttpError: Edge Function returned a non-2xx status code

:(


Fun! I wish WebTorrent had caught on more. I've always thought it had a worthy place in the modern P2P conversation.

In 2020, I messed around with a PoC for what hosting and distributing Linux distros could look like using WebTorrent[1]. The protocol project as a whole has a lovely and brilliant design but has stayed mostly stagnant in recent years. There are only a couple of WebRTC-enabled torrent trackers that have remained active and stable.

1. https://github.com/leoherzog/LinuxExchange


I think the issue has generally been that web torrent doesn't work enough like the real thing to do its job properly. There are huge bit torrent based streaming media networks out there, illicit, sure, but its a proven technology. If browsers had real torrent clients we would be having a very different conversation imo

I don't remember the web torrent issue numbers off the top of my head, but there are a number of long standing issues that seem blocked on webrtc limitations.


I think we still have the same blocker as we had back when WebTorrent first appeared; browsers cannot be real torrent clients and open connections without some initial routing for the discovery, and they cannot open bi-directional unordered connections between two browsers.

If we could say do peer discovery via Bluetooth, and open sockets directly from a browser page, we could in theory have local-first websites running in the browser, that does P2P connections straight between browsers.


Could you run some kind of hybrid DHT where part of it was Webrtc and part was plain HTTP(S) / WebSocket?

There are some nodes (desktop clients with UPNP, dedicated servers) that can accept browser connections. Those nodes could then help you exchange offers/answers to give you connections with the Webrtc-only ones, and those could facilitate offer/answer exchanges with their peers in turn.

It'd be dog-slow compared to the single-udp-packet-in, single-udp-packet-out philosophy of traditional mainline DHT, but I don't see why the idea couldn't work in principle.

I think a much bigger problem is content discovery and update distribution. You can't really do decentralized search because it'd very quickly get sybil-attacked to death. You'd always need some kind of centralized, trusted content index, but not necessarily one hosted on a centralized server. If you could have a reliable way to go from a pubkey to the latest hash signed by that pubkey in a decentralized way, + E.G. a Sqlite extension to get pages on-demand via WebTorrent, that would get you a long way towards solving the problem.


That was you ask exists; it updates through a version counter. It just works on mainline DHT btw.

If a tracker could be connected to via WebRTC and had additional STUN functionality, would that suffice? Are there additional WebRTC limitations?

> they cannot open bi-directional unordered connections between two browsers.

Last I checked, DataChannels were bidirectional


Yes, but it's STUN that sucks. If the software ships with a public (on the internet) relay/STUN server for connecting the two clients, it won't work if either aren't connected to the internet, even though the clients could still be on the same network and reach each other.

/? STUN: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

There is a Native Sockets spec draft that only Chrome implements;

"Direct Sockets API": https://developer.chrome.com/docs/iwa/direct-sockets :

> The Direct Sockets API addresses this limitation by enabling Isolated Web Apps (IWAs) to establish direct TCP and UDP connections without a relay server. With IWAs, thanks to additional security measures—such as strict Content Security Policy (CSP) and cross-origin isolation— this API can be safely exposed.

Though there's UPNP XML, it lacks auth for port forwarding permissions. There's also IPV6.

Similar: "Breaking the QR Limit: The Discovery of a Serverless WebRTC Protocol – Magarcia" https://news.ycombinator.com/item?id=46829296 re: Quick Share, Wi-Fi Direct, Wi-Fi Aware, BLE Beacons, BSSIDs and the Geolocation API


That seems like a nonissue for the purposes of this discussion though, in terms of user uptake. Tiktok and Facebook and other websites aren't exactly focused on serving to people on the same network.

"If browsers had real torrent clients we would be having a very different conversation imo"

The elinks text-only browser has a "real" torrent client




Can't seem to find any mentions of this online from over a week ago, not much commentary either, mostly stuff that smells like advertising / astroturfing. Hmm...

huh?

I had never heard of this! Pretty cool!

Oh wow

Was there ever a web-based Jigdo?

And they reference that announcement and related information in the second line.

Which announcement are you looking at? I see no references to llama-cpp in either Ollama's blog post or this project's github page.

I've used em dashes for decades — They're great.



Calvinball, the card game


I’m glad there can be no “official” (ie mass produced) version of this game. In true spirit of the game. As much as I wish we had more Calvin and Hobbes related merchandise bc I love it.


Curiously, the game was mass produced before it was a game at all... As boxes of 1000 blank white flash cards.


Not quite, this game has a mechanism for re-using rules, which is entirely forbidden in Calvinball.


Is this replacing the one-time purchase of these apps on macOS?


Doesn't sound like it > Alternatively, users can also choose to purchase the Mac versions of Final Cut Pro, Pixelmator Pro, Logic Pro, Motion, Compressor, and MainStage individually as a one-time purchase on the Mac App Store.5


No, fta:

> Alternatively, users can also choose to purchase the Mac versions of Final Cut Pro, Pixelmator Pro, Logic Pro, Motion, Compressor, and MainStage individually as a one-time purchase on the Mac App Store.



Did they say the same when Email took over? Or Slack?


Are you suggesting that workers are NOT already more constantly "on the clock" with mobile phones/email/slack/text than before those things?

(I'm not really sure LLMs will make it that much worse here, but all those things have been harmful to workers already.)


Well yes, they did... For example: https://news.ycombinator.com/item?id=29201917


And yet it is still possible to maintain work-life balance, given the right job at the right business, even after the invention of email.


Remember "Crackberry"?


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

Search: