<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1791100179734418785</id><updated>2012-02-02T01:05:10.176-08:00</updated><category term='logging'/><category term='Fedora'/><category term='JPA'/><category term='postgresql'/><category term='slow count'/><category term='simulate hold'/><category term='Cygwin'/><category term='bug'/><category term='jndi'/><category term='Spring Framework'/><category term='hex'/><category term='localization'/><category term='puppetmasterd'/><category term='maven'/><category term='streamripper'/><category term='compare strings with typos'/><category term='sms sender'/><category term='jdt'/><category term='bind service'/><category term='copy files'/><category term='border'/><category term='freemarker'/><category term='cookie'/><category term='source ip'/><category term='IDENTITY to data type int'/><category term='jrebel'/><category term='windows grep'/><category term='push'/><category term='eunit'/><category term='Java Web Start'/><category term='export variable terminal'/><category term='tunnelling'/><category term='iOS'/><category term='GMail'/><category term='Quiz'/><category term='ServerCertificateValidationCallback'/><category term='freemarket'/><category term='Popeye'/><category term='WikiToPdf'/><category term='Robotium'/><category term='svn status'/><category term='android device'/><category term='java'/><category term='netsh'/><category term='read file'/><category term='webdav'/><category term='mac os'/><category term='Binding with unknown activity'/><category term='activejdbc'/><category term='wake lock'/><category term='rebar'/><category term='solo'/><category term='crypt'/><category term='django'/><category term='NetBeans'/><category term='jaas'/><category term='mvc'/><category term='puppet'/><category term='Android testing'/><category term='iPhone'/><category term='groovy'/><category term='Sound'/><category term='Eclipse'/><category term='svn commit'/><category term='optimization'/><category term='CMS'/><category term='adding appointment'/><category term='Zaval'/><category term='RTF'/><category term='network'/><category term='jinfo. jhat'/><category term='pkg-config'/><category term='ConnectionFactory'/><category term='leap second'/><category term='j2ee'/><category term='app.config'/><category term='wakelock'/><category term='json'/><category term='svn'/><category term='Windows 2008 r2'/><category term='winstone'/><category term='Xcode'/><category term='8.4'/><category term='JavaFx'/><category term='get appointments'/><category term='VirtualBox'/><category term='tomcat'/><category term='dump'/><category term='IntelliJ IDEA'/><category term='online radio'/><category term='autoscroll stuck'/><category term='OTA'/><category term='openejb'/><category term='mock location'/><category term='reproducing swipe'/><category term='HipHop'/><category term='#preprocess'/><category term='Linux. OpenSUSE'/><category term='SIO2 Engine'/><category term='op4j'/><category term='Babel'/><category term='Scala'/><category term='Charts'/><category term='shell'/><category term='Game Physics'/><category term='orientation'/><category term='JAX-WS'/><category term='slapd'/><category term='productivity'/><category term='push file'/><category term='firewall'/><category term='config file'/><category term='Facebook'/><category term='Servlet'/><category term='mnesia'/><category term='svn update'/><category term='netstat'/><category term='Debian'/><category term='battery usage'/><category term='geronimo'/><category term='prepare jad file for blackberry'/><category term='AMR'/><category term='prbeditor'/><category term='MP3'/><category term='ssh'/><category term='hudson'/><category term='URL Frame'/><category term='web services'/><category term='openldap'/><category term='Google'/><category term='tip'/><category term='dumpsys'/><category term='click on screen'/><category term='PHP'/><category term='simulate touch'/><category term='blackberry'/><category term='system.diagnostic'/><category term='Linux'/><category term='set environment variable'/><category term='mod_rewrite'/><category term='samba'/><category term='blame'/><category term='Ubuntu'/><category term='sms reciever'/><category term='run many tests'/><category term='mod_security'/><category term='erlang-web'/><category term='compare string'/><category term='FFMpeg'/><category term='handle solo error'/><category term='logcat'/><category term='calendar'/><category term='SQL'/><category term='erlang'/><category term='MotionEvents'/><category term='junit'/><category term='connect to network share'/><category term='sun-java'/><category term='date'/><category term='avoid screen lock'/><category term='close all activities'/><category term='Landscape'/><category term='manage servers'/><category term='htc desire'/><category term='PAE'/><category term='firefox'/><category term='test'/><category term='grails'/><category term='liferay'/><category term='jrunscript'/><category term='commons-upload'/><category term='connection string'/><category term='websphere'/><category term='jstat'/><category term='symbian'/><category term='.net'/><category term='performance'/><category term='testing tools'/><category term='decoding event'/><category term='net basics'/><category term='ExtGWT'/><category term='cell id'/><category term='reports'/><category term='jre'/><category term='TopLink'/><category term='block ip'/><category term='epgsql'/><category term='zotonic'/><category term='jdk'/><category term='security'/><category term='xoom'/><category term='datastore'/><category term='test utils'/><category term='openssl'/><category term='hg annotate'/><category term='ssl certificate error'/><category term='TestSuite'/><category term='algorithm'/><category term='bash'/><category term='Arithmetic overflow occurred'/><category term='adb shell'/><category term='Options=-quiet -define'/><category term='oracle'/><category term='simulate location'/><category term='trac'/><category term='MinGW'/><category term='jasperreports'/><category term='Game development'/><category term='build process'/><category term='html'/><category term='configure ip'/><category term='GPS'/><category term='memcached'/><category term='Internationalization'/><category term='jstack'/><category term='JSF'/><category term='ecperf'/><category term='screenshot'/><category term='JavaMail'/><category term='testing'/><category term='jms'/><category term='cell location'/><category term='web-framework'/><category term='ide'/><category term='softteco'/><category term='JavaEE'/><category term='reset identity'/><category term='.jad'/><category term='get battery'/><category term='wiki'/><category term='puppet framework'/><category term='GWT'/><category term='jdbc'/><category term='Connector.open'/><category term='gson'/><category term='javascript'/><category term='connection'/><category term='jfreechart'/><category term='jenkins'/><category term='trace'/><category term='glassfish'/><category term='DalvikVM'/><category term='skype'/><category term='get signal strength'/><category term='sourcecode'/><category term='graphviz'/><category term='restore GRUB loader after windows install'/><category term='joda-time'/><category term='GNOME'/><category term='C++'/><category term='GRUB'/><category term='test service'/><category term='MyEclipse'/><category term='.cod'/><category term='python'/><category term='Google Go'/><category term='JCR'/><category term='Objective-C'/><category term='#ifdef'/><category term='windows'/><category term='layout'/><category term='UIColor'/><category term='jps'/><category term='timestamp'/><category term='Android'/><category term='pull'/><category term='database'/><category term='Windows 7'/><category term='apache'/><category term='assert'/><category term='hibernate'/><category term='internet explorer'/><category term='patterns'/><category term='time of a day check'/><category term='shell execute'/><category term='Concurency'/><category term='GAE'/><category term='JTA'/><category term='sliding'/><category term='YUI'/><category term='jvm'/><category term='Google App Engine'/><category term='autoscroll issue'/><category term='time'/><category term='keytool'/><category term='tests'/><category term='terminal'/><category term='include layout'/><category term='create keystore from existing private key'/><category term='jboss'/><category term='appointment'/><category term='qemu'/><category term='MySql'/><category term='mercurial'/><category term='magnolia'/><category term='error 21'/><category term='click on physical button'/><title type='text'> </title><subtitle type='html'>Company Blog</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default?start-index=101&amp;max-results=100'/><author><name>SoftTeco Ltd.</name><uri>http://www.blogger.com/profile/09370063640284595409</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>176</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8507643529294768106</id><published>2012-01-10T22:37:00.000-08:00</published><updated>2012-01-10T23:22:44.928-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySql'/><category scheme='http://www.blogger.com/atom/ns#' term='qemu'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='postgresql'/><title type='text'>Migrating between several Linux distributions</title><summary type='text'>Lets say you're migrating between two totally different Linux distributions. You've copied all of the settings and other stuff. And then you realise that you forgot to migrate databases from PostgreSQL or MySQL. And of course you don't want to reboot every time you want anything from the old system.QEMU can help you here. What you need - is to create a new VM which will use real partitions.In my </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8507643529294768106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2012/01/migrating-between-several-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8507643529294768106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8507643529294768106'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2012/01/migrating-between-several-linux.html' title='Migrating between several Linux distributions'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-TpZqw0SZAbE/Tw00qJZugkI/AAAAAAAAAJU/tqqzHdLtWGE/s72-c/QEMU1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2016607679309902486</id><published>2011-12-30T05:26:00.000-08:00</published><updated>2011-12-30T05:41:56.708-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netsh'/><category scheme='http://www.blogger.com/atom/ns#' term='configure ip'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008 r2'/><category scheme='http://www.blogger.com/atom/ns#' term='source ip'/><title type='text'>Windows Server 2008 r2 ip management from the shell</title><summary type='text'>Hello everybody :)Sometimes we have to do some not ordinary things, and it is really difficult to find the solution over the network.Perhaps, this post will help somebody, who wants to change the outgoing IP at his server based on Windows 2008. The main issue, that Windows server has no "primary" IP anymore. If your server's NIC has a set of IPs, numerically less IP will be set automatically as a</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2016607679309902486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/12/windows-server-2008-r2-ip-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2016607679309902486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2016607679309902486'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/12/windows-server-2008-r2-ip-management.html' title='Windows Server 2008 r2 ip management from the shell'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4502116953672771290</id><published>2011-12-06T21:28:00.000-08:00</published><updated>2011-12-15T05:34:31.590-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tip'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Making Java web application development easier</title><summary type='text'>If you have some web server where you deploy the web application in the exploded form and your source code is placed in another place for example in the local SVN copy - you have several options:Configure your IDE to deploy web application directly into your web server.Change your files in IDE and manually copy them into your exploded web application.Change your files in the exploded web </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4502116953672771290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/12/making-java-web-application-easier.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4502116953672771290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4502116953672771290'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/12/making-java-web-application-easier.html' title='Making Java web application development easier'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-905253228422735906</id><published>2011-12-02T06:47:00.000-08:00</published><updated>2011-12-02T07:48:15.770-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jinfo. jhat'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='jstat'/><category scheme='http://www.blogger.com/atom/ns#' term='jstack'/><category scheme='http://www.blogger.com/atom/ns#' term='jps'/><category scheme='http://www.blogger.com/atom/ns#' term='jdk'/><title type='text'>Cool JDK tools you probably never used</title><summary type='text'>Lets say you have some remote server running Java. How would you see what is happening with JVM? Connecting profiler remotely requires open ports and definitely won't be quick. Running profiler on the remote server is not usually possible since the servers rarely have X11 installed. In this case a bunch of tools from JDK may help you.These include:jpsjstatjinfojstackjmapjhatLet's have a look at </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/905253228422735906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/12/cool-jdk-tools-you-probably-never-used.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/905253228422735906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/905253228422735906'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/12/cool-jdk-tools-you-probably-never-used.html' title='Cool JDK tools you probably never used'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-6m1t-fhXQD8/TtjvW-Zl2zI/AAAAAAAAAJI/UORbGuifLaI/s72-c/JHat.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1800131737251485543</id><published>2011-11-30T23:27:00.000-08:00</published><updated>2011-11-30T23:51:15.212-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jenkins'/><category scheme='http://www.blogger.com/atom/ns#' term='hudson'/><title type='text'>Hudson/Jenkins clash</title><summary type='text'>We're using Hudson for the purpose of CI. We've updated it not long ago and started getting errors like:java.lang.NoClassDefFoundError: org/jenkinsci/plugins/tokenmacro/DataBoundTokenMacroThese problems are caused by plugins we use to get PMD/FindBugs/CheckStyle results.The fix is to download and install token-macro plugin from:http://maven.jenkins-ci.org/content/repositories/releases/org/</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1800131737251485543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/11/hudsonjenkins-clash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1800131737251485543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1800131737251485543'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/11/hudsonjenkins-clash.html' title='Hudson/Jenkins clash'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4763280125124561555</id><published>2011-11-15T00:09:00.000-08:00</published><updated>2011-11-15T00:24:07.366-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cygwin'/><category scheme='http://www.blogger.com/atom/ns#' term='pkg-config'/><category scheme='http://www.blogger.com/atom/ns#' term='MinGW'/><title type='text'>Differences in PKG_CONFIG_PATH between MinGW and Cygwin</title><summary type='text'>When you're compiling some Linux library for Windows you can get the errors like these:Package gthread-2.0 was not found in the pkg-config search path.Perhaps you should add the directory containing `gthread-2.0.pc' to the PKG_CONFIG_PATH environment variableNo package 'gthread-2.0' foundIt's pretty straightforward for MinGW. Just do "export PKG_CONFIG_PATH = ~/lib/pkgconfig" where ~/lib/</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4763280125124561555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/11/differences-in-pkgconfigpath-between.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4763280125124561555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4763280125124561555'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/11/differences-in-pkgconfigpath-between.html' title='Differences in PKG_CONFIG_PATH between MinGW and Cygwin'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2379205176355861865</id><published>2011-09-21T05:50:00.000-07:00</published><updated>2011-09-21T05:56:18.432-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='assert'/><category scheme='http://www.blogger.com/atom/ns#' term='solo'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Android testing'/><category scheme='http://www.blogger.com/atom/ns#' term='handle solo error'/><title type='text'>Android Instrumentation, catch assertation error</title><summary type='text'>Hello Everybody,For a long time I have no single guess that it is possible to catch the error from the assertTrue(false) very simply.Yep, it is possible. Saneesh Joseph has opened my eyes!Sample snippet:try {    assertTrue("Catch me if you can!", false);} catch(Error er) {    Log.i(er.toString());}Thanks, Saneesh Joseph!Happy testing, folk! (:Best regards,Yahor</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2379205176355861865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/09/android-instrumentation-catch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2379205176355861865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2379205176355861865'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/09/android-instrumentation-catch.html' title='Android Instrumentation, catch assertation error'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2233946423575047323</id><published>2011-08-29T03:26:00.001-07:00</published><updated>2011-08-29T03:27:49.270-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cell id'/><category scheme='http://www.blogger.com/atom/ns#' term='cell location'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android, get cell id</title><summary type='text'>Hello Everybody,A quick snippet to get CORRECT cell id for Android:public static int getCID(Context ctx) {        try {            TelephonyManager tm = (TelephonyManager)ctx.getSystemService(Context.TELEPHONY_SERVICE);            GsmCellLocation location = (GsmCellLocation)tm.getCellLocation();            int locationCellid = location.getCid();            int cellId = -1; // set to unknown </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2233946423575047323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/android-get-cell-id.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2233946423575047323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2233946423575047323'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/android-get-cell-id.html' title='Android, get cell id'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3243117711964709673</id><published>2011-08-22T23:43:00.000-07:00</published><updated>2011-08-23T00:17:38.514-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bind service'/><category scheme='http://www.blogger.com/atom/ns#' term='test service'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Android testing'/><title type='text'>Android, testing service from the test case!</title><summary type='text'>Hello everybody,This sample is specially created for Shivang Seth from Robotium conference and I would like to describe how to bind service from the test case! :)First of all you will need:1) Bind/unbind methods for service for setUp() and tearDown() methods accordingly;2) Connection class to bind the service;3) Binder implementation inside the service, should have public method '</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3243117711964709673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/android-testing-service-from-test-case.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3243117711964709673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3243117711964709673'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/android-testing-service-from-test-case.html' title='Android, testing service from the test case!'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7773643958346830680</id><published>2011-08-22T06:29:00.000-07:00</published><updated>2011-08-22T06:34:51.596-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='get signal strength'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android 1.5, get cell signal strength</title><summary type='text'>Hello everybody,Today I will tell you how to get signal strength for Android 1.5 :)Please find listener code bellow:PhoneStateListener mSignalListener = null; TelephonyManager mTelManager = null; private void initSignalStrengthListener() {     PhoneStateListener mSignalListener = new PhoneStateListener(){         @Override         public void onSignalStrengthChanged(int asu){</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7773643958346830680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/android-15-get-cell-signal-strength.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7773643958346830680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7773643958346830680'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/android-15-get-cell-signal-strength.html' title='Android 1.5, get cell signal strength'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-141147099878545113</id><published>2011-08-17T00:30:00.001-07:00</published><updated>2011-08-17T00:41:06.070-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sms sender'/><category scheme='http://www.blogger.com/atom/ns#' term='sms reciever'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android, test sms sender and reciever</title><summary type='text'>Hello Everybody,I have to implement sms service, and have doubt that testing would be very painful. But I was wrong, google did everything right! :))To test sms we are able to use 2 emulators (I'm using Android 1.5 emulators, red one, very cute and very fast!)To send a sms, inside the field "TO" type the port of the second emulator, for instance, I have 2 emulators:1) 55542) 5556To send sms to</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/141147099878545113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/android-test-sms-sender-and-reciever.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/141147099878545113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/141147099878545113'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/android-test-sms-sender-and-reciever.html' title='Android, test sms sender and reciever'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-9069141071976185858</id><published>2011-08-17T00:10:00.000-07:00</published><updated>2011-08-17T00:23:52.694-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mock location'/><category scheme='http://www.blogger.com/atom/ns#' term='GPS'/><category scheme='http://www.blogger.com/atom/ns#' term='simulate location'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android, creating mock geo locations</title><summary type='text'>Hello Everybody,Today I was playing a lot with GPS and found that in some places, and exactly at my working place in office GPS is not working :)) I saw that my co-workers walking a lot outside the office with devices on hands, but I don't guess what they are doing untill I got a task to implement GPS based service. What a surprise, I have to walk outside the office too xDD to make </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/9069141071976185858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/android-creating-mock-geo-locations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9069141071976185858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9069141071976185858'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/android-creating-mock-geo-locations.html' title='Android, creating mock geo locations'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5638674597516526630</id><published>2011-08-16T23:58:00.001-07:00</published><updated>2011-08-17T00:10:14.115-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bind service'/><category scheme='http://www.blogger.com/atom/ns#' term='Binding with unknown activity'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Bind service in the tab activity</title><summary type='text'>Hello everybody,Today I have found a really serious problem :) I was trying to bind the service to the tab activity (activity inside the tab host) and I was constantly getting same error:ActivityManager::Binding with unknown activity: android.os.BinderProxy@124ef127I have googled a bit and found the reason of the issue:http://code.google.com/p/android/issues/detail?id=2483In few words, to </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5638674597516526630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/bind-service-in-tab-activity.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5638674597516526630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5638674597516526630'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/bind-service-in-tab-activity.html' title='Bind service in the tab activity'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8098106881316252916</id><published>2011-08-12T00:06:00.000-07:00</published><updated>2011-08-12T00:25:07.539-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='border'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='include layout'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Draw 1px border around the group of views in Android 1.5</title><summary type='text'>Hello Everybod,Few days ago I have faced the issue, that I'm not able to draw the border around the group of views in Android 1.5, because it has no support for standart approach with shapes in drawable :))&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;LinearLayout        xmlns:android="http://schemas.android.com/apk/res/android"        android:layout_width="fill_parent"        android:</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8098106881316252916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/draw-1px-border-around-group-of-views.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8098106881316252916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8098106881316252916'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/draw-1px-border-around-group-of-views.html' title='Draw 1px border around the group of views in Android 1.5'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6691672155137259659</id><published>2011-08-05T05:01:00.000-07:00</published><updated>2011-08-05T05:27:49.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='orientation'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Landscape'/><category scheme='http://www.blogger.com/atom/ns#' term='xoom'/><title type='text'>Universal way to detect landscape mode in Android</title><summary type='text'>Hello everybody,Today I have faced a real challenge how to determinate the screen mode :)Issue was to detect orientation (Landscape or portrait) for ANY Android device.Xoom has 0,3 - landscape 1,2 - portrait, Galaxy 1,2 - landscape 0,3 - portrait,so it is difficult to handle all necessary events for different devices due to theirs default orientation. I didn't find the way to get default </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6691672155137259659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/08/universal-way-to-detect-landscape-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6691672155137259659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6691672155137259659'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/08/universal-way-to-detect-landscape-mode.html' title='Universal way to detect landscape mode in Android'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-215082871363251052</id><published>2011-07-26T02:35:00.000-07:00</published><updated>2011-07-26T03:29:58.867-07:00</updated><title type='text'>Sample to Control Screen Brightness</title><summary type='text'>Hello Everybody,this sample help us to create Screen Brightness Controller.1) Add sample Activity:public class MainActivity extends Activity {  private static final String BRIGHTNESS_PREFERENCE_KEY = "brightness";  private View brightnessView;  private SeekBar brightnessControl;  private int brightness = 50;  @Override  public void onCreate(Bundle savedInstanceState) {      super.onCreate(</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/215082871363251052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/07/sample-to-control-screen-brightness.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/215082871363251052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/215082871363251052'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/07/sample-to-control-screen-brightness.html' title='Sample to Control Screen Brightness'/><author><name>Pavel Seliuzhytski</name><uri>http://www.blogger.com/profile/06269534393516651645</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1606605509136607817</id><published>2011-07-13T00:15:00.001-07:00</published><updated>2011-07-13T00:19:23.691-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Convert hex to dec</title><summary type='text'>Hello Everybody,All the time I was using online tools for converting hex to dec values :)I have learned the ways to do that quickly in the mind, but anyway, if you need to convert a lot of values it is not acceptable.For my pleasure, I have found an intersting and easy way how to convert hex to dec via terminal in Ubuntu :)echo $(( 0xfff )) And you will get: 4095 value in output. (Do not forget </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1606605509136607817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/07/convert-hex-to-dec.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1606605509136607817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1606605509136607817'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/07/convert-hex-to-dec.html' title='Convert hex to dec'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-346257142175457367</id><published>2011-07-12T23:53:00.000-07:00</published><updated>2011-08-25T03:39:44.105-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='close all activities'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>How to "close" activity and all children activities</title><summary type='text'>Hello Everybody,I was implementing a multi activities application and was really surprised that it is not easy to close all of them from the main activity when user hits 'Exit' :)In general, in Android way it is not logical to "close" something, it is better to move something to the background :) I found it after a day of fighting with activities.First of all, ** and it is very important **</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/346257142175457367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/07/how-to-close-activity-and-all-children.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/346257142175457367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/346257142175457367'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/07/how-to-close-activity-and-all-children.html' title='How to &quot;close&quot; activity and all children activities'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8162183967278771168</id><published>2011-07-12T23:18:00.000-07:00</published><updated>2011-07-12T23:52:57.824-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='get battery'/><category scheme='http://www.blogger.com/atom/ns#' term='battery usage'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>How to get battery stats in the real time. Part 2.</title><summary type='text'>Hello Everybody,Lets talk today about how to get battery stats in the real time! :)Sample activity:public class ChargeSourceInfoActivity extends Activity {TextView chargeSourceInfo;private TextView battLevel, battVolt, battTemp,battTech, battStatus, battConn;public void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.chargesource);chargeSourceInfo =</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8162183967278771168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/07/how-to-get-battery-stats-in-real-time.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8162183967278771168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8162183967278771168'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/07/how-to-get-battery-stats-in-real-time.html' title='How to get battery stats in the real time. Part 2.'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5821081843389011380</id><published>2011-06-28T00:06:00.000-07:00</published><updated>2011-06-28T00:44:49.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UIColor'/><category scheme='http://www.blogger.com/atom/ns#' term='iOS'/><category scheme='http://www.blogger.com/atom/ns#' term='hex'/><title type='text'>Extract HEX (RGB) color from UIColor</title><summary type='text'>Simple function to extract HEX (RGB) color from UIColorImportant notes:1. Function checks the color components number (in case of monochrome color model)2. Function supports RGB color space model only - otherwise returns black color- (NSString *) htmlFromUIColor:(UIColor *)_color {   if (CGColorGetNumberOfComponents(_color.CGColor) &lt; 4) {     const CGFloat *components = CGColorGetComponents(_</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5821081843389011380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/06/extract-hex-rgb-color-from-uicolor.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5821081843389011380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5821081843389011380'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/06/extract-hex-rgb-color-from-uicolor.html' title='Extract HEX (RGB) color from UIColor'/><author><name>Alexey Shevchik</name><uri>http://www.blogger.com/profile/15374245187383431834</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/_NdhBIwZAUeg/S1WyYi3f12I/AAAAAAAAAFA/e701Godnhd8/S220/face.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8986207708748280395</id><published>2011-06-16T06:16:00.000-07:00</published><updated>2011-06-16T06:16:57.166-07:00</updated><title type='text'>Password Based Encryption with MD5 and DES algorithm.</title><summary type='text'>In posts of Alexey Shevchik dedicated to "Symmetric Encryption for Windows and iPhone"Part 1: Symmetric Encryption for Windows and iPhone (part 1)Part 2: Symmetric Encryption for Windows and iPhone (part 2)
was described algorithm to encrypt and decrypt files using Crypto library. The algorithm that was used is named RC4.I modified his sources to have possibility encrypt/decrypt strings with </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8986207708748280395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/06/password-based-encryption-with-md5-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8986207708748280395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8986207708748280395'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/06/password-based-encryption-with-md5-and.html' title='Password Based Encryption with MD5 and DES algorithm.'/><author><name>Дзмітрі Старкоў</name><uri>http://www.blogger.com/profile/12397458135371126862</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_TiIGYVOnwyg/TUwIY3SarxI/AAAAAAAAAAM/WMsfMcggqKw/s220/Rafter.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4029987684743325356</id><published>2011-05-20T07:49:00.000-07:00</published><updated>2011-05-20T07:54:31.176-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>OL tag in Firefox 3.6</title><summary type='text'>Noticed a very interesting effect in the latest FireFox 3.6.I have table and display OL tag in TD. Result is interesting:After changing OL to UL, starts looking fine:</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4029987684743325356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/05/firefox-36-display-of-ol.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4029987684743325356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4029987684743325356'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/05/firefox-36-display-of-ol.html' title='OL tag in Firefox 3.6'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-kVpY-vOpVyI/TdaADeyAzaI/AAAAAAAAAI0/acTimiht6K4/s72-c/blog1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7171997837961414706</id><published>2011-05-18T06:04:00.000-07:00</published><updated>2011-05-18T06:37:59.893-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AMR'/><category scheme='http://www.blogger.com/atom/ns#' term='FFMpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='MP3'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian'/><title type='text'>Compilation of FFMpeg under Debian</title><summary type='text'>One of the typical projects we have are mobile applications which contain both server and client part. Client application usually displays some stuff which is maintained via some server UI. Not long ago we've noticed a bug playing AMR file on iPhones. Since the files are dynamic and are sent from the client devices - the best approach to overcome this is to convert this file on the fly.The server</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7171997837961414706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/05/compilation-of-ffmpeg-under-debian.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7171997837961414706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7171997837961414706'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/05/compilation-of-ffmpeg-under-debian.html' title='Compilation of FFMpeg under Debian'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4388314828306798094</id><published>2011-04-25T23:03:00.000-07:00</published><updated>2011-04-25T23:10:40.050-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='skype'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora'/><title type='text'>Why do I like my Fedora?</title><summary type='text'>The deeper I get into this OS - the more I appreciate it.Yesterday I was playing with Qt because one tool had very exotic dependencies. As a result - I started getting the following errors when starting Skype:skype: error while loading shared libraries: libQtGui.so.4: wrong ELF class: ELFCLASS64skype: error while loading shared libraries: libQtNetwork.so.4: wrong ELF class: ELFCLASS64The fix was </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4388314828306798094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/04/why-do-i-like-my-fedora.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4388314828306798094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4388314828306798094'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/04/why-do-i-like-my-fedora.html' title='Why do I like my Fedora?'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6536741969765311063</id><published>2011-04-25T22:17:00.000-07:00</published><updated>2011-04-25T22:51:40.111-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Small Java test</title><summary type='text'>Here's a small Java snippetint sum = 0;for(int i = 1; i &lt;= 3; i++) {  sum =+ i;}System.out.println(sum);What should this code print?136Compilation errorCheck Your Answer</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6536741969765311063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/04/small-java-test.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6536741969765311063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6536741969765311063'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/04/small-java-test.html' title='Small Java test'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4207184088890733565</id><published>2011-04-06T08:34:00.000-07:00</published><updated>2011-04-06T08:34:48.290-07:00</updated><title type='text'>Saving RSA keys in files from iPhone application</title><summary type='text'>This is my first post which I wanted to write after I get some experience in generating RSA keys on iPhone. I hope it can help some people to avoid troubles which we got while working with RSA keys.
This post describes how to create RSA-keys in iPhone-application. In Apple documentation we can find how to make key pair with usage of standard frameworks (Security framework and CommonCrypto library</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4207184088890733565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/04/saving-rsa-keys-in-files-from-iphone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4207184088890733565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4207184088890733565'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/04/saving-rsa-keys-in-files-from-iphone.html' title='Saving RSA keys in files from iPhone application'/><author><name>Дзмітрі Старкоў</name><uri>http://www.blogger.com/profile/12397458135371126862</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_TiIGYVOnwyg/TUwIY3SarxI/AAAAAAAAAAM/WMsfMcggqKw/s220/Rafter.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-9015194009523774195</id><published>2011-04-06T05:46:00.000-07:00</published><updated>2011-04-20T02:04:04.961-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='test utils'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='screenshot'/><title type='text'>Android, take a screenshot</title><summary type='text'>Hello everybody,To take a screenshot you can use a  simple method:For those who do not know how to add imports :)import android.graphics.Bitmap;import android.graphics.View;import java.io.File;import java.io.FileOutputStream;p, li { white-space: pre-wrap; } // set your locationprivate static final String SCREEN_SHOTS_LOCATION = "/media/screenshots"; public static void takeScreenShot(View view, </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/9015194009523774195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/04/android-take-screenshot.html#comment-form' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9015194009523774195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9015194009523774195'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/04/android-take-screenshot.html' title='Android, take a screenshot'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2586179546516327258</id><published>2011-04-05T13:11:00.000-07:00</published><updated>2011-04-06T02:24:33.931-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testing tools'/><category scheme='http://www.blogger.com/atom/ns#' term='shell execute'/><category scheme='http://www.blogger.com/atom/ns#' term='dumpsys'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android, playing with dumpsys</title><summary type='text'>Hello everybody,This article is continue of the battery stats dumping example article.In this article I will discover, what information can we retrieve from dumpsys shell command and how we can use it.Obvious benefits:1. Possibility to easily get system information in a simple string representation;2. Possibility to use dumped CPU, RAM, Battery, storage stats for a pretty charts, which will allow</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2586179546516327258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/04/android-playing-with-dumpsys.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2586179546516327258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2586179546516327258'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/04/android-playing-with-dumpsys.html' title='Android, playing with dumpsys'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-235898410552254131</id><published>2011-04-05T06:33:00.000-07:00</published><updated>2011-07-12T23:50:34.602-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell execute'/><category scheme='http://www.blogger.com/atom/ns#' term='get battery'/><category scheme='http://www.blogger.com/atom/ns#' term='dump'/><category scheme='http://www.blogger.com/atom/ns#' term='battery usage'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android, easy way to get battery stats</title><summary type='text'>Hello everybody,Many times I was trying to get battery usage stats, especially charge level. I didn't find any cool way to do that quickly and forgot about it.Today, I'm accidentally find a simple and interesting way to get all possible battery statistic:$~ adb shell dumpsys batteryYou will get output:  Current Battery Service state: AC powered: false  AC capacity: 500000  USB powered: true  </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/235898410552254131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/04/android-easy-way-to-get-battery-stats.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/235898410552254131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/235898410552254131'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/04/android-easy-way-to-get-battery-stats.html' title='Android, easy way to get battery stats'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7711215537524702161</id><published>2011-04-04T05:27:00.000-07:00</published><updated>2011-04-04T05:45:28.490-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mac os'/><category scheme='http://www.blogger.com/atom/ns#' term='Xcode'/><category scheme='http://www.blogger.com/atom/ns#' term='set environment variable'/><category scheme='http://www.blogger.com/atom/ns#' term='export variable terminal'/><title type='text'>Mac OS 10.6, set environment variable</title><summary type='text'>Hello everybody,Main goal: make some custom path variable available permanently using some environment variable. For ant build, for example.I got an issue to deploy Android environment with our big project on Apple Mac Mini, and I have found that it is not so easy as on Ubuntu to set an environment variable. To do that, you can follow support article.In few words, you need to create:1. Folder: .</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7711215537524702161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/04/mac-os-106-set-environment-variable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7711215537524702161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7711215537524702161'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/04/mac-os-106-set-environment-variable.html' title='Mac OS 10.6, set environment variable'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3615159007861813462</id><published>2011-03-30T08:47:00.000-07:00</published><updated>2011-03-30T09:01:53.084-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='NetBeans'/><title type='text'>How to switch to fullscreen mode an application based on Netbeans platform</title><summary type='text'>E.g. we need open a window MyTopComponent (mode: output) and switch an application to fullscreen.Before that we should hide other opened windows, e.g. PropertyTopComponent (mode: output) and FoldersTopComponent (mode: explorer).Let's override and implement few methods of two classespublic final class MyTopComponent extends TopComponent { @Override public void componentOpened() {  </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3615159007861813462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/how-to-switch-to-fullscreen-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3615159007861813462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3615159007861813462'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/how-to-switch-to-fullscreen-mode.html' title='How to switch to fullscreen mode an application based on Netbeans platform'/><author><name>Andrei Belan</name><uri>http://www.blogger.com/profile/09248606517863089987</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4696579442829294225</id><published>2011-03-30T01:45:00.000-07:00</published><updated>2011-03-30T02:02:33.557-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='NetBeans'/><title type='text'>How to create a menu-item for GUI application based on Netbeans</title><summary type='text'>Let's add an item that would have the name and availability depends on something (e.g. logged in user or not)At first you should create a new Action (it mean menu-item) with type 'Always Enabled' via the wizard.layer.xml will be modified and you can find next definition&lt;file name="com-package-menu-LoginItemAction.instance"&gt; &lt;attr name="delegate" newvalue="com.package.menu.LoginItemAction"/&gt; &lt;attr</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4696579442829294225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/how-to-create-menu-item-for-gui.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4696579442829294225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4696579442829294225'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/how-to-create-menu-item-for-gui.html' title='How to create a menu-item for GUI application based on Netbeans'/><author><name>Andrei Belan</name><uri>http://www.blogger.com/profile/09248606517863089987</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5819381495024450181</id><published>2011-03-30T00:51:00.000-07:00</published><updated>2011-03-30T01:09:44.207-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='Facebook'/><title type='text'>How to implement login/logout in the Facebook through desktop application</title><summary type='text'>You have to take a web browser (e.g. The DJ project), which will be inserted into your desktop application.Navigate tohttps://graph.facebook.com/oauth/authorize?client_id={client_id}&amp;redirect_uri=http://www.facebook.com/connect/login_success.html&amp;type=user_agent&amp;scope={permissions}and the login form will appear.You need to input an email and password, and to press Login.After this user will be </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5819381495024450181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/how-to-implement-loginlogout-in.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5819381495024450181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5819381495024450181'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/how-to-implement-loginlogout-in.html' title='How to implement login/logout in the Facebook through desktop application'/><author><name>Andrei Belan</name><uri>http://www.blogger.com/profile/09248606517863089987</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4536781323257140493</id><published>2011-03-29T15:48:00.001-07:00</published><updated>2011-03-29T16:04:32.461-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='block ip'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='windows grep'/><category scheme='http://www.blogger.com/atom/ns#' term='netstat'/><title type='text'>Windows security, firewall, windows grep, netstat</title><summary type='text'>Hello everybody,I was surprised by MS Windows 7 firewall :)And looks like it is present in previous versions of MS Windows..In fact, you can type firewall.cpl in the run window (windows button + R) and you will see a window with firewall settings, you can click 'Advanced settings' and block any inbound or outbound requests in few clicks if necessary! Or you can use cmd:C:\firewall.cplIt is very </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4536781323257140493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/windows-security-firewall-windows-grep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4536781323257140493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4536781323257140493'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/windows-security-firewall-windows-grep.html' title='Windows security, firewall, windows grep, netstat'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7488101968972523648</id><published>2011-03-29T14:44:00.001-07:00</published><updated>2011-03-29T15:01:03.700-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reset identity'/><category scheme='http://www.blogger.com/atom/ns#' term='IDENTITY to data type int'/><category scheme='http://www.blogger.com/atom/ns#' term='Arithmetic overflow occurred'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>MS SQL, the most funny exception I have caught in my life :)</title><summary type='text'>Hello everybody,I like to do some experiments sometime, today I have caught a super cool exception :)Just try to imagine: you are doing tests with super real time system which is working under heavy load and inserting a lot of rows same time. All is fine, all is cool.One day you are getting in the log an exception and your system stops writing anything into the database:Arithmetic overflow error </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7488101968972523648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/ms-sql-most-funny-exception-i-have.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7488101968972523648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7488101968972523648'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/ms-sql-most-funny-exception-i-have.html' title='MS SQL, the most funny exception I have caught in my life :)'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1501280690449094012</id><published>2011-03-29T06:24:00.000-07:00</published><updated>2011-03-29T06:36:05.695-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='htc desire'/><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='click on physical button'/><title type='text'>Android, reproducing physical buttons click for HTC Desire</title><summary type='text'>Hello Everybody,I have investigated how to click harware buttons, such a power button, unlock screen button, menu etc :)It is very simple, all hard clicks are going through event5 interface on HTC Desire, you can use:~$ adb shell geteventAnd you will get list of supported interfaces:add device 1: /dev/input/event9  name:     "compass"add device 2: /dev/input/event8  name:     "curcial-oj"add </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1501280690449094012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-reproducing-physical-buttons.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1501280690449094012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1501280690449094012'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-reproducing-physical-buttons.html' title='Android, reproducing physical buttons click for HTC Desire'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7965818189500989176</id><published>2011-03-29T05:55:00.000-07:00</published><updated>2011-03-29T06:23:22.330-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='click on screen'/><category scheme='http://www.blogger.com/atom/ns#' term='decoding event'/><title type='text'>Android, decoding click low level event</title><summary type='text'>Hello everybody,I have  completely decoded today the click event, so we can manipulate with all click parameters :)Complete click in 122:312 point on screen (in decimal representation, not HEXA):# X,Y will be set pair: where 0048 - X will be set, 104 - square of finger, touched the screen!sendevent /dev/input/event2 0003 0048 000000104# X,Y will be set pair: where 50 - Y will be set, 10 is a </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7965818189500989176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-decoding-click-low-level-event.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7965818189500989176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7965818189500989176'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-decoding-click-low-level-event.html' title='Android, decoding click low level event'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4758144631611625418</id><published>2011-03-29T05:48:00.000-07:00</published><updated>2011-03-29T05:54:52.506-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='copy files'/><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='pull'/><category scheme='http://www.blogger.com/atom/ns#' term='push'/><title type='text'>Android, copy file from device to the local disk</title><summary type='text'>Hello Everybody,Just a simple terminal command to copy file FROM device to the local disk:~/adb pull /sdcard/your_file.ext /home/your_folder/ your_file.extVery simple and useful to know :) Also, you are able to rename file: your_file.ext to 1.ext for instance :)Other cool commands for adb you can find on android wiki page:How to use android debug bridgeBefore I forget, to copy file back to device</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4758144631611625418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-copy-file-from-device-to-local.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4758144631611625418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4758144631611625418'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-copy-file-from-device-to-local.html' title='Android, copy file from device to the local disk'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3376257614869535260</id><published>2011-03-23T13:50:00.000-07:00</published><updated>2011-03-23T14:12:28.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magnolia'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaEE'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Improvement of building process</title><summary type='text'>We have one big project. And as all big projects it's build takes long time - it is the problem, because it is wasting time :-(First some words about project architecture. It is based on Java EE 5 (we use EJB, JPA, JMS, etc.) and we use GWT for building rich user interface. Also, for static pages, we use Magnolia CMS. And as result building of it is not quick.After some analysis I found obvious. </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3376257614869535260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/improvement-of-building-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3376257614869535260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3376257614869535260'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/improvement-of-building-process.html' title='Improvement of building process'/><author><name>Serge Zenevich</name><uri>http://www.blogger.com/profile/12276465536027576488</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8335603763174314164</id><published>2011-03-23T01:44:00.000-07:00</published><updated>2011-03-23T03:07:34.431-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='gson'/><category scheme='http://www.blogger.com/atom/ns#' term='json'/><title type='text'>One more library for JSON parsing</title><summary type='text'>I want to introduce you with one more library, which help us to parse a JSON into java object and vise versa.This is the GSON. More info you can get from oficial site. I just show you simple example.E.g. we have a following json[ {  "title" : "Root1",  "object_version" : 3,  "status" : 1,  "items" : [] }, {  "title" : "Root2",  "object_version" : 3,  "status" : 5,  "items" :   [ {     "title" : "</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8335603763174314164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/one-more-library-for-json-parsing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8335603763174314164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8335603763174314164'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/one-more-library-for-json-parsing.html' title='One more library for JSON parsing'/><author><name>Andrei Belan</name><uri>http://www.blogger.com/profile/09248606517863089987</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7814851552508402705</id><published>2011-03-23T01:29:00.000-07:00</published><updated>2011-04-01T07:59:20.412-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sliding'/><category scheme='http://www.blogger.com/atom/ns#' term='reproducing swipe'/><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='click on screen'/><title type='text'>Android, reproducing swipe motion to unlock device, part #3</title><summary type='text'>Hello Everybody,Previous tutorials with basics you can find here:Part 1: essential basicsPart 2: implementing click on screen function using shell scriptDumped and converted events, we can send to unclock device:system("adb shell sendevent /dev/input/event2 0003 0048 00000070");system("adb shell sendevent /dev/input/event2 0003 0050 00000010");system("adb shell sendevent /dev/input/event2 0003 </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7814851552508402705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-reproducing-swipe-motion-to.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7814851552508402705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7814851552508402705'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-reproducing-swipe-motion-to.html' title='Android, reproducing swipe motion to unlock device, part #3'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2820344966129212577</id><published>2011-03-22T13:32:00.000-07:00</published><updated>2011-03-25T04:55:11.066-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Android testing'/><category scheme='http://www.blogger.com/atom/ns#' term='click on screen'/><title type='text'>Android, ClickOnScreen(x,y) shell script function for automated testing, part #2</title><summary type='text'>Hello everybody,Part 1 with essential basics here.Now it is time to create a simple and useful shell script with one function - ClickOnScreen(x,y).PART 2: implementing simple shell script with ClickOnScreen(x,y) function.Prerequisites:1. Terminal;2. You favourite text editor;3. Configured and run Android environment + test device/emulator.Okay, so our main point is to create an automated script </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2820344966129212577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-clickonscreenxy-shell-script.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2820344966129212577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2820344966129212577'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-clickonscreenxy-shell-script.html' title='Android, ClickOnScreen(x,y) shell script function for automated testing, part #2'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6195605386019599163</id><published>2011-03-22T12:43:00.000-07:00</published><updated>2011-03-29T06:21:27.126-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='testing tools'/><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='simulate touch'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Android testing'/><title type='text'>Android, writing events low level touch screen automated shell test, part #1</title><summary type='text'>Hello everybody,Some information I have already covered in the article:How to click screen using shell script (Froyo)- In the beginning of this article you will find how to reproduce click for before Froyo AndroidSo lets start from the beginning, for implementation of automated test you need only 2 simple and essential shell commands:~$ adb shell getevent~$ adb shell sendevent $device $command $</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6195605386019599163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-writing-events-low-level-touch.html#comment-form' title='28 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6195605386019599163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6195605386019599163'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-writing-events-low-level-touch.html' title='Android, writing events low level touch screen automated shell test, part #1'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>28</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6655479522364125290</id><published>2011-03-22T07:03:00.000-07:00</published><updated>2011-05-10T07:43:46.628-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='click on screen'/><title type='text'>Android, low level shell click on screen</title><summary type='text'>To send touch event you need to do:  1 Set coordinates:   adb shell sendevent /dev/input/event2 3 0 xadb shell sendevent /dev/input/event2 3 1 y  2 Send touch event (must have 0 0 0 pair):  adb shell sendevent /dev/input/event2 1 330 1adb shell sendevent /dev/input/event2 0 0 0  3 Send release finger event (must have 0 0 0 pair):  adb shell sendevent /dev/input/event2 1 330 0adb shell sendevent /</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6655479522364125290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-low-level-shell-click-on-screen.html#comment-form' title='49 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6655479522364125290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6655479522364125290'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-low-level-shell-click-on-screen.html' title='Android, low level shell click on screen'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>49</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5715403621798154966</id><published>2011-03-21T23:43:00.000-07:00</published><updated>2011-03-22T00:04:32.355-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='glassfish'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><title type='text'>Spring IoC</title><summary type='text'>I like spring framework - it is very flexible and provides a lot of useful mechanisms, but sometimes configuration of spring-base project is very annoying.On one our project we mix xml-based configuration with annotation-based configuration. The rule is very simple for this: use annotations and if you need additional flexibility then use xml. Also we use xml for configuration standard mechanisms,</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5715403621798154966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/spring-ioc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5715403621798154966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5715403621798154966'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/spring-ioc.html' title='Spring IoC'/><author><name>Serge Zenevich</name><uri>http://www.blogger.com/profile/12276465536027576488</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6399714762355696711</id><published>2011-03-15T02:45:00.000-07:00</published><updated>2011-03-15T05:06:00.556-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='run many tests'/><category scheme='http://www.blogger.com/atom/ns#' term='Android testing'/><category scheme='http://www.blogger.com/atom/ns#' term='TestSuite'/><title type='text'>Android testing, basics, running a set of tests automatically</title><summary type='text'>Hello everybody,Today I will cover a simple, but extremely useful topic - how to run all your Android automated  tests :)For example, you have created some classes, which are extending ActivityInstrumentationTestCase2 and you are not satisfied by running this classes one by one, lets assume you want to run all your 100 classes using simple approach or hitting one button and leave the office and </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6399714762355696711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-testing-basics-running-set-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6399714762355696711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6399714762355696711'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-testing-basics-running-set-of.html' title='Android testing, basics, running a set of tests automatically'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1321690055734794660</id><published>2011-03-03T02:48:00.000-08:00</published><updated>2011-03-03T03:11:39.195-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='cookie'/><category scheme='http://www.blogger.com/atom/ns#' term='localization'/><category scheme='http://www.blogger.com/atom/ns#' term='Internationalization'/><title type='text'>Localization in GWT via cookie</title><summary type='text'>If you'll search for the term "Localization in GWT" - you'll find numerous articles about using META tag with gwt:property name, like &lt;meta name="gwt:property" content="locale=de"&gt;But sometimes it's not very convenient. For example we have an iframe with reference to some another GWT module and this module bypasses META tag written for the parent document. In this case cookie is the easiest </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1321690055734794660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/localization-in-gwt-via-cookie.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1321690055734794660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1321690055734794660'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/localization-in-gwt-via-cookie.html' title='Localization in GWT via cookie'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1155832286230428944</id><published>2011-03-03T01:11:00.001-08:00</published><updated>2011-03-03T01:24:33.249-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='avoid screen lock'/><category scheme='http://www.blogger.com/atom/ns#' term='wake lock'/><category scheme='http://www.blogger.com/atom/ns#' term='wakelock'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='tests'/><title type='text'>Android testing, avoiding screen lock during testing</title><summary type='text'>Hello everybody,If you run a pretty complicated tests which are working till battery dies you know, that it is a big problem when screen locks :) Using setting you can set screen wait timeout to 2 hours. But what you need to do, if you need test to work 24 hours? Touch screen every 2 hours? :) No!Just use very simple snippet:package com.your.testpackage;import android.os.PowerManager;import </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1155832286230428944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/android-testing-avoiding-screen-lock.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1155832286230428944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1155832286230428944'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/android-testing-avoiding-screen-lock.html' title='Android testing, avoiding screen lock during testing'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-9090726981279349700</id><published>2011-03-02T12:57:00.000-08:00</published><updated>2011-03-03T01:32:19.584-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='compare string'/><category scheme='http://www.blogger.com/atom/ns#' term='compare strings with typos'/><title type='text'>PHP, complex string comparison</title><summary type='text'>Hello Everybody,Disclaimer: I'm not familiar with PHP, using it super rarely if somebody really needs my help :)Some time ago I had to write a PHP function for one popular CMS for searching products in the database.Main target - find correct products if user is doing typos in the input, for example:Find 'testers are cool' if user enters 'Tecteps ur kyl'.I like SQL and know about one cool function</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/9090726981279349700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/php-complex-search.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9090726981279349700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9090726981279349700'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/php-complex-search.html' title='PHP, complex string comparison'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-589575860358920740</id><published>2011-03-02T12:00:00.000-08:00</published><updated>2011-03-04T02:06:38.576-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='config file'/><category scheme='http://www.blogger.com/atom/ns#' term='connection string'/><category scheme='http://www.blogger.com/atom/ns#' term='trace'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='logging'/><category scheme='http://www.blogger.com/atom/ns#' term='net basics'/><category scheme='http://www.blogger.com/atom/ns#' term='system.diagnostic'/><category scheme='http://www.blogger.com/atom/ns#' term='app.config'/><title type='text'>.Net basics: using configuration file to configure logging and database connection string</title><summary type='text'>Hello everybody,Today I will cover next topics - How to configure logger and database connection string in .Net Framework X.X via xml configuration file.To add logging into your application you have to do few simple steps:1. Add a configuration file into your project: Project -&gt; Add new Item -&gt; Application configuration file or CTRL+SHIFT+A -&gt; Application configuration file;2. Open the file you </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/589575860358920740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/03/net-basics-using-configuration-file-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/589575860358920740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/589575860358920740'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/03/net-basics-using-configuration-file-for.html' title='.Net basics: using configuration file to configure logging and database connection string'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3636256403300179774</id><published>2011-02-28T03:34:00.000-08:00</published><updated>2011-02-28T06:53:35.271-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='Quiz'/><category scheme='http://www.blogger.com/atom/ns#' term='testing tools'/><category scheme='http://www.blogger.com/atom/ns#' term='time'/><category scheme='http://www.blogger.com/atom/ns#' term='algorithm'/><category scheme='http://www.blogger.com/atom/ns#' term='time of a day check'/><title type='text'>Funny quiz</title><summary type='text'>Hello everybody,Today one friend of mine asked me to help to solve a simply "5 minutes" issue, because he is stuck and do not see the way to solve it.Issue: you have 3 variables:- startTime;- stopTime;- currentTimelAll of them are measured within a single day in format 00:00:00 - 23:59:59, no matter what is the day of the week etc. Lets assume these values are parsed from the configuration file </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3636256403300179774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/funny-quiz.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3636256403300179774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3636256403300179774'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/funny-quiz.html' title='Funny quiz'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3595769598575348421</id><published>2011-02-25T06:20:00.000-08:00</published><updated>2011-02-25T07:52:14.438-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='activejdbc'/><category scheme='http://www.blogger.com/atom/ns#' term='jdbc'/><title type='text'>ActiveJDBC</title><summary type='text'>You often write small tools for processing data from databases? You like the way GORM provides access to database in Grails? You don't want to use these heavyweight Hibernate/TopLink/iBatis? JPA is too enterprisy for you? Then you definetely need to have a look at ActiveJDBC.To integrate it into your Maven build just add the following dependencies in dependencies section:&lt;dependency&gt;  &lt;groupId&gt;</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3595769598575348421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/activejdbc.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3595769598575348421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3595769598575348421'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/activejdbc.html' title='ActiveJDBC'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2413932164152321601</id><published>2011-02-25T05:23:00.000-08:00</published><updated>2011-02-25T05:30:52.164-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='streamripper'/><category scheme='http://www.blogger.com/atom/ns#' term='online radio'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu, streaming radio</title><summary type='text'>Hello Everybody,Because of I'm 'windows guy' I thought it will be very difficult to listen to the online radio in Ubuntu, but I was not right! It is very easy and cool.If you are enjoying online radio everyday and would like to rip it onto your hard disk, it is super easy to do in Ubuntu with streamripper:1. ~$ sudo apt-get install streamripper2. ~$ man streamripper-- How to rip the radio:GETTING</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2413932164152321601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/ubuntu-streaming-radio.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2413932164152321601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2413932164152321601'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/ubuntu-streaming-radio.html' title='Ubuntu, streaming radio'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3049399504666399469</id><published>2011-02-25T02:58:00.001-08:00</published><updated>2011-02-25T03:20:11.203-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='read file'/><category scheme='http://www.blogger.com/atom/ns#' term='adb shell'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='android device'/><category scheme='http://www.blogger.com/atom/ns#' term='logcat'/><category scheme='http://www.blogger.com/atom/ns#' term='push file'/><title type='text'>Android, using terminal for disovering connected device</title><summary type='text'>Hello everybody,Here is a quick article how to:1. Install apk into Android device;2. Uninstall applications;3. Discover device's filesystem;4. Open and read files;5. Copy files onto device.Prerequisites:First of all you need to connect to the device's operational system shell, use your Terminal for this purpose and type:~$ adb shell-- You will see '#' that means you are in.If it is not working </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3049399504666399469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/android-using-terminal-for-disovering.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3049399504666399469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3049399504666399469'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/android-using-terminal-for-disovering.html' title='Android, using terminal for disovering connected device'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4255315465300457452</id><published>2011-02-25T02:28:00.000-08:00</published><updated>2011-03-21T05:54:58.459-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='svn update'/><category scheme='http://www.blogger.com/atom/ns#' term='svn commit'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><category scheme='http://www.blogger.com/atom/ns#' term='svn status'/><title type='text'>Ubuntu, using svn from terminal</title><summary type='text'>Hello everybody,One day I had problems with GUI svn client and a big headache how to commit my changes. I have found how to do that using Terminal and from that moment I'm not using any single GUI svn client :))1. Getting svn sources from the svn repository:-- Go to the folder you want to make you project's folder and type a simple command:~$ svn co 'here address of svn repo'emaple: svn co https:</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4255315465300457452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/ubuntu-using-svn-from-terminal.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4255315465300457452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4255315465300457452'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/ubuntu-using-svn-from-terminal.html' title='Ubuntu, using svn from terminal'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3755331892501225216</id><published>2011-02-25T01:34:00.000-08:00</published><updated>2011-02-25T02:58:00.300-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='samba'/><category scheme='http://www.blogger.com/atom/ns#' term='connect to network share'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu, network operations, basics</title><summary type='text'>Hello everybody,I still discovering Ubuntu for myself and like this OS more and more everyday, it is much more comfortable for work rather than Windows 7, no viruses, no antiviruses, no headache, no problems, just freedom :)Today I have discovered how it is easy to work with network, for example I need to add a shared resource.I have found that I can use Samba, but samba is not installed on my </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3755331892501225216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/ubuntu-network-operations-basics.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3755331892501225216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3755331892501225216'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/ubuntu-network-operations-basics.html' title='Ubuntu, network operations, basics'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5530852492635663277</id><published>2011-02-24T07:33:00.000-08:00</published><updated>2011-02-24T07:56:48.659-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>GWT migration</title><summary type='text'>We're using GWT 2.0.3 on one of our projects. Today we've noticed a very strange defect in IE8 and decided to upgrade to the latest version which is now 2.2.0.So initially we've got three modules with four languages specified. All this stuff was referencing GWT 2.0.3 and gwt-maven-plugin of version 1.2 was used for compilation.During upgrade the following changes were done:Referenced GWT version </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5530852492635663277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/gwt-migration.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5530852492635663277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5530852492635663277'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/gwt-migration.html' title='GWT migration'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8274622851352472787</id><published>2011-02-24T04:05:00.000-08:00</published><updated>2011-02-24T04:34:08.098-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='appointment'/><category scheme='http://www.blogger.com/atom/ns#' term='webdav'/><category scheme='http://www.blogger.com/atom/ns#' term='adding appointment'/><title type='text'>WebDav, adding an appointment</title><summary type='text'>To add an appointment you need to send a simple xml message to the MS Exchange Server uisng WebDav:  &lt;?xml version=""1.0""?&gt;&lt;g:propertyupdate xmlns:g=""DAV:="""" xmlns:e=""http:=""//schemas.microsoft.com/exchange/"" xmlns:mapi=""http://schemas.microsoft.com/mapi/"" xmlns:mapit=""http://schemas.microsoft.com/mapi/proptag/"" xmlns:x=""xml:"" xmlns:cal=""urn:schemas:calendar:"" xmlns:dt=""urn:uuid:</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8274622851352472787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/webdav-adding-appointment.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8274622851352472787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8274622851352472787'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/webdav-adding-appointment.html' title='WebDav, adding an appointment'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2371970443502890411</id><published>2011-02-24T03:25:00.000-08:00</published><updated>2011-02-24T04:04:06.653-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='calendar'/><category scheme='http://www.blogger.com/atom/ns#' term='webdav'/><category scheme='http://www.blogger.com/atom/ns#' term='get appointments'/><title type='text'>Introducing WebDav, getting appointments</title><summary type='text'>Hello everybody, today I will introduce a very cool technology called WebDav, I think most of you know about this technology, but possibly this post will be helpful for newbies or those who is trying to choose from different technologies to access MS Exchange server.(You can find a lot of very cool resources related to the WebDav using your favourite browser, for example here - http://</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2371970443502890411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/introducing-webdav-getting-appointments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2371970443502890411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2371970443502890411'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/introducing-webdav-getting-appointments.html' title='Introducing WebDav, getting appointments'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7929195319473833708</id><published>2011-02-24T03:17:00.000-08:00</published><updated>2011-02-24T03:25:16.268-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssl certificate error'/><category scheme='http://www.blogger.com/atom/ns#' term='web services'/><category scheme='http://www.blogger.com/atom/ns#' term='webdav'/><category scheme='http://www.blogger.com/atom/ns#' term='ServerCertificateValidationCallback'/><title type='text'>How to suppress certificate verification errors</title><summary type='text'>When I was implementing WebDav web-service bridge between custom corporate system and MS Exchange Server 2007 I have got a very annoying issue with ssl certificate checks, you know, it is when your favourite browser shows message: "Add security exception or leave this place" (something like this). Of course it is necessary for browser and for surfing Internet, but sometimes we simply do not need </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7929195319473833708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/how-to-suppress-certificate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7929195319473833708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7929195319473833708'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/how-to-suppress-certificate.html' title='How to suppress certificate verification errors'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6891976870854735559</id><published>2011-02-23T04:13:00.000-08:00</published><updated>2011-02-23T04:34:48.160-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grails'/><category scheme='http://www.blogger.com/atom/ns#' term='groovy'/><title type='text'>Grails console</title><summary type='text'>Grails is becoming more widely used in our projects. Today I was looking one presentation about GORM and noticed that a guy used a very nice tool. It's grails console which can be used to test your code very quickly.The command to run is grails consoleIt opens the window where you can write groovy code related to your project.So I've written a small test code which create 20 objects:20.times { i </summary><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=7df6fef66d8a30ad&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6891976870854735559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/grails-console.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6891976870854735559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6891976870854735559'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/grails-console.html' title='Grails console'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8928157071271354011</id><published>2011-02-22T01:27:00.000-08:00</published><updated>2011-02-25T03:22:46.649-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='restore GRUB loader after windows install'/><category scheme='http://www.blogger.com/atom/ns#' term='GRUB'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Restoring GRUB loader after Windows 7 install</title><summary type='text'>I have installed Windows 7 237 days ago at my laptop and then had no time to restore Ubuntu 9.04 loader all this time, but when I have started using Ubuntu every day at work I decided to get Ubuntu working on my home computer too! :)It is really very simple to restore GRUB loader, all you need is to have live cd with Ubuntu, follow instructions bellow if you need to repair GRUB loader which was </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8928157071271354011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/restoring-grub-loader-adter-windows-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8928157071271354011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8928157071271354011'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/restoring-grub-loader-adter-windows-7.html' title='Restoring GRUB loader after Windows 7 install'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4818134719900534630</id><published>2011-02-22T00:54:00.000-08:00</published><updated>2011-02-22T01:25:56.484-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='solo'/><category scheme='http://www.blogger.com/atom/ns#' term='Robotium'/><category scheme='http://www.blogger.com/atom/ns#' term='autoscroll stuck'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='autoscroll issue'/><title type='text'>Solo autoscroll issue solution</title><summary type='text'>Robotium Solo - is very cool abstraction layer with pretty nice implementation, but as usual it can't fits everybody's needs, for example:You need to find some text on the screen and click it, using solo it looks like:/*Solo search methods have a comment: 'Will automatically scroll when needed'this logic is causing a lot of problems when scrolling down procedure is stuck in the end of  the list </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4818134719900534630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/solo-autoscroll-issue-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4818134719900534630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4818134719900534630'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/solo-autoscroll-issue-solution.html' title='Solo autoscroll issue solution'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2907945373913689390</id><published>2011-02-17T06:53:00.000-08:00</published><updated>2011-03-04T06:09:31.353-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MotionEvents'/><category scheme='http://www.blogger.com/atom/ns#' term='simulate hold'/><category scheme='http://www.blogger.com/atom/ns#' term='simulate touch'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Touch, hold, swipe, release gesture simulation in Android Unit test</title><summary type='text'>There are a lot of various frameworks which are provide you with a very useful methods for writing unit tests for Android applications. But when you need something specific almost everything you have to do it yourself.For example, simple actions sequence: touch screen, hold finger few seconds and slide it slowly to the random side of screen, release. Such simple gesture can't be reproduced by any</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2907945373913689390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/touch-hold-swipe-release-gesture.html#comment-form' title='21 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2907945373913689390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2907945373913689390'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/touch-hold-swipe-release-gesture.html' title='Touch, hold, swipe, release gesture simulation in Android Unit test'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2326644573544725563</id><published>2011-02-17T05:37:00.000-08:00</published><updated>2011-02-23T04:31:02.005-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='IntelliJ IDEA'/><category scheme='http://www.blogger.com/atom/ns#' term='sun-java'/><category scheme='http://www.blogger.com/atom/ns#' term='PAE'/><title type='text'>optimizing IntelliJ Idea performance on Ubuntu</title><summary type='text'>When I have started developing on Ubuntu using IntelliJ Idea IDE, I have encountered a real trouble with IDE's performance, it was just killing. After few hours of googling I have accumulated an instruction how to improve java related IDE performance on Ubuntu (and Ubuntu's performance too).This simple guide will help you to develop with pleasure:-- If you have only open jdk it will slow down the</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2326644573544725563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/optimizing-intellij-idea-performance-on.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2326644573544725563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2326644573544725563'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/optimizing-intellij-idea-performance-on.html' title='optimizing IntelliJ Idea performance on Ubuntu'/><author><name>Yahor Paulavets</name><uri>http://www.blogger.com/profile/03881108267498177302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/-mXpDwYHAPPU/TV0z3jSJVmI/AAAAAAAAAAU/fIf-EkDEQTE/s220/me.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8368926255028892399</id><published>2011-02-17T04:46:00.000-08:00</published><updated>2011-02-18T00:29:46.160-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Migration to Maven 3</title><summary type='text'>I've read a number of articles which say about new cool features like parallel builds and performance speed-ups. Sounds rather sweet.So I've taken the current project I'm working at and migrated it to Maven 3 to check if it's possible to get any compilation speed-up. The only thing which was changed in the root pom.xml was replacing http://download.java.net/maven/1 repository with http://</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8368926255028892399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/migration-to-maven-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8368926255028892399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8368926255028892399'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/migration-to-maven-3.html' title='Migration to Maven 3'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-9014798495699721593</id><published>2011-02-15T06:24:00.000-08:00</published><updated>2011-02-15T07:17:18.030-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blackberry'/><category scheme='http://www.blogger.com/atom/ns#' term='connection'/><category scheme='http://www.blogger.com/atom/ns#' term='Connector.open'/><category scheme='http://www.blogger.com/atom/ns#' term='ConnectionFactory'/><title type='text'>Blackberry connection Connector.open</title><summary type='text'>The task under discussion is opening some connection on Blackberry device, and receive a content of some URL (or post some message).The OS version that our application should support was 4.5+, so we were not able to use ConnectionFactory class, that is since 5.0.0 and seems to support method mentioned here.So BlackBerry could be connected to the Internet over the several types:BIS - BlackBerry </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/9014798495699721593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/blackberry-connection-connectoropen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9014798495699721593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/9014798495699721593'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/blackberry-connection-connectoropen.html' title='Blackberry connection Connector.open'/><author><name>Alex Kutsko</name><uri>http://www.blogger.com/profile/14205327187222196345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_TFOKaFFPKac/Sul2EH7YdPI/AAAAAAAAAAM/2xl36LrwCWM/S220/alex1_bigger.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6857442234982069050</id><published>2011-02-04T05:45:00.000-08:00</published><updated>2011-02-04T05:52:46.217-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='j2ee'/><category scheme='http://www.blogger.com/atom/ns#' term='JPA'/><category scheme='http://www.blogger.com/atom/ns#' term='TopLink'/><title type='text'>Weird TopLink exception message</title><summary type='text'>Got a strange exception today during executing a dynamic JPA query via TopLink.It looks like:Caused by: line 1:25: unexpected token: nullat oracle.toplink.essentials.internal.parsing.ejbql.antlr273.EJBQLParser.rangeVariableDeclaration(EJBQLParser.java:1727)... 136 moreInitially the query looks like "select o from Test". It's definitely not correct because it should be "select o from Test o". But </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6857442234982069050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/weird-toplink-exception-message.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6857442234982069050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6857442234982069050'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/weird-toplink-exception-message.html' title='Weird TopLink exception message'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2686355011280357372</id><published>2011-02-04T02:02:00.000-08:00</published><updated>2011-02-04T02:22:27.904-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Options=-quiet -define'/><category scheme='http://www.blogger.com/atom/ns#' term='blackberry'/><category scheme='http://www.blogger.com/atom/ns#' term='#preprocess'/><category scheme='http://www.blogger.com/atom/ns#' term='#ifdef'/><title type='text'>Blackberry compilator preprocessor. Prepare builds for multiple OS versions from single sources</title><summary type='text'>For blackberry there is always a need to prepare builds for different BlackBerry OS versions.Here is the instructions how to do this without having different branches of sources for each OS verion:Use a //#preprocess    tag at the begin of the file, this will tell a compilator to use a preprocessorUse //#ifdef SOMETHING //#else //#endif, or //#ifndef SOMETHING //#else //#endif - to include or not</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2686355011280357372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/blackberry-compilator-preprocessor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2686355011280357372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2686355011280357372'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/blackberry-compilator-preprocessor.html' title='Blackberry compilator preprocessor. Prepare builds for multiple OS versions from single sources'/><author><name>Alex Kutsko</name><uri>http://www.blogger.com/profile/14205327187222196345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_TFOKaFFPKac/Sul2EH7YdPI/AAAAAAAAAAM/2xl36LrwCWM/S220/alex1_bigger.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-396153197637007728</id><published>2011-02-04T01:48:00.000-08:00</published><updated>2011-02-04T02:23:31.770-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blackberry'/><category scheme='http://www.blogger.com/atom/ns#' term='.jad'/><category scheme='http://www.blogger.com/atom/ns#' term='OTA'/><category scheme='http://www.blogger.com/atom/ns#' term='.cod'/><category scheme='http://www.blogger.com/atom/ns#' term='prepare jad file for blackberry'/><title type='text'>Blackberry application signing, OTA (Over The Air) donwload to mobile</title><summary type='text'>I've just finished my BB application. But I forgot how to prepare correctly .jad file for download application Over The Air directly from BlackBerry browser. As there are quite a lot of different questions regarding this on blackberry forums, I decided to write here some notes for Alex Kutsko in future :).JDE is not updating correctly .jad file after clicking Build All, so better to remove .jad </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/396153197637007728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/blackberry-application-signing-ota-over.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/396153197637007728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/396153197637007728'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/blackberry-application-signing-ota-over.html' title='Blackberry application signing, OTA (Over The Air) donwload to mobile'/><author><name>Alex Kutsko</name><uri>http://www.blogger.com/profile/14205327187222196345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_TFOKaFFPKac/Sul2EH7YdPI/AAAAAAAAAAM/2xl36LrwCWM/S220/alex1_bigger.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1857104943632743450</id><published>2011-02-03T05:42:00.000-08:00</published><updated>2011-02-04T02:51:32.629-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magnolia'/><category scheme='http://www.blogger.com/atom/ns#' term='JAX-WS'/><category scheme='http://www.blogger.com/atom/ns#' term='web services'/><category scheme='http://www.blogger.com/atom/ns#' term='j2ee'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Integrating JAX-WS into Magnolia CMS</title><summary type='text'>Got a task today to add support of JAX-WS into our Magnolia based project. Hell. I took me 30 minutes to add support for JAX-RS(Jersey). But it took about four hours to do this for JAX-WS.The first step is quite trivial we need to create web service itself:package com.softteco.ws;import javax.jws.WebMethod;import javax.jws.WebParam;import javax.jws.WebService;@WebService(serviceName="PingService"</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1857104943632743450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/02/integrating-jax-ws-into-magnolia-cms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1857104943632743450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1857104943632743450'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/02/integrating-jax-ws-into-magnolia-cms.html' title='Integrating JAX-WS into Magnolia CMS'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8mJHR27FNWA/TUq3-9S1zUI/AAAAAAAAAIc/Bmnmhl8OCBI/s72-c/WS.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6151236494757783118</id><published>2011-01-31T02:50:00.000-08:00</published><updated>2011-01-31T03:04:49.680-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='jasperreports'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><category scheme='http://www.blogger.com/atom/ns#' term='reports'/><title type='text'>Error compiling JasperReports report with Maven</title><summary type='text'>Was configuring a new server for our application. Checked out sources from SVN and started compiling them with Maven. One of the pom.xml files contains instructions which precompile report JRXML files into JASPER files by the means of jasperreports-maven-plugin plugin.I was greatly confused when saw something like this:Error compiling report design : /home/andy/Sources/trunk/service/src/main/</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6151236494757783118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/01/error-compiling-jasperreports-report.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6151236494757783118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6151236494757783118'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/01/error-compiling-jasperreports-report.html' title='Error compiling JasperReports report with Maven'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2469569986399617383</id><published>2011-01-11T06:19:00.000-08:00</published><updated>2011-01-11T06:34:18.724-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magnolia'/><category scheme='http://www.blogger.com/atom/ns#' term='freemarker'/><category scheme='http://www.blogger.com/atom/ns#' term='localization'/><category scheme='http://www.blogger.com/atom/ns#' term='Internationalization'/><title type='text'>Internationalization of the Magnolia Freemarker templates</title><summary type='text'>To extend the contents of Magnolia CMS - we have created several custom paragraphs. Once we need a localization for these paragraphs - we've tried a usual approach used in STK. So we've written something like${i18n['custom.goToTop']}in the FreeMarker template and got the following error immediately:freemarker.core.InvalidReferenceException: Expression i18n is undefined on ...What the hell, our </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2469569986399617383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/01/internationalization-of-magnolia.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2469569986399617383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2469569986399617383'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/01/internationalization-of-magnolia.html' title='Internationalization of the Magnolia Freemarker templates'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8mJHR27FNWA/TSxqNPogszI/AAAAAAAAAIQ/42pIXIGD4Zk/s72-c/Paragraph.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7789686992590539625</id><published>2011-01-05T23:21:00.001-08:00</published><updated>2011-01-06T00:40:24.120-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magnolia'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='freemarket'/><title type='text'>Designing Magnolia e-mail templates</title><summary type='text'>Mailing functionality is rather natural for any application. You often need to send e-mails about registration or order confirmation. This post describes a way which has been used to design e-mail templates for Magnolia CMS. It provides a nice module to work with the e-mails.You can easily register a template and send it via the following code:Map&lt;String, String&gt; parameters = ...;final Context </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7789686992590539625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/01/designing-magnolia-e-mail-templates.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7789686992590539625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7789686992590539625'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/01/designing-magnolia-e-mail-templates.html' title='Designing Magnolia e-mail templates'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8mJHR27FNWA/TSV0uJwwIMI/AAAAAAAAAH4/m6EYkLitF7o/s72-c/Magnolia.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4677282556346342759</id><published>2011-01-05T02:00:00.000-08:00</published><updated>2011-01-05T02:00:00.857-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='op4j'/><category scheme='http://www.blogger.com/atom/ns#' term='grails'/><category scheme='http://www.blogger.com/atom/ns#' term='groovy'/><title type='text'>Overview of the op4j library</title><summary type='text'>I'm a huge Groovy fan. Still in process of learning it but already understand that some of its features are really outstanding. I wish we have the same collections and closure support in plain Java. However it will take some time until Java 7/8 would be released to use all these tasty things in production. Found out that there's a nice library which can make a day-to-day development easier. It's </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4677282556346342759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2011/01/overview-of-op4j-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4677282556346342759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4677282556346342759'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2011/01/overview-of-op4j-library.html' title='Overview of the op4j library'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-7044053547910548691</id><published>2010-11-16T01:44:00.000-08:00</published><updated>2010-11-16T01:44:51.725-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tip'/><category scheme='http://www.blogger.com/atom/ns#' term='VirtualBox'/><title type='text'>Custom resolution in VirtualBox</title><summary type='text'>Sometimes you need some resolution to check the design of the website. And VirtualBox Video adapter provides only a small set of the predefined resolutions. This can easily be fixed by using the following shell command:

VBoxManage controlvm XP setvideomodehint 1280 800 24

This command will set the 24-bit colors, 1280x800 resolution for the XP virtual machine.</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/7044053547910548691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/11/custom-resolution-in-virtualbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7044053547910548691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/7044053547910548691'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/11/custom-resolution-in-virtualbox.html' title='Custom resolution in VirtualBox'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-244014979910066377</id><published>2010-09-22T04:28:00.000-07:00</published><updated>2010-09-22T04:28:49.654-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magnolia'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='commons-upload'/><title type='text'>Uploading files in Magnolia CMS</title><summary type='text'>We need to have an upload functionality in our web application based on Magnolia CMS. So I've created a small servlet which uses commons-upload library from Apache. So the code looked like:

 FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);
List items = upload.parseRequest(request);

However the list of items was empty. Trying to </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/244014979910066377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/09/uploading-files-in-magnolia-cms.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/244014979910066377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/244014979910066377'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/09/uploading-files-in-magnolia-cms.html' title='Uploading files in Magnolia CMS'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-617877375781242764</id><published>2010-09-10T01:18:00.000-07:00</published><updated>2010-09-10T01:32:50.594-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='j2ee'/><category scheme='http://www.blogger.com/atom/ns#' term='glassfish'/><category scheme='http://www.blogger.com/atom/ns#' term='8.4'/><category scheme='http://www.blogger.com/atom/ns#' term='postgresql'/><title type='text'>PostgreSQL 8.4 two-phase commit j2ee5 Glassfish</title><summary type='text'>Recently we moved our server from Postgresql 8.3 to Postgresql 8.4, and I faced with a problem with some functionality mulfunction. In glassfish domain log I found errors that transaction could not be rolled back during postinvoke on bean.The problem was found out when I went to the logs of PostgreSQL:2010-09-09 17:19:09 EEST ERROR:  prepared transactions are disabled2010-09-09 17:19:09 EEST HINT</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/617877375781242764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/09/postgresql-84-2-phase-commit-j2ee5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/617877375781242764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/617877375781242764'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/09/postgresql-84-2-phase-commit-j2ee5.html' title='PostgreSQL 8.4 two-phase commit j2ee5 Glassfish'/><author><name>Alex Kutsko</name><uri>http://www.blogger.com/profile/14205327187222196345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_TFOKaFFPKac/Sul2EH7YdPI/AAAAAAAAAAM/2xl36LrwCWM/S220/alex1_bigger.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8388035834988634307</id><published>2010-09-09T08:58:00.000-07:00</published><updated>2010-09-10T04:31:18.435-07:00</updated><title type='text'>WorkFlows</title><summary type='text'>A workflow it is a depiction of a sequence of operations, declared as work of a person, a group of persons, an organization of staff, or one or more simple or complex mechanisms. It may be seen as any abstraction of real work, segregated in work share, work split or other types of ordering. 

A simple workflow may look like:

Some of the workflow systems are described below. 

jBPM
jBPM is a </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8388035834988634307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/09/workflows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8388035834988634307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8388035834988634307'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/09/workflows.html' title='WorkFlows'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8mJHR27FNWA/TIjEe2KvdhI/AAAAAAAAAGs/yRiIhqwEJ7M/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5500559270688063903</id><published>2010-09-02T05:02:00.000-07:00</published><updated>2010-09-02T05:02:30.738-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='GMail'/><category scheme='http://www.blogger.com/atom/ns#' term='Google'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaMail'/><title type='text'>Mistery of reading GMail inbox by JavaMail via POP3</title><summary type='text'>Today I've got a very strange problem reading Gmail INBOX via POP3. 

Yesterday I was able to read all of the e-mails, but today something strange began to happen. In the reality mailbox had five e-mails, application was able to read four while the JUnit test which has exactly the same flow was able to read only three of them.


Went to the setting of the POP3 - it looked like:


So POP3 is </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5500559270688063903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/09/mistery-of-reading-gmail-inbox-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5500559270688063903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5500559270688063903'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/09/mistery-of-reading-gmail-inbox-by.html' title='Mistery of reading GMail inbox by JavaMail via POP3'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8mJHR27FNWA/TH-RRqm2mBI/AAAAAAAAAGc/k0-O-9fNikw/s72-c/Gmail.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5520950405674326812</id><published>2010-08-16T01:49:00.000-07:00</published><updated>2010-08-16T01:49:18.814-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='jvm'/><title type='text'>Inlining of method calls in JVM</title><summary type='text'>Was listening to one of the Oracle TechCasts today: Towards a Universal VM. The talk was surrounded on the different capabilities of JVM. And there was a mention about inlining methods in JVM. So I've decided to write a small test to see how does inlining influence the performance. Test simply concatenates two strings.

So I've looked at three variants here:
Direct concatenation. Something like

</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5520950405674326812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/08/inlining-of-method-calls-in-jvm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5520950405674326812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5520950405674326812'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/08/inlining-of-method-calls-in-jvm.html' title='Inlining of method calls in JVM'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5422292321183293733</id><published>2010-08-13T01:04:00.000-07:00</published><updated>2010-08-13T01:06:57.961-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='junit'/><title type='text'>Testing JavaScripts via JUnit</title><summary type='text'>It appears that JDK 1.6 introduces a new javax.script API which allows to run script languages on the server side. Currently only JavaScript is supported. So I've decided to try this out for testing of some of my simple JS scripts via JUnit.

Below is the snippet I've used to test data

import javax.script.Bindings;
import javax.script.Invocable;
import javax.script.ScriptEngine;
import </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5422292321183293733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/08/testing-javascripts-via-junit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5422292321183293733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5422292321183293733'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/08/testing-javascripts-via-junit.html' title='Testing JavaScripts via JUnit'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5803998725147078483</id><published>2010-08-06T05:13:00.000-07:00</published><updated>2010-08-06T05:13:47.288-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='websphere'/><category scheme='http://www.blogger.com/atom/ns#' term='openejb'/><category scheme='http://www.blogger.com/atom/ns#' term='geronimo'/><category scheme='http://www.blogger.com/atom/ns#' term='ecperf'/><title type='text'>Running EcPerf to measure performance of WebSphere Community Edition</title><summary type='text'>So today we have decided to measure performance of the IBM WebSphere application Server Community Edition.

EcPerf has been selected as a standard J2EE performance measuring kit.

This application server from IBM is based on Apache Geronimo. So all the additional steps required to configure EcPerf to run on Apache Geronimo are quite the same. Detailed information on the difference between WAS CE </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5803998725147078483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/08/running-ecperf-to-measure-performance.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5803998725147078483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5803998725147078483'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/08/running-ecperf-to-measure-performance.html' title='Running EcPerf to measure performance of WebSphere Community Edition'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1307200477810383476</id><published>2010-07-09T04:25:00.000-07:00</published><updated>2010-07-09T05:07:36.247-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magnolia'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='j2ee'/><category scheme='http://www.blogger.com/atom/ns#' term='jaas'/><title type='text'>Integrating Magnolia CMS and custom application security</title><summary type='text'>We have an application integrated into Magnolia CMS. and it's quite natural to have a single way of handling security. Both Magnolia and our application use JAAS for authentication. However magnolia uses JCR repository to store security data, while our application uses database. Since we didn't want to cause some possible side effects in Magnolia - the following model was applied: users and a </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1307200477810383476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/07/integrating-magnolia-cms-and-custom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1307200477810383476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1307200477810383476'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/07/integrating-magnolia-cms-and-custom.html' title='Integrating Magnolia CMS and custom application security'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5985148600594936535</id><published>2010-07-09T01:39:00.000-07:00</published><updated>2010-07-09T01:39:46.189-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ide'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='IntelliJ IDEA'/><category scheme='http://www.blogger.com/atom/ns#' term='prbeditor'/><category scheme='http://www.blogger.com/atom/ns#' term='Popeye'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Babel'/><category scheme='http://www.blogger.com/atom/ns#' term='localization'/><category scheme='http://www.blogger.com/atom/ns#' term='Internationalization'/><category scheme='http://www.blogger.com/atom/ns#' term='Zaval'/><category scheme='http://www.blogger.com/atom/ns#' term='NetBeans'/><title type='text'>Java Resource File editor</title><summary type='text'>Localization support in Java is rather good. But what about the convenience of providing localized resource bundles? 

I usually use NetBeans for the development and editing resource files. But what if you would like to provide this localization files for your customer? So we've decided to do some investigations on this topic. The primary criteria according to which the tools were estimated are </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5985148600594936535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/07/java-resource-file-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5985148600594936535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5985148600594936535'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/07/java-resource-file-editor.html' title='Java Resource File editor'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_8mJHR27FNWA/TDbIyUU7t9I/AAAAAAAAAEc/UjVoZWvM6LQ/s72-c/Resource-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-8871848110179173600</id><published>2010-07-06T03:35:00.000-07:00</published><updated>2010-07-06T04:16:42.479-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='liferay'/><title type='text'>How programmatically to add a portlet into Layouts (pages)</title><summary type='text'>  Some times you need to add portlet using java-code (e.g. during importing a publication from the old portal).  Let’s look how can we do it with WebContentDisplay.    In my case I have used stand-alone program so I had to define this portlet:private void initPortlet() {       String[] xmls = new String[] {       // xml from /WEB-INF/portlet.xml       "&lt;?xml version=\"1.0\"?&gt;" +       "&lt;</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/8871848110179173600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/07/how-programmatically-to-add-portlet.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8871848110179173600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/8871848110179173600'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/07/how-programmatically-to-add-portlet.html' title='How programmatically to add a portlet into Layouts (pages)'/><author><name>Andrei Belan</name><uri>http://www.blogger.com/profile/09248606517863089987</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5309724699106725008</id><published>2010-07-06T01:37:00.000-07:00</published><updated>2010-07-06T02:59:18.165-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Robotium'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android testing with Robotium (click on Button)</title><summary type='text'>Robotium is the framework what allow us to create automatic tests for Android.Let's see small example how to click on ImageButton (or other) using its id.public void testAboutBtn() {      // get a list of all ImageButtons on the current activity       List btnList = solo.getCurrentImageButtons();       for (int i = 0; i &lt; btnList.size(); i++) {              ImageButton btn = btnList.get(i);</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5309724699106725008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/07/android-testing-with-robotium-click-on.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5309724699106725008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5309724699106725008'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/07/android-testing-with-robotium-click-on.html' title='Android testing with Robotium (click on Button)'/><author><name>Andrei Belan</name><uri>http://www.blogger.com/profile/09248606517863089987</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1959588990069400119</id><published>2010-06-18T01:34:00.000-07:00</published><updated>2010-06-18T02:31:30.526-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Game development'/><category scheme='http://www.blogger.com/atom/ns#' term='DalvikVM'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android game development part 2 (DalvikVM performance)</title><summary type='text'> In this part we will talk about DalvikVM performance.  DalvikVM is a Java virtual machine for Android. The main disadvantage of DalvikVM is Garbage collector. Garbage collector when it is called freeze application on x00 milliseconds. This freezing is not acceptable for real time games so the we should minimize memory allocation. "Memory allocation tracker" tool help us with this work. When I </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1959588990069400119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/android-game-development-part-2.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1959588990069400119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1959588990069400119'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/android-game-development-part-2.html' title='Android game development part 2 (DalvikVM performance)'/><author><name>Misha Vakulich</name><uri>http://www.blogger.com/profile/00560965869150192748</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-812443963439677477</id><published>2010-06-17T23:55:00.000-07:00</published><updated>2010-06-18T02:38:49.343-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Game development'/><category scheme='http://www.blogger.com/atom/ns#' term='DalvikVM'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Android game development part 1 (Testing performance)</title><summary type='text'>   Game development for Android is not a simple thing as you can imagine from the first view. First of all we should talk about Testing performance with eclipse. Let's see what we need to test performance:eclipseandroid SDKandroid plugin for eclipse We have to have an android emulator with SD card for testing. SD card should be at least 64mb because android writes performance data directly to the</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/812443963439677477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/android-game-development-part-1-testing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/812443963439677477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/812443963439677477'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/android-game-development-part-1-testing.html' title='Android game development part 1 (Testing performance)'/><author><name>Misha Vakulich</name><uri>http://www.blogger.com/profile/00560965869150192748</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2057555728839594170</id><published>2010-06-17T03:48:00.000-07:00</published><updated>2010-06-17T03:51:01.043-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internet explorer'/><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Developing using GWT Hosted Mode remotely</title><summary type='text'>Lets say you are running Linux. And of course you want to support IE browsers in your GWT application. So you have tested the application in Firefox which works perfectly with the GWT Development plugin. So you've decided to test application in the running IE browser of the Windows guest and you observe a very strange behavior in IE.

Lets assume that initially you have the following command to </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2057555728839594170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/developing-using-gwt-hosted-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2057555728839594170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2057555728839594170'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/developing-using-gwt-hosted-mode.html' title='Developing using GWT Hosted Mode remotely'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_8mJHR27FNWA/TBn8P8nDFKI/AAAAAAAAAEU/Q8HGPJH184s/s72-c/IE.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-3101837514096324796</id><published>2010-06-14T03:27:00.000-07:00</published><updated>2010-06-14T03:39:38.804-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='glassfish'/><category scheme='http://www.blogger.com/atom/ns#' term='jndi'/><title type='text'>Some words about JNDI</title><summary type='text'>I think all Java-developers know JNDI (Java Naming and Directory Interface) and all of them use it. The common case of its use is getting datasource and getting JMS queue. In this post I'd discuss usage of JNDI for custom objects.On one of our project we need to have access to one common knowledge base, which should be shared between several application deployed on this application server (it was</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/3101837514096324796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/some-words-about-jndi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3101837514096324796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/3101837514096324796'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/some-words-about-jndi.html' title='Some words about JNDI'/><author><name>Serge Zenevich</name><uri>http://www.blogger.com/profile/12276465536027576488</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_UJElbWeT0m4/TBYEMYNiZII/AAAAAAAAAmU/1iF_SEJhWXU/s72-c/Screenshot-New+Custom+Resource+-+Chromium.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-445146435495573395</id><published>2010-06-08T23:49:00.000-07:00</published><updated>2010-06-08T23:49:57.395-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='build process'/><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='productivity'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Improving GWT compilation speed</title><summary type='text'>Yesterday we have moved one of our projects from GWT 1.7 to GWT 2.0. And GWT compilation appeared to run slower on my host.

So I've started looking for a way to make this process faster.

The initial compilation of the project took 207 seconds and permutation compilation 170 seconds

The main idea of speeding up compilation is to reduce the number of the compiled permutations. Permutation is a </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/445146435495573395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/improving-gwt-compilation-speed.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/445146435495573395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/445146435495573395'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/improving-gwt-compilation-speed.html' title='Improving GWT compilation speed'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-4174822875945377223</id><published>2010-06-08T07:34:00.000-07:00</published><updated>2010-06-08T07:53:57.889-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magnolia'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='JCR'/><title type='text'>Working with JCR in Magnolia-CMS</title><summary type='text'>Magnolia CMS is popular Java-based CMS, but unfortunately there is not enough documentation regarding it. For example, I decide to store and load some data into built-in JCR repository and I did not find guide for it. Thus I decided to create this post.So my goal is use JCR as storage for my custom data. I want to store data into it and load data.So let's start. First I'd to get Content and then </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/4174822875945377223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/working-with-jcr-in-magnolia-cms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4174822875945377223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/4174822875945377223'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/working-with-jcr-in-magnolia-cms.html' title='Working with JCR in Magnolia-CMS'/><author><name>Serge Zenevich</name><uri>http://www.blogger.com/profile/12276465536027576488</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_UJElbWeT0m4/TA5ZQ0elxeI/AAAAAAAAAmM/9BIxII5FVhg/s72-c/Screenshot-Magnolia+AdminCentral+-+Chromium.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-6881547634932069378</id><published>2010-06-04T04:00:00.000-07:00</published><updated>2010-06-04T04:06:56.533-07:00</updated><title type='text'>Some words about domain name scams</title><summary type='text'>Yesterday we received a letter with such content: (If you are NOT CEO,please forward this to your CEO, because this is urgent.Thanks.) Dear CEO, We are the department of registration service in China. we have something need to confirm with you. We formally received an application on Jun. 2, 2010, One company which self-styled "Mintor(Japan)Venture Capital Co.,Ltd" are applying to register(</summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/6881547634932069378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/some-words-about-domain-name-scams.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6881547634932069378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/6881547634932069378'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/some-words-about-domain-name-scams.html' title='Some words about domain name scams'/><author><name>Alex Kutsko</name><uri>http://www.blogger.com/profile/14205327187222196345</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_TFOKaFFPKac/Sul2EH7YdPI/AAAAAAAAAAM/2xl36LrwCWM/S220/alex1_bigger.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2504554948400163581</id><published>2010-06-03T22:38:00.000-07:00</published><updated>2010-06-03T23:29:22.695-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='symbian'/><title type='text'>Symbian C++. Installing environment</title><summary type='text'>System RequirementsHost OS      Windows XP SP2 CPU Speed     1.8 GHzPC Memory     2GB RAMHDD     4 Gb +Note: The latest versions of the Symbian OS tools and SDKs are fully compatible with Windows Vista.  However, because Vista has tighter security than XP, you have to take extra precautions during installation (link)Development environmentin this order:ActivePerl. There are a lot of articles </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2504554948400163581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/symbian-c-installing-environment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2504554948400163581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2504554948400163581'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/symbian-c-installing-environment.html' title='Symbian C++. Installing environment'/><author><name>Elena Bobrova</name><uri>http://www.blogger.com/profile/08173572307753570330</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://3.bp.blogspot.com/_1MFU1uz5oX4/S8A6aKLQCGI/AAAAAAAAAxM/QvFjWk9O8hA/S220/av.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2451326099389748538</id><published>2010-06-02T03:58:00.000-07:00</published><updated>2010-06-02T05:01:38.301-07:00</updated><title type='text'>About Agile Testing</title><summary type='text'>Book 'Agile Testing' of Lisa Crispin &amp; Janet Gregory in my interpretation. Basic ideas, concepts…To begin I remind   Agile Manifesto:We are uncovering better ways of developingsoftware by doing it and helping others do it.Through this work we have come to value:Individuals and interactions over processes and toolsWorking software over comprehensive documentationCustomer collaboration over </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2451326099389748538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/06/about-agile-testing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2451326099389748538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2451326099389748538'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/06/about-agile-testing.html' title='About Agile Testing'/><author><name>Pavel Seliuzhytski</name><uri>http://www.blogger.com/profile/06269534393516651645</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1816595138234385036</id><published>2010-05-27T01:40:00.000-07:00</published><updated>2010-05-27T01:41:58.830-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scala'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='NetBeans'/><title type='text'>Scala development in NetBeans</title><summary type='text'>Functional languages are cool in terms of making application parts running in parallel. This brings you great scalability of appllication when running on multicore systems or in cloud. So I've started looking at the direction of Scala which is based on Java and adds all benefits of the functional programming.

I plan to see how Java integrates with Scala and vice versa in the next post. This one </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1816595138234385036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/05/scala-development-in-netbeans.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1816595138234385036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1816595138234385036'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/05/scala-development-in-netbeans.html' title='Scala development in NetBeans'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8mJHR27FNWA/S_4oqUAdPVI/AAAAAAAAAD8/RijV3ov6-6Y/s72-c/1.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-1525924533316554051</id><published>2010-05-25T06:39:00.000-07:00</published><updated>2010-05-25T06:39:24.368-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='productivity'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaEE'/><category scheme='http://www.blogger.com/atom/ns#' term='jrebel'/><title type='text'>JavaRebel 3.0.1</title><summary type='text'>Listened to one of the javaposse podcasts which includes interview with JavaRebel developers.

I've already described JavaRebel before. This time I've decided to have a deep look at this tool and may be adopt it for the daily usage.

JavaRebel is a nice tool which in nutshell is an very smart classloader. It allows you to change classes running in the container on the fly. It covers fields not </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/1525924533316554051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/05/javarebel-301.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1525924533316554051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/1525924533316554051'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/05/javarebel-301.html' title='JavaRebel 3.0.1'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8mJHR27FNWA/S_vLHca0r_I/AAAAAAAAADc/cJNfjjRyGwI/s72-c/JRebel+-+1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-5856172184291104011</id><published>2010-05-10T07:52:00.000-07:00</published><updated>2010-05-10T08:05:07.702-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='patterns'/><category scheme='http://www.blogger.com/atom/ns#' term='django'/><category scheme='http://www.blogger.com/atom/ns#' term='JSF'/><category scheme='http://www.blogger.com/atom/ns#' term='mvc'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>Model – View – Controller (MVC)</title><summary type='text'>MVC is very old and very famous design pattern. It is used in web and desktop applications, in different programming languages (C++, Java, .NET, Python, etc.).First I read about it in Design Patterns. Elements of Reusable Object-Oriented Software and since that time I have heart a lot of things about it and see a lot of realization of this pattern. I decide to write this post thanks to statement </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/5856172184291104011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/05/model-view-controller-mvc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5856172184291104011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/5856172184291104011'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/05/model-view-controller-mvc.html' title='Model – View – Controller (MVC)'/><author><name>Serge Zenevich</name><uri>http://www.blogger.com/profile/12276465536027576488</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_UJElbWeT0m4/S-geDv7c3II/AAAAAAAAAlo/BZq9Xk8uGw8/s72-c/MVC.png%7C.jpg%7C.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1791100179734418785.post-2630648188986672162</id><published>2010-05-10T05:51:00.000-07:00</published><updated>2010-05-10T05:54:05.174-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='jasperreports'/><category scheme='http://www.blogger.com/atom/ns#' term='jdt'/><category scheme='http://www.blogger.com/atom/ns#' term='reports'/><title type='text'>JasperReports: Boxing/unboxing errors during template compilation</title><summary type='text'>When you try to compile the report with the statement like

&lt;printWhenExpression&gt;&lt;![CDATA[$F{billingData} != null]]&gt;&lt;/printWhenExpression&gt;

you'll get the errors like:
1. Cannot cast from boolean to Boolean
The reason is that by default compliance with very low JDK versions is used. Something like 1.2 or 1.3. So lets migrate compilation of JasperReports templates to Java 5. JasperReports uses </summary><link rel='replies' type='application/atom+xml' href='http://softteco.blogspot.com/feeds/2630648188986672162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://softteco.blogspot.com/2010/05/jasperreports-boxingunboxing-errors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2630648188986672162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1791100179734418785/posts/default/2630648188986672162'/><link rel='alternate' type='text/html' href='http://softteco.blogspot.com/2010/05/jasperreports-boxingunboxing-errors.html' title='JasperReports: Boxing/unboxing errors during template compilation'/><author><name>Андрэй Панасюк</name><uri>http://www.blogger.com/profile/04256187162481184739</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_8mJHR27FNWA/S7BTi71ivyI/AAAAAAAAACU/QWb5HWnCCs0/S220/photo1.png'/></author><thr:total>0</thr:total></entry></feed>
