|
I'm working on an article based on some stuff I did for work, and I had a rather unique problem to resolve.
The code (at work) uses a control from a commercial WPF control library. I went searching for a free control that did the same thing as the commercial control, and found one, but it sucked so bad that it was unusable. There's even an article about it here on CP, and believe me when I say that I'm exercising all the restraint I can muster not to leave a message for the author telling him how utterly unusable his code is.
That situation left me with nothing but commercial libraries to deal with, such as Telerik, DevExpress, ComponentOne, and others. Whether you've noticed it or not, articles posted on CP that feature/use commercial libraries are generally poorly received, because the application cannot be compiled without the correct and appropriate library assemblies being included in the project.
So, in the interest of trying to support as wide a code base as possible, I architected the article code so that adoption of the programmers chosen control library is as painless as possible.
All library-specific changes are limited to just three small files in a single assembly, and declaring a compiler directive in the assembly's Build properties, and all of the core code in the article's application can remain un-touched as a result.
I think I've restarted the code for the article more than half a dozen times, and refactored the final version twice so far, just to address these concerns. Each restart, and each refactor is the result of trying to write the article, and tripping over code I wrote that imposed seemingly arbitrary requirements that pissed me off as a developer.
100 points will not be enough for this article...
".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
|
|
|
|
|
John Simmons / outlaw programmer wrote: WPF control library
Glad it was WPF. Then I know it's not one of my controls you're bitching about...
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
|
|
|
|
|
Well, I was actually going to include adoption of the free control along with the commercial libraries, but it's essentially crap.
".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
|
|
|
|
|
John Simmons / outlaw programmer wrote: but it's essentially crap. Yet another proof that it was no control of mine...
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
|
|
|
|
|
You could do better, you could fix the article (and the code) of the free control.
|
|
|
|
|
That would take a lot longer than just insulting the author...
".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
|
|
|
|
|
And you'd only have a fraction of the fun...
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
|
|
|
|
|
But wouldn't fixing it be the perfect insult?
[EDIT] Just remembered: were you in LA a few nights ago? Saw a tricked out Mustang with Texas plates on the 101. The plate was: <heart> 2 RACE. Had to be you...
|
|
|
|
|
John doesn't have a heart. He is actually an android race car driver, who likes to beat up bad article writers.
|
|
|
|
|
|
Slacker007 wrote: He is actually an android race car driver He sure as f*** wouldn't be an IOS race driver.
Software Zen: delete this;
|
|
|
|
|
I don't like beating up anybody, but when there's a job to be done, and nobody else is doing it, I feel like it's my responsibility to step up.
".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
|
|
|
|
|
I don't "heart" anything.
After the 6-71 blower gets installed, my plates are gonna read "DSCREET".
".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
|
|
|
|
|
John Simmons / outlaw programmer wrote: my plates are gonna read "DSCREET".
I would have thought you'd have: C U SUKR or F U BOZO
|
|
|
|
|
Texas ain't as liberal as Calipornia.
".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
|
|
|
|
|
Not to state the too obvious, but perhaps JSOP was being ironic?
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Irony is my favorite metal.
Well, that and Velcro.
".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
|
|
|
|
|
Having just watched the 2nd (I think) episode of the Grand Tour I feel sorry for your neighborhood, for about 5k around you normal travel route.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
John Simmons / outlaw programmer wrote: Each restart, and each refactor is the result of trying to write the article, and tripping over code I wrote
Sometimes I think developers should be forced, yes forced, to actually write about they're code. I've had that experience many times, when writing the article and I'm trying to explain my code, and there's this WTF!?!?! experience and I go back and rewrite the code, then the affected sections in the article, then rewrite more code, etc.
If it goes on for too long, I will actually write in the article "ok, this code is crap, but it works for the moment" or something similar.
Marc
|
|
|
|
|
Caravan Palace - Lone Digger (Official NSFW video)[^]
Caravan Palace - Lone Digger (SFW Album Version)[^]
Official video is pretty nice, a couple of cats enter a strip club where an antelope is working the pole while some dogs pick up a fight and blood flows abundantly.
Someone on the internet described it as "Disney's Zootopia when it's directed by Quentin Tarantino"
Anyway, added a boring video with just the album cover which is kid sister safe.
Video aside, it's the MUSIC that counts (or this would be Video of the Week)!
The music is awesome electro-swing that reminds of Parov Stelar.
Very danceable and enjoyable
|
|
|
|
|
Good pick-me-up, that. Party on!
"This new learning amazes me, Sir Bedivere. Explain to me again how sheep's bladders may be employed to prevent earthquakes"
|
|
|
|
|
The music was enjoyable and that video was, ummm, interesting.
if (Object.DividedByZero == true) { Universe.Implode(); }
Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
|
|
|
|
|
Can i post the article which is describe about filable PDF using Adobe Acrobat Pro DC..
Description like how to do validation using script, how to create filable PDF etc...
|
|
|
|
|
Yes - But you have to put it into the Third Party Products and Tools[^].
Be aware of the rules stated there:
Quote: 1. You must provide significant innovation and cannot simply be a how-to guide that would appear on the vendor's own help pages, or you must solve a significant problem common to users of the product or library.
2. You must not post advertisements for the product, implicit or explicit. We are the final judges on this. There will be no mention of price, offers or coupons, upgrades, trials or anything that would induce or tempt a person to visit the third party site and download the product. This article is purely for those who already use the product.
3. We reserve the right to replace any links to the product with search-engine unfriendly links. 4. Articles must not be used to promote a product in any form, including SEO.
5. Articles must be tagged "third-party"
6. Articles must not be written by anyone associated with the company that writes the product. Self promotion is not allowed.
If in doubt, ask @sean-ewington [sean AT codeproject DOT com]
modified 15-Dec-16 6:10am.
|
|
|
|
|
And get someone to proofread it.
|
|
|
|
|