Computer Tech On TV Always Makes Me Laugh

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alex Franke
    Veteran Member
    • Feb 2007
    • 2641
    • Chapel Hill, NC
    • Ryobi BT3100

    #16
    Here's my quick graphical GUI interface (for users) for IP address tracking. Alas, though, it is not in VB... (looked like they were looking at a forum or blog of some sort, so I made some assumptions along those lines

    PHP Code:
    public partial class CoolGuiIPTracker : Form
    {
        public CoolGuiIPTracker()
        {
            InitializeComponent();
    
            TextBox tb = new TextBox(); 
            tb.Dock = DockStyle.Fill;
            tb.Multiline = true;
            this.Controls.Add( tb );
    
            SqlConnection con = new SqlConnection(@"Data Source=mydbserver;Initial Catalog=mydb;Integrated Security=SSPI;");
            SqlCommand cmd = new SqlCommand( "select post_time, ip_addy from posts where user_name = 'eviluser'", con );
            con.Open();
            SqlDataReader r = cmd.ExecuteReader(CommandBehavior.CloseConnection);
            while ( r.Read() ) 
                tb.AppendText( String.Format( "{0}: {1}\r\n", r[0], r[1] ) ) ; 
            r.Close(); 
        }
    } 
    
    edit: of course, this is not to minimize how hilarious that dialog was -- I found it online and shared it at work!
    edit 2: Oh, and I agree. Scrubs is awesome.
    Last edited by Alex Franke; 09-11-2008, 12:24 PM.
    online at http://www.theFrankes.com
    while ( !( succeed = try() ) ) ;
    "Life is short, Art long, Occasion sudden and dangerous, Experience deceitful, and Judgment difficult." -Hippocrates

    Comment

    • docrowan
      Senior Member
      • Mar 2007
      • 893
      • New Albany, MS
      • BT3100

      #17
      One thing I hate on almost all action shows - ALL the sprinklers in a building go off either when the one of the sprinkler heads is busted, set off, or worst of all, when someone pulls the fire alarm. There is not enough water volume and pressure to run ALL the sprinklers in building. You would simply get a small dribble out of each one. More to the point, all water sprinkler heads are very simple mechanical devices, there are no wires or electronic devices in them. There is no way one can be tripped from a distance, either deliberately or accidentally. To trip all the heads in a building, you'd either have to break each head individually with a hammer or 2x4, or have the mother of all fires through the whole building.
      - Chris.

      Comment

      • LinuxRandal
        Veteran Member
        • Feb 2005
        • 4890
        • Independence, MO, USA.
        • bt3100

        #18
        It is supposed to be entertainment, LOL. But specifically refering to VB and the like, makes me believe that MS paid them some ad money.

        I do know Dr.'s, Lawyers, Cops, CSI's who watch and make games out of picking out incorrect things out of them (see who can pick the most, as it is hard to keep up when your laughing). But I am sorry to say, I see people, who probably believe a lot of this stuff, without any idea that part may be real, part fiction, and part even obscured in the way they do things to not make things like smarter criminals.

        Also, this does show the importance to NEVER stop learning. I know of a police dept. tech, who can do all the things he has been TAUGHT, but can't setup a Email program on a Window's pc. You stop learning and you start falling back.
        She couldn't tell the difference between the escape pod, and the bathroom. We had to go back for her.........................Twice.

        Comment

        • smorris
          Senior Member
          • Apr 2003
          • 695
          • Tampa, Florida, USA.

          #19
          I'm in the computer security business, mostly we sit around and make fun of the ClicknDrool interfaces they use and the tools that do nothing remotely useful but make a nice shiny thing.
          --
          Any sufficiently advanced incompetence is indistinguishable from malice

          Comment

          Working...