tag:blogger.com,1999:blog-99612572024-03-12T19:30:41.232-04:00Simple Thoughts OnlineJust some simple thoughts about things that I like (or not) and work related subjects...Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.comBlogger47125tag:blogger.com,1999:blog-9961257.post-4183763089192685702023-12-11T22:25:00.003-05:002023-12-11T22:25:25.455-05:00Mountebank testing I recently switched to do some testing from Wiremock to Mountebank. I found that Mountebank had far more flexibility and simplicity when doing complex data setups to support your test cases. I ran both on the docker and kubernetes and they work perfectly fine in both engines.Sample docker mountebank run:
docker run --name mountebank -p 2525:2525 -p 11000-11010:11000-11010 \\
-v /Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-77732139237156614952023-12-11T22:15:00.001-05:002023-12-11T22:15:25.801-05:00 Starting MEGA instances MEGA is proving to be a solid provider for the data storage with encryption enabled. In case you wanted to start multiple instances in Linux (e.g. work and personal), here is the script I picked up and modified a bit from the web:Sample:Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-29554059586906748152021-04-11T20:11:00.000-04:002021-04-11T20:11:24.810-04:00Turning keyboard light on Ubuntu after sleep One of the things that I like on the Mac I use for work is that everything seems to be well integrated, however the keyboard is pretty bad though in my opinion, at least on the model that I use. Nevertheless, the back-light feature seems to be working really nice and I wanted to model this partially on the Ubuntu. One of the things that was missing on my Ubuntu laptop is that if I turn off Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-64822037023765939582020-11-04T10:14:00.435-05:002022-09-14T19:10:13.370-04:00Interviews from the aspect of a tech guyHi,For the last 12 years I had the opportunity to interview quite a few people for various positions mostly related to Node.js, Java, Spring, Cloud and SQL processing. I would like to take this opportunity to write about what I was looking for in the candidates resumes, recruiters relationships and some common mistakes that people make during the interviews or writing resumes. Please note that Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-44066806821998707292020-10-28T23:04:00.003-04:002020-11-17T21:52:11.919-05:00Proxy in Microsoft proprietary worldIn a world where we have a corporate proxy server requiring NTLM authentication, having Mac/Linux may prove to be difficult choice if all data needs to be routed though the said proxy. Talk about Brew, Git, Node, etc., and all of them will require authenticated access. When you try to use these apps, you may get 407 error saying that you require authentication. In this case, we would need to Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-85777809490292241952020-10-28T22:40:00.001-04:002020-11-17T21:53:02.846-05:00MSSQL to MongoDB
There have been a lot of discussion in recent years regarding NoSQL databases and when would they be preferable to SQL databases. There are a lot of articles written on this subject, but I wanted to give some insight to one of my past projects that I have been part of, and provide my perspective on the subject.
When choosing topology for the system we should take in consideration all of the Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-33513084820163476922019-04-05T20:03:00.001-04:002019-05-04T20:22:10.909-04:00Deploying Angular 6 + Spring Boot + Postgres to AWS
You have completed your Angular application and now you are looking for some deployment options... Among many in existence today, you can find choices like AWS, GCP, Azure, PCF, etc. and few other in the cloud. In this post, I will explain what I needed to do to deploy my services to AWS and keep the cost low (or non existent with AWS free tier). There is always an option to get full 'by the Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com1tag:blogger.com,1999:blog-9961257.post-36244405305840111582019-03-12T17:02:00.000-04:002019-03-12T17:31:25.190-04:00Number formatting in Angular 6 (multirow form)
Working as a contractor made me build an application that I use to generate my invoices and track my activity. But why build an application where there are other commercial solutions, you ask? Well, I needed a way to track my activity other then Excel like tools (which most of my colleagues use), I did not want to purchase other tools that may be available as they did not have format and Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-76639920806692990082018-09-30T11:52:00.002-04:002020-12-14T22:59:37.222-05:00Spring Boot (1.5) OAuth2 Server in Enterprise environment
The problem
If we want to have an array of microservices and support user interaction through delegated authorization, this implementation would be one of the options to consider or at least review. We have to first understand the differences between OAuth2 and e.g. OIDC before we continue explaining how to achieve OAuth2 implementation in Spring Boot in a way that is stateless and Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-90217724281127589212018-04-15T13:33:00.004-04:002020-12-14T23:00:52.906-05:00MyBatis Paging, Sorting and Filtering
When considering which database persistence framework to use to complete the goal of development, we must take in consideration several factors:
Knowledge of your team and ability of the team leads to help out with problems
Available documentation
Maturity of the framework
Availability of the helper classes or supporting frameworks (e.g. how much custom functionality we need to create)
Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-73015546787437473092017-05-13T23:46:00.001-04:002020-12-14T23:01:15.974-05:00Spring Boot with JSF
I have open sourced an application, recently, that I created for my own time tracking and invoicing and published it on GitHub under the Apache 2.0 license. When I started working on it, I thought about which technology should I use and decided on Spring, more precisely Spring Boot, because that was something that is natural to me as I have used this for many years. But this would only serve a Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-85979819338827383752015-12-16T23:55:00.000-05:002017-04-19T22:04:14.747-04:00Books 2
Here is the new batch of the books that I have read and liked.
[Homeland] Cory Doctorow wrote a sequel to Little Brother. His protagonist, Marcus, continues the fight against the police state. If you enjoyed the first book, this is certainly going to entertain you. You can get the book here.
[Lost Symbol] The Lost Symbol is a masterstroke of storytelling that finds famed Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-70849986239892953082015-04-23T21:54:00.004-04:002020-12-14T23:02:05.662-05:00Aspose document generation
Hello,
In today's business world reporting comes out as the end result of the functional application and it serves the purpose of giving introspection into the system, functionality, current and future needs and much more. Having a good system to produce reports is a challenging requirement as one has to balance functionality, requirements, price, potential support needs, easiness of use and Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com1tag:blogger.com,1999:blog-9961257.post-28205379280801271152014-11-18T22:49:00.001-05:002017-04-19T22:16:32.589-04:00ThinkPad t440s + Ubuntu
Several weeks ago I have purchased a ThinkPad t440s as I needed a new laptop for development. I was looking at several options including Carbon X1 and MacBook Pro. Having been using Ubuntu for quite some time I decided that I do not want to go with Mac. I also recently switched from iPhone to Nexus 5 so it did not seem like a good choice to me. And it was expensive. Between X1 and t440s, after Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-42089665821161753302013-06-28T10:07:00.000-04:002019-03-12T17:49:44.138-04:00OLAP with Mondrian
If you ever wanted to do OLAP analysis, first thing that would needed to be done is selection of the tools. There are several good tools out there but I would like to write a little bit about Mondrian OLAP as it comes in form of open source community edition and commercially supported project.
Pentaho Analysis Services Community Edition also known as Mondrian, is an Online Analytical ProcessingBranislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com3tag:blogger.com,1999:blog-9961257.post-47691628975035860962013-04-19T22:23:00.004-04:002019-03-12T17:51:56.162-04:00Inserting data into DB2 from CSV file (using Ruby)
I recently had to import some data into DB2 and I came up with this little program to help me out. I had to search the Internet for a few hints and finally came up with this code that was useful to me. I hope that it will help anyone that needs the same thing. I am pretty sure that this can be accomplished even easier, so if you have a suggestion, please let me know.
Before you use Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-13329204612133654402013-03-25T21:07:00.003-04:002014-01-08T11:59:51.588-05:00IBM BPM 8
IBM has acquired Lombardi Software in January 2010 and integrated their excellent BPM into a new solution called IBM BPM. IBM BPM comes in three variants: Express, Standard and Advanced. They are different by licensing and products that are included into them. Express comes with limited users and deployment options with Lombardi part only, Standard comes with Lombardi part of BPM and Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-54428078227141763102013-02-13T12:54:00.000-05:002014-01-08T12:01:16.513-05:00DB2 database setup
Did you ever have to setup DB2 on your local machine? You will find that if you have domain user, things are not as straight forward as they might seam. Here is a little help for DB2 Express 10.
I was using Windows 7 64 bit for this.
If you are logged in domain and what you found on IBM help site does not work, you might try this (You will need to run Command window - Administrator)Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-35050746503066429312013-02-02T17:38:00.000-05:002014-01-08T12:31:34.032-05:00JDeveloper overview
Until recently, I was never a big fan of the visual tools like JDeveloper concerning Web UI development, but my recent exposure has changed my mind. Being a hard core developer was always something that had to go along with Java development or at least I though so. Great platform, but too much choice and somewhat looser restrictions in terms of what needs to be used and in which way (just Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-29647554395443265342013-02-02T17:37:00.003-05:002015-12-16T23:25:05.503-05:00Books 1
If you love technothrillers like I do, I would like to recommend a few books for the reading while you are riding a train or waiting in the doctors office (e.g.). So here is my list:
[Little Brother] Cory Doctorow is outstanding writer that can create atmosphere and keep it to the very end. Little Brother is a great story that describes an unfortunate moment in Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-53428424860894098362012-11-16T19:14:00.003-05:002014-01-08T12:34:22.441-05:00Creating video tutorials in Windows
If you ever needed to introduce your application(s)/technology to new developers or just create an end user tutorials, here are a few tips that helped me when I was creating instructional videos.
I used CamStudio video capture software and iWisoft video converter. With first application, you will record your video and with second application, you can convert it to desired format. After Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0tag:blogger.com,1999:blog-9961257.post-30055485196761968232012-10-01T15:29:00.000-04:002019-03-12T17:54:05.717-04:00Accessing Maven Profiles
I have just spent some time trying to figure out how to determine which profiles are active during the build using Maven. This functionality would be useful if you needed to put your profile activation in JAR MANIFEST file if your project supported various versions of dependency files (for example different servers, portals or Ajax libraries ...) and in case that your Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com2tag:blogger.com,1999:blog-9961257.post-4427914429894848662012-09-07T15:40:00.000-04:002019-03-12T17:55:02.480-04:00TOAD for SQL Server - hide empty tables
If you are using SQL server and TOAD and have a lot of empty tables that you do not want to show, you can use Object Explorer filter to add this code to prevent them from being shown:
Thanks TOAD forum for the help!
Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com2tag:blogger.com,1999:blog-9961257.post-80680504764592092592012-09-05T16:21:00.001-04:002019-03-12T17:58:27.549-04:00Displaying jBPM diagram of the current process
In large enough processes, user might need to see where in the diagram process stopped. Now jBPM console comes with this, but to actually integrate it with front end application, I had to change it slightly. Code base used was from bpm-console. First part is setting up properties with the location of your Guvnor (jbpm.console.properties):
Following is the code (you can remove static if Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com6tag:blogger.com,1999:blog-9961257.post-18332187506253009482012-08-31T13:09:00.000-04:002019-03-12T18:01:43.054-04:00JSF2 Byte Boolean Checkbox
A few days ago I needed to convert old Icefaces 1.8.2 (JSF1.2) project to Icefaces 3.1 (JSF2) and found a problem when converting Byte to Boolean for the checkboxes. Byte value was generated by Hibernate from database and that is the model that already exists so we really cannot change that. The option with JSF1.2 was to implement Byte to Boolean converter and override rendering kit to call it. Branislav Cavlinhttp://www.blogger.com/profile/16077197417979348780noreply@blogger.com0