|
Start with a partial update that just toggles/inverts the pixel at location 0 or (0,0) then move to (1,1), etc
Then toggle 2 x 2 pixels, translate, expand
Then try the other corners.
Edit changed insert to invert
|
|
|
|
|
Yeah I've tried. Whether I update nearly the whole screen or a tiny portion (8x1 is the smallest it will do since the last 3 bits of the x coordinate are ignored)
It's not doing anything. It's like the code isn't even there.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Rule of thumb for good programmers having problems with code.
off by one somewhere! A loop, a counter, an array.
|
|
|
|
|
it's not that.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I was studying some code for an 8051, containing a test 'if (x > y)' and 2-3 statements to calculate a value, followed by an 'else' calculating the same value, but doing the partial expressions in a different order. I spent several hours trying to find the difference between the 'if' and 'else' clauses - mathematically they were identical.
In math, 'sign extension' is a non-issue. In 8051 it is a real issue. y < x would lead to a sign extension in one partial expression that would lead to the wrong result in the 'if' clause. With x > y would see the same in another partial expression in the 'else' clause'.
Obviously, there was not a single trace of any comment in the code. C code is 'self-documenting'. After seeing the light, I mentioned it to the guy who had programmed it. He just shrugged: 'That's how 8051 is!' Sort of saying 'if you want any comment to explain this, ask the 8051 to write it'.
|
|
|
|
|
I would not want to work with someone like that, frankly. It would be difficult.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Good example of hardware architecture assumptions, pitfalls, etc. Know your hardware.
|
|
|
|
|
honey the codewitch wrote: Don't you hate when you're porting something, and you stare at the same section of non-working code over and over, comparing it to the reference source, and not seeing any meaningful difference? Means there's a difference in environment, dear Watson.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
There's not, because the reference code works in the same precise environment. It means I'm missing something.
To err is human. Fortune favors the monsters.
|
|
|
|
|
You sure it's you? Not the environment?
It can only be you if the code isn't doing the same.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
It's remotely possible. For now I got frustrated with it, so I masked off the partial update feature and released version 0.9.0 without it. When I do figure it out it will slide in underneath without breaking changes.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: It's remotely possible. Heh.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
In C#, my issue is often missing NuGet packages or different version of those packages.
And sometimes stuff like ' vs. `, but those are usually pretty easy to spot (a non-printable character one time was not, though ).
Sometimes it's just easier to re-invent the wheel
|
|
|
|
|
Been there, did that, hope never to go bach, Once spent 8 hours looking for a misplaced semi-colon.
ed
|
|
|
|
|
Had a similar issue with a text string copied from somewhere (Word? Web page) and inserted into VS. Was failing horribly. After a lot of time spent on this, it turns out a non-printable character was in that string....
Once I manually re-typed the string, worked just fine....
|
|
|
|
|
Be careful with sharing text with braces on MSTeams chat. Sometimes it inserts a “zero width space”.
This also seems to be a trick that hackers use to fake URLs!
|
|
|
|
|
Get up and go for a walk.
Give your subconscious a chance to work on it.
I've often had the answer during or shortly after a walk that I couldn't "see" before.
Cheers!
Sincerely,
-Mark
mamiller@mhemail.org
|
|
|
|
|
Yeah, I switched gears. I'll pick it up again later. I've already got some ideas on how to either narrow the problem, or uncover a larger issue. That's a start.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Is anyone aware of a way to make MS Teams provide an audible ring through the laptop speakers even when the headset is connected? (I'm aware that other Windows telephony products that do this.)
Because I use a wireless headset I'm only wearing it during meetings and phone calls. If an MS Teams phone call rings in while I'm not wearing the headset I don't hear it, and usually don't see the little notification on my desktop. I miss calls regularly.
|
|
|
|
|
Is that the purpose of the Secondary Ringer function, in (Team)Settings->Devices->Secondary Ringer ?
|
|
|
|
|
Looks very promising! Thank you - I'll give it a try.
|
|
|
|
|
Don’t take away my excuse for not answering!
Courtesy at our office requires a Teams Chat Message first to see if you are available before calling. That gives a chance to put on your headset and clean any sensitive info from your desktop before saying OK
|
|
|
|
|
The better you get at Wordle, the less time the problem amuses you for.
How about trying to avoid 'winning', using the same rules - only use real words, must continue with greens, must reuse yellows but never repeat the position of them, and see how many tries you can do without getting the right word.
Much more challenging!
|
|
|
|
|
That's called "Hard mode" isn't it?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I seen a video yesterday somewhere of somebody playing "anti-wordle", which seems to be what you are looking for.
I don't play, so I haven't tried to look for it myself, but I am sure Google can get you where you need to be.
|
|
|
|