Sonntag, 24. Juli 2016

[Lösung] blau.de: All-in Tarif ruhend trotz positivem Guthaben


Es war sehr sehr sehr frustrierend..

Was passiert ist:
Am 01.07. habe ich mein Handy-Guthaben aufgeladen da mein All-in Tarif pausiert war. Die Meldung im blau.de Portal: "Allnet-Flat Option:Ruhend. Zum erneuten Aktivieren jetzt aufladen!". Das ist bis hier auch ganz in Ordnung. Ich habe im Vormonat einfach mein Datenvolumen überschritten.

Geplant und getan habe ich 15€ auf mein Handy überwiesen. Dabei bin ich davon ausgegangen dass nun innerhalb der nächsten Minuten mein Tarif automatisch wechseln wird. Dies ist leider nicht passiert. Stattdessen habe ich jeden MB den ich bei pausierten Tarif genutzt teuer bezahlen müssen da die Datenkosten außerhalb des Tarifs deutlich höher sind. Somit wurde in kürzester Zeit 7x10€ automatisch aufgeladen da ich die automatische Aufladung aktiviert hatte!

Das Fiese:
Die Info die nirgendwo steht, außer wahrscheinlich in den Vertragsbedingungen, ist dass der Tarif erst dann wieder aktiviert wird wenn der aktuelle Guthabenstand mindestens so hoch ist wie der Monatsbetrag des Tarifs. Heißt: Der Monatliche Betrag für den All-in Tarif ist 19,99€ und genau so hoch hätte der Guthabenstand mindestens sein müssen damit der Tarif reaktiviert wird.

Wenn man jedoch die automatische Aufladung aktiviert hat, wodurch das Guthaben automatisch aufgeladen wird wenn das Guthaben unter 10€ ist, und den Ladebetrag auf 10€ festlegt dann erreicht man NIE die 19,99€ die notwendig sind um den Tarif zu reaktivieren. Man bleibt ewig auf Pause.

Die Lösung:
Den Ladebetrag für die Automatische Aufladung auf 20€ festlegen. Dadurch ist sichergestellt dass man sofort wieder im Tarif ist falls zwischendurch pausiert wurde.

Mittwoch, 2. März 2016

[TARİF] Muşmula nasıl olgunlaştırılır?


Bu dünyada iki türlü insan var.Muşmulayı ekşi sevenler ve sevmeyenler (Pırassaa!)

Peki daldan kopardığımız, yada marketten/pazardan aldığımız henüz olgunlaşmamış (kahverengi ve yumuşak hale gelmemiş) muşmulaları bozulmadan en hızlı şekilde nasıl olgunlaştırabiliriz?

Emeğin hakkını vermek gerekirse kaba tarifi ekşi sözlükten aldım. Son püf noktasını da kendim ekledim :) "Kudret Helvası"na teşekkürler!

Tarif:
  1. Henüz sert olan muşmulalarımızı bir kap yada poşet içerisine koyup buzluga yerleştiriyoruz ve donmasını sağlıyoruz (bir 12 saat kadar buzlukta beklesin)
  2. Donmus musmulalarimizi mutfak kagidi yada havlu yada benzer bir bez üzerine diziyoruz. Dizilisteki önemli husus musmulalarin tek kat dizilmesi ve birbirlerine temas etmemeleri. 
  3. Cözülme süreci boyunca buğulaşmadan dolayı muşmulaların yüzeyinde küçük su damlacıkları oluşacaktır işte bu sıvının muşmulayı bozmamasi için mümkün oldugunca muşmula yüzeyinde su kalmaması gerekir. Alttaki mutfak kağıdı ve temassız diziliş şekli bu yüzden.
  4. Muşmulalar tamamen çözüldüyse tadına bakılabilir. Eğer muşmulaların ic kısmı henüz istenilen olgunluğa oluşmamışsa işlem tekrarlanır yada biraz daha bekletilir.
  5. Afiyet ola!

Donnerstag, 12. November 2015

[Disappointment] My favourite Fallout 4 review Quote

Well, like thousands of other real wasteland and mojave fans I am disappointed. I read and watched so much about the game within the last weeks but there is one sentence that rounds up about everything everybody has said for me. I agreed the fuck out of it!

Translates into: "Its a good game actually, if it wasnt called Fallout"
Thanks for putting it into words!

And no, I wont play it until:

  • There is a mod that doesnt make the game look like the „apocalypse ride“ on disneyland
  • There is a mod that replaces dialogue with subtitles
  • You can actually call it a stable release and not an alpha release
 

Dienstag, 13. Oktober 2015

[Finger weg!] HelloFresh: Die Koch-Box die sich einfach nicht kündigen lässt!


Zu beginn war ich wirklich ein Fan. Ich musste nicht mehr überlegen was ich zum Abendessen kochen soll, ich musste nicht mehr einkaufen, abwechslungsreiches Essen, neue Rezepte etc. etc. Dann gab es allerdings das Desaster mit der HelloFresh Geschenkbox dessen Beitrag hier nochmal zu lesen ist. Als abschließende Krönung: Meine Kündigung (für die ich eine Vorliegende bestätigung habe) wird von HelloFresh ignoriert! Sie ziehen weiterhin 39,99€ pro Box von meinem PayPal Konto ab und schicken mir weitere Lieferungen.


Zur Kündigung
  • Am 12.08. habe ich über mein HelloFresh Benutzerkonto meine Lieferungen gekündigt. Für die, die die Seite nie zu Gesicht bekommen haben da sie gut versteckt ist: Zum Abschluss der Kündigung wird ein Foto des HelloFresh Teams angezeigt und es wird Tatsächlich angeboten dass sich der Kundenservice mit ihnen in Verbindung setzt um nachzuhaken warum man gekündigt hat (!)
  • Um sicherzugehen dass ich auch keine Lieferungen erhalte bis die Kündigung durch ist habe ich in meinem KochBox Kalender, soweit es der Kalender zulässt, erstmal alle Lieferungen Pausiert
 Zwei Monate Später
  • Am 13.08. erhalte ich eine E-Mail dass mir am gleichen Tag (!) eine Lieferung zugestellt wird.
  • Ich rufe den Kundenservice an, sage ihnen dass ich bereits gekündigt habe, leite ihnen die Kündigungsbestätigung weiter und am Telefon wird mir abschließend versichert dass sie sich darum kümmern werden dass das UPS Paket NICHT zugestellt wird. Da ich der ganzen Sache mittlerweile nicht traue, nehme ich das Gespräch auf.
  • Um 19:00 Uhr klingelt UPS, das Paket nehme ich nicht an (ich habe ja gekündigt).
  • Ein Paar Stunden später erhalte ich eine Nachricht von HelloFresh. Eine ofizielle Kündigung ist angeblich garnicht eingegangen. Zitat: "Sie haben bei dem Kündigungsvorgang noch einmal um einen Kontakt zu uns gebeten. Die Kündigung erfolgte also nicht, Sie baten nur um Rückmeldung."
Ergebnis
  • Ich muss erneut für die Kochbox zahlen obwohl ich vor zwei monaten gekündigt habe. Spätestens jetzt hat der Kundenservice zwar verstanden dass ich kündigen möchte, doch erneut behalten sie die 39,99€ auch wenn ich das Paket nicht entgegengenommen habe, da es sich um "verderbliche Lebensmittel" handelt.
  • Die Benachrichtigung über eine neue Kochbox, das Abbuchen der 39,99€ und die Zulieferung der Box geschieht alles am gleichen Tag. Man erhält nicht einmal die geringste Chance einzugreifen.
  • Letztendlich hatte ich mittlerweile genug Ärger mit HelloFresh dass ich mich nicht erneut mit einem Hin und Her mit dem Kundenservice quälen möchte. So sah dann auch meine Antwort aus:

Hallo Frau Baumgärtner,

Nach dem "Kochbox Verschenken" Desaster im August, wo ich dank ihnen meinem Freund ungewollt ein Abo angedreht habe und sie mir keinen Schritt entgegengekommen sind, und dem aktuellen "Missverständnis" meiner Kündigung, die nun laut ihren Angaben doch nicht eingetreten ist, habe ich nun endgültig genug.

Obwohl sie uns bei unserem Telefonat versichert hatten dass heute Abend keine Lieferung bei uns eingehen wird (eine Aufnahme unseres Gesprächs liegt mir vor) hat trotzdem die UPS um 19:00 Uhr bei uns geklingelt. Das Paket haben wir nicht angenommen da ich ja GEKÜNDIGT HABE. Aber wie ich ihre Regeln kenne muss ich trotzdem für die Box bezahlen da es sich um verderbliche Lebensmittel handelt (!)

  • Behalten sie meine 39,99€ die sie per PayPal eingezogen haben.
  • Schicken sie mir bitte zukünftig keine E-Mails bezüglich Angebote / Newsletter oder ähnliches.
  • Ich bitte um die Entfernung meiner persönlichen Daten aus ihrer Kundendatenbank.
  • Schicken sie mir bitte zukünftig keine weiteren Kochboxen. Ich habe gekündigt.
Spätestens jetzt wo sie Schreiben: "Selbstverständlich nehme ich nun die Kündigung zur Kenntnis" gehe ich davon aus dass wir endlich durch sind.

Liebe Grüße,

Ich hoffe vom ganzen Herzen dass ich keinen neuen Blog-Beitrag schreiben muss..

Samstag, 10. Oktober 2015

Zigarren für Anfänger - Zitate aus dem cigarworld.de Oktober Newsletter


Hier einige Interessannte Punkte aus dem Beitrag die ich separat "festnageln" wollte

Für Anfänger empfehlen wir gerne Zigarren aus der Dominikanischen Republik oder aus Honduras, da diese Tabake generell etwas milder im Aroma sind als zum Beispiel kubanische Puros.

...
Möchte man sich in Bezug auf Würze und Aroma steigern, sollte man zu Tabaken aus Nicaragua und Kuba greifen.
...
Je länger und dünner die Zigarren sind, desto stärker und bitterer werden sie im Rauchverlauf. Daher sollten sie anfangs eher zu einer kürzeren Zigarre greifen mit einem Durchmesser von mindestens 1,2 cm. Ab einem gewissen Ringmaß luftet die Zigarre auch angenehmer und die Gefahr eines zu festen Zugwiderstandes ist geringer. Schauen Sie sich einfach bei den Formaten Petit Corona, Corona und Robusto um.
 ...
Aus den oben genannten Gründen möchten wir Ihnen Empfehlungen wie beispielsweise die VegaFina Corona , Cuesta Rey Centenario Colección Dominican No. 5 , Don Diego Classic Coronas oder Santa Damiana Corona ans Herz legen. Eine Alternative aus Honduras wäre die Flor de Copan Short Robusto oder Flor de Copan Rothshild .
...
Weitere eher milde Zigarren aus dem Land der Revolution (Kuba) wären die Hoyo de Monterrey Epicure Nr. 2  oder die H. Upmann .

Link
Danke! Ich bin ein großer Fan :)

Sonntag, 20. September 2015

[SOLVED] Windows 7 Explorer / Desktop does not refresh automatically

⟳!
Symptoms:
  • You delete a file/folder on your desktop but it is still shown until you press F5 / refresh the desktop
  • You create a new Folder but nothing appears unless you press F5 / refresh the desktop
  • You rename a file/folder but the old name is still shown until you press F5 / refresh the desktop
I had the problem with my previous Windows 7 installation and thought I just had to live with it. Actually I never bothered to search for a solution. When the same problem appeared with my current installation again I started looking and found this:

One of the most successful solutions to this problems (although it doesn't help all the time) is to turn on the Windows desktop refresh feature. To do this, go to "HKEY_CLASSES_ROOT\CLSID\{BDEADE7F-C265-11D0-BCED-00A0C90AB50F}\Instance", look out for a DWORD value called "DontRefresh" which is set to "1" (on). Change the value to "0" (off). This re-enables the refresh. Note that the CLSID given above may depend on your machine. The easiest solution if you can't find the key is to just go to "HKEY_CLASSES_ROOT\CLSID", hit "F3" and do a search for "DontRefresh".

Source: itworld.com

EDIT:
After a while Windows tends to continue this behaviour regardless to the DontRefresh setting. In this case, set the Value back to 1, and then to 0 again.

Mittwoch, 12. August 2015

[Marketingfalle] HelloFresh: So drehen sie ihren Freunden ein Abo an (!)

Ich dachte zuerst es wäre eine gute Idee meinen Freunden eine Kochbox zu schenken da ich bisher mit dem Service von HelloFresh ganz zufrieden war. Zu meiner Überraschung habe ich allerdings heute mitbekommen dass beginnend ab der Folgewoche jede Woche ein weiteres Paket geliefert wird.

Ich habe dank der Marketingfalle also meinen Freunden ungewollt ein Abo angedreht! Natürlich kann ich jetzt nicht einfach sagen dass sie sich nun bitte mit dem HelloFresh Kundenservice auseinandersetzen sollen da ich sie ja selbst in die ganze Sache reingeritten habe!

Die geschickte Wortwahl von "Geschenk" obwohl man "Abo" meint und somit leuten versteckt etwas andreht finde ich abgrundtief unverschämt. Da scheint sich keiner Gedanken darüber gemacht zu haben wie die Person darsteht die das Geschenk gemacht hat.

Ich selbst sehe jedenfalls keine Ansicht wie ich es noch vertreten den Service noch weiterhin zu nutzen.

Völlig unbeeindruckt von meinem Vorfall erhalte ich 3 Tage Später eine Rückmeldung:

Ich habe den wiederkehrenden Service ihres Freundes nun gekündigt. Die letzte Lieferung kam diese Woche. Falls die Ware nicht angenommen wurde, wird die Forderung über den Betrag von 39.99 EUR trotzdem bestehen bleiben, da die Rückgabe von Lebensmitteln leider nicht möglich ist.
Heißt: Zahlen müssen sie aber trotzdem.

Generell handelt es sich bei unserem Service um den wiederkehrenden Service.
Das heißt, es wird jede Woche eine Lieferung erstellt, die Sie mit Hilfe von Pausen individuell ein- oder abstellen können. Anbei finden Sie auch den Hinweis, der bei der Bestellung seitens Ihres Freundes unsererseits erfolgte. Zudem finden sich natürlich entsprechende Hinweise in unseren AGBs.


Abgesehen davon dass die erste Box kostenlos ist unterscheidet sich eine Geschenkbox also NICHT von einem Abo. Es wird Auf der Internetseite nicht darauf hingewisen:


Da wir momentan keine Mindestabnahme innerhalb des wiederkehrenden Service haben, hätte Ihr Freund einfach kündigen können. So hätte er lediglich eine Gratisbox von uns erhalten.


Dafür muss man erstmal wissen dass da man in etwas reingeritten ist.

Bei weiteren Fragen stehe ich Ihnen gerne zur Verfügung.

Mit freundlichen Grüßen
Verena Limmer

Den Service Kündigen zu wollen scheint ein völlig anderes Abendteuer zu sein. Auch wenn man alle Lieferungen in der Zukunft separat storniert hat erhält man nach der Kündigung folgende Meldung:

Bitte beachte, dass Deine Lieferungen weiter laufen (!)
Aber ein "Freshler" meldet sich ja noch bei mir...

Montag, 15. Dezember 2014

CHEAT: Company of Heroes 2 - Ardennes Assault: Unlimited Requisition Points

I'm currently playing the Campaign on Hard difficulty. After succeeding on around 70% of the campaign missions the company strengths of all my three companies were completely drained out. Sadly this turned out to be a deadlock of the game because you cannot complete a mission without loss and loosing more men means that your company will eventually get K.I.A.

BUT! I was surprized how easy it was to modify the requisition point value of a saved game. Turns out that the savegame is saved on a simple to read XML file, so all you need to do is to edit the XML. You have to look for the XML Tag "<requisition>" and put any desired number as a value in it. Save the file, run the game and voila!

The file is located in your "My Documents" folder. I found mine at:
C:\Users\User\Documents\My Games\Company of Heroes 2\Savegames\ArdennesAssault\save4







Dienstag, 15. Juli 2014

SOAP::Lite -> Set HTTP Header

Basically everything is said on the following (I just simplyfied the text a little bit):

By default, SOAP::Lite generates a SOAPAction header with the structure of [URI]#[method].In our case however, we want the SOAPAction to be just the URI, so we have to use on_action to modify it. In our example, we specify on_action(sub { sprintf '"%s"', shift }), so the resulting SOAPAction will contain only the URI (and don't forget the double quotes there).
  So here is my code example:

use SOAP::Lite
my $soap_proxy = SOAP::Lite->uri([THIS IS THE URI I WANT TO USE FOR THE SOAP ACTION])->on_action(sub { sprintf '"%s"', shift })->proxy([HOST URL]);
(following with soap operation and parameters)

The result was that Soap::Lite did not add a # before my action. The URI was delivered as the xmlns separately. I admit, I did not figure out exactly yet how this works. But it does :)

SOURCE

Freitag, 20. Juni 2014

MySQL function to get the current timestamp in SECONDS

Good one.. I had to wander far away to find it :)

SELECT DATEDIFF(s,'01.01.1970',GETDATE())

returns something like:  1403262470

Mittwoch, 19. Dezember 2012

[Solved] Hadoop is processing "ghost data" from input

This fuck of a problem cost me more than 4 hours to solve. I have to note this down somewhere to take the edge off..

If you are using Linux (ubuntu in my case)
If your mapreduce is picking up input data that is not within your input folder
If you delete the content of your input folder and mapreduce still reads "ghost data"*
If you have renamed your input folder and the problem still continues
If you have deleted hadoop temp directories and the problem still continues
If you have rebooted your machine and emptied your trash and the problem still continues

FFS make sure that the input directory is really empty! Linux creates temp files that end with "~". These will not show up when you check the directory size, the directory content (because it is not visible by default) and will not show up with the ls command (because it is not visible by default).

:|

*Ghost Data: Data that is not visible and seems not to be there.

Donnerstag, 13. Dezember 2012

XML Writable (Serializing) and the InstantiationException

If you want to serialize (encode) non-bean objects in java, you first have to prepare readFields() and writeFields() methods for your it so java has an idea on how the data in the object is meant to be stored and re-created. Shortly, you need to make your object Writable in hadoop terms.

Exception:

java.lang.InstantiationException:
(CLASS NAME YOU ARE TRYING TO SERIALIZE)
Continuing ...
java.lang.Exception: XMLEncoder: discarding statement ArrayList.add(MyObject);
Continuing ...
java.lang.InstantiationException:
(CLASS NAME YOU ARE TRYING TO SERIALIZE)
Continuing ...
java.lang.Exception: XMLEncoder: discarding statement ArrayList.add(MyObject);
Continuing ...

SITUATION BEFORE:

Object class (this is the class of the object you would like to serialize):

public class MyObject {
[VARIABLES]
[CONSTRUCTOR(S)]
[GETTERS&SETTERS]
}

Call from main (encode and print out);

main(String[] args) {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
XML encoder = new XMLEncoder(buffer);
encoder.writeObject(javaBean);
encoder.close();
System.out.println(buffer.toString());
}


AFTER:

public class MyObject implements Writable {
[VARIABLES]
[CONSTRUCTORS]
[GETTERS&SETTERS]

@Override
writefields() throws IOException {
WritableUtils.writeString(out, variable1);
WritableUtils.writeString(out, variable2);
WritableUtils.writeString(out, variable3);
}

@Override
readFields() throws IOException {
variable1 = WritableUtils.readString(in);
variable2 = WritableUtils.readString(in);
variable3 = WritableUtils.readString(in);
}

}

The call in main is the same..

It is very important that the order of variables in read and write are the same. If you put variable1 in the first place of writeFields(), it needs to be on the first place on readFields() too so it can be put back correctly. Also your class MUST have a no-args constructor.

Montag, 10. Dezember 2012

Solution: “utility classes should not have a public or default constructor”

“utility classes should not have a public or default constructor”

If a class is static, you probably want to use its methods "directly" rather than instantiating it first. These kind of classes are more like tools/utilities than being meant for objects. Checkstyle warns you in this case that this class can still be instantiated. A little bit annoying for my liking ;)

Solution:

make the class final:
public final class myclass {
...
}

and create an empty private constructor:

private myclass() {
}

that should do the trick!

Montag, 3. Dezember 2012

NPE: org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73) (SOLVED)


My NullPointerException looked something like this:
java.lang.NullPointerException
    at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer(SerializationFactory.java:73)
    at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:959)
    at org.apache.hadoop.io.SequenceFile$Writer.<init>(SequenceFile.java:892)
    at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:393)
    at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:354)
    at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:476)
    at org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat.getRecordWriter(SequenceFileOutputFormat.java:61)
    at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.<init>(ReduceTask.java:569)
    at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:638)
    at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:417)
    at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:260)
After a few google searches I found the solution. Turns out that you need to add the serialization lib's to the Job configuration manually.. So my conf and the setup looks like this:
Configuration conf = new Configuration();
        conf.set("io.serializations","org.apache.hadoop.io.serializer.JavaSerialization,"
        + "org.apache.hadoop.io.serializer.WritableSerialization");

I cannot Understand chinese, but good thing that Programming code is (mostly) universal! :D

Link to the original thread: Link

Donnerstag, 29. November 2012

Download link: Hadoop 1.0.3 sources

Hadoop 1.0.3 Sources. Why it is not available on its website? I do not know..
Maven could not help me out on downloading sources either :/

Anyway, here it is:

http://rapidshare.com/files/2237720743/hadoop-core-1.0.3-sources.jar

enjoy! :)

Mittwoch, 21. November 2012

Java - Continue process after an Exception

Easier than I thought actually..

Execution breaks are caused when the exception is unhandled.. So in case you have a "malformedurlexception", you need to catch that one so your application knows what to do and how to continue in that case..

Surround your lines where the exception may occur with a
try {
}
and catch the possible exception with a
catch (malformedurlexception e) {
}
Basically, just handle your exceptions to continue your process :)

(I'm still new to this stuff.. feel free to correct me)

Montag, 19. November 2012

Create Sony SenseMe playlists for your Music collection on PC

Having a Sony Xperia mobile phone, I really like the feature of SenseMe. It collects metadata about your song collection from the internet and assigns every song to "mood categories" (well, if you're actually here you probably don't need an explanation about what it is).

The free Software Media Go from Sony can actually do the same thing with your music collection on PC. All you need is to import your songs to its library and let the program do its work (it took about 4 hours for my 33Gig of data so far.. Still on work). After its finished, you can create SenseMe playlists by marking an area over the "mood scale" lets say.. The directions are called Fast, Slow, Sad, Happy. As you can see from my diagram, I quite dig sad slow songs :D
After you create a new playlist, Media Go creates a new m3u8 file (thats a regular playlist file) within your local music directory. (My Music -> Playlists -> Media go). The only thing that bugs me is that the program cannot update old playlists when you import new songs to the library. But hey, its free and it does a great job!

My explanation is terrible once again. But you get the idea! (I hope :) )


Mittwoch, 14. November 2012

Push and Pull files within Hadoop distributed cache

Push

Within run() (the place where you set up your mapper and reducer classes):

DistributedCache.addCacheFile(new URI("file:///home/raymond/file.txt"), conf);

conf is the Configuration I set up with:

Configuration conf = new Configuration();

Use file:// for local filesystem and hdfs:// for targeting the hdfs filesystem.

Pull

Now you need to know where the framework has cached your file.. Within mapper (or reducer) class you can now say:

Path[] localFiles = DistributedCache.getLocalCacheFiles(context.getConfiguration());

localFiles now contains paths of all cached files. If you have used only one file, you can access it by saying:

String Path = localFiles[0].toString();

Now you know where its located. You can pass it to a filereader to read out the contents.


As usual I'm trying to keep things as simple as possible.. Let me know if I definitely should mention something else about this process :)

Hadoop - Mapreduce - java.lang.NoClassDefFoundError:


I am working with Eclipse. After adding a file to the Hadoop distributed cache (found the howto on this LINK) I received the error message:

INFO: Cached file:///home/aatmaca/git/common/rules.txt as /tmp/hadoop-root/mapred/local/archive/-5239344160850859454_-776894720_2117948037/file/home/git/common/rules.txt
14.11.2012 11:59:08 org.apache.hadoop.mapred.JobClient$2 run
INFO: Cleaning up the staging area file:/tmp/hadoop-root/mapred/staging/root-542082906/.staging/job_local_0001
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils 

at org.apache.hadoop.fs.FileUtil.getDU(FileUtil.java:456)
at org.apache.hadoop.filecache.TrackerDistributedCacheManager.downloadCacheObject(TrackerDistributedCacheManager.java:452)
at org.apache.hadoop.filecache.TrackerDistributedCacheManager.localizePublicCacheObject(TrackerDistributedCacheManager.java:464)
I was sure that this is not a hadoop specific problem. A simple import of org.apache.commons.io.FileUtils didnt do the trick ( yes I'm still new to this Java stuff :) ), so I had to ask my Coding mentor for help..

Solution 1:

Download the latest commons-io JAR from:
http://mvnrepository.com/artifact/commons-io/commons-io/

Within Eclipse:
Right click on project -> Properties -> Build Path -> Add External JARs..
and import your JAR file. It should appear now within your "Referenced Libraries" folder.

Now you should be able to execute the application without error messages.

Solution 2:

If it is a Maven project you are working on, just edit your .pom file and add the common-io dependency to it:

        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.4</version>
        </dependency>

Sources will be downloaded automatically and added to your Maven dependencies..

Good luck!

Donnerstag, 8. November 2012

Borderlands 2 sucks!

This game fucking sucks! And I really really tried..

I don't remember why, but I really loved the first episode. The missions were kind of creative and there was some kind of story development going on that you could follow.

I got really pissed of how simple and boring the missions got in the second game! Trying to find a home for a dog, collecting medicine for brain-deseased people, collecting organs for zed, collecting tapes for tannis, collecting flowers and magazines for that fucking catch a ride redneck! really?? These are the best ideas you could come up with? Running around and collecting stuff? I am uninstalling this game after giving it a try for more than three weeks. I am almost done with the story but I just cannot care anymore. It is getting more and more boring after every mission. I cannot care anymore what the vault is all about and what happens if you find the source of iridium!! Fuck you people!

But I have to say, moxxi is one horny, busty, dirty whore!