Hacker News new | past | comments | ask | show | jobs | submit | vs4vijay's comments login

This might be a silly question, but why don't we have something like PR Gate pipelines that ensures it passes before being picked up by a maintainer?



Interesting hack! I'll be using it from now on. Do you have any tips for when a machine is behind a NAT? Specifically, I want a service to automatically pick up changes from Git whenever their origin is pushed, without using any fancy tools. I prefer a simple, "Taco Bell programming" approach.


I typically tunnel SSH through Cloudflare tunnels for this! Requires a bit of client-side config in the ~/.ssh/config file, but once you do that you can very easily SSH through a NAT!


I have 1000+ tabs opened in 4 different Firefox instances. One of the beauty of using Firefox.


My dotfiles for some productivity hacks - https://github.com/vs4vijay/dotfiles/blob/master/.zshrc


On Windows, you have the option of using a tool named Mouse Without Borders, which was developed by Microsoft Garage and is now part of Windows PowerToys.

Links:

  - https://www.microsoft.com/en-us/garage/profiles/mouse-without-borders  
  - https://github.com/microsoft/PowerToys


Barrier is a Cross-Plattform, open source Synergy fork that works quite well without any additional HW too [0]

Edit: I just noticed it is unmaintained (never bothered actually because it works. Input leap is the continuation

[0] https://github.com/debauchee/barrier [1] https://github.com/input-leap/input-leap


Glad to see it mentioned here. I used it a few years ago and it worked really well.

It makes it especially easy to drag and drop file copies across computers.


Have you explored Magic Wormhole - https://github.com/magic-wormhole/magic-wormhole


"LocalSend is a free, open-source app that allows you to securely share files and messages with nearby devices over your local network, without needing an internet connection."

Pardon the ignorance but why would someone use Magic Wormhole to transfer files/messages between computers on the same LAN. Would there be a rendezvous server listening on a local address. What if the two devices are owned by the same person.

If they use the Magic Wormhole default settings the files/messages will travel over the internet, using a third party rendezvous server.


Messages – yes. Files – no, unless the devices can't connect to each other directly. The only problem I see with this setup is that you can't use it without Internet connection. Perhaps sending side could advertise via mDNS in this case?


> If they use the Magic Wormhole default settings the files/messages will travel over the internet, using a third party rendezvous server.

I am very, very sure this is incorrect. The rendezvous indeed happens over the internet with their default handshake server, but the transfer itself should run in LAN.


Yes, thank you for the correction. Sloppy wording on my part. What I meant was the rendezvous happens over the internet.

Perhaps Magic Wormhole has an option to forward traffic (if so, IMHO that's not peer-to-peer) but I only meant the process of setting peer-to-peer connections requires packets to travel over the internet and, by default, to a third party server.


Yes, the "setup" messages via the Mailbox Server will be over the internet to a third-party server.

All the contents of these messages are end-to-end encrypted so you reveal which two IP addresses are communicating, but not the contents of those communications. (If you don't want to reveal that, use the Tor options).

The "bulk transfer" connection should be over the LAN only if both devices are on the same network. In any case, all of these messages are also end-to-end encrypted as well.


This doesn’t run on iOS.

I use Destiny, which is magic-wormhole for iOS:

https://apps.apple.com/us/app/destiny-secure-file-transfer/i...

https://github.com/LeastAuthority/destiny

Unfortunately it uses different mailbox URLs from magic wormhole, so it isn’t compatible with those clients.


Has anyone attempted to combine all of these desperate open source p2p file sharing solutions into a single app?

Like, if any time someone mained one of these systems, you could assume you had it. Even do discovery for everything at once on the receive side, and if both of you have the omni-sender thing just pick what protocol to send it over.


It is compatible, you just have to configure the other client to use the same servers.

For example, to use the "wormhole" Python CLI with Destiny, you can do this:

wormhole --relay-url wss://mailbox.mw.leastauthority.com/v1 --transit-helper tcp:relay.mw.leastauthority.com:4001 send README.rst

Then, the code it prints out can be consumed by a Destiny (or https://winden.app ) client.


That does not look user-friendly at all, and I cannot give that to a non tech person to use this.


It’s great, but no phone apps.


https://winden.app is a Web client

"Destiny" is an Android and iOS client https://github.com/LeastAuthority/destiny/

(These two use servers run by Least Authority by default so to talk to other clients you have to configure Destiny to use the defaults, or the other side to use the non-default servers).


There are good Notes App (with syncing options):

  - Standard Notes (OSS, E2E encryption, Allows Sync)
  - AnyType (OSS, E2E encryption, P2P Syncing, Have option to host a node yourself)
---

If you want to separate Notes App and Syncing, then you could try following combination:

  - Obsidian/LogSeq with SyncThing
  - Obsidian/LogSeq with Git Sync
  - dendron vscode with Git Sync


Oh wow! I did not know about anytype. Thank you for showing me another option. How long has the software been around? What is your personal setup? Do you use it?


iirc they went open source the other day on github but it puts me off that you are required to login to use their desktop app.

with obsidian i can just open a git cloned repo folder with my notes and i can use it without sign in walls.


Yo I totally thought about using just files in a git repo myself. However I’m reluctant on trusting GitHub with my notes. Maybe is self-host a git repository and use that. Hmm thanks thoughts like these are exactly why I posted this.

Also looking into Möbius, which is an iOS implementation of syncthing.


Has anyone managed to get LogSeq to sync across Apple devices?


FWIW, the company behind Obsidian also offer a paid sync service.


When dealing with these types of calls, my approach is to inform the callers that I am a member of their software development team. I explain that I inadvertently generated a lead from my personal number, and typically they hang up and remove my number from their list.


FYI: you can use https://file.pizza/ for sending the file outside the network.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: