10 Major Tips for Safe Programming

Technological security threats around the world are increasing gradually. Where before it was simply individual credit card numbers being stolen, now it seems almost every day there’s another story of severe breaches where millions of financial records are exposed, like the recent Experian discovery. Writing secure code is not an easy task. In order to approximate bulletproof code, managers, auditors, ...

Read More »

ObjectBox, a modern and easy to use Android database

If you’re familiar with libraries like greenDAO or EventBus, you may have heard of the company that created them: greenrobot. If not, I recommend checking them out. In short, they build high quality open source libraries for app developers. Recently, they have come out with a new library called ObjectBox. It is used to help manage your app’s local data ...

Read More »

Serverless: S3 – S3BucketPermissions – Action does not apply to any resource(s) in statement

I’ve been playing around with S3 buckets with Serverless, and recently wrote the following code to create an S3 bucket and put a file into that bucket: const AWS = require("aws-sdk");   let regionParams = { 'region': 'us-east-1' } let s3 = new AWS.S3(regionParams);   let s3BucketName = "marks-blog-bucket";   console.log("Creating bucket: " + s3BucketName); let bucketParams = { Bucket: ...

Read More »

Redis Client Lettuce 5 GA released

After a 13 months development phase and 208 solved tickets, it is my pleasure to announce general availability of Lettuce 5.0. This is a major release coming with several breaking changes and new interesting features and Java 9 compatibility. Get the release from Maven Central <dependency> <groupId>io.lettuce</groupId> <artifactId>lettuce-core</artifactId> <version>5.0.0.RELEASE</version> </dependency> or download the release bundle from GitHub. Lettuce 5 introduces ...

Read More »

About When Not to Do Microservices

Quick interlude to my last blog. As part of my last blog on low-risk monolith to microservice architecture, I made this statement about microservices and not doing them: “Microservices architecture is not appropriate all the time”. I’ve had some interesting reactions. Some of it along the lines of “how dare you”. I also poked at that a bit on twitter ...

Read More »

What is JSON Processing (JSON-P API)?

Introduction to JSON-P in Java EE The Java API for JSON Processing 1.0 (JSR 353) is a low level, lightweight JSON parser, and generator that provides that capacity to manipulate JSON data at the property and value level. The JSR 353 provides two JSON processing models: an object model and a streaming model. Both models can generate JSON data and output ...

Read More »

Alternatives for Agile and Lean Roadmapping: Part 7, Summary

Let me summarize what I’ve been talking about in these posts. The problem I’m seeing is that too many teams and organizations plan too much in too much detail too soon. Instead of architectural BDUF (Big Design Up Front), it’s project planning as BDUF. They expect one single person (a product manager or a product owner) to do all that ...

Read More »

A Guide to Parsing: Algorithms and Terminology

We have already introduced a few parsing terms, while listing the major tools and libraries used for parsing in Java, C#, Python and JavaScript. In this article we make a more in-depth presentation of the concepts and algorithms used in parsing, so that you can get a better understanding of this fascinating world. We have tried to be practical in ...

Read More »