6 ms·
Was curious if I could pull this off, and managed to get a Mac version "working" at an "acceptable" (there isn't even a quit button yet) level to serve as a sta
by owenfi 5y ago
Was curious if I could pull this off, and managed to get a Mac version "working" at an "acceptable" (there isn't even a quit button yet) level to serve as a starting place.
Was embarrassed by the quality, since it's just 5-6 snippets (of various style) pasted together...but I might as well share it anyway to prove the point:
https://github.com/owenfi/clipboardcopies https://github.com/owenfi/clipboardcopies
The article does strike me as "scope creep" or missing the point of the question...I've taken this super crappy version and added it to my startup items, I think I might find it useful, and if I do it might grow over time. The polish can happen later if needed. I was able to accommodate a bit of the polish out of the gate by saving to individual files based on the time. The granularity roughly corresponds with the polling frequency. (Turns out there isn't a clipboard did change notification?)
To me the "complexities" are those things lurking beneath the surface, that a newbie doesn't know how to resolve, and an expert forgets to even point out. In this case the complexities I saw were:
- Getting it to run required revoking and updating my provisioning certification (could've been solved another way I'm sure), this was fast because I've done it plenty of times in the past but things like this often throw up unnecessary roadblocks that aren't foreseen in the scope. (luckily I already had Xcode installed.)
- Writing to the directory I wanted (~/.clipboards) proved futile due to sandboxing, and after 5-10 minutes I just gave up, since I want to consume this in terminal I can just cd into the app bundle documents area (or fix later).
- How do you get git to merge up 2 repositories that were started independently (maybe I should've started from github in the first place, but I didn't think I would be saving or sharing it).
I'm not saying it's not worth thinking those things through or practicing project management...just that the first student was right.
- bsrhng 5y agoI think interpreting the intention of the author and the students should take into account that the author's research is in human-computer interaction and that the students most likely are aware of that fact as well.
- DeathArrow 5y agoI can write an OS in just 2 hours. Just a few lines of code which can be booted straight on the hardware an sit there doing nothing. It is an OS? It is. It is useful? It is not.
- hoseja 5y agoIt is very useful if you want to learn how to program OSes.
- AstralStorm 5y agoI want to see that done on modern x86-64. Make a livestream or something!
- FemmeAndroid 5y agoYou might enjoy this series of blog posts. I went through them last year and learned a lot! https://os.phil-opp.com/ https://os.phil-opp.com/