HNHacker News
TopNewBestAskShowJobs

dfish

20 karma · joined July 23, 2022

submissionscomments
dfish··on What do Visa and Mastercard do? An intro to card networks
Bitcoin and similar are computationally intensive to run because of a thing called decentralization. Visa and Mastercard don't need consensus to perform payments, but they for sure don't have a single server running, I am sure they have more servers than bitcoin nodes, without counting on stripe, paypal, ... and other payment providers IN THE WORLD :)

There is something called lightning, which is p2p payments through bitcoin!

> Furthermore, a currency needs a government (or similar kind of body) to manage its stability, by printing (and buying) money. Otherwise, we'll see wide fluctuations in value like what happens with Bitcoin.

call the economists! a currency needs a government! But only from 1971 onwards, before that people didn't have currencies! Oh, you don't want to use the US dollar? the best currency ever!? I guess we'll have to bomb your country and neighboring ones to change your mind.

> to manage its stability

aka lose 2-4% of purchasing power per year. Thank you central bank! you saved us!

> Otherwise, we'll see wide fluctuations in value like what happens with Bitcoin

Oh no! The horror! A currency that can also go up!!! I guess we need a central bank for oil! to keep the price of oil stable! And food too!

dfish··on What do Visa and Mastercard do? An intro to card networks
guy who doesn't know what peer-to-peer technology is, laughs at man who does!

please stop using the internet! it might be slow and expensive to run! it requires insanely big cell towers and submarine cables! it won't scale!!11!! kind of guy

dfish··on UAE-based Falcon AI NSFW classifier among top global open-source models (2025)
It's for research purposes :wink: :wink:
dfish··on Tailcat – Like netcat, but over Tailscale’s data plane
you could try rayfish.xyz, it is compatible with tailscale nowadays so you can run both tailscale and rayfish
dfish··on OpenNode – Bitcoin Payment Processor
You can use lightning with mixes funds. There are ways to move your Bitcoin. The main premise of my comment is that they can't *take away* your bitcoin. But they can take a way your USDC.
dfish··on OpenNode – Bitcoin Payment Processor
Someone who doesn't have good fiat rails like third-world countries. Or people who just don't want to be part of the fiat system. Or both.
dfish··on OpenNode – Bitcoin Payment Processor
They are both useful. Monero is a bit more tricky to use, there is no concept of Lightning network, you still have to wait around 7 minutes for the transaction to settle. It's not bad, but it is different. The transparency in Bitcoin is a feature not a bug.
dfish··on OpenNode – Bitcoin Payment Processor
It is what it is. You have to implement KYC if you want fiat rails. A merchant can't KYC every single person that comes to the store. But you could build a system to eventually ban wallets that could be tied to criminal activity.

The merchant can also pick to use Lightning and keep the Bitcoin instead of selling it for fiat.

dfish··on OpenNode – Bitcoin Payment Processor
Stablecoins can be censored. You deposited into Huobi 5 years ago? Banned. Now we keep your stablecoins, thanks for playing.

You can't censor Bitcoin.

dfish··on OpenNode – Bitcoin Payment Processor
I sent a transfer from the UAE to Spain and another one to the Netherlands. They took 5 days and 7 days respectively. The same transfer takes 10 minutes in Bitcoin. You don't do transfers to pay for stuff at the grocery store, the same way you would not pay using the Bitcoin network. You would use lightning network, which takes less than 2 seconds finality.
dfish··on OpenNode – Bitcoin Payment Processor
??

The merchant requests 100 USD. The user pays X BTC equivalent to 100 USD. The merchant receives 99 USD aka the fee is 1 USD

dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
> So I'd have a different IP on each network?

NO. You will ONLY have to rotate your IP if you join a network in which there is a collision. 1 in 4 million chance. If that happens, it's ok. Ideally you are using magicDNS and don't have to worry about IPs or just use the IPv6.

dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
No, only once if there is a collision, which is 1/4M
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Indeed, it is a typo of `public key`. What I mean is that your identity is your private key. And no, you won't have a new IP per network. Your IP is `fnv1a(ip || index) when index > 0`. Which changes your IP in all of the networks. That's why we also implemented MagicDNS. You can just use your `user.ray` name. The daemon handles IP changes.
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
I think it's too much. I don't feel like I need to justify myself. You can read the code.

But anyways, first of all; you can see we run a trading company called Infinite Field (https://github.com/infinitefield) and we trade on a decentralized venue called Hyperliquid. You can check the leaderboard there, we are in the top 15 or so. We are doing more than just trading there, we also run a validator with 0 revenue on our side. We charge no fees. Although maintenance cost is high (20k/month). We also built an SDK for users building in Hyperliquid because the official one was not good enough (https://github.com/infinitefield/hypersdk). No other market maker is going to do that. Mostly. Also, I built and released our in-house websocket library (https://github.com/infinitefield/yawc) because I consider it to be better than tokio-websockets or tungstenite. Why is it better? It supports compression (which no other does) and WASM (that one was pre-LLMs so code is mine alone hehe).

> You built it in two weeks because, for the last four years, you were busy with other things. If you get busy again, will the project lag for the next four years?

I am always busy. But I want to deliver a minimum set of features that will work without me. You can see the open issues and PRs. All of the work is being made transparently on Github. I also use the product myself and I hope I can use it internally at my company too. If you want to reach out to me you can do it over email or telegram (ask for it) and I am 24/7 online. When I say the idea was sitting idle for 4 years; it basically means I was a guy from a town in Spain and I had to do something to get out of there. Although I contributed a lot to opensource when I was younger (check https://github.com/dgrr) it didn't pay the bills! So it took me 4 years to reach a level in which I feel comfortable dedicating some time to opensource stuff like hypersdk, yawc or now rayfish (actually more than 4 years, but rayfish was there for that amount of time).

I am very transparent. I'll open up my X account so you can engage more directly with me if you want.

dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Ah I understand that. Good thing is you dont need to trust me! You can just read the code. And PRs are welcome, and over time more maintainers. You can also fork it. It has MPL-2.0 license to ensure code is always open.

In terms of the credentials; again, it is not a product like Bitcoin. I am not a researcher from some university. I don't even have a computer science degree. So I don't oblige to "credentials".

I am an entrepreneur, I had some ideas. One of those ideas is rayfish. I like to give back to groups or people. I live in a country where I pay no taxes so I can donate part of that to cat shelters from my homecountry and in this case I open-sourced rayfish because I think it is a good product many people like me will enjoy.

Does that reply to your concerns?

dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
bro ditched the car to use the horse
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
When the wise man points to the moon, the fool looks at the finger
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Yeah I run an HFT firm. Apart from that, why does it matter? This isn't finance! But of course, rayfish is NOT production ready. For home servers might be ok. BUT NOT PRODUCTION READY
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Thank you. I am working on the android app right now
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
I did gauge that possibility. But iroh is already the library doing the heavy-lifting. So no, I don't think I'll make it a library. It is actually kinda a library now that I have to add android support. But it's not really fit to be a library.
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
If you dont like the use of AI dont use it. Very simple. I went from idea (4 years ago) to implementation in 2 weeks.
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Indeed. So what we do is build your ipv4 using private key bits + collision_index. It is not perfect but it has worked in our tests. We'll keep improving it.

The collision_index is incremented when a collision happens on a network. Let's say you join network A, B, C. But when you join C, another peer has the same IP. The coordinator (which is a role anybody can have in the network) will not accept you in the network unless you change your IP. Which means you need to increase your collision index. Now that process is repeated N times until you don't collide with any other peer.

dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
rayfish is a layer-69
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
English is not my mothertongue, therefore I told Claude (and GLM-5.2) to improve the wording as much as they could.
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Actually the flashy website was built 4 years ago by another person. We actually tried to build it 4 years ago, but other ventures with higher upside kept our focus. Now you get a VPN for free, no strings attached, although it is vibecoded you still complain :cry:

If you dont like it dont use it

dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Yes, you can also do it. VPN is just one of those applications to be honest. Think of it as relaying packets over iroh.
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
Not yet. I'll support it in the future
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
I didn't really knew what Nebula was until I saw the comparison made by claude. I tried solutions like tailscale before but never nebula. If you like that product keep using it. The `it's nebula minus X feature` doesn't really fit here
dfish··on Rayfish, Peer-to-peer mesh VPN with no server to trust
My product is unique because it is not a product. Like it is mentioned in the article. I don't care about monetization, I just want a good trustless p2p vpn that anybody can use. In the future even normies will be able to. I am working on an android/ios app (ios not yet but in the future) to at least share my clipboard with my computer or send images. Which seems trivial but you dont have a really good (not battery consuming) solution for android<>macos.

Anyway. Rayfish is p2p no central coordination needed. Other's do need some central coordinator. The main disadvantage one might find is that it uses iroh which is built on top of QUIC. Tailscale and others use wireguard, which is nice and compatible with legacy VPNs. Also they have a kernel driver which we dont. It's all userspace. I didn't want to reinvent the wheel.

Page 1 of 2Next →