Friday, November 15, 2013

Hibiscus Payment Server – HBCI banking

With the hibiscus-server running on (let's say) your current machine at port 8080 (AKA https://localhost:8080), you have a few rather useful services available:

I would love to see this running on my Synology NAS at home with plenty of Internet bandwith available, so that I can get my bank account transactions updated over the Internet a few times each day.

These days Synology does not supply Java on their devices – I assume, they do not want to get officially bothered with Java difficulties on their devices. But still here I found a description of how to install Oracle Java SE on a Synology NAS:
Wth the "https://localhost:8080/webadmin/rest/hibiscus/konto/…" REST services listed above I get hold off account data rather, rather easily like this:
$ curl --sslv3 --insecure \
    --user jameica:PASSWORD \
    https://localhost:8080/webadmin/rest/hibiscus/konto/list
Now I prefer developing software using Perl, and I will make use of the JSON lists in Perl, and that should be rather easy. I think, I am going to abandon my web-scraping scripts in Perl, once all this is in place. Web-scraping banking web-sites is a rather tedious business, whereas HBCI is a confirmed banking standard in this country (Germany), and I consider the Hibiscus Server as a rather either way to deal with the HBCI Moloch AKA FinTS.

…:

Thursday, November 14, 2013

wiki URL shortening with MediaWiki and Apache

https://www.mediawiki.org/wiki/Manual:Short_URL/Apache

I would really like to achieve that with my recently set up wiki, but so far to no success.

Apple just suggested, that I should update X11 on Mavericks

http://xquartz.macosforge.org/downloads/SL/XQuartz-2.7.5.dmg

I would love to do it immediately, but I guess the DMG is big and I shouldn't do it through mobile phone Internet.

SEPA = Single Euro Payments Area

No Starch Press book: Perl One-Liners

Perl One-Liners:
Perl One-Liners
Perl One-Liners showcases 130 short and compelling lines of code that do all sorts of handy, geeky things.
read more

No Starch Press book: Ruby Under a Microscope

Ruby Under a Microscope:
Ruby Under a Microscope
Ruby Under a Microscope gives developers a fascinating, behind the scenes look at Ruby's core.
read more

changing Perl code I inherited

  • Created a subMain.
  • There were a lot of "my"-s outside any subroutine, moved them as "our"-s to subMain – not the same visibility, I know. 
  • Outside subMain these "our"-s need to get accessed as "main::…".
  • But actually we don't like global variables at all, so pass them as parameters or …
  • …

if I needed very nice notebook hardware to run Linux: MALIBAL Nine X570SE

http://www.malibal.com/notebooks/nine-x570se/

Zarafa is the name of a European open source groupware application


Would be interesting to run it
  • on a (Synology) NAS – "busybox" on a variety of CPUS
  • or on a Raspberry Pi – e.g. Debian Wheezy
  • or …

Synology DSM 3rd party packages – this list does not show the platforms the packages are available on

http://www.synology.com/dsm/dsm_app.php?lang=enu#dsm_app_content_tabs_by_3rd_party
E.g. https://en.wikipedia.org/wiki/Zarafa_(software) is only available on ARM and x86 based platforms, and the list doesn't say that.

Wednesday, November 13, 2013

migrated a Korn shell script using "Extended Pattern Matching" to bash

https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html

I had to "shopt -s extglob" for that.

I inserted the shopt line rather close to the case statement, where the Extended Pattern Matching gets employed. That was inside a loop. That had no effect, but it didn't say so. I rather threw some weird error messages. I reduced the code around the causing line to its minimum, occasionally moved the shopt to outside the loop, and it worked. If it had only been that straigt …

SSH: if your public keys do not get accepted by the remote side, but (you think) they are in your remote authorized keys file, …

… check, whether the remote side considers authorized_keys or authorized_keys2:
# supposedly only one of them exists:
$ fgrep AuthorizedKeysFile /etc/ssh/sshd_config /etc/sshd_config
AuthorizedKeysFile .ssh/authorized_keys
This is certainly just one possible reason, if public keys do not get accepted by the remote side.

For a couple of weeks I got asked the remote password instead, and I did not understand why. My local public key was properly listed in the remote .ssh/authorized_keys2, but only today I took the time to investigate the issue, and I got reminded of this well-known reason: my remote .ssh/authorized_keys2 simply did not get considered at all. The remote ssh looks at my remote .ssh/authorized_keys, because it got set up like that – see above!

Wednesday, November 6, 2013

Synology® Releases Its Latest 2-Bay High Performance NAS for Small Business – The DS214+

Tuesday, November 5, 2013

the bash's "nullglob" is rather nice to use

http://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html

w/o this command line:
$ shopt -s nullglob
a glob pattern, that does not successfully evaluate to existing file names, gets literally resolved to a file name identical to the glob pattern.
With the above command line executed already, this command line will print file infos of /etc/passwd and ignore the unsuccessful other two glob patterns:
$ ll /etc/passwd /etc/passwd? /etc/passwd??
In interactive mode you may want to see the error messages, within a shell script supplying all three parameters to a "for f in …" loop, you will want the unresolving ones to get ignored.
$ for f in /etc/passwd /etc/passwd? /etc/passwd??; do echo $f; done
Well, at least in my script today I found this option rather useful.

I tried to find something comparable in the Korn Shell, but I wasn't successful.

"Synology unleashes its most affordable 2-bay NAS ever, the DS214se for $160" says 9to5toys


You may want to compare the specs of the DS213+ and the DS214se. I still quite like to own the DS213+.

Thursday, October 31, 2013

the Emacs tramp mailing list and gmane


Emacs and VC AKA Version Control

http://www.gnu.org/software/emacs/manual/html_node/emacs/Customizing-VC.html

I am working for a customer
  • on WinXP
  • with GNU Emacs 24.2.1
  • through Tramp
  • resp. putty plink ("pscp")
  • on AIX files.

They are using CVS on AIX, but as I am actually the only Emacs user there, I don't really bother going through the set-up for using Emacs with CVS on WinXP.

Recently I looked into *tramp/pscp HOSTNAME*, and I decided I would be able cutting down on my waiting time, if I drastically reduced the list of files and directories being checked through VC in that environment.

I really don't mind the VC overhead on OS X or (SUSE) Linux, but in that difficult environment I rather want to proceed as described.

I found vc-handled-backends and customized it the Emacs way, and I was done.

Wednesday, October 23, 2013

created utility "cvsgrep" from "rcsgrep" shipping with O'Reilly's "Unix Power Tools" (the code TAR ball)

Derived cvsrevs from rcsrevs, and cvsgrep from rcsgrep. This is really nice!! Imagine this:
$ cvsgrep -a SEARCHME files…


I knew,  rcsgrep and sisters would be very, very useful.

svngrep should be quite useful as well.

OS X Mavericks' privacy default: "Send diagnostics & usage data to Apple"

No, I don't want to get crash reports sent out automatically, no, no, no!

downloaded and installed the latest OS X 10.9 AKA "Mavericks" last night – you get it for free from Apple

https://itunes.apple.com/de/app/os-x-mavericks/id675248567


These applications are experiencing trouble now after installing OS X 10.9:

Monday, October 21, 2013

VirtualBox vs iSCSI

iSCSI supposes Gigabit LAN, so that's a good reason to replace my last non-Gigabit FRITZ!Box by a Gigabit one.
Somebody will get my last FRITZ!Box 7270 (non-Gigabit), and I will get me a new FRITZ!Box 7490.

O'Reilly Media book: Programming PHP, 3rd Edition

Programming PHP, 3rd Edition - O'Reilly Media

O'Reilly Media book: PHP & MySQL: The Missing Manual, 2nd Edition

PHP & MySQL: The Missing Manual, 2nd Edition - O'Reilly Media

O'Reilly Media book: Effective Akka

Effective Akka
Avoid common mistakes when building distributed, asynchronous, high-performance software with the Akka toolkit and runtime. With this concise guide, author Jamie Allen provides a collection of best practices based on several years of using the actor model. The book also includes examples of actor application types and two primary patterns of actor usage, the Extra Pattern and Cameo Pattern.

O'Reilly Media book: HTML5 Pocket Reference

HTML5 Pocket Reference
Need help finding the right HTML5 element or attribute for your web page or application? HTML5 Pocket Reference is the classic reference that web designers and developers have been keeping close at hand for more than thirteen years. This fifth edition has been updated to reflect the current state of HTML5, including the HTML5 Candidate Recommendation, the emerging HTML5.1 Working Draft, and the living WHATWG standard.

crime story "Sebastian Bergman" from Sweden on public TV sender in Germany



As opposed to the reviewers on IMDb I like the stories (broadcast on 2013-10-13 and 2013-10-20 on ZDF.de) – although just as a simple-minded viewer.

(I am writing this in English, as all the articles referred to are in English, too.)

PacktPub book: Nokogiri by Hunter Powers

http://www.packtpub.com/article/nokogiri
In this article by Hunter Powers, author of the book Instant Nokogiri, you will get an insight about Nokogiri the open source library to parse XML and HTML in Ruby.

O'Reilly Media book: Oracle Essentials

http://shop.oreilly.com/product/0636920027737.do
Written by Oracle insiders, this indispensable guide distills an enormous amount of information about the Oracle Database into one compact volume, including a valuable overview of Oracle Database 12c. Ideal for novice and experienced DBAs, developers, managers, and users, Oracle Essentials walks you through technologies and features in Oracle’s product line, including its architecture, data structures, networking, concurrency, and tuning.

O'Reilly Media book: Learning R

http://shop.oreilly.com/product/0636920028352.do
Learn how to perform data analysis with the R language and software environment, even if you have little or no programming experience. With the tutorials in this hands-on guide, you’ll learn how to use the essential R tools you need to know to analyze data, including data types and programming concepts.

O'Reilly Media book: Microinteractions: Full Color Edition

http://shop.oreilly.com/product/0636920032496.do
It’s the little things that turn a good digital product into a great one. With this full color practical book, you’ll learn how to design effective microinteractions: the small details that exist inside and around features. How can users change a setting, or know they have a new email message? You’ll quickly discover how microinteractions can change a product from one that’s tolerated into one that’s treasured.

O'Reilly Media book: High Performance Browser Networking



How prepared are you to build fast and efficient web applications? This eloquent book provides what every web developer should know about the network, from fundamental limitations that affect performance to major innovations for building even more powerful browser applications—including HTTP 2.0 and XHR improvements, Server-Sent Events (SSE), WebSocket, and WebRTC.