データモデル | short | int | long | long long | void* | 適用 |
---|---|---|---|---|---|---|
16 | 16 | 32 | N/A | 16 | 一般的な16bit環境 (x86) | |
ILP32 | 16 | 32 | 32 | 64 | 32 | 一般的な32bit環境 |
LLP64 | 16 | 32 | 32 | 64 | 64 | 64bit Microsoft Windows |
LP64 | 16 | 32 | 64 | 64 | 64 | 64bit Linux, macOS, iOS |
極私的『停止』に関わるIT用語
Halt (ホルト)
停止する。
ギャング映画で「Halt!」と叫べば「動くな!」の意味。
本来の語義にはネガティブな意味(故障による停止)は含まれていません。また、Z80をはじめ、往年のマイコンの停止命令(ニーモニック)が HALT でした。 "Holt" は綴り間違いです。
続きを読む
TOPPERS/ASP3のコンフィグレータ不具合
TECS実行時のエラー例
1 2 3 |
/home/JaneDoe/toppers/asp3/tecsgen/tecslib/core/bnf.tab.rb:5156: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead /home/JaneDoe/toppers/asp3/tecsgen/tecslib/core/bnf.tab.rb:5156: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead /home/JaneDoe/toppers/asp3/tecsgen/tecslib/core/bnf.tab.rb:5156: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead |
Cソースコードからビットフィールドを探す正規表現
C言語のソースコードからビットフィールド (bit field) を探す正規表現の例
正規表現
1 |
:\s*[1-9][0-9]*\s*; |
一致する行の例
1 |
char flag:1; |
1 |
int flag:10; |
1 |
char flag: 1; |
1 |
char flag:1 ; |
メタ文字
\s
: 空白文字(半角スペース,\t
,\n
,\r
,\f
)
TOPPERS/ASP3 pico用 configurator.rb
TOPPERS/ASP3 の Raspberry Pi pico 簡易パッケージ版 configurator.rb の使い方
1. configurator.rbの場所
1 |
asp3/configurator.rb |
2. configurator.rbのオプション
2.1. ターゲット名
1 |
-T <target> |
- dummy_gcc
- raspberrypi_pico_gcc
データの性質と尺度
データの性質
質的データ qualitative data
数量として意味のないカテゴリを数値に直したデータ
- 名義尺度
- 順序尺度
量的データ quantitative data
数量として意味のあるデータ
- 間隔尺度
- 比例尺度
[RasPi] ピン配置
[ubuntu] ネットワーク設定
Ubuntu 17.10 以降 (18.04 LTS以降)
netplan
1. 設定ファイル
/etc/netplan/50-cloud-init.yaml
: 自動生成ファイル。ユーザによる編集は非推奨。/etc/netplan/99_config.yaml
: Ubuntu公式ドキュメント例示ファイル名
[python] HTTPサーバ
CLI
1 |
$ python3 -m http.server <port no> |
1 |
$ python3 -m http.server 8080 |
非標準ポートのアクセスURL
1 |
http://192.168.0.128:<port no> |
1 |
http://192.168.0.128:8080 |
参考リンク
ファイル拡張子 cpl
Windows Control Panel Item (コントロールパネル項目)
コントロールパネルの項目に紐づいたファイル
『コマンドプロンプト』や『ファイル名を指定して実行』から実行するとコントロールパネル階層下のウインドウが開く
*.cplファイルの配置位置 : C:\Windows\system32