This is a test
Category Archives: Development
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 baseball-handbook.com 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.
Android Studio 4.0
Android Studio 4.0 is the result of our drive to bring you new and improved tools for coding smarter, building faster, and designing the apps your users depend on, and it’s now available on the stable channel.
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
.
RSA in 5 lines of perl
#!/usr/local/bin/perl -s do 'bigint.pl';
($_,$n)=@ARGV;s/^.(..)*$/0$&/;
($k=unpack('B*',pack('H*',$_)))=~ s/^0*//;
$x=0;$z=$n=~s/./$x=&badd(&bmul($x,16),hex$&)/ge;
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
Google Hired Gig Economy Workers for Project Maven
Enter the outsourced crowd workers, who were tasked with providing the initial image data labeling — correctly identifying parts of an image — that allowed Google’s artificial intelligence program to tell buildings, images, trees, and other objects apart.
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 @ tonsky.me
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?
What is a lambda expression in C++11?
C++ includes useful generic functions like
std::for_each
andstd::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,