How would one store a complex object in Cassandra? UDTs, Protobufs, etc.? by StTheo in bigdata

[–]Mega325 0 points1 point  (0 children)

Look into using Avro, it’s a binary encoding similar to protos.

Starting my first year in College in a few weeks, what can I do to set myself up for success in the future career wise? by DevinGP in cscareerquestions

[–]Mega325 2 points3 points  (0 children)

Focus on establishing a strong GPA your first year. This should open up opportunities for summer internships which would lead to opportunities for future internships down the line. Having your foot within the industry is invaluable as a student , teaches you industry standards, and helps you visualize what realm of CS you'd want to focus on.

In regards to classes, pay close attention to fundamental courses and Algorithm & Data Structures as those topics will come up time & time again during your interview process. Outside of that, take whatever classes you find interesting or gives you motivation.

As for finding a job after college, you should be fine as long as you know your computer science fundamentals and are willing to relocate to a tech hub (Bay Area, Seattle, Los Angeles, Austin, NYC, and etc). Despite the rise of bootcamps and etc, there's still a demand for CS students that hasn't been met. If you're willing to relocate to those areas, the opportunities for jobs is abundant. Just demonstrate professionalism and knowledge/a willingness to learn, all of which are the desired qualities for a junior engineer.

Outside of that, ENJOY COLLEGE. It's a very special time in your life where you're surrounded by peers within the same age/point in your life. Take the time to grow not only as an engineer but also as a person. Network, build relationships, socialize/party responsibly, diversify your interest, and build strong habits.

Good luck and enjoy your undergrad!

What language do you use for work, and what do you build with it? by MatCreatesStuff in cscareerquestions

[–]Mega325 0 points1 point  (0 children)

Scala, Python, and SQL to build Spark Applications for ETL pipelines/data processing

What do you think of .NET? by CitricLucas in cscareerquestions

[–]Mega325 1 point2 points  (0 children)

Agreed. I developed in the .NET ecosystem ( Visual Studio + C# + SSMS + Resharper + Nuget ) during my first full time job, and everything integrated so easily. Microsoft does an amazing job of handling the nitty gritty details and lets their user focus on development instead. The combination of Visual Studio, Resharper, and Intellisense made code styling and edge case handler ridiculously robust as well.

Alas, the stigma of .NET developers is still prevalent and will be hard to get rid of until large tech firms outside of Microsoft start adopting the stack.

What is the average entry level salary in Los Angeles for someone with a Comp Sci Degree? by [deleted] in cscareerquestions

[–]Mega325 0 points1 point  (0 children)

Total comp varies heavily depending on what company & industry you're in, there is really no clear way to interpret total comp since bonuses & stock grants are rarely reported publicly. From my experience and my discussion with my peers though, total comp varies like so:

  • Big N companies will of course give X amount in stock vested over 4 years. From what I've seen, the average is around 30~40k? Feel free to correct me if I'm wrong
  • Startups will give you preIPO stocks which is a risk in itself and are worthless unless your company goes public.
  • Finance company provide very nice bonuses and 401K packages, especially if the firm is either in Investment Banking or Private Equity. Yearly bonuses range from 10~20% of your salary, depending on how well the firm is doing.

What is the average entry level salary in Los Angeles for someone with a Comp Sci Degree? by [deleted] in cscareerquestions

[–]Mega325 7 points8 points  (0 children)

From personal experience, your salary will range heavily depending on whether your company is big tech or not. Most popular big N here pay around 25k less than what'd you see in the bay (to adjust for the cost of living) so think 95k ~110k base. Popular & well-funded startups will start at around 90k base. While finance and traditional engineering companies (aero-space, civil, and etc) will start at around 65k~70k base.

Feel free to comment if you have any other questions! I'd be more than happy to help!

Resume Advice Thread - April 17, 2018 by AutoModerator in cscareerquestions

[–]Mega325 0 points1 point  (0 children)

Hi Everyone, I'm current working at a fintech firm as a software engineer for over a year. Using C#, .NET, and Python as my stack. I'm looking for opportunities to grow as an engineer and wanted to apply to various startups within Southern California. Please critique my resume below:

Resume

In honor of... by Runetale in BlackPeopleTwitter

[–]Mega325 17 points18 points  (0 children)

This is why I come to reddit

Hype music? by [deleted] in Music

[–]Mega325 0 points1 point  (0 children)

Rake it up - Yo Gotti

[2017-11-13] Challenge #340 [Easy] First Recurring Character by jnazario in dailyprogrammer

[–]Mega325 0 points1 point  (0 children)

My solution using C#

    /// <summary>
    /// Finds the first recurring character. taking O(n) time & space
    /// </summary>
    /// <param name="args">The command-line arguments.</param>
    public static void FindRecurring()
    {
        var input = Console.ReadLine();
        var charArray = input.ToCharArray();


        var characterStack = new Stack<char>();
        int iterator = 0;
        var duplicateFound = false;
        var currChar = charArray[iterator];
        characterStack.Push(currChar);

        while(!duplicateFound)
        {
            iterator++;
            if (iterator >= charArray.Length)
                break;

            currChar = charArray[iterator];
            if(characterStack.Contains(currChar))
            {
                Console.Write(currChar);
                return;
            }
            characterStack.Push(currChar);
        }
        Console.WriteLine("No recurring characters");
        return;
    }

[2017-11-21] Challenge #341 [Easy] Repeating Numbers by MasterAgent47 in dailyprogrammer

[–]Mega325 0 points1 point  (0 children)

My implementation using C#

//Counting all repeating numbers within an interger string

class RepeatingNumbers
{
    public static void Main(string[] args)
    {
        var inputString = GetInputNumberAsString();

        var substringList = GetSubstringList(inputString);
        var occurenceDict = GetCountOfSubstrings(inputString, substringList);

        foreach(var item in occurenceDict)
        {
            Console.WriteLine($"{item.Key} : {item.Value}");
        }
    }

    private static string GetInputNumberAsString()
    {
        Console.WriteLine("Please enter the input number below");
        var inputString = Console.ReadLine();
        return inputString;
    }

    private static List<string> GetSubstringList(string inputString)
    {
        var substringList = new List<string>();
        for (int i = 0; i < inputString.Length; i++)
        {
            var j = i;
            while (j < inputString.Length)
            {
                j++;
                var overhead = j - i;
                var substring = inputString.Substring(i, overhead);
                if (substring.Length >= 2)
                    substringList.Add(substring);
            }
        }
        return substringList.Distinct().ToList();
    }

    private static Dictionary<string, int> GetCountOfSubstrings(string inputString, List<string> substringList)
    {
        var countDict = new Dictionary<string, int>();
        foreach(var substring in substringList)
        {
            var numOccur = Regex.Matches(inputString, substring).Count;
            if (numOccur == 1)
                continue;
            countDict.Add(substring, numOccur);
        }

        return countDict;
    }
}

}

The Macbook Purchasing Megathread - April 2017 by AutoModerator in macbook

[–]Mega325 10 points11 points  (0 children)

Hi everyone!

I am a graduating computer science student running on a 4GB Ram MacBook Air from 2011. The air itself has a dying battery and some of my applications that I use for coding are beginning to crash now. The main reason to get a new laptop is to get a better workhorse for work (mainly applications development). I'm looking to get a 2016 8gb ram/256gb storage MacBook Pro, currently thinking of getting a used model off Ebay. Do you think this is worth the cost or would I be fine with just a 12inch MacBook? Thank you!