|
Didn't even watch the opening ceremony - had one too many and nodded off!
|
|
|
|
|
_Maxxx_ wrote: Didn't even watch the opening ceremony - had one too many and nodded off!
I didn't watch it cause all opening and closing ceremonies are shite. Had a bit of a flick through during the day and found too many non sports in there to keep it on.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Park City is a short drive from Salt Lake City and has many excellent eating establishments and cool shops. Also there may still be skiing there and also in Big & Little Cottonwood canyons.
Visit Temple Square
Red Rock Brewery in downtown SLC has excellent food and is said to have excellent beer. Same with Squatters Pub Brewery. See The Best Breweries in Salt Lake | Salt Lake Blog[^]
Lots of outdoor activities.
#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
|
|
|
|
|
Just had what I thought was a brilliant idea.
How many times have you been editing code (or your latest novel) and highlighted text you want to replace - then realised you first need to highlight the text you want to replace it with?
(OK, maybe not all that often, but often enough!)
so, how about some key/mouse combination that is effectively:
Select Destination for paste.
Select source for copy.
say, for example, you have:
var foo = "hello world";
var result = SomeMethod("G'Day world");
You drag the mouse over "G'Day world" (or otherwise highlight it)
Press ctrl-alt-V (select paste destination)
Your mouse cursor changes to something appropriate.
You drag the mouse over foo (or otherwise highlight it)
Press ctrl-alt-C (select copy source)
the result
var foo = "hello world";
var result = SomeMethod(foo);
Seriously - genius, no?
PooperPig - Coming Soon
|
|
|
|
|
I do that once in a while. Not frequently enough to add it to my editor... yet.
As to that, I started adding a feature to my editor some months ago and just haven't gotten around to completing it.
|
|
|
|
|
Here is how I handle that... This works in any windows edit area.
1. type xxxxx to remove the current selection, but leave behind a nice reselect target.
2. highlight the desired replacement text, double click would work in this case.
3. Ctrl+C
4. double click the xxxxx
5. Ctrl+V
|
|
|
|
|
|
Well, then, make ABSOLUTELY CERTAIN you change it in the next -10675198 days!
|
|
|
|
|
So it has expired almost 29250 years ago. So you have used devices built with stone knives and bearskins?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
I'm thinking that Ancient Aliens[^] show may really be onto something!
"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
|
|
|
|
|
CodeWraith wrote: So you have used devices built with stone knives and bearskins?
Nope, just ASM; practically the same thing...
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
What they meant was "Your password will expire in TimeSpan.MaxValue.TotalDays ."
/ravi
|
|
|
|
|
Close - there's a minus sign, so it's actually Math.Round(TimeSpan.MinValue.TotalDays) .
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Now head over to weird and wonderful forum and show us your code.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
|
what? surely the presentation layer is fully separate from the business logic?
I think somebody missed a few too many classes.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Lopatir wrote: I think somebody missed a few too many classes
Classes? We don't need no stinking classes!...oh, wait.
I'm just going to call it another webform and move on!
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: employees working different shifts of non-contiguous hours.
I can think of a couple.
On call contractors
Law enforcement, First, Second, Power Shift (Power shift, are just added people offset between Second and Third Shift), and Third Shift.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
even 24 hour shops, supermarkets and food outlets have this.
OP perhaps hard coded too much "logic" or/an assumptions of what/when shifts are.
Doing a similar project for a manufacturing company, in particular they want to capture real project man hours, sure they very concisely told me what the typical scenario is including a very precise definition of what a "shift" was (need to to capture OT) - there were no exceptions. 3 months on there's never been a single job that fit the standard scenario, and yes, what they define as a shift now has variants (heck, what they define as a "man hour" has variants.)
There's nothing to hard code, but regardless there nothing that should be hard coded.
For sure shifts have nothing to do with time of day, duration, break intervals... and even less to do with any other shifts parameters even in the same role.
I don't understand the OP's issue - regardless situation if "shifts" overlap or not (which seems to be his "problem") should have been irrelevant from the very start. Sounds like a very poor implementation, and I will go as far to say there's really no excuse for that.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Lopatir wrote: what/when shifts are.
Makes me wonder, if there isn't a component to it to find unscheduled work hours / periods. Though that should be equally configurable.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Lopatir wrote: I don't understand the OP's issue Agreed...it was a rant. To clarify, the issue is whether or not to allow manual edits for multiple shifts in the same view.
Lopatir wrote: Sounds like a very poor implementation
That's presumptive based on the facts given. I was purposefully vague to avoid being tagged as a programming question. No question, no problem, just a rant.
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: That's presumptive
That's why we are here.
kmoorevs wrote: it was a rant.
I just call that speaking now.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
When systems collide... We have one system that tracks time/costs.
Another that generates work. Load the work, get the costs.
LONG AFTER Implementation, they mention parallel efforts?
Oh, so we have a MACHINE that cuts stuff up. We load it, cut it, move to the next load.
Oh, but that next load was processed by hand to PREP it for loading. Oh, so we need to create a VIRTUAL Work Center that tracks that effort, because it happens in parallel. A design that makes sense, in the end, but WHERE was the original business analyst that approved the first version that we coded to? Oh, they had NEVER TALKED to a single actual worker. The ONLY watched the first shift, while starting, that does not have this opportunity, so it looked like 2 steps on one machine.
Don't get me started about the COST of going to lunch when they forgot to hit the right button on the machine! LOL
|
|
|
|
|
It's only a small step from senior to senile
|
|
|
|
|
I think you need to talk with your so called senior partner and put the
idea on paper first and tackle all the problems that may arise implementing
the new requirement.Then document the design change (including UI and BL)
in a new design document and do a review and both of you agree that this
is what is needed to be done to achieve the solution to your new customer.
Then you could design your objects, classes and functional business logic
as a separate layer and then implement test cases for your processing function
to ensure that all the outcomes and test are covered. You need to implement functions that
take into consideration the duty,shift,24hrs....then I'm sure you knew all
this already...
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|