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.
Thanks, I know *how to* do this. (And I'd prefer the much easier PathRenameExtension[^] instead of the buggy C# code - what happens if you have 1.txt and 1.exe and you rename 1.txt in 1.exe, for example?).
I was talking about how dumb a solution would be to rename everything in .dll and .exe. I can't think a single reason to do this except an installer or update tool.
Move out. Your life is in danger. When SWAT busts down your door looking for whoever has access to that computer, they will shoot first, and not bother asking questions.
".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
Who can make T-shirts? I've got an idea for one: The "Internet of Things" with the usual array of computers connected by lines and clouds and what-not, but instead of computers it will be The Thing from the Fantastic Four - "The Internet of Things" or "The Internet of The Things"
It may sound Grimm to you, but it meets my tough standards.
I'm in the process of generating updated content for user documentation. I'm compiling error message/what it means/what to do data in Excel. My initial pass involved checking the text of each messagebox/etc against the contents of the error spreadsheet from the prior version. For any new error messages I initially just pasted the text from VS to Excel and kept going.
Once that was completed I attempted to use the message text I'd pasted into excel to find the code in VS so I could make sure I had the context right when writing the rest of the information. VS consistently failed to find anything I'd copied into excel (while working normally for anything else, including stuff that was in the spreadsheet from the last version).
Eventually after copying the seemingly identical VS and Excel text into a text file and opening it up a hex editor I discovered that everything I'd copied into excel today had normal spaces replaced with nonbreaking spaces (0x20 vs 0xA0). ARGH!!!!!!!!
I'm not sure if I should be blaming VS, Excel, or the VS extension (part of MS's productivity power tools set) that lets me copy out of VS while preserving the syntax highlighting; but either way I just lost most of an hour trying to figure out WTF was going on.
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? --Zachris Topelius
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
Excel sucks, EVERY day. I was trapped for months working on a system where the web pages were created using a made up 'language' that you put in to Excel. It was not programming, it was an exquisite form of torture. The worst four months of my life and that includes selling vacuum cleaners door to door and calling people asking for donations for wheelchair sports.
So I got home from work yesterday. The wife picked me up from the airport at least, so saved me a few bob in taxi fares.
Today, I dropped her off at work, as some of you may remember her car is making a knocking/ticking noise from the top of the engine(sounds like a stuck hydraulic lifter).
Came home and then walked up to the garage where she left her car after its service(the same place that won't touch the engine, but will only replace it for a new one @ 7k, fek that!), took the car back to the house still sounding like a bag of spanners in a washing machine.
On the way back from dropping her at work, I popped into the local halfords and picked up some Wynns Hydraulic Lifter Cleaner engine treatment, to see if it make any difference before considering taking the engine to bits or changing it out. And having now warmed the engine I pored the stuff in the engine and left the car running for about 30 minutes idling, then shut it off.
On the way to pick the wife up from work in my car, a car coming the other way decided it wanted all the road and I had no option but to go hard to the left, hitting a massive pothole and instantly bursting the tyre. continue to drive to her work to collect her, gets out and has a look there, and yes its feked. Fortunately the alloy is only has a small divot in it. Collected the wife and went round the corner to the Tesco petrol station to see if the tyre would take any air at all. Just as I get out the car the heavens opened. And they charge £1 for 80seconds on the compressor!
It is now 5pm, I'm 7 miles from home running on a flat tyre, soaking wet and need to be back to the house for 5.30 as the eldest's piano teacher is coming. Gets back just in time. which was a small miracle given the fact that aberdeen is the second most congested city in the UK!
Now, I had to pick the wifes broken car up and use it to get across town. The noise was terrible, every one looking, and now it is also occasionally smokey because of the chemicals shoved in the oil. Then hits a massive traffic jam due to a set of traffic lights failing on the main road out of the city North (yes, the way I'm heading) took 45mins to go 1/2 mile. Arrives 2 minutes after kick-off, but fortunately others were also late stuck in the jam.
Finishes football, drive back home, parks the wifes car and goes and get changed into scraggy clothes to go and swap my car's wheels onto the winter alloys/tyres. I'm knackered by this time after playing 5-a-side and really couldn't be bothered, but need it to take the wife to work in the morning. Anyway, gets the first 3 done ok, then went to do the burst tyre, couldnt get the jack under the car because the tyre was so flat. had to reverese the wheel onto a thick block of wood enough to get the jack under.
At least that is them changes, now just need to get some new tyres fitted next week. Was only due to change the rears, but now due to the wrecked front left, will have to do the fronts as well.
Tomorrow, drop wife at work, then at lunch time, pick her up and take her to collect here new car.....I'm broke again I fear.