Hologram communication 360 from TADHack JapanAlan Quayle
Hologram communication 360 hack by Tooru Akizuki using Skyway resources. Masking process to detect face will be done to video received via WebRTC, to show only the face in hologram.
It can be used as translator robot by using voice recognition,
translation and foregin language text to speech.
PHPerがgolangでもがいてる話
-- Gopherくん
The Go gopher was designed by Renee French.
The gopher stickers was made by Takuya Ueda.
Licensed under the Creative Commons 3.0 Attributions license.
Hologram communication 360 from TADHack JapanAlan Quayle
Hologram communication 360 hack by Tooru Akizuki using Skyway resources. Masking process to detect face will be done to video received via WebRTC, to show only the face in hologram.
It can be used as translator robot by using voice recognition,
translation and foregin language text to speech.
PHPerがgolangでもがいてる話
-- Gopherくん
The Go gopher was designed by Renee French.
The gopher stickers was made by Takuya Ueda.
Licensed under the Creative Commons 3.0 Attributions license.
43. sum(s for s in range(1,(n//2)) if
((n/s)%1)==0)
1からある数n//2(nの半分)までの数
(完全数はn⾃⾝は含まない)
sは1からn//2までの整数
n/sが1で割り切れる(余りなしなので約数)
sum()内はリスト内包表記のジェネレータとなる
sum()で合計
44. next(n for n in count(1,2) if (約数の合
計)==n)"
count() (itertools.count())で奇数を取得
約数の合計がある数nになるものを探す
next()内はジェネレータとなる
next()でジェネレータを⼀つ進める
itertools.count()は標準モジュールなのでセーフ
(ということにしている)
45. 125⽂字
In [2]: len('''python -c "from itertools import *; print
(next(n for n in count(1,2) if sum(s for s in range(1,(n//2)) if ((n
/s)%1)==0)==n))"''')
Out[2]: 125")