Fedora as the new standard-operating system

Traditional, the Linux community has the problem that they is divided into many different distributions. The user base and the programming power is not concentrated on one system but is spread out in many directions. That is major disadvantage for establishing Linux on the desktop. The solution is simple: all hobby-nerds must change to Fedora Linux and the Problem is solved. Fedora is the free version of the Red Hat operating system which is used by major companies. So it is possible to advocate private and commercial usage at the same time. Fedora for Gamers, amateur programmers, creative artists and end-customers, while Red Hat Enterprise Linux for big companies, small companies and universities.

Like all Linux distributions, Fedora has also many problems. For example the Lyx software which i have installed from the repository isn’t stable. Other software like kdenlive is not available under Fedora. But, as a base-system Fedora is good enough. There is a nice Webbrowser out of the box, which gets security patches regularly and many additonal programs like Office tools, games and C++ compilers are also available. So in my opinion Fedora is the best system for increasing the market share of Linux on the desktop. According to the last survey https://www.netmarketshare.com currently Linux have only a portion of 2,3%, while MS-Windows have 89%. Technical both systems are equal, perhaps Windows is using Linux code in the backend too. But the difference is, that a Linux system can be used for advanced things like as a webserver or as programming workstation.

Advertisements

Bug: Lyx crashed again

My set-up is simple: I use the current version of Lyx under Fedora Operating System and after klicking on “View”, Lyx software is crashing. This time, I watched explicit for the backup files. And i found, that there are three files in total:

original.lyx

#original.lyx#

original.lyx~

If i start the Lyx software again, no dialog box is shown, and my original text is there. But even this time my work was not lost, the reaction of lyx is not very reassuring. So, i have three versions of my text, a lyx document processor which shows no restore-dialog and the suspicion that in future the crash will occur again. A bugtracker is here https://www.lyx.org/trac/wiki/BugTrackerHome Would it help to post my request there? I don’t think so.

Bug: Lyx is crashing and lost my text

Normally I’m a big fan of the typesetting system Lyx which greatly improves the creation of well formatted texts. But today, I’ve noticed a major bug which was very annoying. It started, that i typed in a longer text from scratch with lots of paragraphs. I also corrected some spelling mistakes. And after a while I wanted to view the result in the PDF viewer as a reward of how much I’ve written in the last hour. So I clicked on the button right left in the GUI and nothing happens. In the status line was shown, that pdflatex was started but nothing comes after that. After a minute or so, the Linux Gnome Desktop pops up with a message that the Lyx program is hanging and asks if i want to force to stop the program. I clicked yes, because I knew that lyx has saved in every case a backup copy of my text. On the next startup i had three possibilities: restore original work, use backup copy and cancel. I know not exactly which button i clicked but it was perhaps the wrong one. After that not the last version but an old version was shown on the screen and overwrites also the backup copy, so it was not possible to get the same dialogue again for clicking the right button. So i lost my work for ever and I questioned for the first time, if Lyx is really such a good program i ever believed.

The effect that the complete text is lost is nothing what is special for Lyx, also Word-Users and even Emacs User can tell such nightmare stories. But my hope was all the time that Lyx is immune against such pain and that i do not have to save manually before each starting of the PDF Viewer, nor that i must save a copy of the file to another folder for preventing Lyx to destroy the only working backup copy. I don’t want direct somebody to tell that he or she should not using Lyx but I only want to warn, if somebody wants to try out the software he has probable to fight with similar problems like in other wordpresscing tool which is on the market.

That Lyx has tried to restore my work on the startup was a cool idea and according to the setting menu, it has saved the document every 5 Minutes. What is a bit problematic is, that after pressing the wrong button my work was destroyed forever, so that this dialogue was ironical the trigger for the disaster. According to my impression this is a major bug, what can be noticed on the same list where the missing biblatex support, the often wrong setting in the outline hold button, and wrong line numbers in the program-listing-environment are also noticed. Perhaps it was a mistake to program parts of Lyx in the Java language, because this results in stackoverflows …

According to other weblogs, I’m not the only one who has problems with damages lyx-backup files. Some user gave the hint, that changing the path to the backup directory is a good idea. So lyx will save the backups to a separate directory. Even if this will work, my text comes never again and is lost forever.

And yes, if have a suggestion for improvement. The main idea is to view a lyx file like a git-folder in which every iteration is stored. With some sort of compression technique it would be no big deal. And the user would have in every case the possibility to restore this version which I really needs, after restoring the backup, the other files are also alive so that he can switch back to another selection. Or perhaps, it is generally a good idea to use git as a user for tracking changes in git files, so that even without this feature in future projects, old versions are available in every case. This sort of backup would works outside of the Lyx software and brings an additional layer inside the game. That means, even the save procedure and backup restoring of Lyx fails, the user can use older git-versions and work with them.

Now I understand better why some people prefer LaTeX over Lyx and explain this with their professional attitude. A normal textfile which is processed by a texteditor and not via a GUI Textprocessing tool seems to me a lot more stable than the malfunction lyx software, especially if the typed in text is important and the dealline for the phd thesis is near. Using LaTeX pur and no extra frontend would be a good alternative if the problems inside the Lyx development community are serios and the willingness for improving the software are small. The best example is the announcement of the next 2.3 version which is felt for 2 years in the pipeline on the mailing list but until now no productive software is available. Perhaps the project itself is dead? I don’t know, the official wiki is not very informative and let the users in the panic mode if they really need information. The joke is, that Lyx has perfect Haiku OS support but has no powerfull backup recovery function. That is called priority setting in the wrong way …

Short introduction to the Links webbrowser

In times of fast internet access, youtube high-definition resultion and optical core routers it seems a bit anachronistic to think about saving bandwidth. But even today, traffic bandwith is a costly good and has to used wise. The best program for save the amount of bits which are transfered over the air is the Links webbrowser. It is available in nearly all Linux distributions and can be operated with the keyboard completely. In Standard-text-mode Links generates only a tiny amount of traffic and surfing on the web with 64kbit/s speed is no problem. Even with modem speed at 14kbit it is possible to use most of the internet services like google, wikipedia and so on.

For novice user it is important to read at first the manual because the interaction with Links is slightly different from Chrome or Firefox. The most important difference is that Links shows only textinformation. Images, PDF Files and mp3 Song has to be downloaded manually into a directory and must be shown by an external viewer. To save bandwith it is recommended to download only important files and let the wire free for other users who have more demanding tasks.

To get an URL out of Links into a external program is little bit complicated because Links runs in Terminal mode and without the GPM mousedriver it is not possible to use the clipboard for copy&paste. But Links supports bookmarks. So the user saves the current webside as bookmark and can grab the information from the bookmark.html file. Saving a bookmark is done with Esc key to enter the menu and than File -> save bookmark.

How important is UNIX for the internet?

Unix played an important role for internet-development. Most people today believe, that perhaps both is equal. But they don’t understand, that unix/linux is no alternative culture, instead it is a new dimension of work-society. Even Linux cost no money, linux is often used as earning-money-and-follow-an-ideology. Most of corporations in America pay for unix-admins lots of money, so it’s naive to believe that Linux is an alternative to Microsoft ideology.

Technically Linux is a collection of computer programs to support man-maschine-interaction. The problem is, that with linux the computerhardware is not used efficient. In a speed-comparission „Linux vs. Windows 3.11“ linux will loose. So it’s better to search for alternatives like DOS, Amiga-OS, Geos or Archon-Archimedes. The aim is to produce an operation system in assembler which only uses 500 kb of RAM, not more. This new system should consists of a text shell, a GUI and most common programs like webbrowser, webserver and office suite.

The LaTeX fetish

http://www.danielallington.net/2016/09/the-latex-fetish/

Yes, i like the way you’re describing the latex fetish of some scientists. The use of the TeX syntax itself brings no added value in comparison to the Lyx-software. I belief that LaTeX is good as a backend but not for typing directly into it. A more comfortable approach is the above mentioned Lyx system, https://www.lyx.org This software has an outline editor and can export to the LaTeX markup language.

Erste Schritte in Blender

Früher war ich mal ein Fan von der 3D Software Blender. Nicht nur, dass sie ihren Vorbildern sehr ähnlich war, sondern die Software war auch kostenlos und in Linux verfügbar. Ein neuerlicher Test mit Blender zeigt jedoch, dass so gut wie immer gedacht das Programm nicht ist. Zwar gilt die Software als mächtig, aber die Bedienung über die GUI ist ein Graus. Es gibt zwar theoretisch auch eine Python Schnittstelle doch leider ohne Zusammenhängende Doku. Will man mit Blender klarkommen muss man sich zwingend irgendwelche Youtube Tutorials anschauen wo Step-by-Step instruktionen gegeben werden. Das Problem ist jedoch, dass man diese genauso schnell wieder vergessen hat wie man sie nachmacht so dass Blender böse gesagt keine Software ist, sondern ein Markt darstellt bei dem immer neue Videos, Anleitungen und Kurse an die interessierten User verramscht werden.

Obwohl sich das erstmal wie ein Sakrileg anhört glaube ich doch, dass 3D Programmierung in Povray und in OpenGL unter C++ um einiges leichter geht als wenn man Blender verwendet.

Für die ersten Gehversuche in Povray eignet sich die archivierte Anleitung auf Ubuntuusers https://wiki.ubuntuusers.de/Archiv/POV-Ray/ verwendet man den Texteditor Geany braucht man in das Ausführmenü nur einzutragen: „povray „%f“ +P“ und kann nach einem Klick auf den Button die Vorschau sehen. (Das +P steht für Pause und bedeutet, dass das fertige Bild erst nach einem Mausklick wieder verschwindet).

Jetzt mag der Einsteiger vielleicht sagen: „Hey was soll ich mit Povray, Blender lässt sich doch viel leichter bedienen?“ nur leider ist das nicht wahr. In der 3D Welt kommt man ohne Programmierung kaum zu interessanten Ergebnissen, wer mit Blender halbwegs größere Projekte angehen will wird auch dort auf Python Scripting zurückgreifen. Und wenn man 3D in Computerspielen haben möchte dann braucht man ganz sicher ausführbaren Computercode. Also kann man auch gleich von Anfang an, sich damit anfreunden und braucht dann später nicht erst dazuzulernen.

Wer Povray einmal selbst ausprobieren möchte und insbesondere an den Animationsfähigkeiten interessiert für den empfehle ich die Simulation des Sonnensystems auf http://www.f-lohmueller.de/pov_tut/animate/anim112d.htm Es gibt dort ganz unten zwei Dateien „.pov“ und „.ini“. Die lädt man runter auf seinen PC und führt dann aus „povray planet_00ani.ini“ wodurch eine Folge von Einzel-PNG Bildern erzeugt wird. Das kann etwas dauern ist aber sehr sehenswert.