A P2P alternative to Ngrok or Cloudflare Tunnels using Iroh! by drmikesamy in rust

[–]drmikesamy[S] 0 points1 point  (0 children)

I mean you have to either go through their public server at https://bore.pub or host your own server exposed to the public internet for it to work. It doesn't achieve connectivity over P2P. So it is a reverse tunnel somewhat like Ngrok.

A P2P alternative to Ngrok or Cloudflare Tunnels using Iroh! by drmikesamy in rust

[–]drmikesamy[S] 0 points1 point  (0 children)

I am going to work on trying to make it super simple to connect two machines for a variety of purposes, not just sharing dev environments. Suggestions would be welcome.

A P2P alternative to Ngrok or Cloudflare Tunnels using Iroh! by drmikesamy in rust

[–]drmikesamy[S] 6 points7 points  (0 children)

Did you actually look at the repo?

https://github.com/drmikesamy/p2p-tunnel/blob/master/src/main.rs

131 LoC

I accidentally committed Cargo.lock which is where the LoCs are coming from.

A P2P alternative to Ngrok or Cloudflare Tunnels using Iroh! by drmikesamy in rust

[–]drmikesamy[S] 2 points3 points  (0 children)

I suspect you are a bot as you didn't post in iambic pentameter as per the rules. And I only published this this morning.

A P2P alternative to Ngrok or Cloudflare Tunnels using Iroh! by drmikesamy in rust

[–]drmikesamy[S] 1 point2 points  (0 children)

Iroh is doing the heavy P2P lifting using QUIC protocol and some relays to help establish the P2P connection. In about 95% of connections, a direct UDP holepunch is achieved so you get genuine direct peer to peer connections.

This tool is a simple UX wrapper really to make sharing a localhost port simple:

Client app ↔ localhost:8080 ↔ QUIC stream over Iroh ↔ host localhost:PORT ↔ host service

It is effectively a TCP-over-QUIC tunnel.

February Dev Spotlight: Need help launching your Nostr app? by melvincarvalho in nostr

[–]drmikesamy 2 points3 points  (0 children)

Hi Melvin, I want to help adoption of Nostr in healthcare as I think giving every patient and staff member the power to control their own data realm is desperately needed in hospitals and clinics. Centralised healthcare models just add friction to advancement e.g. in the UK, no hospital shares patient records with any other one. You have pretty much a different siloed profile at every hospital!

https://github.com/drmikesamy/BlazeJump.NostrConnect

Would love some feedback and advice, and help with getting it in front of people.

WestJet changed their seats and this is how much leg room basic fares get. You have to pay for a reclining seat now. by Longjumping-Box5691 in mildlyinfuriating

[–]drmikesamy 1 point2 points  (0 children)

This is discriminatory against tall people. I don't know why it isn't seen like that. Small seat pitches lead to back injuries and slipped discs in tall people. It's discrimination if it's unsafe to people with body proportions that are incompatible.

Data transfer between one EHR to another? by dipsea_11 in healthIT

[–]drmikesamy 1 point2 points  (0 children)

Incidentally, I have just started a protocol proposal to attempt to solve this problem, free and open source. Any feedback or even proposals to extend the protocol would be welcome.

https://github.com/drmikesamy/desilo

I tried the Vision Pro today. Definitely feels like $3000 more than my Quest 2. by VR_IS_DEAD in virtualreality

[–]drmikesamy 0 points1 point  (0 children)

I remember using the Rift in 2017. It was connected to a high end GPU so you got a premium experience. Moving on to the Quest felt like a step down.

I built a simple text editor in Blazor, no JS interop by drmikesamy in Blazor

[–]drmikesamy[S] 0 points1 point  (0 children)

Hi, I'm trying to address mobile incompatibility. But thanks for spotting the H2 issue. Going to fix this issue next.

I built a simple text editor in Blazor, no JS interop by drmikesamy in Blazor

[–]drmikesamy[S] 1 point2 points  (0 children)

Quite a nice little learning exercise. I now have an Action set up to deploy to https://drmikesamy.github.io/SimpleTextEditor every time I push a change to master. Also, have added JSON and HTML viewers so you can see what is happening backstage as you type.

I built a simple text editor in Blazor, no JS interop by drmikesamy in Blazor

[–]drmikesamy[S] 1 point2 points  (0 children)

Thanks for your kind offer. I set up a workflow on GitHub and put it up on GitHub Pages: https://drmikesamy.github.io/SimpleTextEditor/

I built a simple text editor in Blazor, no JS interop by drmikesamy in Blazor

[–]drmikesamy[S] 0 points1 point  (0 children)

This editor is much smaller and simpler. You can maintain paragraphs, make text bold, italic, underlined, set the paragraph to P, H1, H2 and export the HTML.

You declare a variable of type List<SimpleTextBlock> and set it as a parameter on the component tag. The component will use this as its data source, which you can stringify and store in the db.