|
It is often a tough choice between kids and co-workers.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
Easy. I just open the lid of my laptop, which is always in front of me.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I owe, I owe, so off to work I go
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
That code won't refactor itself.
|
|
|
|
|
Finally ... continuing all the challenging (and terribly relevant) stuff that was suddenly abandoned a few days ago , and, I admit, being rewarded for the efforts ...
|
|
|
|
|
Just forget about it and do what I have to do.
One step at a time. Like the alorithm they will someday replace you with.
|
|
|
|
|
Just forget about it and do what I have to do.
One step at a time. Like the algorithm they will someday replace you with.
|
|
|
|
|
I spend 2 hours cleaning my inbox. After that everything else is good!
|
|
|
|
|
There's always some crisis or another around here that needs tending to.
|
|
|
|
|
Not at all. I'm hanging out in discussion forums.
|
|
|
|
|
i have this one piece of code, and it is Bad Code(TM)
it certainly would not survive code review.
It deals with over a half dozen corner cases for disambiguating a parse of a field vs a type reference in C#
it keeps failing and I keep going back and adding another corner case.
such an anti-pattern
my hand rolled parser didn't try to handle this at all. it didn't like open typerefs with generic or array params so like
Console.WriteLine(int.Maxvalue);
Console.WriteLine(System.Int32.MaxValue);
Console.WriteLine(MyGenericType<int>.MaxValue);
This parser is supposed to handle it but it's causing it to fail on field references. sometimes.
fml
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
modified 1-Jan-20 17:52pm.
|
|
|
|
|
No wonder the parser can't disambiguate it. They look the same. I can't see how to do it without first resolving names. Within C#, it looks like a type attribute (Maxvalue) masquerades as a field. So for C#, you could probably just treat it that way and get on with life. But if you want to generate the equivalent code in another language, I can see how it would be a PITA.
|
|
|
|
|
Basically I treat them as fields until I can't, such that a type has generic arguments or something which precludes it from parsing as a field reference.
Later on i resolve it, and yes it's a pain.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I don't know how far afield you're going with your project, but the prospect of converting C#
System.Int32.MaxValue to C++
INT32_MAX does not fill me with delight. Not in the least.
|
|
|
|
|
Luckily I'm only targeting other .NET languages so the basic libraries are all the same.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Can anyone recommend a good USB diagnostics tool for Win 10?
I'm having issues where my headphones will cut out, or I get random pauses with my keyboard & mouse. This PC is only a few months old.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
Try running a Linux distro from a stick.
If the problem doesn't occur then, it will confirm what the problem is.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
You got a point. Test the hardware with Linux and check if the intermittence still happens.
|
|
|
|
|
It's one of the first things I do when it looks like I've got a hardware problem.
If it works, it's the driver or a software conflict; if it doesn't, it's the hardware.
It can save you going through a lot of pointless steps.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Have you got a slideshow running for your desktop background? I found that if the 'change picture' setting was set to the 1 minute interval, then every minute the mouse/keyboard/pretty much everything froze. Setting it to 10 minutes seems to either fix the problem or I don't notice it so much now.
|
|
|
|
|
I can't be the only one who read this and thought "Woohoo! Wait, what are USB Diagnostics and how would I win one?"
It's too early in the year, wake me in Feb.
|
|
|
|
|
who_me? wrote: how would I win one? Not just ONE - I want to win TEN!
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
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I was having a similar problem. I could right click on an item -- and it could take 30 seconds for the popup menu. All sorts of things like that. It was not every time, but frequent. It started after an upgrade and upgrading to 1909 fixed it. So, I suspect it was one of the mitigation fixes that was causing the problem -- even after Microsoft supposedly fixed the problems.
So, if you haven't upgraded to 1909 -- and it went very smoothly for all four machines here -- I would recommend it. The problem might not be with the USB ports.
|
|
|
|
|
I could use a good USB wireshark plugin....
Of course if I could win ten of 'em, that'll work too.
found on: https://wiki.wireshark.org/CaptureSetup/USB
You can capture raw USB traffic on Windows with USBPcap. The Tools page lists some other options for Windows USB capture.
|
|
|
|