Steam Friends Graph

Tue Jun 26 2018

Links

Project Description

This project utilizes the steam API and graph databases to create friend graphs for clients in a web browser. Currently there are two types of graphs available: - Friends of Friends Graph: This graph displays all the steam friends of a single person and all their friend’s friends. - Common Friends Graph: This graph will only display your friends; however, it will draw edges between your friends’ if they are friends with each other.

Motivation

While learning about graph databases I thought that it would be awesome to create a massive graph database with steam friends in it. After a quick google search, I realized that some other people have done similar things in python, however, nobody has ever made a live website do this. Using my prior knowledge of the steam API and new knowledge of gremlin, Hadoop and HBase, I figured that this would be a great weekend project. Although I got most of the functionality done in the first weekend, I ended up working on it for 3 weekends hammering out all the edges. After ample work, I am satisfied with the appearance and functionality of the website, but, I am looking forward to making some improvements in the future.

Lucid chart diagram
Lucid chart diagram

Technical Details



Musical Floppy Drive Build Log

Tue Mar 13 2018

It is fun to find an interesting use for old technology. Being someone who has tons of old floppy drives and loves music, I decided to turn my old floppy drives into an orchestra. I’m not sure where I first learned about musical floppy drives, however, there are thousands of videos on YouTube.

This project first started over a year ago when I connected two floppy drives to a Raspberry Pi to play the Star Wars theme.



Musical Floppy Drives

Fri Jan 27 2017

A more detailed description of how I made this will be coming soon.

undefined



Java Fibonacci Solver

Sun Apr 19 2015

The Fibonacci Sequence is a series of numbers where the next number is found by adding the previous two numbers.

Ex:

n 1 2 3 4 5 6
x 1 1 2 3 5 8
class Fibonacci
{
   public static void main(String[] args)
   {
       for(int i = 1; i < 60; i ++)
       {
               System.out.println("Fibonacci " + i + " is: t" + fib(i));
       }
   }

   //recursive definition of Fibonacci
   public static double fib(int n)
   {
       if(n == 1 \|\| n == 2)
       {
           return(1);
       }
       return(fib(n -1) + fib(n -2));
   }
}
Output in terminal
Output in terminal



Ackermann Function Written in Java

Sat Apr 18 2015

class Ackermann_function
{
    public static void main(String[] args)
    {
        //prints intro

        System.out.println("This program will solve for all values in ackermann
function using recursion.1");

        System.out.println("**************************n")
        //calls for all values of ackerman using for loop
        for(int i = 0; i < 6; i ++)
        {
            for(int j = 0; j < 10; j ++)
            {
                System.out.println("Ackerman (" + i + "," + j + ") is: " +
ack(i,j));
            }
        }

        //test sinlge
        //System.out.println(ack(3,1));
    }

    public static int ack(int m, int n)
    {
        if(m == 0)
        {
            return(n + 1);
        }
        else if(m > 0 && n == 0)
        {
            return(ack(m-1,1));
        }
        else if(m >0 && n > 0);
        {
            return(ack(m-1, ack(m,n-1)));
        }
    }
}

The Ackermann function is a classic example of a function that is not primitive recursive – you cannot solve it using loops like Fibonacci. In other words, you have to use recursion to solve for values of the Ackermann function.

For more information on the Ackermann function click here.



Batch Minecraft Launcher with Auto Restart

Sat Apr 18 2015


@echo off

color a

title server Name

 

:startServer

echo starting server

echo (%time%)

java -Xmx1024M -jar caftbukkit.jar -o true

 

echo (%time%) WARNING: Minecraft server closed or crashed, restarting

ping 127.0.0.1 -n 5

goto startServer

This batch script great for Minecraft servers which frequently crash – for whatever reason. If you want to learn more about how this script works I would recommend that you look up a batch tutorial online. This script is just a big loop which restarts whenever the server crashes. If you like to use this, just copy and paste it into a batch file (ends with .bat) and make sure that it is in the same directory as your Minecraft server. Also, the “craftbukkit.jar” should be the name of the jar file that you use to run your server.

Happy mining.



Time Lapse Programming Zombie game

Mon Jan 05 2015

This is a simple zombie shooter game that I made in visual basics. The graphics are very basic due to copyrights that I wanted to avoid – and lack of artistic abilities. However, this game is meant to be a demo so that you can learn something from what I did. If you enjoyed this feel free to download the source code (linked below).

The music used in the video was called Aurora Borealis and it was downloaded from the YouTube Audio Library.



Time Lapse Programming Pong

Sat Dec 27 2014

Downloads:

VB programming picture
VB programming picture

Extreme VB Pong

VB pong game
VB pong game
Development picture
Development picture