User:Imz: Difference between revisions

From ALT Linux Wiki
m (→‎Automatic testing of per-package upgrades from branch to branch: formatting (make use of an HTML element, primarily just to learn them, but also to beautify text))
m (+link to /my contributions to free software projects (new page))
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[ru:user:IvanZakharyaschev]]
[[ru:user:IvanZakharyaschev]]


(My name is Ivan Zakharyaschev, Иван Захарьящев, imz.)
My name is Ivan Zakharyaschev, Иван Захарьящев, imz.
 
More Unix issues that have interested me:
 
* [https://bugzilla.altlinux.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&chfieldto=Now&columnlist=changeddate%2Cassigned_to%2Cbug_status%2Cresolution%2Cproduct%2Ccomponent%2Cshort_desc&email1=imz%40altlinux|vanyaz&emailassigned_to1=1&emailcc1=1&emaillongdesc1=1&emailreporter1=1&emailtype1=regexp&field-1-0-0=bug_status&field-1-1-0=assigned_to&field-1-1-1=reporter&field-1-1-2=cc&field-1-1-3=commenter&query_format=advanced&remaction=&type-1-0-0=anyexact&type-1-1-0=regexp&type-1-1-1=regexp&type-1-1-2=regexp&type-1-1-3=regexp&value-1-0-0=UNCONFIRMED%2CNEW%2CASSIGNED%2CREOPENED%2CRESOLVED%2CVERIFIED%2CCLOSED&value-1-1-0=imz%40altlinux|vanyaz&value-1-1-1=imz%40altlinux|vanyaz&value-1-1-2=imz%40altlinux|vanyaz&value-1-1-3=imz%40altlinux|vanyaz&order=bugs.delta_ts%20desc%2Cbugs.bug_status%2Cbugs.priority%2Cmap_assigned_to.login_name%2Cbugs.bug_id&query_based_on=My%20Bugs%2B my related bugs at ALTLinux]
 
* http://linuxexchange.org/users/1706/imz-ivan-zakharyaschev
* http://unix.stackexchange.com/users/4319/imz-ivan-zakharyaschev
 
* [https://bugs.launchpad.net/~imz/+bugs?orderby=-date_last_updated&start=0 bug reports at Launchpad]
* [https://answers.launchpad.net/~imz/+questions?field.search_text=&field.sort=RECENT_OWNER_ACTIVITY&field.sort-empty-marker=1&field.actions.search=Search&field.status=OPEN&field.status=NEEDSINFO&field.status=ANSWERED&field.status=SOLVED&field.status=EXPIRED&field.status=INVALID&field.status-empty-marker=1 questions at Launchpad]
 
+something implemented about this or that:
 
* http://gitorious.org/users/imz
* https://github.com/imz
 
* [http://scholar.google.com/citations?user=DQ0tWyAAAAAJ&hl=en science]
 
[[/my contributions to free software projects]]


== research on HOW TO do ''x'' ==
== research on HOW TO do ''x'' ==
I'm posting my experience and thoughts:
I'm posting my experience and thoughts -- "HOW TO do and NOT TO do a certain thing":
* [[/mini-research on HOW TO edit received messages]] (which MUAs can and which MUAs cannot do this: edit the subject and insert comments)
* [[/mini-research on HOW TO edit received messages]] (which MUAs can and which MUAs cannot do this: edit the subject and insert comments)
:* [http://en.wikipedia.org/w/index.php?title=Comparison_of_e-mail_clients&diff=prev&oldid=321403775 comparison of MUAs with respect to this feature][http://en.wikipedia.org/w/index.php?title=Comparison_of_e-mail_clients&diff=prev&oldid=321464179], [https://bugzilla.altlinux.org/show_bug.cgi?id=22060 my explanation of the required feature on the example of Thunderbird]
:* [http://en.wikipedia.org/w/index.php?title=Comparison_of_e-mail_clients&diff=prev&oldid=321403775 comparison of MUAs with respect to this feature][http://en.wikipedia.org/w/index.php?title=Comparison_of_e-mail_clients&diff=prev&oldid=321464179], [https://bugzilla.altlinux.org/show_bug.cgi?id=22060 my explanation of the required feature on the example of Thunderbird]
* [[/mini-research of mail clients]] w.r.t. to specific features: IMAP, editing of received messages, searching
* [[/mini-research of mail clients]] w.r.t. to specific features: IMAP, editing of received messages, searching
* [[/research on HOW TO backup an IMAP account]] (better and worse ways to do it)
* [[/research on HOW TO backup an IMAP account]] (better and worse ways to do it)
* [[How to keep the GPU (and CPU) cooler]]
See also some other similar notes in Russian: [[:ru:Участник:IvanZakharyaschev/Изучение средств, как что-то лучше делать]] (а как -- не очень получается).


== some random small plans, TODOs, dreams ==
== some random small plans, TODOs, dreams ==
Line 73: Line 95:
:(Then, there is some hope that I'll spend less time coping with such situations in the systems I use and reporting them.)
:(Then, there is some hope that I'll spend less time coping with such situations in the systems I use and reporting them.)


==Small troubles and workarounds (or solutions)==
==Small troubles&workarounds (or solutions)==
(Not big enough for a bugreport.)
(Not big enough for a bugreport.)


=== "<code>git clone</code>" on FAT in ALT ===
* [["git clone" on FAT]]
The trouble (on [[branch]]&nbsp;5.1, also on [[Sisyphus]]): <pre>
~ $ mount /mnt/usbmem1
~ $ mount | fgrep /mnt/usbmem1
/dev/sdb1 on /mnt/usbmem1 type vfat (rw,noexec,nosuid,nodev,noatime,flush,utf8,shortname=winnt,fmask=117,quiet,user=imz)
~ $ mkdir /mnt/usbmem1/test
~ $ cd /mnt/usbmem1/test
/mnt/usbmem1/test $ git clone ~/.emacs.d/site-start.d/
Cloning into site-start.d...
fatal: cannot symlink '/usr/share/git-core/hooks/applypatch-msg' '/mnt/usbmem1/test/site-start.d/.git/hooks/applypatch-msg.sample': Operation not permitted
/mnt/usbmem1/test $ rpm -q git-core
git-core-1.7.3.4-alt0.M51.1
/mnt/usbmem1/test $
</pre>
 
It's due to: <pre>
* Fri Sep 03 2010 Dmitry V. Levin <ldv@altlinux.org> 1.7.2.3-alt1
- Updated to maint v1.7.2.3.
- Relocated hooks to /usr/share/git-core/hooks/,
  converted template hooks to symlinks.
</pre>
 
The workaround: <pre>
/mnt/usbmem1/test $ GIT_TEMPLATE_DIR= git clone ~/.emacs.d/site-start.d/
Cloning into site-start.d...
done.
/mnt/usbmem1/test $
</pre>
(<code>GIT_TEMPLATE_DIR</code> is documented in "<code>man git-init</code>".)


Well, I don't perceive this as a bug, but of course, it's an inconvenience--to remember about the template dir parameter...
==Problems with ALTLinux infrastructure==
===Non-delivery of messages sent by automated services to altlinux.org===
See [[Non-delivery of email sent by automated services to altlinux.org]]

Latest revision as of 16:36, 23 December 2019


My name is Ivan Zakharyaschev, Иван Захарьящев, imz.

More Unix issues that have interested me:

+something implemented about this or that:

/my contributions to free software projects

research on HOW TO do x

I'm posting my experience and thoughts -- "HOW TO do and NOT TO do a certain thing":

See also some other similar notes in Russian: ru:Участник:IvanZakharyaschev/Изучение средств, как что-то лучше делать (а как -- не очень получается).

some random small plans, TODOs, dreams

spaces instead of Russian letters in a menu

  • to figure out what the source of a problem with xine-ui is: xine-ui's menu (invoked with button 3) shows spaces instead of Russian letters in any Russian locale
(on my "dell" system, where I have been doing single package upgrades, never a dist-upgrade).
I believe it's a problem of a library or a font xine-ui uses (transitively), but which one? The versions of xine-ui or libxine don't seem to matter; BTW, on another my system ("vaio"), there's no such problem; the X server which xine connects to also doesn't matter.
Workaround: gxine or vlc (and these are also the ultimate choice of a DVD viewing program--they have saner UIs; although I'm going to forget xine-ui, I'm still worried about the problem with Russian letters in the menu, because this problem can appear in another program).
Related stuff: In the past, I saw such a problem with IceWM's menu and IceWM's window titles (after a partial upgrade).

better apt-shell (programming with queries to APT/RPM)

  • Before I look deeper into the problem with xine-ui, I'd like to find a more flexible and convenient way to do complex queries to the RPM and APT databases (the multiple available APT repositories for the different distro branches) than rpm -q and apt-shell/apt-cache combined by Unix shell (through strings). I hope, lua and the lua interface to APT would be more convenient. For instance, in this case, I'd like to do queries like the following:
Look at the versions of all the things xine-ui transitively depends on, and match each of them with a branch of ALT distro. Meanwhile, check whether this problem with xine-ui is present in a certain branch (perhaps, in a chrooted minimal system), and if no, show the differences between my current system and that branch. Think about the differences. (Hmm, it looks like, I'll even need almost nothing special except for hasher and diff for this scenario.)

overt (and simplified) window management

  • to devise a more clear and convenient desktop environment for those users at home who can't grasp all the concepts of a usual modern complicated (= bloated) desktop environment (windows, window titlebars, minimized windows, applications in the tray) and hence can't keep track of the running applications and manage them efficiently.
(When I set up the system, I used to think that an XFCE would be a more or less acceptable choice (because there is little uncontrolled stuff going on there under the hood and because it's conceptually similar to MS Windows which is usually thought to be OK)), but I have noticed quite a lot of confusion. The problems:
  1. (minor) The titlebar is not grasped as the control for the window (i.e., not part of the application, but a standard application-external control); rather, just it's just some confusing unpredictable text, even perhaps not associated with the window.
  2. (minor) The usual application-specific menu at the top of the window is not seen/found (an application-specific menu is expected anywhere: in XFCE's elements, or deep inside the window).
  3. (important) Taskbar does not give the needed information about the running applications (which might be in minimized windows): as I understand it, the rectangular regions with some text in them (the window titles) don't seem to be understandable, noticeable.
  4. (related) Applications represented by icons in the tray only confuse things and exaggerate the problem with the taskbar: an application may be represented either there or here, no straightforward way to check all running applications.
Additionally, "simplified" window management means that there is no need to resize and move and fit windows, so something like a tiling window manager with one main large tile inside which the active window is always maximized can be thought of as an ideal (although, there are complications in practice: multi-window applications like Skype).
Solutions: I thought of
  • either xmonad(bugs) with one large main tile and all other windows represented by small (square) tiles aside--every running window is visible then and represented always the same way (no other representations: in the taskbar or in the tray); and very bold window decorations (so that windows are clear to be separate entities); and window-switching by selecting one of the small (square) tiles (wish: with the mouse); optionally: a window-switching layout (invoked with a simple key press, say, the Win or the Menu key), where all the windows are equal squares;
  • or WindowMaker(bugs)--conceptually, the resulting solution will similar to the one with xmonad described above (but the single representation concept is broken: either a window or a big icon); a plus is that WindowMaker is a ready-to-use solution; some things will need to be tweaked: add an "applications" menu to the dock or another place, disallow window minimization (only iconification), try to make new windows maximized by default, make window maximization (or iconification if maximized?) the default action of a double-click on the title. (To distinguish this customization of WindowMaker from the standard one, I'll call it "automatic"--when a name is needed, e.g., in a pkg name.)
  • (What about Étoilé? GNUStep-based, similar to WindowMaker, but with a "global menu" (like in Mac OS). Is "global menu" more clear than per-window menu? Perhaps... But Étoilé is not in ALT's repos.)
  • (What about Sugar(ALT pkg)? Can it be the base for a DE for grown-up, i.e., combined with the programs grown-ups use: the usual browser, mail client, OOo, etc.?)
With either solution, we will need to represent the files that previously (in XFCE) were on the desktop by a special invokable window (either a running file manager in xmonad, or a docked file-manager in WindowMaker). As for the file-manager choice, we'd better leave the tested and customized (as regards file associations) one from Xfce. (Or try the WindowMaker's one afresh? File associations could be not essential in WindowMaker, because one can drop the file onto the application in the dock, couldn't they?)
(Kinda conclusion: WindowMaker appears to have a very nice concept for non-professional users!)

helpful "applications" menu

  • to devise a "helpful" menu; the problem is:
  1. (related) Finding suitable applications and using them through the menu is very burdensome (have to remember the name of the application that was found some time ago in order to use it again).
Another plus of WindowMaker is that the "helpful menu" is already there--just put your applications to the dock.

system "Applications" menu in WindowMaker

  • to add an "applications" menu button to the dock or another place
I don't like that in WindowMaker the system "Applications" menu is invoked by clicking on a free place on the desktop, especially because I want the windows to be maximized--so, I'll need to add a menu button to the dock then.
Or is the dock is not right place for it conceptually? In the "workflow" in WindowMaker, the dock is the final place for selected applications (the "sink"), the icons for the running applications are the intermediate place, and the system "Applications" menu should be thought of as the source of the applications for the user where he/she looks for them. So, put it on the side opposite to the dock?

No, I think I was wrong. The concern about finding a free place on the desktop is not really conceptually justified: the "Applications" menu is invoked to start a new application, so making the desktop free of old applications (iconifying them) is not a trouble at such a moment--we don't want to work with them right now anyway. Moreover, the need to iconify and de-iconify more often will help teach the user that the row of icons represents the running applications. Also, the repeatable need to click on a "surface" to bring up the needed "Applications" menu will help teach the user this tactics: try to bring up a context menu by clicking on a surface (perhaps, with button 3).

Automatic testing of per-package upgrades from branch to branch

I always get disappointed when I come across the situations when can't smoothly install a package from branch N+1 in a system based on branch N--because of some unforeseen file conflicts or similar reasons (e.g., altbug:25034, a recently noticed simple case). And I spend some time reporting these situations manually to ALT's bugzilla. So I'd like

  • to implement automatic testing for installing packages from a newer branch (including Sisyphus) in a system based on an older branch; and automatic reporting of failures to the bugzilla.
The testing for each new package from a newer branch could be done in isolated "systems" based on the older branch. Probably, the testing should be done in several "maximal" systems based on the older branch; "maximal" means comprising a maximal collection of non-conflicting packages from the older branch.
(Then, there is some hope that I'll spend less time coping with such situations in the systems I use and reporting them.)

Small troubles&workarounds (or solutions)

(Not big enough for a bugreport.)

Problems with ALTLinux infrastructure

Non-delivery of messages sent by automated services to altlinux.org

See Non-delivery of email sent by automated services to altlinux.org