Shifting Youtube livestream from public to private mid-streaming?

I am planning on streaming to Youtube and embedding the stream on my website. Users on my website are paying members.

I would like the stream to be public and free on Youtube for the first half hour, though. But after that duration, I would like to be able to say goodbye to the free-watchers and shift from public to private setting on the Youtube live stream. Then I can continue the stream and it is only shown on my website and not accessible on Youtube anymore.

Is this possible without ending the stream?

An alternative to switching from public to private while streaming is to stream to my website in another way outside of Youtube. Then I can easily manually end the stream on Youtube when I want to and keep only the other stream active.

I need help shifting all my formula references in a Google Sheets table by one cell to the right

I have a table in google sheets right now that deals with growth from the most recent period (As compared to 2 periods ago, 3 periods ago, 4 periods ago, etc.). What I need help with is how to change all the formulas when I insert the most recent periods data. The simple question is this: in a very simplistic way, if I have a large amount of data that references one column (say A) how do I get all these formulas to then reference column B.

Another way of asking to make it clear, how do I get every reference in every formula to simply reference the next column over.

Example:

I have this:

= A + B
= C + D
= E + F

how do I get all of these to turn into:

= B + C
= D + E
= F + G

I just want all the letters in the formula to shift to the next letter in the alphabet.

bitwise – Bit Shifting a String of Text

I am not sure how to pose this question, as this is my first on StackExchange. I am trying to learn how to manipulate strings in python. The algorithm is:
1: Input a string such as “Hello World!”
2: left shift the string such that first character of the string is wrapped around to the end of the string with the output as “ello World!H”. Then the code will to the right shift of the same string.

instr = "Hello World!" 
length = len(instr) - 1
firstChar = intstr(1)

   

    

I am a complete nooby using Python and so i am not familiar with all of it’s arsenal of functions and such. I am aware of the << and >> bitwise shift operators, however these are for ‘int’ types only. Would anyone care to point me in the right direction? I started my code as follows and this is about as far as I can get:

Good source for understanding shifting techniques in combinatorics

There are many theorems in extremal combinatorics (e.g. the Erdos-Ko-Rado theorem, the Kruskal-Katona theorem) that can be proved via “shifting” arguments. See for example the following blogpost by Gil Kalai.

Extremal Combinatorics IV: Shifting

I would like to understand this technique to apply it to a problem I’m working on. Is there a good (and hopefully somewhat recent) survey of such results?

python – Is it only me or people are shifting from Tensorflow to Pytorch?

Surely Tensorflow runs the ML industries and Pytorch is, you can say, still used by researchers and students. But, recently I have started to stumbled upon Pytorch code more often then before. I guess people have started using Pytorch for development also and mastering it could give us, as an ML developer, an edge. But still these are my thoughts. I am seeking answer from experts who surely possess more insights in this.

matrix – Shifting the world origin and scaling all points?

Imagine you have a simulation in very large coordinates, and to render it out you need to scale it down (say, solar system -> fitting inside a few thousand units). This is controlled by a float multiplier that you can increase/decrease at runtime.

Additionally, imagine that you have a point in space that can move around, which acts as a kind of “shifted origin”, such that objects near that point will be rendered as if they’re near the true origin (0,0,0). In this ‘example’, that may be the player/camera position.

The idea is to allow that ‘scaleFactor’ to scale up/down the world around that point, e.g. if this shifted origin point is at (1000, 1000) (it’s 3D but assume z=0 for convenience), and there are four objects equidistant around it each 500 units away along one or both axes (i.e. (1500, 1500), (500, 1500), etc), then they should be rendered around the true origin (0,0,0) 500 units away, and should move towards/away from it as that scale factor changes.

I can get the objects around the origin, but the scale increasing/decreasing shows the objects either moving to the shifted world origin (i.e. scaling around (1000, 1000)), or to the inverse (-1000, -1000).

Note: this shifted origin point itself is not in render scale – i.e. it is in the ‘simulation scale’ so you could decide to do something like “shift and scale the solar system around planet X’s position in the simulation”.

So we need to:

  • Translate all positions by this shiftPos (‘worldOrigin) to get them around the render origin (0,0,0)
  • Scale by renderScale so they fit within our renderable scene
  • Draw and/or profit

I tried, foreach obj:

// basePos is glm::dvec3
// renderScale is a float

const glm::dvec3 shifted = glm::translate(-worldOrigin) * glm::dvec4(basePos, 1.0);
const glm::dvec3 scaled = glm::scale(glm::dvec3(renderScale)) * glm::dvec4(shifted, 1.0);

// draw using 'scaled' as position for obj

Here is the result, where green sphere is (0,0,0), red sphere is this ‘worldOrigin’ / shiftPos, i.e. (1000, 1000, 0) in the above example, and the white spheres are the objects that ‘should’ be scaling around green. (Ignore the blue sphere and the text – was a leftover). Shown is what happened when I pushed the scale down such that the translation of each white sphere was very small – they converged on -worldOrigin (inverse of red), and when I started increasing the scale, they moved towards and past the red. I am unsure of how to get them to scale centered around green (expand/retract out/in to it).

Thanks!

enter image description here

geography – Shifting GeoRange depending on Projection Problem

It’s been rather smooth progress lately using GeoGraphics as I attempt to render different polygons over the greater metropolitan Vancouver area. I found this answer helpful in digging deeper into the problem but still haven’t found a solution that works for Polygon. I have 26 similar polygons in the follow {x,y} form:

{{-123.023,49.2946},{-123.039,49.2957},{-123.039,49.2957},{-123.067,49.2977},{-123.102,49.3008},{-123.103,49.3011},{-123.127,49.3082},{-123.13,49.31},{-123.137,49.3145},{-123.141,49.3166},{-123.164,49.3166},{-123.164,49.282},{-123.184,49.282},{-123.222,49.2819},{-123.224,49.2781},{-123.224,49.2774},{-123.224,49.2771},{-123.224,49.2766},{-123.224,49.2757},{-123.225,49.2748},{-123.225,49.2747},{-123.225,49.274},{-123.225,49.2736},{-123.225,49.2728},{-123.225,49.2727},{-123.224,49.2722},{-123.224,49.272},{-123.223,49.2715},{-123.222,49.2709},{-123.222,49.2703},{-123.222,49.2699},{-123.222,49.2696},{-123.222,49.2692},{-123.222,49.2689},{-123.222,49.2687},{-123.22,49.269},{-123.22,49.2687},{-123.22,49.2684},{-123.22,49.268},{-123.22,49.2672},{-123.219,49.2672},{-123.219,49.2673},{-123.218,49.2673},{-123.218,49.2673},{-123.217,49.2674},{-123.217,49.2674},{-123.217,49.2674},{-123.216,49.2674},{-123.216,49.2674},{-123.215,49.2674},{-123.215,49.2674},{-123.215,49.2583},{-123.203,49.2583},{-123.203,49.2574},{-123.203,49.2566},{-123.201,49.2566},{-123.198,49.2565},{-123.197,49.2565},{-123.197,49.2503},{-123.197,49.2503},{-123.198,49.2503},{-123.199,49.2503},{-123.201,49.2502},{-123.202,49.25},{-123.203,49.2497},{-123.205,49.2494},{-123.205,49.2491},{-123.202,49.2477},{-123.201,49.2472},{-123.199,49.2463},{-123.198,49.2463},{-123.198,49.2463},{-123.197,49.2462},{-123.197,49.2428},{-123.197,49.2387},{-123.197,49.2385},{-123.197,49.2385},{-123.198,49.2385},{-123.198,49.2385},{-123.199,49.2384},{-123.199,49.2378},{-123.199,49.2368},{-123.199,49.2366},{-123.198,49.2366},{-123.198,49.2366},{-123.197,49.2366},{-123.197,49.2366},{-123.197,49.2355},{-123.197,49.2352},{-123.197,49.235},{-123.205,49.2374},{-123.206,49.2371},{-123.207,49.2361},{-123.209,49.2352},{-123.22,49.2396},{-123.22,49.2395},{-123.221,49.2376},{-123.221,49.2375},{-123.222,49.2371},{-123.224,49.2342},{-123.221,49.2333},{-123.221,49.2332},{-123.221,49.233},{-123.219,49.2326},{-123.215,49.2304},{-123.213,49.2293},{-123.213,49.229},{-123.212,49.2286},{-123.211,49.228},{-123.21,49.2274},{-123.21,49.2272},{-123.21,49.227},{-123.21,49.2266},{-123.21,49.2262},{-123.209,49.2251},{-123.209,49.225},{-123.209,49.2246},{-123.208,49.2243},{-123.202,49.2215},{-123.202,49.2214},{-123.197,49.2205},{-123.191,49.2195},{-123.185,49.2167},{-123.18,49.2158},{-123.172,49.2151},{-123.164,49.2134},{-123.159,49.2115},{-123.152,49.206},{-123.151,49.2053},{-123.149,49.2049},{-123.147,49.2044},{-123.145,49.2036},{-123.143,49.2028},{-123.141,49.2015},{-123.14,49.2004},{-123.138,49.1996},{-123.137,49.1992},{-123.135,49.1988},{-123.133,49.1987},{-123.132,49.1988},{-123.13,49.1988},{-123.125,49.2004},{-123.121,49.2019},{-123.12,49.2023},{-123.118,49.2031},{-123.114,49.2045},{-123.111,49.2047},{-123.106,49.2045},{-123.103,49.2043},{-123.1,49.2043},{-123.096,49.2044},{-123.094,49.2047},{-123.091,49.2053},{-123.083,49.207},{-123.08,49.2076},{-123.077,49.2081},{-123.075,49.2084},{-123.072,49.2079},{-123.07,49.2073},{-123.069,49.2067},{-123.067,49.2058},{-123.066,49.2052},{-123.056,49.2043},{-123.042,49.2039},{-123.038,49.2026},{-123.024,49.1997},{-123.024,49.2018},{-123.023,49.2041},{-123.023,49.2059},{-123.024,49.2082},{-123.024,49.21},{-123.024,49.2104},{-123.024,49.2125},{-123.024,49.2164},{-123.024,49.2219},{-123.023,49.2235},{-123.024,49.2323},{-123.024,49.244},{-123.024,49.2448},{-123.024,49.245},{-123.024,49.2582},{-123.024,49.2786},{-123.023,49.2811},{-123.023,49.2946}}

GeoPostion and GeoGridPosition all work as expected on lists of {x,y} coordinates, however the final GeoGraphics rendering of polygons was squished. Trying to fix it I thought would be as simple as adding the GeoProjection -> "Mercator" option however that failed. Does anyone have any suggestions where to investigate next so the rendering is no longer skewed and information marred? What explains this behaviour?

Table[
 GeoGraphics[
   geometryArrayB,
  ImageSize -> 500,
  GeoRangePadding -> Quantity[10, "km"],
  GeoBackground -> "StreetMap",
  GeoProjection -> x,
  PlotLabel -> Style[x <> " Projection", Large],
  ImagePadding -> 10
  ], {x, {"Equirectangular", "Mercator"}}
 ]

Dwm.exe using too much memory after shifting from windows 8.1 to windows 10

I reverted to Windows 8.1 for a variety of reasons. This was one of them but now I am shamelessly thinking of re-upgrading to win10. In windows 8.1, dwm uses around 10 MB of Memory, in general. But, when I upgraded to Windows 10, the memory usage usually floated above 100 MB. One time it crossed 200. I have adjusted my computer for performance (disabling visual effects etc.). I don’t know what’s going on, why this is happening.