V8, the new JVM

3.1.2. Für was steht das Modul “ws” ?

3.1.3. Was ist die Aufgabe vom Modul “xml2js” ?

4. In den Folien wird auf Seite 14 die “Google V8 engine” erwähnt, die aus meiner Sicht eine Javascript-Runtime-Environment ist. Genügt es nicht, wenn ein Browser die von Oracle Sun-Microsoft zur Verfügung gestellte JVM verwendet ?

[…]

5. Auf S14 wird “non-blocking code” erwähnt ? Handelt es sich dabei um Code, der einen kritischen Abschnitt auf jeden Fall ausführt ? (An dieser Stelle bitte kein Google-Sucherergebnis als Antwort)

via tu-graz.svu.ue

Ich betrachte mich selbst als toleranten Menschen. Manchmal erlebe ich jedoch auch harte Zeiten. Diese Fragen wurden in einer Lehrveranstaltung für Fünft-semestrige gestellt. *kopfschüttel*

Ja, dumme Fragen gibt es nicht und fragen darf man immer. Man überspannt allerdings den Bogen, wenn man Antwortende gar textuell angreift. Das ist hier mein Kritikpunkt, welcher durch das Zitat nicht illustriert wird. In der genannten Newsgroup kommt dies jedoch vor.

V8, the new JVM

How I connected to the Internet today

Illustration of how I connected to the internet
Illustration of how I connected to the internet

On the back of a bill I illustrated to my roommate how I connected to the internet. Goal: My desktop computer (to the right) has to connect to the Internet provided by VC Graz via Ethernet (to the left).

How did I come up with this setup?

  • I cannot connect the desktop computer to Ethernet directly, because Windows 7 has overwritten the NIC of my network card and ever since the Ethernet port cannot be detected in Linux; or at least it is available randomly. This is why I am using the laptop as a target.
  • A WiFi stick is used to broadcast the wireless network. However, the desktop computer is running a live-system for the i486 architecture and even though I am pretty sure I found the right driver name, the Linux kernel denied to load it. So I could not use WiFi at my desktop computer.
  • So I am receiving the wireless network data at my smartphone. The USB cable transmits the wireless data to the desktop computer via USB tethering.
  • By the way be sure that the Laptop creates the WiFi in infrastructure mode. Android smartphones do not work with WiFi networks in ad-hoc mode. This is why I had to create a bridge with hostapd at my laptop and could not use the NetworkManager for this job.
  • Finally debian ships VPNC with its live distribution and I used it to encrypt my network data which is necessary in VC Graz.
  • Also be sure that the Android smartphone does not deactivate your WiFi in sleep mode. Otherwise your connection will be lost a minute after the smartphone goes asleep.

“All problems in computer science can be solved by another level of indirection” (David Wheeler)

How I connected to the Internet today

LibreOffice Referencing fail across sheets

To Reference a Cell in the Same Document

  1. Open a new, empty spreadsheet.
  2. By way of example, enter the following formula in cell A1 of Sheet1: =Sheet2.A1
  3. Click the Sheet 2 tab at the bottom of the spreadsheet. Set the cursor in cell A1 there and enter text or a number.
  4. If you switch back to Sheet1, you will see the same content in cell A1 there. If the contents of Sheet2.A1 change, then the contents of Sheet1.A1 also change.

via LibreOffice Calc Docu: Referencing A Cell in Another Document

Nope, it does not work. “=Sheet2.A1” becomes “=sheet2.a1” if “Sheet2” does not exist yet (which is not clearly defined in this documentation). “a1” is valid reference to “A1”, but “sheet2” is not for “Sheet2” even though you cannot create two sheets named “Sheet2” and “sheet2”.

Bug report submitted.

LibreOffice Referencing fail across sheets

xubuntu NetworkManager does not store VPN user password

I have set up a (vpnc) VPN connection in NetworkManager. It stores the password and everything is fine. Now you would like to change the password. Even though setting up a new connection and deleting the old one might work, I wanted to update my user password in the old connection. Per default, you can set the passwort and the password will be thrown away once NetworkManager is restarted (old password will be restored). Furthermore I don’t want to store the user password (Xauth password) in the VPN connection settings file /etc/NetworkManager/system-connections/<connection>, but the system keyring.

After a very long search I came up with the solution: At Ubuntu you can use the menu item System > Preferences > Passwords and Encryption Keys to access the system keyring settings. This is not available at xubuntu. Instead go to System > Users and Groups, select the corresponding user, click Advanced Settings, goto User Privileges and tick Connect to wireless and ethernet network.

Now NetworkManager should store your password again. Test it by setting the new password and run sudo service network-manager restart. If NetworkManager stores the new password, you succeeded.

xubuntu NetworkManager does not store VPN user password