黒木玄 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 を見て下さい。
2021年10月05日(火)

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



twitter.com/MAKI16148711/s...
>「文章を読んで、その状況を頭で再現する」ことが得意だからではないかと思う。
4人に2個ずつ、で、4×2と書く人は状況を理解していない、
というほどに読解力がない人に、「文章を読んで、その状況を頭で再現する」ことは無理だろう。
再現したつもりになっているだけ
タグ:
posted at 22:59:38

Daisuke HOTTA, 堀田大介 @dhotta_met
Julia言語で簡単にmemoize(curry化)してくれるマクロがあるそうです。いかにもLispっぽい。
昔、SICPでcurry化について知ったとき「こんなアイデアもあるものか!」と感心し、Fortranで実装しようとして挫折したのを思い出しました。今ならJuliaがあるので重い数値計算でも手軽にcurry化が使えますね twitter.com/genkuroki/stat...
タグ:
posted at 22:44:12

#Julia言語 有限離散的な量を計算する函数に
using Memoization
して
@ memoize
を追加するだけで、計算結果がキャッシュされるようになり、同一の組み合わせ論的な計算を何度も繰り返せずに済むようになり、計算効率が楽に大幅に上がる場合があります。
discourse.julialang.org/t/ann-memoizat...
タグ: Julia言語
posted at 22:29:56

#数楽 #Julia言語 有理数で計算してぴったり一致することを確認しました。最初からこうするべきでした。
有理数も使えるとこういうときに便利ですね。紙の上での議論や新たにコードを書く手間を減らせる。
ソースコード
nbviewer.jupyter.org/github/genkuro...
差が全部 0//1 twitter.com/croce1/status/... pic.twitter.com/HLLnqsf1gh
posted at 22:23:43

@JuliaLanguage Executive decision: there WILL be #JuliaLang code in this company :)
タグ: JuliaLang
posted at 22:23:16

Stefan Karpinski @StefanKarpinski
@johnmyleswhite Cannot stand languages that allow you to use capital letters 😤
Multiple key presses required to enter them—it’s unnatural!
(At least one person has actually complained about that, which is the logical conclusion of this complaint)
タグ:
posted at 22:18:07

「理系」にやたらと拘っているけど、
理系とか文系とかじゃなくて、まともに物事を考えられるかどうか、という話だと思う。
twitter.com/MAKI16148711/s...
タグ:
posted at 22:13:48

John Myles White @johnmyleswhite
One thing I find odd about #JuliaLang debates is the complaint that non-ASCII characters can't be typed from a regular keyboard. I assume this is a complaint that the characters aren't a single keypress, but many natural languages require input sequences to generate a "character"
タグ: JuliaLang
posted at 22:13:10

#数楽 ただし、これの1つ上のツイートでの確認は浮動小数点数での計算による確認なので、有理数を使ってexactに比較した方が良かったかも。 twitter.com/croce1/status/...
タグ: 数楽
posted at 22:12:29

#数楽 #Julia言語 こちらでも確認。
私が書いた効率悪く素朴にかつ正確に確率を計算するg(n, s)と比較してみました。
一致!
添付画像
①g(n, s)の定義とP(n, s)との比較(差がほぼ0.0で一致)
②g!(X, a, n)の定義
③P(n, s)の定義
④グラフ
ソースコード↓
nbviewer.jupyter.org/github/genkuro... twitter.com/croce1/status/... pic.twitter.com/O7CFRdoFKb
posted at 22:10:17

A、Bから、理系の人は、問題文の状況を理解することはどうでも良くて、数学的思考が大事と言っている
とはいえ、このツイートを見るとやっぱりわからない。
この人が頭のオカシイ人だとすると、すべて合点がいく。
twitter.com/MAKI16148711/s...
タグ:
posted at 22:09:08

意味不明だが、この人の考えを推測して見た。
A 4人に2個ずつドータラ、という問題で4×2と書けない人は、問題文の状況を理解しない。
B 理系の人は、順序はどっちでもいいから、数学的思考が大事と言っている。 twitter.com/MAKI16148711/s... pic.twitter.com/1pfGW4I7Q0
タグ:
posted at 22:07:38

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

See this #julialang book that @lpfeed is writing. He does make complex things easy!
lee-phillips.org/juliabook/
He is looking for someone who can help review the technical content. Please contact him or me if you are interested in helping with his book. twitter.com/StefanKarpinsk...
タグ: julialang
posted at 21:46:56

Stefan Karpinski @StefanKarpinski
@callarchie1 @lpfeed Agreed. Maybe should just let Lee write our highlight posts 😅
タグ:
posted at 19:58:18

Juliaで陰関数のplotどうしようかなあ?と見ていたら,
InplicitPlots.jlが良さそうでした!#julialang
using ImplicitPlots
h(x,y) = x^(x^y)-y
implicit_plot(h; xlims=(0,k), ylims=(0,s), lab="y=x^(x^y)")
ちょっと時間かかるけど,綺麗に書いてくれる。刻み方も考えてくれているのかな?
タグ: julialang
posted at 19:38:54

前回のy=x^x^x^…のグラフの収束域は
(1/e)^e≦x≦e^(1/e) ←なんかバルタン星人みたいだ。
であることを教えていただきありがとうございました。
そこで,y=x^yの他にy=x^(x^y)のグラフも書いてみることにしました。 pic.twitter.com/RfgFKwOZjs
タグ:
posted at 19:37:33


モンテカルロの試行回数L=10^3のときのグラフ.この程度の回数だと解析解とのずれが目立つが,概ねの傾向は掴めているように見える. pic.twitter.com/W2wwQoXF3K
タグ:
posted at 18:03:21

数学と #Julia言語 の勉強を兼ねて確率分布を導出してみた.合ってるかどうかは自信ないが,モンテカルロ法と一致しているようだから大丈夫か😅
モンテカルロ法は黒木さん( @genkuroki )のプログラムを拝借しました😃 twitter.com/genkuroki/stat... pic.twitter.com/eiZRTaP48B
タグ: Julia言語
posted at 17:54:15
ごまふあざらし(GomahuAzaras @MathSorcerer
スーパーボール(死語?)のお遊び.
衝突時前後の位置補正してないので食い込んでいる.
#Julia言語 pic.twitter.com/ebsoSqBlZw
タグ: Julia言語
posted at 17:07:23


@StefanKarpinski @lpfeed The writing style of @lpfeed (Lee Phillips) very understandable and refreshing. He explains in good detail the reasons behind the each change.
タグ:
posted at 13:51:59

同様に生理痛で保険ピル飲んでるだけで生命保険入る時に色々言われたりするのも何とかならないのか。女性の体に生まれたんだから生理痛でピルくらい飲むでしょ。むしろ放置してる方が内膜症や悪性腫瘍で保険会社の支払い多いだろうに。それよりHPVワクチン打ってる人の保険料下げるとかして欲しい。 twitter.com/mihyonsong/sta...
タグ:
posted at 13:48:34

- Linux
- dockerからGPU見える
- Windows 11
- CUDA on WSL2 + docker WSL backendでLinuxコンテナからGPU見える
- macOS
- そもそもNVIDIA GPUは使えない
勝ったな!!
タグ:
posted at 13:25:06


The Julia Language @JuliaLanguage
@acidflask Congrats @acidflask and thanks for all you do!
- The Julia Community
タグ:
posted at 12:03:41

Stefan Karpinski @StefanKarpinski
Great summary of new feature in the upcoming 1.7 release of #JuliaLang by @lpfeed. This got posted on the committers channel where we’re amused that you scooped us 😂
lwn.net/SubscriberLink...
タグ: JuliaLang
posted at 11:31:06

たぶんこれと同じ不具合
↓
discourse.julialang.org/t/strange-symb...
Strange symbols show up on using LaTeX tables in Pluto Notebook
↓
【I can indeed reproduce this as well on Chrome under Windows, but rendering is OK with Firefox and Edge.】 twitter.com/esumii/status/...
タグ:
posted at 10:06:25

コンビニの三角おにぎりの、海苔を巻く方式は、いまはほぼ完全に統一されているけれど、昔はてっぺんちぎって薄いビニールを一気に抜く方式とか、海苔のビニールはがしておにぎりを転がす方式とか、いろいろ試行錯誤が収斂していったように記憶している。だれかその進化の歴史を記録していないものか。
タグ:
posted at 09:55:08
en.wikipedia.org/wiki/Axiom_of_... "The converse"の行で,この拡大率(100%)だけ「B」が…Chromeのバグ?(確認してません pic.twitter.com/G3mLtQAPtz
タグ:
posted at 09:11:13

Tips and tricks to register your first Julia package www.juliabloggers.com/tips-and-trick... #juliabloggers
タグ: juliabloggers
posted at 08:28:15

やっぱりそうだったのか。
フェイスブック、インスタなど接続不安定に 公式声明、原因に触れず(朝日新聞デジタル)
#Yahooニュース
news.yahoo.co.jp/articles/bacea...
タグ: Yahooニュース
posted at 08:11:09
#はてなブログ
インフレ予想論争・続き - himaginary’s diary
himaginary.hatenablog.com/entry/20211004...
タグ: はてなブログ
posted at 00:48:08