■_
いろいろと /dev/null にリダイレクト。
一つ前へ
2014年10月(上旬)
一つ後へ
2014年10月(下旬)
いろいろと /dev/null にリダイレクト。
TNG パトレイバー鑑賞。 次の章からシリアス分濃くなりそう。
書泉グランデに行ってきたんだけど、客層がだいぶ変わったような… 盛況ではあったけど。
進捗なし。 と日記には書いておこう。
挙動(の仕様)としてはなんじゃそら感があるけど、実装を考えると(意図せずして)そうなるのかなあという気も
ruby-core になんやら spam っぽい投稿があるせいなのか ML の配送を止められてしまうことが何度か。
これもまた時折話題になる話。 What I Wish I Knew When I Became a Software Engineer — On Being a Code Monkey — Medium
What I Wish I Knew When I Became a Software Engineer — On Being a Code Monkey — Medium I’ve been working as a software engineer for the last four years. Here are a few things I wish I knew when I got in the field.
で、こう。 二番目はちょっとうまく切り取れない
de facto standard を「デファクト」と略されるとちょっと気になる。ちょっとな!w
これ、「即値」じゃあないような。 Java でいうところの primitive ですよね?
即値とは 〔 イミディエイト 〕 【 immediate 】 - 意味/解説/説明/定義 : IT用語辞典
また、高水準言語でソースコード中に直に書き込まれたデータのことや、そのようなデータの記述形式を即値ということがあるが、
えええっ?!
How Google Works。 採用云々あたりを読んでいて (日本では多少の違いがあるかもしれないけれども)、 Google に行った人たちすごいのねえと 我が身を振り返り嘆息することしきり。
はてなブックマーク - JavaScriptはオブジェクトについて参照渡しだなんて、信じない - Qiita この話。
この話、10年以上前のJavaからずっとやってる感ある | JavaScriptはオブジェクトについて参照渡しだなんて、信じない - Qiita http://t.co/fnzIcGSwnk
— ⁰⁰⁰⁰null (@yuroyoro) 2014, 10月 14
これに尽きるんですが、 それはそれとしてブラックボックスいじってどうこう言ってないで言語仕様見ようよー。 と思ったがそのものズバリな記述がないっぽい? Standard ECMA-262 ECMAScript Language Specification - ECMA-262 Edition 5.1
ECMAScript Language Specification - ECMA-262 Edition 5.1 Entering Function Code The following steps are performed when control enters the execution context for function code contained in function object F, a caller provided thisArg, and a caller provided argumentsList: If the function code is strict code, set the ThisBinding to thisArg. Else if thisArg is null or undefined, set the ThisBinding to the global object. Else if Type(thisArg) is not Object, set the ThisBinding to ToObject(thisArg). Else set the ThisBinding to thisArg. Let localEnv be the result of calling NewDeclarativeEnvironment passing the value of the [[Scope]] internal property of F as the argument. Set the LexicalEnvironment to localEnv. Set the VariableEnvironment to localEnv. Let code be the value of F’s [[Code]] internal property. Perform Declaration Binding Instantiation using the function code code and argumentsList as described in 10.5.
ECMAScript Language Specification - ECMA-262 Edition 5.1 13.2.1 [[Call]] When the [[Call]] internal method for a Function object F is called with a this value and a list of arguments, the following steps are taken: Let funcCtx be the result of establishing a new execution context for function code using the value of F's [[FormalParameters]] internal property, the passed arguments List args, and the this value as described in 10.4.3. Let result be the result of evaluating the FunctionBody that is the value of F's [[Code]] internal property. If F does not have a [[Code]] internal property or if its value is an empty FunctionBody, then result is (normal, undefined, empty). Exit the execution context funcCtx, restoring the previous execution context. If result.type is throw then throw result.value. If result.type is return then return result.value. Otherwise result.type must be normal. Return undefined.
んでまあ、こういうのは call by value でもなく call by reference でもなく
call by object sharing と呼ぼうよ。
といういつもの〆。
あれ?
ECMA-262 にあった?
ECMA-262 » ECMA-262-3 in detail. Chapter 8. Evaluation strategy.
this strategy (and to be more exact, its discussing terminology) is not so widely spread. But, as we will see shortly, exactly it plays the key role in passing arguments strategy in ECMAScript.
世田谷パン祭りの混雑っぷりに敗北。
お、チェックしとこう
うせもの宿 1 | コミックス | 小学館
デビューコミックス「式の前日」、連載第1作「さよならソルシエ」が大ヒットの俊英・穂積が描く、驚きと感動の和風ファンタジー。
ちょっと行ってみたい。
関西オモシロ鉄道の旅 (26) 叡山電鉄で秋の鞍馬へ - 「異世界の旅」を味わう | マイナビニュース
京都府・叡山電鉄に「偽叡山電車」が登場!? アニメ『有頂天家族』とコラボ | マイナビニュース
偽叡山電車」装飾とラッピング電車運行はともに9月20日から2015年1月11日まで。
はてなブックマーク - 本の虫: Pingプログラムの話 この話、Jargon ファイルにあってですね (作者が書いたものじゃないけど :) ping
ping ping [from the submariners' term for a sonar pulse] 1. n. Slang term for a small network message (ICMP ECHO) sent by a computer to check for the presence and alertness of another. The Unix command ping(8) can be used to do this manually (note that ping(8)'s author denies the widespread folk etymology that the name was ever intended as an acronym for ‘Packet INternet Groper’). Occasionally used as a phone greeting. See ACK, also ENQ.The funniest use of ‘ping’ to date was described in January 1991 by Steve Hayman on the Usenet group comp.sys.next. He was trying to isolate a faulty cable segment on a TCP/IP Ethernet hooked up to a NeXT machine, and got tired of having to run back to his console after each cabling tweak to see if the ping packets were getting through. So he used the sound-recording feature on the NeXT, then wrote a script that repeatedly invoked ping(8), listened for an echo, and played back the recording on each returned packet. Result? A program that caused the machine to repeat, over and over, “Ping ... ping ... ping ...” as long as the network was up. He turned the volume to maximum, ferreted through the building with one ear cocked, and found a faulty tee connector in no time.
この funniest use
、Cheapernet でないとできないんじゃなかろうか。
アスキーがああなっちゃったから「ハッカーズ大辞典」復刊とか無理だろうなあ。
思い出したようにGNU grep をチェック grep.git - grep
grep.git - grep 4 days dfa: fix a theoretical bugHEADmaster Norihiro Tanaka 1 -0/+1 6 days doc: modernize and simplify man page Paul Eggert 1 -133/+35 6 days doc: clarify exit status Paul Eggert 2 -23/+10 6 days dfa: test for just-fixed bug Norihiro Tanaka 3 -0/+51 7 days dfa: factor out a new nontrivial block of duplicated code Norihiro Tanaka 1 -41/+32 8 days dfa: check end of input buffer after transition in non-UTF8 multibyte locale Norihiro Tanaka 4 -2/+63 8 days grep: avoid stack buffer read-underrun and overrun Jim Meyering 1 -2/+3 9 days grep: fix subscript error when testing whether empty lines match Norihiro Tanaka 1 -1/+2 2014-09-28 dfa: minor tweaks, mostly to remove __attribute__ ((noinline)) Paul Eggert 2 -9/+26 2014-09-28 dfa: separate dfaexec function to help optimization by compiler Norihiro Tanaka 1 -6/+29 2014-09-28 dfa: speed-up at initial state Norihiro Tanaka 1 -19/+35
なにやらまた色々高速化をしようとしてるっぽい?
あー、これ途中まで訳してたなー。 どこ行ったかな How To Write Unmaintainable Code : programming How To Write Unmaintainable Code
一つ前へ
2014年10月(上旬)
一つ後へ
2014年10月(下旬)
リンクはご自由にどうぞ
メールの宛先はこちら