221 views
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading ... Loading ...

10.05.13

Make ShareThis “Chicklets” Look All the Same

Posted in Blogroll, News, Tech at 3:36 am by Liv About Liviu Tudor

sharethis logoI’ve written before on my blog about ShareThis — I do love their WordPress plugin and their analytics provide some interesting insights into my blog traffic. There is however a niggly little thing which has been bugging me for a while — and it’s all to do with the way their “chicklets” look. (If you’re not familiar with the ShareThis lingo, chicklets are those bubbles with numbers in them which show you how many times a certain piece of content has been shared per channel — e.g. Twitter, Facebook etc.)

If you are like me, always in a rush to produce the content rather than customize it (in other words, don’t want to spend too much time setting up your blog and want to dedicate most of the time to actually writing “stuff”), then you probably took the same steps to install the ShareThis plugin, accepted the defaults and then enable it. Trouble is if you do that, the chicklets by default don’t have a uniform/standard look, and you probably spotted different colors and styles being used — which gives the content a bit of a messy and disorganized look.

Read the rest of this entry »

Disclaimer

211 views
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)
Loading ... Loading ...

01.05.13

Couchbase Graph/Stats Problem?

Posted in Blogroll, News, Tech at 6:44 am by Liv About Liviu Tudor

Couchbase,_Inc._official_logoThis is just something that we found recently in Cognitive Match and I thought it might help others who use Couchbase as a NoSQL store, and rely on some of their (otherwise awesome!) graphs, as it seems these can be occasionally misleading — though this is probably an edge case.

A bit of background: we use Couchbase for some of our data stores in our serving solution in Cognitive Match; the particular data that gets stored in Couchbase gets updated frequently and even more frequently it gets read, however, due to the application architecture, an “eventual consistency” approach to updating this data is fine from our app point of view, and we don’t run complex queries to retrieve the data — just simple “get” operations. And since speed in important when reading the data (and we are ok with favouring reads versus writes/updates), Couchbase works great for us.

Read the rest of this entry »

Disclaimer

145 views
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.25 out of 5)
Loading ... Loading ...

18.04.13

Using Apache Commons CLI to Parse Arguments

Posted in Blogroll, Tech at 2:23 pm by Liv About Liviu Tudor

computer codeI’ve talked before on this blog about Apache Commons CLI project and showcased how easy it is to use it to build a rather complex command-line syntax for your Java application. If you find yourself at any point writing an application which needs more than one command line switch, I strongly recommend Commons CLI is the way to go: it takes care of basic “syntax” validation, missing command-line parameters, help screens and so on, and all of this in exchange of pretty much providing a structured set of options describing the parameters expected / accepted by your application.

One of the problems when dealing with command-line arguments is that in a lot of cases the application needs to interpret these not as simple strings but parse them in some different data types and interpret them as numbers, file names, url’s etc. A classic example is specifying the max heap space when starting a Java process:

Java -Xmx512m ...

In the above case, the Java process needs to interpret the argument after -Xmx as a number followed by a “denominator” (e.g. kilobytes, megabytes etc) — as such will employ a process of extracting the digits in a separate string, parsing them, ensure they are a valid number, then separately identify the denominator (“m” in this case), ensure it’s a valid one and find the multiplier (megabytes in this case – i.e. 1024 X 1Kb) and based on these 2 finally compute the final result.

Read the rest of this entry »

Disclaimer

311 views
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

08.03.13

What Most Schools Don’t Teach…

Posted in Blogroll, Random Thoughts, Tech at 9:44 pm by Liv About Liviu Tudor

iStock_000013471133XSmallIf you work in IT, you have probably by now have seen the famous video on YouTube labelled “What most schools don’t teach” — where Mark Zuckerberg, Bill Gates and a few other prominent figures are talking about how easy it is to program, and how only 10% of the USA schools teach programming. It goes on more to bombard the viewer with some scary figures about how 1,000,000 jobs or more will go unfilled because there are not enough coders — I’m guessing as a motivational message to inspire people (kids?) to start programming.

The thing is, watching the video, I cannot but cringe at the hypocrisy employed in making this video! If the purpose of this message is to increase education efforts (at school level or individually) in the programming sector, then I’d say it probably does it job — in a very lame way, but it sort of does. If however this is intended to be a call to arms for “everyone” to start programming and either change their jobs to a programming job or if they are at the beginning of their career, to set their career path to be in programming, then I’d say the message is a hypocritical one. Even worse, it is setting up the targeted audience for a harsh comedown!

Read the rest of this entry »

Disclaimer

451 views
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.67 out of 5)
Loading ... Loading ...

28.02.13

S3 Utility on SourceForge.net

Posted in Blogroll, Tech at 1:48 am by Liv About Liviu Tudor

sourceforge.netOnly a day after I’ve published the S3 utility for buckets with versioning enabled, I took the time finally to put this on SourceForge — woohoo! Still early stages, as I still need to figure out really how to properly release versions into their file system, but as it stands right now at least there is a basic project page, a wiki and issue tracker — not to mention a Subversion repository with the source code.

So let’s start with the basics:

First of all, the project main page is here: https://SourceForge.net/projects/awsversionmgmt/ . This includes links to the download area: https://SourceForge.net/projects/awsversionmgmt/files/ as well the standard SourceForge issue tracking system: https://SourceForge.net/projects/awsversionmgmt/tickets/. I am still working on planning the releases for this, but for now I’ve just added a few issues I have found for the first official version of this (which would be 1.0.0 — naturally!) — if you’ve already tried this tool (unlikely, it’s only been one day since I put up the original post :D ), feel free to suggest some enhancements using the SourceForge tracking tool.

Also I have created a wiki here: https://SourceForge.net/projects/awsversionmgmt/wiki/. The idea behind it is to make this a dev-oriented wiki — i.e. propose upcoming features and architectures etc. And last but not least, I’ve also managed to deploy the maven-generated site on the project website: http://awsversionmgmt.SourceForge.net.

With that in mind, I think I’ve successfully manage to transfer the project to SourceForge so I’ll maintain it there — though quite likely you will see the occasional blog post here when a new milestone is reached. drop me a line if you want to get involved.

 

Disclaimer

« Previous entries Next Page » Next Page »