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.
Same here - I have to replace a load of spaghetti built around hard coded server references - I am struggling to make head or tail of it.
The idiot who write it originally is still with us and is no help at all trying to figure out what it is meant to be doing and why. His excuse is he had to write several applications to support the sales/production roles for a startup all in double quick time and this particular nest of spaghetti is the result of requirements changing every day or so as management kept changing their minds. Most of the rest of this code base is pretty good as it has been re-engineered over time when things became more leisurely but the original dev says he didn't want to touch this particular mess as it worked but was indecipherable. But now it needs changing and it has fallen to me to fix it By the way, the original dev is me too
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
I have been wrestling with the article submission wizard for some days in an attempt to post my debut article.
Mostly its going OK albeit slowly but I am having real difficulty with code snippets. I just want to copy some C# code from VS2010 and paste it into the article. I want to keep the formatting (indentation). I cannot seem to work this out.
It seems I need to copy the code - paste it as text - manually do all the formatting and then surround it with the language formatting tags using the wizard.
I have searched the site to no avail so could somebody either point me to the appropriate link or give me a few tips on how to do this.
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell
It seem the editor has personal feelings... I just did again to check - copy/paste from VS, select the text, hit Tx to clean VS formatting, select language. Done... HTML text editors are funny things...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
I use Visual Studio to create the content as a HTML page, and then copy paste it into the wizard. Fast and easy, and I don't have problems with CP's interpretation of what my markup means.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
Take a look at this picture[^]. There really can't be any doubt that he is giving the referee the finger, or rather fingers as two makes it plural. But I realize now that I'm not a professional football player, and theres a perfectly reasonable explanation.
"The Portuguese football federation (FPF) reiterates that there was no gesture directed to the match referee and regrets the speculation which would seriously damage the interests of the player and the national team," they said a statement.
"The FPF clarifies that the gesture, which has been misinterpreted, was directed at team mate Bruno Alves and merely indicated instructions from coach Paulo Bento. Raul Meireles was just explaining that he would drop back to the position of central defender, playing on the right of the defence."
So, I guess the coach has some foul language when he explains his tactics; although that is not unusual in football