431 karma · joined July 29, 2011
" Use Unix line feeds.
:set fileformat=unix
" Use Windows line feeds.
:set fileformat=dos
" Shortcut
:set ff=unix
" See the current format
:set ffEdit: Applied jpatokal's correction.
I'm beginning to think either these quotes are fake or James Hetfield doesn't actually hunt.
https://en.wikipedia.org/wiki/PTT_Bulletin_Board_System
Interestingly, none of my friends that use it know what Telnet is. It's almost exclusively accessed through unofficial dedicated smartphone apps.
* Clean and modern.
* Very safe.
* Nice people.
* Excellent public transportation.
* Good housing (relatively inexpensive).
* Great restaurants (extremely inexpensive).
* Low sales tax.
* Mandarin is a fun language to learn.
Also, $150-200 buys you a round-trip ticket to almost any other major city in Asia, so experiencing a new culture is just another way to spend a weekend. Taiwan's Eva Air and China Airlines are also excellent.
I wish I had that option, but I'm an iOS developer, so I upgrade when Apple forces me to, and right now their forcing Mavericks and up.
> Linux is only free if you don't value your time.
Amazing how the largest server farms on earth are all run by administrators who don't value their time...
Is it? I've read reports that all but a fraction of Github repos are single-commiter code dumps.
> the TOS explicitly dictates that you grant certain licenses to other users for free
Where?
https://help.github.com/articles/github-terms-of-service/
The only stipulation I see is:
> By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories.
Unfortunately, the TOS doesn't provide a clear legal definition of fork. Does it go beyond clicking the fork button and copying the repo across Github servers? Does it including cloning the repo to a local disk? Or running the code? Or maintaining a derivative project?
I never understood this criticism. There's plenty of software I haven't bought a license for. I don't feel that just because somebody shares their code or archives it in public that I'm entitled to a free license.
That said, I've been approached on Github about licensing my code and I'm happy to grant one. For the most part, however, I just dump code to Github because it's a convenient way to backup and dealing with licenses just creates friction. I'd rather know that somebody out there explicitly wants the code before dealing with it.
Regarding scientific communication in particular, the most obscure Chinese characters are for words unique to scientific fields, so while the average English speaker might not be able to understand an English physics paper, the average Chinese speaker can't even read a Chinese physics paper. In other words, you must possess above average Chinese skills to communicate about science.
This business model is precisely what lead to a killer competing product being developed. Good job.
I'm not accusing Google of anything, but their treatment of Atom/RSS can be likened to Microsoft's old Embrace/Extend/Extinguish strategy. I honestly believe that in some ways it's worse off now than it would've been had Google not got involved. Killing Reader was at worst malicious and at best irresponsible.
I think Google's strategy was to get their ads into people's feeds with services like FeedBurner, but when that didn't go over so well they didn't see much use for Reader.
printf(...);
for (...) {...}
The printf never executed. So I fired up gdb and confirmed the segfault was happening where I thought it was, but the for loop was being initialized before the printf. Even with debugging on and optimization off. Could be a bug in clang (I didn't think to try it with gcc), but even so it shows that the way things should work in theory don't necessarily dictate the way they do work in practice.Cool racism, bro.