(defun make_say_hello (name) ;; Prints out a hello statement given a name (format t "~A~%" name) )





#interview with the vampire#iwtv#the vampire armand#assad zaman
seen from United States
seen from India
seen from Saudi Arabia
seen from Poland
seen from Indonesia
seen from T1

seen from United Kingdom
seen from China
seen from United States
seen from China
seen from India
seen from Germany

seen from China
seen from United States

seen from United States
seen from China
seen from China
seen from United States
seen from Jordan

seen from Malaysia
(defun make_say_hello (name) ;; Prints out a hello statement given a name (format t "~A~%" name) )

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
It sucks when people find a thing that looks like you and go, "oh hey, this is you!" And you're like, I understand why you might think that, but that's not me, it's just something that looks similar. It's even more painful when the people doing this incorrect profiling are themselves things close to you, and in such a way that they should be able to extrapolate to the existence of things like you. But they don't.
お疲れ様です。Leapmindの脇坂です。 この記事は、TensorFlow Advent Calendar 2017 17日目の記事です 今回は、tensorflow の `tensorflow.python.framework.function.Defun` を使って、weight の 3値化をしてみます。 Defunとは `tensorflow.python.framework.function.Defun` はtensorflowのfunctionを定義するためのデコレータです。 今現在(tensorflow v1.4)ドキュメントにはのってない機能です。`tf.contrib.eager.defun` とは違うので注意 引数にtensorflow DataTypeをとって、任意のpython functionをデコレートし、tensorflowのgraphでそのfunctionが使えるように定義します。内部的には、たぶん、graphにfunction.protoを追加します。 tensorflowにおけるfucntionは1つ以上のoperationをまとめたものだそうです。 参考: コード例は、こんな感じです。 MyFuncの定義 @tf.Defun(tf.float32, tf.float32) def MyFunc(x, y): return x + y, x - y グラフを作る時に、MyFuncを実行。 a = tf.Constant() b = tf.Constant() c, d = MyFunc(a, b, name='mycall') 他にオプションのキーワード引数として、 * `func_name`: Functionの名前 * `grad_func` or `python_grad_func`: backward関数 * `out_names`: output tensor の名前 * `shape_func`: output tensor のshapeを指定 が、あります。 さらに詳しく知りたい方は、ソースコードとtestを見てみてください。
Clojure Weekly, Sep 9th, 2015
Welcome to another issue of Clojure Weekly! Here I collect a few links, normally 4/5 urls, pointing at articles, docs, screencasts, podcasts and anything else that attracts my attention in the clojure-sphere for the last 7 (or so) days. I add a small comment so you can decide if you want to look at the whole thing or not. That’s it, enjoy!
memfn - clojure.core I knew it was somewhere in the stdlib but I couldn't remember the name. Better bookmark it. memfn is that little macro that you need when you want to treat Java method as first class functions, like any other Clojure function. Without memfn you have to do contorsionism with (fn) or #(%) forms. memfn also allows for partial application on Java methods. For instance, (memfn toUpperCase) is already a partial form: ((memfn toUpperCase) "abba").
State of the Common Lisp Ecosystem, 2015 Another "state of the X ecosystem" article, this time for Common Lisp (after the one for Haskell I read last week). These posts are interesting, since they give you a quick glimpse inside a language/community, including ideas about the past and future. Clojure has something similar with its annual survey hopefully coming this year as well.
killme2008/defun Interesting. You can do quite a bunch of hard-core pattern matching stuff with this library for Clojure. We go from something similar to multimethods to more complicated guards on arguments supporting arbitrary code. I've used pattern matching in Haskell where thanks to the language supporting it natively is quite idiomatic. Going back to Clojure I never felt the need though.
Everything Is a Ghetto: SICP Distilled Now Public Quick mention for SICP distilled going public. The project goal is to provide the highlights of SICP in a modern language like Clojure. In the website you can find a selection of paragraphs from SICP with examples and exercises re-written in Clojure. A nice accomplishment which is not yet finished (there are many "check back soon" sections). I'm not sure if I can suggest you to go straight to SICP distillied without ever touching the original but it might help if you want to compare how it translates to Clojure.
Contributing to Clojure – Inside Clojure The definitive guide to becoming a Clojure contributor, by Alex Miller. All the links I collected in the weekly related to interesting Jira pages are summarized here. It contains things like "newbie" tickets, how to create patches to attach to tickets and a definitive state diagram with all the steps for a contribution to finally get into the next version of Clojure.
CLJ-1449 Add new clojure.string functions · clojure/clojure@722e023 Ooooh... so things change for Clojure as well. It's years of using java interop for things like the index of char in a string that I thought something like this was out of discussion. Forever. So can I finally avoid testing for nil? Nope.
Resolving function from string name - Stack Overflow I remember doing this a lot in my Java days, looking up methods by reflection was one of the most powerful tools in Java land, allowing all sort of late binding. In Clojure is a rare event but it can be handy at times. The use case is the usual duplication of some function call, only slightly changing by a couple of parameters. There are sensible alternatives like multimethods, but sometimes you can quickly get away using a symbol to lookup a function in a namespace, like ((ns-resolve 'clojure.string 'lower-case) "BlahBlah") and have a bunch of other invoking functions passing 'lower-case 'upper-case and so as a param. Use when you see fit.
Common Lisp - 3
(defun name (parameter*) "Optional documentation string." body-form*)
커먼 리스프에서는 defun 매크로를 사용하여 새로운 함수를 정의할 수 있습니다.
name 부분은 주로 알파벳과 하이픈( - )으로 만들어지지만 어떤 심볼을 사용해도 무방합니다. 실제로 '1-' 라는 이름의 함수가 존재합니다. 인자값에서 1을 빼는 함수입니다. (-1 3) 을 실행하면 2를 반환합니다.
parameter* 부분은 함수의 내부에서 호출하여 사용할 수 있는 값 리스트입니다.
parameter 의 다음의 문자열은 함수의 설명이며 documentation 함수를 통해서 얻을 수도 있습니다.
함수의 body-form* 부분은 하나 이상의 실행 문장을 포함할 수 있습니다. 두개 이상의 실행 문장이 있다면 마지막 문장의 값을 반환합니다.
(defun verbose-sum (x y) "Sum any two numbers after printing a message." (format t "Summing ~d and ~d.~%" x y) (+ x y))
(verbose-sum 4 3 ) 으로 함수를 실행하면 format 문장이 실행되 이후에 결과적으로 7을 반환하게 됩니다.
매번 함수가 호출될 때마다 리스프트 parameter* 를 위한 새로운 '바인딩'을 생성
이쯤해서 슬슬 '강력한 언어'의 대한 의심이 고개를 들겠지만 그럴수록 더 집중해서 살펴 보겠습니다.

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
The died
Naissance && Vivre ! Bref ! La mort vi a mes coté, elle est présente et le sera toujours. Je suis né pour Vivre et Mourrir ! Just One Life Jah Protect My friends never died and never forget ! # 2013 Guadeloupe [..]
Generally, I find back-to-indentation more useful, but occasionally it makes sense to go to the real beginning of a line as well. What doesn’t make sense is to have to think all the time what command is the most appropriate in a particular situation. Wouldn’t it be great if C-a initially took you to the first non-whitespace char(as back-to-indentation does) on a line, and if pressed again took you to the actual beginning of the line?
Bozhidar Batsov has an awesome little defun about moving to the beginning of the line. I was super excited when I learned about M-m because it replaced the embarrasingly ineffecient C-a M-f M-b for me. This is even better, because I can forget about M-m again and just use C-a. Click through for the implementation :)
Watching logs on 3 remote boxes and SSH'ing into one of them - one command, thanks to Emacs :D
I have a repeated use case where I'm interested in the logs of three different remote boxes, and I also need to SSH into one of them to run a shell script. I got fed up with doing this multiple times a day (`ssh box1;tail -f log;ssh box2; tail -f log;ssh box3; tail -f log;. shellscript.sh` gets oooold), so I went about making life easier for myself, fumbling and stumbling through Elisp on the way :) First things off, I want to be able to open the catalina.out files in Emacs, and not have to manually use an SSH session to tail them each one by one. The following tells Emacs to add an entry to its [`auto-mode-alist` variable][0] - namely, that files matching a particular regex should be using [auto-revert-tail-mode][1] (setq auto-mode-alist (cons '("\\.out$" . auto-revert-tail-mode) auto-mode-alist)) So, now whenever I open a .out file, it's in Emacs's built in tail-mode. This also works in conjunction with TRAMP mode, at no extra cost to me; nifty. [0]: http://emacswiki.org/emacs/AutoModeAlist " EmacsWiki: AutoModeAlist" [1]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Reverting.html "Reverting - GNU Emacs Manual" Okay, great so now I can tail things inside of Emacs. For a couple days, I set the 3 log files up as bookmarks, so that they were each a shortcut away - I'm using `C-c b j` to jump to bookmarks, and then I'd have to type a few letters to distinguish each log from each other. Down to 3 keystrokes + 3 more per log file to get to three files on three remote boxes, but it's still too much work! I'm super lazy, not just normal-person lazy. So, the final part is just to write an elisp function composed of a simple set of commands - open a new frame so I don't lose my existing window set up, split it into 4 parts, open the remote log files in 3 of the windows, and in the 4th, open an ssh session to the last box. (defun open-qa-catalina () (interactive) (make-frame-command) (delete-other-windows) (split-window-horizontally) (split-window-vertically) (split-window-vertically) (balance-windows) (find-file "/ssh:remote1:/opt/tomcat/logs/catalina.out" t) (end-of-buffer) (other-window 1) (find-file "/ssh:remote2:/opt/tomcat/logs/catalina.out" t) (end-of-buffer) (other-window 1) (find-file "/ssh:remote3:/opt/tomcat/logs/catalina.out" t) (end-of-buffer) (other-window 1) (cterm) ) Not sure if there's a better way to do that stuff, as it looks repetitive, but frankly now that all I have to do is `M-x open-`, I'm not really too concerned. And that's even before binding it to a single keystroke :D So now, 6 keystrokes to get to 3 remote log files and ssh'd into a remote box. Winner :)