Few UI fixes and an enhancement:
Add end-user’s current GPS location to the map! Useful for end-users that want to find directions from their current location to map’s markers (This feature will function in browsers supporting the W3C Geolocation API. This excludes Internet Explorer versions 8 and older)
I released a Java-based HTTP stub server. We are actually using it on our current project. Give it a go, perhaps it can help you too. In brief, why would you use a stub HTTP server?
You want to simulate responses from real server and don’t care (or cannot) to go over the network
You want to verify that your code makes HTTP requests with all the required parameters and/or headers
You want to verify that your code correctly handles HTTP error codes
You want to trigger response from the server based on the request parameters over HTTP or HTTPS
You want support for any of the available HTTP methods
You want to trigger multiple responses based on multiple requests on the same URI
You want to easily configure stub data using configuration file
You want to easily configure stub data at runtime, without restarting the server by making a POST to an exposed endpoint
You want to [...] Continue Reading…
Spent some time yesterday playing with LaTeX again, and to be more specific – with fonts in LaTeX. I created a resume template by applying XeLaTeX type setting. The latter allows me easily to load system fonts (both OTF and TTF) in .TEX files.
It is very similiar to CSS – XeLaTeX allows you to load system fonts simply by calling font’s name in your commands. Have a look at the following example: I declared a new command HoeflerFont which uses one of my system fonts by its name: Hoefler Text
I used several different fonts for my resume with ligatures enabled. Ligatures are curly little letter tails that make text style look somewhat medieval. From Wikipedia:
In writing and typography, a ligature occurs where two or more graphemes are joined as a single glyph. Ligatures usually replace consecutive characters sharing common components and are part of a more [...] Continue Reading…
I created a library that measures amount of WTFs per package or project. This library is a by-product that derived from what I was doing few days ago:
I was dabbling with Java and decided to take a break. I came across a well know image that depicts code review session behind closed doors. The image called “The only valid measurement of code quality: WTF/minute”. I decided to make an extension to the latter concept.
This library brings you the ability to mark code smells in your source code (Classes, methods, fields etc.) with ‘WTF’ annotation. The WTF annotation accepts an arbitary message, if none provided, the default message ‘Dude.. WTF?!’ is used instead. When source compiles, the compiler generates a warning using the message from the detected annotation(s) and information about annotated element. The following is a sample output from compiling a class containing WTF annotations:
Warning: : In CLASS [wtf.per.project.model.DummyPojoImpl] [...] Continue Reading…