|
Cheater never came into mind. I thought of lender, bank and even Shylock..
Good one
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
Yes good one nearest I got was shyster but no cat link there :=)
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
That's card-sharp! Shark is used for a slightly different kind of cheater, as in loan-shark.
My rejected answers included porbeagle (it's not very good at being a dog so it's a bit catty, see!) and tigerish (tiger sharks are a thing) but I neglected the non-swimming sharks. I'm struggling a bit with the idea that a cheetah only might be catty though!
|
|
|
|
|
Member 9082365 wrote: That's card-sharp!
Can be either "Card Shark" or "Card Sharp"[^]
Member 9082365 wrote: I'm struggling a bit with the idea that a cheetah only might be catty though!
Well...they are technically Big Cats - Panthera - which is a different genus from domestic cats = Felis - and as such have round pupils[^] just like we do, rather than "cat's eyes". But...they purr rather than roar (you can't do both) so they are "a bit catty" rather than the "full moggy"!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I am going to have an exam of C++ tomorrow, so I thought why not just open the book, swap pages from one to the last one, then close it and go back to Haskell once again. But while I did, I asked myself "Are arrays actually consecutive in memory?".
Along with that, I came to another question, "Why is a[5] == 5[a] ?" that was something I never knew about before. So, I went searching for the answers and tried it on my own machine too, to make my mind actually believe that I was accessing the ath element of array 5.
int main()
{
int a[5] = {1, 2, 3, 4, 5};
for (int i = 0; i < 5; i++) {
std::cout << i[a] << ", ";
}
std::cout << std::endl;
system("pause");
return 0;
}
For those who didn't know it (just like me!) the logic is that C (or C++) translates a[5] to (a + 5) and then gets the data from that location. Which, is similar to having 5[a] that gets translated to
(5 + a) . Mathematically, we know 5 + a == a + 5. Thus, compiler accepted that.
I hope, I am not alone who didn't know it yet. I can say I know nothing of C or C++.
For those who want to read a thread, head over to http://stackoverflow.com/questions/381542/with-c-arrays-why-is-it-the-case-that-a5-5a?rq=1[^].
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
And now that you know it, please try to forget it.
Because if you use that in "real world" code, somebody is going to smack you round the head.
Hard.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Yep, won't make any use of it. But it was interesting fact.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Nah!
It's for C++ people.
Those people love those kind of shoot in your own foot kind of tricks! Show the world that only real man (and real woman too, of course) dare to C++!
|
|
|
|
|
"C allows you to shoot yourself in the foot. C++ makes it harder, but if you succeed, it will take off your whole leg!" - Unknown
Fletcher Glenn
|
|
|
|
|
|
Agreed.. because you can doesn't mean you should.
|
|
|
|
|
But we both know once something is seen it cannot be unseen and that it will be done just to amaze and confound others.
New version: WinHeist Version You didn't fall from the stupid tree you got dragged through the whole dumbass forest.
|
|
|
|
|
|
Will give it a view, because next task of mine is to forget it as per OriginalGriff's suggestion.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
I guess it's only for type of the same size as int....
and a good source of endless bug and fun!
|
|
|
|
|
Nah, on that link, it was shared that compiler runs a multiplication with sizeof(a) itself.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Afzaal Ahmad Zeeshan wrote: I am going to have an exam of C++ tomorrow Good luck on the exam!
Afzaal Ahmad Zeeshan wrote: go back to Haskell once again Yikes!
|
|
|
|
|
Quote: Afzaal Ahmad Zeeshan wrote:
go back to Haskell once again Yikes!
Trust me, Haskell is much easy and simple language. Although I started learning Haskell 2 days ago, I think I am enjoying the much simpler and better syntax.
After all, you also like PHP[^]. Don't you Sander?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
|
Much respect for you, to bear so much pain, Sander!
I have just started Haskell, and I am very much loving it. I would give these articles of your a look, you have written a great article for Haskell. You got some more I can pay some attention to?
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Afzaal Ahmad Zeeshan wrote: I have just started Haskell, and I am very much loving it. Haskell has good parts. It certainly changed the way I do my C# programming
I just don't see myself writing entire applications in Haskell just yet...
|
|
|
|
|
Quote: I just don't see myself writing entire applications in Haskell just yet... Same thing here, I may never write entire application in Haskell, but I would love to use a few code blocks and make it interact with the WPF applications.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Why not use F#?
That's a whole lot easier to integrate with your C# projects.
You can even do WPF entirely in F# without any hassle/Haskell!
|
|
|
|
|
I know F#, a little bit.
But right now I am getting rid of being "All Microsoft Geek Boy!". I am learning Linux, trying out new flavors of Linux... Currently my choice is
- Ubuntu Studio
- Ubuntu
- openSUSE
So, when I was learning other operating systems, I thought why not learn other frameworks and programming paradigms. I am not learning Haskell for WPF as I am not at all developing WPF these days. I am instead learning functional programming itself. From my research I came to know that LISP, Scala etc. were all easier than Haskell, which provoked me to take Haskell as a challenge. It was a great experience learning Haskell.
No Microsoft based programming for a while... Learning Linux, learning non-Microsoft languages. I mean, there are many frameworks and systems that a programmer must know. After all, there are many already doing the job of "Jimmy Kode[^]" in this world.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Afzaal Ahmad Zeeshan wrote: there are many frameworks and systems that a programmer must know The average programmer only needs to know a few (and knows less)
It's good to know a bit about everything because every new language or framework gives you a new perspective on the ones you already knew.
For example, knowing Haskell made me really appreciate C# again!
|
|
|
|