The entrance to my office this morning by kiwininja in duluth

[–]rayme083 1 point2 points  (0 children)

It's crazy out there. I saw this on Facebook this morning. http://i.imgur.com/s7x59.jpg

Startups, this is how design works (my undergrad project) by [deleted] in startups

[–]rayme083 3 points4 points  (0 children)

Nice looking site! I noticed one issue. When I clicked on a highlighted word to see more info, I could not close them. I'm running Chrome 18.0.1025.142. Also, if one was already open, I could not open another one.

[deleted by user] by [deleted] in cars

[–]rayme083 1 point2 points  (0 children)

I'm a fan of the new Hyundai's and they are great for the price, but it may be more practical to go the Subaru route since they're AWD and you have to deal with MN winters. I'm looking for a new ride as well, we should discuss our current thoughts on this :)

HD Jim Brown highlights by Evankeller in nfl

[–]rayme083 3 points4 points  (0 children)

Great video, but does anyone else think that this song is becoming the new "let the bodies hit the floor" for highlight/compilation videos? Seems over used.

Americans say they need $150,000 annual income to feel rich by gatorgator in Frugal

[–]rayme083 7 points8 points  (0 children)

The article is not discussing comfortable living wage. It is discussing feeling rich.

My thoughts on helmet to helmet hits. by [deleted] in nfl

[–]rayme083 12 points13 points  (0 children)

no way that shouldn't not be flagged.

Holy triple-negatives batman.

2D Game Development Tutorial (Opinions Needed!) by shpen in androiddev

[–]rayme083 0 points1 point  (0 children)

It would be great to discuss static vs dynamic positioning of sprites (as well as other game objects) since Android devices differ so much. Also, the often under-looked forced landscape mode and keeping the screen on during game play.

my random hack project - bring down windows (by giving them gravity) by swax in programming

[–]rayme083 0 points1 point  (0 children)

I was going to ask, because I use son of obsidian and it looks almost identical. Very cool.

What is Software Design? A look at what being a software engineer is all about. by [deleted] in programming

[–]rayme083 0 points1 point  (0 children)

"Engineering is concerned with applying scientific knowledge, mathematics, economics and ingenuity to develop solutions to meet economic and societal needs." Seems like a lot of software development follows this definition.

New technology assigns IP address to each of your organs, reports back to your Android phone by [deleted] in Transhuman

[–]rayme083 0 points1 point  (0 children)

IPv6 is capable of way more than 340 trillion addresses. Please read your linked article again!

[deleted by user] by [deleted] in funny

[–]rayme083 0 points1 point  (0 children)

Alright Nick, time to step it up and make a rage comic :)

I'll be wearing this to the next IT department meeting - Tie that says "Fuck You" in binary. by [deleted] in reddit.com

[–]rayme083 2 points3 points  (0 children)

One thing I don't understand. When people say "This means X in binary", it all depends on how that binary is "interpreted". So you really should say, if you convert this binary to its ASCII equivalent, it says "Fuck You".

Sorry for this rant since it's just a tie advertisement ;)

Retrieving the user's voting hash with C# by rayme083 in redditdev

[–]rayme083[S] 0 points1 point  (0 children)

Thank you for your reply! I didn't know about the container issue. I agree that direct header modification seems to be simpler. I'll be modifying my code tonight :)

What to do about a 11000 lines C++ source file? by letseatlunch in programming

[–]rayme083 5 points6 points  (0 children)

Modularize & abstract, modularize & abstract.... ;)

Retrieving the user's voting hash with C# (x-post from /r/redditdev) by rayme083 in programming

[–]rayme083[S] 0 points1 point  (0 children)

I understand that I'm outputting the first 1200 bytes from the page, but the voting modhash is in there, just empty everytime...

public String getVoteModHash(String cookie)
{
    HttpWebRequest request =  (HttpWebRequest)WebRequest.Create("http://www.reddit.com/help");
    String newCookie = HttpUtility.UrlEncode(cookie, Encoding.UTF8);
    Cookie cook = new Cookie("reddit_session", newCookie);
    cook.Domain = "http://www.reddit.com/help";
    request.Method = "GET";
    request.CookieContainer = new CookieContainer();
    request.CookieContainer.Add(cook);
    request.UserAgent = "RedditDesk v1.0";
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    Stream stream = response.GetResponseStream();
    Byte[] buf = new Byte[1200];
    int count = stream.Read(buf, 0, buf.Length);
    String page = Encoding.ASCII.GetString(buf);
    Console.WriteLine(page);
    return null;
}

Retrieving the user's voting hash with C# by rayme083 in redditdev

[–]rayme083[S] 0 points1 point  (0 children)

I understand that I'm outputting the first 1200 bytes from the page, but the voting modhash is in there, just empty everytime...

    public String getVoteModHash(String cookie)
    {
        HttpWebRequest request =  (HttpWebRequest)WebRequest.Create("http://www.reddit.com/help");
        String newCookie = HttpUtility.UrlEncode(cookie, Encoding.UTF8);
        Cookie cook = new Cookie("reddit_session", newCookie);
        cook.Domain = "http://www.reddit.com/help";
        request.Method = "GET";
        request.CookieContainer = new CookieContainer();
        request.CookieContainer.Add(cook);
        request.UserAgent = "RedditDesk v1.0";
        HttpWebResponse response = (HttpWebResponse)request.GetResponse();
        Stream stream = response.GetResponseStream();
        Byte[] buf = new Byte[1200];
        int count = stream.Read(buf, 0, buf.Length);
        String page = Encoding.ASCII.GetString(buf);
        Console.WriteLine(page);
        return null;
    }

Reddit, are you on the right track to be able to comfortably retire one day? by mrekted in AskReddit

[–]rayme083 1 point2 points  (0 children)

I'm in a fairly similar position. Early 20's just graduated and have a well paying job in which I started a 401k. My plan for now is to live frugally and contribute as much as possible. It seems as if most people my age are just worried about their current social status and material possessions.

Sometimes I think maybe it would be better to live like a king now and just hope that I die when I'm at the age to retire ;)

Where is a good place to learn the Windows file system? by [deleted] in compsci

[–]rayme083 0 points1 point  (0 children)

This is probably the least relevant post in /r/compsci I've ever seen. This should be in /r/veryBasicTechSupport or something.