Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

sysrpl sysrpl
  • Tell me why I should use web framework X?

    @vesuvius: you (me) are a "dumbass"

     Lol, fair enough I suppose. I read through your comment and those of others. I guess my point my be is that what I have works well for what I need, is so damn simple, and quick. If I need some extra something, it's easy to add it in since I wrote it, and the results (which is where I want to be) turn out better than what I wanted to begin with. I am having a hard time imagining what I need in a framework that I already don't have.

    Again check out my reference site at the top in the original message. It does exactly what I wanted in the most straight forward implementation I could imagine using.

     

     

  • Tell me why I should use web framework X?

    I created a simplified overview of my custom asp framework based on a vanilla System.Object. I haven't used to much extent any C# web frameworks (besides dev.express xaf which i abhor). If anyone cares to help, look briefly at this overview of my framework and tell me why I should be using framework X instead?

    Reference website with framework in action:

    http://www.dotaplayer.info

    /* BasicHandler derives from System.Object. 
    provides caching of include files based on file modified stamps, safe (escaping html) 
    reading of post/get data through my IFiler interface, sending of files as response, 
    redirection enhancements, basic in memory logging, template file insertion */
    public abstract class BasicHandler : IHttpHandler {}
    /* TemplateHandler provides base support for template pages including 
    master detail templates and multiple templates per handler */
    public abstract class TemplateHandler : BasicHandler {}
    /* DataTemplate provides support for templates binding to sql data object collections,
    good for detail records originating from a database which need templates */
    public class DataTemplate : TemplateHandler { }
    /* PageHandler provides pages methods and default page, this is the base class for
    any page you would load */
    public class PageHandler : BasicHandler { }
    /* DocumentHandler for returning xml or json data */
    public abstract class DocumentHandler : BasicHandler { }
    /* FormatExtensions provide a state engine which parses templates (a string) and 
    binds to any object */
    public static class FormatExtensions { }
    /* DataCommand provides simplified database access, manages connection and 
    things which need disposing */
    public class DataCommand { }

    Page examples:

    [DefaultPage("/WebPages/hello.html")]
    public class HelloWorldPage : PageHandler
    { 
        [MethodPage("speak")]
        public void SpeakMethod()
        {
            Write("Hello There {0}!", ReadString("name"));
        }
    
        [MethodPage("status")]
        public void StatusMethod()
        {
            WriteTemplate<StatusTemplate>();
        }
    }
    // execute using ?method=speak&name=freddy and ?method=status
    // no method returns hello.html

    Template example:

    Hero.template

    <a id="hero-{Id}" name="{Name}" onclick="return clickHero({Id});">
    <span class="heroKind{Kind}"></span>
    <img src="{ImageMedium}">
    <span class="heroLabel">{Name}</span>
    <span class="heroTags">{Tag}</span>
    </a>

    Hero.template.cs

    [Cached, Template("Hero")]
    public class HeroTemplate : TemplateHandler
    {
        protected override void Run(StringBuilder output, Templates templates)
        {
            var template = templates["Hero"];
            foreach (var hero in Lookups.Heroes
                .Where(hero => hero.Id > -1)
                .OrderBy(hero => hero.Name))
                output.Append(template.FormatObject(hero));
        }
    }

    Data access examples:

    using (var reader = DataCommand.Prepare(selectItemSummarySql)
        .Add("@name", name)
        .ExecuteReader())
        while (reader.Read())
            list.Add(new ItemData(reader));
    long playerId = Api.SteamToPlayer(filer.ReadLong("steamid"));
    DataCommand.Prepare(insertPlayerSql)
        .Add("@player_id", playerId)
        .Add("@name", filer.ReadString("personaname"))
        .Add("@avatar", filer.ReadString("avatar"))
        .Add("@country_code", filer.ReadString("loccountrycode"))
        .Add("@created", filer.ReadLong("timecreated"))
        .ExecuteNonQuery();
    // both selectItemSummarySql and insertPlayerSql are paths to (cached) resources 
    // included in the project

  • Locked out of hotmail/live account

    @AndyC:I would access hotmail or rather live.com about once a week or every other week. That's not what I would consider inactive.

  • Locked out of hotmail/live account

    @kettch: When providing a secondary email you are sent a confirmation in a random 30 day period. during which your account can be disabled.

    If Microsoft decides to start disabling people's services, their live login account, and by extension any other service they use with their hotmail or outlook account, purely because they do not provide a cell phone number, then they are a bad business. Due to attitudes like yours, when given the opportunity I will dissuade my family, friends, my friends families, and others I meet in real life from buying or using Microsoft products or services.

  • Locked out of hotmail/live account

    I just want to clarify events leading up my hotmail/live account being locked.

    I originally signed up for a hotmail account sometime around 1998. When I signed up at that time a phone number wasn't required and nor was a secondary email address. At some point in time my Microsoft converted my hotmail account into a "live" account.

    Five or six weeks ago whenever I wanted to post here or check my email live began asking me for a phone number to send me a text message. I actually don't use a cell phone often, and when I do it's a prepaid cell phone, which is a great money saver.

    About three weeks ago when I attempted to use hotmail I found I was locked out. Microsoft wanted to send me a text message to authorize my account to a non existent cell phone. Since I actually had no contact information, the hotmail site wanted a secondary email, but would only send the recovery information to that other account email some random time over a 30 day window (according to the instructions I would see whenever I tried to log in here or at hotmail or with any live serve for that matter).

    Additionally, since my account was locked, it also put my other accounts in jeopardy. I could not get messages from godaddy, newegg, ebay, monoprice, ect. All of this because Microsoft decided that because I pressed skip a few times when asked to provide a cell phone number for authorization code text message my account would be locked.

    I've since updated all my contact information for godaddy, ebay, and more to use my gmail account, which doesn't lock me out when I press skip if they ask for a cell phone number.

  • Locked out of hotmail/live account

    So I guess I'll not be using hotmail or any windows live or other Microsoft sites anymore.

    Starting last month the live login process began asking me to provide extra authentication linking my phone number and text messages to my live account. I didn't add a mobile number and now I can no longer sign into my live account.

    To make thing more difficult, Microsoft then forced me to wait for some random point within the next 30 days to add extra security to my account, and until then I cannot use live login.

    Microsoft you lost a long time customer and I'll be sure to spread the word. It was nice knowing you guys on channel 9, thanks.

  • Chromecast

    Plex media software now has Chromecast support. Here is a recent demo:

    http://www.youtube.com/watch?v=9yXTQN-IXxQ

  • The world's hardest riddle

    I turn polar bears white
    and I will make you cry.
    I make guys have to pee
    and girls comb their hair.
    I make celebrities look stupid
    and normal people look like celebrities.
    I turn pancakes brown
    and make your champane bubble.
    If you squeeze me, I'll pop.
    If you look at me, you'll pop.
    Can you guess the riddle?

    97% of Harvard graduates can not figure this riddle out, but 84% of kindergarten students were able to figure this out in 6 minutes or less. Can you guess the correct answer? Just repost this bulletin with the title "The World's Hardest Riddle", and then check your inbox. You'll get a message with the correct answer in it. Good luck!

    I believe the answer is NO! The last line in the riddle says "Can you guess the riddle? and most kindergartens would answer no.

  • XKeyscore - Screen shots of NSA search tools

    Here is more information regarding XKeyscore from a top secret presentation created in 2008:

    http://www.theguardian.com/world/interactive/2013/jul/31/nsa-xkeyscore-program-full-presentation

    It would seem that the NSA likes searching your word and excel documents, especially if you do something suspicious like use encryption. 

  • XKeyscore - Screen shots of NSA search tools

    Edward Snowden via Glen Greenwald shed more light today on what he meant when he said given an email address he could wiretap anyone:

    http://www.theguardian.com/world/2013/jul/31/nsa-top-secret-program-online-data

    What's interesting here is seeing the actual NSA analyst search forms which are simple browser based applications. An analyst fills out a keyword, email address or website name (wildcards can be used) and select a search reason from a limited drop list, then clicks "submit" and he/she can find out a whole lot about you. This includes your web browsing history, online chats, emails, locations you've logging in from. All this is done without a warrant.

    Discuss