Rest vs SOAP
0Are there any analogy between SOAP vs Rest based web services and Entity Beans vs hibernate? I big telecom company is investing heavily on SOAP based web services as they guided by Oracle. I still could not identify any case where they are using WS-security, WS-transaction or similar features that are not exist in rest based web services. Oracle and similar companies pushing companies toward SOAP but open source is fading away from SOAP and choosing REST.
TTNET Muzik Android Uygulaması
0TTNET’in muzik uygulaması Motorola Xoom’dan başka android tablet’de çalışmıyor. Aslında teknik olarak bir sıkıntı yok ama bu TTNET’in bilinçli olarak uygulamaya koyduğu bir kısıtlama. Bendeki Asus Transformer tablet üzerinde bu uygulamayı çalıştırmak için şu şekilde bir yol izlemiştim:
APK dosyasını diassembly edip DeviceRestriction dosyasındaki
if-eq v0, v1, :cond_0
satırını
if-ne v0, v1, :cond_0
ile değiştirip, tekrar assembly ve sign ettmiştim. Diassembly işlemi için Easy Apk Disassembler uygulamasını kullanabilirsiniz. Bunu paylaşıp paylaşmamakta kararsızdım ama sonunda paylaşmaya karar verdim. TTNET Müzik üyesi olurken size istediğiniz her yerden dinleyebileceğinizi söylüyorlar ama daha sonra bilinçli olarak Motorola Xoom’un dışındaki android tabletlerde uygulamanın çalışmasını engelliyorlar. Bu güzel bir davranış değil.
PDF vs EPUB on Android
0Most of the ebooks I have purchased are available in several formats including epub and pdf. Due to my Sony ebook reader’s epub support I was biased toward epubs although I have already purchased ezPDF Reader application for my android devices. Recently I have started to read some books that are only available in PDF. For epubs on android devices I am using Aldiko application. But it has 2 drawbacks. Firstly it does not support annotations and second it is has very poor page turn performance if page contains source code. I have tried some other popular epub reader applications like Moon+ Reader. But I am not statisfied with them either. For example Moon+ Reader completely destroys formatting of source codes in epub. ezPDF reader is very fast and allows annotations on PDF files. It has also other advantages like text to speech but I do not use them. Only disadantage of PDF format is the margins around the page. But ezPDF Reader has fit to text feature to automatically eliminate these white spaces. So I think I am re-downloading my ebooks in PDF format. Sorry epub, you are a standard format but you need more time.
Best eclipse shortcut
0I have been using eclipse for years. I were using several shortcuts to speed up things. But I have learned my favorite shortcut, CTRL+3 just a few months ago. It is something like one shortcut to learn them all. How could I miss this for years?
EMO (Elektrik Mühendisleri Odası)
1Şirkette bazı arkadaşlara EMO’nun dergisi geliyor. Bu derginin ve EMO’nun elektrik, elektronik veya bilgisayar ile fazla bir ilgisinin olmadığını, tamamen siyasi bir yapıya büründüğünü üzülerek gözlemlemekteyim. Bir siyasi partiden daha fazla siyaset yaptığını rahatlıkla söyleyebilirim. Bilgisayar mühendisi olarak bu odaya kesinlikle üye olmayı düşünmüyorum.
Android’s ListView vs Java’s JList
0I have several years of swing experience but I have recently started to play with android API. I have noticed one significant difference in terms of how Flyweight pattern is implemented. In JList you generally create an instance of a ListCellRenderer and return a swing component from getListCellRendererComponent method. Android has also a very similar mechanism. You extend BaseAdapter and return a View from getView method. In java how many different swing component instances you will return is directly determined by your getListCellRendererComponent. But in Android, framework manages a cache of View components and makes an instance available to you as a parameter to your getView method. And you have to return a new instance for every different row in current view pane. To achieve this you by checking whether convertView parameter supplied to your getView implementation is null, if it is null you create a new instance, if not you reuse supplied converView instance. If you return the same instance (as in the swing) android’s getView method will not work correctly. Swing’s implementation seems more lightweight in terms of memory. Same things could be said for editable state of rows. Same comparison is also valid for JTable of Swing and GridView of Android.
