Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
H

HappyDotNet

@HappyDotNet
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What are some stupid-useful coding tricks you rely on?
    H HappyDotNet

    Use Background worker report progress to trigger different conditions on the main thread. *** Ya Ya I know..background workers X| But I didn't architect the project :)

    Private Sub Go(myList as list(of String))
    bgw1.RunWorkerAsync(me,myList)
    End Sub

    Private Sub bgw1_DoWork(sender As Object, e As DoWorkEventArgs) Handles bgw1.DoWork
    'background thread
    Dim myList As List(Of String) = e.Argument
    Dim listCount As Integer = myList.Count
    'long running process
    For i As Integer = 0 To listCount
    Dim resultInteger = DoWork(myList(i))
    bgw1.ReportProgress(resultInteger,myList(i))
    Next
    End Sub

    Private Sub bgw1_ProgressChanged(sender As Object, e As ProgressChangedEventArgs) Handles bgw1.ProgressChanged
    'main thread
    Dim p As Integer = e.ProgressPercentage
    Dim s As String = CStr(e.UserState)
    Select Case P
    Case 1
    lbl1.Text = s
    Case 2
    lbl2.Text = s
    Case Else
    lbl1.Text = "Invalid Result for " & s
    lbl2.Text = "Invalid Result for " & s
    End Select
    End Sub

    The Lounge hardware iot question workspace

  • A lesson in bug testing.
    H HappyDotNet

    Ooohh...she loves ice cream. Will have to use that! :-)

    The Lounge beta-testing android testing json help

  • A lesson in bug testing.
    H HappyDotNet

    Kids and Cats right? LOL Best QA testers!

    The Lounge beta-testing android testing json help

  • A lesson in bug testing.
    H HappyDotNet

    So..... I've got an Android app going live on Google Play soon. I've been testing this app six ways to Sunday, trying to find any and all bugs before release. I have hammered this app, beat it up in every way possible....test, bug fixes, test bug fixes ... for weeks! Saturday night, my 5 year old daughter and I went to have pizza, mommy was working. I was showing the app to her and telling her how proud I am of the app, how it took a lot of work, how I've bug tested it exhaustively for weeks and that I think it's finally bug free and ready for release. My daughter asks "daddy can I play with it?" I said sure and explained how to use it. She has no idea what the app does, it's just numbers and bright colors in her eyes. She loved it! As I chomped on my pizza and watched her, in the back of my mind, a thought ...... hmmm ... a 5 year old randomly pushing buttons could be a good QA test. Quickly that thought faded, there was more pizza to eat! So, I chomped some more pizza and listened to her giggle. A couple of minutes later, I look down and she's got fingers on both entry buttons...... You ever get that "cosmic swirl" feeling? Like time and space is swirling in a vortex around you at a significant moment in time? That sensation, is usually coupled with the feeling, like you are in a dream, falling from the sky...... Right then, the planets changed their orbits, space and time started to swirl around us. I feel like I'm in a dream falling out of the sky..... She looks up at me and says.... "Daddy.....what happens if I press BOTH buttons at the same time?" I could leave the story at that. You programmers know what happened and have probably snorted coffee out your nose, laughing. But for the rest of the story.....yep, my 5 year old daughter, while eating pizza, found her first bug. A bug that daddy, despite herculean effort, missed after weeks and weeks of testing! The future is bright for this one!

    The Lounge beta-testing android testing json help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups