|
I wear gloves
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Just did the flip and tap. Not sure what some of the crud is that fell out...
|
|
|
|
|
My keyboard cleaning technique consists of:
a) Flipping it over
b) Shake-shake-shake
c) Good for another year
|
|
|
|
|
I do the flip-over-and-vigorous-shake once a month. Seems to get all my cookie and potato chip crumbs out.
/ravi
|
|
|
|
|
A friend of mine had Lasik and the first thing he said to his wife was 'Wow, I didn't realize you had so many wrinkles around your eyes!'
|
|
|
|
|
I imagine your friend went on a liquid only diet shortly thereafter.
"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
|
|
|
|
|
Was it a nice funeral?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You think he got that lucky?
"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
|
|
|
|
|
Seems like it would have been easier to buy a new keyboard!
Marc
Latest Article - Create a Dockerized Python Fiddle Web App
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Cheaper, yes. But then I'd have to get used to it, and that takes me years...
They don't make these any more, and it's my second favourite K/B: Logitech Media Keyboard 967415-0403 Black 86 Normal Keys 34 Function Keys PS/2 Standard Keyboard-Newegg.com[^] Reasonably quiet, good feel, nice key sizes. And some extra keys that are occasionally useful. And the Zoom / music keys, which are well handy.
My favourite died eventually - it was incredibly cheap when I bought it, noisy, the keytop legends had worn off on most of the keys, but it was the fastest keyboard I ever typed on!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I completely understand. I am still using the HP keyboard that came with my first windows system from 1998. It just won't die! Here's hoping my next box has a ps/2!
"Go forth into the source" - Neal Morse
|
|
|
|
|
You can get a little dongle to convert a PS/2 keyboard connector to a USB.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
You cleaned your keyboard? What a wimp. That's like rinsing your coffee mug, or Samson cutting his hair. And I thought your were proper too...
Regards,
Rob Philpott.
|
|
|
|
|
Mine gets dusty but compressed air takes care of that quickly. Otherwise, I generally keep my hands clean out of habit
|
|
|
|
|
"for the first time in years I looked at what I spend a lot of time touching."
Soapbox please.
|
|
|
|
|
When you break your leg, does the hospital tell you it's all going tibia OK?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Let me set you straight: who knee'ds these puns? Do you get bone-us point for them?
By to-marrow, thigh Karma willist be most sorely diminished thereby !
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Aren't theses puns getting a bit sprained?
... such stuff as dreams are made on
|
|
|
|
|
Hmm, never thought to look at it from that ankle.
"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
|
|
|
|
|
That's a fibula.
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
|
|
|
|
|
|
Nothing to do with Windows 10 or gin, but I checked and 'Technical discussions are encouraged' [in the lounge].
Say you have created a GUI and you want it to automatically update the screen when the data it displays changes (typically by an action somewhere else). Simplest way is probably polling, in which you regularly check back to see if any updates have happened. In a client/server set up, this has the disadvantages of lots of network traffic even when nothing's happening, and the latency of updates depends on the poll speed.
Then you have 'long polling', where you make a call to CheckForUpdates and it blocks until something happens or a duration elapses. This reduces the latency and network traffic but now you have blocked threads, which are much out of favour these days.
Then there are the 'Push' architectures generally using some sort of pub/sub paradigm and wholly embraced in such things as Rx. You subscribe to updates and then get notified of changes as they happen on a thread of some sort from somewhere. These are more complicated as you end up with state (subscriptions and their targets), queues, (producer producing faster than consumer consuming), and dispatching concerns.
So, what about an asynchronous long poll? This gives you the low latency, less traffic solution and by using separate threads for the outgoing and incoming packet, no threads get blocked client side. State information is client side (which I'd argue is good). The problem is you have to send the 'subscription' repeatedly to the server after each event.
When I think of it as messages on the wire, it seems like a good solution.
You look like a technically minded bunch. Any thoughts?
Regards,
Rob Philpott.
|
|
|
|
|
I think the server still needs some mechanism to track to-whom it is replying (and how)?
Definitely something to whiteboard or role-play around with to see how it might work?
|
|
|
|
|
I don't see much differences between "Long polling" and push notifications.
You will have a blocking thread on the client in both cases (wait for answer or wait for incoming push notification).
On the server you will have some kind of signal handling upon change events. With long polling it must then step through a list of pending poll requests. Similar for push notifications where a list of registered clients must be processed.
The drawback of the long polling method is that you have active connections for longer periods of time. This might be problematic for servers handling many clients (connection handles are a limited resource). It might be also necessary to handle specific events like informing the server when a client terminates (de-register in the term of push notifictaions).
To reduce the network trafic regardless of the method use UDP because there is usually no need for acknowledgments and missing a notification (which usually happens very rarely) should not care.
If the data change rate is not too high I would go for a simple UDP push solution:
Clients register at the server using a TCP command packet and start listening for UDP packets on a defined port. The server tracks the registered clients in a list and sends UDP notifications to each registered client upon change events.
If the clients are all located within a local network it is even simpler: Just send UDP broadcasts to the local net.
|
|
|
|
|
The only problem with this is that you have no way to tell if a UDP packet has been lost. Even if you do, you need a method of asking the server to retransmit the data.
Once you have done that, you might as well use TCP.
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
|
|
|
|