Autorpascal

Automatically update/download series in Plex on a Synology Server

What a hassle; every day/week, I needed to check, if I could download my favorite series from http://serienjunkies.org. Waiting for some good souls to add them.

And I thought for a long time, how great it would be, if this could be done automatically. And there is a solution. Thanks Beni!

It’s not completely free, but today I still have expenses. To download the files from serienjunkies, I needed an account from uploaded.net which costed 70€ per year.

The new solution works with the Usenet and here you need an account. This cost me 95.40 US$ a year. So, it’s a little bit more expensive than the other solution, but it also comes with a VPN service which even works on my iOS devices.

What is Usenet? Usenet intimidates many people, if they have even heard of it.  It has always been known the first rule of Usenet is you don’t talk about Usenet, but the cats out of the bag now and it’s time to get involved. Usenet is an online service that is in a sense a massive message board system. There are thousands of different message boards discussing a vast array of topics on Usenet and also boards that supports binary (file) posts. This means there are EXABYTES of data available on Usenet, with the content base growing by Terabytes A DAY! Even with all this Usenet has never really garnered mainstream attention the way that other file sharing services have, and that is in a way a good thing; but I’m going to make you want into the club! This definition and more explanation you can find here: http://www.totalhtpc.com/TheCompleteUsenetGuide.pdf. But don’t buy the services they offer there!

What is required?

  1. A Usenet account. I’ve chosen “usenetserver.com”, which costs 95 US$ a year.
  2. A Indexer account: I’ve chosen “nzbgeek.info”, which costs 30 US$ for lifetime pass.
  3. Synology: Add in the packet center http://packages.synocommunity.com/ as a source.
  4. Synology: Install “NZBget” from SynoCommunity
  5. Synology: Install “Sonarr” from SynoCommunity

 

There will also some additional packages installed, just let it happen. If Sonarr doesn’t want to start after installation, restart the Synology. I helped in my case.

The Indexer account is required, because as it name says it indexes the Usenet for your content.

What is Sonarr? It is designed to organize your episode files on disk, for consumption by Plex. It also talks to your download client (Usenet and torrents) and their corresponding indexers to watch for episodes you’re missing to send them to your download client for download. But we don’t want to use torrents, because those downloads can be tracked…

Sonarr is the main app which does all the work. The only thing left is to set it up and also to set up NZBget.

Open Sonarr in your browser. And go to “Settings”.

In “Settings” you can go through all submenus once it’s running. First you need to set up the “Indexers”, the “Download client” and the “Connect.

Indexers: Click on the plus and choose “Newznab” with the preset for NZBgeek.

In the dialog for the settings, add the API key, which you can find in your nzbgeek.info account. This API key you only get, when you have the “Forever Geek Pass” status which costs 30 US$. Always “Test” the connection! Btw: Shown is not a valid key! 😉

Download Client: Add “NZBget” and fill out the information in the dialog. The username/password are the ones you have chosen when you installed NZBget on your Synology. Always “Test” the connection!

Connect: Add “Plex Media Server” and fill out the information in the dialog. The username/password are the ones you need to connect to your Plex account. Always “Test” the connection!

The settings in Sonarr are done.

 

Let’s go to NZBget.

Open NZBget in your browser. Go to “Settings” and there to “NEWS-SERVERS”. Enter the information you’re your usenetserver.com account. Open this port in your Firewall! Click on “Safe all changes”. That’s it.

Go back to Sonarr.

When you click on “Series” then it is empty. Click on “+Add Series” to add them. Important is to set it to “Monitored” so Sonarr downloads new episodes automatically. Set the correct path to your series on your Synology.

Sonarr then checks with your Plex server if you have already some episodes and shows their status. It should show you something like this. The color codes are described at the bottom of the page.

It even shows you a “Calendar” with your series and the download status.

When you go to the “Wanted” section, then all missing episodes are shown. Click on “Search All Missing”, if you want to manually force Sonarr to look for them. Once they are found, it will be sent to NZBget and shown in “Activity”.

That’s it, have fun with your series.

 

By the way: If you want to do something similar with movies, then use Radarr. It’s a Sonarr fork which handles movies. So, you can have Radarr looking for you movies even month before they are available. Once they are available, you will get them first. To further extend the automation, I connected it to my “CouchPotato” (also on my Plex) and “Trak list” on the web. Just google yourself into this. The settings are very similar to Sonarr.

Export Excel to XML including length limitation and comments

In my previous post I showed how to handle XML comments in SDL Studio. Everything builds on my “standard” XML file with a very simple structure.

As you know life is sometimes not so easy and many people can’t create a XML file from their preferred tools. Most the time we actually get Excel files for translation. Recently there was the demand also to enforce length limitation in Excel sheets.

The good news is that this can be achieved quite easily, if you know how to do it. The ingredients for this are a XML file in the standard you would like to have and the Excel file itself.

 

The XML file has the known structure and one <Item> line would be enough.

 

Open the “Developer” tab in Excel.

 

Click on “Source”. The XML Source window opens on the right. Click “XML Maps…”.

 

Click “Add…” and choose the sample XML “Sample.xml”. Close with OK.

 

The XML structure is shown.

 

Now you need to grab the XML elements in the right window and place it on the corresponding cell in Excel.

So in this sample, drag “Ident” and drop it in cell A1. Grab “maxlength” and drop it in cell B1. Grab “<value> and drop it in cell C1. Grab “Comment” and drop it in D1.

 

 

The Excel should look like this:

 

Go back to the “Developer” tab and press “Export”.

Store the XML with any name you like.

Finished! Almost…

 

Open the XML to verify the content. The content from the Excel file is now in the XML.

 

Now you can process the file in Studio with the filter described in the last post.

 

If required, change the mapping before the import. My sample Excel has a different column for the target. So right-click on “<value> and choose “Remove element”. Then drag “<value>” and drop it on target.

 

 

The Excel looks now like this:

 

Import the translated XML file.

 

Done!

Here are the sample files: EXCEL_Sample

 

.over-and-out

XML comments in SDL Studio

How to parse a XML file to interpret a maximal file length was described in an earlier post. We continue to work with this file. A sample XML is included in the zip-archive at the end of this post.

Now we are looking how to show comments in this file in Studio, so the translators can see the additional information.

A good introduction into this topic you can find in Paul Filkin’s Blog https://multifarious.filkin.com/2013/02/22/translate-with-style/.

As he states, in Studio there is only the possibility to show the comments in the “Preview” pane. If you don’t have any stylesheet referred, then the XML source code is shown. As you might know translators, the minority are good with code, so they will struggle to find the information. Especially in a huge document, it will be very painful. But Paul has shown in his blog how to format the preview and only show the required information.

With this help I created a XSL stylesheet (Style.xsl) which will work with my XML file.

Now you just need to refer to the XSL file in the Studio filter settings. By the way: Once you selected the XSL file, the file is uploaded to the filter. Any later changes of the XSL file need to be uploaded again.

The finished filter for Studio (XML-Lenght_limited-Comments_in_preview.sdlftsettings) is also included in the zip-archive at the end of this post.

So, when you create a new project in Studio and import the XML, the preview in Studio looks like this:

 

You can open the preview pane on the right-side tab or in the top menu.

The next step is to export the filter settings (XML-Lenght_limited-Comments_in_preview.sdlftsettings). We can use this file to create the filter in WorldServer. Unfortunately, after the import to WorldServer, it shows that the “Preview” setting is not available. This is another misalignment of the file type filters in Studio and WorldServer.  But the XSL is still there…

Hi Ray! One more thing I need to get fixed… 😉

 

When you create now a Translation Kit from WorldServer and open it in Studio, it will show the comments in the way we had planned in the beginning.

If, one day SDL, will align their filters, then we can even change the XSL sheet directly in WorldServer. One day…

Download zip-archive

 

. over-and-out

 

 

France is in the Air and Journeys full of inspiration

My recent business trip to China is over and I disappointed me so much that I need to write down my experience.

Actually I was looking forward to my trip, since I decided to choose some other airline then Turkish, which are great, but right now I’m a bit too afraid to travel over Istanbul. As always my company only pays travels in economy class, which are quite painful on long-haul flights of +11 hours. So we looked at some offers and I decided that the combination of traveling eastbound with Air France and westbound with KLM looked most promising. Finally, I can fly on an Airbus 380 and on the way back take maybe one of the last times the old lady, the Boing 747.

ZRH-CDG-PVG

I’m aware that you can always pay a surcharge to get a preferred seat. So when the online check-in opened I payed some extra money from my pocket to get a better seat in the Airbus 380. For the short trip from Zurich to Paris, I did not bother.

I arrived on time at the airport and checked in. What I realised, was the they were particularly paying attention about the weight of my hand luggage. But since my suitcase was 10 kilos below the max, they accepted a 2 kilos plus on my hand luggage. How nice of the check-in crew. But to move 2 kilos to my main luggage would also not have been a problem. I rushed to the gate and had some dinner at the airport. So far so good.

Unfortunately, at one point the same lady from the check-in – now working at the gate – informed all the guests, that the plane would have about 20 min delay since late arrival of the previous flight, but all connection flight still could be made. I’ve got a quite positive attitude, but that made me already a bit nervous. The plane left Zurich about 20 to 30 minutes to late, but I was still early enough to catch my connection flight. Just before landing I spoke to the flight attendant and she confirmed that we still would be able to catch the flight and somebody would be waiting at the gate and accompany us to our gate. So far so good, again. We landed and taxied to the Gate, where the plain suddenly stopped. After standing 5 minutes on the same spot, the captain informed us, that we could not get to the gate, because another airplane would still be there. I started to worry and also questioned myself why a plain was on our spot, since this spot should have been empty for at least 30 minutes and why there are no other gates available. After 15 to 20 minutes, I did not time it exactly to other plain left and we could finally get to the finger dock.

Of course when I disembarked the airplane, there was nobody waiting for us. So all long-haul passengers started to run down the unbelievable long corridors trying to get the flight.

When I finally arrived at the gate, I could see my Airbus 380 still docked. But the French ground crew told me that the boarding was finished and I could not enter the plain anymore. F*%@! They just mentioned that I could anyway not have boarded the flight, since my luggage did not make it. C’mon you can take someone else for a ride, since when is every luggage going together with the owner? Or what happens with lost luggage? Anyway, the crew walked with us to the transfer desk in a speed of a turtle. Once I arrived there, I got a voucher for the IBIS Hotel at the airport. Since I was running almost through half of the airport, I ask how I could get my luggage to grab some fresh clothes. The ground crew answered to me very unsympathetic that the luggage could not be retrieved since the people responsible for this already stopped working. Gimme a break: It was around 23:30 and not 2 o’clock in the night. I only got an overnight box with some sanitary products and a white t-shirt in a lousy quality. The t-shirt was see through so cheap fabric was used and could only be used as a pyjama top. Thankful I’ve had my medication in my hand luggage. They offered some food, but as it was not ready and I would have had to wait for it, so I gratefully rejected it. Air France also told me, that I was already booked on the next flight the next day. So instead of arriving on Monday afternoon and just getting to the hotel to sleep and start my meetings on Tuesday. I would arrive on Tuesday morning, stinking und tired and had to drive directly to work to be able to start meetings after the lunch break. Needless to say all the troubles with rebooking drivers, hotels and meetings. Of course there were no more preferred seats available and to get my money back and also to get compensation, I would need to fill out a form on the Air France website.

The way out of the terminal and to the hotel at the next terminal took more that 30 minutes. I felt like in a labyrinth. I arrived at 00:05 at the Hotel, what was ok, then the voucher was only valid after 00:00 o’clock. I think the airline get then better rates… But at this time all the restaurants or bars where closed. The hotel room has another story to tell. I did not expect much from a worn down IBIS airport hotel. Living from stranded guests, the standards have not to be high to get customers… One thing I need to mention. The toilet! I don’t know what kind of stuff the architect or the sanitary planners have smoked, but how should you be able to sit on the toilet if it’s mounted next to a bent wall. Getting narrower at the front. Hotel guests have to sit in a 45° angle on the toilet which is very uncomfortable since my but is designed symmetrically and has no 45° offset. After a pretty unspectacular night, I had breakfast a little bit late, but still one hour before closing. But a lot of the products had gone, empty bowels were missing and the mess on the table showed that many people had missed some connection flights. But I also survived this and for the emergency I had some “Imodium” with me. I just did not expect to maybe have to use it in Europe…

I also had the time to fill out the web form on the Air France website and I must say Air France does the best to make it as difficult as possible to find the information about compensation. Just “easy” enough that you can not say that it is intentional so difficult to find. But elderly people would have had no chance. So I’m asking for 600€ compensation (as the EU regulations say) and the 44 CHF for the preferred seat.

Finally, I got back to the airport and went to the pass control or better to say to the hand luggage checker before it. They wanted to weight my hand luggage and told me it was to heavy and I had to put it on the plain. Only after I insisted, asking for the manager and told them that it was ok in Zurich, since my other luggage was 10kg below the allow maximal weight, and I was forced to leave the airport since Air France had some operational problems, I could enter the passport control with the 14 kg of hand luggage .

The flight then was ok, when you like to be in a tin can. It was not more an Airbus 380, but a Boing 777. The ratings at SeatGuru.com for the 777 were not brilliant. The inflight entertainment program was not overwhelming, but I also could watch some French classic movies with J.-P. Belmondo from my childhood. What Air France did really well is the safety instruction movie. If you don’t know it, watch in on YouTube. Best so far. I also would recommend the Air France management to travel a long-distance-flight in economy class. But not in a brand new plane, instead in a nicely used configuration. I bet you would feel the same pain on your but, as we all do, because the seats are worn out and you can feel some metal bars. Sitting and sleeping in this chair for over 11 hours is torture.

So finally I arrived in China and even my luggage arrived.

 

PVG-AMS-ZRH

New airline, new luck. Nope.

It started already when I tried to check-in online around 23 hours before the flight. The best upgrades were already gone. So the only two premium seats available were at an emergency exit. So I reserved one of those and proceeded to the check-out to pay for it. Unfortunately, the booking system had an error and could not process my booking or the chance of the seat. I was sitting in a middle seat on the side, actually 37J. A nightmare and I was not looking forward to my flight. After my terrible experience with Air France I had now some troubles again, even before the journey started. I don’t know if I have to blame KLM for the problems or the Chinese firewall, but the online check-in didn’t work properly.

Arriving at the airport, of course all preferred seats had gone. What else was I to expect? Also to mention is that KLM is leaving at Terminal 1 at Pudong Airport. That’s the creepy pre-version of the developed Terminal 2. So after going through multiple security checks (my luggage got scanned 3 times) and about 10 wipes for explosive material. I got to the gates of Terminal 1. My plan was to diner there since my flight would only leave in about 3 hours. Well that’s what I normally do in Terminal 2. But you can only diner, if you can find food you like or restaurants which do not look like food poisoning. It looked as from this terminal only some local flights to Macao, Korea and other small Asian countries left and of course KLM to Amsterdam. This is why the food was so lousy. Maybe they had no space for a 747 on Terminal 2. I will never find out. At the end I got an overpriced and slightly burned sandwich and a mineral water. And no, Starbuck is not a restaurant, it’s a coffee shop. So they do not count! The last security control actually confiscated my Victorinox Swiss Card which I have with me since 10 years. Also a few times before to China in my hand luggage. Now they decided that a knife with a 2 cm blade and a scissor with even a shorter blade was a risk for the safety. They told me that I could go back to the check-in and put it in the normal luggage. But since my luggage was already checked-in, it would have meant to be in a second luggage for a nice surcharge…

Back to the boarding process. When boarding the plane, the ticket got controlled 3 times on 3 different check-points. Well it looks like the over 1 billion Chinese need to be occupied.

Finally I sat in the airplane. Seat 37J, in-between two other adults. Then the next shock. The seat was even worse than the one at Air France. Really worn out. By the way KLM, if you wonder which plane it was, it was the “Hongkong”. Here the same advice for the management. Fly 11 hours in economy class and you will learn what agony is. The seat also did not get back to the upright position itself after pressing the button on the armrest. You had to pull it back. That’s how worn our this seats are. The next surprise was the electronic box for the entertainment system which was placed unter the middle seat in front of me. So off we go with another 5 cm of my legspace.

I touched the screen of the entertainment system and nothing happens. Until I found out this was no touchscreen. I needed to grab a remote control out of my armrest to control it. How old fashioned. Why did KLM stay the early 2000’s? After getting an understanding of the system and learning that the buttons need to be pressed really hard to work, I got very disappointed about the available movies. I have not seen such a bad and small collection in years. But this must be a problem of the old entertainment system… So I finally I found a movie I was willing to watch. Only to realize that the headphone output of Seat 37J had a loose contact and a naughty beep on it, like there was something wrong with the potential (–> service advice note for KLM!). So I decided to shut down the system and use my own entertainment system. As a frequent traveller, you are prepared for something like this. But if I had not my own device with me, it would have been a tragedy. Naturally this old entertainment system did also not supply a USB port to charge my phone. But also for this I was prepared with a power pack. And now you’re wondering why my hand luggage is so heavy. By the way from my next travel on, there will also be a fresh set of clothes. I learned my lessons from Air France. As always the crew did it’s best to make us the passengers happy.

We arrived on time in Amsterdam even we drove around 15 minutes on the tarmac. At least the captain had fun when he mentioned, that the runway will be between Shanghai and Amsterdam. Arrived at the airport, there was a 30 minutes journey to the new gate for the flight to Zurich.

Boarding time had already passed for a few minutes, when the ground crew told us to change to another gate, due to technical problems of the airplane. My thoughts were just that this can not be true. Instead of boarding the plane by a finger dock, we got a sightseeing bus ride to the tarmac were the replacement airplane was waiting. We entered the plain and when the flight attendant started to close all the overhead lockers, I asked her if the boarding was complete and I could change to the seats on the emergency exit one row before me, since they were empty. Her answer shocked me. She told me that this were preferred seats and you could only sit there if you pay for it. I replied to her if safety or economics are more important, since there would be nobody to operate the emergency exit door. She froze and I could see that she became aware of the meaning of my statement. But only after she asked the chief purser, I was allowed to change seats. Dear management of KLM: Selling emergency seats for profit is understandable, but how can you make sure that people will be there to operate the doors in an emergency? Above you can see how the seats looked during the flight.

The flight itself was unspectacular. Positive to mention was the captain who told us before we started what the reason for the change of the airplane was. This was for me very professional. We landed with a bit of delay in Zurich and with this I could close my one-week journey.

Almost. After I landed, I saw the reply from Air France about my compensation and the lost money for the preferred seat. A standard answer declining everything because there were extraordinary circumstances. I will not accept this and will fight for my rights. I don’t think a occupied finger dock is an extraordinary circumstance. I always got my rights until now. Even with Easyjet! So let’s put down the coating…

 

.over-and-out

Hinter der grossen chinesischen (Fire-)Wall

Kürzlich war ich für eine Woche in China. Das Land ist ja dafür bekannt, dass der Internetverkehr kontrolliert, resp. teilweise geblockt wird. 2008 war ich das letzte mal in China, dort war aber Social Media bei mir noch kein Thema.
 Meine Erkenntnis über meinen China-Trip diesen Monat hat mich aber selbst erstaunt. Es waren nämlich nicht Facebook und Twitter, welche ich in dieser Woche vermisst habe, sondern Google oder irgendeine andere westliche Suchmaschine. Erst dort wurde mir bewusst, dass ich jeden Tag -zig Mal auf Suchmaschinen zugreife und bei der täglichen Arbeit nur schwer darauf verzichten kann.
 Was mir auch noch aufgefallen war, ist dass wir aber prinzipiell viel näher zusammengerückt sind. Heute ist Facetime oder Skype aus der hintersten Provinz möglich. Und plötzlich wird die Welt zu einem kleinen Dorf.
 
 
 .over-ende-und-out

SDL WorldServer: XML-Transformation über XSLT

WorldServer hat bereits eine automatische Aktion “Apply XSLT”. Diese sollte – wie ihr Name es verspricht – eine XSLT-Transformation an den Quelldateien durchführen. Leider klappt es aber nicht auf Anhieb, denn der Schritt ist nur als ‚Sample‘ konzipiert, das je nach Bedürfnis angepasst werden muss; in der Regel möchte SDL solche Anpassungen über den Professional Service anbieten.

Es geht aber trotzdem. Das Hauptproblem liegt darin, dass Ausgangsordner für sowohl Input- wie auch Output in der Action “Apply XSLT” nicht identisch sein dürfen. Deshalb muss zunächst die unkonvertierte Datei in den Zielordner kopiert werden und dann aus dem Zielordner in den Ausgangsordner mit XSLT zu transformieren. Das scheitert aber daran, dass es im Code der Automatic Action “Apply XSLT” eine Klausel gibt, die das Auslesen aus dem Zielordner und das Schreiben in den Ausgangsordner verhindert. Hier der entsprechende Code:

/*
* Sanity check the params: don’t let the user read from target
* and write to source.
*/
if (readFrom.equals(TARGET_VALUE) && writeTo.equals(SOURCE_VALUE)) {
return new WSActionResult(WSActionResult.ERROR,
„Invalid configuration: action can’t read from target “ +
„and write to source.“);
}

Die Entwicklung von SDL hat mir (Danke für den super Service!)  die Automatic Action “Apply XSLT” für die SDL WorldServer Version 10.4.4.139  so angepasst, dass das Auslesen aus dem Zielordner und das Schreiben in den Ausgangsordner erlaubt ist. Laut Aussage vom Support soll dies in zukünftigen Versionen von WorldServer dann bereits so “gefixt” sein. Für die aktuelle Installation habe ich dafür vom Support eine neue Automatic Action “Apply XSLT” bekommen (hier).

Die Lösung besteht nun darin vor der XSLT-Transformation zunächst die Ausgangsdatei aus dem Ausgangsordner mithilfe der Automatic Action “Copy source asset to target” zu kopieren.

08-03-_2016_12-59-23

 

Und anschliessend mit “Apply XSLT“ mit den Werten ‚Load XML from‘=Target und ‚Save result to‘=Source zu konvertieren.

Wie man die XSLT erstellen, erläutete ich hier nicht. Interessant ist aber zu wissen, welche Xalan-Version WorldServer https://xml.apache.org/xalan-j/ dafür verwendet und dies zumindest bei Version 11 auch noch so bleiben wird.

08-03-_2016_10-22-17

 

Als der Workflow soweit funktionierte, wollte ich auch noch die Validität der XML-Datei überprüfen, da diese “manuell” aus einer Textdatei zusammengebaut wird.

Um dies zu Prüfen wurde die Automatic Action “Validate XML” in den Workflow eingefügt und eine entsprechende DTD programmiert.

08-03-_2016_10-21-42

Leider reicht der Verweis zur DTD in der Action nicht aus, sondern es muss auch noch die DTD im XML eingefügt werden (leider). In unserem Fall sieht die XML-Datei wie folgt aus:

<?xml version=“1.0″ encoding=“UTF-8″?>
<!DOCTYPE mxml [
<!ELEMENT mxml (#PCDATA)>
]>
<mxml>

INHALT…

</mxml>

 

Resultat:

Ein Workflow, welche die Daten vom Quellverzeichnis in das Zielverzeichnis kopiert, die Gültigkeit der XML-Datei(en) überprüft und danach eine XSLT-Transformation durchführt. Nach der Übersetzung werden die Dateien auch nochmal durch eine XSLT-Transformation gelassen, mit dem Ergebniss, dass der Auftraggeber eine Textdatei zurückbekommt.

Hintergrund:

Dieser Aufwand wird betrieben, da wir in XML-Dateien mit dem Attribut maxlength=”xx” die maximale Länge des Strings im Übersetzungsprozess einfordern können. Dies ist hilfreich bei Software-Strings. In einer Textdatei (wie wir diese aus einem alten Entwicklugnstool bekommen)  kann diese Information aber nicht hinterlegt werden. Deshalb muss aus der Datei zuerst mit dem Einfügen eines XML-Headers und –Footers eine pseudo XML-Datei erzeugt werden, damit diese dann über eine XSLT-Transformation in die passende XML-Datei umgewandelt werden kann.

Wieso ein 2012er MacBook Pro mein idealer Laptop ist

Der Beitrag wurde inspiriert durch den Beitrag auf cultofmac.com „Why is Apple’s ancient 2012 MacBook Pro still so popular?“.

Nun ist es so, dass ich seit beinahe 6 Jahren das mittlerweile „veraltete“ 13-Zoll non-Retina MacBook Pro (MBP) verwende. Erst im Dezember 2015 habe ich nochmals ein neues Gerät der gleichen Bauart gekauft, das von Apple selbst als „Mitte 2012er-Modell“ bezeichnet wird.

Jetzt kann man sich fragen, wieso ich einen Laptop, der schon über 3 Jahre alt ist, überhaupt noch kaufe und dafür den Originalpreis bezahle, respektive wieso Apple so altes Zeugs überhaupt noch verkauft. Bin ich nun zum verblödeten Apple-Fanboy geworden, der für alles was einen angefressenen Apfel drauf hat, überteuerte Preise bezahlt?

 

Wieso Apple den 13-Zoll non-Retina MacBook Pro noch im Sortiment hat und wieso dieser immer noch massenhaft verkauft wird, ist ganz einfach: Das Gerät hat als letztes MacBook Pro noch ein integriertes DVD-Laufwerk und lässt sich einfach erweitern. Die Argumentation zu diesen Punkten findet man im Beitrag von cultofmac. Der schlechte Bildschirm kümmert in der 13-Zoll-Grösse (Kleine) die wenigsten Benutzer und deshalb sind die Kunden auch bereit 200 Franken/Euro mehr dafür als für das billigste MacBook Air zu bezahlen.

 

Wieso ich weiterhin dieses Gerät verwende? Nun zuerst muss ich sagen, dass ich den Vorgänger mit einem Core 2 Duo-Prozessor seit 2010 im Einsatz hatte. 6 Jahre lang ist der Laptop täglich mehrere Stunden im Einsatz gewesen und hat mich nie im Stich gelassen. Viele Leute kennen diesen Laptop von Präsentationen mit „Scrat“ (das Rattenhörnchen aus Ice Age) auf dem Deckel. Ich habe jetzt ein Update gemacht, da ich nochmals das letzte Modell dieses MacBook Pro haben wollte, bevor es definitiv und ohne Voranmeldung von Apple aus dem Sortiment geworfen wird. Sonst würde ich nach wie vor mit dem 6-Jährigen Gerät arbeiten und den Rechner erst ersetzen, wenn dieser nicht mehr funktioniert. Natürlich ist der MBP viel schwerer als alle seiner abgespeckten 13-Zoll-Nachfolger. Aber das ist für mich sekundär. Das wichtigste ist für mich weiterhin die Erweiterbarkeit und Anpassung an meine Bedürfnisse. So habe ich den Arbeitsspeicher auf 16GB erweitert, obwohl Apple max. 8GB angibt.

2016-01-07_21-20-17

 

Zudem habe ich mit einen SATA3-Adapter von hardwrk das DVD-Laufwerk ersetzt und mit einer 1TB SSD ergänzt. Das Ganze (die Original 1TB HDD und die 1TB SSD) habe ich zu einem 2TB Fusion Drive zusammengefügt. Fusion Drive ist eine von Apple entwickelte Technik, mit der eine SSD und eine mechanische Festplatte (HDD) zu einem logischen Laufwerk verbunden werden. Es handelt sich dabei um eine Weiterentwicklung von Hybridlaufwerken, doch im Unterschied zu diesen handelt es sich bei Fusion Drive um eine reine Softwarelösung. Damit bekommt man die Geschwindigkeit einer SSD mit dem billigen Speicher einer HDD. Das bedeutet für mich genug Speicher, um meine virtuellen Maschinen auf meinem MacBook Pro zu verwalten.

SSD und hardwrk-Adapter anstatt DVD-Aufwerk

SSD und hardwrk-Adapter anstatt DVD-Aufwerk

Den neuen MBP habe ich mit dem schnellsten verfügbaren Prozessor gekauft (2.9GHz Intel Core i7), der aber so leider nicht im lokalen Apple Store zu bekommen ist, sondern erst nach meiner Bestellung in China zusammengebaut und dann mir nach Hause gesendet wurde. Laut Performancetests soll der Prozessor meines „neuen“ 2012er MacBook Pro lediglich um 10% langsamer sein, als die aktuellen 2015er MacBooks mit den schnellsten Prozessoren. Damit kann ich sehr gut leben.

Nur, dass man mich nicht falsch versteht. Würde es diesen MacBook Pro in der „offenen“ Bauweise in einer Retina-Ausführung geben, dann hätte ich diesen gekauft. Nicht, weil ich diese Auflösung auf dem Laptop je gebraucht hätte, sondern um damit einen externen 4K-Bildschirm zu betreiben zu können. Aber „offen“ und erweiterbar/reparierbar ist für mich wichtiger als 4K, das ich vielleicht einmal brauchen könnte.

Und zum Schluss noch über das Argument, dass der 13-Zoll-Bildschirm für ein professionelles Arbeiten zu klein ist: Bei einem Windows-Laptop gebe ich recht. Das Umschalten/Ausblenden der Anwendungen benötigt immer eine „umständliche“ Bewegung des Zeigers und ein Klicken oder das Verwenden eines Kurzbefehls auf der Tastatur. Beim OS X platziere ich die Anwendungen auf mehreren Desktops und schalte mit einer Wischbewegung zischen den Desktops, resp. Anwendungen hin und her. Daraus resultiert ein unterbrechungsfreier Workflow, der mich mit einem MacBook Pro viel produktiver arbeiten lässt. Dies, die langlebige Hardware, die kostenlose Standard-Software und kostenlosen Betriebssystem-Updates lassen die höheren Beschaffungskosten für einen MacBook Pro mehr als rechtfertigen. Aber am Schluss ist dies meine subjektive Meinung.

 

.over-and-out

Synology DS1513+ und ASUS USB-AC56

Da ich nur Dank dem kombinieren verschiedenster Forumseinträge ein Lösung fand, hier die Zusammenfassung dazu:

  • Synology DSM 5.2-5644 in Kombination mit dem DS1513+ unterstützt USB WLAN-Adapter mit bis zu 867 Mbps (5 GHz).
  • Der USB WLAN-Adapter ASUS USB-AC56 läuft im ac-Modus auf dem Synology-NAS mit ca. 800 Mbps.
  • Dafür muss dieser zwingend im USB3-Port angeschlossen werden. Im USB2-Port kann die Datenmenge nicht übertragen werden. (1. Fallstrick)
  • Die Verbindung über WLAN-Manager der DSM ist Fehlerhaft. Das bedeutet, dass auch bei einer richtigen Passworteingabe die Meldung kommt, dass diese falsch ist. Lösung: richtiges Passwort eingeben und nach der Fehlermeldung den Dialog schliessen. Einige Minuten später verbindet sich aber das NAS mit dem WLAN. Eventuell muss aber auch das System neu gestartet werden. (2. Fallstrick)
  • Eine manuelle Veränderung der IP-Adresse muss eventuell auch mehrmals eingegeben werden. (3. Fallstrick)

Niemals versuchen irgendwelche Linux-Treiber von ASUS zu installieren oder sonst noch Dateien des Betriebssystemes zu ändern. Dies ist nicht nötig und führte bei mindestens einem Forumsteilnehmer zu einer Neuinstallation des Systems…

USB-WLAN.png

Wenn man die Nerven behält und nicht gleich das NAS aus dem Fenster wirft, ist das Einrichten ziemlich einfach. Und wenn der USB WLAN-Adapter einmal eingerichtet ist, dann läuft er auch nach einen Systemneustart wieder weiter.

.over-and-out

DITA und der deutschsprachige Raum

Hier eine Antwort auf den Blogbeitrag von «Die Redakteuse» zum Thema «DITA & Deutschland».

dita_oasis_thumb.jpgIch bin schon seit bald 20 Jahren in der Technischen Dokumentation tätig. Persönlich habe ich bis heute noch nie DITA in einem Projekt verwendet und schon vor Jahren habe ich es als Hype der Amerikaner und Dienstleister/Toolanbieter abgestempelt. Hinzu kommt, dass viele Länder ausserhalb des deutschsprachigen Raumes im Bereich der Technischen Dokumentation unterentwickelt sind. Und wie sagt man so schön: «Bei den Blinden ist der Einäugige ein König!» Auch in den USA gibt es noch viele Firmen (ausserhalb der Mega-Konzerne), die genauso wenig ein Ahnung von strukturierter Technischer Dokumentation haben, wie es in Deutschland in der Regel ein Kleinbetrieb auf dem Land hat. Garagenfirmen sind nicht immer cool ;-).

Wieso vor allem in der DACH-Region (Deutschland, Österreich, Schweiz) sehr wenig Dokumentation mit DITA umgesetzt wurde, hat für mich zwei Gründe: Jürgen Muthig und Robert Schäflein-Armbruster. Als ich mich vor 15 Jahren mit Strukturierung von Daten auseinandersetzen musste, gab es nur wenig bekannte Strukturierungsstandards auf dem Markt. Das Beste zu dieser Zeit war Funktionsdesign. Im Gegensatz zu den USA haben die Unternehmen in der DACH-Region eben schon früh das Bedürfnis gehabt die Daten strukturiert zu erfassen, um diese auch standardisiert Weiterverarbeiten zu können. Deshalb hat Funktionsdesign oder eine Ableitung davon dann in den Nullerjahren in vielen Firmen auch Einzug gehalten. Und genau diese 10-15 Jahre sind auch der Zeitraum, die die USA im Bereich Technische Dokumentation hinter uns sind. Bitte nicht falsch verstehen: Es gibt in den USA einige brillante Experten, aber die klassische Industrie ausserhalb der grossen IT-Häuser hat einfach diesen Rückstand.

Müsste ich heute eine Dokumentation neu aufziehen, würde ich sicherlich DITA in Erwägung ziehen, so wie Funktionsdesign und PI-Mod. Und vielleicht würde ich auch ein Mittelding von allem einsetzen.

Egal welche Strukturierungsmethode man verwendet, es gilt unbedingt das Folgende zu beachten: Die Strukturierungsmethode ist am Schluss nur das Mittel zum Zweck. Das heisst zuerst schaue ich, was ich machen will und dann suche ich das Tool, mit diesem ich es am einfachsten/besten umsetzen kann. Und nie, nie, nie umgekehrt! Falls man beim mittelständischen Betrieb dann feststellt, dass XML und/oder strukturierte Inhalte nicht benötigt werden und ein technischer Overkill sind, dann sollte man auch den Mut haben darauf zu verzichten…

Eine weitere Meinung zum Thema «DITA & Deutschland» gab es dazu auch noch von Markus Nickl auf dessen Blog.

.over-and-out

AppleTV 4 mit Plex

Als Besitzer eines wenig gebrauchten AppleTV 2 habe ich die Ankündigung, dass nun ein weiterer überteuerter Nachfolger auf den Markt kommt, so ganz nebenbei zur Kenntnis genommen. Irgendwie hatte ich schon etwas komplett neues, innovatives erwartet. Meine Hauptanwendung ist das Streamen von Filmen und Serien vom eigenen Server. Dies mache ich vorzugsweise mit Plex und da AppleTV 2 keine wirkliche Möglichkeit zum Streamen gibt (ausser mühsam über Airplay), hat auch noch Chromcast in meinem Haushalt Einzug gehalten. Das heisst, AppleTV 2 wurde bei mir nur noch für Keynotes oder noch seltener für AirPlay verwendet.

Was dann passierte, hat nun alles geändert: Ich bekam ein Newsletter von Plex, dass die neue AppleTV-App auch schon fertig und verfügbar sei. Dies war der Grund, wieso ich mir dann doch ein AppleTV 4 zugelegt habe. Es wurde ja schon ausführlich über das fehlende Siri in der Schweiz gesprochen und auch wie schlecht der aktuelle Appstore noch sei. Aber das wird sich sicher in den nächsten Wochen oder Monaten noch ändern. Für mich spielt zur Zeit nur etwas eine Rolle: Wie gut ist die Plex-App auf AppleTV?

Wie definiert man nun, ob eine App gut oder schlecht ist? Ein Möglichkeit ist es, dass man diese mit dem Vorgänger oder Anwendungen auf anderen Plattformen vergleicht. Plex lief bei mir schon auf einem Popcorn-Hour, dann auf einem Raspberry Pi und zuletzt auf Android- und iOS-Apps über Chromecast. Das grösste Problem bis heute war die Netzwerk-Performance, resp. die Leistung des Servers, um die Daten vor dem Streamen umzurechnen. Da gab es ganz unterschiedliche Erlebnisse, mit dem Ergebnis, dass ich heute nur noch die volle Qualität streame und somit den Server vom Transcodieren entlaste. Dies funktioniert auch ganz gut, bis zu dem Zeitpunkt, bei dem sich das Netzwerk „verschluckt“ resp. ein weiterer (langsamer) Client auch Mediadaten will und die Gesamtperformance des Netzwerkes reduziert… Das Problem ist aber inzwischen auch gelöst: Mit einem Triband-Router werden nur noch schnelle ac-Clients auf einer der schnellen Frequenzen gelassen (1300 Mbit/s) und somit kann hier die volle Auflösung bis 4K gestreamt werden.

Nun zur Erfahrung mit AppleTV 4: Die Bedienung ist gewöhnungsbedürftig. Gott-sei-Dank muss man sich nach der Installation der App nur einmal bei Plex anmelden. Danach kann man in der App mit Swipegesten navigieren. Die Darstellung der Inhalte in der App ist gefällig, wobei ich auch hier noch einige Verbesserungen in den nächsten Wochen erwarte. Für 6 Wochen Arbeit ist das Resultat jedoch schon ausgezeichnet. Wie sieht es denn nun mit der Performance aus? Die ist super. Sobald man einen Film oder eine Episode ausgewählt hat, fängt das Stück unvermindert auf dem TV an zu laufen. Vorbei sind die Zeiten mit Chromecast, als man noch 20 Sekunden aufs Buffering warten musste. In der kurzen Zeit hatte ich keinen einzigen Aussetzer und dies auch mit 1080p-Filmen mit 12GB Grösse. Und nun kommt das Beste: Als ich am Server etwas umstellen musste, habe ich diesen Offline geschaltet. Der Plex-Server war weg vom Netzwerk – offline. Trotzdem lief die Episode auf dem Fernseher ohne Unterbruch weiter. Es erschien nur eine Einblendung, dass der Medienserver offline sei. Trotzdem lief die Episode weiter. Was war passiert, resp. was ist der Grund dafür? Nun, da die Daten ja nicht über ein unsichtbare Kabel auf AppleTV 4 gelangten, muss es daran liegen, dass Daten auf dem Gerät zwischengespeichert werden. Und zwar nicht wenige, denn erst nach etwa fünf Minuten stoppte die Wiedergabe. Einfach genial.

Plex auf AppleTV 4 bedeutet für mich vor allem eines: Unterbrechungsfreies Full-HD-Streaming im bekannten Apple-Umfeld. Ist AppleTV 4 das Geld dafür wert? Nun, wenn man es so anschaut, dann ist es als Streamingkiste sehr teuer, aber ein ungetrübtes Sehrerlebnis ist mir dies wert. Und dass dies erst der anfang der Möglichkeiten dieser Box ist, kommt auch nach dazu. Mal schauen, was uns die nächsten paar Wochen bescheren. Und Zattoo arbeitet ja auch schon an einer App. Bald kann ich das Kabelfernsehen kündigen und monatlich die Kosten sparen. Noch hoffe ich, dass die Kinder nicht schnallen, dass man damit auch Gamen kann.

 

.over-ende-und-out

© 2024 hacker.li

Theme von Anders Norén↑ ↑