What info we get from CUDA Information Tool Window - nsight

In CUDA Information Tool Window in NSIGHT, under warps , you will get the following table:
Can someone explain me what are the different colored region indicating here?
I could not locate this in the user guide so I am asking here.

If you mouse over the lanes a tool tip will show the state of the lane.
The legend is
Lane/Thread State Color
==============================
Inactive Gray
Active Forest Green
At Barrier Light Sea Green
At Breakpoint Red
At Assert Orange
At Exception Dark Red
Not Launched Medium Gray
Exited Dark Gray
I have filed a bug to update the documentation.

Related

Questions Regarding Icons on PageSpeed Insights

I have a question regarding PageSpeed Insights' icons.
There are some opportunities that are labelled with red and orange icons, while diagnostics are labelled with a red icon, orange icon and grey icon.
See screenshot of the icons I am referring to: PageSpeed Insight Icons
I have done checks online and it seems that they represent the level of importance for fixing the issue (red icons are the most important, followed by the orange icon and then the grey icons)
Could someone confirm whether my research and inference is correct? Otherwise, I would appreciate clarifications on the correct definition. Thank you!
Thank you!
You are right. Resolving the issues listed in red and orange will give maximum boost in term of pagespeed score since those issues are the one affecting the most for the concerned site.

Wave Validation Tool - WCAG 2.1 - Why are my select elements failing

I am really challenged by the wave (web accessibility evaluation tool) reporting that a client's website has 4 contrast errors. After scouring the code, it turns out the problem they are reporting is that the select elements have a problem with contrast, showing a foreground color of 0000ff and a background color of ffffff
Problem is that I corrected the css declarations to have all select elements with a color of black 000000 and background of white ffffff I also declared !important and they show these values in the inspector window.
What in the world am I missing? Is it an issue with the wave tool?
Here is a link to the specific report Wave Diagnostic Report

What determines the color of the request in the Network tab in Chrome Developer Console?

I have a response with status of 200 OK, but it is showing up as red in the list of network requests. I thought it was the status that would determine this but clearly there's something else. What is it?
This is from the Chromium Source Project:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/panels/network/NetworkWaterfallColumn.ts;l=138-149?q=waterfall%20color&ss=chromium%2Fchromium%2Fsrc
and
https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/panels/timeline/TimelineUIUtils.ts;l=1662-1675?q=TimelineUIUtils&ss=chromium%2Fchromium%2Fsrc
In 2020 (at least in Chrome 80) there is no such color-coding
in the list of network requests
in Chrome Network tab. Items, as expected, red colored for error.
The link from #jaredwilli answer is now deprecated and has no info on request types' colors.
Up to date link: https://developers.google.com/web/tools/chrome-devtools/network/reference
But in the settings there is a check box "Color-code resource types". It changes colors of watefall bars (not the colors of items in the list of network requests). And these bars become just a little bit reddish for fonts, and for scripts it's pastel orange now.
Also, for the frames of a WebSocket Connection
Messages are color-coded according to their type:
Outgoing text messages are light-green.
Incoming text messages are white.
WebSocket opcodes are light-yellow.
Errors are light-red.
Also, when hovering other requests with <Shift> pressed hovering other requests with <Shift> pressed, green is used for initiators of a request and red for dependencies
The colors of the waterfall bars are documented on the Network Performance document of the devtools docs here: https://developer.chrome.com/devtools/docs/network#waterfall-view.
Documents - blue bars
Stylesheets - green bars
Images - purple bars
Scripts - orange bars
XHR - yellow bars
Fonts - red bars
Other - gray bars

Does usage of black backgrounds on webpages really helps in saving energy?

Does the use of a black background like Blackle proclaims, really save energy for Google searches?
Only on CRTs. LCDs have a backlight which is always on, even if black is being shown.
Blackle themselves show this table:

Simple avr program behaving weirdly "sometimes"

I am new to AVR, but i have programmed PICs before, only this time i am doing everything in linux too so you'll guess that i am using avrdude...
My goal for this project is to change a bicolor LED's color depending on a certain state.
By default, the led is RED (if you make the connections right of course), then i want it to go to yellow (which is a quick change between green and red) while the user is holding the button down then on release, it will go to green, then the next time it will turn off.
So, to recap,
LED is red
While i hold the button down its gonna be yellow
When i release it will be green
While i hold the button down again its gonna be yellow
When i release it will be off
While i hold the button down again its gonna be yellow
When i release it will be red (and so on...)
In my actual code, everything works really well sometimes, but sometimes the led gets stuck at yellow and i have no clue why
Any ideas?
Code is on ideone : http://ideone.com/LI9gH
Thanks
I'm guessing you're simply seeing the random generator missing the button changes about 1/3rd of the time, because the debouncing is slightly off. Consider the time spent in different states:
check button
wait 10ms
check button again
if button values differ, update state
if yellow
shine red for 1ms
shine green for 4ms then leave green on
otherwise
set current color
That's your main loop. As you can see, it checks the button in two instants during about 15ms time; and it doesn't compare to the last value for which it updated state, only with the value 10ms prior. Release the button during the 5ms period of "yellow", and allumerAmbre will not reset until the next release that happens to fall in the 10ms period. Also, the yellow wound up 1/15 red, possibly not the mix you intended.
I don't know where the problem is, but I can suggest an alternative approach if that helps. :-)
Because you're cycling through a sequence of LED states, you could merely list them in an array and step along it (wrapping around when you reach the end), updating the LED each time, whenever the button state changes.
EDIT:
Here's an alternative:
colours = [red, yellow, green, yellow, off, yellow]
current button = released
state = 0
repeat
check button
if button != current button
current button = button
state += 1
if state >= len(colours)
state = 0
// showing the colour sets the LED and includes a delay
show colours[state]

Resources