2019年6月21日金曜日

しお

あるアプリケーションをごそごそ調べていると libsodium を使うらしく、libsodium をちらっと見てみると NaCl の実装の一つというのを知る。NaCl は djb 先生らのあれ。
NaCl は TweetNaCl みるとクラクラする..... https://tweetnacl.cr.yp.to/software.html

https://libsodium.gitbook.io/doc/
Sodium is a modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more.
It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further.
libsodium の中の人は GitHub での草生やし具合がすごく、
また pure-ftpd の中の人でもあることを知ったのであった。

写真家でもあるようで、このサイトみるだけだと GitHub で草生やしまくってるとは思えないね・・。素敵だ。
http://www.prettysimpleimages.com/

2019年6月15日土曜日

pocketer その後

最近、使っていないサイトのID/passwordを片っ端から解約、削除して回っているのだけども、その中で以前ミニ名刺をポチッと注文できる pocketer というサービスのがあった。

これこれ。
https://www.itmedia.co.jp/bizid/articles/1011/04/news074_3.html

ひとまずサイトへ行くと、全く無関係のものになっていたので対応は不要。
はていつ無くなったんだろうと見てみると2016年4月だったらしい。その後10月くらいまでは残ってたのかな。

http://web.archive.org/web/20161024031919/http://pocketer.jp/

サイトは閉じ(ドメインは別の誰かが 2018年にとって別のに変わっ)たものの、ツイッターは残ってしまっている。ツイッター担当が先にいなくなってしまったのかなぁなどと想像してしまう。

https://twitter.com/pocketer_jp

2019年5月21日火曜日

正誤表

前回
最近買った電子書籍ではない、とある技術書を頭からちょいちょいと読み進めてると早速誤りに気づく。
出版社のサイトに正誤表があり、すでに20箇所以上の誤りが掲載されていた。
しかし自分の見つけたものはまだ載っていなかった為、フォームから連絡しておいた。

いい加減、技術書の1刷を買うのはできる限り避けた方がいいのかねぇ。。
前回で書いた、やたら誤りが多い書籍と出版社が同じなのは気になる。校正(であってる?)がガバガバなんだろうか。
電子書籍なら更新するからそっちを、ということを暗に示しているのかとも思ってしまう。

2019年4月21日日曜日

メモリ 8GB ということは

おうちのラップトップ16GB , ギョーム用8GB なのだが後者は容量だけ見ると PS4, Xbox One と同じなので「はっ。ゲーム機程度か・・・」と思うね。
32GB つめる 13インチ MBP 出たら可及的速やかに買いたい所存。

2019年3月17日日曜日

色が変わった

入館や入室時にかざす、いわゆる社員証のようなカードがあるのだけども勤続〜年の節目でその年数に応じた色のものに替えてもらえるので替えた。先月の時点でその日は来てたんだけども。
替えるのは任意なので入社時から替えていない人もいる。

ちょっとだけ違う気分になったね。

2019年2月23日土曜日

リングの思い出

いま、稼働しているのは4つらしい。
 http://www.ring.gr.jp/

むかーしいた会社はミラーをやっていた時期があった。core.ring.gr.jp を向いてた時期もあったような・・・(?)
 About RingServer  や  Members, Organizations  は閲覧できないな。

多いときはこのくらいだったのかな。もっとあった気もする。
http://web.archive.org/web/20040901052958/http://www.ring.gr.jp/

今はミラーサイトといえば ftp.jaist.ac.jp を使うかなぁ。

2019年2月21日木曜日

ランダム

/dev/random を調べる機会が発生。

むかーし FreeBSD で rndcontrol なぞ設定したなと思いつつ。
FreeBSD だと Yarrow, その後の Fortuna(しばらく使ってなかったから Fortuna 知らなかったよ・・・)なんだけども、Linux だとこのへんどうなっているのかさっぱりわからず。

で冒頭の wikipedia です
https://en.wikipedia.org/wiki//dev/random

この辺見てればいいと思う。

It is also possible to write to /dev/random. This allows any user to mix random data into the pool. Non-random data is harmless, because only a privileged user can issue the ioctl needed to increase the entropy estimate. The current amount of entropy and the size of the Linux kernel entropy pool, both measured in bits, are available in /proc/sys/kernel/random/ and can be displayed by the command cat /proc/sys/kernel/random/entropy_avail and cat /proc/sys/kernel/random/poolsize respectively.

(snip)

The Linux kernel provides support for several hardware random number generators, should they be installed. The raw output of such a device may be obtained from /dev/hwrng.[8]

With Linux kernel 3.16 and newer,[9] the kernel itself mixes data from hardware random number generators into /dev/random on a sliding scale based on the definable entropy estimation quality of the HWRNG. This means that no userspace daemon, such as rngd from rng-tools, is needed to do that job. With Linux kernel 3.17+, the VirtIO RNG was modified to have a default quality defined above 0,[10] and as such, is currently the only HWRNG mixed into /dev/random by default.

The entropy pool can be improved by programs like timer_entropyd, haveged, randomsound etc. With rng-tools, hardware random number generators like Entropy Key, etc. can write to /dev/random. The programs dieharder, diehard and ent can test these random number generators.

(snip)

In October 2016 with the release of Linux kernel version 4.8 and newer, /dev/urandom was switched over to a ChaCha20-based implementation[16] by Theodore Ts'o, based on Bernstein's well-regarded stream cipher ChaCha20.


ChaCha20 とやらが出てきて DJB 先生の名を再び目にする、と。
ところで 暗号周り、それなりに「あっあれね」と理解できるにはなにが必要なんだろうな。
「40からはじめる暗号」とか「暗号の前に!この数学」みたいな何かあるといいのだけど。