|
|
Nah, she was just acting rather alhoof that day.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
|
|
|
|
|
bull
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
They should make this[^] official!
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
|
|
|
|
|
And well done Greece[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Maybe when James T kicks the bucket as Shatner is Canadian.
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
Would they call that "Shatting" their currency?
|
|
|
|
|
Quote: their our currency FTFY
...as it's been plastic for a few years, I don't see why it would do any harm.
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
|
|
|
|
|
Old starship captains never die. They just become hookers.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
And when they retire they become lawyers
Geek code v 3.12
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++*
Weapons extension: ma- k++ F+2 X
// No comment
|
|
|
|
|
Yesterday I was once again reminded that it's often easier to solve a problem if you remove yourself from your work environment, as that forces you to think in a clear and unbiased manner.
For the past couple of days I've been stymied by a code smell re: the need to include Interop.Shell32.dll with a custom installer I'm writing for one of my freeware apps. The emphasis is on ease of use by a complete novice, and I wanted the user to be able to run a single standalone .exe that had no dependencies, other than the presence of .NET. Anyway, I figured I'd come up with a solution (that honestly seemed hackish at best).
Last night, I walked to the kitchen to turn out the light and found myself (involuntarily) drawn to a container of chocolate icecream. Several minutes and several more spoonfuls later, a ridiculously simple (and much more elegant) solution hit me. All this while I was no nowhere near my PC or Google.
Moral of the story: eat more icecream.
/ravi
|
|
|
|
|
What was the solution?
I've made a .Net WPF app a single exe by embedding the required dlls as resources in a post build event and then using OnAssemblyResolve (or something like that) to load them when needed.
|
|
|
|
|
Jacquers wrote: What was the solution? Ice cream man. Don't you read?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Jacquers wrote: embedding the required dlls as resources in a post build event and then using OnAssemblyResolve That was the smell.
I decided to instead keep the installer brain-dead simple (i.e. it just downloads the app and deposits it in a user-specified folder). After downloading, the app is started and instructed to delete the installer and create a shortcut in the Startup folder. That way, the interop .dll is one of the app's components and lives with it. The .dll is also required at run-time, because the app has a "Start with Windows" preference that can be toggled at any time.
/ravi
|
|
|
|
|
That's nothing new. Chocolate Driven Development.
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
|
|
|
|
|
CDP1802 wrote: Chocolate Driven Development.
/ravi
|
|
|
|
|
Glad you found your solution.
I had a similar deal (sans the ice cream) go on with a need for shell functionality.
I found a way to add what I wanted simply by adding a registry key so that the menu item shows up in File Explorer and user can select my functionality from File Explorer. At first I thought I had to have shell interop, but no. I was very happy.
YOu can see details in my CP article.
FileDestroyer: Annihilate Files (overwrite multiple times, then delete) With This Utility[^]
Don't focus on the destroy files thing, but just the way I call the functionality via the shell menu. Very easy to implement.
Thanks for sharing.
|
|
|
|
|
My apps are (now) exclusively portable with no impact on the OS. In fact, a requirement is that they be able to run entirely off a USB stick. The OS just provides the host execution environment.
/ravi
|
|
|
|
|
Ravi Bhavnani wrote: no impact on the OS
Very good. However, you mean a self-contained exe, right? They're still dependent upon the OS as in they will only run on windows, right? I mean they're not cross-platform are they?
Just curious.
Self-contained exes are always best. Great stuff.
|
|
|
|
|
Yes, sorry I didn't mean x-platform. They're Windows apps that are simply xcopy "installed" and can run entirely off a USB stick without writing any data to the host PC.
/ravi
|
|
|
|
|
Some version of Serendipity.
Don't want to provide a link. Search, and you'll find ... Chocolate.
|
|
|
|
|
Is there nothing chocolate can't do?
|
|
|
|
|
Chocolate is all powerful. Chocolate can even whup Chuck Norris.
/ravi
|
|
|
|
|
Only because Chuck would be like.... "I'm gonna kick your... Oh! you have chocolate! well then
that's different now..."
|
|
|
|
|
*OR* take up smoking. That's removes you in a similar way, but also makes you look cool in front of your friends.
Regards,
Rob Philpott.
|
|
|
|