RTC source control icons - clearcase

What is the difference between these two RTC source control icons ? Is it identifying which workspace is loaded by which component ? Is there a reference that explains each of the RTC source control icons ?

Also see the section called "Icons used in Rational Team Concert Source Control" at the following link: http://thescmlounge.blogspot.com/2012/11/icons-used-in-rational-team-concert.html
This link not only answers your question about the component icons (representing a loading and not-loaded component), but other icons used in Jazz SCM.

Each represents a component (RTC component, which has the same semantic than a ClearCase UCM component: a coherent set of files, branched or labelled as a whole unit).
the blue one represents a component loaded in a local workspace (or sandbox)
the white one represents a component not loaded (only declared in a repository workspace)
Note that you would always see:
a blue one in the "Component" section of a Project Area, but that just designate the component itself, not its loaded or not-loaded state.
a white one in the components listed on a Stream section of a project area: components declared on a Stream aren't loaded or not (it makes no sense in that context)
a blue one in the Stream displayed in a flow diagram (see last illustration bellow). Again it doesn't mean that component is loaded or not, it just means the code color convention isn't very coherent outside of repository workspace...
Within a repository workspace, the meaning is clear: blue equals "loaded", white equals "not loaded" (in a sandbox).
You can use the flow diagram to see who has loaded what (see article "Easing into Jazz Source Control"):

Related

Artifacts and problems with shadows of directional light & point light

So I'm using React, Three Fiber as well as the drei library and cannon for physics.
I am making an apartment viewer as a personal project in which you can walk around in - so far everything works fine. To make it later on possible to load in the apartment model from a database (and make the creation process easier for multiple models), the transformations for the light switches, aktivatable point lights and the apartments collision boxes are copied from objects within the gltf file.
To prevent the collision boxes from rendering or otherwise effecting the rendering process, they are made invisible. (I also tried to set child.castShadow = false with no effect).
For some reason the shadows are corrupted: unwanted point light shadows.
I also tried to change some properties of the original child: Object3D properties in the Apartment component (the only place where the boxes could affect the shadows), without changing results.
Another thing is that there doesn't seem to be any options to adjust shadows anymore. Properties like shadowBias, shadowMapWidth etc. are deprecated. By hovering over it I get something like #deprecated — Use shadow.mapSize.width instead. At least I couldn't find a solution to that, also because the Three Fiber documentation isn't that extensive. Just using them doesn't work either.

Looking for guidance on how to add custom class to sections and modules in Squarespace?

I have a client who is using Squarespace and asked that I fix a mobile stacking issue.
I have 2 rows that have image + text alternating side by side. This looks fine on desktop, but the on mobile the stacking order is wrong.
Desktop Stacking:
Image + Text
Text + Image
Current Mobile Stacking:
Image 
Text
Text
Image
Ideal Stacking:
Image
Text
Image
Text
Typically I was accomplish this by alternating the sections with a custom class, but I'm not seeing any place to add this. Are you able to add custom classes to sections?
Any help is appreciated. Thanks!
It is not possible to directly edit the markup that appears within Squarepace's default grid and block system (they call it, "LayoutEngine"). Generally speaking, one must either write their own HTML within a Code Block (or via Code Injection points), or use JavaScript to alter the HTML after the default markup is loaded onto the page.
But in your case specifically, this is a common problem in Squarespace, and it is usually solved with just CSS, using a combination of:
first-child, last-child and nth-child selectors, and/or
the > direct-descendant/child-combinator, and/or
specific block IDs (each sqs-block has a unique id attribute), and/or
a media query so that the rules only take affect after your mobile breakpoint is reached, and/or
either display:flex with the order property. or display:table-header with display:table-footer in order to force a different stacking order.
The specific CSS often varies greatly based on the specific circumstance, whether you're trying to reorder blocks, columns, or rows. The similar question linked to above provides a specific solution to the same problem you are trying to solve, but the code that solves it in your case may look quite different, though it will likely use a combination of the five things mentioned above.
Or, you can use JavaScript to target the blocks and add your own classes, then write the CSS with those classes. Even in that case, the general approach is the same.

What is the point of graphics context in xcb_copy_area?

The function xcb_copy_area by my understanding essentially copies a region from one xcb_drawable to another. I'm not sure then why it would also take a graphics context as a parameter, seeing as the source of the copy has presumably already been drawn or rendered. What is the use of this parameter in this case?
It's worth noting that my understanding of graphics contexts are not great but there aren't many resources on explaining them. I'm assuming this is an issue with my mental model of what's going on within xcb.
Relevant docs: https://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.html#requests:CopyArea
The text description contains this (emphasis mine and original emphasis and a link were lost):
If the dst-drawable is a window with a background other than None, these corresponding destination regions are tiled (with plane-mask of all ones and function Copy) with that background. Regardless of tiling and whether the destination is a window or a pixmap, if graphics-exposures in gc is True, then GraphicsExposure events for all corresponding destination regions are generated.
So, my understanding is: The GC is used to draw the background of the window and this is where most of its properties are used.
The doc says explicitly which GC components are used:
GC components: function, plane-mask, subwindow-mode, graphics-exposures, clip-x-origin, clip-y-origin, clip-mask
I guess that function and plane-mask specify how the source and target are "combined". So, CopyArea can not only copy, but do all the other (weird) things that are possible with a GC.
subwindow-mode says what happens with subwindows. It is possible to clip them out or to draw over them.
graphics-exposures is about events that are generated in response to drawing
clip-x-origin, clip-y-origin, and clip-mask clearly are about clipping the drawing.

How to load a open street map from local source?

I'm using the wpf map control of DevExpress 15.1.5 and I'm trying to load a map from a local source.
DevExpress's help allows me to download a .osm file of a selected map area by me, but I can not load a .osm with this control; it only supports .kml and .shp.
What can I do?
You need to download map data in a different format, see. :
OpenStreetMap data
I recommend the first download a small country and try it if that's what you need.
Map consists of multiple layers, which together form "what you see". Layers are buildings, roads, places, waterways,landuse ... and are formed by shapes *.shp file (eg. Building plan, the route of the road ...)
You can view video here:
https://www.youtube.com/watch?v=4vlEzX9Q15Y&t=6s
also the source code is available in github.
the Control works on local OSM tiles
it is written in C#
I created OSM MAP Control which have the following functionalities:
1. Accurate Zoom with the mouse wheel.
2. Move left , up ,bottom and right
3.if tiles are missing , it ask to start download those missing tiles.
4. Create line on the map
5.save history by friendly name
6. you can download area of tiles - with zoom.

Using VS2010 Image Library when image contains more than one icon

I'd like to create a button containing an image (remove) from the VS2010 Image Library in WPF (...\_Common Elements\Actions\remove.png). This image actually contains four versions of the icon in different sizes. How do I go about using the first one of these?
Thanks,
Chris
I think that the files in the _Common Elements are meant to be used when creating or composing new icons, so you don't have to recreate the, well, common elements for each icon. Because of that, whenever I needed one of the icons from this, I just copied the one I needed into a new image and used that.
Read the readme files in the directory you want to use images from. For example it states in _Common Elements\Objects\_MSCommonElements_Objects - Readme.html (rough translation from my German version):
These common elements are supposed to be used during development and design of new custom icons.

Resources