Monday, March 18, 2013
The H: What's new in openSUSE 12.3
What's new in openSUSE 12.3: The new version, 12.3, of openSUSE offers a redesigned, elegant desktop, updated software and various technological improvements
…
Labels:
openSUSE
Saturday, March 16, 2013
NewsBlur – a service like Google Reader
NewsBlur
http://www.h-online.com/open/news/item/Google-Reader-to-close-down-1823206.html :
http://www.h-online.com/open/news/item/Google-Reader-to-close-down-1823206.html :
NewsBlur is free for up to 12 feeds and an unlimited Pro version is available from $1 a month. Currently however, the service is experiencing heavy loads and, at the time of writing, was barely usable.
Labels:
Atom feeding,
feed reading,
Google Reader,
RSS feeding
Wednesday, March 13, 2013
"unit testing" terminology
- on the outer level: startup + shutdown
- on the inner level: setup + teardown
Labels:
jargon,
unit testing
Emacs: tabs vs. spaces – how to make all indentation from spaces only
Just Spaces - GNU Emacs Manual
resp.
resp.
(setq indent-tabs-mode nil)
resp.
M-x set-variable …
resp.
# Local variables:
# indent-tabs-mode:nil
# End:
Labels:
emacs
Saturday, March 9, 2013
my 1st concurrent backups from my Mac and my openSUSE Linux VM to the Synology DS213+
With the "alternative rsync" (see my older article on rsync and Synology!) things started looking a little more successful.
Apparently a lot of files by the name "@eaDir" get created "automagically" in various subdirectories. And as I usually start rsync with "--delete-after", they all get removed in the end. I am not sure, whether the DiskStation OS ("DSM") likes that, so for the time being I will do w/o that command line option. I will investigate the "@eaDir" issue "in the near future" (TBD).
Another issue: lots of messages like "cannot chgrp …". Apparently that's because the group identifier on the source system does not exist on the target system. I definitely don't want to see that message, so something must be done in that area (TBD).
It really is a relief to have a regular backup procedure in place again.
Apparently a lot of files by the name "@eaDir" get created "automagically" in various subdirectories. And as I usually start rsync with "--delete-after", they all get removed in the end. I am not sure, whether the DiskStation OS ("DSM") likes that, so for the time being I will do w/o that command line option. I will investigate the "@eaDir" issue "in the near future" (TBD).
Another issue: lots of messages like "cannot chgrp …". Apparently that's because the group identifier on the source system does not exist on the target system. I definitely don't want to see that message, so something must be done in that area (TBD).
It really is a relief to have a regular backup procedure in place again.
"rsync over ssh" to a Synology NAS – IPKG, opkg
Nota Bene / before:
The Synology system provided rsync is not for me. It's somehow modified and spoilt.
backup - Rsync over ssh: "ERROR: module is read only" suddenly appeared - Server Fault
Well, it's not only me experiencing weird effects with the "built-in" rsync. And I think, quite a few of the answers to that forum article do not quite fit at all.
The details of the case:
- This is the text, that helps me personally re-installing rsync, whenever it magically disappears, maybe caused by an DSM update.
- True, I should bring a little structure into this article.
- I never ever care about rsyncd, as I am doing "rsync over ssh"; any activity suggested regarding rsyncd does not concern me. (But then sometimes I am misled, and I erroneously do invest time in false paths, and I do get into problems that are actually rsyncd-related.)
- I have my own ways of backing up data.
- I have my own ideas of keeping data long term outside my computer's built-in disks.
The Synology system provided rsync is not for me. It's somehow modified and spoilt.
backup - Rsync over ssh: "ERROR: module is read only" suddenly appeared - Server Fault
Well, it's not only me experiencing weird effects with the "built-in" rsync. And I think, quite a few of the answers to that forum article do not quite fit at all.
The details of the case:
- "rsync over ssh" does not use the remote rsync daemon at all, i.e. no rsyncd.conf applies
- it's not unlikely, that these rsync problems have to do with a Synology special version of rsync
- after this: "DiskStation> /usr/syno/etc.defaults/rc.d/S84rsyncd.sh stop", the error message does not change, so it's really not an "rsync daemon" issue, as that one is no longer running
- …
I fixed this problem by installing an rsync package provided on an Unslung Project repository for the CPU used within my Synology NAS. This brings dependencies on the Unslung Project, their IPKG installer, their Optware, their specific Synology repository. This kills me a little, to be honest.
I mainly followed the "German Synology wiki" on IPKG. (Anxiously as I am, I do keep a backup of that article at …/com/synology-wiki.de/ . Yes, I do have an idea, that this step alone is rather in vain.)
So, well 1st I had to install IPKG itself.
My CPU on the DS213+ is an e500 (actually: e500v2), so I went the e500 way in their description.
My CPU on the DS112+ is a "Feroceon 88FR131 rev 1 (v5l)", there is a note on how to deal with the DS112+, pls follow that one.
Then I installed the rsync package provided by IPKG.
An entry for /etc/rc.optware got created in /etc/rc.local, and they suggest to remove it, and I did that.
I am not sure, it concerns me at all, as I mention "my" rsync on the NAS by full path on my command lines outside the NAS.
Now my only minor problem with the "alternative rsync" is, that I have to specify the remote rsync on my local rsync command lines like this: "--rsync-path=/opt/bin/rsync". That's a PITA, but that's not too hard.
Update 2013-08-31: en.wikipedia.org/wiki/Ipkg says IPKG was discontinued. en.wikipedia.org/wiki/Opkg is the follower, code.google.com/p/opkg/, but it hasn't really taken off.
I mainly followed the "German Synology wiki" on IPKG. (Anxiously as I am, I do keep a backup of that article at …/com/synology-wiki.de/ . Yes, I do have an idea, that this step alone is rather in vain.)
So, well 1st I had to install IPKG itself.
My CPU on the DS213+ is an e500 (actually: e500v2), so I went the e500 way in their description.
My CPU on the DS112+ is a "Feroceon 88FR131 rev 1 (v5l)", there is a note on how to deal with the DS112+, pls follow that one.
Then I installed the rsync package provided by IPKG.
An entry for /etc/rc.optware got created in /etc/rc.local, and they suggest to remove it, and I did that.
I am not sure, it concerns me at all, as I mention "my" rsync on the NAS by full path on my command lines outside the NAS.
Now my only minor problem with the "alternative rsync" is, that I have to specify the remote rsync on my local rsync command lines like this: "--rsync-path=/opt/bin/rsync". That's a PITA, but that's not too hard.
Update 2013-08-31: en.wikipedia.org/wiki/Ipkg says IPKG was discontinued. en.wikipedia.org/wiki/Opkg is the follower, code.google.com/p/opkg/, but it hasn't really taken off.
Labels:
NAS,
personal favourite articles,
rsync,
Synology
the wikis for the Synology DiskStation
- forum.synology.com/wiki
- www.synology-wiki.de – there is actually also a German wiki
- www.synology-wiki.de/index.php/IPKG – that's where and how I got hold on the alternative rsync
Friday, March 8, 2013
AIX has a limit for cronjobs concurrently being run
Sounds reasonable in a way. But it's rather bad, if you are not aware of it, and your corporate OS Monitoring Services do not remind you of critical entries in the resp. cron log file. They may say something like:
there is crontab entry, that did not get executed, because we exceeded the maximum number of … – maybe you want to fix something hereI suppose, similar limits exist in every UNIX flavour.
Thursday, March 7, 2013
O'Reilly Media book: Take Control of Your Passwords
Take Control of Your Passwords: 
Improve your passwords without losing your cool, thanks to Joe Kissell's expert advice. Start on the path to modern password security by watching Joe's intro video and by checking out our "Joe of Tech" comic in the Contents & Intro tab below (scroll down!).
Read the book to understand the problems and apply a real-world strategy that includes choosing a password manager, auditing your existing passwords, and dealing with situations where automated tools can't help.
"Awesome. You did an amazing job breaking it down. This should be mandatory reading." --Rich Mogull, CEO at Securosis
This ebook helps you overcome frustrations that arise when attempting to design a strategy for dealing with the following password problems:
Read the book to understand the problems and apply a real-world strategy that includes choosing a password manager, auditing your existing passwords, and dealing with situations where automated tools can't help.
"Awesome. You did an amazing job breaking it down. This should be mandatory reading." --Rich Mogull, CEO at Securosis
This ebook helps you overcome frustrations that arise when attempting to design a strategy for dealing with the following password problems:
- 9-character passwords with upper- and lowercase letters, digits, and punctuation are NOT strong enough.
- You CANNOT turn a so-so password into a great one by tacking a punctuation character and number on the end.
- It is NOT safe to use the same password everywhere, even if it's a great password.
- A password is NOT immune to automated cracking because there's a delay between login attempts.
- Even if you're an ordinary person without valuable data, your account may STILL be hacked, causing you problems.
- You can NOT manually devise "random" passwords that will defeat potential attackers.
- Just because a password doesn't appear in a dictionary, that does NOT necessarily mean that it's adequate.
- It is NOT a smart idea to change your passwords every month.
- Truthfully answering security questions like "What is your mother's maiden name?" does NOT keep your data more secure.
- Adding a character to a 10-character password does NOT make it 10 percent stronger.
- Easy-to-remember passwords like "correct horse battery staple" will NOT solve all your password problems.
- All password managers are NOT pretty much the same.
- Your passwords will NOT be safest if you never write them down and keep them only in your head.
Wednesday, March 6, 2013
O'Reilly Media book: ZeroMQ – Messaging for Many Applications
ZeroMQ: 
Discover why ZeroMQ is rapidly becoming the programming framework of choice for exchanging messages between systems. With this practical, fast-paced guide, you’ll learn how to use this lightweight and highly flexible networking tool for message passing in clusters, the cloud, and other multi-system environments. Created by ZeroMQ maintainer Pieter Hintjens and volunteers from the framework’s community, this book takes you on a tour of different real-world applications, with extended examples in C.
Discover why ZeroMQ is rapidly becoming the programming framework of choice for exchanging messages between systems. With this practical, fast-paced guide, you’ll learn how to use this lightweight and highly flexible networking tool for message passing in clusters, the cloud, and other multi-system environments. Created by ZeroMQ maintainer Pieter Hintjens and volunteers from the framework’s community, this book takes you on a tour of different real-world applications, with extended examples in C.
O'Reilly Media book: Head First Python
Head First Python: 
Add Python to your programming skills and have some fun at the same time. Head First Python takes you beyond typical how-to manuals with an engaging visual format that includes images, puzzles, stories, and quizzes that are proven to stimulate learning and retention. You’ll not only learn how Python differs from other programming languages and how it’s similar, you’ll learn how to be a great programmer.
Add Python to your programming skills and have some fun at the same time. Head First Python takes you beyond typical how-to manuals with an engaging visual format that includes images, puzzles, stories, and quizzes that are proven to stimulate learning and retention. You’ll not only learn how Python differs from other programming languages and how it’s similar, you’ll learn how to be a great programmer.
O'Reilly Media book: Opa: Up and Running – Rapid and Secure Web Development
Opa: Up and Running: 
Want to simplify web development? This hands-on book shows you how to write frontend and backend code simultaneously, using the Opa framework. Opa provides a complete stack for web application development, including a web server, database engine, distribution libraries, and a programming language that compiles to JavaScript.
Want to simplify web development? This hands-on book shows you how to write frontend and backend code simultaneously, using the Opa framework. Opa provides a complete stack for web application development, including a web server, database engine, distribution libraries, and a programming language that compiles to JavaScript.
Labels:
OReilly,
software book wishlist,
web development
O'Reilly Media book: Packet Guide to Voice over IP
Packet Guide to Voice over IP: 
Go under the hood of an operating Voice over IP network, and build your knowledge of the protocols and architectures used by this Internet telephony technology. With this concise guide, you’ll learn about services involved in VoIP and get a first-hand view of network data packets from the time the phones boot through calls and subsequent connection teardown.
Go under the hood of an operating Voice over IP network, and build your knowledge of the protocols and architectures used by this Internet telephony technology. With this concise guide, you’ll learn about services involved in VoIP and get a first-hand view of network data packets from the time the phones boot through calls and subsequent connection teardown.
Labels:
OReilly,
software book wishlist,
VoIP
O'Reilly Media book: Learning Java
Learning Java: 
If you’re new to Java, the fourth edition of this bestselling guide provides an example-driven introduction to the latest language features and APIs in Java 6 and 7. Advanced Java developers will be able to take a deep dive into areas such as concurrency and JVM enhancements.
If you’re new to Java, the fourth edition of this bestselling guide provides an example-driven introduction to the latest language features and APIs in Java 6 and 7. Advanced Java developers will be able to take a deep dive into areas such as concurrency and JVM enhancements.
Gregor Purdy's "ltag" perl script lists the symbolic tags … a CVS sandbox directory
Gregor Purdy - Software
Gregor is the author of the o'Reilly book "CVS Pocket Reference" [o'Reilly link].
Gregor is the author of the o'Reilly book "CVS Pocket Reference" [o'Reilly link].
Labels:
CVS,
The Perl Programming Language
Saturday, March 2, 2013
my new NAS (and so much more): Synology DS213+
DS213+ Products - Synology Inc. Network Attached Storage
The box makes itself known as diskstation.local resp. DiskStation on my LAN. (Reliability …)
Of course it deserves a "1 Gbit/s" on my FRITZ!Box.
The box's OS is BusyBox; here are a few more details:
DiskStation> uname -a
Linux DiskStation 2.6.32.12 #2668 SMP Tue Dec 11 13:01:16 CST 2012 ppc GNU/Linux synology_qoriq_213+
I enabled SSH access for my personal user account rather soon, but the SSH login was not instantly successful. I tried "ssh -v", and from there the login seriously looked, as if it was almost successful. My web research wasn't successful either. Rather desperately I enabled "telnet access"; I tried to log in, and this was the result:
SCP works; "rsync over ssh" (with my personal user account) does not work yet:
Perl is not part of its standard equipment, but Python apparently is,
Through their Download Center I found this FTP server link. You can find various software for their boxes on their. There are also Perl installation packages, but the ones I tried are not for the current firmware release of "my" box, and in a way I am not up for an upgrade to beta software for my NAS.
(For now I summarised here everything I have tried so far, so I will be able to procede from here.)
A few more links:
To be continued …
The box makes itself known as diskstation.local resp. DiskStation on my LAN. (Reliability …)
Of course it deserves a "1 Gbit/s" on my FRITZ!Box.
The box's OS is BusyBox; here are a few more details:
DiskStation> uname -a
Linux DiskStation 2.6.32.12 #2668 SMP Tue Dec 11 13:01:16 CST 2012 ppc GNU/Linux synology_qoriq_213+
I enabled SSH access for my personal user account rather soon, but the SSH login was not instantly successful. I tried "ssh -v", and from there the login seriously looked, as if it was almost successful. My web research wasn't successful either. Rather desperately I enabled "telnet access"; I tried to log in, and this was the result:
login: can't run /sbin/nologin: No such file or directoryIt was clear then, that the default shell in the /etc/passwd entry for my user account was in my way /sbin/nologin so far. I made /bin/ash the default shell and everything was fine. Of course, I disabled telnet access again thereafter. And of course, once I added "nologin" to my web query, I found a few articles describing the issue.
SCP works; "rsync over ssh" (with my personal user account) does not work yet:
$ rsync -va --rsh='ssh -l root' /etc/motd diskstation:tmp/ # works$ rsync -va /etc/motd diskstation:tmp/ # fails
sending incremental file list
ERROR: module is read only
rsync error: syntax or usage error (code 1) at main.c(1034) [Receiver=3.0.8]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.8]
Fiddling with /etc/ssh/sshd_config – I really don't know, what to change in order to overcome this obstacle.
Perl is not part of its standard equipment, but Python apparently is,
Through their Download Center I found this FTP server link. You can find various software for their boxes on their. There are also Perl installation packages, but the ones I tried are not for the current firmware release of "my" box, and in a way I am not up for an upgrade to beta software for my NAS.
(For now I summarised here everything I have tried so far, so I will be able to procede from here.)
A few more links:
- http://forum.synology.com/wiki
- http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have
- http://www.synology-wiki.de/index.php/Welchen_Prozessortyp_besitzt_mein_System%3F (this article gives us an IPKG link for the DS213+)
To be continued …
AVM's LTE Router: FRITZ!Box 6842 LTE
FRITZ!Box 6842 LTE
As opposed to its elder FRITZ!Box LTE siblings (6810, 6840) this one supports 3 bands:
As opposed to its elder FRITZ!Box LTE siblings (6810, 6840) this one supports 3 bands:
- 800
- 1800 – that's the band, that Deutsche Telekom supports in German major towns like Berlin and Hamburg
- 2600
conrad.de announced the availability on … for …:
- 2013-03-22: "available"
- … 2013-03-11: 2013-03-13
- 2013-03-13 .. ___ : 2013-04-03
Update 2013-03-27:
Good news: You don't need a dedicated LTE SIM card provided by you telecom company, I plugged the SIM card from my 3G Android tablet into this FRITZ!Box, and it just worked.
I love to see the familiar web GUI of the AVM FRITZ!Box.
Rather interesting and actually annoying to see the many LTE disconnections logged by the FRITZ!Box. Maybe the technical connection quality going through the LTE FRITZ!Box is not really better than going through the 3G Android tablet. Maybe I should have sought the 3G connection / disconnection / tethering log file on the tablet a little better. But seeing this log displayed on the FRITZ!Box GUI is just overwhelming. Maybe one day I will use it not just as a 4G Mobile Internet router.
Friday, March 1, 2013
my new file server
Producers
- synology.com (preferred)
- qnap
- drobo (good, but too expensive)
They all offer some kind of flexible disk mirroring with non-identical disks resp. disk sizes.
Main criteria:
- mini tower, not rack
- …
My colleague's good advice: Use Samsung disks!
Apparently "they all" have hardware compatibility lists, i.e. they don't work with every disk.
I think, it will be this one: Synology Diskstation DS213+ NAS System 6TB (2x 3TB WD Red für NAS WD30EFRX). This is the one I got today.
Apparently "they all" have hardware compatibility lists, i.e. they don't work with every disk.
I think, it will be this one: Synology Diskstation DS213+ NAS System 6TB (2x 3TB WD Red für NAS WD30EFRX). This is the one I got today.
Wednesday, February 27, 2013
The Pragmatic Bookshelf: Explore It! Reduce Risk and Increase Confidence with Exploratory Testing
Explore It!: 
Uncover surprises, risks, and potentially serious bugs with exploratory testing. Rather than designing all tests in advance, explorers design and execute small, rapid experiments, using what they learned from the last little experiment to inform the next. Learn essential skills of a master explorer, including how to analyze software to discover key points of vulnerability, how to design experiments on the fly, how to hone your observation skills, and how to focus your efforts.
Uncover surprises, risks, and potentially serious bugs with exploratory testing. Rather than designing all tests in advance, explorers design and execute small, rapid experiments, using what they learned from the last little experiment to inform the next. Learn essential skills of a master explorer, including how to analyze software to discover key points of vulnerability, how to design experiments on the fly, how to hone your observation skills, and how to focus your efforts.
Dynamic Kernel Module Support = DKMS - Wikipedia, the free encyclopedia
Dynamic Kernel Module Support - Wikipedia, the free encyclopedia
Apparently VirtualBox (in the old days?! 2003) Linux guests needed that package installed. And also "kernel-source" and "kernel-syms".
Looks like it's a little outdated in 2013.
Apparently VirtualBox (in the old days?! 2003) Linux guests needed that package installed. And also "kernel-source" and "kernel-syms".
Looks like it's a little outdated in 2013.
Labels:
Linux,
openSUSE,
VirtualBox
VirtualBox: networking guest:guest and guest:host
virtualbox.org • View topic - host-only networking -- default route?
I had started with the "NAT" networking approach, but I soon got aware of its restrictions. So I started exploring other options. But I got stuck with my now favoured approach ("host-only", but the name is a little misleading), so I am trying to find the answer in the community.
I had started with the "NAT" networking approach, but I soon got aware of its restrictions. So I started exploring other options. But I got stuck with my now favoured approach ("host-only", but the name is a little misleading), so I am trying to find the answer in the community.
Labels:
Linux networking,
VirtualBox
Tuesday, February 26, 2013
"Mini DisplayPort" - Wikipedia, the free encyclopedia
Mini DisplayPort - Wikipedia, the free encyclopedia:
With a suitable adapter, Mini DisplayPort may be used to drive displays with a VGA, DVI or HDMI interface.
Labels:
Apple
Pre-Built VirtualBox VMs for Developers
VirtualBox VMs for Developers
This one looks particularly well-suited for excercising your Oracle DB skills:
It includes: Oracle Database 11g Release 2 Enterprise Edition.
This pre-built VM gets you around the hassle of setting up that beast
This one looks particularly well-suited for excercising your Oracle DB skills:
It includes: Oracle Database 11g Release 2 Enterprise Edition.
This pre-built VM gets you around the hassle of setting up that beast
- on your OS,
- or even worse: under an OS derivate that you are not perfectly familiar with,
- or somewhere, where you simply don't want to have it.
I would certainly love to make use of this DB server from within the VM host or other VM sibling guests.
Labels:
Oracle,
relational databases,
virtual machines,
VirtualBox
Monday, February 25, 2013
perl CPAN: Cvs - object oriented interface to the CVS command
Cvs - Object oriented interface to the CVS command - metacpan.org
It also has a nice module_list method. I would love to know, how to that on the command line outside this module.
It also has a nice module_list method. I would love to know, how to that on the command line outside this module.
Labels:
CPAN,
CVS,
The Perl Programming Language
Lars von Trier's music short film for "Bakerman" performed by "Laid Back"
This short film for this tune by Laid Back made me hot for skydiving after 1989. I assume, it got shown a lot then on MTV.
"Sagabona (resp. Sawubona) – kunjani – wena" = "Hello, how are you?" in the Zulu language. (Here you can find a forum thread in german on that sentence.)
I was quite astonished to find Lars von Trier as director for the short film in its credits.
Labels:
music,
parachuting,
skydiving,
YouTube
Sunday, February 24, 2013
how to list all "projects" in a CVS repository
We achieve that enquiry using the below recipe.
The (files and) directories below the project root are called projects.
Now here is the recipe:
It is a simulated update of the repository root.
I got this recipe from here.
The (files and) directories below the project root are called projects.
Now here is the recipe:
# First check out (non-recursively, i.e. "locally" (= "-l"))You may want to get rid of that auxiliary location again; I personally keep ~/cvswork/Temp "permanently", so I can always run the above "cvs -n update -d" in there.
# the root "project" of the repository (i.e. ".")
# to some auxiliary location (e.g. Temp, CAVEAT: checkout's "-d" does not take absolute pathnames),
# so we have the necessary metadata in CVS/:
$ cd ~/cvswork
$ cvs -d ROOTDIR checkout -l -d Temp .
# Then simulate an "update with directories only" of that folder:
$ cd ~/cvswork/Temp
$ cvs -n update -d # create directories / dry run
It is a simulated update of the repository root.
I got this recipe from here.
Labels:
CVS
GNU Emacs: how to activate time stamps?
Time Stamps - GNU Emacs Manual
My recipe:
My recipe:
(add-hook 'write-file-hooks 'time-stamp)I actually think, I already bookmarked this recipe on my blog a while ago, but I cannot find it.
Labels:
emacs
Subscribe to:
Posts (Atom)