Sunday, March 11, 2018
Decentralized Exchange : Explaining Makers, Takers and the missing piece
Saturday, October 21, 2017
VR enables visiting MARS
Sunday, October 1, 2017
Miami Dolphin owner responded to Donald Trump
Statement from Miami Dolphins Owner and Founder of Ross Initiative in Sports for Equality (RISE) Stephen Ross. pic.twitter.com/6W3mXwJO6M— Miami Dolphins (@MiamiDolphins) September 23, 2017
What is Ethereum
I found many blocks that manages to compare and contract Ethereum and Bitcoin and praises possibilities with Ethereum but in nutshell it's an engine that can rotate an axle.
From rotating axle you can build factories, trains, cars or anything else, but you need an engine, that's Ethereum.
Explaining more with examples Ethereum will be used as Platform for digital currencies, distributed ledger simply anything that needs event log / ledger / daily diary / log book.
Security, distributed nature etc can very well be achieved with other Peer to Peer technologies.
A Note on Serverless Architecture or FaaS
The provisioning is on demand for application . Application may run on shared or physical hardware and application runs in isolation to other processes. FaaS - Function as a service is new coined term accordance with SaaS and PaaS and many other *aaS. FaaS will be a useful pattern in microservices and related world.
FaaS will provide portable implementations. Auto Scale with increased usage and painless expansion managed by provider
Business Advantages
- Time to market reduced
- Cost to market is reduced
- Experimentation is key and happening
- Help save some trees by saving unnecessary CPU cycles
Drawbacks on Serverless architecture
- Non Transnational
- Third Party application coding
- Hype, may need to have a realization curve
- Discovery of such applications is difficult.
- Operational issues : Deployment procedure needs modification.
- Operational Issues : Packaging. Each vendor may required specific binding to logs, dependencies, code, startup
- Operational Issues : Versioning of application is difficult
- Implementations
- Azure Functions
- Web Tasks
- Google Functions
- Firebase
- AWS Lambda
Sunday, August 27, 2017
Amazon Lowering prices for Whole Foods
Amazon is known for their specific tactics to enhance market prices. Whether its Amazon Web Services or Amazon.com or pricing Kindle. Amazon is a good competitor to market and brings aggressive competition to market.
Recently it came to notice that Amazon is going to police lower prices for Whole Foods.
https://www.usatoday.com/story/money/2017/08/25/amazon-prime-members-perks-whole-foods-organic-natural-deals-prices/602204001/
These changes are interesting and would be of specific interest to Amazon Prime members. Amazon is planning to add special prices for their Prime members. Whether this prices are US only or North America or All Regions, that's something only time can tell.
See more information at below link :
https://twitter.com/USATODAY?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor
Monday, August 7, 2017
Tensorflow Adds Java, C, Go Lang Support
Recently Tensorflow also added support for Java, C and Go lang. I can guess some reasons but not sure if Google can confirm so.
Java is a good additional. A lot of Enterprise infrastructure supports Java. It would be very useful to train the model in Python and load the same in Java. Normally Data Scientist and Deep Learning Engineers more familiarity with Python hence training is very production part of Model Development. However running the same model in production is better with Java and could give nicer edge to Tensorflow to its adoption.
Adding Go is on the same line as Java however the support seems more fine tuned to people who would like to run Deep Learning model at a very large scale. It could be a lot of savings in terms of time and infrastructure cost.
For addition of C Language was little surprise to me. However it look a little time to understand why. I am not iOS developer however I did play around with some development for iPad. Hence I believe addition of C Language was to ensure model trained on Python could run on iOS which is second largest mobile market after Android.
I am surprised to see there is no support for R language so far, but I hope it will be added soon enough. Also Microsoft is supporting R language very well so it could be tug of war between these giants to understand and build next platform and which language to choose.
Concluding supporting a lot of languages is not very new. Every big data framework is trying to be language independent atleast access and productionalizing point of view.
Sunday, August 6, 2017
Kotlin Examples
Here I am covering some Kotlin examples I came across :
Kotlin Sevlet Example with Simple Hello World with rest and Java Sevelet. Thebuild platform be Gradle The could be found here.
A more advanced application with Kotlin and web example is needed. Spring has been core component of Java Ecosystem. With Gradle build system and Spring boot the example could be found here. This example is also restful and could serve as basic skeleton for projects.
It's easy to get started with Kotlin using their documentation. However if you are interested a developer's take on the subject then this link could be useful. Covering major high level constructs to build your knowledge base. I also found Kotlin Practical Exmaple blog to be useful at the little lower level constructs.
Thursday, April 9, 2015
Java 8 without Lambdas to print elements using short hand
Print all elements in List with Java 8 without Lambdas and a short hand input.
Setup
In following code lets fill in the blanks to print all elements of given list.
Java 8 with lambda expression to print elements on screen
Java 8 For Each with Consumer example
Java 8 comes with new features which adds forEach and Consumer to its list. Lets write a simple piece of code that uses forEach and Consumer<> to print the elements on screen.
Setup
Following code is given to us and need to fill in the blank to print the elements.
Sort Collection using sort function and Java 8
Sorting is widely used in daily routine to modify data arrangement. In this blog the input is a list of alphabets. Using Java 8 and new sort method. This blog introduces List.sort() as a small example.
Setup
Lets start with following code. As shown it prints unsorted array elements.
Tuesday, April 7, 2015
Hello World in Java
On Windows :
> Type cmd in start
> in cmd type notepad press enter
> In notepad type following
> Save the notepad to cmd's present working directory
> execute javac "filename.java"
> execute java -classpath . filename.class
> Output should be "Hello World!"
Have fun .. this is just a sample blog......
Saturday, January 11, 2014
Handling screen resolution problem after installing ubuntu
Somtime ubuntu does not recognize correct resolution for the screen. But we can always make it up. Execute following steps in order to change screen resolution are you are interested in :
1) Screen resolutions that my screen can adjust to are :
- 1280x1024
- 1680x1050
2) Adding a new resolution starts with getting the right configurations for that resolution.
- (todo: write cvt command here )
3) Execute : xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
This will create a resolution entry in the file
4) Now add the resolution to GUI for changing resolution :
xrandr --addmode VGA-0 1680x1050_60.00
5) There must be an option to change to this resolution in the GUI. Go check and change to that GUI if interested ...
>> Installing JAVA
$ sudo apt-get install openjdk-6-jdk
>> Installing BUILD ESSENTIALS
$ sudo apt-get install build-essential
>> Installing Apache
$sudo apt-get install apache2
Few useful commands :
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 stop
Go to http://localhost in your browser and should get "It Works" message from Apache.
>> Installing PHP
sudo apt-get install php5 libapache2-mod-php5
Restart apache
sudo /etc/init.d/apache2 restart
Check if PHP is installed correctly
sudo gedit /var/www/testphp.php
Write "" and save the file.
Go to following location in browser :
http://localhost/testphp.php
This will display PHP information on the webpage.
>> Installing MySQL
sudo apt-get install mysql-server
Remember the passsword for mysql-server as root.
Now install php tool to edit MySQL .
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
Configuration file is at /etc/mysql/my.cnf
Friday, June 29, 2012
Sunday, May 13, 2012
Hadoop - Forrester Report
AWS is feature rich ?? Need to check it out.
Forrester claiming AWS is feature rich. I dont know how.
hadoop modelling : MR, Pig, Mahout
Storage and Data MGMT : HDFS, HBase, Cassandra
Data warehousing,summarization, query : Hive, Sqoop
Data Collection / Aggregation / analysis : Chukwa, Flume
metadata/table/schema : HCatalog
Cluster mgmt/job sched/workflow : zookeeper, oozie, Ambari
Hadoop Data Serialization : Avro
Good News : Hadoop is full of immature products
Hadoop productions :
MapR = Strong OEM, feature rich ( why feature rich )
HortonWorks : Efficient echo system, everything
Penhaho : BI tool for big data, works on thrid party hadoop clusters
DataMeer : Hadoop modelling tool ( a modelling tool for nonrelational database .. LOL )
Companies involving hadoop :
Composite Software, Concurrent, Dell, Endeca, Hadapt, HP/Vertica,Informatica, NetApp, Microsoft, Oracle, Pervasive, Platfora, Quest Software, RainStor, SAP/Sybase, SGI,and StackIQ. Karmasphere and Teradata/Aster Data,
Forrester : HStreaming, Outerthought, Zettaset, Platform Computing, Pentaho, Datameer, DataStax, HortonWOrks, Cloudera, MapR, GreenPlum, EMC, IBM, AWS
Friday, April 20, 2012
Compare Apache Wicket vs Vaadin
If you are not interested in reading the whole forum then understand that Wicket has more advantages than Vaadin. Vaadin has advantages of beautiful themes but wicket can integrate with GWT.
Vaadin is better if you just want to stick with java and not interested in CSS or javascript. But if you put in your resume that you are a web developer but not good at CSS or JavaScript then it automatically turns against you. So Vaadin wont be advantageous here. While using Wicket comes with some skills required to imagine the GUI. For developers designing GUI is also useful virtue. Does not need to be flashy but certainly useful GUI rocks.
If desktop look and feel is needed then Vaadin is good as I already suggested, but wicket is no less. You can use GWT to create such look and feels.
Thursday, March 8, 2012
datasets
This site links to various dataset across the federal government.
www.Data.gov -- repository for data and geodata from across the federal government, searchable by agency, data type, keyword, among others. Many, but not all Commerce data sets reside here.
Data.gov Commerce Data and tools can be found at
Data
http://www.data.gov/list/agency/1/0/catalog/raw/page/1/count/50
Tools
http://www.data.gov/list/agency/1/0/catalog/tools/page/1/count/50
Census Data – Population, household, housing, demographics. Economic census and monthly indicators, foreign trade, employment statistics, maps, geographic data and more. http://www.census.gov/
http://www.census.gov/main/www/access.html
List of Open Data Sites Around the World: http://www.data.gov/opendatasites
Amazon Listing of Public Data Sets: http://aws.amazon.com/datasets
Washington DC: http://data.octo.dc.gov
New York: http://nyc.gov/data
San Francisco: http://datasf.org/
U.K.: http://data.gov.uk/
http://www.cs.cmu.edu/~awm/10701/project/data.html
Wednesday, January 4, 2012
Convert Excel to CSV
- Convert Excel to CSV
- If Excel has multiple sheets save them as
- Convert all the files in specified directory ( i.e. C:\ )
Dim oFSO
Dim oShell, oExcel, oFile, oSheet
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
Set oExcel = CreateObject("Excel.Application")
oExcel.DisplayAlerts = False
For Each oFile In oFSO.GetFolder("C:\\drop\\MarketShare\\2010").Files
WScript.echo "Hello"
If LCase(oFSO.GetExtensionName(oFile)) = "xls" Then
WScript.echo oFile
With oExcel.Workbooks.Open(oFile, 0, True, , , , True, , , , False, , False)
For Each oSheet In .Worksheets
oSheet.SaveAs "C:\drop\MarketShare\2010\" & oFile.Name & "." & oSheet.Name & ".csv", 6
Next
.Close False, , False
End With
End If
Next
oExcel.Quit
oShell.Popup "Conversion complete", 10
Tuesday, November 29, 2011
Little or Big
execute following command on linux shell :
$ echo -n I | od -to2 | head -n1 | cut -f2 -d" " | cut -c6
if the output is 1 then its big endian otherwise its little endian.
Resource : http://serverfault.com/questions/163487/linux-how-to-tell-if-system-is-big-endian-or-little-endian