|
MinDelta->Fall / MaxDelta->Climb?
|
|
|
|
|
Mladen Janković wrote: MinDelta->Fall / MaxDelta->Climb?
Ooh, I like that!
Marc
|
|
|
|
|
Marc Clifton wrote: Suggestions? ..on a programming question in the lounge?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Has nobody suggested Shirley yet?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
My
Bryian Tan
|
|
|
|
|
Without any Humor: Minimize
modified 19-Jan-21 21:04pm.
|
|
|
|
|
0x01AA wrote: Minimize
Ah, I think we have a winner!
Marc
|
|
|
|
|
Bruno
modified 19-Jan-21 21:04pm.
|
|
|
|
|
MinnieBannister
But then you'll have to find a place for a HenryCrun , and maybe an Eccles and a Bluebottle .
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Max - just to confuse everyone
Ah, I see you have the machine that goes ping. This is my favorite. You see we lease it back from the company we sold it to and that way it comes under the monthly current budget and not the capital account.
modified 31-Aug-21 21:01pm.
|
|
|
|
|
minifyoufeellikeit
Rules for playing Javascript frameworks.
1. You can't win.
2. You can't break even.
3. You can't get out of the game.
|
|
|
|
|
Keep it simple and traditional: DeltayMcDeltaface
|
|
|
|
|
Marc Clifton wrote: I know there's Math.Min, but I want a fluent implementation, so just go with it FMI, what's not fluent about Math.Min? Or is that a fancy way of saying you wan to be able to chain it?
Jeremy Falcon
|
|
|
|
|
Hi, Marc,
I am a little wary of extension methods on 'Int32 because of compiler error #CS0023
<CS0023 Operator '-' cannot be applied to operand of type 'XXXXXX caused by an attempt to use/call the method on a negative integer; while this can be worked around by putting the negative value in parens; I find that tedious.
var x = -100.SomeExtension(10);
var y = (-100).SomeExtension(10);
var z = 100.SomeExtension(10); I regret to say this same error occurs in VS 2017, using the latest FrameWork version.
I assume this is an operator execution precedence issue ?
I have not evaluated whether this error occurs with other numeric Types; I hypothesize it will.
cheers, Bill
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
modified 15-Feb-17 11:56am.
|
|
|
|
|
BTW: I am based in the UK...
I was recently asked by my company why I had not signed up to their "Hack-a-thon" day.
I was really peaved that someone would ask, and got a bit defensive (like us devs do).
They asked why. So I gave them following answer:
"I am a professional software developer, and don't think that stuff given the moniker 'hack' sits well with all I have tried to do in my (many years) of being a software developer."
Yes the romantic idea that a company can feed you pizza and beer, and probably get some tangible "product" that could be marketed strikes me as odd as me (or you) would never see any recognition of the "product" dreamed of (financial or kudos).
Some of the great "hacks"/ideas have happened in peoples "spare time" have resulted in multi-million companies (Facebook, Uber etc). Where would these be if they were given away on a "hack"?
If I was smart/imaginative enough to come up with an "industry changing" product, I would setup my own business and do it there. I would probably do the same if it just made my life easier (think "Hive").
I have a family which i really like more than (unpaid) work, so it's a bit of a no brainer/insult when I am asked (and looked down upon and decline) to spend 24 hours at work and still do my day job!
There is no other industry where the employees do "homework" or their work for pleasure, so why is this encouraged in software?
I had friends that are builders, plumbers, bin-men, train drivers, airplane technicians, shop workers and bankers (yup wide circle) - none of these are asked to perform their day job in their spare time for no reward - so what's the crack?
Are there any other industries that asks this of employees??
|
|
|
|
|
richp669 wrote: There is no other industry where the employees do "homework" or their work for pleasure, so why is this encouraged in software? There is; but in our industry there is more competition. If you don't do as told, they'll hire someone who will. And there is always someone willing
richp669 wrote: Are there any other industries that asks this of employees?? It is not the fault of the industry; what kind of idiot employee would agree to work for nothing? Anyone who accepts the deal has earned it, and deserves it completely.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: There is; but in our industry there is more competition. If you don't do as told, they'll hire someone who will. And there is always someone willing Strange, but I never had that problem. Bosses always wanted to keep up that illusion, but at the same time they were begging on their knees for applicants to come to an interview. Actually, they were not so smart. They want only the best codemonkeys and at the same time they want them to easily replacable. Even someone with a hamster's brain must see how contradictory that is. But not them.
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.
|
|
|
|
|
CDP1802 wrote: Bosses always wanted to keep up that illusion Ask your boss if he would pay you for doing nothing. The answer will be "no", because you don't get freebies. It's a business-deal, your time and expertise in exchange for money.
CDP1802 wrote: Even someone with a hamster's brain must see how contradictory that is. But not them. May be contradictory, but the strategy works.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: May be contradictory, but the strategy works. Certainly not for them. They were a shrinking and demoralized bunch when I left a year ago and by now there is barely enough of them left (including the bosses) for a poker round.
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.
|
|
|
|
|
True enough, but as it optional (and I hope not used to as a way of saying that I'm not a "team player", then its fine.
I bring more to the team than being a codemonkey (I hope)!
anyhoo - I was very clear at the job interview about my position on work/life/family balance and they still hired me!
|
|
|
|
|
Not really. The closest example that I can think of is the "unpaid overtime" that some companies (especially in the Legal and Accounting professions) require of their workers.
(Note that this may not be legal where you live, and it is unfair everywhere).
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
|
|
|
|
|
It's unusual for salaried professionals to get overtime pay; they're paid according to their knowledge, skills, and achievements, not by the hour.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
My former bosses also came with that Hackathon stuff and also expected us to come in on a sunday. If they pay us for results and skills, why do they see to it that we spend not a minute less than the weekly time in the office? And why are they much more generous when it is in their favor?
It's right to fulfill the contract you have signed, but that works in both directions.
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.
|
|
|
|
|
It's not for me to say.
It has to be a discussion between them, you, and a cricket bat.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
True, but that does not mean that they should be expected to regularly work more than a normal workday without remuneration. Being a professional is not equivalent to being a slave!
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
|
|
|
|