<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ITworks</title>
	<atom:link href="http://itworks.hu/feed/" rel="self" type="application/rss+xml" />
	<link>http://itworks.hu</link>
	<description>Random musings in IT</description>
	<lastBuildDate>Tue, 06 Mar 2012 12:13:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Compiling Evolution EWS for Ubuntu 12.04</title>
		<link>http://itworks.hu/2012/03/06/compiling-evolution-ews-for-ubuntu-12-04/</link>
		<comments>http://itworks.hu/2012/03/06/compiling-evolution-ews-for-ubuntu-12-04/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 11:07:05 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[in]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=243</guid>
		<description><![CDATA[As my employer uses Exchange mail server, I need a way to access my mail from my Ubuntu box. The current Evolution exchange connector is quite outdated, so I prefer to use the emerging Evolution EWS connector. It can access &#8230; <a href="http://itworks.hu/2012/03/06/compiling-evolution-ews-for-ubuntu-12-04/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As my employer uses Exchange mail server, I need a way to access my mail from my Ubuntu box. The current Evolution exchange connector is quite outdated, so I prefer to use the emerging Evolution EWS connector. It can access the addressbook, the calendar and even the MAIL! <img src='http://itworks.hu/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Since it&#8217;s emerging it requires frequent recompilation. After installing the required tools and libs, it still doesn&#8217;t compile on the Ubuntu 12.04, for the several deprecated API calls it makes. So I came up with the following script to compile it and prepare a nice little package from it.</p>
<pre>#!/bin/bash
sudo rm -r evolution-ews ; git clone http://git.gnome.org/browse/evolution-ews -b gnome-3-2
sed '/\-Wall/ a \
\t-Wno-error=deprecated-declarations \
\t-Wno-missing-field-initializers' evolution-ews/configure.ac |
sed '/AC_SUBST(SOUP_CFLAGS)/ i \
AC_CHECK_LIB(gthread-2.0, g_thread_init)' &gt;evolution-ews/configure.ac.new
mv evolution-ews/configure.ac.new evolution-ews/configure.ac
cd evolution-ews

./autogen.sh --prefix=/usr --disable-maintainer-mode
sudo checkinstall --pkgname=evolution-ews --pkgversion=3.2 --pkgrelease=git -requires `evolution \(\&gt;\= 3.2\), evolution \(\&lt;\&lt;3.3\)` &amp;&amp; sudo mv *.deb ..
cd ..</pre>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2012/03/06/compiling-evolution-ews-for-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Setting up your Android USB keyboard</title>
		<link>http://itworks.hu/2012/02/28/setting-up-your-android-usb-keyboard/</link>
		<comments>http://itworks.hu/2012/02/28/setting-up-your-android-usb-keyboard/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 01:37:17 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[annoyance]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://m.itworks.hu/?p=238</guid>
		<description><![CDATA[I&#8217;ve ordered nice little case for my Zenithink C71 a while ago,  with built-in USB keyboard. It&#8217;s pretty basic,  and I won&#8217;t call it state of the art,  but it&#8217;s a hell of a lot better than tapping on the &#8230; <a href="http://itworks.hu/2012/02/28/setting-up-your-android-usb-keyboard/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve ordered nice little case for my Zenithink C71 a while ago,  with built-in USB keyboard. It&#8217;s pretty basic,  and I won&#8217;t call it state of the art,  but it&#8217;s a hell of a lot better than tapping on the screen. Actually I&#8217;m using it at the moment to type this very post. There is a catch however: on the PC I&#8217;ve got used to typing on proper keyboards where I could just change the layout with a keyboard shortcut/mouse click. This however won&#8217;t work on Android. To type accented characters when I&#8217;m typing in Hungarian I had to use the software keyboard. </p>
<p>To overcome this limitation I dug in deep to see how the keyboard is managed under Android, figure out the most elegant solution,  and implement it on my device. </p>
<p><span id="more-238"></span></p>
<p>Please note,  that this only works on Honeycomb and Icecream Sandwich, as the previously used binary format has been changed! You need a rooted device, terminal emulator, a utf map and file explorer with text editing capabilities and some Linux knowledge. </p>
<p>Keymaps are stored under system/usr and are made up of 3 parts,<br />
Idc specifies which Keymaps and keyboard layout the specific USB device uses, this can be reused to apply the same configuration to several different devices,  note the special Generic.idc and Virtual.idc these denote the generic fallback devices that are used when no matching descriptor is found. Device matching is performed from the specifics to the generic.  So for each usb device first the vendor+ product+ version is searched,  then the vendor+ product combo is searched, then the generic and the virtual falls back. The idc contains the types of device, so it can be used to map any external device like controllers as pointing device,  not just keyboards. </p>
<p>Once you identify the USB I&#8217;d of your device (i used some application,  but it&#8217;s far easier to just issue an lsusb command from a terminal.)  you can go ahead and create your own descriptor from the generic ones provided. As far as I&#8217;ve seen you don&#8217;t have to create the idc unless you want to reuse an already existing keylayout. I created mine just in case. As my device&#8217;s USB Id is 0e8f:0040 the file I created was named Vendor_0e8f_Product_0040.idc I modified the references in it to use my own layout and character map (keychar) files. </p>
<p>Keychars are basically nothing more than simple keycode to name maps. I&#8217;ve stickers with the generic here at first, but soon it turned out my arrow keys are mapped differently, so I actually had to make some minor adjustments here. </p>
<p>Key layouts are the final part of this puzzle. They specify the behavior of the key names when used with the various modifiers. Since I didn&#8217;t intend to create a full Hungarian mapping, but only provide a simply way of entering the accented characters in decided to map the special characters to their respective positions with the Alt / Shift+ Alt for capitals. This involved the utf-8 table I mentioned above, which I used to identify the required character codes with. </p>
<p>To test the results you just disconnect / reconnect the keyboard and the new layout is loaded automatically. </p>
<p>It snowing now,  so I just have to stop typing, cause the keyboard is all set.  If anyone is interested Inn more details drop a comment so I can touch the article up,</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2012/02/28/setting-up-your-android-usb-keyboard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSH key and pam_tally</title>
		<link>http://itworks.hu/2012/02/22/ssh-key-and-pam_tally/</link>
		<comments>http://itworks.hu/2012/02/22/ssh-key-and-pam_tally/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 22:10:19 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[It]]></category>

		<guid isPermaLink="false">http://m.itworks.hu/?p=236</guid>
		<description><![CDATA[I&#8217;ve recently managed to lock myself out from my own server. My ssh key worked, but I couldn&#8217;t sudo to administer the server. It happened after changing my expired password, I tried to sudo with my old one and tallied &#8230; <a href="http://itworks.hu/2012/02/22/ssh-key-and-pam_tally/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently managed to lock myself out from my own server. My ssh key worked, but I couldn&#8217;t sudo to administer the server. </p>
<p><span id="more-236"></span></p>
<p>It happened after changing my expired password, I tried to sudo with my old one and tallied out after 5 attempts. I couldn&#8217;t unlock it even after the timeout has long expired. I&#8217;ve changed my password and still couldn&#8217;t sudo. </p>
<p>It took me a while to figure out that I was an idiot. The key (literally) was the ssh connection I used. Since it used the certificate to identify myself to the server my login didn&#8217;t (and shouldn&#8217;t)  reset the tally count. As the ssh session has tallied out it didn&#8217;t expire. </p>
<p>The simple solution was to log out and reconnect with password authentication. </p>
<p>Note to self, password change or login through webmin didn&#8217;t reset the password tally either.</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2012/02/22/ssh-key-and-pam_tally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rooting ZT-280 C71 ICS (120104)</title>
		<link>http://itworks.hu/2012/01/08/rooting-zt-280-c71-ics-120104/</link>
		<comments>http://itworks.hu/2012/01/08/rooting-zt-280-c71-ics-120104/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 18:16:01 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=227</guid>
		<description><![CDATA[I&#8217;ve created a small update package to root the factory C71 ICS release. I hope it will be useful for others as well. Disclaimer This package is provided as-is. It worked for me, but I take no responsibility whatsoever on &#8230; <a href="http://itworks.hu/2012/01/08/rooting-zt-280-c71-ics-120104/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a small update package to root the factory C71 ICS release. I hope it will be useful for others as well.</p>
<p><span id="more-227"></span></p>
<p><strong>Disclaimer</strong><br />
This package is provided as-is. It worked for me, but I take no responsibility whatsoever on it&#8217;s effects on your device!</p>
<p><strong>IT MAY AS WELL BRICK YOUR DEVICE, OR YOU MIGHT LOOSE ALL YOUR DATA!</strong></p>
<p>Do not use it for any other ROM but the official ZT280_E7_1n_C71_Android4.0_0104_V1.2.rar! It might work, or screw you up<br />
altogether.</p>
<p><strong>(!!! You&#8217;ve been warned !!!)</strong></p>
<p><strong>About</strong></p>
<p>This update will install the su binaries and SuperUser application on your<br />
ZT-280.</p>
<p>This is NOT a rom, it&#8217;s only a supplement to root the ICS. If your device doesn&#8217;t use the ZT280_E7_1n_C71_Android4.0_0104_V1.2.rar ROM, you must install that separately.</p>
<p>This update is written so the root can be applied AFTER the ROM upgrade, in order to add the root capability without screwing up the actual data and applications already on the tablet.</p>
<p><strong>Usage</strong></p>
<ol></ol>
<ul>
<li>MAKE SURE YOUR SD CARD DOES NOT CONTAIN THE &#8220;zt-update&#8221; FOLDER. If it does just remove it.</li>
</ul>
<ul>
<li>Extract the contents of this archive in the root of your SD card.</li>
</ul>
<ul>
<li>Move the kernel and ramdisk for your device from the appropiate folder (1n or 1f) to the zt-update folder. If you want to use it with any other ROM than the ZT280_E7_1n_C71_Android4.0_0104_V1.2.rar YOU MUST use the kernel and the ramdisk from the newer version. (see disclaimer!)</li>
</ul>
<ul>
<li>Insert card and reboot the tablet keeping the Vol- pressed (ie. do a   standard update)</li>
</ul>
<p><strike>li>Update will finish with an error, that it cannot find the system, but   </strike><strong><strike>NO WORRIES</strike></strong><br />
<strike>!</strike> this issue is fixed in the updated version </p>
<ul>
<li>Reboot and enjoy root!</li>
</ul>
<p><strong>Licencing and price</strong></p>
<p>I accept but don&#8217;t require donations. <img src='http://itworks.hu/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  Nah, really, it&#8217;s just a hack.</p>
<p>The package is available here: <a href="http://itworks.hu/wp-content/uploads/2012/01/ZT280_E7_1n_C71_Android4.0_0104_V1.2-root.zip">ZT280_E7_1n_C71_Android4.0_0104_V1.2-root</a></p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2012/01/08/rooting-zt-280-c71-ics-120104/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing mojo generated code in Maven</title>
		<link>http://itworks.hu/2011/11/15/testing-mojo-generated-code-in-maven/</link>
		<comments>http://itworks.hu/2011/11/15/testing-mojo-generated-code-in-maven/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 17:38:46 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://m.itworks.hu/2011/11/15/testing-mojo-generated-code-in-maven/</guid>
		<description><![CDATA[Lately I was assigned a task which involved something that a unit test seemed to be able to solve, but later it turned out to be way more complex than that. Almost a third of our codebase consists of POJOs &#8230; <a href="http://itworks.hu/2011/11/15/testing-mojo-generated-code-in-maven/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Lately I was assigned a task which involved something that a unit test seemed to be able to solve, but later it turned out to be way more complex than that. </p>
<p>Almost a third of our codebase consists of POJOs generated from Xsd descriptors scattered around in our projects. The generation is performed during build, using a Maven plugin that performs the parsing and generation tasks.</p>
<p>These generated classes are no more than simple value objects descending from a common root object, that contains some well-known methods like toString (), that all methods should share. Unfortunately this particular toString does not know about it&#8217;s descendants&#8217; inner structure, so it relies heavily on reflection to perform it&#8217;s task. This springs the idea of generating the classes with their own toString methods, so the resulting code is more efficient. </p>
<p>To do this to be backwards compatible, I would have to generate all known xsds, invoke their old and generated toString implementation and compare the results. Also I&#8217;d have to fill these objects with values, so I&#8217;d have data to compare.</p>
<p>So much for the task, but what&#8217;s the fuss about? Well I want the testing kept inside Maven, so should the generated or  inherited code change, we can see it in the build process. </p>
<p>There seem to exist a vast number of ways to be used for mojo testing, starting from the blunt get a mojo instance, fill it with values, and run execute (), to running a separate Maven instance and use the generated test results. Given that in this particular case I&#8217;d to start the compiler and then the surefire I (eventually ) went for the later approach. </p>
<p>The plugin testing harness is an example of the earlier approach, while it seems from the usage example the former. Avoid if you have to invoke more, than just your own mojo. It only reads the pom.xml you provide, but doesn&#8217;t set up the required Maven environment like builders, project, …etc. It doesn&#8217;t do the setup of the default values of your mojo (not that it could resolve the non-existing values for that) So all you end up with is using a helper method for setting up your mojos and executing them from your testcase. I went as far as generating and compiling my classes, but when it came to the point of actually testing them with a surefire mojo I gave up on it, as setting that up would really have been impossible. </p>
<p>I then realized that from testing point of view it is in fact an integration test, not a &#8220;mere&#8221; unit test, as the testing involves interaction with third party plugins (compiler and surefire) as well. So I converted the package from the plugin testing harness&#8217;s structure to the maven-invoker plugin&#8217;s recommended structure.  It was nothing more than moving a few directories around, but I could simply throw the complicated mojo invocation out and use a well defined and simple pom instead.  This plugin creates a local repository for itself that contains your project&#8217;s dependencies and the artifact to be tested. It&#8217;s advised to create a settings.xml that points to your local repository, to limit the unnecessary fetching from your repositories.  </p>
<p>So far, so good. You should keep in mind however, the invoker plugin has some disadvantages. It&#8217;s way slower than the harness. It doesn&#8217;t aggregate the test results, so all you can see on a failed build, that there were errors in a particular run. Also, since it runs the test in a separate Java environment, you cannot debug your test code, which in my case is quite complex. </p>
<p>So you either create a separate test module and refer to it from the test pom, and create a unit test to test your code with known data, or just be brave write well thought out code and do it properly using log messages to trace your work, just like the good old times. After all repeated failure builds character.  <img src='http://itworks.hu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I actually created a small and a full test environment, testing the particularities of the test separately. To debug the test code you&#8217;ve got to import the generated Maven project in your IDE and start the test execution with the local repository and the generated settings.xml. </p>
<p>What were the results? I achieved a speedup of about 90% for completely empty classes, about 70% for classes with data, when the output buffer is limited, and around 30% for classes recursively and completely filled in a depth of four iterations. Overall I could say it&#8217;s a 50% improvement on the original method, with a proven backwards compatibility. Considering that this is invoked at least 6 million times a day it might bring a favorable impact on the performance of our systems. </p>
<p>In the process I found 3 errors in the current code, that proved that the output of method&#8217;s not used to heavily in the live system. Since the logging it produces is mandatory for regulatory compliance it might just be a good idea to roll it out in the near future. </p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2011/11/15/testing-mojo-generated-code-in-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chinese tablets recapped</title>
		<link>http://itworks.hu/2011/11/07/chinese-tablets-recapped/</link>
		<comments>http://itworks.hu/2011/11/07/chinese-tablets-recapped/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 18:06:48 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://m.itworks.hu/2011/11/07/chinese-tablets-recapped/</guid>
		<description><![CDATA[First I tried the wm8650 that I broke. Literally broke, as I just dropped it from about half a meter and the touch screen shattered. Then I got myself a &#8220;Superpad III&#8221; clone which died no later than a day &#8230; <a href="http://itworks.hu/2011/11/07/chinese-tablets-recapped/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First I tried the wm8650 that I broke. Literally broke, as I just dropped it from about half a meter and the touch screen shattered. Then I got myself a &#8220;Superpad III&#8221; clone which died no later than a day after I got it.</p>
<p>Know I&#8217;m typing on my brand new ZT-280  I received today.<br />
I can&#8217;t say I&#8217;m impressed, the tablet is about half the size of the Superpad and is also smaller than the wm8650. The capacitive screen is a bit hectic or oversensitive. It has no haptic feedback, but I can live with that. </p>
<p>It&#8217;s exterior is superb compared to the previous mentions, and is bordering on acceptable. I don&#8217;t like the reddish metal finish on the sides too much, but it&#8217;s not all that bad. I can&#8217;t understand the mini USB connectors really. After all micro sockets are taking over, don&#8217;t they? Also I don&#8217;t get why a separate power input is needed, when it could use the 5v straight from the port. As far as I&#8217;m concerned it should have two micro USB and scrap the rest.</p>
<p>The tablet came with the connector cables for both pc to tablet and external device to tablet connection, a power adapter and the usual EU socket adapter. It has a little deep socket for the micro sd card, but it&#8217;s reasonable, as I don&#8217;t want to change it too frequently anyway.</p>
<p>And so I used the pad for a day or so with the following issues. </p>
<p>The touch is a bit laggy, there are times, when the strength registers a &#8220;click &#8221; at a previous position. I seems like a driver issue and I don&#8217;t think it would be dealt with anytime soon.</p>
<p>The firmware is definitely based on cyanogen 7 so it promise a relatively long usability period. Unfortunately it doesn&#8217;t use clockwork boot loader, and has a legacy package format too. It still begs the question weather it can be used to do incremental upgrades, or only full updates are possible. The supplier released new firmware packs about monthly, and I can only hope they keep it up for the release of the icecream sandwich of cyanogen. </p>
<p>Now again, I&#8217;m kind of late on publishing, so here&#8217;s an update. A new release is available from the manufacturer &#8216;s site as of November 4th. I only did a partial update, so a new kernel is running on the pad. This seems to have resolved the touch issues. I&#8217;ve also recalibrated the battery, so now it provides a little bit more reliable info. This doesn&#8217;t solve the standard charge  issue of the pad. That only affects the charge level display so it only shows the range between 97% (uncharged) to 100% fully charged.  I don&#8217;t mind, as I leave office charge overnight anyway. </p>
<p>It does have a five point touch screen which looks nice in Fruit ninja, that I used to test 3d, where I could use 5 blades to slice through tons of fruit in seconds. <img src='http://itworks.hu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I really miss the light sensor. It boggles my mind trying to understand what made the designers think to omit such a cheap, but vital component from this otherwise well built tablet? It also shows that Android heavily relies on its existence. There is only a very limited possibility of customizing it properly, even with the notorious Cyanogen. One cannot set the actual levels to use in the power applet or the status bar, you can only select some predefined level combinations, all of which contain an auto option, despite the missing sensor. </p>
<p>Rooting the device is pretty simple. Connect with the provided cable, remount system with adb, copy su and superuser.apk cynosure the su and done. You can than use all rooted applications. This is required if you want to clean up the crappy preinstalled applications. </p>
<p>Chainfire works out of the box but I&#8217;m not a gamer, so I have no idea what&#8217;s the point. I did some fooling Around in Fruit Ninja and Angry Birds but I can&#8217;t tell the difference. </p>
<p>I wrote this article on the subway, using my ZTE Blade as a Wi-Fi hotspot to publish it.</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2011/11/07/chinese-tablets-recapped/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Motorola vip1910-9 HDMI</title>
		<link>http://itworks.hu/2011/08/04/motorola-vip1910-9-hdmi/</link>
		<comments>http://itworks.hu/2011/08/04/motorola-vip1910-9-hdmi/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 11:41:51 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[annoyance]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[invitel]]></category>
		<category><![CDATA[motorola vip1910-9]]></category>
		<category><![CDATA[stb]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=217</guid>
		<description><![CDATA[I have a Motorola vip1910-9 set-top box provided by my ISP. It&#8217;s a simple Linux based STB and I&#8217;m quite satisfied with it&#8217;s capabilities. Unfortunately I could not hook it up to my TV with a standard HDMI cable only &#8230; <a href="http://itworks.hu/2011/08/04/motorola-vip1910-9-hdmi/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have a Motorola vip1910-9 set-top box provided by my ISP. It&#8217;s a simple Linux based STB and I&#8217;m quite satisfied with it&#8217;s capabilities. Unfortunately I could not hook it up to my TV with a standard HDMI cable only through scart.</p>
<p>After spending hours on the net looking for a solution I came over a Swedish forum, which gave away the solution.</p>
<ol>
<li>Reboot the box, either by power cycling or from the remote</li>
<li>Press the Menu on the remote when the boot starts</li>
<li>Change the output to the resolution your TV can do</li>
<li>save and reboot</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2011/08/04/motorola-vip1910-9-hdmi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broke the Mid7, ordered a new tablet</title>
		<link>http://itworks.hu/2011/07/05/broke-the-mid7-ordered-a-new-tablet/</link>
		<comments>http://itworks.hu/2011/07/05/broke-the-mid7-ordered-a-new-tablet/#comments</comments>
		<pubDate>Tue, 05 Jul 2011 14:34:40 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=202</guid>
		<description><![CDATA[Last Saturday I stumbled upon the charger of the MID7 in the dark, managing to drop it and break the glass of the touch screen. Since the cheap MID7 proved it has a place in the household, but shown it&#8217;s &#8230; <a href="http://itworks.hu/2011/07/05/broke-the-mid7-ordered-a-new-tablet/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://itworks.hu/wp-content/uploads/2011/07/em73.jpg"><img class="alignright size-full wp-image-211" title="EM73" src="http://itworks.hu/wp-content/uploads/2011/07/em73.jpg" alt="" width="270" height="237" /></a>Last Saturday I stumbled upon the charger of the MID7 in the dark, managing to drop it and break the glass of the touch screen. Since the cheap MID7 proved it has a place in the household, but shown it&#8217;s weaknesses I decided to order another one. This time I go for a more expensive piece.</p>
<p><span id="more-202"></span>This was an accident waiting to happen. The length of the charger cord was a concern since the beginning. It was so short, that having an extension cord on the floor I could hardly put it on my lap on my sofa, without accidentally yanking it out altogether. So it didn&#8217;t have a safe place. It fell several times, but without any visible results. The battery or the power socket might have loosened as a result, but as I read it on several sites, it might have just been the poor manufacturing.</p>
<p>After the 40cm drop the corner of the touch screen over the LCD shattered. The unit still works, but barely. I&#8217;ve tested the screen with a drawing program, and it turns out the shattered section is &#8220;untouchable&#8221;. So about half of the screen is working the rest is deformed. This and the severe battery problems encountered recently (the charger shows 100%, but when I take it off it turns of in less than a minute, or lasts 4 hours depending it&#8217;s mood) render it useless.</p>
<p>So I decided to get a better tablet, with possibly better build quality, more internal memory, and preferably stronger CPU. I&#8217;ve decided to double the stakes and get get something under US$200. I spent over 6 hours searching through the vast amount of tablets available at http://dhgate.com and several other wholesale suppliers.</p>
<p>Most offers were bogus, the name and the make of the table sometimes doesn&#8217;t match the description of the item, several items are listed multiple times, under the same name and price. Whenever I tried to search for brands I ended up with results for MID7 and lookalikes (WM8550 and WM8650 series processors with 7&#8243;,8&#8243;or 10&#8243; resistive displays) These things you can get as low as $90, and as high as $200 (at the high end of my range <img src='http://itworks.hu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) Countless times I thought I found something good then it turned out it&#8217;s an overpriced MID.</p>
<p>After lots of searching I ended up with <a href="http://www.dhgate.com/product/productdisplay.do?pid=ff80808130e5a4790130e92a33db6076">this</a>. The EM73. It features a Telechips 8803 Cortex-A8 1GHZ CPU,  512M DDR RAM with a 4GB internal storage (of which I presume 1G is reserved for the OS only), it comes with Android 2.3 pre-installed. It has a promising 3400mA battery. It supposedly has a mali GPU, so some games might even run on it.  It has some features I will not use for sure, like the ethernet adapter, 2M camera, HDMI output (seriously, who really expects HDMI from a device with 800&#215;480 resolution?) It has no built-in 3G, GPS, Bluetooth, but I don&#8217;t care much about those anyway, it&#8217;s meant to be a couch tablet.</p>
<p>At the time of writing it costs US $164.32 apiece, with free shipping.</p>
<p>Based on the XDA developer forums, I should be able to mod it anyway I like, should I feel inclined to.</p>
<p>Based on my previous order, it should be delivered around August, so expect some follow up then!</p>
<p>Any suggestions on what to do with the broken one? I don&#8217;t feel like throwing it in the bin as is.</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2011/07/05/broke-the-mid7-ordered-a-new-tablet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MID v7 tablet from China</title>
		<link>http://itworks.hu/2011/05/27/mid-v7-tablet-from-china/</link>
		<comments>http://itworks.hu/2011/05/27/mid-v7-tablet-from-china/#comments</comments>
		<pubDate>Fri, 27 May 2011 21:14:00 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=194</guid>
		<description><![CDATA[I&#8217;ve ordered a very cheap tablet from China, for about $85 including shipping. I  did this, so I could see if anything arrives from there at all, and also to see if it arrives at all. I was not surprised &#8230; <a href="http://itworks.hu/2011/05/27/mid-v7-tablet-from-china/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://itworks.hu/wp-content/uploads/2011/05/midv7.jpg"><img class="alignright size-medium wp-image-213" title="midv7" src="http://itworks.hu/wp-content/uploads/2011/05/midv7-300x256.jpg" alt="" width="180" height="154" /></a>I&#8217;ve ordered a very cheap tablet from China, for about $85 including shipping. I  did this, so I could see if anything arrives from there at all, and also to see if it arrives at all.</p>
<p>I was not surprised to receive it in three weeks time, even though it had 30 working days to arrive.</p>
<p>It came in a rather unimpressing package, with my name and address printed on a piece of paper torn on the edges, affixed with liberal amounts of tape.</p>
<p>The box is just plain white with a very low quality picture of the device. It is called MID (this week probably) but it&#8217;s one of those cheap things you get rebranded under several aliases.</p>
<p>The tablet feels plastic, and quite heavy. The rear cover feels empty and hollow. The buttons on the sides are quite small. The painted arrow on thevback button on the front panel scratched off in mere hours! Well, one can&#8217;t expect to get a Galaxy Tab for this money. <img src='http://itworks.hu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>As it came with the Chinese market and complete lack of Google apps, I decided to flash it as soon as possible. It took 4 hours after receiving it, that I just killed the original firmware and replaced it with a version of the Uberoid release found <a href="http://techknow.freeforums.org/uberoid-wm8650-1-3-0-hybrid-honeycombmod-v4-t641.html">here</a>.</p>
<p>After the upgrade, and the market fix described on the page, the device suddenly  became more interesting. The icons seem to be oversized on the market, and so are several icons on the screen resulting in a broken feeling. I really want to change the icon packs back, as the &#8220;Honeycomb theme&#8221; makes me puke.</p>
<p>Titanium backup does not seem to work on the rooted device, so I guess I&#8217;ll have to live without. The image comes with a so far unknown AppMonster to do it&#8217;s job. I&#8217;ve replaced ADW Launcher, and Prolauncher that came in the image with the GO Launcher Ex, I use on my ZTE. As it turns out it is faster on this piece as well.</p>
<p>It will still take some time for me to see if it was a sensible idea to get it or not.</p>
<p><strong>Update </strong></p>
<p>The resistive display is very unresponsive, but it might be because of the capacitive display of my phone. Talking of which, the cheap ZTE Blade is far superior to this tablet in both manufacturing and performance wise. There&#8217;s a significant lack of responsiveness on the display edges caused by the ignorant design.<br />
I forgot to mention, that there was a stylus included in the box, that is very obviously designed for a mobile phone, there is no place to stick it in the tablet however. The power supply comes with an attachable European socket adapter, but with a cord no longer than 50 cm.<br />
I&#8217;ve reverted the ROM to the Vestinous 1.3 release, that&#8217;s not infested with the Honeycomb wannabe theme,now the icon sizes are normal, and I can still see the market. The performance is still tragic, it should be able to run at 800MHz but feels less, maybe it&#8217;s just the limited memory.<br />
I&#8217;ve later updated to the more stable <a href="http://www.slatedroid.com/topic/18521-slatedroid-singularity-m009s-final/ ">Singularity ROM</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2011/05/27/mid-v7-tablet-from-china/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bastard Operator from Hell excuse calendar widget for WordPress</title>
		<link>http://itworks.hu/2011/03/16/bastard-operator-from-hell-excuse-calendar-widget-for-wordpress/</link>
		<comments>http://itworks.hu/2011/03/16/bastard-operator-from-hell-excuse-calendar-widget-for-wordpress/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 00:22:17 +0000</pubDate>
		<dc:creator>csak</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[bofh]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://itworks.hu/?p=186</guid>
		<description><![CDATA[This site has always had a quote from the BOFH excuse calendar on the header.  This was accomplished by using the wp_bofh plugin by Bernd Essl,  that was written sometime ago back in 2007. This, while working well for it&#8217;s &#8230; <a href="http://itworks.hu/2011/03/16/bastard-operator-from-hell-excuse-calendar-widget-for-wordpress/">Read more <span class="meta-nav">&#187;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This site has always had a quote from the BOFH excuse calendar on the header.  This was accomplished by using the wp_bofh plugin by Bernd Essl,  that was written sometime ago back in 2007. This, while working well for it&#8217;s age, however is no longer compatible with the new widget based themes of WordPress.</p>
<p>I got bored of the old theme, and decided to finally change the looks of the site, but since I want themes to be changeable, I could not let the old fashioned theme spoil my plugin.</p>
<p>I&#8217;ve gathered a few manuals and rewritten the plugin as a widget using the guides found <a href="http://www.lonewolfdesigns.co.uk/create-wordpress-widgets/">here</a> and <a href="http://wpengineer.com/1023/wordpress-built-a-widget/">here</a>, and found the 21st comment of the later article useful, explaining why the widget cannot be simply registered.</p>
<p>The whole thing didn&#8217;t take more than half an hour to put together. I&#8217;m not sure the initialization code is optimal, or works at all, as data was already in my DB. So if anything goes south, just leave a comment, so I can fix it.</p>
<p>To use the widget, you can supply the widget title on the admin interface, other than that you can add the &#8216;bofh&#8217; style to your CSS, and customize it&#8217;s appearance.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.bofh</span> <span style="color: #00AA00;">&#123;</span>
...
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>If you are interested the plug-in is available <a href="http://itworks.hu/wp-content/plugins/BOFH/BOFHWidget.phps">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://itworks.hu/2011/03/16/bastard-operator-from-hell-excuse-calendar-widget-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

