|
Hell's bells! Have you been reading self-help books?
That reply's a verbatim quote, isn't it? You didn't even have to modify it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: That reply's a verbatim quote, isn't it? Nope. And since you seem so interested in it, I have now copyrighted it. You've been warned.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
*sigh*
Yet another div who doesn't know the difference between a copyright and a trademark.
*sigh*
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
It's OK. You can google their meanings. Don't feel bad.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
No no, not M$. It was some site who I trusted, but betrayed me jumping like Koko the monkey[^]. YouTube Link
BTW I liked your Sig.
modified 15-Jun-16 19:34pm.
|
|
|
|
|
|
I chuckled and then I chuckled some more.
|
|
|
|
|
To calculate the volume of a Leprechaun’s hat, do you need a poly gnomial?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
No, I think that's a misgnomer.
/ravi
|
|
|
|
|
You could ask to borrow his hat, but he probably won't give it to you as I hear they're pretty elfish.
"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
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Make gnome mistake - I'd never do that!
/ravi
|
|
|
|
|
I'm fairy certain that I wouldn't do that either.
"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
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Ey! To joke about small people is a nasty hobbit!
... such stuff as dreams are made on
|
|
|
|
|
Wouldn't it be a gnomic section?
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 he's an urban leprechaun, you could use a metrognome.
Software Zen: delete this;
|
|
|
|
|
Your timing is off.
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
In my current multi threaded app I am using an AsyncSQLiteConnection and I need to make sure only one person at a single time use this connection. But with all the async code and background thread it's a bit difficult to track who does what!
Enter the ClassName .
I was thinking of a pun mixing Async + singleton = AsyncGleton .
Any other suggestion from you native speakers?
EDIT
Thanks TheGreateAndPowerfulOz, it is now Exclusive<T> , as in
async Task AsyncSave(Exclusive<ASyncSQLiteConnection> eConn) {
using (var session = eConn.AcquireValueAsync()) {
var conn = session.Value;
myData.ID = await conn.AsyncInsert<Table>(myData);
}
}
modified 15-Jun-16 18:46pm.
|
|
|
|
|
Yes. Never check any code into my repository.
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
AsyncSQLiteSingleConnection
#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
|
|
|
|
|
errr..... I was thinking along that line
class AsyncGleton<T> {}
AyncGleton<AsyncSQLiteConnection> database;
But your suggestion could be, then
class AsyncSingle<T> {}
yes?
nicer I think....
|
|
|
|
|
Well, AsycSingle<T> is better than AsyncGleton<T> but that still implies singleton-ness rather than one-at-a-time-ness. I assumed that you meant there could be more than one of the "T" instances, but any one of those could only be used by a single thread at a time. Does that mean one per thread or can it be shared between threads?
Also, if the Async-ness is not part of the wrapper class, but part of the "T" then why not Singly<T> or Exclusive<T> or Solo<T>. Of course, you can prefix Async to those if the Async-ness is part of the wrapper. Personally, I would choose Exclusive<T> or AsyncExclusive<T>.
#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
|
|
|
|
|
There is only one of those T.. (since there is only 1 database file) but it might be shared across threads
I like your many suggestions.... Exclusive<T> it is!
Here you go, as sample method using it, using your suggested name!
async Task AsyncSave(Exclusive<ASyncSQLiteConnection> eConn) {
using (var session = eConn.AcquireValueAsync()) {
var conn = session.Value;
myData.ID = await conn.AsyncInsert<Table>(myData);
}
}
modified 15-Jun-16 17:43pm.
|
|
|
|
|
Lowe's Hires Man And His Service Dog, Outfits Them With Matching Vests[^]
He was being rejected other places due to his injury and service dog.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
/ravi
|
|
|
|
|
Can't buy publicity like that. Oh, wait...the Huffington Post probably did get paid for that ad.
|
|
|
|