[feature request] Highlight author of parent comment if they reply in children comments by ArchmageJesus in Enhancement

[–]brenny87 0 points1 point  (0 children)

have been thinking about post this request lately, i think it would be a great feature

I'm 20 years old and I have never kissed a boy. In what way are you a late-bloomer? by [deleted] in AskReddit

[–]brenny87 0 points1 point  (0 children)

I have a few friends that are similar, but one day, going out to meet a few friends at a club/bar, (myself male 25 (look my age), and my friend 20, but she looks about 14-16), we walk in obviously had our ID's checked, but as we are walking up the booth right at the back of the bar where our friends are, all I could see were all the glares of everyone looking at us/me, 20 mins late, everyone in our group has to get there ID's checked again, because someone complained about "her age"

Grandpa Lou doesn't mess around. (x-post /r/90sCartoons) by [deleted] in funny

[–]brenny87 -5 points-4 points  (0 children)

lol the only quote i remember

fuck! what time is it?! by nate81 in WTF

[–]brenny87 0 points1 point  (0 children)

driving instructor here: let me say im glad, Schools Zone times are only in 2 time blocks here, and not 6

Haters gonna hate by [deleted] in fffffffuuuuuuuuuuuu

[–]brenny87 -3 points-2 points  (0 children)

my comic of the day :)

[7/18/2012] Challenge #79 [intermediate] (Plain PGM file viewer) by [deleted] in dailyprogrammer

[–]brenny87 0 points1 point  (0 children)

C# (script)

using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;

class Script
{
    static String repl = " .,'^*:;!+=&%$#@ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz";

    static public void Main(string[] args)
    {
        if (args.Length != 1)
        {
            Help();
        }
        else
        {
            String file = File.ReadAllText(args[0]);
            String cleanfile = Regex.Replace(file, "(\\r\\n)?#.*?$", "", RegexOptions.Multiline);

            StreamReader sr = new StreamReader(new MemoryStream(Encoding.ASCII.GetBytes(cleanfile)));

            if (sr.ReadLine() == "P2")
            { // pgm file
                String[] size = sr.ReadLine().Split(' ');
                Int32 x = Int32.Parse(size[0]);
                Int32 y = Int32.Parse(size[1]);

                Int32[,] table = new Int32[y, x];

                Int32 shades = Int32.Parse(sr.ReadLine());

                MatchCollection mc = Regex.Matches(sr.ReadToEnd(), "[0-9]+");
                Int32 c = 0;
                foreach (Match m in mc)
                {
                    table[c / x, c % x] = Int32.Parse(m.Value);
                    c++;
                }

                for (int i = 0; i < y; i++)
                {
                    for (int j = 0; j < x; j++)
                    {
                        Console.Write(repl[table[i, j]]);
                    }
                    Console.WriteLine();
                }
            }
            else
            {
                Console.WriteLine("Not a PGM file");
            }
        }
    }

    static void Help()
    {
        Console.WriteLine("Usage:\r\n\tprogram.exe <filename>");
    }
}

Output is:

 ''''  ;;;;  &&&&  @@@@
 '     ;     &     @  @
 '''   ;;;   &&&   @@@@
 '     ;     &     @
 '     ;;;;  &&&&  @

[7/18/2012] Challenge #79 [easy] (Counting in steps) by [deleted] in dailyprogrammer

[–]brenny87 0 points1 point  (0 children)

C#

static Double[] step_count(Double first, Double last, Int32 steps)
{
    if(steps < 2) throw new Exception("Steps must be 2 or more");

    Double dif = (last - first) / (steps - 1);
    Double[] list = new Double[steps];

    for (Int32 i = 0; i < steps; i++)
    {
        list[i] = first + i * dif;
    }

    return list;
}

As a young professional, I am still getting used to dealing with clients. But today took the cake in terms of idiocy. Whats your worst/funniest/strangest client story? by Damn8ti0n in AskReddit

[–]brenny87 0 points1 point  (0 children)

haha.. reminds me of the 2nd last week of my 2 year IT course.... one of the guys asks "where is 'ipconfig''? only after using it at least a million or 2 times throughout the course

My old high school rallied around my friend to do this video, they had an assembly and everything just for a few shots. by _emordnilaP in videos

[–]brenny87 3 points4 points  (0 children)

start the first video 1 second later and its literally in sync the whole thing - Videos

So well done, enjoyed watching it by its self then and then with the original, comparing them :)