|
Wow, no, never got anything that complex. I would imagine with await you'd need a separate AppDomain for the unknown number of threads, and then just kill it off afterwards, rather than bloat and complicate your code tracking them.
|
|
|
|
|
Well, what I meant here is that it's not really that complicated using async/await , compared to other methods. And it can be used consistently in any layers of call stacks ...
Imagine in a system that only asynchronous system calls are available (like in the RT subsystem of Windows and in part of nodejs), it would be very hard to build any backend, midware or API systems complex enough for real world applications, which most likely have many layers of abstraction on top, base on callbacks or event handlers. It's sometimes been referred to as callback hell, the origin of many subtle bugs ...
However async/await support (kind of coroutine) of a language makes it possible to make the code almost like the synchrounous one so that a programer can apply the sequential execution reasonning about the code and does not has to worry about the underlying async mechanism, which are managed by thread pools or even are not thread based (event driven systems, like nodejs). We had built quite complex systems in nodejs (using promises, similar to async/await) and Windows RT (before) using async/await.
|
|
|
|
|
|
Yeah. I miss his answers (@SAKryukov) too.
Where did he go?
|
|
|
|
|
No idea, but account is still active and in 1st place of who is who by rep
OriginalGriff has overflown the counter and has been relegated to the last place due to base 2 complement
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
(going for the 'how low a response can a post get' record) my welder cant run a 3.2 mm stick, that's about 110 amps, for more than 15 mins without the heat cut out kicking in and rendering it dead for half an hour. Its a sodding pain, this pergola is going to take days to put up.
|
|
|
|
|
Munchies_Matt wrote: (going for the 'how low a response can a post get' record) I'm just posting to make you fail. Goes well with your welder
|
|
|
|
|
So now you're in pergolatory?
|
|
|
|
|
Sorry, but that is very good.
|
|
|
|
|
Then why are you sorry?
Funny thing, here in SA, the majority of English speakers use, "Sorry?" to get someone's attention, e.g. "Sorry, would you mind not standing on my toe?". I use it often myself, and have made a firm resolution to only use in in genuinely apologetic contexts, and a normal greeting, like "Howzit, bru" instead, or just "bru".
That translates to, "How are things, brother?"
|
|
|
|
|
Brady Kelly wrote: English speakers use, "Sorry?" to get someone's attention
My wife does this mostly because she's hard of hearing and needs me to repeat myself, which I hate doing doing. What I really hate though is the obligatory conversation starters such as 'How are you?/Fine, and you?'. I still prefer the '90s phrase 'wassssup'.
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: What I really hate though is the obligatory conversation starters such as 'How are you?/Fine, and you?'. That's where 'Howzit' is really handy. No reply required, just maybe an echo.
I've long quite salutations on all but the first email I send to person I haven't communicated with before, and when I'm feeling really friendly I'll throw in a "Hi. Then the rest of the topic."
|
|
|
|
|
Brady Kelly wrote: Then why are you sorry?
Its just an Anglicism, and I dont mean men in black dresses.....
|
|
|
|
|
Stupid, obvious question, but wth...have you tried a fan?
"Go forth into the source" - Neal Morse
|
|
|
|
|
I don't think people standing around admiring my welding is going to help.
|
|
|
|
|
It might if they had their own welding equipment?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
It depends on how hard they can blow.
"Go forth into the source" - Neal Morse
|
|
|
|
|
Can we all avoid to see people blowing your hot welder? It would be appreciated.
DURA LEX, SED LEX
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
Reminds me that it's time I learned to weld. Have had my late dad's machine sitting idle the the garage for over two years now. Going to do a cleanup and flog most of his mountain of power tools, except the press drill, table saw, and welder. I can do a damned fine job with the other two.
|
|
|
|
|
I much prefer MIG welding, so much neater, but, if you are going to go stick, then use 3.2 mm rods, eighth inch in the US, as they are easier to use and good for most metal except if its less than 2 mm.
|
|
|
|
|
Thanks. I think the spare rods lying around are about that size, and I would very very wary of starting out first time welding on less than 4mm steel, or whatever the closest size to that it comes in for nice cheap plates and angle irons.
And, a MIG welder would set me back a few grand, where this old arc machine costs almost less than nothing.
|
|
|
|
|
i was taught as a kid, but these days there is so much on the net that you can pivk up the technique from vids. Try putting together something a bit rough, like a pergola, doesnt need to be good welding at all, and I am WAY out of practice with stick welding, and its difficult when you start doing over head fillet welds and that kind of stuff, but, with good plant and rods, you can do a good job still. If you really want to do a good weld every where, at any position, then MIG really is unbeatable, but, its expensive to buy a good MIG machine.
|
|
|
|
|
Have you run out of duct tape?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Have you tried dipping it in water to cool it down?
Joke aside, but there really is only one way to solve the problem. Buy, rent or borrow a better welder.
Actually, there is another way, but I certainly don't recommend it for hopefully obvious reasons.
Open the case and dip it in oil. (The welder, not the case)
|
|
|
|