|
Member 7989122 wrote: pi is less than 4.
Not so: Squaring the Circle[^]
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
We're adapting an existing product for a new generation of hardware, and we received confirmation the other day that a 'feature' that's always been a PITA has been removed. I've spent the last couple of hours removing its Cthulhu-ian tendrils from my part of the application.
Cue the naked happy dance .
Software Zen: delete this;
|
|
|
|
|
Good riddance!
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.
|
|
|
|
|
Code removal: The best kind of refactoring.
Less is more.
|
|
|
|
|
Indeed. A while ago I had a memory problem in this application. A couple of months of memory profiling and heavy refactoring later the code was significantly smaller, no longer had the memory issue, and performed better to boot.
Software Zen: delete this;
|
|
|
|
|
So why didn't you just write it that way from the beginning? [Innocent whistling]
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
Johnny J. wrote: why didn't you just write it that way from the beginning? Caveat: The statements below are based upon my experience with .NET 3.5. YMMV.
1. This was my first C#/WPF application, coming from a background in C++/MFC. I found the lack of deterministic destructors... concerning.
2. Some best practices in C++/MFC are worst practices in C#/WPF - caching resource references, for example.
3. .NET flow documents and their viewers are unusable for documents larger than a printed page or so. They leak dozens of megabytes per navigation.
4. Similarly, .NET page objects and navigation mechanism are simply broken. They retain references forever, guaranteeing that memory consumption grows.
Software Zen: delete this;
|
|
|
|
|
Good to hear that, Gary!
|
|
|
|
|
Please tell me that there still exists a version from before the deletes happened. I have done that, the customers needed one of the features that had gone (despite saying not, when this was discussed). took days to redo it from fresh. These days I keep incremental back ups on a huge memory stick (when the product is delivered or I finish my bit get backed up on DVD) stick cleaned. Job done...
|
|
|
|
|
Backups ?!? We don't need no steenkin' backups, man...- We have source control. Yeah, it's SourceSafe, but it's pretty stable for us.
- Every build gets archived to DVD. We've got thousands of discs.
- Automated backups between our three build servers.
- Automated nightly backup to an off-site server.
- Weekly backup of source control to DVD.
- Weekly backup of source control to Flash drive.
Not to mention working copies of most product branches on our development machines. We've got over a dozen backups readily available at any time.
Software Zen: delete this;
|
|
|
|
|
I put my trust in SVN... which led to some code going missing before a build and led to trouble. This has caused me to be a little bit of sceptic regarding online backups. If I'm not told it can't leave the building I take a copy of the latest home with me every night!
|
|
|
|
|
glennPattonWork wrote: I take a copy of the latest home with me every night! I hope you take it to a bar first!
And make it breakfast in the morning...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
until you find that it had created weird frankenstein dependencies.
I'd rather be phishing!
|
|
|
|
|
Ooh yeah I forgot about that. I have shipped a thing that had XYZ.dll included for no apparent reason other than the error checking would not work right with out it. I managed to empty the dll it just wanted to see it... never had time to figure out why.
|
|
|
|
|
Gary Wheeler wrote: We're adapting an existing product for a new generation of hardware, and we received confirmation the other day that a 'feature' that's always been a PITA has been removed.
Microsoft is releasing a new version of Windows that eliminates the Metro look and takes us back to Aero glass? Can't wait!!!!
|
|
|
|
|
(Relax, I'm not asking for anything beyond the single thumb up click that drives modern day internet slactivism. )
I'm a left handed gamer, a sufficiently niche segment of the market that only 1 company currently services it.
Their high end left handed model went out of production about a year ago (shortly after the right handed model was replaced with a new model).
After ignoring requests for a left handed version of the new model for over a year, their CEO said if they could get 10k likes before the end of the month they'd start the process of launching a new left handed production run. They're currently at 8.6k.
https://www.facebook.com/minliangtan/posts/1831570750234032
PS If you don't have a fArseBook account, I'm not asking you to create one solely for my benefit.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing 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
|
|
|
|
|
Can't you just learn to use your right hand like normal people?
|
|
|
|
|
This is slowly going in the direction of the Soapbox...
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.
|
|
|
|
|
Try using a mouse with your left hand for a day and let me know how that works out for you.
Seriously, I've probably got 1000-2000 hours of using someone else's system with a right handed mouse that I couldn't make leftable by swapping the button assignments (school labs, and locked down boxes when I was working for a DoD contractor). The net result of that is I can use it well enough to use something like Google or Excel tolerably well, but don't have the speed or accuracy to play any game more demanding than solitaire. Even minesweeper is right out unless there's a hidden make the squares 2-3x larger setting.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing 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
|
|
|
|
|
I'm right handed but I have a trackball for my left hand and a mouse for my right. Seriously. I switch up use to help alleviate RSI (repetitive stress injury). But I am weird.
I also have a split ergonomic keyboard (Microsoft).
In the past I had only the trackball and it was set for use at my left hand.
Anyways, it was always hilarious when Admins would come to my desk to try to do something.
1. They couldn't touch type so can't find the keys
2. they would have to move the trackball over for their right hand
3. they got all weird about the trackball, rolling the ball the wrong way, etc.
It was like a security system. People would see my keyboard and trackball and be like, "I ain't trying nothing at that work station."
|
|
|
|
|
I had similar fun at one point. Then I was using a symetric mouse with the buttons mirrored in Windows. The remote admin tool IT used at my job then inherited my settings when they remoted into my current session with the result that their mouse buttons were mirrored when clicking on my system.
Took a minute or so before I realized why my coworker was randomly popping context menus all over the place. After I realized and explained what was happening she was too proud/stubborn/insane to let me take 20 seconds to restore the settings to default while she was connected, and instead insisted on trying to use my config as was even though it slowed her down by a factor of 2 or 3.
That went away for remote use when I got a proper lefty mouse. Was still an issue when anyone was at my PC directly; but I could work around that for anyone I liked by fishing a normal mouse out of the rats nest behind my docking station for them to use.
And I myself would use it when I had a 2nd system setup to the left of my main one. In those cases my desk looked like.
Left mouse for PC2, keyboard for PC2, right mouse for PC1, left mouse for PC1, keyboard for PC1. Looked screwy as heck but it let me check email/etc on my main system while mostly facing the secondary one I was doing most of my work on at the moment. Behind all of that I'd typically have 4 or 5 total screens for maximum mad geek points. 3 external monitors, 2 or 3 on the main PC, the loaners laptops screen and some times the main laptop screen (if I'd shifted a monitor to the loaner to have a 2nd screen on it
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing 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
|
|
|
|
|
Dan Neely wrote: Took a minute or so before I realized why my coworker was randomly popping context menus all over the place.
Dan Neely wrote: In those cases my desk looked like...
That is a setup!
|
|
|
|
|
raddevus wrote: But I am weird. First step is to acept it
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I am totally left-handed, but have always used the mouse in my right. In fact it makes much more sense, since it leaves my left hand free to type, use function keys etc.
|
|
|
|
|
Arrow keys > function keys.
Especially 25 years ago when I got my first mouse and WASD wasn't a thing for gaming yet.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing 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
|
|
|
|