黒木玄 Gen Kuroki
- いいね数 389,756/311,170
- フォロー 995 フォロワー 14,556 ツイート 293,980
- 現在地 (^-^)/
- Web https://genkuroki.github.io/documents/
- 自己紹介 私については https://twilog.org/genkuroki と https://genkuroki.github.io と https://github.com/genkuroki と https://github.com/genkuroki/public を見て下さい。
2018年02月10日(土)

たかが小学校(しかも公立)の制服なのに、高級なものを身につけていれば振る舞いも高貴になるとか、誇り高い我が校の生徒としての自覚が高まるとか。
こういう考え方が人間として卑しいと思うんだよね。生徒はお前のアクセサリーじゃねえのよ。しかも金を払うのは保護者。 twitter.com/cubic_root3/st...
タグ:
posted at 00:37:13

非公開
タグ:
posted at xx:xx:xx



@SotaKimura @alexbk09 「江戸しぐさ」の信奉者でもあるようですね
www.chuo-tky.ed.jp/~taimei-es/ind... pic.twitter.com/rPDCZBQm97
タグ:
posted at 01:02:26

思い出すなぁ自分の手で動かしているのは分かってはいるんだけど、人形が一人で動いているように「見える」事とそれが何やら「僕の言いなりに」なっている事が綯い交ぜになってとても素敵な現象だったからずっと遊んでた覚えがあるなぁ。懐かしい事を思い出させてくれた。もそっと早く思い出せれば、、 twitter.com/bono_kichi/sta...
タグ:
posted at 01:10:13

matlabのドキュメンテーションのページのTry This Exampleでタブが出て、Try it in your browserを選択するとブラウザでmatlabが試せるのか。ちょうど気になる関数あって、会社で試すなら週明けだなーとか思ってたので非常に助かった。
タグ:
posted at 01:11:53

数値計算をしたい人がプログラミング言語の教科書探したら「数値計算の為のFortran」と「オブジェクト指向の為のC++」が見つかるんじゃないかな。やはり前者が優位。
タグ:
posted at 01:49:50

Michael P.H. Stumpf @theosysbio
@DrDeCaluwe @gringene_bio @OSFramework Try #julialang and use @tinysciencecow’s Matlab➡️Julia translation server. Used it successfully and repeatedly as a “gateway drug” to get people into Julia.
タグ: julialang
posted at 03:40:07

@Cosmic_Horizons Maybe try #julialang it’s faster and the plots package is elegant and easy. ;-)
タグ: julialang
posted at 04:58:15

今の法律の修正には、EU加盟国の議会・政府の過半数の承認が必要で、一年以上はかかるだろうとのこと。 www.dw.com/en/european-pa... twitter.com/mkuze/status/9...
タグ:
posted at 06:18:20

#Julia言語 これ誰かレビューしてほしい・
sciencecow.mit.edu/matlab-to-julia/
matlab-to-julia
Translates MATLAB source code into Julia.
例えば渡辺澄夫さんが公開しているWAICに関する数値実験のmatlabコードを、Juliaで再現するために使えれば素晴らしいと思いました。
タグ: Julia言語
posted at 08:19:48

非公開
タグ:
posted at xx:xx:xx

twitter.com/yusuke_ishizuk...
「表現」は必ずしも具体的とは限らず、「表現が先にあって、群は後で作られる」のような感じの場合もあるので、 representation という用語の意味にあんまりこだわらない方がよいと思いました。
数学では用語の意味にこだわるのは常に時間の無駄。
#数楽
タグ: 数楽
posted at 08:40:31



Robert Geller; ロバート・ @rjgeller
政府地震当局は間違った予測モデル(周期説)に基づいて無意味の発生確率をまたも煽っている。もう、勘弁してくれよ❗️
真実は、日本は地震国であり、いつでも何処でも不意打ち発生があり得る、ということだ。 www.okinawatimes.co.jp/articles/-/207...
タグ:
posted at 08:56:08




はてなブログに投稿しました #はてなブログ
Julia入門 - Functions(関数) - St_Hakky’s blog
st-hakky.hatenablog.com/entry/2018/02/...
タグ: はてなブログ
posted at 10:00:05


_φ(・_・ LaTeX.js: A LaTeX to HTML5 translator written in JavaScript latex.js.org
タグ:
posted at 10:08:23

Hiraku Nakajima @hirakunakajima
そうそう、研究成果の報告書を書くのに、専門用語は分かりやすく和訳しなさい、という指示が上からあって、私のつむじ曲がりに火がつき、全く意味が分からない和訳にしたのでした。
タグ:
posted at 10:21:27

今の子供達(もしかすると30台以下の人の多く)は「正しい思考と計算」ですら #掛算 で駄目出しされ盛大にやり直しさせられる事を小学校から仕込まれているので本気で素早く何とかしないと根本的に無理。毎日デプログラムしてても多勢に無勢やし...ほんまヤバい国やし... twitter.com/tekidanhei/sta...
タグ: 掛算
posted at 10:29:51

木村草太先生による和田利次泰明小学校校長・泰明幼稚園園長(兼業)が「江戸しぐさ」だけでなく「水からの伝言」の信奉者でもあったという指摘
twitter.com/SotaKimura/sta...
タグ:
posted at 10:34:48

「水からの伝言」を好意的に扱った泰明幼稚園便り、平成29年12月号とうことはつい最近だ…
www.chuo-tky.ed.jp/~taimei-kg/ind...
タグ:
posted at 10:37:20



相空間と接空間のダイナミクスを解く時、大きなシステムだと同時に解いたほうがメモリ局所性効いて速くならないかな? って思ってやってみたら40%ほど速くなって満足した顔になってる。 gist.github.com/tkf/3668ccf9aa... まあベクトル数本の時しか役立たないだろうけど。。。 pic.twitter.com/h8518QpPnF
タグ:
posted at 10:51:46

@tkf キャッシュサイズに応じて遅くなるというのを綺麗に取りたかったんですが、できませんでした。
twitter.com/ceptree/status... …
twitter.com/ceptree/status...
タグ:
posted at 11:02:38

twitter.com/_wildoc_/statu...
#Julia言語 はまだ未完成(これから仕様が変わることが確定している)であり、ないものがたくさんあります。私はJuliaに実装されていない特殊函数を使いたい場合にはPythonのライブラリから探します。JuliaからまるでJuliaの一部分であるかのように簡単に使える。
タグ: Julia言語
posted at 11:04:53


@ceptree (この元記事面白そうです!!) キャッシュサイズの効果を綺麗にとる時ってやっぱり他のプログラムなるべく止めたりしないといけないんですかね。 github.com/JuliaCI/Benchm... にその辺まとまってた気がしました。ここまで気を使ったことは無いんですが。。。
タグ:
posted at 11:16:53

#Julia言語 MITの講義には、「Julia言語をJupyter notebookでインタラクティブに使って、CPUのキャッシュの効果を見る」というような話題も扱われています。
ガチなコンピューターの楽しそうな話題。
これの再検証をする人が増えると「わかること」が増えるかも。
github.com/stevengj/18S09...
タグ: Julia言語
posted at 11:51:39


LLVMもそうだったけどJuliaだと高速化に必要な要素技術を実例で学べるのも嬉しいところです twitter.com/genkuroki/stat...
タグ:
posted at 12:10:34


Nature is Amazing ☘️ @AMAZlNGNATURE
What is this? 🐱😍 pic.twitter.com/4sXoWDbeLJ
タグ:
posted at 12:53:54

掛け算に順序があるという認識でかつそれを学校で教えることを擁護している人に、「間違っているし、そのような間違っていることを教えるべきじゃない」と言ったら、「学校教育が常に正しいことを教えるというのは幻想で」みたいな反応されたことがある。 twitter.com/y_bonten/statu...
タグ:
posted at 12:54:27

自治体の研修「教員はブラックか?」
教育委員会トップクラスの偉いさんの口から出た言葉に耳を疑った。
「土日は部活があって勤務だとしても、平日は早く帰れるでしょう?
一般企業では 7時〜23時で勤務している人もたくさんいる」
トップがこんな認識なのだから現場が変わるわけない。
タグ:
posted at 13:45:26


Julia のキャッチフレーズで好きなのは、この "Looks like Python, feels like Lisp, runs like Fortran" ってやつです > www.youtube.com/watch?v=4igzy3...
タグ:
posted at 14:56:54


昨日のJK会議で「プログラミングってどの言語いいかな?」って質問があったので、「とりあえずうちらならPythonですね、次いでJuliaです」って宣伝しておいた
タグ:
posted at 15:49:01

@tkf @ceptree 統計でも、階層化されたベイズモデルをMCMCで数値的に解くだけではなく、WAICなどの情報量規準を求めたい場合には、普通に計算速度が重要になります。
www.slideshare.net/mobile/simizu7...
statmodeling.hatenablog.com/entry/waic-wit...
に実例がある。後者の松浦さんのブログを見るとRとStanの使い方がよくわかります。
タグ:
posted at 16:05:15












@mdsch23 いきなりで失礼します。
【黙ってろ、反権威野郎め、ぐらい思っているだろうと予想】
とのことですが、教えている側は「これが子ども達のためだ」と素で信じているようです。#掛算
参考→ twitter.com/ita_math/statu...
タグ: 掛算
posted at 16:59:46

もう抜けやんかもって焦った
#飼い主の心臓に悪いペットの寝相コンテスト pic.twitter.com/RATW39wnH7
posted at 17:08:33



一方この流儀のせいで,主催側(実行委員の先生方)は苦労することもあるそうです.例えば,自治体の学会誘致に対する補助金申請の際に,参加者数を問われて困るという :)
タグ:
posted at 17:26:35


.@jagarikinさんの振り子を微分方程式の数値計算でやってみた
twitter.com/jagarikin/stat... … pic.twitter.com/Gudz7lbuwy
タグ:
posted at 17:42:57

池田剛介『Jodo Journal 4』 @kosukeikeda
正倉院の文書を複製するのに350万足らずクラウドファンディングしないといけない状況て終わってんな......
予算縮減で、1300年前の貴重な「正倉院文書」が危機的状況に « 日刊SPA! nikkan-spa.jp/1451333?displa...
タグ:
posted at 17:45:50

@k_nitadori @ceptree 牛島本はあまりお薦めしない。特にOpenMP本は肝心な事が書いてない。数値計算なら、森、一松。FORTRANガチでやるなら"FORTRAN EXPLAINED"。日本語訳の詳解FORTRAN(共立出版)は雑誌扱いで入手不可。
タグ:
posted at 18:00:52

日本数学会の春と秋の学会が参加費・登録なしというスタイルなのは、そうする必要を感じなかったからでしょう。学会の規模が大きいわりに部外者が少ないし、企業との関係もほとんどないから、学会そのものをオープンで開催してもさほど困らない。
タグ:
posted at 18:02:53

非公開
タグ:
posted at xx:xx:xx
ごまふあざらし(GomahuAzaras @MathSorcerer
Ubuntu 16.04 LTSにChainerをインストールする - TadaoYamaokaの日記 tadaoyamaoka.hatenablog.com/entry/2018/01/...
タグ:
posted at 18:25:07

ついこの前も「クーンによって科学と非科学の間に確定的な境界線を引くことは不可能であることが示されたのだから、何かをニセ科学よばわりするのは間違いだ」って言ってる人がいましたね。 twitter.com/y_bonten/statu...
タグ:
posted at 18:31:28

オープンソースのシムシティ2000が。強化学習環境として使えるようになるかもとのこと。アツイ。 twitter.com/genekogan/stat...
タグ:
posted at 19:13:31




#掛算 #超算数 これ、10年ぐらい前に塾の生徒が小学生時代にそうだったというようなことを言っていて、思い違いか何かだと思っていたけど、最近は「あってもおかしくない」ぐらいには思っている。
twitter.com/szsxyIZPxSPI2U...
posted at 20:40:42

@genkuroki 突然失礼します。合成フォントを作成している者です。ツイート拝読しまして、なるほどなと試しに実装してみているのですが、見易いかどうか1人では判断つかず、もしよろしければご意見頂けないでしょうか。
github.com/miiton/Cica/is...
タグ:
posted at 21:16:03


#Julia言語
nbviewer.jupyter.org/gist/genkuroki...
Cで書かれた指数積分函数Ei(x)とそれをほぼ忠実にJulia言語に翻訳した結果の計算速度の比較
結論:計算速度に違いはない。
CをJuliaに翻訳してもほぼ同じ計算速度で、ほんの少し遅くなったり、ほんの少し**速く**なるかのどちらかでした。
タグ: Julia言語
posted at 22:09:24

この本、情報工学的な暗号理論だけでなく「電圧を低下させてICチップの誤作動を起こして差分から秘密鍵を読み取る」みたいな物理攻撃も紹介されていてたいへん熱いですよ
タグ:
posted at 22:10:51

#Julia言語 試してみたのは
www.aip.de/groups/soe/loc...
と
www.mymathlib.com/c_source/funct...
にあるCで書かれたEi函数をほぼ忠実にJuliaに翻訳して、計算速度の劣化がないかどうか確認することです。結果は
nbviewer.jupyter.org/gist/genkuroki...
にあるように、実質的に違いはないと判断できます。
タグ: Julia言語
posted at 22:12:00

#Julia言語 私の経験では、ありがちなCのコードをJuliaに翻訳しても速度的な劣化はないと判断して良い感じです。
JuliaにはJuliaなりに書き方によって計算速度が落ちるのですが、C++についても遅くなる理由をググってみると
heavywatal.github.io/cxx/speed.html
などが上位で見つかり、そう大した違いはない。
タグ: Julia言語
posted at 22:16:14


#Julia言語 Ei函数を試してみたモチベーションは素数定理です。素数定理で登場するli函数はli(x)=Ei(log(x))と書ける。x以下の素数の個数とli(x)を同時にプロットすると添付画像のようにぴったり重なります。(本当は誤差があるのだが、プロットでは全然わからない!) pic.twitter.com/AchyIxQxBx
タグ: Julia言語
posted at 22:22:41

@MIITON 試してみました(添付画像)。普段は Migu 1M を使っています。
* 0, o, O の区別が容易である点は Migu 1M の方がbetter.
* なるほど、小さな数字の下付き上付き文字のサイズは CicaTestIss22A の方が微妙に見易い感じがします。
続く pic.twitter.com/x9XiiBUUld
タグ:
posted at 22:48:01

年収400万家庭と900万家庭で一番支出額に差がある費目ってなんだろと思って調べてみたら、全体の消費支出額に1.51倍の開きがあるのに対して、教育費が6.14倍という結果に。子供の数も1.61倍違うので、それを加味しても子供一人あたり教育費が3.81倍も違うんだな。
タグ:
posted at 22:48:18



たぶん、私以外の多くの人が miiton さんに感想をフィードバックすれば建設的な話になって非常によいと思いました。
σ² とか x₁ のように書いて見易いフォントセットがあった方が便利です。
タグ:
posted at 22:52:36

「江戸しぐさはフィクションとの説が有力です」と原田実さんに力説する人も。
あと清水高志さん、まさかRTしただけで立腹してブロックした!? pic.twitter.com/x2GjfUsInm
タグ:
posted at 22:54:43


>45~54歳の回答者は16歳になる前にコーディングを始めた割合が47%だったのに対し、18~24歳の若者が16歳までにコーディングを始める割合は20%
PCから初心者向けプログラミング環境を分離したのが原因よね。Win95にVisualBasicが標準搭載されていれば歴史は変わったかも gigazine.net/news/20180203-...
タグ:
posted at 23:26:25

@miyasonotoka いきなりで失礼します。
【掛け算の順番を細かく指摘する教師はイッてよしとか言う奴らにそういう子達見せたい】
とのことなので、#掛算 の順序についてお聞きしたいと思います。
「2時間を分に換算する」というとき、
60×2 と
2×60 の
どちらが正しいのでしょうか?
私はこれでずっと困っています。
タグ: 掛算
posted at 23:31:26

イーガンのツイッターアカウントのあれ
はてなブログに投稿しました #はてなブログ
球面調和関数で正20面体をつくる - Shironetsu Blog
shironetsu.hatenadiary.com/entry/2018/02/...
タグ: はてなブログ
posted at 23:44:22

@miyasonotoka 【60×2が正しいと】
ありがとうございます。
2年生時点でのルールに従えばそうなりそうな物ですが、一部の地域の教育委員会では違うのです。
岩倉市 www.iwakura.ed.jp/nihongo/sansu%...
大阪市 は(元のページが消失しました)
続きます #掛算 pic.twitter.com/obCWMOBAKk
タグ: 掛算
posted at 23:44:27

@miyasonotoka 続)
家庭で子どもに「学校では 60×● とするはずだから、その通りにしよう」と言っていたら、上の学年に行ってから裏切られてしまうことになります。
こういうのは困ることだと、ご理解いただきたいです。 #掛算
タグ: 掛算
posted at 23:45:25

@miyasonotoka 【これに関してあなたはどのように受け止めていらっしゃいますか】
よくぞ聞いてくださいました。
では私の意見を申し上げます。
(小学校をとっくに卒業した)俗世間の大人は「#掛算 の順序はどうでも良い」と考えるのが当たり前なのです。
2年生に「この順序だけが正しい」と教えるのなら
タグ:
posted at 23:51:44

@miyasonotoka 続)「おや?俗世間でやっている事とは違うぞ? いや、自分自身だって、うっかりすると2年生に教えた事に反する事をやってしまうぞ。子ども達に悪い見本を見せないように、教える側が徹底しなければ」と警戒しなければいけない、そういう問題なのです。(まだ続きます #掛算
タグ: 掛算
posted at 23:54:46

@miyasonotoka 続)どうしても子ども達に #掛算 順序を守らせるというなら、そういう警戒をしてくれなければ困る。
もうひとつの選択として、それは大変だから、「順序はどうでも良い」とするのもありえるじゃないか、どうせ中学以降は小学校ルールは捨てなければならないのだから。
と、私は考えます。
タグ: 掛算
posted at 23:59:10