sharepoint online – How does updating SPFx webparts/extensions work between tenant wide/non-tenant wide deployment models?

I am trying to understand the difference between deploying spfx customizations between tenant wide and non tenant wide (and differences when updating/not updating the version number). Per my current knowledge, I understand this so far

Tenant Wide:

Once you overwrite the solution, it updates everywhere automatically. This is true when keeping the version number the same.

If version number is increased, what happens here?

Non Tenant Wide:

If you overwrite the solution, it updates everywhere. This is true when keeping the version number the same. However for some webparts like listview command sets, it requires the app to be deleted from each site and its recycle bin, and needs an increase version number when adding to app catalogue.

If version number is increased, then apps will get a message on each site saying there is an update, and requires a manual update to fully update. While this is not done, only the static resources portion of the app will get the update automatically. Any manifest config-like changes won’t take effect until it is manually updated.

Can anyone confirm if these details are correct, or if there is anything more to be added?


modeling – Creating models for for a subscription-based service using third-party payment gateways

If this question is too broad for Q&A format, I’d appreciate a pointer on where to ask it.

Suppose that you’re using Stripe (or some similar service) to manage the payments for a service of some sort. Stripe has built-in support for recurring payments, a payment gateway.

What I’m struggling to understand is how much of that logic is mirrored over to the application?

For example:

  • Where does the subscription/payment data is stored? Is it mirrored in some local DB or just wrapped from Stripe API?
  • How does one handle various states of a subscription that can’t be fulfilled (card declined, card missing, card fradulent)? Suppose that Stripe only handles payments and not subscriptions, how does one invalidate a subscription if a payment fails?

In other words, should User.first.subscription return something that’s stored in the application or essentially just make a call to Stripe every single time? If that’s the case, should my application not even have a Subscription model as it’s essentially just piped in from Stripe?

My gut is telling me in this case Stripe should handle the entirety of the payment and subscription logic and the service application itself should only wrap Stripe, is this fair to say?

opengl – coloured 3d models rendering issue while running on android

I am using Godot 3.2.2 stable (GLES2) along with kenney 3d nature asset pack (glb) for prototyping a 3d game. Everything works just fine on my desktop computer, but when I deploy the game to my android device, the colours stop rendering correctly and show weird patterns instead of plain colours as on the picture (only for imported models, meshes created from Godot work just fine).

texture artefacts

It also seems that the sky is blending into the models like some sort of transparency.

Is that just a configuration issue? Or is there something I missed?

Another interesting information, the pattern does not move when the game is in motion, it just show on top of all imported objects but stay at the same position on the phone screen.

mandatory access control – Real value of MAC models in Linux

I have read about MAC vs. DAC in the Internet, but I still fail to understand, what kind of attack it is impossible to protect against if one only uses DAC+capabilities in comparison to MAC+DAC+capabilities. If a process does not run as root and lacks CAP_DAC_OVERRIDE, CAP_FOWNER and other dangerous capabilities, it cannot overcome the already assigned ownership and ACL’s of the resources it uses. On the other hand, if a process runs as root and has CAP_MAC_ADMIN, it can overwrite the security context enforced by MAC.

So is MAC “just additional layer of protection” without any real advantage on modern Linux system?

set theory – What is the general approach and tactics used for ultraproduct constructions of weird models?

This is a somewhat soft question, but I thought it worth asking.

Ultraproducts are used to construct exotic models from existing models. We typically finagle things to make them satisfy axioms in a weird way or satisfy weird axioms. Here’s my problem:

What is the general approach to building such models?

I can follow the proofs of ultraproduct constructions just fine. But trying to do them myself, I often find myself at a loss of what to do. For instance, I would be unsure about how I should construct the ultrafilter, what my base models should be, and the use and idea behind these constructions.

I realize this is vague, so to make it slightly more concrete: can someone give me an example of an exotic model they want to create via ultraproduct, and walk me through their thought process in making it; what are you looking for or intending when you define this this way and that that way? Can an analogy be drawn with the compactness theorem? I know that the idea is to try and isolate “generic behavior” of all the models you’re ultraproducting over, but what does that mean in practice?

An problem if you don’t want to make one yourself: there exists a structure $(A, R)$ such that $(A, R) models ZFC-Infinity$ but $(A,R)$ is not well founded. How would one construct such a model using the ultraproduct approach? This is a simple enough example I hope. The compactness approach to this certainly is.

Speaking of which; an add-on question: what is the advantage of an ultraproduct construction over using a compactness argument? Why would one do the former when they can do the latter?

portrait – What can I do to get models to take my small camera more seriously?

How can I get models (attendees) to take me more seriously as a photographer with a small camera?

There’s a famous phrase: “clipboard mentality”. In the 1990s, projectors started to become more common in colleges. Thieves would walk into a room, holding a clipboard, and steal the expensive projection equipment. While class was in session. Until this problem became notably widespread and security was forced to crack down on the issue, people just trusted professionally dressed people who looked like they had equipment and seemed to be doing good things.

“I have a clipboard. Therefore I’m a professional and expert, and know what I’m talking about.”

How this applies to you is: equipment matters. Even if you’re more skilled and can come up with higher quality results in smaller equipment, people’s perceptions may not take all that into account, so the equipment you use can matter. So, let’s not pretend like it doesn’t.

A bunch of what I’m about to say may involve some trade-offs between usability and practicality (including ease of transporting things), and feasibility may vary based on just where you are. Naturally, use creativity to customize (slightly, or extremely massively) based on what you think will effectively work and what you desire. Just don’t think that you should limit yourself to only your small camera, and you may be able to come up with something.

Often they carry tripods and reflector screens as well.

So you’ve offered your own solution. If successful people are getting the results you desire, and they are using that technique, then you using that same technique may help. That is one approach that doesn’t involve you needing to change camera equipment.

Even if they have giant tripods that you don’t want, consider some sort of small thing which at least shows that you’re able to stabilize your equipment. Even if you don’t use that equipment, just having it available may lead to them taking you more seriously.

Note that the equipment doesn’t need to be professional photographic gear. You mentioned using a T-Shirt.

If you can corner off a section of land, make that area yours. Take some rope and make a “tunnel” for people to walk through, and shoot them at the end. Maybe have a prop, even if that isn’t anything more than a bar stool people could sit (or stand!) on. Then people may pose for you because using the prop just looks fun.

Having a portfolio may also be helpful. (Ensure the participants look happy. Then your potential participants will be more inclined to want to do the happy-making thing.) remco’s answer suggested a tablet. That may be one approach. Another approach may be to have a bunch of print-outs in a strip which you can hang on a wall (or toss half over a fence). Or somehow incorporate that into your costume. The back side of your shirt/jacket/whatever can be advertising space (whether you write something fun, witty, or just show a photo), possibly helping to serve you with your next customers while you’re active with the first one.

A bit of music may also perform wonders. (Probably preferably wordless, so that you don’t feel any need to talk over lyrics.)

algorithms – Hidden Markov Models for Hand Gestures

I am completing a final year project for hand gesture recognition using Hidden Markov Models

I have a fair understanding of Hidden Markov Models and how they work using simple examples such as the Unfair Casino and some Weather examples.

I am looking to implement multiple Hidden markov models where each model corresponds to a single gesture, similarly to this paper where the observed states are the angles between the coordinates of different points. This would create a sequence of numbers from 0 to 18 as seen in Figure 3 and Figure 4. .

What would the hidden states be in terms of this scenario?

The weather example has the observations ‘Walk’, ‘Shop’ and ‘Clean’ which would be the numbers 0-18 in the hand gesture case, however I do not know what the states ‘Rainy’ and ‘Sunny’ would correspond to in the hand gesture scenario.

How do proto models in gRPC fit into Clean Architecture

I know they say that clean architecture are guidelines, and individual projects will affect implementation, but is there a general thought on the correct implementation? A lot of times I see DTO objects in the application layer, so do you just leave the proto models in the “API” layer and the application layer needs to know about them, or do you basically duplicate those models in both layers, and use translators in the “API” layer so that if the gRPC is ever changed the application doesn’t need to?

nt.number theory – Riemannian models of $(mathbb{C}mathbb{P}^1)^n/S_n$

This question springs from a quick reading of the preprint Algebraic Number Starscapes posted on arXiv today. The authors consider the fascinating geometry of the Roots map from the space of degree $n$ (homogenized) polynomials in one variable to the space of their roots – essentially for $n = 2$ and $3$ – which when equipped with projective/hyperbolic metrics and under equivariant $operatorname{PSL}_n(mathbb{C})$ action explain some of the patterns revealed by the beautiful plots of algebraic roots (starscapes) which apparently motivated their investigation.

The space of complex roots is naturally the quotient space $(mathbb{C}mathbb{P}^1)^n/S_n$ where $S_n$ is the symmetric group acting by permuting the roots. It is after its identification with the hyperbolic upper-half plane $mathbb{H}^2$ in the quadratic case and with the unit tangent bundle on $mathbb{H}^2$ in the cubic case that the geometric patters and their applications to diophantine approximation emerge. (Apologies if I have mis-represented their work in any way.)

The question is: for general $n$ is there a similar identification of $(mathbb{C}mathbb{P}^1)^n/S_n$ with a Riemannian manifold? What would be the nature of the metric on it? When would it have a model over $mathbb{overline{Q}}$?