Followup to yast/yast-installation#864 "Collect memory usage data"
Part of https://trello.com/c/2RY7fqpT/1891-8-research-study-and-maybe-reduce-memory-consumption
ruby memory
YaST takes up 258 MiB on disk. | |
Starting with a 2020-09-01 openSUSE Tumbleweed that already has Cockpit installed, | |
these are the byte sizes of packages installed by "zypper install yast2" | |
218922718 glibc-locale | |
16627072 ruby2.7 | |
9940016 ruby2.7-rubygem-nokogiri | |
3427518 hwinfo | |
3413184 libruby2_7-2_7 |
Followup to yast/yast-installation#864 "Collect memory usage data"
Part of https://trello.com/c/2RY7fqpT/1891-8-research-study-and-maybe-reduce-memory-consumption
ruby memory
$ ps -f | tee /dev/stderr | ./table_to_csv > ps.csv | |
UID PID PPID C STIME TTY TIME CMD | |
martin 12310 3022 0 09:36 pts/13 00:00:00 /bin/bash | |
martin 13255 12310 0 10:18 pts/13 00:00:00 ps -f | |
martin 13256 12310 0 10:18 pts/13 00:00:00 tee /dev/stderr | |
martin 13257 12310 0 10:18 pts/13 00:00:00 /bin/bash ./table_to_csv |
Thank you for the report!
Margolis, Jane and Fisher, Allan (2002). Unlocking the Clubhouse: Women in Computing. Cambridge, MA: MIT Press. https://mitpress.mit.edu/books/unlocking-clubhouse
This is an expanded table of contents.
#!/usr/bin/ruby | |
# https://bugzilla.suse.com/show_bug.cgi?id=1132650 | |
# https://github.com/yast/yast-packager/pull/434 | |
def file_properties(filename) | |
print "." | |
File.lstat(filename) | |
end |
Emacs has an ususual way of escaping special characters in regular expressions, which I keep forgetting, so here's a summary
Literal | Special | Emacs bare | Emacs escaped |
---|---|---|---|
* |
\* |
||
* 0 or more | * |
||
+ |
\+ |
||
+ 1 or more | + |
||
? |
\? |
If the whole paragraph contains only right-to-left text, it poses no problem. Problems are much likelier to occur if we mix the text directions.
Here I want to write down my knowledge so that the simple parts are easily accessible to beginners, and terms are defined for reference when sorting and solving bugs
TODO: show example fixes to the problems (and note that they may look wrong,
My team got a bug report (bsc#1127563) about misplaced brackets in Arabic translation:
Looking at the first problematic line, "Total System Memory", notice that the Arabic translation has both square brackets in the right-hand version. Let's check the corresponding translations file.
At the first sight we see a matching left+right bracket, but that is misleading, since they are not in the correct place. The GitHub rendering of that line is confused by the `m
diff --git a/src/clients/inst_kickoff.rb b/src/clients/inst_kickoff.rb | |
index 581f3554..ba4a2ff4 100644 | |
--- a/src/clients/inst_kickoff.rb | |
+++ b/src/clients/inst_kickoff.rb | |
@@ -78,11 +78,11 @@ module Yast | |
# make some directories | |
SCR.Execute( | |
path(".target.mkdir"), | |
- Ops.add(Installation.destdir, "/etc") | |
+ Installation.destdir + "/etc" |