karinalfc (@karinalfc1) profile picture
Joined July 2022
karinalfc retweeted
This was the hardest book to restore so far. The original edition was published in 2001 and hasn't been updated since then. The Linux and software development ecosystems have changed dramatically between 2001 and the end of 2026. But now it's a top book if you want to learn modern Linux programming. It will teach you: - Build, debug, and package C and C++ programs with GCC, GNU Make, GDB, and VS Code on Ubuntu - Create and control processes and threads, handle signals, and synchronize access to shared data - Exchange data between processes with shared memory, semaphores, mapped memory, pipes, and sockets - Work with devices, the /proc file system, and dozens of Linux system calls - Harden your programs against attack, and find memory errors with AddressSanitizer and Valgrind - Run computations on a GPU, and call a locally running language model from a C program It's also the first book I've restored where I not only fixed and modernized what the authors had written, but also wrote a chapter myself: GPU computing and LLM inference. In this chapter, you will learn how to design a GPU kernel in C, how to put it and the data on the GPU, and how to get the result back. For LLM inference, I used Ollama and Qwen 3. You will learn how to put the prompt on the GPU using Ollama and how to get the generated output back. Buy the paperback on Amazon: US: amazon.com/dp/1065970196 UK: amazon.co.uk/dp/1065970196 DE: amazon.de/dp/1065970196 FR: amazon.fr/dp/1065970196 CA: amazon.ca/dp/1065970196 AU: amazon.com.au/dp/1065970196 The hardcover is coming soon.
5
31
243
6,696
给想走联邦法语项目这条路的朋友一个小建议: ① 先把英语考到CLB5以上(越高越好) ② 法语以 TEF Canada / TCF Canada 为备考目标去针对性学习,四项都要 NCLC7,不能偏科。 ③ 备考周期:零基础认真学,我强度拉的很高,用了约 8个月,不着急的话建议一年左右! ④ 分数出来别急着入池,先算好 CRS,根基自己情况确认进定向池(FSW,CEC,FSTP) #加拿大移民 #法语项目
6
7
2
67
5,289
karinalfc retweeted
正确上岸挪威🇳🇴的方式 1:雅思5.5-6 2:申请挪威🇳🇴的奥斯陆大学,北极圈大学,卑尔根等大学 3:准备10-11万人民币(也许不用) 4:到了挪威后马上申请一周20小时的工作,时薪通常130-165人民币一小时,足够你的学费以外开支,开始不会语言,中餐馆也行,外卖也行 5:A2语言后,直接去挪威🇳🇴的社区报名护工,或者仓库,物流,都可以。你想去哪个,就往哪个方向投。包括日后一个月几十万的捕蟹队,那你就去捕捞公司,学习海洋轮作知识 6:考出对应的职业证书 7:1-2年把挪威语B1+考出来,顺利留下!!! 世界顶级国家就这么简单,北欧人普遍比较朴实善良,在欧洲大陆地区算是比较包容的一类,当然缺点就是每年有小半年漫长的冬季,全看个人取舍!!
84
331
14
3,273
292,970
karinalfc retweeted
MIT 6.004 "Computation Structures"(计算结构) ocw.mit.edu/courses/6-004-co… 这是一门经典的计算机科学与电子工程核心本科课程 该课程由 Chris Terman 教授主讲,自下而上地展现了计算机系统是如何从最基本的物理材料(晶体管)一步步构建到复杂的现代多核计算机系统 帮助理解一段程序代码如何变成本地指令、如何进入 Cache、CPU 的流水线如何流动、晶体管如何开关的流程和细节 21章课程划分为四大板块: 1、硬件的基石:从物理到逻辑(第 1 - 6 章) 信息基础与数字抽象,CMOS 与组合逻辑,时序逻辑与有限状态机 2、软硬件接口:指令集与架构设计(第 7 - 12 章) 性能衡量与设计权衡,指令集设计与汇编,编译器与堆栈 3、处理器设计:构建 Beta 计算机(第 13 - 16 章) 构建 Beta 处理器 ,流水线设计,存储阵列与缓存 4、现代操作系统与并行处理(第 17 - 21 章) 虚拟内存,异常、中断与设备,并发、同步与并行 有幻灯片有视频有习题,可收藏
CS 3410:Computer System Organization and Programming 这是康奈尔大学(Cornell University)一门核心计算机科学课程 主要介绍计算机组织结构、系统级编程以及硬件与软件之间的接口 课程核心内容: * 系统级 C 语言编程:指针、内存分配(Stack/Heap)、位运算、数据结构、编译与链接 * RISC-V 汇编语言:指令集架构(ISA)、控制流、函数调用规范(Calling Conventions)、寄存器管理 * 微处理器与硬件架构:逻辑门与组合/时序逻辑、CPU 设计、流水线(Pipelining)、缓存(Caches)与虚拟内存 * 操作系统与底层交互:进程(Processes)、系统调用(System Calls)、中断(Interrupts)、线程与同步(Threads & Synchronization) * 并行计算:多核架构、原子操作、并发编程与性能优化 CS 3410 作业主要包括使用 C 语言和 RISC-V 汇编语言编写并测试程序 你需要使用课程提供的基础设施来编译并运行这些程序 cs.cornell.edu/courses/cs341… 可结合《计算机组成与体系结构 性能设计 第11版》 《计算机体系结构 量化研究方法 第6版》一同学习
2
58
426
13,881
If you’re new to CUDA, don’t jump straight into writing kernels. Spend some time understanding how GPUs actually work. Threads, warps, SMs, memory, parallelism. That knowledge makes a huge difference when you’re trying to squeeze real performance out of CUDA. This playlist is a goldmine for it : youtube.com/playlist?list=PL…
1
33
248
16,429
karinalfc retweeted
Supercomputing for AI — Foundations, Architectures, and Scaling Deep Learning. [804-page masterpiece] Get it: amzn.to/4qS4pFz Git it: github.com/jorditorresBCN/su…
18
72
5,414
karinalfc retweeted
对半导体芯片产业和半导体物理学感兴趣的 愿意深入学习研究的朋友,可学习参考 《The Physics of Semiconductors: An Introduction Including Nanophysics and Applications》Fourth Edition 中文版国内已有售 《半导体物理学》一书源于一门备受好评的为期两个学期的相关课程,因此读者几乎无需具备任何固态物理学的预备知识,适合研究生和高年级本科生学习 书中包含2100多条参考文献,引导读者查阅历史文献和最新文献,包括原创论文、综述文章和专题专著,同时也为经验丰富的研究人员提供了重要的参考资料。可以作为半导体科研人员的参考 之前提及的《半导体物理学》一书也可一并学习参考 时代不同了,一定要玩硬的,软硬结合,才有出路
对半导体芯片处理器感兴趣的朋友 可围绕 Open Source EDA 展开学习、实验、仿真 虽然开源 EDA 和 EDA 三巨头的商业产品还存在较大差距 但开源 EDA 给了我们一个学习和实验的绝佳途径与平台 这些开源EDA解决方案配合模拟仿真软件和形式化验证,形成统一开源方案,正在把不同的工具结合一个集成化设计环境(IDE) 背景知识: 原子物理学、半导体物理学、RISC-V、量子力学、量子计算 量子理论应用:量子化学、量子光学、量子计算、超导磁体 发光二极管、激光器、晶体管和半导体如微处理器等 需多关注 HDL,RTL(寄存器传输级) C++/SystemC,VHDL,GHDL,Verilog,SystemVerilog,Clash,Chisel/FIRRTL IEEE 1076 VHDL IEEE 1666 SystemC IEEE 1800 SystemVerilog IEEE 1850 Property Specification Language (PSL) KiCad 就是这样的开源 EDA IDE 附图是我在 Mini M4 上运行 KiCad 10.0.1 的效果 这是 Antmicro Jetson AGX Thor 底板 为 [NVIDIA Jetson AGX Thor (T5000)] 系统模块设计的底板的开源硬件设计文件,包括的开源组件也发布至 GitHub github.com/antmicro 类似这样结合开源软硬件设计、实验、仿真的学习实践思路大家可参考
2
99
3
618
58,047
karinalfc retweeted
#鉴片 强推这部5集纪录片,用真人演员混杂政治明人访谈的方式帮我们复习了一遍美国历史,其中有好多细节我以前都不知道。比如当年北美原住民是支持英国政府的,而英国战败后曾经花了不少力气救助了一些黑人和印第安人,因为独立战争获胜的一方其实是一群歧视少数民族的白人流氓。
3
13
1
97
4,946
karinalfc retweeted
适合物理爱好者的10本通俗物理学书籍 1. 《物理定律的本性》 理查德·P·费曼 2. 《量子世界:写给所有人的量子物理》 肯尼斯·W·福特 3. 《通向实在之路:宇宙法则的完全指南》 罗杰·彭罗斯 4. 《寻找薛定谔的猫:量子物理和真实性》 约翰·格里宾 5. 《上帝难以捉摸:阿尔伯特·爱因斯坦的科学与生平》 亚伯拉罕·派斯 6. 《宇宙简史》 斯蒂芬·霍金 7. 《QED:光与物质的奇异性》 理查德·P·费曼 8. 《弯曲的旅行︰揭开隐藏的宇宙纬度之谜》 丽莎·兰道尔 9. 《宇宙的琴弦:超弦、隐藏维度与终极理论探索》 布赖恩·格林 10. 《通向量子引力的三条途径》 李·斯莫林
10 Books in 'Popular Physics' category that you can read as a beginner ✍️ 1. The Character of Physical Law by Richard P. Feynman 2. The Quantum World: Quantum Physics for Everyone by Kenneth W. Ford 3. The Road to Reality: A Complete Guide to the Laws of the Universe by Roger Penrose 4. In Search of Schrödinger's Cat: Quantum Physics and Reality by John Gribbin 5. Subtle is the Lord: The Science and the Life of Albert Einstein by Abraham Pais 6. The Universe in a Nutshell by Stephen Hawking 7. QED: The Strange Theory of Light and Matter by Richard P. Feynman 8. Warped Passages: Unraveling the Mysteries of the Universe's Hidden Dimensions by Lisa Randall 9. The Elegant Universe: Superstrings, Hidden Dimensions, and the Quest for the Ultimate Theory by Brian Greene 10. Three Roads to Quantum Gravity by Lee Smolin
26
14
31
5,949
karinalfc retweeted
What I love about this is we’re really only scratching the surface of what’s possible. I would not be surprised in the slightest if SSD TBW ratings 10x soon. Combine smart pulse control + dynamic voltages per block + clever software page organization and you’re going to get close. I haven’t seen anyone combine all the techniques yet! Here’s the REO paper: mdpi.com/2079-9292/14/4/738
3
6
1
205
10,451
karinalfc retweeted
Sandisk BiCS10 332 層 1Tb TLC 開始送樣 位元密度提升 59% Sandisk Corporation 宣布,第 10 代 BiCS FLASH 3D NAND 快閃記憶體技術 BiCS10 1Tb TLC 已正式進入工程樣品送樣階段。該產品採用 332 層堆疊架構,結合先進橫向縮放與優化平面布局,位元密度較第 8 代(BiCS8)大幅提升 59%,達到業界領先的超過 29Gb/mm²。 BiCS10 延續 CBA(CMOS 直接鍵合至陣列)技術,並新增 Toggle DDR6.0、SCA 協議及 PI-LTT 技術,NAND 介面速度最高達 4.8Gb/s,較前一代提升 33%。在功耗表現上,輸入功耗降低 10%、輸出功耗降低 34%,讀取與寫入能效也同步優化,特別適合 AI 時代資料中心與企業級 SSD 對高容量、低功耗、高效能的需求。 Sandisk 首席技術長 Alper Ilkbahar 表示,BiCS10 在 BiCS8 成熟基礎上進一步突破,將為下一代資料密集型與 AI 工作負載提供更強大的儲存解決方案。該產品將由Kioxia日本岩手北上 Fab2 工廠生產,預計未來逐步量產。 sandisk.com/en-ca/company/ne…
7
5
62
8,326
karinalfc retweeted
如何判断一个领导值不值得跟随?
268
116
939
376,088
Learn GPU Programming from these universities for free Stanford CS149 – Parallel Computing gfxcourses.stanford.edu/cs14… Carnegie Mellon 15-418/15-618 – Parallel Computer Architecture & Programming cs.cmu.edu/~418/ California Institute of Technology CS179 – GPU Programming courses.cms.caltech.edu/cs17… University of Illinois ECE 408 – Applied Parallel Programming (CUDA) courses.grainger.illinois.ed… University of Pennsylvania CIS 5650 – GPU Programming & Architecture seas.upenn.edu/~cis5650/ NVIDIA CUDA Education & Training developer.nvidia.com/educati….
6
95
632
27,307
karinalfc retweeted
Stanford dropped their latest course on Parallel Programming, GPU, and CUDA. 24 hours, 19 lessons. this is one of the hottest skills that AI labs are looking for. it covers: > GPU architecture and CUDA > performance optimization > multi-core processors and architectures watch here: youtube.com/playlist?list=PL…
8
143
4
1,347
110,807
karinalfc retweeted
I recently started reading about memory management in OS. Found some interesting things Early Unix "malloc()" relied on "sbrk()" to grow one contiguous heap. It was simple, but large allocations could fragment the heap, memory couldn't be easily returned to the OS, and the heap only grew in one direction. Doug Lea's "dlmalloc" changed the game. Instead of blindly extending the heap, it aggressively reused freed chunks with size-segregated bins, coalesced adjacent blocks to reduce fragmentation, and only resorted to "sbrk()"/"mmap()" when existing heap space wasn't sufficient. This hybrid design became the blueprint for modern allocators like "ptmalloc", "jemalloc", and "tcmalloc" gee.cs.oswego.edu/dl/html/ma…
4
5
2
62
6,577
Use Pandas to combine a bunch of CSV files, drop dupes, the export to the clipboard! 🐼🤯
11
56
1
531
karinalfc retweeted
简单纠正驼背的动作 拉一把椅子,躺在地板上。一条腿抬高90度放在椅子上,另一条腿伸直、脚尖朝上。 双手掌心向上放在身体两侧。深呼吸,肚子放松,保持这个姿势每侧10分钟。
6
97
395
43,355