Des Traynor
https://blog.intercom.com/there-are-no-small-changes/
「...この製品レビューを書き込む欄の文字列を140字に制限したいんだ。 なぜならある時点で通信手段としてSMSを使わせるかもしれないから。 こんな仕様変更は簡単だよね?」
/* | |
C Pointer Exercises for Beginners | |
by Yusuke Shinyama | |
*/ | |
#include <stdio.h> | |
int main(int argc, char **argv) | |
{ | |
struct foo { |
# -*- shell-script -*- | |
## | |
## Minimum .bashrc for euske | |
## | |
# Do nothing if not interactive. | |
[[ -z "$PS1" ]] && return | |
# Shell options. | |
IGNOREEOF=10 |
Des Traynor
https://blog.intercom.com/there-are-no-small-changes/
「...この製品レビューを書き込む欄の文字列を140字に制限したいんだ。 なぜならある時点で通信手段としてSMSを使わせるかもしれないから。 こんな仕様変更は簡単だよね?」
Daniel J. Bernstein
スライド: http://cr.yp.to/talks/2015.04.16/slides-djb-20150416-a4.pdf
音声: http://cr.yp.to/talks/2015.04.16/audio.ogg
(訳注: Daniel J. BernsteinはUICの教授で、qmailやdjbdnsを開発した 有名なプログラマーである。最近では彼の暗号アルゴリズム (curve25519)の
https://groups.google.com/forum/message/raw?msg=comp.lang.ada/E9bNCvDQ12k/1tezW24ZxdAJ
この人が、あるミサイル制御装置の組み込みプログラムをコンサルティングしていたときのこと。 明らかにメモリリークしそうな箇所が多数あるのを見て、統括責任者に問い合わせたところ 「そりゃもちろんリークするさ」との返事。この制御プログラムはある一定時間までしか 走らないことが保証されているので、彼らはそこから逆算してリークしても大丈夫なだけのメモリを確保しておき、 あとはプログラマが手を下す必要のない「究極のガベージコレクション」にまかせた、という話。
(OpenSSL is written by monkeys)
Marco Peereboom, 2009年
原文: https://www.peereboom.us/assl/assl/html/openssl.html
日本語訳: 新山 祐介
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
typedef int T; | |
typedef struct { | |
T* objs; | |
size_t nobjs; | |
size_t maxobjs; |
#!/usr/bin/env python | |
# | |
# Download Slack channel histories. | |
# | |
# Prerequisites: | |
# 1. Create a Slack app. | |
# 2. Give the app the following OAuth & Permissions: | |
# channels:read, channels:history, users.profile:read | |
# 3. Install the app & get OAuth token: | |
# "xoxp-..." |