ときどきの雑記帖″

最新ページへのリンク
目次ページへのリンク

一つ前へ 2014年10月(上旬)
一つ後へ 2014年10月(下旬)

ホームへ

2014年10月20日

■_

いろいろと /dev/null にリダイレクト。

■_

2014年10月19日

■_

TNG パトレイバー鑑賞。 次の章からシリアス分濃くなりそう。

■_

2014年10月18日

■_

書泉グランデに行ってきたんだけど、客層がだいぶ変わったような… 盛況ではあったけど。

■_

2014年10月17日

■_

進捗なし。 と日記には書いておこう。

■_

2014年10月16日

■_

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.

で、こう。 二番目はちょっとうまく切り取れない

2014年10月15日

■_

de facto standard を「デファクト」と略されるとちょっと気になる。ちょっとな!w

■_

■_

これ、「即値」じゃあないような。 Java でいうところの primitive ですよね?

PHPNGの動向 from Yoshio Hanawa

即値とは 〔 イミディエイト 〕 【 immediate 】 - 意味/解説/説明/定義 : IT用語辞典 また、高水準言語でソースコード中に直に書き込まれたデータのことや、そのようなデータの記述形式を即値ということがあるが、 えええっ?!

2014年10月14日

■_

How Google Works。 採用云々あたりを読んでいて (日本では多少の違いがあるかもしれないけれども)、 Google に行った人たちすごいのねえと 我が身を振り返り嘆息することしきり。

How Google Works (ハウ・グーグル・ワークス) ―私たちの働き方とマネジメント
How Google Works (ハウ・グーグル・ワークス)  ―私たちの働き方とマネジメント

■_

はてなブックマーク - JavaScriptはオブジェクトについて参照渡しだなんて、信じない - Qiita この話。

これに尽きるんですが、 それはそれとしてブラックボックスいじってどうこう言ってないで言語仕様見ようよー。 と思ったがそのものズバリな記述がないっぽい? 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.

■_

2014年10月13日

■_

世田谷パン祭りの混雑っぷりに敗北。

お、チェックしとこう うせもの宿 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

なにやらまた色々高速化をしようとしてるっぽい?

2014年10月12日

■_

あー、これ途中まで訳してたなー。 どこ行ったかな How To Write Unmaintainable Code : programming How To Write Unmaintainable Code

■_

2014年10月11日

■_

■_


一つ前へ 2014年10月(上旬)
一つ後へ 2014年10月(下旬)

ホームへ


リンクはご自由にどうぞ

メールの宛先はこちらkbk AT kt DOT rim DOT or DOT jp