トップ «前の日記(2018-01-31) 最新 次の日記(2018-02-06)» 編集

はじめてのにき

ここの位置付け

2004|11|
2005|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|

ToDo:


2018-02-04

_ import google

なんか昔 code jam T シャツを作ったことがある。URL消えてたから archive.org からとってきた。

https://web.archive.org/web/20111215052121/http://code.google.com/codejam/japan/tshirt.html

この時の作業ディレクトリで tensorflow を import すると

$ python
Python 2.7.14+ (default, Dec  5 2017, 15:17:02)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
\
        q='''f=l                                          ambda
     (l,r),(p,m):(                                         l+d(m
    )+r[:    p],r[p                                         :]);
   v=(_        _im                                          port
  __('          s                                           ys')
 .arg                 v+[0])[1      ];c=chr;      s=c(32);  n=c(   10);y=x  TM
 =c(9                2);l=c(60)    ;g=lambda(   n):c(27)+'  [%sm  '%(n+30*(
 n!=0               ));d     ,t=( (lam    bda(  n):   '','  '),( g,'   '),(l
 ambd               a(n)     :l+' fon      t'+s+'co    lor  =%s> '%['black
 ','r        ed','g ree      n','yell       ow' ,'b    lue  '][n ],l+'pr
  e>')       )[(v=='-h')      *2+ (v=       ='- e')]  ;pri  nt(t +y+
  n+red        uce(  f,z     ip(( 20,1     4,13  ,11,7,11   ,3), (4,1
   ,3,4,       2,1,  0))*   15+[(  990,   4)],     ('',s    *8+'  q='+"  '"
     *3+q+"'"*3+";"   +s*6+"8;"     +y+n+s*46     +"exec"   +s*6+  "(''"+n+
       s*47+"+''.j      oin(q        ."+n+s     *48+"split  ()))"   ))[0]+
                                              d(0))    ;88;
                                              ''';      8;\
                                              exec      (''
                                               +''.join(q.
                                                split()))
/usr/lib/python2.7/dist-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
>>>

とかなってびびる。ということを、

https://twitter.com/tanaka_akr/status/960103700462166017

を見て思い出した。

(20:56)

お名前:
E-mail:
コメント:
人生、宇宙、すべての答え
本日のリンク元

2018年
2月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28

search / home / index

全てリンクフリーです。 コード片は自由に使用していただいて構いません。 その他のものはGPL扱いであればあらゆる使用に関して文句は言いません。 なにかあれば下記メールアドレスへ。

shinichiro.hamaji _at_ gmail.com / shinichiro.h