{"id":18761,"date":"2013-11-08T17:53:06","date_gmt":"2013-11-08T15:53:06","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=18761"},"modified":"2013-11-08T17:53:06","modified_gmt":"2013-11-08T15:53:06","slug":"million-lines-of-code","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2013\/11\/08\/million-lines-of-code\/","title":{"rendered":"Million lines of code"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"http:\/\/www.informationisbeautiful.net\/visualizations\/million-lines-of-code\/\">Million lines of code<\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Million lines of code<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[1117,1041],"keyring_services":[],"class_list":["post-18761","post","type-post","status-publish","format-link","hentry","category-general","category-programming","category-technology","tag-research","tag-statistics","post_format-post-format-link"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":26683,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/09\/12\/400000-github-repositories-1-billion-files-14-terabytes-of-code-spaces-or-tabs\/","url_meta":{"origin":18761,"position":0},"title":"400,000 GitHub repositories, 1 billion files, 14 terabytes of code: Spaces or Tabs?","author":"Leonid Mamchenkov","date":"September 12, 2016","format":false,"excerpt":"Here is an interesting bit of research - do people prefer tabs or spaces when programming the most popular languages? Tabs or spaces. We are going to parse a billion files among 14 programming languages to decide which one is on top. The results are not very surprising and somewhat\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"tabs vs. spaces","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/09\/tabs-vs.-spaces-500x329.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10989,"url":"https:\/\/mamchenkov.net\/wordpress\/2007\/12\/19\/bloat-is-bad-for-you-and-your-code\/","url_meta":{"origin":18761,"position":1},"title":"Bloat is bad for you and your code","author":"Leonid Mamchenkov","date":"December 19, 2007","format":false,"excerpt":"Steve Yegge has posted yet another of his excellent (and long) rants.\u00c2\u00a0 This time he talks about the size of code and why one should jump out of its skin to keep it minimal. \u00c2\u00a0Most programmers have successfully compartmentalized their beliefs about code base size. Java programmers are unusually severe\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9053,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/07\/find2perl\/","url_meta":{"origin":18761,"position":2},"title":"find2perl","author":"Leonid Mamchenkov","date":"June 7, 2005","format":false,"excerpt":"I think I've heard about find2perl before, but I never used it. Today I was trying to invent a wheel once again and somehow remembered about this useful tool. Here is a quote from the man 1 find2perl: NAME find2perl - translate find command lines to Perl code SYNOPSIS find2perl\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18917,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/12\/05\/how-many-lines-of-code-have-survived-to-the-current-day-from-the-original-linux-kernel\/","url_meta":{"origin":18761,"position":3},"title":"How many lines of code have survived to the current day from the original Linux kernel","author":"Leonid Mamchenkov","date":"December 5, 2013","format":false,"excerpt":"Here is a excellent Quora question: how many lines of code, if any, from Linux 1.0 are still in the modern Linux kernel, and what is it? \u00a0And an evenly excellent answer: According to git diff, 21228 of the 176250 lines from Linux 1.0 (1994-03-14) are still present in Linux\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26685,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/09\/12\/git-history-of-a-source-code-line\/","url_meta":{"origin":18761,"position":4},"title":"git: history of a source code line","author":"Leonid Mamchenkov","date":"September 12, 2016","format":false,"excerpt":"git is one of those tools that no matter how much you know about it, there is an infinite supply of new things to learn. \u00a0Here's a handy bit I've discovered recently, thanks to this StackOverflow comment: Since Git 1.8.4, git log has -L to view the evolution of a\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":17989,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/04\/12\/the-biggest-merge-ever\/","url_meta":{"origin":18761,"position":5},"title":"The biggest merge ever","author":"Leonid Mamchenkov","date":"April 12, 2013","format":false,"excerpt":"I am having a really proud and exciting moment at work right now. \u00a0We've just deployed the biggest merge ever. \u00a0I can't really share enough details to provide you with the context (NDA and all), but here is a GitHub screenshot that gives you an idea. If you are not\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"the biggest merge ever","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2013\/04\/the-biggest-merge-ever-500x225.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=18761"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18761\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=18761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=18761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=18761"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=18761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}