4 ms·
An interesting article, but many posts titled "Create <awesome program> in <small number> LOC" are misleading if they are highly dependent on underlying librar
by EzGraphs 13y ago
An interesting article, but many posts titled "Create <awesome program> in <small number> LOC" are misleading if they are highly dependent on underlying libraries. The logical end of this style of article would be something like "How to do X in one Character" and make a call to some external package.
- hobs 13y agoYeah, its not really possible to write a vnc library in 200 LOC without standing on the shoulders of giants. I still think it is useful to explain how to glue different parts together and (hopefully) get people interested in some technology that excels at glue(python etc).
- mgechev 13y agoYou're absolutely right about the underlying libraries, I guess the the title wasn't the most appropriate one. Anyway, if we count V8, node.js standard libraries, webkit,...etc. there's no software written entirely in JavaScript which is less than millions lines of code. The main idea of the article was to show how easy things goes with the tools HTML5 gives us.
- Swannie 13y agoI'd say you accomplished your aim. Great little article, and awesome to see the power of the remote frame buffer lib.
- philjackson 13y agoI knew this sort of comment would be a highly-rated one - it's just a pointless put-down. The author didn't write a kernel, or the net stack, or libc, or v8, or the node libs, or loads of other bits that are used in the process. 200 loc is a valid, honest and interesting metric in this case which you're reading way too literally.
- drdaeman 13y agoVNC client in one line of shell: `vncviewer target.example.org:1`