Using Watson Translation service in an Eclipse SWT application

Image (3) flow-680x156.png for post 5379

In this video I show how I used Watson Translation services in IBM Bluemix to translate an entire catalog of products and categories. I used a simple Node-Red flow to achieve this with little programming on the server-side.

Finding every possible combination of array entries from multiple lists with unknown bounds in Java

I am sure this post will resonate with pretty much any developer that reads it. Have you ever had a problem where you had to really step back and think about for a long time? A problem where the wealth of the internet helps a little but just isn’t what you were looking for? One big problem is I had recursion on my brain and I was convinced for a long time recursion would be needed. Seeing many similar problems solved with recursion I thought it was the way to go.. “Much to learn you still have…my old padawan.” – Yoda.

A long time for me is hours or even days. Usually I have some level of experience in the past that helps me quickly figure out coding tasks. Well for some reason this thing got me thinking for almost an entire day. And when I say entire day I mean I still do other things but its embedded in the back of my brain. I had my notebook with me the entire day drawing out boxes, arrows, and visualizing walking through loops. It wasn’t until later that night when I realized what I had to do. This was that kind of problem.

Head shots thoughtful, thinking, finding solution man

Continue reading

Eclipse and SWT to the rescue

For the past week or so I have been able to do some Eclipse and SWT programming. I have a tool here for technical sellers written in Java and what has been requested for a couple of years is a front end UI to that tool. One thing that really stuck out was the Window Builder and the information on the internet. You see, when I started Eclipse development it was very new. Unless you knew where to look it was often difficult to find answers or great examples. Almost 13 years later and its a very different story.

window_builderFirst off, Window Builder is amazing, it works, and the amount of functionality in it is very impressive. I remember early on with was pretty bug ridden and we ended up coding by hand. Now, you can do all kinds of really cool things right in the user interface. I was able to completely use the WindowBuilder editor for all of my windows and dialogs – piece of cake! I especially like the Menu and Table editors – makes creating these things a snap.

Next, I have to mention the internet, StackOverFlow, and all of the blogs and articles out there. It seems no matter what I search for someone has written about it or asked about it. Great job Eclipse Community!.

Cool game based on MQTT and NodeJS and deployed on Jazzhub, and BlueMix!

Had a very short but cool discussion yesterday on Twitter with Ken Walker and Bryan Boyd about his game based on MQTT and JavaScript. The game is written with NodeJS and Ken deployed it on JazzHub and BlueMix! Check out Ken’s video below.

Great job guys!

CKEditor comes to the Eclipse platform!

I am not sure if this is the first time the CKEditor has been ported to the Eclipse platform but today I noticed on the Eclipse.org marketplace site there is a new plugin for editing HTML files using the CKEditor. I do know years ago we considered doing this for the Lotus Notes client. This also means if you bundle this feature with your RCP application you can also have the CKEditor!

Screen Shot 2013-11-25 at 10.16.46 PM

What I really like about the way this plugin is bundled is it actually uses the CKEditor directory structure as is. Meaning, you can enhance the editor with its own plugins if you want. Sort of like a plugin within a plugin.

Screen Shot 2013-11-25 at 10.22.09 PM

Great job to Konstantin Zaitcev for getting this done!

What’s new in Eclipse Juno?

juno-iconFinally got around to installing Eclipse Juno. It has the long anticipated E4 modules that I was playing with a couple of years ago. Check out the E4 page to learn about the underlying SDK.

First off, it has a new shiny logo (on the right) and a pretty cool looking splash screen, see below.

I was able to simply download the zip file and run it! I installed the 64bit for Java EE Developers, check out the page here. You have to love that install model – so simple. I even loaded my older workspaces and everything “just worked”. The entire UI has pretty much been revamped with a lot of little goodies spread throughout. Here is a list of some of my favorite features:

  • The new UI
  • Multi-drag sash
  • Detached Editors
  • Flexible part layout – You can now mix views and editors!
  • The common event bus – very cool, check out the plugin page for “what’s new”. You can also check out the new event model here.
  • Trim styling, since the UI is based on CSS, you can do some pretty slick things now.

Check out the new splash screen:

juno-splash

Why LinkedIn should be worth more than Facebook

It’s an age-old adage – Business vs Pleasure.

In a world where athletes make millions and the average business person makes less than $100K it is hard to argue that a market designed for entertainment isn’t big business. However, the customers are clearly in it for pleasure. This is why Facebook on paper is more valuable than LinkedIn – how can you argue with almost a billion users? LinkedIn, however, has over 200 million “business users” and the entire focus of LinkedIn is to “link” you with other business people.

Continue reading