Ketan's Home

October 26, 2015

We’ve Been Slandering Naked Mole-Rats All This Time

Filed under: Uncategorized — Tags: — ketan @ 12:33 AM

Today marks a moral victory for the flesh-twinkies of the animal world. Naked mole-rats have been slandered for years as inbred monsters, but at last research shows that that’s not always true. #notallmolerats

Read more…

from Gizmodo http://ift.tt/1MaoviK

October 25, 2015

DIY Powder Coating

Filed under: Uncategorized — Tags: — ketan @ 10:43 PM

If you don’t yet have a toaster oven you can’t use with food, here’s yet another reason: DIY powder coating. Powder coating is much harder and more durable than paint – a property imbued to it by the fact that it’s baked on to a part. [Thomas] had a go at powder coating some skateboard trucks, and with the right tools, found the process downright easy.

[Thomas] only needed a few things to powder coat his parts, the first and most important being a powder coat gun. A few years ago, Craftsman produced a powder coat gun that’s still available …read more

from Hackaday http://ift.tt/1R6VLvs

October 21, 2015

CDI interceptor of HTTP Request and Header params – simple example

Filed under: Uncategorized — Tags: — ketan @ 6:09 PM

While developing and evolving a REST API, using Java EE , there are some cases where you would like to have ‘a look’ on the incoming HTTP request, specifically the header params, in a more fine grained  (per case) way, rather than a Servlet Filter or the more specific ContainerRequestFilters. One potential way, which I …

from Java Code Geeks http://ift.tt/1OGIGv1

Debugging tip: How to simulate a slow hardisk

Filed under: Uncategorized — Tags: , — ketan @ 1:41 PM

As a Software Engineer there are times when you’d like to have a slower system. It doesn’t happen really often actually: usually it’s when someone reports a bug on your software that you have never seen before and that you can not reproduce. The majority of time, the reason of those ghost bugs are race …

from Java Code Geeks http://ift.tt/1XiWdKK

October 20, 2015

Business value gone wild

Filed under: Uncategorized — Tags: , — ketan @ 9:05 AM

This blog post will not be about microservices, Spring or any technology that I’ve already talked about in Too much coding blog. This time it will be my opinion on two subjects the more and more frequent “it’s not my problem” approach in the IT industry running in a corporation. the “business value” frenzy of …

from Java Code Geeks http://ift.tt/1Gei2qH

Business value gone wild | Java Code Geeks

Filed under: Uncategorized — Tags: — ketan @ 7:14 AM

from Java Code Geeks http://ift.tt/1Gei2qH

October 17, 2015

Spring Cloud Sidecar

Filed under: Uncategorized — Tags: , — ketan @ 9:24 AM

I have an application deployed to a NetflixOSS based cloud which has a structure along these lines: Essentially a service which persists information to a Cassandra cluster. All the applications are registered to Eureka – so in this instance the service as well as the Cassandra nodes are registered with Eureka, further the service connects …

from Java Code Geeks http://ift.tt/1PppwH9

Using the esp8266 as host for I2C sensors

Filed under: Uncategorized — Tags: , — ketan @ 9:24 AM

For my outdoor sensors I used an RaspberryPi with BMP180 + TSL2561 connected via I2C transferring the sensor data as MQTT messages. During an IoT Meetup Session at codecentric office in Frankfurt we discussed the usage of an esp8266 and I was thrilled to get one and play with it. It turns out very quickly that the …

from Java Code Geeks http://ift.tt/1OQ6awz

Resource versioning with Spring MVC

Filed under: Uncategorized — Tags: , — ketan @ 9:24 AM

When serving static resources, it is common practice to append some kind of version information to the resource URL. This allows the browser to cache resources for an unlimited time. Whenever the content of the resource is changed, the version information in the URL is changed too. The updated URL forces the client browser to …

from Java Code Geeks http://ift.tt/1G4mxP5

Advanced Lucene Query Examples

Filed under: Uncategorized — Tags: , — ketan @ 9:09 AM

This article is part of our Academy Course titled Apache Lucene Fundamentals. In this course, you will get an introduction to Lucene. You will see why a library like this is important and then learn how searching works in Lucene. Moreover, you will learn how to integrate Lucene Search into your own applications in order …

from Java Code Geeks http://ift.tt/1FCmOhg

Older Posts »

Blog at WordPress.com.