Tips on the Ruby Programming Language

Posted on Aug 06, 2012 in Computer Science • Tagged with array, IO, Ruby, programming, string

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Array

  1. The method push inserts an element to the back of the arry; the method insert inserts an element to any place of the array.

  2. The method …


Continue reading

Tips on Scala

Posted on Mar 24, 2016 in Computer Science • Tagged with programming, Scala, functional programming, big data, Spark

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **


Continue reading

Use q to Query Text File Using SQL Syntax

Posted on Jun 05, 2016 in Programming • Tagged with programming, SQL, structured text, CSV, TSV

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

It is suggested that you use Python instead of q to manipulate text files!

Installation on Ubuntu

wajig install python3-q-text-as-data

General Tips

  1. The semantics of q is …


Continue reading

Tips on R

Posted on Oct 29, 2013 in Programming • Tagged with tips, programming, CRAN, R

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

  1. commandArgs extract command line …


Continue reading

MATLAB Tips

Posted on Aug 24, 2014 in Computer Science • Tagged with programming, tips, MATLAB

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author …


Continue reading

Regular Expression in R

Posted on Nov 14, 2012 in Programming • Tagged with R, regex, programming, CRAN, regular expression

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

There are two flavors …


Continue reading