Mykhaylo's blog

my free online calculator

by on Feb.02, 2013, under General

I thougt about some easy and fun experiment with plain javascript. So what students implement most often? I thought it’s a calculator and here is mine free-online-calculator.kubasov.org.ua and the same on appspot free-online-calculator.appspot.com.
All the errors for 64bit floating point are still present. I have 2 reasons for that: I wanted something plain with no libraries used and with minimum size.

Leave a Comment more...

How to debug a PlayN application using eclipse

by on Oct.26, 2012, under General, GWT, PlayN

Here is the short recepy: Using “Debug As” on your xxx-game.java create a new run configuration and put VM arguments there
"-Djava.library.path=${workspace_loc:xxx-java}\target\natives"

Leave a Comment more...

Kill a day with eclipse and seam framework

by on Oct.23, 2012, under General

Next time when eclipse debugger stops working:
1. Make sure you’re using fresh jdk.
2. Window -> Preferences -> Java -> Installed JRE’s ->currently used JRE
Edit “Default VM Arguments” -XX:+UseParallelGC”
I wish I knew this a week ago. arrgh!

Leave a Comment more...

His fluffyness (его пушистейшиство)

by on Mar.28, 2012, under General

Leave a Comment more...

Магазины в штатах

by on Sep.28, 2011, under General, USA

http://www.sears.com - всё для дома, шмотки, игрушки. Цены восновном ниже среднего – средние.

http://www.walmart.com/ - всё для дома, дешёвые шмотки, оч хорошее бельё от (life, hanes), электроника, дешёвая еда, иногда курево.

http://www.kohls.com/ - шмотки и обувь, огромный выбор, цены средние. В рандомные дни бывают скидки до 70%, чаще всего случалось по средам и четвергам.

http://www.sportsauthority.com - спортивная одежда и инвентарь. Дорого и качественно. Коламбия и The north face это сюда.

http://www.bestbuy.com/ - цыфровая электроника, часто есть очень заманчивые спецпредложения.

http://www.radioshack.com - тоже цыфровая техника, большой выбор телефонов и жпс. Дорого.

http://www.barnesandnoble.com/ - книжные магазины. Можно тупо залипнуть в магазине на день и читать – всем пофиг. Книги дорогие, но уйти без покупки сложно.

http://www.shoprite.com/ - продукты, можно печатать купоны с сайта, оч помогают. Скидочная карточка регистрируется за 15 минут и тоже часто помогает сэкономить. Встречается в New Jersey.

http://www.stopandshop.com/ - выбор больше чем в шопрайте, есть аптечные отделы. Карточка тоже оформляется оч быстро на месте и даёт ощутимую экономию. Встречается в New Jersey.

http://store.publix.com - обычный супермаркет типа шопрайта. Встречается в южных штатах – Tennesse, Alabama, Georgia, South carolina, Florida.

 

Leave a Comment more...

Expectedly good sniffer – wireshark

by on Aug.11, 2011, under General

I’ve tried Ethereal a couple years ago. This tool allowed me to find an interesting bug in IBM MQ 7.0.0.01 (not sure about the version). The problem was that queue had no default code-page set, while earlier versions used to have it defined to 829 or something. I spent two days debugging the app, on our system everything worked fine, but customers mainframe fad no default code-page either. So I took Ethereal and found difference in the messages header of MQ 6 and 7.

Today I stuck in debugging again. Since last time I was using Ethereal it was renamed to Wireshark. And again it allowed me to find the bug, mine this time.

So, I’d recommend this app as a powerful but easy to use network protocol analyser.

Leave a Comment more...

optimizing GWT module compilation

by on Aug.17, 2010, under GWT, optimizations

Usually you don’t have any problems to wait until GWT compiler finish compilation of 5-6 permutations. But today it takes up to 6 minutes for my project.

There are couple of lines which reduced compilation time, to 50% of usual time.

Put in your modulename.GWT.xml folowing:

<set-property name=”user.agent” value=”ie8″/>

and optionally

<extend-property name=”locale” values=”en_US”/>

First one will force the compiler to produce only one permutation, for IE8 only (note that your web app will not work in other browsers). The second will add one more permutation for chosen locale. Do not set it if you are ok to use the default locale only.

The other useful optimizations are related to production builds. These are compiler options:

-XdisableClassMetadata and -XdisableCastChecking

Their names are self-explanatory.

These and other optimizations you can find in Google IO 2010 session video “Faster apps faster: Optimizing apps with the GWT Compiler

Leave a Comment more...

Hello world, again…

by on May.27, 2010, under General

Let’s get started.

For today I’ve upload my training project – cityid-ua. It does simple thing – shows ukrainian cities by region with their phone codes and in perspective ZIP codes. I know, this is not kind of good ideas to describe project with russian text. But I spent much time to get it working and there are not so many tutorials on chosen technologies. Epecially I wanted to follow the best practices introduced by Ray Ryan in his presentation in 2009.  So I decided to share my experience.

Libraries and technologies were used:

For now you can take a look at the code and try the resulting application.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...