wire frameを作ります
うん、この時点では、細かいことは置いておきます
随机应变 ABCD: Always Be Coding and … : хороший
wire frameを作ります
うん、この時点では、細かいことは置いておきます
5chまとめサイトを分析していきます。
アルファモザイク
http://alfalfalfa.com/
– レフトメニューに人気の記事、コメントの多い記事、最近コメントされた記事など
痛いニュース
http://blog.livedoor.jp/dqnplus/
– 最新記事が写真とタイトルで一覧表示
– サイドメニューは広告
ニュー速クオリティ
http://news4vip.livedoor.biz/
ついんてーる速報
http://twintailsokuhou.blog.jp/
– トップがWPのブログっぽい
VIPPERな俺
http://blog.livedoor.jp/news23vip/
– アニメが多いな
キニ速
http://blog.livedoor.jp/kinisoku/
– ファーストビューにテキスト表示されるのはいいですね。
おる速
http://orusoku.com/
– テキストが青で見にくい
ゴールデンタイムズ
http://blog.livedoor.jp/goldennews/
– RSS表示
– やっぱり画像は必須か。
というか、まとめサイト多すぎるな。。
A function can pass a value using an argument when it is called, but as a result of processing in the function, it can return a value from the function to the caller this time.
For example, functions that perform numerical calculations can return the calculation results to the caller, and functions that process strings can return the processed results.
Use the return statement to return a value from a function.
function mul($num1, $num2){ $sum = $num1 * $num2; return $sum; } $sum = mul(10, 9); print "乗算の結果は". $sum . "です。<br>"; print "乗算2の結果は". mul(7, 14)."です。";
乗算の結果は90です。
乗算2の結果は98です。
なるほど、returnで返しているのが戻り値と言えそうですね。
function outputName($name){ echo "私の名前は".$name. "です。<br>"; } outputName("坂本"); outputName("五十嵐"); outputName("熊田");
私の名前は坂本です。
私の名前は五十嵐です。
私の名前は熊田です。
関数で引数を取る。
引数は複数も可。
function outputName($last_name, $first_name, $area){ echo "私の名前は".$last_name.$first_name. $area ."出身です。<br>"; } outputName("坂本","幸子","沖縄"); outputName("五十嵐","義男","山口"); outputName("熊田","ひろむ","長野");
私の名前は坂本幸子沖縄出身です。
私の名前は五十嵐義男山口出身です。
私の名前は熊田ひろむ長野出身です。
あれ? これって、単純にコマンドラインで複数書いていけばいいだけ!?
[vagrant@localhost test]$ ls a.csv a.txt index.php sample.jpg sample.json [vagrant@localhost test]$ rm a.csv a.txt sample.jpg sample.json [vagrant@localhost test]$ ls index.php
なんじゃーこりゃーーーーーーーーーー
FTP stands for File Transfer Protocol. This is a way to transfer files between network machines. The protocol defines a client(whose commands are provided by this module) and a server(which is not implemented in this module).
Communication is always initiated from the client. The server than responds with a message and a status code (and possibly data).
The FTP protocol allows you to send and retrieve files to the server. Each transfer includes local files (on the client) and remote files (on the server). In this module, if only one is specified, the same file name will used both locally and remotely. This means that if you do not specify a local file name, transferring remote file path to file will try to put the file in local path to file.
どうやらconfの中の、mail.phpを編集するようだ。
'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 'from' => [ 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 'name' => env('MAIL_FROM_NAME', 'Example'), ], 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'),
routs/web.php
Route::get('/', function(){ $data = []; Mail::send('emails.welcome', $data, function($message){ $message->to('hogehoge@gmail.com')->subject('title') }); });
ふーん、こんな感じか。。
Perl’s sysopen is a function equivalent to C’s fopen. Specify a file handle for the first argument, a file name for the second argument, and an open flag for the third argument. If necessary, you can specify the permission in octal in the fourth argument, and the default permission is 0666.
#!/usr/bin/perl -- use strict; use warnings; print "Content-type:text/html\n\n"; use Fcntl; my $file = test; sysopen(my $fh, $file, O_WRONLY | O_EXCL | O_CREAT) or die "Couldn't open $file : $!"; close($fh);
あれ、上手くいかない。。
sysopen関数を使えば、オープンモードを細かく指定できるらしいが。。ぬぬ。
Annotation is critical to AI development and operation.
It is important to create large amount of accurate annotation data
Analysis and improvement of annotation process by machine learning.
Annotations are processes located upstream of pipeline. Therefore, if there are many errors in the annotation, it may have a fatal effect on subsequent processes, including model learning and evaluation(in many cases, evaluation data is also generated by the annotation).
Why is annotation important?
To unify the content to be read from the data.
In the upstream process of the AI pipeline, it has a fatal impact on the leader processes such as model learning and evaluation.
アノテーションが重要そうだ、というのは直ぐに気づきますが、研究が活発な分野っぽいですね。
先日、deep learningのサービスについて会話をしていたら、私が”machine learning”と言ったら、それは「machine learning ではなくdeep learning」と突っ込まれた。ということで、deep learning と machine learningの違いについて。
Deep learning is a further development of machine learning. The major difference from conventional machine learning is that the framework used to analyze information and data is different. This is a “neural network” created by imitating human nerves, making computer analysis and learning of data powerful.
Although there are AI mechanisms for “machine learning” and “deep learning”, it can be said that there is a difference that automation of functional enhancement is being promoted. In particular, it can be said that the system is evolving in that it automatically finds out where to look for when distinguishing the object of analysis.