|
Needs some recursion. Too understandable as-is. Maybe call this from within the instantiated threads. Yeah, that's it!
|
|
|
|
|
let's just skip right to Stack::Blow();
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Computers need stress tested every once in a while!
|
|
|
|
|
Just tell your computer "we need to talk"
|
|
|
|
|
Yeah, I talked to him before. He's a slightly higher level of noob playing with devices he has little experience with. I saw the docs he's got and they're just a list of function headers with little explanation, written entirely in Chinese.
He was hell-bent on "creating an instance of the API for each reader". I told him he would have to create a class to talk to the readers himself since there isn't one in the library.
|
|
|
|
|
I admire his tenacity at least.
Punching outside your weight class isn't all bad, when you're learning stuff.
It's hard to justify when you're getting paid though.
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: Punching outside your weight class isn't all bad
That's how you learn, for good and for bad
Wrong is evil and must be defeated. - Jeff Ello
Never stop dreaming - Freddie Kruger
|
|
|
|
|
honey the codewitch wrote: And now I feel like a gave a child a loaded pistol
I don't see what the issue is. It sounds like a problem that will soon sort itself out.
|
|
|
|
|
|
Most excellent!
I may even have found my next SOTW
|
|
|
|
|
Great ..
BR
|
|
|
|
|
Today, in 1954, the first FORTRAN program ran. They don't say how long it took to write/debug it, maybe started in 1953? I can remember clients who insisted in doing accounting using it. After multiply/divide operations (2*$3.50=$6.999999999999), they added .00001. The good old days of punch cards. Still have a few around here, along with a vacuum tube (valve for those of you on the other side of the pond).
Cheers.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
What is old is new again. Got JQuery-Ui drop even to fire yesterday. Momentus occasion here as I have been fighting it off and on for a few days.
|
|
|
|
|
It was about today, in 1969, when I wrote and ran my first Fortran program. It compiled without errors and ran correctly the first time. It has become my canonical "Hello World" program for every new language I encounter. I now know somewhere around 100 programming languages. I've gotten almost all of them to do the right thing on the first whack, but yes there are a few that didn't. APL was one of the embarrassingly frustrating ones, where the complete program consists of 4 characters (plus carriage return), and I got it wrong on that one.
... so why didn't I just write a 'real' "Hello World" program? Because that is something that started with the "C" language, which hadn't been invented yet. At least, in the universe that I lived in.
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
Remember APL as well. Did some simulation with it. The old saying still rings true: You can always tell and APL programmer. But not much.
Lou
I would retire but I never got around to commenting my code.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
People are usually shocked when they find out.
|
|
|
|
|
This electrician joke is so lame. Don’t you have some more current one?
|
|
|
|
|
|
Ohm my god. That joke is reVolting.
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
That's negetive thinking Sander. Try to be more poitive man.
|
|
|
|
|
You just couldn't resist, could you?
|
|
|
|
|
I think I'll remain grounded on this thread.
|
|
|
|
|
So you have a great potential for being Neutral.
(European power supply is strange: If you are Neutral, you have all the Live potential to the one side, not distributed to both sides. I live in an area where, if I have both feet on Ground, the potential goes to both sides, and neither can claim to be Neutral. This is considered old-style - the modern style is the one extreme being Neutral. I guess that in some areas that goes for more than electricity.)
|
|
|
|
|
Earlier in the week I posted a request for DB software for cataloging a largish classical CD collection, and received several useful replies. In the end I decided to roll my own in Access, and built the structure and relationships, and even got as far as loading 40 principal instruments, 100 genres and 900 composers. The base item of the DB was the 'work', a CD comprising of one or more works, and some works appearing on more than one CD. Great stuff - I was pleased with the flexibility of the design for what I wanted.
Then I stopped to think. I estimated about 10,000 separate works in the collection. Even with everything for the 'work' being in drop-downs, just typing in the work title was going to be a very long pain in the asterisk, even before entering all the CD titles.
Time for a rethink, and copious hot caffeinated liquids!
I am an enthusiastic amateur photographer, with a good and fast Epson scanner, and Adobe Lightroom.
Solution - scan the front and back of all the CD 'jewel boxes' - my scanning software lets me join two JPEGS - and keyword the hell out of them. I can then browse through the covers and works by using simple keywording for composer, genre, sub-genre, key instrument und so weiter. By having the scan of the CD cover I will be able to recognize the album straight away. The filename will be the location of the CD - drawer number, rank, and position in rank. My plan for using Lightroom fell apart as I have only a single licence, and the hi-fi laptop is not my main machine. A quick web search located an open-source project, 'digiKam', which is perfect because it supports hierarchical keywording.
Yesterday I went out and bought a cheapo knock-up desk (or 'study table', as it grandly calls itself) and am about to put the thing together in the drawing room, and then stick the hi-fi laptop and scanner on it. In a trial run on my rather cluttered upstairs desk it took less than 15 seconds each to scan a batch of CDs front and back. Then it is just half a dozen clicks to register the keywords.
The beauty of this system is that I can pretend to be doing useful work while actually sitting down and listening to my favourite music!
modified 20-Sep-20 8:13am.
|
|
|
|
|
I have an object array like below
[{id:101, StartTime: "2020-08-26T09:00:00", EndTime: "2020-08-26T18:00:00", Effort: "09:00:00"},
{id:102, StartTime: "2020-08-26T08:30:00", EndTime: "2020-07-02T19:25:00", Effort: "10:55:00"},
{id:103, StartTime: "2020-07-02T00:00:00", EndTime: "2020-07-02T00:00:00", Effort: "00:00:00"},
{id:104, StartTime: "2020-08-26T09:00:00", EndTime: "2020-08-26T18:00:00", Effort: "09:00:00"},
{id:105, StartTime: "2020-09-18T10:00:00", EndTime: "2020-09-18T21:00:00", Effort: "11:00:00"},
{id:106, StartTime: "2020-07-02T00:00:00", EndTime: "2020-07-02T00:00:00", Effort: "00:00:00"},
{id:107, StartTime: "2020-07-02T00:00:00", EndTime: "2020-07-02T00:00:00", Effort: "00:00:00"}]
I need to get the object where the Effort column should be greater than zero minutes
i need result like below
[{id:101, StartTime: "2020-08-26T09:00:00", EndTime: "2020-08-26T18:00:00", Effort: "09:00:00"},
{id:102, StartTime: "2020-08-26T08:30:00", EndTime: "2020-07-02T19:25:00", Effort: "10:55:00"},
{id:104, StartTime: "2020-08-26T09:00:00", EndTime: "2020-08-26T18:00:00", Effort: "09:00:00"},
{id:105, StartTime: "2020-09-18T10:00:00", EndTime: "2020-09-18T21:00:00", Effort: "11:00:00"}]
Thanks
Software Engineer
AcSys IT Software Solution
|
|
|
|
|