ezoic

Monday, January 9, 2017

Try to make the Scala working on my Atom

Scala is a relatively complicated programming language.  We need to use the sbt to make it run. 

I tried to make it work on Atom, to make an IDE for Scala on Atom.

I first go to Atom=>File=>Settings=>Install , search "Ensime", and install it. 

And I ctrl+shift+p , to find ensime: Start. and I got an error " no ensime file found".

So I tried to generate ensime file using sbt etc. 

I went to 



And download sbt. 

And I follow the following post, the last one, 

"add a plugins folder and plugins.sbt in %username%.sbt\0.13\"


And on the windows cmd prompt, I went to the sbt directory 



And I use the command "sbt" to go to sbt mode. And under sbt mode, I run ensimeConfig. Something wrong. 



And I tried to change the permission on the Java on my computer. 




And I can not change the permission. It is a computer at work. Will try on my own laptop. 

Wednesday, January 4, 2017

You can learn programming from primer.

You can learn programming from primer. Language primers are some concise tutorials and books to guide you to learn programming.

Java primer

http://cs.bc.edu/~donaldja/102/JavaPrimer.html

http://math.hws.edu/eck/cs124/downloads/javanotes7-linked.pdf

http://wwwusers.di.uniroma1.it/~parisi/Risorse/Java%20Primer.pdf


C primer

http://vc.airvectors.net/tscpp.html

C++ primer and notes

http://euclid.nmu.edu/~mkowalcz/cs201f12/A%20Quick%20C++%20Primer.pdf

http://gravitation.web.ua.pt/msampaio/CourseNotes.pdf

https://www.cs.rochester.edu/~nelson/courses/csc_173/review/CppPrimer.html





Python primer

https://hplgit.github.io/primer.html/doc/pub/half/book.pdf




Apache hadoop is open source, free, and there are top 6 hadoop vendors providing big data platforms.

Apache hadoop is open source, free, and there are other 10  hadoop vendors providing big data platforms.


https://www.dezyre.com/article/top-6-hadoop-vendors-providing-big-data-solutions-in-open-data-platform/93


1) Amazon Elastic MapReduce
2) Cloudera CDH Hadoop Distribution
3) Hortonworks Data Platform (HDP)
4) MapR Hadoop Distribution
5) IBM Open Platform
6) Microsoft Azure's HDInsight -Cloud based Hadoop Distrbution
7) Pivotal Big Data Suite
8) Datameer Professional
9) Datastax Enterprise Analytics
10) Dell- Cloudera Apache Hadoop Solution.
Amazon's big data platform is complete.
It has a lot of things there, hadoop, spark, s3, ec2, redshift, kinesis etc. 
Apache hadoop, and apache hive etc are free. If you have a linux platform, you can install them on your linux. 


Python's version and which version of python to use.

Python has two versions on python.org downloads:

https://www.python.org/downloads/


3.6.0 and 2.7.13

3.6.0 is the most recent one.  But 90% of the python code in industry is written in 2.7.X. And there are a lot of modules of python in python 2.

On this python primer, page 4, it also said that a lot of python code was written in python 2.


https://hplgit.github.io/primer.html/doc/pub/half/book.pdf

On youtube, currently, most of the python tutorial is about python 3.

For example, I like the tutorial from this channel, their python tutorial is about python 3.

https://www.youtube.com/watch?v=BTzav965P7w&t=2650s






R is not a simple programming language, and it does better on reading excel files than python

R is not a simple programming language, and it does better on reading excel files than python . tried to read excel files to python and R. i...