Why does changing Texture of Particle System using Material Property Block changes texture, but Particle System is still emitting old texture?

I try the code in Start, checking in Editor shows new texture, but Particle System still emits old texture. The script works for SpriteRenderer, but not ParticleSystem. I tried to Play/Stop emission – no difference.

    ParticleSystemRenderer renderer = gameObject.GetComponent<ParticleSystemRenderer>();     MaterialPropertyBlock materialPropertyBlock = new MaterialPropertyBlock();     renderer.GetPropertyBlock(materialPropertyBlock);     materialPropertyBlock.SetTexture("_MainTex", texture);     renderer.SetPropertyBlock(materialPropertyBlock); 

Is there a way to get Taxonomy changes via an API?

I would like to be able to query an API for modifications to any of the following:

SharepointTaxonomyTerm SharepointTaxonomyTermGroup SharepointTaxonomyTermSetCollection

If there are new items, updated items or deleted items to any of these types… I would like to be able to detect that and react.

The only way I can see to do it right now is a “full crawl” of these elements and do it manually myself each time.

Is there a better way?

Can Network Admin Make changes to site if I’ve accessed the site in edit mode?

I connect to the Internet via a neighbor’s wireless router (not a guest connection).

Windows 10: I don’t share files or printer. Domain, private, public network: firewall is on. Scan = no issues.

I have a G Suite account to build sites. Site is published. Sharing options are secure. No other authorized users at this point.

Support asked for the URL of site builder in edit mode.

Two days later, many unauthorized changes to published Google site. Is it possible for admin of neighbor’s network to access or edit site if it’s in edit mode?

Is it possible for the support person to use URL to access or edit site IF I have the site open in edit mode? Obviously, I can pull up the site in another browser screen, so wondered why support person with the link would be unable to do so.

Attempting to keep up with all the crazy, strange changes is eating my lunch. Need to ID the origin.

How to make changes to Enhance Rick Text column as mentioned in Body

We have enhanced Rick Text column in SharePoint 2013 List. When we enter any text in Edit Source, HTML code is generated.

Due to this our custom code is not working sometimes(when <span> tag is generated).

Can anyone please let me know how to stop generating the HTML code in Enhanced Rich Text(should not change from Enhanced to Plain Text radio button)?

Change a file in an SVN repository, should automatically make changes in other repository of same file

We have four repositories in VisualSVN, in which most of the files are same in all four repositories. Here my requirement is, if I commit in any of the particular files, it should automatically affect in other three repositories, which will reduce most of our development team work and time.

I tried to find solution by googling it, but didn’t get any proper solution. So, can anyone please tell me that whether it is possible or not, and if it is possible please guide me how to achieve it.

Thanks in advance. Bala

What Does Backwards Compatible Mean If There Are Breaking Changes

I’ve noticed something strange in a few open source projects that use Semantic Version. In React 15, the React team switched to semver. Similarly, the Angular team switched to semver in Angular 2.0.0.

Semver declares that a major version bump will happen “when you make incompatible API changes”. In React 16 and Angular 4 breaking changes occur but I noticed that both projects made statements like that they “will be backward compatible, though as with all major updates, there will be a few small breaking changes”. I notice this with more than those two projects.

It seems strange to functionally say it is backwards compatible except for the parts that aren’t backwards compatible. Why would a project choose to make such a redundant statement? This makes me wonder if there are plural definitions for backwards compatibility that I’m simply not aware of (and one that Semver does not acknowledge).

Request changes to a commit message during code review on GitHub

I am trying to teach good engineering practices to my team, and in particular, walking them through the basics of PRs and code reviews on GitHub. One of my team members has sent me a request to review his PR, but has added a commit message without any detail, and so I would like to kick it back to him for a better commit message. There doesn’t seem to be a way to do this directly in GitHub. I could just add a “Request Changes” with a general comment on the commit message and ask him to fix it, but how should I tell him to do this? I know it’s possible to do this as a git commit --amend followed by a git push --force, but the docs also say that this is really bad practice for a commit that’s already been pushed, and I don’t want to teach any bad habits. What’s the best way to fix this?

Algorithm to save state of array as it changes

There’s an array which changes with every iteration, i.e., an element is added or deleted in every iteration. I have to save the “state” of the array for every iteration, which would later be retrieved upon querying.

For ex –

Initially, the array is [7, 8, 9]. This is version 1. Next, 90 was added. Version 2 is [7, 8, 9, 90]. Next, 23 was added. Version 3 is [7, 8, 9, 90, 23]. Next, 90 was deleted. Version 4 is [7, 8, 9, 23]. 

And so on.

I need to write a function, get_version(ver_num), which returns the state of the array for each version. So, running get_version(3) should return [7, 8, 9, 23].

I have thought of saving incremental changes to the array in each iteration, in the form of an array maybe.

For ex –

[("add", [7, 8, 9]), ("add", [90]), ("add", [23]), ("subtract",[90])] 

This will save space but in order to recreate the array for a specific version, I have to iterate over this array until I reach the required version. Is there a way better than this?

Thanks