|
michaelbarb wrote: Where did VB5 stand in this evolution. Was it closer to 4 or 6? IMO, VB5 was closer to VB6.
VB4 added classes, and added 32-bit support in addition to VB3's 16-bit.
VB5 was 32-bit only, added the ability to create controls, and compiled to native binary. It was part of Visual Studio 97, Microsoft's first attempt (AFAIK) at an integrated development environment.
VB6 added the ability to create web applications. It was part of Visual Studio 6 -- Microsoft standardized on v6 for all included products, as I recall VB6 had the highest version.
I don't recall that the core language changed much between versions. Unlike recent versions of C#, the big difference between versions was major additions to capabilities.
VB4 applications would compile in VB5, and IIRC, in VB6. Compiling down worked unless the program used features not available in the earlier version of VB.
How does one "convert" a VB program to C#? Circa 2003 I tried migrating VB6 programs to VB.NET, and that was a dismal failure -- it was much faster to completely rewrite the program in VB.NET than to try fixing the migrated version.
I'm picky on wording as it affects my response. If you're re-writing the programs, as long as you can read the intent of the VB code, I don't believe it will make much differences in what version the original program was written in.
Note: just for the heckuvit I searched on VB to C# converters -- I found several products that claim to do it. My first thought was "why?", as VB6 has been unsupported for 12 years and effectively dead for 15+ years. However, in the "top 20 languages" surveys I've read over the last few years, VB typically ranks 12 to 15. There's a LOT of VB programs out there, and management isn't going to pay to convert a program unless it's broken ....
|
|
|
|
|
The manual had a lot of screen shots. It was not that difficult to read the code for the control and duplicate it in a WPF. I feel that doing it in a Window Forms would have been harder. I developed a new appreciation for XAML.
The code behind was the usual problem of converting basic to C#. The biggest problem was the program was flat. Without the Object Oriented guides there were a lot of references between windows. All parameters are basically global. Kind of like spaghetti(luckily there are no goto statements any where). I tried some binding in the beginning but with so many I gave up.
I figured out how to do a flat WPF. Having all window open and using Show/Hide. I set up a static class call "g" for global an put a lot of parameters in it. That exercise in itself was interesting and I was thinking of writing it up. Not recommended, just interesting.
Thinking of binding, I realized it is kind of like the new spaghetti.
Someone ask why convert. In the medical industry validation is just part of cost and will be added in eventually. The machine did a destructive test so it only had to do a few each month. Even being run very little eventually the Windows 95 computer is starting to die. The goal is to get the new program to look and run as closely to the old one as possible. This will minimize the cost of paper work to validate the replacement. I call this job security.
So many years of programming I have forgotten more languages than I know.
|
|
|
|
|
I've worked on validated applications so I understand your plight.
Instead of a global class, I've created MDI applications and used the MDI parent as the container for all global information. However, that approach messes up your validation ...
One approach that might help is to create your global object as a class field in the first form. As other forms are created, pass the object by reference to the new forms. IIRC, that should provide what is essentially a global object without actually making it global. You're probably far enough into it that you don't want to backtrack -- just a thought.
|
|
|
|
|
|
raddevus wrote: And in my case and in my experience the gender is incorrect in the comic, because this problem is attributed to men far more often. Interesting. I would agree with Adams in that it is more of a stereotype of women.
|
|
|
|
|
I suppose it is equal to both sides. My point here is that I know a couple of guys who are completely unable to finish a story. After the point of the story is gone, they just linger in your cubicle for days after. You turn around hours later and they're still standing there mumbling about something.
|
|
|
|
|
Ya, that is very annoying.
|
|
|
|
|
I can't say anything to that. I take all audio drivers offline and enter self test mode as soon as women start babbling, screeching, nagging or complaining. I only listen when they try to get insulting. It amuses me.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Quote: is attributed to men far more often is it? Is it really? Or does that just reflect on the demographics of your particular workplace?
I think the real point is that we all have colleagues that do this. Gender in this case, and in so, so, SO many others, is completely irrelevant.
I think I got your message about why the woman in the comic but way to go killing any humour in that post
|
|
|
|
|
CHill60 wrote: I think I got your message about why the woman in the comic but way to go killing any humour in that post
Well, it was a challenge because I'd probably get responses either way. I think it is irrelevant too actually. But the Adams ended up making it a woman and I was thinking well, all through my years of working in cubicles it has been the other way. It doesn't matter though because all evidence is empirical.
|
|
|
|
|
I think we should name a measurement unit after this guy. Perhaps the unit to measure the buggyness of code. "How is the project coming along?" "Not so good, it's still around 0,5 kilokushim."
What a way to go down in history.
A small mistake![^]
Reminds me of that time when we needed a few new tires for trucks and our Kushim (actually a older IBM) decided to calculate a stockpile to keep, just in case. It was delivered in four or five fully loaded trucks.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
How about a synopsis of the video?
|
|
|
|
|
Ok. Some guy named Kushim from Uruk made an error in his calculations for his stocks more than 5000 years ago. Beer production was a big thing in early civilisation, it seems. It obviously led to stuff like math and writing. The tablets with his bookkeeping (and his errors) have been found, making him the first known person to miscalculate something.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
|
A late aunt of mine was an office worker in the very early days of photocopiers. They were expensive, few and far between, so carbon copy was still common. Her office ran out of carbon paper. They had to resupply, but expecting photocopiers to take over, they made a very small order for 500 sheets. They thought.
When later checking the order form, they had to admit that it clearly indicated a unit size of boxes, each 100 sheets. So, they stocked up 50,000 sheets of carbon paper to last until photocopiers took over.
I believe that they were allowed to return a significant fraction of the lot, but far from all of it. I suspect that if you visit that office today, they may still have a few unopened boxes of carbon paper in their office supplies room.
|
|
|
|
|
Dealing with such an accident without burning a nice stack of money. In a larger organisation with lots of trucks and good logistics it's not much of a problem. All requests for new tires were routed to us and that pyramid of tires disappeared within weeks. Lots of paperwork, so the carbon paper would have been helpful as well.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I'm just transferring about 1.6Tb across USB3.0 between two external drives. It's pretty slow at about 80Mb/s and will take 7hrs according to Windows.
Which got me thinking about the best we've got right now, which seems to be the Samsung T5 at 380MB/s, which would theoretically do it in about 1hr 10min. Which then got me thinking about those old 3.5" floppies, with a max of about 500kbps, so about 296 days.
Over 6,000X speed improvement. And I'm guessing there's a long, long way to go on this journey yet.
That's kinda cool
cheers
Chris Maunder
|
|
|
|
|
Best/only real use for floppies anymore: The Imperial March[^]
Real programmers use butterflies
|
|
|
|
|
I went to the page - looking at the sidebar I suddenly realized this is a genre.
(certainly better than most rap).
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Maybe you're listening to the wrong rap?
And it's, worker zig-zagers versus piggy badge flashers
Training Generation Fallout
Waterfall bricklayer pincushion crawl out
There's smoke in my iris
But I painted a sunny day on the insides of my eyelids
So I'm ready now (What you ready for?)
I'm ready for life in this city
And my wings have grown almost enough to lift me
I'm a dinosaur with Jones Beach in my hourglass
Passing the time with serial killer coloring books and bags of marbles
Don't tell me you ain't the droid that held the match to the charcoals
Don't tell me Lucifer and God don't carpool
(This is our school)
I'm not trying to graduate to life at the personalized bar stool
Head in a jar on the desk, feet dangling in a shark pool
(Man please) Man please
My name stands for my being
And my being stands for the woman who stood
And braved the storm to raise the seedling
(Brother, sun, sister, moon, mother beautiful)
Yeah middle sibling suitable but far from son of excellence
Beckoned a long time ago, I was to way the wishers wish
But missers miss, I slept through my appointment
Saw the liquid dreams of a thousand babies solidify
And picked the rose that wilted
The second I introduced myself as Nervous
Well it appears the scars of learning have spoken
Some are burning, some have frozen
Some deserve tall tales, some wrote them
Some are just a brutal repercussion of devotion
Mine are all of the above cuz everything leads to erosion
Now where I live there's a homeless man, he sits upon a crate
He makes a rusty trumpet sound like the music that angels make
Now if you ever come and visit me, I suggest you watch the show
Tell him Aesop Rock sent ya just to hear his horn blow
...
- Aesop Rock, Battery
Real programmers use butterflies
|
|
|
|
|
There can't possibly be a "right rap."
Occasionally I break out some really old stuff : The Disposable Heroes of Hiphopracy. That album just drips with politics. There's not much else on it actually and it's still relevant thirty years later, for the most part.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
7 minutes to format a floppy disk, a few seconds to copy a few text files and... drumroll... repeat it when the disk becomes impossible to read...
I still use a USB floppy drive from time to time to copy files from/to some old industrial controllers...
|
|
|
|
|
Do you have a computer with 32-bit windows lying around?
DCF[^] is 42% faster than dos and it allows you to save images of your diskettes.
But it is a dos program.
Wrong is evil and must be defeated. - Jeff Ello
Never stop dreaming - Freddie Kruger
|
|
|
|
|
Those were the days when you could tweak the timing of your routines to save stuff on tape to be faster than a C64's floppy (which was extremely slow).
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Andrew Tanenbaum: Computer Networks (1981), Chapter 1, Problem 1:
Imagine that you have trained your St. Bernhard, Bernie, to carry a box of three floppy disks instead of a flask of brandy. (When your disk fills up, you consider that an emergency. These floppy disks each contain 250,000 bytes. The dog can travel to you side, where you may be, at 18 km/hour. For what range of distances does Bernie have a higher data rate than a 300 bps telephone line?
Updated version: Bernie now has the flask replaced with box containing 8192 microSDXC memory cards, each holding 128 GByte of data. For what range of distances does Bernie have a higher data rate than a 100 Mbps optical fiber?
|
|
|
|