From 0c13d6bf8b7edcd6e6c1acf9c9c028fd250fc232 Mon Sep 17 00:00:00 2001 From: dongdigua Date: Fri, 4 Nov 2022 18:46:19 +0800 Subject: [PATCH] update clear and collection --- cheatsheet.html | 4 +- clear_kernel_compile_fix.html | 17 +- internet_collections.html | 341 ++++++++++++++++--------------- org/clear_kernel_compile_fix.org | 13 +- org/internet_collections.org | 42 ++-- 5 files changed, 212 insertions(+), 205 deletions(-) diff --git a/cheatsheet.html b/cheatsheet.html index ca69648..720357b 100644 --- a/cheatsheet.html +++ b/cheatsheet.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Editor Cheatsheet @@ -681,7 +681,7 @@ git log --color --graph --decorate -M --pretty=oneline --abbrev-commit -M

Date: 2022-06-13 一 00:00

Author: dongdigua

-

Created: 2022-10-30 日 16:08

+

Created: 2022-11-04 五 18:45

diff --git a/clear_kernel_compile_fix.html b/clear_kernel_compile_fix.html index 484c08c..6dbce7d 100644 --- a/clear_kernel_compile_fix.html +++ b/clear_kernel_compile_fix.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Clear Kernel Build Error? Fix It @@ -204,7 +204,7 @@

Clear Kernel Build Error? Fix It

-when I compile clear kernel with LLVM enabled, I got this error:
+when I compile clear kernel with LLVM enabled, I got this error:

arch/x86/kernel/cpu/intel_epb.c:172:2: error: call to undeclared function 'sched_set_itmt_power_ratio';
@@ -220,12 +220,13 @@ static inline void sched_set_itmt_core_prio(int prio, int core_cpu)
 

-it's obvious that the sched_set_itmt_power_ratio function is undeclared
-so I added the following and it is able to compile :)
+it's obvious that the sched_set_itmt_power_ratio function is undeclared
+so I added the following like the function on top of it
+and it is able to compile :)

-
--- /home/gentoo/linux/topology.h       2022-11-04 16:40:18.500113117 +0800
-+++ arch/x86/include/asm/topology.h     2022-11-04 16:41:03.676782505 +0800
+
--- /home/gentoo/linux/topology.h
++++ arch/x86/include/asm/topology.h
 @@ -189,6 +189,9 @@
  static inline void sched_set_itmt_core_prio(int prio, int core_cpu)
  {
@@ -240,13 +241,13 @@ so I added the following and it is able to compile :)

-End.
+Notice: I'm ignorant about C programming, so if anything's wrong, please contact me

Date: 2022-11-04 五 00:00

Author: dongdigua

-

Created: 2022-11-04 五 16:51

+

Created: 2022-11-04 五 19:21

diff --git a/internet_collections.html b/internet_collections.html index e34277e..c8a2ea8 100644 --- a/internet_collections.html +++ b/internet_collections.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Internet Collections @@ -245,32 +245,35 @@

1.4. 王垠

-

1.5. 阮一峰   rssub

+

1.5. Zed A. Shaw

-

1.6. 黑客技术   hack

-
+

1.6. 阮一峰   rssub

+
+
+

1.7. 黑客技术   hack

+

really good website, butt, no rss

-

1.7. 易姐

+

1.8. 易姐

-

1.8. floooh(The Brain Dump)   c

-
+

1.9. floooh(The Brain Dump)   c

+

07 年开始, cpu emulator

-

1.8.2. Modern C for C++ Peeps

-
+

1.9.2. Modern C for C++ Peeps

+

Modern C is not a subset of C++
@@ -280,49 +283,49 @@ Modern C is not a subset of C++

-

1.9. King's way   hack iot

+

1.10. King's way   hack iot

-

1.10. 小耸   c

-
-
- -
-

1.10.2. 打蚊子与找bug

-
-
-
-

1.11. 这可太刑了

+

1.11. 小耸   c

+
+ +
+

1.11.2. 打蚊子与找bug

+
+
+
+

1.12. 这可太刑了

+

学习通事件相关

-

1.12. 写着写着就懂了   elixir

-
+

1.13. 写着写着就懂了   elixir

+

elixir/erlang大佬, 公众号: HelloElixir

-

1.13. lujun9972   emacs rssub

-
+

1.14. lujun9972   emacs rssub

+

超~~~多emacs

-

1.13.1. emacs document

+

1.14.1. emacs document

-

1.14. 文辉的烂笔头   lowlevel

-
+

1.15. 文辉的烂笔头   lowlevel

+

CPU, IC, ARM

@@ -334,11 +337,11 @@ CPU, IC, ARM
-

1.14.2. 解决Org-Mode表格不对齐问题

-
+

1.15.2. 解决Org-Mode表格不对齐问题

+

更纱黑体 使中文恰好为英文宽度两倍, 使用字体比 valign 更通用, 但是不好看

@@ -346,73 +349,73 @@ CPU, IC, ARM
-

1.15. scinart   lisp

-
+

1.16. scinart   lisp

+

13年最后更新

-

1.16. bozhang   rssable

-
+

1.17. bozhang   rssable

+

05 年开始, 天文学

-

1.18. IceGuye

+

1.19. IceGuye

-

1.19. Ground Oddity

-
-

1.21. 第 N 个质数   c algorithm

-
+

1.22. 第 N 个质数   c algorithm

+

看不懂, 先收藏着

-

1.22. 阳光少年(coder.rs)   rust python

+

1.23. 阳光少年(coder.rs)   rust python

-

1.23. mrxn   hack

-
+

1.24. mrxn   hack

+

网安, data-leak

-

1.24. include-yy   c lisp emacs

-
+

1.25. include-yy   c lisp emacs

+

许多东方的图诶

-

1.24.2. 由(λ(x)(x x))看elisp与scheme之区别

-
+

1.25.2. 由(λ(x)(x x))看elisp与scheme之区别

+

这个问题其实就是 Lisp-1 和 Lisp-2 的区别导致的
@@ -426,24 +429,32 @@ Lisp-1 的变量命名空间和函数命名空间是统一的,而在 Lisp-2

-

1.25. 行侠何须仗名剑   lisp

-
+

1.26. Nihil   rust

+
-

1.25.1. 推导 Y Combinator

- + + -

1.27. Alynx Zhou   linux rssable

+
+

+东西很多
+

+

1.28. Core Dumped   rust lowlevel emacs

@@ -628,7 +639,7 @@ cat-v-like sidebar style

-

1.43. Dennis Felsing   nim

+

1.43. Nyxt: Why should I care about Gopher?   gopher

-
-
-

1.43.1. howistart: Nim

-
-

-brainf**k
-

-
-
- -
-
-

1.44. Nyxt: Why should I care about Gopher?   gopher

-

By making something a little bit more inaccessible, we are inadvertently putting a filter on what is being posted.
@@ -684,8 +682,8 @@ Don't get me wrong, there's nonsense on Gopher too, but far less of it.

-

1.44.1. 社区本地人与永恒的九月(Eternal September)

-
+

1.43.1. 社区本地人与永恒的九月(Eternal September)

+

几乎所有大众互联网社区都难逃此宿命。要想避免永恒九月,社区必须要足够克制,有节奏地引导新人加入。
@@ -702,8 +700,8 @@ Don't get me wrong, there's nonsense on Gopher too, but far less of it.

-

1.45. Peter 's Homepage   rssub

-
+

1.44. Peter 's Homepage   rssub

+

GE d@ s: a C++$ UBL+++$ P++(–)$ L++(-)$ !E W+++(-)$ !N !o K–? w !O !M !V PS++ PE- Y+ PGP+ t+ 5+++ X+ R tv b+ DI D+ G e++ h r+++ y+++*
@@ -711,78 +709,77 @@ GE d@ s: a C++$ UBL+++$ P++(–)$ L++(-)$ !E W+++(-)$ !N !o K–? w !O

-

1.45.1. Gopher? Gopher.

+

1.44.1. Gopher? Gopher.

-

1.47. phenix3443   c emacs

-
+

1.46. phenix3443   c emacs

+

刘尚亮

-

1.48. julienblanchard/typed-hole   plan9

+

1.47. julienblanchard/typed-hole   plan9

+
+
+
+

1.47.1. pmikkelsen

+
+
+ -
-

1.50. 金步国作品集   lowlevel linux

-

kernel, LFS

-
-

1.52. B

-
+

1.51. B

+
-

1.52.1. yanemame

-
+

1.51.1. yanemame

+

猴哥推荐的

-

1.52.2. 我不会编程

-
+

1.51.2. 我不会编程

+

EvanMeek
B站: 美味的樱桃菌
@@ -790,22 +787,22 @@ B站: 美味的樱桃菌

-

1.52.3. CC   linux

-
+

1.51.3. CC   linux

+

B站: 称呼我C先生

-

1.52.4. lunaixsky   c lowlevel

+

1.51.4. lunaixsky   c lowlevel

-

1.52.5. EndlessPeak   linux

+

1.51.5. EndlessPeak   linux

-

1.52.6. GNUman

-
+

1.51.6. GNUman

+
  1. 谈 HTTPS 协议的缺陷与反 HTTPS 联盟的谬误
  2. @@ -813,56 +810,73 @@ B站: 称呼我C先生
-

1.53. ZhiHu

-
+

1.52. ZhiHu

+
-

1.53.2. 倔强的程序员

-
+

1.52.2. 倔强的程序员

+

编! 译! 原! 理!

-

1.53.3. 知乎专栏: 技术考古   plan9

-
+

1.52.3. 专栏: 技术考古   plan9

+

plan9

-

1.53.4. 知乎专栏: 嘶吼RoarTalk   hack

-
+

1.52.4. 专栏: 嘶吼RoarTalk   hack

+

回归最本质的信息安全

+
+

1.52.6. 如何解读EVA

+
+
+

+人需不需要存在的意义
+人需不需要互相之间完全理解
+自我封闭是否是应对外界压力的合理方式
+

+
+
-

1.54. shenjack/HWS/fri3nds

-
+

1.53. shenjack/HWS/fri3nds

+
-

1.54.1. 老网虫

+

1.53.1. 老网虫

-

1.54.2. yang-qwq

+

1.53.2. yang-qwq

-

1.54.3. zhanganzhi

+

1.53.3. zhanganzhi

-

1.54.4. 芒果快评

-
+

1.53.4. 芒果快评

+

今年的新博客, 友链有踏浪

@@ -1170,23 +1184,11 @@ foreign or domestic, requires you to follow Snowden's example.
-

4.7. 如何解读EVA

-
-
-

-人需不需要存在的意义
-人需不需要互相之间完全理解
-自我封闭是否是应对外界压力的合理方式
-

-
-
+

4.7. The Window Manager Report

-
-

4.9. oxygenos

-
+

4.8. oxygenos

+

his final year project in high school, 2008
a webos using oxygen visual design
@@ -1194,50 +1196,55 @@ a webos using oxygen visual design

Date: 2022-06-05 日 00:00

Author: dongdigua

-

Created: 2022-11-04 五 17:54

+

Created: 2022-11-04 五 19:21

diff --git a/org/clear_kernel_compile_fix.org b/org/clear_kernel_compile_fix.org index e338b93..1e30c46 100644 --- a/org/clear_kernel_compile_fix.org +++ b/org/clear_kernel_compile_fix.org @@ -2,7 +2,7 @@ #+DATE: <2022-11-04 五> #+DESCRIPTION: arch/x86/kernel/cpu/intel_epb.c:171:2: error: call to undeclared function 'sched _set_itmt_power_ratio' -when I compile clear kernel with LLVM enabled, I got this error: +when I compile [[https://github.com/clearlinux-pkgs/linux][clear]] kernel with LLVM enabled, I got this error: #+BEGIN_SRC text arch/x86/kernel/cpu/intel_epb.c:172:2: error: call to undeclared function 'sched_set_itmt_power_ratio'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] @@ -15,11 +15,12 @@ when I compile clear kernel with LLVM enabled, I got this error: 1 error generated. #+END_SRC -it's obvious that the =sched_set_itmt_power_ratio= function is undeclared -so I added the following and it is able to compile :) +it's obvious that the [[https://github.com/clearlinux-pkgs/linux/blob/main/0128-itmt_epb-use-epb-to-scale-itmt.patch][sched_set_itmt_power_ratio]] function is undeclared +so I added the following like the function on top of it +and it is able to compile :) #+BEGIN_SRC diff ---- /home/gentoo/linux/topology.h 2022-11-04 16:40:18.500113117 +0800 -+++ arch/x86/include/asm/topology.h 2022-11-04 16:41:03.676782505 +0800 +--- /home/gentoo/linux/topology.h ++++ arch/x86/include/asm/topology.h @@ -189,6 +189,9 @@ static inline void sched_set_itmt_core_prio(int prio, int core_cpu) { @@ -32,4 +33,4 @@ so I added the following and it is able to compile :) return 0; #+END_SRC -End. +Notice: I'm ignorant about C programming, so if anything's wrong, please contact me diff --git a/org/internet_collections.org b/org/internet_collections.org index 9b3b993..d6931ae 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -20,6 +20,7 @@ #+ATTR_HTML: :width 256px [[http://xahlee.info/emacs/misc/i/Marisa_Kirisame_emacs_magic.png]] ** [[http://www.yinwang.org/][王垠]] +** [[https://zedshaw.com][Zed A. Shaw]] ** [[http://ruanyifeng.com/blog/][阮一峰]] :rssub: ** [[http://www.hackdig.com/][黑客技术]] :hack: really good website, butt, no rss @@ -75,12 +76,14 @@ CPU, IC, ARM Lisp-1 的变量命名空间和函数命名空间是统一的,而在 Lisp-2 中两者是分开的 #+END_QUOTE **** [[http://xahlee.info/emacs/emacs/lisp1_vs_lisp2.html][Xah Lee Lisp-1 vs Lisp-2]] -** [[https://cps.ninja][行侠何须仗名剑]] :lisp: -*** [[https://cps.ninja/2020/04/13/deriving-y-combinator/][推导 Y Combinator]] -**** [[https://nihil.cc/posts/rust_closure_and_y/][Nihil: Rust 闭包递归与 Y 组合子]] :rust: +** [[https://nihil.cc][Nihil]] :rust: +*** [[https://nihil.cc/posts/rust_closure_and_y/][Rust 闭包递归与 Y 组合子]] +**** [[https://cps.ninja/2020/04/13/deriving-y-combinator/][行侠何须仗名剑: 推导 Y Combinator]] **** [[https://www.functor.me/post/programming/y-combinator][functor.me: 从零开始理解 Y 组合子]] -** [[https://stevenbai.top/ethereum/以太坊evm笔记/][以太坊evm笔记]] +*** [[https://nihil.cc/posts/gnu_c_ext/][GNU C 一些有趣的扩展语法]] +*** [[https://nihil.cc/posts/shell-redirect/][特别全面! Shell 中的管道、重定向、进程替换]] ** [[https://sh.alynx.one/][Alynx Zhou]] :linux:rssable: +东西很多 ** [[https://coredumped.dev/][Core Dumped]] :rust:lowlevel:emacs: VM ** [[https://liujiacai.net/][keep coding]] :rust:c:lowlevel:backend: @@ -133,19 +136,13 @@ Welcome to the darkest dungeon of kernal Written with Vim and Emacs A member of Linux Club of Peking University. cat-v-like sidebar style -*** [[https://vimacs.wehack.space/matrix-guide/][Matrix聊天快速指南]] -#+BEGIN_COMMENT -矩阵一入深似海, 从此电幕(from:《一九八四》)是路人. -#+END_COMMENT +*** [[https://vimacs.wehack.space/matrix-guide/][矩阵一入深似海, 从此电幕是路人]] **** [[https://citizenlab.ca/2016/11/wechat-china-censorship-one-app-two-systems/][微信一app两制]] *** [[https://vimacs.wehack.space/Mail-vs-IM.htm][谈电子邮件和即时通讯]] ** [[http://www.matrix67.com/blog/][Matrix67]] :math: The Aha Moments *** [[http://www.matrix67.com/blog/archives/6039][用三段 140 字符以内的代码生成一张 1024×1024 的图片]] -** [[https://hookrace.net][Dennis Felsing]] :nim: -*** [[https://www.howistart.org/posts/nim/1/][howistart: Nim]] -brainf**k -*** [[https://hookrace.net/blog/writing-an-async-logger-in-nim/][Writing an Async Logger in Nim]] +*** [[http://localhost-8080.com/][http://localhost-8080.com]] ** [[https://nyxt.atlas.engineer/article/gopher.org][Nyxt: Why should I care about Gopher?]] :gopher: #+BEGIN_QUOTE By making something a little bit more inaccessible, we are inadvertently putting a filter on what is being posted. @@ -183,7 +180,6 @@ GE d@ s: a C++$ UBL+++$ P++(--)$ L++(-)$ !E W+++(-)$ !N !o K--? w !O !M !V PS++ *** [[https://konfou.xyz/posts/urbit-an-alien-system-software/][Urbit, an alien system software]] ** [[http://www.jinbuguo.com][金步国作品集]] :lowlevel:linux: kernel, LFS - ** [[https://blog.pg999w.top/too-many-channels/][Too many channels in Rust but only one in Go]] :rust: ** B *** [[https://blog.yangmame.org/][yanemame]] @@ -201,11 +197,18 @@ B站: 称呼我C先生 *** [[https://zhuanlan.zhihu.com/p/138719668][用Go语言汇编计算fibonacci数列]] :lowlevel: *** [[https://www.zhihu.com/column/c_1313110231912726528][倔强的程序员]] 编! 译! 原! 理! -*** [[https://www.zhihu.com/column/c_185117725][知乎专栏: 技术考古]] :plan9: +*** [[https://www.zhihu.com/column/c_185117725][专栏: 技术考古]] :plan9: plan9 -*** [[https://www.zhihu.com/column/roartalk][知乎专栏: 嘶吼RoarTalk]] :hack: +*** [[https://www.zhihu.com/column/roartalk][专栏: 嘶吼RoarTalk]] :hack: 回归最本质的信息安全 -*** [[https://zhuanlan.zhihu.com/p/464565089][我抵制Notepad++的理由]] +*** [[https://www.zhihu.com/column/c_1323386534369341440][专栏: 高质量]] +**** [[https://zhuanlan.zhihu.com/p/464565089][我抵制Notepad++的理由]] +*** [[https://www.zhihu.com/question/20566787][如何解读EVA]] +#+BEGIN_QUOTE +人需不需要存在的意义 +人需不需要互相之间完全理解 +自我封闭是否是应对外界压力的合理方式 +#+END_QUOTE ** shenjack/HWS/fri3nds *** [[http://www.z.org.cn/][老网虫]] *** [[https://blog.yang-qwq.ml][yang-qwq]] @@ -320,12 +323,6 @@ To any NSA and FBI agents reading my email: please consider whether defending the US Constitution against all enemies, foreign or domestic, requires you to follow Snowden's example. #+END_QUOTE -** [[https://www.zhihu.com/question/20566787][如何解读EVA]] -#+BEGIN_QUOTE -人需不需要存在的意义 -人需不需要互相之间完全理解 -自我封闭是否是应对外界压力的合理方式 -#+END_QUOTE ** [[https://www.gilesorr.com/wm/][The Window Manager Report]] ** [[https://ghinda.net/oxygenos/][oxygenos]] his final year project in high school, 2008 @@ -338,6 +335,7 @@ worth reading ** [[https://akrl.sdf.org/gccemacs.html][gccemacs]] *** [[https://akrl.sdf.org/gccemacs_els2020.pdf][slides_els2020]] ** [[https://tildeverse.org]] +*** [[https://quotes.tilde.chat]] ** [[http://decss.zoy.org][42 ways to distribute DeCSS]] *** [[http://www.cs.cmu.edu/~dst/DeCSS/Kesden/index.html][Lecture 33: Content Scrambling System]] ** [[https://custodians.online/chinese.html][声援 Library Genesis 和 Sci-Hub]]