JavaScript Charts & Maps

Go ahead, and open these few demos: 1 2 3 4 5 6 7. Try scrolling, hovering, dragging, selecting – they just feel right. That’s how amCharts 4 was designed – to feel right out-of-the-box.

Source: JavaScript Charts & Maps – amCharts

Need charts for and evaluated this, google charts, and d3.js. Google charts does not work, d3.js is extremely complicated, and still looking into this.

Update: Decided to go with d3.js because it has a command that can grab csv or json data streamed from another script. Google and amCharts seem to be for more static one off charts whereas baseball-handbook needs a chart for over 15K baseball players generated from a DB. It can be done using Google and amCharts but it’s messy.

Meanwhile it took me 4 hours to figure out how to get a label correctly rotated 90 degrees on a right side axis in a dual Y line chart using d3.js. amCharts is very nice and still may use them for one offs in the future.

4 Best Chart Generation Options with PHP Components

Although it is JavaScript based, Google Charts has a couple of options to make your charts entirely in PHP. You can either use server-side code (in our case PHP) to get the data, or get one of the open-source wrappers to do it for you.

Source: 4 Best Chart Generation Options with PHP Components – SitePoint

Need to generate charts for the website and looking into php options.  Google seems like the simplest solution right now.  The above site breaks down each option nicely.

Here’s more info about Google Charts.

Is Perl 6 Being Renamed?

The BBC, the world’s largest broadcaster, had Perl everywhere. They decided to ditch it. MongoDB claims that their clients aren’t developing any new projects in Perl, so they’re ditching Perl 5 support. Other companies are continuing this trend and this is, as potential clients have told me, because they’re tired of waiting for Perl 6. They think Perl 6 is the successor to Perl 5 and given the name, it makes perfect sense. Combine that with the negative press about Perl 5 and you get into “nobody got fired for buying IBM” territory, but s/Perl/$other_language/g.

Source: Is Perl 6 Being Renamed? | Ovid []

RSA in 5 lines of perl

#!/usr/local/bin/perl -s do '';


($k=unpack('B*',pack('H*',$_)))=~ s/^0*//;


while(read(STDIN,$_,$w =((2*$d-1+$z)&~1)/2)){$r=1;$_=substr($_."\0"x$w,$c=0,$w);

s/.|\n/$c=&badd(&bmul ($c,256),ord$&)/ge;$_=$k;s/./$r=&bmod(&bmul($r,$r),$x),$&?$r=&bmod(&bmul($r,$c ),$x):0,""/ge;($r,$t)=&bdiv($r,256),$_=pack(C,$t).$_ while$w--+1-2*$d;print}

Source: RSA in 5 lines of perl

Software disenchantment

As a general trend, we’re not getting faster software with more features. We’re getting faster hardware that runs slower software with the same features.

Source: Software disenchantment @

16Gb Android phone was perfectly fine 3 years ago. Today with Android 8.1 it’s barely usable because each app has become at least twice as big for no apparent reason. There are no additional functions. They are not faster or more optimized. They don’t look different. They just…grow?

9 Best Twitter Clients for Linux That You Will Love to Use

Therefore, in this post, we shall present you some of the best Twitter desktop applications that you can install in Linux, however, the list is not in any particular order but has a selection of applications that offer exciting features and functions for effective and reliable blogging service management.

Source: 9 Best Twitter Clients for Linux That You Will Love to Use

I Want to Write Android Apps. Where Do I Start?

Dear Lifehacker, I have some background in coding, but I’ve never touched Android development before. I’d like to get started, but I’m not entirely sure what I need. I don’t need to “learn to code” per se, but I could use some guidance on where to start with Android. Can you help?

Source: I Want to Write Android Apps. Where Do I Start?

What is a lambda expression in C++11?

C++ includes useful generic functions like std::for_each and std::transform, which can be very handy. Unfortunately they can also be quite cumbersome to use, particularly if the functor you would like to apply is unique to the particular function.

Source: What is a lambda expression in C++11?

C++11 introduces lambdas allow you to write an inline, anonymous functor to replace the struct f. For small simple examples this can be cleaner to read (it keeps everything in one place) and potentially simpler to maintain,