Archive

Archive for the ‘brief news’ Category

Blog movement…. GeeCON, TalentHacker.com and Dexterslab

Hey readers!

I do apologize for such long delay, it was caused by lot of things. If I should chose only three principals, it was my Ph.D.. The thesis is standing in the front line, the second was/are my GeeCON related activities and the third can be placed the project TalentHacker.com and related Dexterslab.cz .

The TalentHacker.com is very excited project, you can check our websites, blog to get better understanding. Maybe, it is more useful to visit and read down our Dexterslab.cz blog.

Next time you can reach my personal blog on following links:

www.miroslavkopecky.com, www.miroslavkopecky.eu and very soon www.miroslavkopecky.cz

It would be great to find a time to send couple of posts about technologies I’m currently dealing with (Playframework, AWS, NoSQL, Android, iPhone iOS,  Google App Script, Statistics, Sites, Blogger, jQuery, Javascript and etc. ).

I do believe it will be soon… stay in touch!

Cheers, miragemiko 

//

Categories: brief news

How to install db46 on Snow Leopard

April 30, 2011 Leave a comment

I hope it helps, but this is the way how to install db46 to the MacOSX Snow.  Before I’ve always received this:

--->  Configuring db46
--->  Building db46
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Just follow this steps and db46 installation pass The easiest fix is to install it without java (and you don't need java)
sudo port -v selfupdate 
port clean db46 
port install db46 +no_java

PS: I hope I'll start blogging again and very soon. I don't like my 
being under rush because of thesis. 
Categories: brief news, MacOS Snow

Stripes, Spring, Play on the scene

December 15, 2010 2 comments

Currently we are working on decision which one of framework (MVC) candidates to use … stripes, play or spring (or combination )…  We’ve worked on simple task. The authentication (security) methods on stripes and play. The Security controller in Play is quite simple in default.
googling  results…

The best performance is to be found with the action based frameworks (no paradigm mismatch as the component based frameworks have). The Shortlist would be Stripes first and Spring the  second.  So how to extend this about PlayFramework ?

Stripes Framework (Pro):

  1. Fast
  2. SEO friendly links
  3. Elegant easy to understand code (1 thread per action).
  4. Low learning curve, any Java web developer can quickly learn it.
  5. 100% open source, no chance of future license changes.
  6. Focused and small integrates with any stack.

Stripes Framework (Against):

  1. Less well known
  2. Not full stack

Spring MVC (Pro):

  1. Fast
  2. SEO friendly links
  3. Lots of developers have worked with Spring (but less with Spring MVC).
  4. Full stack, part of Spring framework.

Spring MVC (Against):

  1. Higher learning curve
  2. More complex code: because beans need to be programmed tread safe, result is procedural code.
  3. You might need to buy licenses from VM Ware in the future if you want to get all latest patches.
  4. License terms can and have changed for future versions.
  5. Full stack, you might get more than you need.
Categories: brief news, JAVA

Stripes Framework: Why can it be useful for you ?

December 13, 2010 Leave a comment

These days I’m working with this framework and I’m reading about it also… so short comments I want to have noted as quick summary.  I’ll extend it latter:

  • Smart binding:  Stripes goes a long way to bind URLs, parameters,and events from HTTP to Java so that your code remains simple and straightforward. The names in your view templates match the names of your Java classes, methods, and properties, so theassociation between the two is very clear.
  • Auto loading:  Stripes automatically discovers and loads your Stripes-related classes, so you can add, rename, and remove classes without worrying about keeping any configuration files (XMLor otherwise) in sync.
  • Validation:  Stripes provides a powerful validation mechanism that is based on annotations.
  • Type conversion and formatting: Stripes gives you strong type support by automatically converting between Strings and common Java types and making it easy to add your own data types to its conversion system.
  • Layouts: With three tags from its tag library, Stripes gives you a simple and powerful reusable layout mechanism. You guess edit—no configuration files involved here either.
  • Localization:  Stripes tags have a default resource bundle lookup strategy so that localization is simple.
  • Exception handling: When an exception goes all the way up the stack without being handled, the servlet container shows a big ugly exception page. You don’t want your users to see that!  Stripes lets you show specific error pages for the exception types that youcare about and has a general “catch all” error page for all other exceptions.
  • Interceptors:  When handling a request,  Stripes goes through several life-cycle stages before providing a response. Interceptors letyou write code that is called before or after any of these stages, making it easy to alter the flow, change the data, and so on.  Interceptors are a great way of plugging in custom behavior.
  • Customizable URLs:  Stripes takes care of all the URL binding for you, so you can write your whole application without ever bothering with URLs.  However, if you need specific URL patterns,  Stripes lets you do that too.
  • Easy Ajax integration:  With the simple and transparent request response nature of Stripes, you can Ajaxify your applications by using your favorite Ajax framework as a front end and Stripes as a back end.
  • Testing:  Stripes comes with a built-in set of mock objects that help you write automated unit tests to make sure your application works as expected.
  • Easy extension and customization:  Stripes is designed in a modular fashion with many areas to hook into. You can plug in different behavior for any part of the framework. Extensibility is an are a where Stripes really shines, and if you’re not used to being able to easily insert custom code into a framework, you’re in for a real treat.
Categories: brief news, JAVA

… PhD, Hudson-mobi, OpenGL : simply Android

July 21, 2010 Leave a comment

Last days I had no time for blogging… I’m really missing it!  I’ve been working on project for my PhD and PhD itself.  It’s pretty hard to stay focused when the weather outside is almost sunny 🙂 … I’m glad I have time go to the gym or biking.

During the mean time I’m glad for my participation on Hudson-mobi for android. I’ve changed layout, implement animations, workflow, class changes and I did couple of fixes inside the source code itself. Well, I don’t want to forget about app graphic design which I’ve done too.  I hope all users gonna be satisfied with look-and-feel design. It’s really excited to participate on this.  Everything gonna be published soon! Have a quick look now and here…

Yesterday I had just feeling I should open OpenGL SE implementation for Android.  Emulator is doing pretty good. 3D implementation is working pretty fast, no doubts here. Much more excited is hardware implementation on your device. (HTC Desire, Nexus One).   Here are only two images … from glass effect which is quite simple to implement using OpenGL tutorial … HERE .

Most special effects in OpenGL rely on some type of blending. Blending is used to combine the color of a given pixel that is about to be drawn with the pixel that is already on the screen. How the colors are combined is based on the alpha value of the colors, and/or the blending function that is being used. Most people think of Alpha as how opaque a material is. An alpha value of 0.0 would mean that the material is completely transparent. A value of 1.0 would be totally opaque.

import javax.microedition.khronos.opengles.GL10;
import javax.microedition.khronos.opengles.GL11;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.opengl.GLUtils;
Currently code is under progress to changed to Android 2.1 because the most of Android are powered by 2.1 … so maybe next blog I’ll add sample project 🙂
Categories: brief news, GeeCON

Mobile Technologies and medical/clinical usage #Android

June 30, 2010 Leave a comment

In parallel with my PhD thesis  I’v  started work on other Android project which is directly connected with my thesis (so cool).  I really like my PhD  topic because I have been interesting in neurology since my childhood.  Brain is big mystery to me ( I guess also for others 🙂  and so excited. Maybe it’s on similar line as Android 😀 and other mobile technologies I have used till know.  Medical branch needs a lot of improvements to do analysis and checkups much faster then now (more mathematics, statistics, algorithms and right implementation). It gonna be definitely more comfortable for any patients .

Next days I’ll by improving my framework and analyzing subjects affected by Schwannoma.  I’ll see how big improvement they have done after surgery and rehabilitation by using my framework. It would be definitely excited.

I’m apologize to anyone who doesn’t agree with my state but keep in mind that faster and more reliable framework helps to make such checkup faster.  Affected subject gonna have time for relaxing and don’t be so stressed around…

Categories: brief news, Google Android

quick photo walk through the Lab … my PhD thesis

June 29, 2010 Leave a comment

Today morning I did couple of photos from the Lab where we have done quite almost all  subject measurements.  Lab is at Neurology Department and we are investigating movement disorders on this device, STS… EnJoy photos!

Categories: brief news