Quantcast
Channel: c – Gea-Suan Lin's BLOG
Browsing latest articles
Browse All 57 View Live

AWS 官方推出了自己的 Amazon S3 FUSE 套件

看到「Mountpoint for Amazon S3」這個專案,AWS 自己推出了自己的 Amazon S3 FUSE 套件。Hacker News 上也有一些討論:「Mountpoint – file client for S3 written in Rust, from AWS (github.com/awslabs)」。 Amazon S3 的價錢比其他 AWS 提供的 storage...

View Article


ClickHouse 弄了一個 C++ 寫的 ZooKeeper drop-in replacement:ClickHouse Keeper

在 Hacker News 上看到「ClickHouse Keeper: A ZooKeeper alternative written in C++ (clickhouse.com)」,原文是「ClickHouse Keeper: A ZooKeeper alternative written in C++」。 在 distributed coordination 這個領域目前應該是 etcd...

View Article


Raspberry Pi 5 的一些細節出現了...

上一篇「Raspberry Pi 5」提到了一些來自 Raspberry Pi 官方的說明,後續各個媒體 (像是 YouTuber) 也都解禁放出不少資料可以參考了,其中電源的部分在「Answering some questions about the Raspberry Pi 5」這邊看到不認 USB PD 的 5V/5A 的問題,目前看起來是走獨規: I also tested the...

View Article

Image may be NSFW.
Clik here to view.

從 Google Groups 送出來的 spam 數量稍微下降...

先前在「Google Groups 的巨量 spam」這邊提到從 Google Groups 倒進 usenet 大量的 spam,最近看起來稍微緩解了一些。 這是 10/22 的量: 這是 10/29 的量: 可以看出來整體被 Perl filter 擋下來的量大幅降低了,在 comp.lang.c 也可以看出來 10/28 後似乎暫時停了...? 只能繼續觀察看看了...

View Article

Image may be NSFW.
Clik here to view.

用 Astrometa DVB-T2 收數位無線電視台 (DVB-T)

以前用的 USB 電視棒壞掉了,去網拍上找了一隻新的來用,翻了一下跟 LinuxTVWiki 上的 Astrometa DVB-T2 這頁的圖片一樣 (2014 版本的圖): 先講一下重點,如果你買到的 USB 電視棒跟我一樣,應該可以看到兩個 source 可以收 DVB-T,而這兩個 source 都可以測試看看,在我家裡測試 Sony CXD2837ER 的收訊明顯好很多:...

View Article


Image may be NSFW.
Clik here to view.

C++ 實作高頻交易程式的技巧

看到「C++ patterns for low-latency applications including high-frequency trading (arxiv.org)」這篇,原文是 2023 年九月上傳到 arXiv 的 paper:「C++ Design Patterns for Low-latency Applications Including High-frequency...

View Article

用 C 語言寫 Android 版本的 Flappy Bird

也是在 Hacker News Daily 上看到的專案,用 C 寫的 Android 版本的 Flappy Bird,而且支援度還頗廣的,Android 5.1+ 都可以執行:「VadimBoev/FlappyBird」。 看起來也因為這篇的關係,用 C 寫 Android 程式的計畫也被再次貼到 Hacker News 上:「Rawdrawandroid – Build Android apps...

View Article

用 C-Reduce 找問題 (包括了程式的問題以及可能的 compiler 問題)

上個禮拜看到「You can use C-Reduce for any language (bernsteinbear.com)」這個,原文「You can use C-Reduce for any language」在說 C-Reduce 可以用在很多語言。 不過我光是 C-Reduce 用在 C 語言的情況都不確定了,就翻翻看有沒有範例可以先了解 C-Reduce...

View Article


POSIX 以及 ISO C 規格中的 fread() 與 fwrite() 限制

在 Lobsters 看到「I Thought I Found a Bug...」這篇,裡面提到了 POSIX 以及 ISO C 標準的 fread() 與 fwrite() 其實有個討厭的限制。 在使用 fopen() 時可以指定使用 update mode (+,像是 r+、w+ 以及 a+) 開啟,然後可以針對這個 FILE * 讀寫: fp = fopen("/tmp/foo.txt",...

View Article


snac:用 C 寫的 ActivityPub instance

前幾天看到 snac 這個專案,用 C 寫的 ActivityPub instance。 看起來連 SQLite 都沒用到,直接拿 filesystem 的結構來存資料,然後也完全沒用 javascript,另外有提到有支援一些 Mastodon 的 API。 然後... 專案名稱 snac 的全名是 Social Networks Are Crap (???),是個看起來頗有趣的專案 XD

View Article
Browsing latest articles
Browse All 57 View Live