|
Your code is eagerly awaited
«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
|
|
|
|
|
Reactive use a lot of callback as far as I remember...
What I am trying is to make the code seemingly linear and callback free, using await ..
(handy for try/catch, easier to understand the flow as well)
that said.. I would be curious to see what you come back with!
|
|
|
|
|
I understand what you mean. We also have been using such a pattern (your less elegent one) for sometimes.
The event property of an object is essentially a list of handlers for the event, which is designed before the introduction of async/await syntax for asynchronous programming. So it would be "un-natural" to have a method for it at the time.
But yeah, I would also vote for something like that for events to complete the circle (for the introduction of async/await syntax).
|
|
|
|
|
Glad someone understand!
|
|
|
|
|
your prince code will come and rescue you someday <maybe>
|
|
|
|
|
|
I've always been a fan of the Microsoft keyboards. Now it looks like they went more for looks than functionality. I'm currently using a Microsoft 6000[^] keyboard with a slight ergo curve to it. I love it, but they don't make it anymore. Anyone have any suggestions on their fave keyboard? I've only had experience with Logitech and Microsoft and I'm not seeing any of their current products that I like. I'm looking for something that's ergonomic, but not full on split keyboard ergonomic, and reasonably sized. Wireless and a reasonable cost are the only two other criteria.
|
|
|
|
|
Is your current keyboard broken?
In this present crisis, government is not the solution to our problem; government is the problem. ~ Ronald Reagan
|
|
|
|
|
I have some keys that are starting to be less than reliable. I'm expecting failure in the near future.
|
|
|
|
|
How about this keyboard:
[^]
|
|
|
|
|
Bit too ergonomic, lol. I bet once you got used to that thing it would be great.
|
|
|
|
|
Takes some getting use to. I would have liked it if they had kept the control keys in their original locations. It could be worse. I have known people to use the dvorak layout ()[^].
|
|
|
|
|
Unless someone twists your arm, stay away from the Logitech K800. It's rechargeable, which is nice, but it attracts hand oil/dirt like crazy. The keys look pitiful.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
I'm using a Maxdata Cherry RS 6000 M.
The back says it's build for Win 95, but it still works on Win 7
It's about 20 years old and they don't make (them like) these anymore.
Good luck finding a keyboard that lasts for 20 years of heavy use!
Not even the letters on the keys have faded!
Unfortunately, they don't make computers with PS2 connectors anymore either, so I'll probably buy a new keyboard with my next computer
|
|
|
|
|
They still make adapters for ps2->usb.
|
|
|
|
|
If you're prepared to roll your own, then PS2 connectors are readily available on motherboards. I just checked a random selection of ASUS, MSI and Gigabyte boards, and all had PS2 ports available.
And of course there's the USB to PS2 adapters. No idea how well they work.
|
|
|
|
|
|
(Sorta) Mandatory XKCD[^]
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
I just even noticed you changed it in the title. Subtle.
|
|
|
|
|
It wasn't him - it was the Regex!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
It was me. I don't have any of those substitution extensions installed.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
The 4000[^] is still available at some places. Check the Logitech ones, some are very good as well.
If you are after the "crème de la crème", I'd go for Das Keyboard[^]
|
|
|
|
|
milo-xml wrote: I love it, but they don't make it anymore
Actually, still available.[^]
|
|
|
|
|
I paid around $50 for the one that I have and now they want close to $200. Kinda shows that if you just made a good, normalish keyboard that the market is out there for it.
|
|
|
|
|
I love the Das Keyboard.
"This new learning amazes me, Sir Bedivere. Explain to me again how sheep's bladders may be employed to prevent earthquakes"
|
|
|
|