Skip to content

Instantly share code, notes, and snippets.

View t-sin's full-sized avatar
🆑

Shinichi Tanaka t-sin

🆑
View GitHub Profile
------------------------------------------------------------------
以下の翻訳文は、Felix Winkelmann の Thoughts on Forth Programming
(http://call-with-current-continuation.org/articles/forth.txt) の
翻訳であり、原著者の許可を得て公開するものです。
2021-09-01 Nobuhiko FUNATO (nfunato @ acm . org)
更新履歴:
2021-09-02(rev10): Shiro Kawaiさんにご指摘いただいた誤訳訂正/改善を反映
2021-09-02(rev09): 公開初版
------------------------------------------------------------------
@KeenS
KeenS / COPYING
Last active April 2, 2020 12:12
codes used to generate https://github.com/KeenS/whitelie
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
@pandaman64
pandaman64 / memory_model.md
Last active December 18, 2020 07:54
papers on formalized memory models

色々メモリモデル

コンパイラ(LLVM)のメモリモデル

✅ Reconclining high-level optimization and low-level code in LLVM (https://dl.acm.org/doi/10.1145/3276495)

Lee, Hur, Jung, Liu, Regehr, Lopes.

  • 低レベル言語(C, C++, Rust)のコンパイラのメモリモデルには二つの相反する目標がある
    • high-level optimization
      • 最適化したい
  • 例:
@athos
athos / README.md
Last active May 30, 2019 15:14
Shibuya.lisp Lisp meetup #76 LT発表資料

Shibuya.lisp Lisp meetup #76 LT発表資料

  • LT発表資料です
  • Clojure CLIがインストールされていれば、以下で実行できます:
$ clj -Sdeps '{:deps {athos/form-and-env {:git/url "https://gist.github.com/athos/1e92959529dc60316cc2fff4ed3990ff.git" :sha "343f21f5dc5999d9eeef3d993a31755ebd9b84a4"}}}'
// ==UserScript==
// @name arXiv File Namer
// @namespace Violentmonkey Scripts
// @match https://arxiv.org/abs/*
// @grant GM_xmlhttpRequest
// @grant GM_download
// ==/UserScript==
const id = location.href.replace(/.*\//,"")
GM_xmlhttpRequest({
method: "GET",
@carrotflakes
carrotflakes / echo-bot.lisp
Created April 10, 2019 13:07
echo bot on twitter in Common Lisp
(ql:quickload :chirp)
(setf chirp:*oauth-api-key* "Put"
chirp:*oauth-api-secret* "your"
chirp:*oauth-access-token* "credencials"
chirp:*oauth-access-secret* "here!")
(print (chirp:account/verify-credentials))
(defun status-text-without-mention (status)
@greymd
greymd / yamaya_fib.md
Last active February 20, 2023 08:12
yamayaさんの難読化シェル芸(フィボナッチ数列) 解説

yamayaさんの難読化シェル芸(フィボナッチ数列) 解説

経緯

(1) ある日、yamaya さんという怖い方がこのツイートを投稿する。

yamaya_src

@fal-works
fal-works / 弾幕仮想機械メモ
Last active April 3, 2019 09:57
弾幕仮想機械メモ
// 命令セット一覧(2019-04-03)
// 命名規則が揺れている……
END // 実行終了。以降、速度などそのままに動き続ける
VANISH // バイトコードを動かしているActor(敵や弾丸の総称)自体を消して終了
// スタック操作系
PUSH_8
PUSH_16
PUSH_32
#|
$ cat test.f
#!forth
: <= over over < rot swap = or ;
: fib dup 0 swap <= if drop 0 else dup 1 = if drop 1 else
dup 1 swap - fib swap 2 swap - fib + then then ;
10 fib
$ ros run -l uf-reader.lisp -l test.f -q
|#
(require 'uf)
@y2q-actionman
y2q-actionman / a_road_to_common_lisp_jp.md
Last active April 30, 2024 17:55
A Road to Common Lisp 翻訳

この文章は、 Steve Losh 氏の記事 "A Road to Common Lisp" の翻訳です。

原文はこちらです: http://stevelosh.com/blog/2018/08/a-road-to-common-lisp/


A Road to Common Lisp (Common Lisp への道)

これまで、「最近のCommon Lispをどう学ぶとよいでしょう?」と助言を求めるメールをたくさん受け取ってきました。そこで私は、これまでメールやソーシャルメディアに投稿した全てのアドバイスを書き下すことにしました。これが誰かに有益ならば幸いです。