Hide.ME’s Sock 5 proxy

I was testing the hide.me socks 5 (socks5) service since they were selling it as part of their premium account and it was largely disappointing. I planned to use it to offer an fixed IP anonymous service on the internet as well as use it to have a bigger pool of IP adresses to spider a few 100 amazon/yelp products without getting IP banned. Sadly enough the hide.me socks5 offer is still not really usable for tasks like that.

Here the pro’s an cons of the hide.me socks 5 system:

Pros:

  • Download/Upstream speed were decent.

Cons:

  • Test mode so far, it’s not clear the service will stay or extended so it works properly.
  • The socks 5 proxy only works inside the VPN network. That means you can’t run a socks 5 client to only anonymize/socksify certain applications, while the rest runs inside your standard network. Instead the users are forced to run a virtual machine with another OS installation making the socks5 proxy completely useless. If you are forced to run a virtual machine to be able to socksify only a few applications you can run a vpn in there anyway.
  • Extremely limited resources. There’s just ONE single server. Meaning there’s just one IP either.  No way to use this for the task I bought it for. Not to mention they market the server as uTorrent-Server, most know how badly torrents can affect any network connection.

In a nutshell the socks5 proxy from hide.me seems to only be aiming at users that want faster torrent downloads. The service has major limitation making it a bad choice for other tasks. I suggest buying a socks 5 proxy from a provider that allows direct access.

IMPORTANT: Do NOT trust hide.me with their advertisements. They claim they offer “full socks support” on their price page, but it’s just some very limited testing setup.

 

Fixing quasselcore losing PostgreSQL support on debian installations

After updating an debian installation the postgreSQL using quasselcore service suddenly lost all its settings, logs, channels. I tried to manually start the server forcing the progreSQL usage to get an idea on what’s happening:

rom040:~# quasselcore --configdir=/var/cache/quassel --select-backend=PostgreSQL
2014-09-03 22:51:26 Warning: SslServer: Certificate file /var/cache/quassel/quasselCert.pem does not exist
2014-09-03 22:51:26 Warning: SslServer: Unable to set certificate file
           Quassel Core will still work, but cannot provide SSL for client connections.
           Please see http://quassel-irc.org/faq/cert to learn how to enable SSL support.
2014-09-03 22:51:26 Warning: SslServer: Certificate file /var/cache/quassel/quasselCert.pem does not exist
("QSQLITE", "QMYSQL3", "QMYSQL")
("QSQLITE", "QMYSQL3", "QMYSQL")
Core::selectBackend(): unsupported backend: PostgreSQL
    supported backends are: SQLite

Seems that quasselcore doesn’t support PostgreSQL at all anymore? What is going on?

Oh, asking google on the debian dependencies show that the package libqt4-sql-psql is gone missing. Let’s install it manually:

rom040:~# apt-get install libqt4-sql-psql
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Vorgeschlagene Pakete:
  libqt4-dev
Die folgenden NEUEN Pakete werden installiert:
  libqt4-sql-psql
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 73,5 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 219 kB Plattenplatz zusätzlich benutzt.
Vormals nicht ausgewähltes Paket libqt4-sql-psql:amd64 wird gewählt.
(Lese Datenbank ... 116163 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacken von libqt4-sql-psql:amd64 (aus .../libqt4-sql-psql_4%3a4.8.2+dfsg-11_amd64.deb) ...
libqt4-sql-psql:amd64 (4:4.8.2+dfsg-11) wird eingerichtet ...

And it’s back to working.

rom040:~# /etc/init.d/quasselcore start
[ ok ] Starting distributed IRC core: quasselcore.

qTranslate stopped getting updates – What can you use as replacement/alternative for it?

qTranslate seem to be discontinued, at least it didn’t get updated for a while. Since the latest version has its issues with current word press versions I needed to find a replacement.

Of course I wanted to be able to convert my current qTranslate based wordpress multilanguage installations so put a focus on the import on qTranslate language files and articles.

A good solution was found fast:

https://wordpress.org/plugins/mqtranslate/

Somebody created a fork of qTranslate and keeps it updated.

Thanks!

p5rn7vb

Encoding MP3s for use in Haxe Flash exports

I needed to encode some audio samples to be used in an Haxe Flash export and remembered the troubles I first had when figuring out how to create valid MP3 files for use with Haxe. Here a quick hint to everybody that has the same issues (Haxe complains about getting Layer 1 files instead of Layer 3) with embedding. Haxe denies the import when you encode the mp3s using Adobe Media Encoder and various other tools that I tested.

A tool that actually works for encoding the MP3 files for Haxe is Lame-Drop, which uses the Lame MP3 encoder. You can download it here:

http://www.rarewares.org/mp3-lamedrop.php

Using Adobe Scout to profile a Haxe/OpenFL flash export

I needed to do some profiling on an flash export of a mobile Haxe/OpenFL/HaxeFlixel based project. Since I own a license of the creative suite I decided to test Adobe Scout. But it didn’t work, there was no sign of Scout noticing the swf file running. After a bit of research I found out that you need to enable advanced telemetry in the SWF file to be able to use scout. Since Haxe didn’t seem to have a function for this I looked for an tool to do this. And yes, there was something like it:

SWF Scout Enabler: https://github.com/renaun/ActionScriptExamples/tree/master/SWFScoutEnabler

That’s full source of the Adobe Air application. Compile it and use it.

Or if you are too lazy for compiling, you can also download a .air file that was created by the author of SWFScoutEnabler:

http://renaun.com/air/SWFScoutEnabler.air

The link is mentioned in the read me of the Source Repository.

Android version of Haxe/OpenFL app not showing the icon after integrating Nuggeta

After integrating Nuggeta into a game it suddenly stopped having an icon. I’ve been verifying that the icons were existing, entered into the projects xml file and also that they were exported to the bin/android/res folder.

Everything was correct, but the icon still was the wrong one.

A close look into the file /{project folder}/templates/android/AndroidManifest.xml (part of the Nuggeta sekeleton) finally told me, why:

<application android:label="Fancy Game Title" android:debuggable="false">
</application>

The icon property was missing in the application node, so I added it:

<application android:label="Fancy Game Title" android:icon="@drawable/icon" android:debuggable="false">
</application>

Did a quick clean + build and the icon was working again.

Haxe/OpenFL: Iterating through Dynamic/Object using Reflect API

Here’s a simple example of how to use Haxes Reflect API to iterate through an Dynamic (Object):

public function setProperties(properties:Dynamic):Void{
  for (n in Reflect.fields(properties)){
    Reflect.setField(button, n, Reflect.field(properties, n));
  }
}

“button” is a SimpleButton object in this case but the same method also works for Sprites, MovieClips and other DisplayObjects.

  • Reflect.fields returns an array with the keys of the Dynamic Object.
  • Reflect.field allows to access the values using the keys.
  • Reflect.setField allows to set the values of an object using the keys. The bracket notation from Flash (button[n]=…) will not work.

Avast Anti Virus now trying to trick users into installing unwanted software using the software updater.

I just uninstalled the free version Avast Anti Virus from a private PC after I noticed they started trying to make their customers install unwanted software. Right now it was Pokki for Amazon, here’s how the offer looks.

avast-spyware-install

As you can see they greyed out the disable button which indicate that it’s disabled. And while it’s opt in, you are forced to select an option and Avast is trying to trick the user into pressing the button that installs the unwanted software by indicating there’s no other option. Such cheap behaviour that tries to trick users into installing software ruined that companies reputation for me. Avast seems to have no interesst in protecting the user from unwanted software installs anymore if they get paid for distributing it.

As for Pokki, that’s a software company that’s already known for offering software with spyware like tracking. For example they have a windows 8 startmenu replacement app that reports your exact usage of the start menu to their servers. Here’s an overview of their usage statistics for it:

http://www.neowin.net/news/pokki-has-had-500000-downloads-of-its-windows-8-start-menu-program

Ofc that doesn’t mean that Pokki for Amazon does the same things, I just tend to be very wary of companies that already showed the world they don’t really care about the users privacy. And having an anti virus software like Avast trying to trick me into installing software from that company makes me more then wary of the anti virus software.

So good bye, Avast. I can only warn users of using Free Avast Antivirus now that they accept such shady methods in their security software.

public static constants with Haxe

If you are looking for a Haxe replacement of flashs public static const you should be taking a look at the inline property. The inline property variable value is being applied at compile time. That means using it doesn’t cost any calculation time – and that the value is final und unchangable.

Here’s a simple example for the class having a few static constants:

package [...];
class StartMenuEvents{
	public static inline var START_EASY:String="START_EASY";
	public static inline var START_NORMAL:String="START_NORMAL";
	public static inline var START_HARD:String="START_HARD";
	public static inline var START:String="START";
 
	public function new(){
	}
}

And this is how the constants are being accessed:

startMenuUI.addEventListener(StartMenuEvents.START, onStartButton);

Fixing a problem with a broken xampp installation after a system reinstallation

I just had the problem that one of my old xampp portable apache installation stopped working after a fresh system reinstall. This is how I fixed it:

1. I disabled the Skype’s blocking of the ports 80/443. Read here.
2. I ran setup_xampp.bat to fix paths
3. I opened xampp/apache/conf/httpd.conf and replaced

ServerRoot “D:/xampp-portable-php5.4.22-apache2.4.7/xampp/apache”

ServerRoot "D:/xampp-portable-php5.4.22-apache2.4.7/xampp-portable-php5.4.22-apache2.4.7/xampp/apache"

by

ServerRoot "D:/xampp-portable-php5.4.22-apache2.4.7/xampp/apache"

Seems the xampp installation script doubled the folder name somehow.

After this the xampp installation was working again.