{"title":"\u3069\u308c\u304f\u3089\u3044\u306e\u518d\u5e30\u547c\u3073\u51fa\u3057\u3067\u30b9\u30bf\u30c3\u30af\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306b\u306a\u308b\u304b","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://obelisk.hatenablog.com/","url":"https://obelisk.hatenablog.com/entry/2016/07/26/231913","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2016%2F07%2F26%2F231913\" title=\"\u3069\u308c\u304f\u3089\u3044\u306e\u518d\u5e30\u547c\u3073\u51fa\u3057\u3067\u30b9\u30bf\u30c3\u30af\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306b\u306a\u308b\u304b - Camera Obscura\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_name":"obelisk2","categories":["Ruby","Python"],"published":"2016-07-26 23:19:13","description":"d.hatena.ne.jp\u4e0a\u306e\u30b5\u30a4\u30c8\u3067\u5b9f\u9a13\u3057\u3066\u3044\u308b\u306e\u306b\u3001Ruby \u3068 Python \u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002 OS\u306f Linux Kernel 3.19.0\u3001\u30e1\u30e2\u30ea\u306f 7.7GB\u3002Python 3.4 ctr = 0 def testfunc(): global ctr ctr += 1 print (\"%sth function call.\" % (ctr)) testfunc() testfunc() Ruby 2.2 $ctr = 0 def testfunc $ctr += 1 print \"\\e[1G#{$ctr}th function call.\" testfunc end testfu\u2026","type":"rich","image_url":null,"blog_title":"Camera Obscura","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/obelisk2/","height":"190"}