diff --git a/js/random-quote.js b/js/random-quote.js index 76897a2..9cb5ef7 100644 --- a/js/random-quote.js +++ b/js/random-quote.js @@ -37,6 +37,7 @@ var data = [ "It's confidential", "你说得对,但是《长安汽车》是由艺画开天自主研发的一款全新开放世界冒险游戏。", "Emacs has Evil, but Vim doesn't have Magit", + "免费服务的代价就是你自己", ]; var index = Math.floor((Math.random() * data.length)); diff --git a/org/cheatsheet.org b/org/cheatsheet.org index de9384e..75876f2 100644 --- a/org/cheatsheet.org +++ b/org/cheatsheet.org @@ -31,18 +31,13 @@ | g */# | 正/反查找光标下的词 | | g d/D | 跳转到本地/全局定义 | -** visual -| key | usage | next | -|-----+--------------+------------------------| -| C-v | 矩形区域选择 | S-i 插入, esc 批量执行 | - ** file/split | key | usage | |-------------+--------------| | :n/:N | 文件之间切换 | | :b | 切换到文件 | | C-w h/j/k/l | 切换分屏窗口 | -| ZZ | :wq | +| :%!xxd (-r) | edit in hex | * EMACS :PROPERTIES: diff --git a/org/emacs29_2023.org b/org/emacs29_2023.org index 2477eaf..d175727 100644 --- a/org/emacs29_2023.org +++ b/org/emacs29_2023.org @@ -4,6 +4,9 @@ 2023 了, 元旦假期, 想体验一下新版本的 emacs, 我已经眼馋好久了 发行版还没提供? 自己编译, 而且自己编译可以自定义一些选项, 比如 pgtk +完整的新特性去看 =etc/NEWS= (btw, =emacs-news-mode= 也是新加的) + +* build emacs (with musl?) #+BEGIN_SRC sh ./configure CFLAGS="-march=native -O3 -pipe -finline-functions -floop-nest-optimize -ftree-loop-distribution" \ --with-x=no \ @@ -12,10 +15,42 @@ --with-native-compilation \ --with-json \ --with-sqlite3 \ - --with-tree-sitter + --with-tree-sitter \ + --with-webp \ + --with-gif #+END_SRC -完整的去看 =etc/NEWS= (btw, =emacs-news-mode= 也是新加的) +现在 =dump-emacs-portable= 没法弄, 见: [[https://emacs-china.org/t/emacs-29-with-native-comp-dump/22762][emacs china: emacs 29 with native-comp 无法 dump]] + +@@html:
@@ +@@html:but what about musl? (CC=musl-gcc)@@ +#+BEGIN_SRC text +checking whether GTK compiles... no +configure: error: Gtk+ wanted, but it does not compile, see config.log. +#+END_SRC + +#+BEGIN_SRC text + hello, I tried to build emacs with musl-gcc, but it says: + error: Gtk+ wanted, but it does not compile + it can build using normal gcc + and it can build on voidlinux + dalias: <3 + o_O + dongdigua: you'd have to share some logs in full for us to help at all + but you'd be better off asking your Linux distribution + it is mostly `ld: error: unable to find library` + sam_: so i think it is probably something about the wrapper script + musl-gcc (does not? should not?) pick up on host libraries because they + were built against glibc and not musl + so musl-gcc will not pick up on those + or at least they will just not work and will break configure + heat: so I should use those libraries that is built on musl? + like voidlinux I mentioned above + yes + ok +ERC> +#+END_SRC +@@html:
@@ * 我 有切身体会/还没体验但是认为很不错 的新特性 ** [[https://emacs-china.org/t/emacs/19806]["真" 背景透明]] @@ -25,6 +60,8 @@ ** [[https://www.emacswiki.org/emacs/SmoothScrolling][平滑滚动]] 搜索 emacs29 蹦出来的 +** elisp-byte-compile-file + ** emoji 😀 ** package-vc-install @@ -43,6 +80,4 @@ * 29.1 - =use-package= -- =*-ts-mode= - - +- more =*-ts-mode= diff --git a/org/internet_collections.org b/org/internet_collections.org index 43963d7..8ad1760 100644 --- a/org/internet_collections.org +++ b/org/internet_collections.org @@ -245,7 +245,7 @@ EvanMeek / B站: 美味的樱桃菌 *** [[https://hackflow.org][GNUman]] **** [[https://hackflow.org/index.php/archives/124][谈 HTTPS 协议的缺陷与反 HTTPS 联盟的谬误]] *** [[https://sh.alynx.one/][Alynx Zhou]] -口琴 +口琴, author of =showmethekey= **** [[https://sh.alynx.one/posts/Linux-Mooncake-Jokes/][Linux 用户的月饼食用手册]] :fun: **** [[https://sh.alynx.one/posts/Do-Not-Fill-My-Email-with-Silly-Ads/][不要拿愚蠢的广告来污染我的邮箱]] **** [[https://sh.alynx.one/posts/Emacs-Monaco-Box-drawing-Character/][Emacs 和 Monaco 字体和 Box-drawing Character]] @@ -316,6 +316,9 @@ how do I use that thing??? 0:36 working so [[http://flatassembler.net][fasm]] is really FAST, and [[http://kolibrios.org/en/][KolibriOS]] also use it! but fasm don't support debug information (dwarf2) +**** [[https://youtu.be/WEk_grxrCcg][First Ancient Neural Network in C]] +intro: he talked about Russian gov and where to flee +inspiration: Veritasium *** [[https://youtu.be/0rJ94rbdteE][Rust 让你感觉像个天才]] *** [[https://youtu.be/nfF91Z6fqGk][CMD 登录B站]] *** [[https://youtu.be/jlPaby7suOc][Every Clojure Talk Ever]] @@ -339,6 +342,7 @@ but fasm don't support debug information (dwarf2) **** [[http://bit.ly/C_AtomicBrain][Atomic Brain?]] *** [[https://youtu.be/XiFkyR35v2Y][Slow Loris Attack]] *** [[https://youtu.be/kzdugwr4Fgk][The Kindle Text Problem]] +*** [[https://youtu.be/gYng1yypNCA][DEC PDP-11 & Zork]] ** Cyber Security *** LiveOverflow @@ -353,6 +357,8 @@ but fasm don't support debug information (dwarf2) "Security is a journey, not a destination!" *** [[https://youtu.be/S4E4yAktjug?t=998][How To Become Invisible Online # level 3]] *** [[https://youtu.be/I4_ide0tEG8][JH: zip files & hack... (CVE-2022-1271 zgrep/gzip)]] +*** [[https://youtu.be/dT9y-KQbqi4][How I hacked a hardware crypto wallet and recovered $2 million]] +even caught by police when he was a child ** Math *** [[https://youtu.be/KufsL2VgELo][Group Theory]] diff --git a/org/wayland.org b/org/wayland.org index f02aefd..4e9c710 100644 --- a/org/wayland.org +++ b/org/wayland.org @@ -48,6 +48,8 @@ use libinput-gestures ** emacs tool-bar not working(cannot toggle and icon theme missing) *** cannot toggle: disable custon =default-frame-alist=, or just use floating mode *** icon theme missing: pgtk +and I can also have translarency, +it looked unreal after several months of solid background ** [[https://www.reddit.com/r/swaywm/comments/scz5k6/option_create_on_workspace_prev_on_outputnext_on/][Option --create on workspace prev_on_output|next_on_output?]] this feature is not compatible with i3, so sway didn't accept the pr *** [[https://www.reddit.com/r/swaywm/comments/mmfwnu/sway_command_workspace_next/][shell script solution]] diff --git a/posts.md b/posts.md index e7b0676..0ceec55 100644 --- a/posts.md +++ b/posts.md @@ -1,5 +1,6 @@ ## Table of Contents ### Posts (sorted by time) +- [2023 了, 试试 emacs 29](emacs29_2023)
- [Fix TTY after Fedora 37 Upgrade](fix_tty)
- [狗日的腾讯会议](damn_tencent_meeting)
上网课有感而发