Configuration Scripts for the Blog Project on notebooks.ai

Posted on Apr 07, 2020 in Computer Science • Tagged with programming, notebooks.ai, blog, configuration script

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

Below is the script that I use to configure the blog project on notebooks.ai.


An Input Bug in Ruby

Posted on Aug 06, 2012 in Computer Science • Tagged with programming, Bash, Ruby, bug, terminal, IO

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

If you run a ruby program though Bash and the ruby program read multiple inputs from the console, all inputs will be the same as the first …


Continue reading

Send Email in Ruby

Posted on Jun 06, 2012 in Computer Science • Tagged with smtp, programming, Verizon, PDF, Ruby, email

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

A few days ago, I started writing my first Ruby program which read my Verizon family plan statements, calculate bills for each member and send emails to …


Continue reading

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 Spark With the BeakerX Scala Kernel

Posted on Apr 23, 2021 in Computer Science • Tagged with Computer Science, Spark, Scala, BeakerX, JupyterLab

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

  1. Open a JupyterLab notebook with the BeakerX Scala kernel from the launcher.

  2. Download Spark (say, 2.3.1) dependencies.

    %%classpath add mvn
    org.apache.spark spark-core_2 …

Continue reading