HackerTrans
热门最新趋势评论往期问答秀出招聘

WorldDev

no profile record

提交

File format for large sorted lists of integers

github.com
2 分·作者 WorldDev·2个月前·0 评论

iOS: Apps persist data after full deletion

6 分·作者 WorldDev·6个月前·10 评论

Ask HN: What AI tool to use for coding in 2025?

2 分·作者 WorldDev·8个月前·4 评论

Ask HN: Control 2 air-gapped computers with 1 mouse and keyboard

2 分·作者 WorldDev·9个月前·6 评论

Ask HN: Advice for creating a USB device linking 2 computers

20 分·作者 WorldDev·9个月前·45 评论

Ask HN: Security of Hardware Nano KVM

2 分·作者 WorldDev·9个月前·3 评论

Ask HN: Hardware to use MacBook keyboard and trackpad to control Mac mini

2 分·作者 WorldDev·9个月前·6 评论

评论

WorldDev
·6个月前·讨论
Yes, I think that's right, you've found the root of the issue. Thanks for that link. Not great, I expected better from Apple.
WorldDev
·6个月前·讨论
Right, but I deleted the app and all its data. I made sure there was no other app from the same vendor left on the device.

I checked the "Passwords" and there was no entry for these apps (I think that's the only place for the keychain on ios?).

And it's not about the phone telling its phone number.
WorldDev
·6个月前·讨论
I tried that, and it still has access to account username on reinstall.
WorldDev
·6个月前·讨论
No, I made sure I had only instagram installed and no other app from the same vendor.
WorldDev
·8个月前·讨论
Got it, thanks
WorldDev
·8个月前·讨论
Interesting, thank you. Did you compare it to other methods and found it better?
WorldDev
·8个月前·讨论
That makes sense, thanks!
WorldDev
·9个月前·讨论
Thanks for the idea. I think it's a great one, but I have a few concerns:

1) The two computers are on 2 different grounds, so I believe it could damage the computers. So I would like to isolate the ground somehow, I am not sure what the options are. I tried to look for opto-isolated options, but didn't really find something clear. Do you have any suggestion?

2) This specific chip is marked NRND (not recommended for new designs) on ftdi's website, So it feels slightly wrong to use it?
WorldDev
·9个月前·讨论
I see, you are unplugging and re-plugging, instead of just pressing a button. That makes sense. It feels like a usb mechanical switch should exist, but I guess it does not.

Another option that I looked at is whether I could use the switching capability on the device itself. For example the new Logitech MX 4 can switch between different computers. It also has a wireless connection, versus bluetooth connection. Do you have a sense whether switching with a device like that is enough of a separation?
WorldDev
·9个月前·讨论
That's interesting, thanks for sharing.

> Modern peripherals may have local storage

Do you mean the flash that contains the code for the microcontroller?

> I have a dumb USB switch

I am not 100% sure I understood. Is the "dumb USB switch" the paperclip?
WorldDev
·9个月前·讨论
No problem at all, I didn't interpret it as sarcastic.
WorldDev
·9个月前·讨论
Well, nothing malicious, and it would be to use between 2 of my own computers.
WorldDev
·9个月前·讨论
Thanks for your thoughts. That all sound fair.

I am fine with having quite a bit of configuration on the target device (I am fine with configuration on both sides).

> it ought be possible to make a rpi0 device that outputs a usb-gadget keyboard

I like very much the idea of being able to make the host side (macBook) appear as a usb-gadget keyboard. That way I would just need to plug a single usb cable between the 2 computers. Could you give me a few pointers to get started, to do this on macOS?
WorldDev
·9个月前·讨论
Thanks for that, that's an interesting thought. I am trying to think about the security aspect. If the receiving device (mac mini) is infected with malware, can it infect the macBook through the serial port?
WorldDev
·9个月前·讨论
That's absolutely fair, and I am fine with writing software for both computers. However, I need this software to not go via the network at all.
WorldDev
·9个月前·讨论
To try and clarify a bit: I am essentially trying to have a KM (KVM without the V) over USB.

To go one step higher, I am trying to control a mac mini from the keyboard of a macBook.
WorldDev
·9个月前·讨论
Thanks, but I want to avoid IP. I want a system that does not go via the network at all.
WorldDev
·9个月前·讨论
Thanks for your thoughts. I agree that using software would be easier, but I wanted to do it in hardware in this specific case.

I am unfamiliar with Raspberry pi, but if my understanding is correct, it's running a real os. So I would need to send it a command to actually shut down every time I want to remove the usb device. More generally, having a general purpose OS on the little device seems overkill for that use case, no?
WorldDev
·9个月前·讨论
Understood, thanks for your thoughts!
WorldDev
·9个月前·讨论
Interesting, I don't know these.

I assume you have a little software on the controlling computer that sends keystrokes over the network, they are received by this device, and sent via usb to the controller computer, simulating a usb keyboard?

Do you have experience with it? How is the latency? Does it work with the macbook trackpad?