quine 音标拼音: [kw'ɑɪn]
Quine n 1 :
United States philosopher and logician who championed an empirical view of knowledge that depended on language (
1908 -
2001 ) [
synonym : {
Quine }, {
W .
V .
Quine }, {
Willard Van Orman Quine }]
/kwi :n / (After the logician Willard V . Quine ,
via Douglas Hofstadter ) A program that generates a copy of its
own source text as its complete output . Devising the shortest
possible quine in some given programming language is a common
hackish amusement .
In most interpreted languages , any constant , e .g . 42 , is a
quine because it "evaluates to itself ". In certain {Lisp }
dialects (e .g . {Emacs Lisp }), the symbols "nil " and "t " are
"self -quoting ", i .e . they are both a symbol and also the value
of that symbol . In some dialects , the function -forming
function symbol , "lambda " is self -quoting so that , when
applied to some arguments , it returns itself applied to those
arguments . Here is a quine in {Lisp } using this idea :
((lambda (x ) (list x x )) (lambda (x ) (list x x )))
Compare this to the {lambda expression }:
(\ x . x x ) (\ x . x x )
which reproduces itself after one step of {beta reduction }.
This is simply the result of applying the {combinator } {fix }
to the {identity function }. In fact any quine can be
considered as a {fixed point } of the language 's evaluation
mechanism .
We can write this in {Lisp }:
((lambda (x ) (funcall x x )) (lambda (x ) (funcall x x )))
where "funcall " applies its first argument to the rest of its
arguments , but evaluation of this expression will never
terminate so it cannot be called a quine .
Here is a more complex version of the above Lisp quine , which
will work in Scheme and other Lisps where "lambda " is not
self -quoting :
((lambda (x )
(list x (list (quote quote ) x )))
(quote
(lambda (x )
(list x (list (quote quote ) x )))))
It 's relatively easy to write quines in other languages such
as {PostScript } which readily handle programs as data ; much
harder (and thus more challenging !) in languages like {C }
which do not . Here is a classic {C } quine for {ASCII }
machines :
char *f ="char *f =%c %s %c ;main () {printf (f ,34 ,f ,34 ,10 );}%c ";
main (){printf (f ,34 ,f ,34 ,10 );}
For excruciatingly exact quinishness , remove the interior line
break . Some infamous {Obfuscated C Contest } entries have been
quines that reproduced in exotic ways .
{Ken Thompson }'s {back door } involved an interesting variant
of a quine - a compiler which reproduced part of itself when
compiling (a version of ) itself .
[{Jargon File }]
(1995 -04 -25 )
安装中文字典英文字典查询工具!
中文字典英文字典工具:
复制到剪贴板
英文字典中文字典相关资料:
How does Netflix prevent users from taking screenshots of chrome . . . I noticed that netflix employs a method of preventing users from recording or even taking still screenshot images of the video playback in their browser-based app If you are watching a video on ne
Eureka client exception com. netflix. discovery. shared. transport . . . Eureka client exception com netflix discovery shared transport TransportException: Cannot execute request on any known server Asked 7 years, 11 months ago Modified 7 years, 3 months ago Viewed 20k times
Cannot resolve org. springframework. cloud:spring-cloud-starter-netflix . . . I too am following a tutorial as well I created a basic microservice using Spring Boot in IntelliJ 2020 1 I added the spring-cloud-starter-netflix-eureka-client starter to my project Here is what was added to the pom xml:
java - com. netflix. discovery. shared. transport. TransportException . . . com netflix discovery shared transport TransportException: Cannot execute request on any known server Asked 8 years, 9 months ago Modified 1 year, 9 months ago Viewed 148k times
Getting error while using latest Netflix DGS bom in Springboot I am trying out using the Netflix DGS library in Springboot, and have followed the documentation for getting started Current status is, if I am not including DGS as a dependency, application is wo
what is the difference between netflix zuul server and netflix eureka . . . 9 i have created two java spring-boot micro services they are 1) producer 2) consumer and i have used spring eureka server for service registration and discovery it worked fine then what is the use of Netflix Zuul
browser - How do we download a blob url video - Stack Overflow Explanation of command line options: -f mp4 = Output format mp4 --all-subs = Download all subtitles -o "file-name-to-save-as mp4" = Name of the file to save the video as "https: link-from-Google_Chrome-HLS_Downloader_extension" = This is the link to the playlist you copied from the HLS Downloader extension If you use the same configuration options all the time for youtube-dl you may want to
Error git is not recognized as an internal or external command I have an installation of Git for Windows, but when I try to use the git command in Command Prompt, I get the following error: 'git' is not recognized as an internal or external command, operable
Create an automated script that login in into netflix Create an automated script that login in into netflix Asked 9 years, 9 months ago Modified 9 years, 8 months ago Viewed 6k times
Controlling Netflix (HTML5) playback with Tampermonkey javascript . . . While watching a netflix video on a Netflix site, my goal is to have a userscript invoke the playback controls programmatically Specifically, the volume, level, play pause state, and time position