In 10 stappen voorbereid op de AVG
In 10 stappen voorbereid op de AVG
Yes, I am a partial Web Designer, better yet, let’s call me a Front-End Developer. But also and even more: I am a Back-End Developer, not shown on this design-scale…
bron: click here.
Have you ever heard of SEMA? It’s a fairly esoteric system for measuring how good a software team is. No, wait! Don’t follow that link! It will take you about six years just to understand that stuff. So I’ve come up with my own, highly irresponsible, sloppy test to rate the quality of a software team. The great part about it is that it takes about 3 minutes. With all the time you save, you can go to medical school.
The Joel Test
It starts with “Can not create Window Handle”… and continuous random crashes. You find out your app reaches the max of 10000 user objects. (Just check the task manager, you’ll see I’m right.)
So, you’ve been using your own usercontrols on a flowlayoutpanel; you add, you remove, you clear… however the user objects count keeps growing and something is leaking somewhere…
You find that .controls.clear() does not work, you have to dispose() of all the objects first. Okay, do that, but it still doesn’t work.
So what’s the trick?
Simply remove first, before the dispose, and do this one at a time.
Just use the following routine:
Public Sub ClearFlowLayoutPanel(cFlowLayoutPanel As FlowLayoutPanel) Do While (cFlowLayoutPanel.Controls.Count > 0) Using controltoremove = cFlowLayoutPanel.Controls(0) cFlowLayoutPanel.Controls.Remove(controltoremove) controltoremove.Dispose() End Using Loop GC.Collect() GC.WaitForPendingFinalizers() cFlowLayoutPanel.Controls.Clear() End Sub
Good Luck! …or ask My Brain.
sources or more info:
When debugging PHP I find myself searching again and again for this little piece of code to display the PHP errors. So here it is for future reference…
If you wish to see all the PHP errors and warnings in your script, simply include the following bit of code:
Now, continue to beat your head against the keyboard while you hunt down that missing semicolon or closing parenthesis. Need help, contact My Brain.
Nice. The ever-developing world of IT… or, “how to create more work for each other”.
My Brain develops Apps using a framework called Phonegap. Quick development, easy coding, simple configuration. Until you need to update an exisiting app and you are suddenly faced with the changes that were implemented since the last build…
This time the App did not want to access the Internet anymore… at all! So, Google to the rescue, finding this document with some good clues. I needed #10, which starts out perfectly phrased: “This is sooo new and obnoxious, one can only have pitty on returning developers.” …
Being a developer you have to love puzzles!
My new profile photo:
Do I start using this one or just archive it?
Are you a consultant or a service provider? How many non-billable brain picking sessions did you sit through so far this year? Or, on the flip side, how many brains did you try to pick for free this year? I think we should start a National Do Not Brain Pick registry and I want to be on it.
Old story, but funny and with a hint of truth: It’s what you know that counts.
The plant went down with a crash. Died in the traces. A redefinition of ‘power failure.’ Technicians and managers went scampering all over the facility, tinkering, thunking, tampering and trying to coax things back to life. Nothing worked, and desperation reigned.