|
I'm hoping it was spilled coffee.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Um....
...Fluid...
Ingress?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I chuckled and had some non-PC thoughts about Chinese people humping their computers.
+24. Made my day.
|
|
|
|
|
<quote>
The job is demanding however, as new recruits are expected to watch an average of 700 pornos a week.
</quote>
It is a tough job, but someone has to do it.
I know a fellow who lives in the village who does it for recreation.
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
using System;
using System.Linq.Expressions;
namespace Shakespeare
{
static class Hamlet
{
static T TheQuestion<T>(T b)
{
return Or<T>.Do(Add<T>.Do(b, b), Not<T>.Do(Add<T>.Do(b, b)));
}
}
public static class Add<T>
{
public static readonly Func<T, T, T> Do;
static Add()
{
var par1 = Expression.Parameter(typeof(T));
var par2 = Expression.Parameter(typeof(T));
var add = Expression.Add(par1, par2);
Do = Expression.Lambda<Func<T, T, T>>(add, par1, par2).Compile();
}
}
public static class Or<T>
{
public static readonly Func<T, T, T> Do;
static Or()
{
var par1 = Expression.Parameter(typeof(T));
var par2 = Expression.Parameter(typeof(T));
var or = Expression.Or(par1, par2);
Do = Expression.Lambda<Func<T, T, T>>(or, par1, par2).Compile();
}
}
public static class Not<T>
{
public static readonly Func<T, T> Do;
static Not()
{
var par = Expression.Parameter(typeof(T));
var not = Expression.Not(par);
Do = Expression.Lambda<Func<T, T>>(not, par).Compile();
}
}
}
Hah! Generic Shakespeare clone!
With thanks to xanatos[^] - and if I use code like that for real, shoot me...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
where is the test class?
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
Indeed. A good test would have found that Do needs to be replaced with Be.
|
|
|
|
|
But apparently not yet publicised. Having second thoughts on its expressiveness?
|
|
|
|
|
Princes like their privacy...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
It's a lot quicker to read in English.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
It's quicker to read in C as well:
#define TheQuestion(b) ((b + b) | !(b + b))
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Ah, the good old days...
(No, I'm not going to start singing "Memories"!)
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
See what a hundred monkeys can do.
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
Or this one:
namespace Shakespeare
{
static class Hamlet
{
static Tbool TheQuestion<T>(T b)
{
return true;
}
}
}
BTW, your bracket formatting is god damn awful.
|
|
|
|
|
If you mean my "{" and "}" indentation, it's Whitesmiths - and it's the sensible way to do it!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
...so elephant off and take your "Windows 7 Build 7601 This copy of windows is not genuine" off my desktop!
Re-activation got rid of it, but that's annoying!
Mind you, I didn't get it last December with the update bug so I guess I shouldn't complain, probably.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Sounds like every version of Windows is an illegal copy. Windows 7 will be my last version
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
So you wont take advantage of the free upgrade to windows 10 then
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
No, I won't.
Even at the price of "free", it is still too expensive.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
good luck in the future on a minority OS, must make developing so much fun
You cant outrun the world, but there is no harm in getting a head start
Real stupidity beats artificial intelligence every time.
|
|
|
|
|
"Ooeeh, you're leaving the monopoly, you'll be starving from hunger"
You don't need Windows to run Windows-applications or .NET programs. I find it much more enjoying under 'nix. You keep following that Metro style if it makes you happy
That doesn't mean that I won't be developing under Windows any more - what I do at home differs from what I do at work.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Times change. Get used to it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Bergholt Stuttley Johnson wrote: good luck in the future on a minority OS, must make developing so much fun
Exactly
|
|
|
|
|
Slacker007 wrote: Exactly But it's not relevant.
Developers use machines that are issued to them. If you're given a *nix machine, then you use it to develop software -- and I've worked in Java houses where all but a small minority of the developers used Linux by choice.
Eddy was talking about what he will use for his personal machines, as was Griff, and as was everyone else including BS, until he decided that he could win some kind of victory by moving into the professional-machine camp.
I am also very tempted to dump Windows, and will probably do so just as soon as I find a flavour of Linux that isn't a total pain in the @rse to use.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: I am also very tempted to dump Windows, and will probably do so just as soon as I find a flavour of Linux that isn't a total pain in the @rse to use.
Good luck with that.
I will continue to make sh*t loads of money using Windows and other Microsoft products. Hater gonna hate, as my kids say. Whatever.
|
|
|
|