The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
I agree. I was there in 90-91, and the Iraqi army was nothing. All the hype about them being the world's 4th largest army was propaganda. Their equipment was mostly WWII leftover stuff.
I was on the Port of Jubail in Saudi, and we had captured thousands of Iraqi vehicles, including anti-aircraft guns. Stuff like this[^]. You're not going to shoot down a jet doing 700mph with a hand cranked gun.
They did have a million men, but they were mostly conscripts, and were poorly trained and equipped. When I read Schwarzkopf's bio he talked about the war and he mentioned that the US killed 60K Iraqis with B52 bombing raids alone. And the Iraqi leadership had no knowledge of it because they were blind & deaf from the outset. It wasn't until after the war until they realized the magnitude of their defeat.
Having said that, Schwarzkopf was still a great leader and a true patriot.
I can not disagree with being a leader (hard for me to say he was great) and a patriot. One of the greatest generals of all time, there is no way that is a valid claim since he was not given a chance to really prove his skill.
If you study history you will discover that third world countries pretty much never can compete with the super power armies, even if the super power is not trying. When the British were in India, the Indian armies would suffer thousands of fatalities while the smaller British army would suffer very few, and they were mostly Indian allies. The British probably killed more of thier own men whipping them then they lost in combat.
When all hell broke loose liberating oil Kuwait I remember there was no other story shown on the news in SA. Anyone who didn't know CNN did soon enough. He wasn't the only bloke I knew by that name. Not long after the original came to be widely known the stock controller at the company I worked at whose name was Norman soon came to be known as Storeman Norman. There the similarity ended.
I've not read much about Stormin' Normin but the BBC said he got that name because of his explosive temper. I'm not sure how that translates into military-speak but someone suffering from "emotional detonation" in authority could well be known as an extreme bully elsewhere. I'm sure he had his good points and initiating the process by which Saddam was ultimately executed can't be a bad thing.
In time, I'll probably look for a book about him at my library.
They also say he was an outstanding commander and tactician and one of the old school. At 78, he was kind of young. RIP all the same.
"I do not have to forgive my enemies, I have had them all shot." — Ramón Maria Narváez (1800-68).
"I don't need to shoot my enemies, I don't have any." - Me (2012).
The one(s) I remember best was when he showed the building with his opposite member as the guided bomb was put down the airshaft (eat you heart out Luke Skywalker).
Followed by, "I will now show you the luckiest man alive." as the video showed the guided bomb on it way to the middle of a bridge. Suddenly a truck zips through the crosshairs. A few seconds later, "And he sees in his rear view mirror..." the bomb impacts.
Psychosis at 10
Film at 11
Those who do not remember the past, are doomed to repeat it.
Those who do not remember the past, cannot build upon it.
I am volunteering for a local non-profit organization setup their new website. It's an entirely DB-driven website so what we need is SQL server space rather than web-space. Most hosting packages give 5-10 GB web-space but usually only about 250-300 MB SQL storage space. I've asked my webhost (the one I use now) if they could offer a customized plan and they only offer VPS hosting which is more expensive, and for the budget we have only offers really low-end packages (example just 1 GB memory).
Their Flex hosting plan is $7.75 / month and gives you 50 GB SQL space, not to mention 250 GB web space (that we dont need). Has anyone used them? I am concerned that they are so affordable given what they are offering.
Can you also recommend any other webhost? We are looking to spend not more than 120-130 annually on this, and need at least 5 GB sql space to use. We'd also need ASP.NET with MVC 3 but I can't imagine a Windows host not having that feature. Note that we specfically need SQL server (since we are using EF).
The only problems I have noticed at all is occasional delays in trying to retrieve emails, and some heavy lag when accessing web sites that haven't been visited for a few months - I'm guessing they go into slow storage and have to be pulled back while you wait.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
Thanks, I went for a fully DB-driven site. The site's like CodeProject in that admins/editors can upload content which includes images, so the entire site's data is from stuff that's submitted in this manner (so it's all in the DB). This makes backups and migration easier in future.
I was with Arvixe with a linux hosting, all was good until they moved my account and content to a new server.
I'm using my account mostly for IMAP emails.
From there, everything went wrong. Frequently, I could not access my emails for hours, I even lost some.
I was forced to change hosting provider and went to hostgator.com.
So, I'm not recommending them.
"Facebook is like prison - sitting, wasting time, writing on walls and being poked by people you don't even know."
I am using them from past 3 years and experience is fine except -
1. the mail service they provide some time doesn't send mail when used from outlook, so I shifted my mail hosting to Google[^] and rest is working fine.
2. their website control panel was quite slow responding which has been fixed lately - they switched to web client from plex.
Rest if there is any issue they usually resolve it in 1-2 hours of time - earlier they used to have live chat but lately they have switched off that feature.
Now before I start this rant, I mean no insult to any VBA programmers out there reading this. I could not have greater admiration for you for succeeding where I have failed in actually accomplishing anything in VBA for Excel without lines and lines of hacks and botched, messy code. I want to get the general consensus on this, as it has been bugging me no end.
My first gripe is that the VBA programming environment that comes with Office (2007) is to my eyes just utter tat. It is currently removing and inserting random whitespace here there and everywhere in what seems to be an overtly malicious attempt to mess with my head. The 'intellisense' and 'syntax highlighting' leave much to be desired, but I could whine about that all day, so I'll stop there.
In my opinion however, the absolute worst thing about the VBA editor that shipped with Excel 2007 is...
The environment alerts you to coding errors with - get this - a MODAL messagebox that totally interrupts what you're trying to accomplish by screaming in your face until you click the stupid 'OK' button.
Secondly it seems to be to be impossible, or at least highly impractical, to accomplish anything approaching an elegant solution to a problem using VBA in Excel. So far this project, I have been repeatedly flummoxed by the arcane, esoteric knowledge of all the peculiarities of VBA that seems to be required to do anything at all in the language with any degree of efficiency.
While I am far from being a VB guru, VB.NET is my main programming language alongside Java and also my main source of income. I was astonished to find that my half a decade of VB.NET experience did not help one jot with VBA.
Is this just me? Please tell me, because I'm not sure if the problem is on my end (very possible) or with whichever dark ritual was used to create this 'programming language' in the first place.
A programming language is to a programmer what a fine hat is to one who is fond of fancy garden parties. Just don't try wearing any .NET language on your head. Some of them are sharp.
Horrible. Whenever possible, use .Net and/or Java to program for excel.
If it is possible to do your automation solution with OOo, I'd say give it a try. It's scriptable with both Python and Java, not just a VBA-like language (which it does allow, in order to be able to import MSO files containing macros).
But more informatively, Excel spreadsheet. Yes, I too gag at the relationship. However, think about the genesis of it. What's the easiest way to keep track of typed-in data -> the spreadsheet. The origin of which is a peice of paper, a pencil or pen and a cheap calculator.
I was thankful for Lotus 1-2-3. And post-wysiwyg scripting.
I positively could not wait to go "Visual" with the move to Excel in 2000.
All hindsight permutations, without VBA and THE SUBSET I might not have succeeded in excercising VB or VBNET or C++ or ... well not c#, to good effect.
It's a language I'd recommend as a stepping stone to others. Especially to children interested in keeping track of accounts.
I don't think Microsoft want you to use VBA any more - you can now use .Net to do exactly the same stuff[^]. You still need to know the ghastly innards of Office COM automation but it should be that little less frustrating.
Also remember, if you want to distribute your spreadsheet, that VBA is now an optional installation component (turned off by default from what I remember), where VSTO is always installed (from what I remember ).
It is putrid though, if you want worse try writing extensive Visual Studio plugins (project systems, debuggers, etc.).
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Chinese Proverb]
Nope, you can't do Access programming in .Net (other than Add-Ins). I just read your link and it seems to confirm that for Excel, Word, etc. You can create Add-Ins, but that's only one aspect of what you can create using VBA for those apps.
VBA (a.k.a. Active Content) is disabled by default in Office apps when the document, spreadsheet, etc. is from an unknown source. A security message bar appears at the top of the document warning you about this; clicking the Enable Content button on it allows any included VBA code to run.
VBA, like the VB6 it was derived from, is actually quite powerful. You can call Windows APIs directly from it to perform tasks that aren't already handled by the multitude (literally hundreds provided by default by Microsoft alone - not to mention 3rd party) of ActiveX objects and DLLs that are available. It allows the creation of class modules to so it can be as OO as anything.
Before you all dismiss me as completely and utterly mad, imagine the scenario ...
1. In the dark and distant past a user discovers Excel macros and starts to "automate" certain daily functions
2. It soon becomes all too much for them to handle so the macros get passed to an "IT contractor" to be brought up to production strength (an oxymoron if ever there was). Note that at this point the IT department still know nothing about this
3. In the meantime these spreadsheets somehow manage to become business critical "applications"
4. Eventually someone in the user department has an epiphany - or it might have been an audit finding - and said piece of s**t is passed over to the IT department to support.
5. By now the business-critical excel "application" consists of more than 120 spreadsheets mashed together like a web built by a hundred drunken spiders
6. Enter yours truly ... the re-engineering of various parts of this mess (when allowed to by the red-tape afficiandos) has kept me in gainful employment for some considerable time!!
p.s. around here "VBA" is known as "Visual Basic for Amateurs"
You forgot to mention that most of the macros are "written" using the "Record" button, not by actually hacking out code.
My wife is in finance (and a formal auditor) and I cringe every time she shows me a spreadsheet that they're using to run the business. There's always a magical button that flashes through screens, changing pivot tables and spitting out charts, enough to be seizure inducing.
I have profited by the scenario you describe many times but regardless of how well you are being paid, maintaining those business critical Excel "applications" is often like playing Twister with a bunch of long unwashed dudes who reek of garlic and stale sweat. You have to run home for a long shower with the stereo blasting in an attempt to purge the memory of the experience from your body and soul.
Most janitorial jobs are like that. If it doesn't work, blame the guy before (crap coding, not well thought out, doesn't know what he/she's doing etc). If it does work, you get the credit. You won't find any other job with a win-win situation.
Remember the moral of the story of the non-conforming sparrow - when you are warm and happy in a pile of sh*t, keep your mouth shut.
I've lived through this "process" too over the past 16 years. It will keep me in productive employment for the remaining years (both of them) until I retire. I'm currently maintaining an Access database front-end for a SQL Server 2012 database which uses a large amount of VBA code that is used to run the whole business. Having written applications in VB6 for 12 years before this job means that I'm used to the whole thing.
Are you using VBA with Macintosh Excel 2011 / OSX because you need your whatever to run on a Macintosh, as well as Windows: if that's the case, then there's not much you can do, since VSTO is out.
I think you are making the assumption that your programming skills in Visual Basic .NET should have "payback" in using the "original" VBA: that's an assumption I question. I do think your investment in Visual Basic .Net should have payback in using VSTO in Excel for Windows. Experience in programming pre-.NET versions of VB, on the other hand, was of value in programming VBA when it first appeared.
When VBA arrived (in the late neolithic ... circa 1995 ... the time of Windows 95, and Excel 95), it replaced the incredibly clumsy "macro" facility. It gave VB programmers of that time a way to use what they knew. And, yes, if you wrote linguini-code in VB, you would probably write fettucine-code in VBA
People (like this flea currently writing here) got major work, back then, replacing per-project custom-macro consultants, whose work could not be re-used: replacing one-off inscrutable Macro sheets with generic VBA solutions, which could be re-used: even maintained without re-hiring the original macro consultant !
So, circa 1995, I did a 6000 lines of VBA (plus about 2000 lines of comments) custom application for a major world energy company that modeled the very complex financing of the construction period for energy-plants that had many lenders, of many types (international export-import banks run by national governments, host-country investment, private banks, etc.). Each lender might have different constraints for use of funds, and different methods of calculating payment of interest for their share of monetary contribution (on both funds already spent, and funds not yet spent) during each phase of the construction period.
Expenditures per month of construction period were based on a primary-contractor supplied set of data, the "S-Curve", that told you what percentage of the actual construction cost was required to be drawn-down for each month. So, the calculation of the true cost of the project for each month of construction (actual construction cost + all interest costs) required recursive manipulation to determine (via Excel's "Solver" facility). Not simple stuff !
This Excel-application could run on either PC or Macintosh hardware (of that time), with the only platform requirements being taking into account possible screen-size variations. Being able to run on both platforms was, at the time, a BFD.
Well, yes, VBA was removed from Macintosh Excel 2008, but Excel 2011 brought it back for the Mac (I have no experience with Excel 2011 and VBA on the Macintosh).
So, now VBA has been replaced with VSTO, for Windows only: and that's where you should invest your energy if you are programming for Windows at this time, and, perhaps, where you'll get some payback for your investment in Visual Basic .NET.
Actually, I, like so many others, when .NET first arrived, examined what VB had become in .NET, and immediately jumped-ship to C#: so I really can't estimate the value of your investment in VB .NET in using VSTO within VB.NET.
Last Visit: 31-Dec-99 18:00 Last Update: 25-Oct-16 14:34