2025年は趣味開発環境の変化が大きかったので備忘録として残しておく。
前提:
- 趣味開発はほぼ毎日している
- 開発するのはコマンドラインツールやライブラリが多い
- 言語はほぼRust
- 開発はほぼAndroid上
| #_( ;; Allow this script to be executed directly | |
| "exec" "bb" -o "--classpath" "." "$0" "$@" | |
| ) | |
| ;; Copyright © 2020, Malcolm Sparks | |
| ;; Permission is hereby granted, free of charge, to any person obtaining a copy | |
| ;; of this software and associated documentation files (the “Software”), to deal | |
| ;; in the Software without restriction, including without limitation the rights | |
| ;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
この文章は、 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をどう学ぶとよいでしょう?」と助言を求めるメールをたくさん受け取ってきました。そこで私は、これまでメールやソーシャルメディアに投稿した全てのアドバイスを書き下すことにしました。これが誰かに有益ならば幸いです。
| (ql:quickload :swank) | |
| (defun main () | |
| (setq swank::*loopback-interface* "0.0.0.0") | |
| (swank:create-server :port 4005 :style :spawn :dont-close t) | |
| (loop (sleep 60))) | |
| (main) |
以下転載:
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
| ;; Assume you have already installed Font Awesome on the system | |
| ;; http://fortawesome.github.io/Font-Awesome/ | |
| (require 'ov) | |
| ;; Overlay Library | |
| ;; https://github.com/ShingoFukuyama/ov.el | |
| ;; Example 1: Insert all fonts at the cursor position | |
| (defun font-awesome-insert-all () |
| ;; zone-pgm-rainbow | |
| (require 'zone) | |
| (defvar zone-programs) | |
| (defvar zpr-hue-factor 50) | |
| (defvar zpr-sat 1.0) | |
| (defvar zpr-light 0.5) | |
| (defun zone-pgm-rainbow () | |
| (require 'color nil) |
| (require 'google-translate) | |
| (defvar helm-multilingual-source-language "ja") | |
| (defvar helm-multilingual-target-language-alist | |
| '( | |
| ("Japanese" . "ja") | |
| ("Arabic" . "ar") | |
| ("Chinese Simplified" . "zh-CN") | |
| ("Dutch" . "nl") | |
| ("English" . "en") |
xv6を学ぶ上での準備
起動処理を読む(main.c の main() が呼ばれるまで)
main() からmpmain()が呼ばれるまで