Month: January 2014

加古

加古あたしゃねぇ、やるときはやるんだよ!だから、帰ったら今日はいっぱい寝かせて!」


That last KanColle update

So apparently a bunch of anons are throwing fits about how they now have to re-VPN into Japan to renew their tokens for KanColle… It’s due to this week’s update that rolled out a system that requires that the JS on the DMM site renews the API token every set number of requests (“ticks”).

Of course the shitstorm (or even hurricane) was imminent when anons realized they can’t use their API keys forever anymore. Especially when some smartass pointed out that this update happened just two weeks after /a/’s favorite target of hate, Commie published their unofficial translation patch for the client. Let me quote: “Even the chinese are blaming commie, this is a international thing now.”[src]


The failure of Microsoft

OneDrive

Just earlier someone linked the news from Verge that MS was forced to rename SkyDrive due to trademark problems with the British Sky media brand. This could only be better if they were also sued by Google over the “drive” word (cf Google Drive).


外国人参政権

憲法九三条二項は、我が国に在留する外国人に対して地方公共団体における選挙の権利を保障したものとはいえないが、憲法第八章の地方自治に関する規定は、民主主義社会における地方自治の重要性に鑑み、住民の日常生活に密接な関連を有する公共的事務は、その地方の住民の意思に基づきその区域の地方公共団体が処理するという政治形態を憲法上の制度として保障しようとする趣旨に出たものと解されるから、我が国に在留する外国人のうちでも永住者等であってその居住する区域の地方公共団体と特段に緊密な関係を持つに至ったと認められるものについて、その意思を日常生活に密接な関連を有する地方公共団体の公共的事務の処理に反映させるべく、法律をもって、地方公共団体の長、その議会の議員等に対する選挙権を付与する措置を講ずることは、憲法上禁止されているものではないと解するのが相当である。


巡洋艦の会話

夕張「さぁ、色々試してみてもいいかしら?」
木曾「いいぞ!」
夕張「どう?この攻撃は!」
木曾「弱すぎる!」


GTK3 red to green progress bar in Python

I really needed a progress bar that changes from red to green as it progresses. Well, I made one. Though it doesn’t support labels as the built-in GTK ProgressBar, one can easily be added next to the bar, or (if it’s static) in a tooltip. Also, not removing self.bar would result in an actual red-to-green gradient, instead of a color-changing bar. (Though it should still be removed when the bar is reset.)


Reordering elements in a GTK Menu

Recently I’ve had the pleasure to play around with GTK from Python while working on a (by now not so) little app for KanColle. (Since that last update on github I’ve rewritten the whole thing from scratch, but that’s not the point now.) On the way, I encountered a quite annoying problem: the reorder_child method for gtk.Menu just doesn’t work. I use Python 2.7, gtk.gtk_version says that’s 2.24.20, and gtk.pygtk_version is 2.24.0.


#nowplaying button for the Ubuntu sound menu

Every now and then I get this urge to just post a #nowplaying tweet, and at such a time it’s always such a drag to type it in manually. So I thought I’d make a menu item in the Ubuntu sound menu that sends such a tweet automatically. It turned out not to be all so easy at all…


Coffee

Just now I found this nice infographic about the average coffee consumption around the world on facebook, and I just had to check how I’m faring.

Current Worldwide Annual Coffee Consumption per capita


卒論

たった今「音楽業界の将来」を題目に卒論を提出した。残りは、数単位分の試験を受けて卒業するだけ。だけ…と言っても、卒論よりそっちの方が怖い。そろそろ勉強し始めなきゃ。

卒論の文章は、大学なんもかも終わってからネットあげるつもり。大半は先週一日で書いたものだから、はずかしいくらいに適当なとこもあるけど、一応な。

ちなみにそれは自分でもちょっとびっくりした。一日で(徹夜して)2万字近く書いた。これで今までの自分の、一日で4千字以上は書けないという限界を越えた。