|
Yes; it's a meta-need.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
If there is even a remote possibility that you'll want to localize your application, create all the strings first and use them instead of literals.
Really. Trust me on this.
|
|
|
|
|
Literals (or better the lack of them) make one of my personal code quality metrics, and not only for resources. Another one would be 'stringly typed code' (or hopefully the lack of it).
And then we had that guy who dilligently put all his SQL strings in resources. As if we ever needed localized queries.
|
|
|
|
|
Generally a good idea, but there is a limit to that strategy. I worked on a product that was internationalized, and we discovered that the SMTP server wouldn't talk to it any more. Some strings should not be translated to the user language...
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
Don't generalize too early.
You don't know what the future will bring.
About twenty years ago I was assigned some maintenance on part of a system. The code needed to read and write fixed-format files to communicate with a third-party system. Someone had gone through to a lot of trouble to make this positions and lengths of the field configurable -- "See? You just change the config, to don't need to recompile... " I can hear him say.
Except no one _ever_ needed to move or resize the columns. My first task was to _add_ two new columns. And _adding_ columns to the convoluted configuration process was a PITA!
(Aside: that third-party product wasn't Y2K-complaint and was replaced anyway.)
By the time I had left the company I had completely redone that subsystem to make it flexible in a completely different way.
|
|
|
|
|
... and I wanted to ask him wether hackers are encrypted after death.
|
|
|
|
|
What, pray, do castrated rams have to do with it? Is this a suggestion to curb my behaviour?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
You have the balls to ask that?
|
|
|
|
|
I think we should snip this conversation before it gets out of hand
cheers
Chris Maunder
|
|
|
|
|
You think we've reached the cut-off point?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Let's just hope he's not able to reproduce such a baaad post.
cheers
Chris Maunder
|
|
|
|
|
I inherited a few guns this weekend from my dad (passed away last year), One was an old Stevens double-barel break-action shotgun (circa 1960's) that he inherited from his brother, another was a 7-shot .22 revolver circa 1965, but the gem (probably of interest to the brits on here) was a Webley Mk "V" revolver with a 6-inch barrel, also inherited from his brother).
This is the rarest of all the Webley revolvers in terms of production numbers (3700-4000 produced), which makes the following fairly disheartening.
The rifling has been removed, and the barrel threaded for a choke, so it could shoot 45 shot ammo with moon clips. The gun was used as a varmint pistol. As a collector's item, it's worth nothing more than to serve as a curiosity, and it would probably bring more money as scrap metal. As a self-defense pistol, there are far better .410 pistols available that would make bigger holes in bad guys. Since the rifling was removed from the barrel, I can't even return it to original condition (even if the parts were readily available). What a crying shame...
".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
|
|
|
|
|
There ought to be a law against mistreatment of such collector's items. (OTOH, who would they sue? )
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Did you ever hear about 'pinfire' cartridges, I have old rusty revolver lying around with strange notches at the side, I think it must be a 'Lefaucheux':
Lefaucheux M1858 - Wikipedia[^]
No idea what it's worth ...
|
|
|
|
|
While I can agree that when something becomes vintage or antique, it's sad to find that it has been altered.
Yet, one must also recognize that it was once new, and at that point it was just a tool for doing a job.
I can imagine a future when someone finds an old Mustang in a garage in Texas and is shocked to discover that the original engine was replaced and the hood has a huge hole in it with a freakin' blower sticking through it.
|
|
|
|
|
PIEBALDconsult wrote: a future when someone finds an old Mustang in a garage in Texas Why should someone lock up a poor old animal in a garage?
PIEBALDconsult wrote: and is shocked to discover that the original engine was replaced and the hood has a huge hole in it with a freakin' blower sticking through it. Poor thing...
(I know you mean his car)
|
|
|
|
|
... I can't get used to the random layout feature. Who knows how often I have set back the layout option from fixed to fluid just today. What will I get when I post this message?
Relaxed or tight spacing? Will it suddently open all threads or only show the captions? 50 posts per page or maybe less? Who knows. Years ago I reported getting seemingly random settings at about every second click, but that was when not logged in. Now I have this even when I'm logged in.
I can assure you, this is not a joke. That's a very real bug which occurs on different computers (at work and at home) and logging out or clearing the cookies (and everything else that you can clear in a browser) has not helped.
Ok, I'm going to post it now. let's see what settings I get ...
Edit: It went well! All settings as I want them! Or I just won the CP settings lottery.
Edit^2: Did not last long. After editing I got only 10 posts per page. let's spin the wheel again...
|
|
|
|
|
I have never had any problems with layout. All the options I set stay set and work as I expected them to.
What are you doing to your browser?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Absolutely nothing. Just looking at your response changed my settings to thread view and tight spacing. Sometimes the settings stay for hours and then they change with every click. I have found no pattern yet.
Edit: Posting this changed my spacing to compact.
|
|
|
|
|
Weird!
I can't think of anything else to say.
Have you checked your PC for poltergeists?
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Three! Three PCs, this one at home, one at work and the one at the place where I don't work anymore.
|
|
|
|
|
It should be something personal
I never had problem with in-volunteer layout changes - ever...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I can confirm your observations. No doubt that it happens, although I suspect you may exaggerate the frequency with which it happen.... Irritating, but as a programmer, I'm sure it's a feature, not a bug...
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
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|