3 ms·
file.sort() Amazing how much experience, sweat and tears you get for free behind a single function call. Any other industry would charge you a ton. Open source
by zepolen 6y ago
file.sort()
Amazing how much experience, sweat and tears you get for free behind a single function call. Any other industry would charge you a ton. Open source!
- jacquesm 6y agoYes, open source is very powerful. But it is also the exception and if you want a piece of bespoke software you're likely going to have to pay someone for it. It's pretty rare that someone would say 'I need some software to do 'x'' and then magically a team of talented individuals jumps forward to say 'we will provide it for free' and will maintain it for free to boot for the rest of its service life. Software has very little reproduction cost, but behind that function call is a lot of stuff written by people who in turn were simply paid for their work. True altruism is rare, and even if there are lots of open source examples of exactly that that still makes it exceptional and mostly because people already wanted to write a particular piece of software.
- zepolen 6y ago> But it is also the exception and if you want a piece of bespoke software you're likely going to have to pay someone for it. The reality is that you will find many implementations of software of varying degrees of quality already for whatever you have in mind with an online search. Yes much of it was originally paid for or done for self serving purposes but once it is open source the outcome is that anyone can get the benefits for free. > It's pretty rare that someone would say 'I need some software to do 'x'' and then magically a team of talented individuals jumps forward to say 'we will provide it for free' and will maintain it for free to boot for the rest of its service life. You missed the point entirely. Sure you won't get a team of individuals to do that on demand, but the point is that team of talented individuals already created/published the software and actively maintain it. Love how your fanboys downvoted me after your reply!
- bradknowles 6y agoLet’s sort all those ones after all those zeros. Then let’s uniq all those zeros and all those ones. We’re done!
- cercatrova 6y agoThey never specified the ordering was sorted.
- bryanrasmussen 6y agoI had assumed the 1s and 0s referred to binary notation, and the file they were being ordered in was an executable of some sort, and the ordering was in the writing of the code that when compiled produced the 1s and 0s in the order wanted. I would not suggest you file.sort() the file with 1s and 0s.