Skip to content

Instantly share code, notes, and snippets.

View VitalyAnkh's full-sized avatar
🏠
Reading stacks project

VitalyR VitalyAnkh

🏠
Reading stacks project
View GitHub Profile
@VitalyAnkh
VitalyAnkh / gist:c53c66074467eb5a0c79ceea30fcccaf
Created July 4, 2023 09:08
org-latex-preview-auto-mode error
Debugger entered--Lisp error: (error "Invalid format character: ‘%S’")
error("Invalid format character: `%%%c'" 83)
format-spec("dvisvgm %f -n -b min -c %S -o %O" ((111 . "/tmp/") (98 . "org-tex-rhdmBR") (66 . "/tmp/org-tex-rhdmBR") (68 . "774.8999999999999") (102 . "/tmp/org-tex-rhdmBR.xdv")))
org-latex-preview--image-extract-async((:latex-processor "xelatex" :latex-header "% Intended LaTeX compiler: xelatex\n\\documentclass[..." :programs ("latex" "dvisvgm") :description "dvi > svg" :message "you need to install the programs: latex and dvisvg..." :image-input-type "xdv" :image-output-type "svg" :image-size-adjust (0.45 . 0.45) :latex-compiler ("latex -interaction nonstopmode -output-format=dvi ...") :image-converter ("dvisvgm %f -n -b min -c %S -o %O") :processor dvisvgm :fragments ((:string "\\color[rgb]{0,0,0.00392157}\\setcounter{equation}{0..." :overlay #<overlay from 1028 to 1041 in 20211127155226-test_cite.org> :key "1806c8e1160e56b1b2a86c0e88d21611a204a8df")) :org-buffer #<buffer 20211127155226
@VitalyAnkh
VitalyAnkh / log
Last active May 12, 2023 13:04
Bevy screenshot example's crash log
This file has been truncated, but you can view the full file.
warning: variable does not need to be mutable
--> crates/bevy_app/src/plugin_group.rs:147:13
|
147 | let mut plugin_entry = self
| ----^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
@VitalyAnkh
VitalyAnkh / servo_log
Created May 11, 2023 07:32
`RUST_BACKTRACE=1 RUST_LOG=debug WINIT_UNIX_BACKEND=wayland ./mach run -d -- tests/html/about-mozilla.html &> log`
[2023-05-11T07:30:16Z DEBUG constellation::constellation] constellation got ConstellationMsg::NewBrowser message
[2023-05-11T07:30:16Z DEBUG constellation::constellation] Creating new pipeline (1,1) in browsing context (0,1).
[2023-05-11T07:30:16Z DEBUG net::image_cache] New image cache
[2023-05-11T07:30:16Z DEBUG constellation::constellation] adding pending session history change with no replacement
[2023-05-11T07:30:16Z DEBUG constellation::constellation] constellation got ConstellationMsg::SelectBrowser message
[2023-05-11T07:30:16Z DEBUG style::rule_tree::core] Creating rule node: 0x7f4a2741c000
[2023-05-11T07:30:16Z DEBUG script::script_thread] Starting script thread.
[2023-05-11T07:30:16Z DEBUG script::script_thread] Waiting for event.
[2023-05-11T07:30:16Z DEBUG script::script_thread] Got event.
[2023-05-11T07:30:16Z DEBUG script::script_thread] Processing events.
@VitalyAnkh
VitalyAnkh / gist:687335e0e65c12b8ad0bad940968e254
Last active May 12, 2023 05:59
mozilla-central code count
===============================================================================
Language Files Lines Code Comments Blanks
===============================================================================
Assembly 324 281143 245678 16319 19146
GNU Style Assembly 294 188424 158033 11040 19351
Autoconf 400 56326 43210 6479 6637
Automake 17 4272 3670 253 349
BASH 26 2267 1588 391 288
Batch 34 2375 1934 117 324
C 4396 4440746 3457222 601138 382386
@VitalyAnkh
VitalyAnkh / gist:9045aca2be2ef7ed1a6698455a3cf7e2
Created September 28, 2022 13:58
WAYLAND_DEBUG=client cog output
WAYLAND_DEBUG=client ./build/launcher/cog
[ 602322.452] -> wl_display@1.get_registry(new id wl_registry@2)
[ 602322.466] -> wl_display@1.sync(new id wl_callback@3)
[ 602322.750] wl_display@1.delete_id(3)
[ 602322.753] wl_registry@2.global(1, "wl_compositor", 5)
[ 602322.756] wl_registry@2.global(2, "wl_eglstream_display", 1)
[ 602322.759] wl_registry@2.global(3, "wl_drm", 2)
[ 602322.761] wl_registry@2.global(4, "wl_shm", 1)
[ 602322.762] wl_registry@2.global(5, "wl_output", 2)
[ 602322.763] wl_registry@2.global(6, "zxdg_output_manager_v1", 3)
❰vitalyr❙~/projects/dev/c/cog(git≠master)❱✔≻ ./build/launcher/cog
(cog:56320): GLib-GIO-WARNING **: 21:52:18.637: Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal. It should do one of these.
Cog-Core-Message: 21:52:19.164: <file:///home/vitalyr/projects/dev/c/cog> Load started.
Cog-Core-Message: 21:52:19.172: <file:///home/vitalyr/projects/dev/c/cog> Loading...
**
Cog-Wayland:ERROR:../platform/wayland/cog-platform-wl.c:1681:on_export_wl_egl_image: assertion failed: (wpe_view_data.buffer)
Bail out! Cog-Wayland:ERROR:../platform/wayland/cog-platform-wl.c:1681:on_export_wl_egl_image: assertion failed: (wpe_view_data.buffer)
fish: Job 1, './build/launcher/cog' terminated by signal SIGABRT (Abort)
@VitalyAnkh
VitalyAnkh / gist:cd7136a82dfe944ed15f453a8044006d
Created September 28, 2022 13:51
wayland-info output on Arch Linux with Nvidia 3060, 515.76 driver
❰vitalyr❙~❱✔≻ wayland-info
interface: 'wl_compositor', version: 5, name: 1
interface: 'wl_eglstream_display', version: 1, name: 2
interface: 'wl_drm', version: 2, name: 3
interface: 'wl_shm', version: 1, name: 4
formats (fourcc):
0x48344258 = 'XB4H'
0x48344241 = 'AB4H'
0x48345258 = 'XR4H'
0x48345241 = 'AR4H'
ninja -C build
ninja: Entering directory `build'
[44/55] Compiling C object core/libcogcore.so.9.1.1.p/cog-utils.c.o
FAILED: core/libcogcore.so.9.1.1.p/cog-utils.c.o
ccache cc -Icore/libcogcore.so.9.1.1.p -Icore -I../core -I/usr/include/wpe-webkit-1.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libsoup-3.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/wpe-1.0 -I/usr/include/libmanette -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O2 -g -DCOG_INSIDE_COG__=1 -DCOG_USE_SOUP2=1 -fPIC -pthread -DWPE_ENABLE_XKB=1 '-DG_LOG_DOMAIN="Cog-Core"' -MD -MQ core/libcogcore.so.9.1.1.p/cog-utils.c.o -MF core/libcogcore.so.9.1.1.p/cog-utils.c.o.d -o core/libcogcore.so.9.1.1.p/cog-utils.c.o -c ../core/cog-utils.c
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobj
This file has been truncated, but you can view the full file.
WARNING: No org-loaddefs.el file could be found from where org.el is loaded.
You need to run "make" or "make autoloads" from Org lisp directory
Error: user-error ("CSL style file not found: \"acm-siggraph.csl\"")
debug-early-backtrace()
debug-early(error (user-error "CSL style file not found: \"acm-siggraph.csl\""))
user-error("CSL style file not found: %S" "acm-siggraph.csl")
org-cite-csl--style-file((:export-options nil :back-end #s(org-export-backend :name latex :parent nil :transcoders ((bold . org-latex-bold) (center-block . org-latex-center-block) (clock . org-latex-clock) (code . org-latex-code) (drawer . org-latex-drawer) (dynamic-block . org-latex-dynamic-block) (entity . org-latex-entity) (example-block . org-latex-example-block) (export-block . org-latex-export-block) (export-snippet . org-latex-export-snippet) (fixed-width . org-latex-fixed-width) (footnote-definition . org-latex-footnote-definition) (footnote-reference . org-latex-footnote-reference) (headline . org-latex-headline) (hori
@VitalyAnkh
VitalyAnkh / support-clang.patch
Created June 28, 2022 08:01
support-clang.patch
From 0ca13669edde3ce8f92f3a13ce06d52e95eb6526 Mon Sep 17 00:00:00 2001
From: Lu Yahan <yahan@iscas.ac.cn>
Date: Thu, 23 Jun 2022 10:12:21 +0800
Subject: [PATCH] support clang
---
build_config.h | 5 +++++
config/compiler/BUILD.gn | 30 ++++++++++++++++++++++++++----
config/riscv.gni | 18 ++++++++++++++++++
toolchain/linux/BUILD.gn | 35 +++++++++++++++++++++++++++++++++++