Make material looks less 'shiny'?

Question: I'm making a model on Blender, and i'm adding texture for it on Cycles, i added a Diffuse BSDF material, on a curves i made but with the lighting (it does need to be with that kind of light) the color seems too shiny/bright, how can i make it look not too bright and maybe even with a little shadow?
Comment: Not too sure what you mean.. But that's a very bright and saturated blue. Perhaps you might try using a darker, less saturated color?
Comment: You can increase the Roughness value of Diffuse node to 1.000. It may help a bit.
Comment: @Gonzou I think that would actually decrease the amount of shadow.
Comment: It worked i think, i also added a little saturation by controling the colors, thanks :)
Comment: This is just my suggestion.  With roughness set to 1, the light is more diffused on a surface, which makes the contrast between light and shadow less visible. Illuminated areas are less shiny and the shady areas are less sharp. If you then darken it and desaturate it a bit (like gandalf3 suggested) the final effect may work better in this case.
Answer: A mix shader with a dark ambient occlusion node, colored to fit your object, factored mostly toward the diffuse might help depending on what results you're looking for.
Otherwise I would suggest moving the light farther away, that will at least soften out the white highlights

Make material looks less 'shiny'?


What is the highest number of spell slots a warlock can have?

Question: Trying to find out how many spell slots a warlock could have at a given time. Level 20, access to any magic items that can give spell slots, but only one of each (no duplicates), and straight warlock- no multiclassing.
Comment: Is there a particular reason you're looking for this? Or something specific you're intending to do with these slots?
Comment: Are you also interested in methods of restoring spent spell slots? This wouldn't make you have more than four at any given time, but you could have more than four spell slots to use between rests. If you are not, then what is the reason you actually need numerous spell spots *simultaneously*? There may be other solutions to the problem besides having more than four available spell spots at once.
Answer: Four (or 54 depending on how you interpret the Rod of Absorption)
A 20th level warlock has 4 Pact Magic spell slots, and there do not exist any items that give extra spell slots. See here and here for DNDBeyond searches that show all items containing "spell slot" and "spell slots".
That said, the Rod of Absorption can create spell slots within itself, so I'm not sure if that counts:

If you are a spellcaster holding the rod, you can convert energy stored in it into spell slots to cast spells you have prepared or know. You can create spell slots only of a level equal to or lower than your own spell slots, up to a maximum of 5th level. You use the stored levels in place of your slots, but otherwise cast the spell as normal. For example, you can use 3 levels stored in the rod as a 3rd-level spell slot.

The energy is stored in the Rod, so technically the Warlock doesn't have those slots, but it can hold the equivalent of 50 1st level spells.
Comment: @Someone_Evil That is correct, "You gain one 9th-level spell slot, provided that you already have one." and the Warlock's 9th level mystic arcanum doesn't count as a spell slot.
Comment: IIRC the only item-like which grants additional slot is Boon of High Magic, with which warlocks don't apply (as they don't have 9th level slots)


how to take input for uint32_t variable

Question: i have declared a variable as
uint32_t num;
when i take input for this variable i.e
cin>>num;
cout<

when i run this program, i gives num value as 12345678, it works fine & give cout. but when i give input as 1234abcd. it creates problem & displays only 1234.
please suggest solution to resolve this problem.
Answer: Use std:: cin >> std::hex >> num; if you want to read hex numbers.

how to take input for uint32_t variable


Could this be considered normally distributed?

Question: I have skewness and kurtosis values of 0.447 and -0.861 respectively. There are 540 observations and the standard deviation is 1.662. I have seen posts and suggestions saying between -1,1 and 2,2 should be fine but I haven't been able to find a consensus. If it is not strictly normally distributed, is it close enough that running tests that are robust to slight deviations will still produce good enough results?
Comment: ANOVA does not assume that marginal distributions of the variables are normal.
Comment: Why are you interested in normality of this sample?
Comment: I wanted to do ANOVA and normality is required
Comment: Sorry could you expand further? The figure shows the number of people who took x days of the week off
Comment: ANOVA does not require that the variables be normal, but it does require that the DV be continuous and this one is not (see my answer and OP's comment  on my answer and my edit).
Answer: Your variable is "days" and ranges from 0 to 7 (so, it seems like it is days per week).
It can't be normal. IF the histogram was close to normal then, for some purposes, you might get away with treating it as normal (although I probably wouldn't do this) but yours is not close to normal. It's not even unimodal.
To get better advice on what to do, please tell us the goals of your  work, what your research questions and hypotheses are and so on.
EDIT in response to comment by the OP
Then this is a count variable and you should do a count regression model. The usual starting point is Poisson regression, but I, for one, have never had a model that met the assumptions of Poisson. So, I'd start with a negative binomial regression.
Is this a dependent variable? An independent variable? Something else?
Comment: I want to see if a policy had an effect on the number of sick days taken by people in a chosen occupation. I am using ANOVA to see if there are significant differences between the chosen occupation and 3 similar occupations before and after the policy was implemented. This would be the dependent vairable and the occupaitons would be the independent variable
Comment: If 7 is an upper limit, negative binomial makes about as much sense as Poisson (i.e. not much); its only advantage could be an ability to (perhaps) get closer to the variance, but predictions won't respect a looming upper boundary like that. Binomial might make some sense (the bimodality could be because it's a mixture over distributions because we're looking at a marginal, not a conditional), but I bet it's not really binomial either.
Comment: ... Nevertheless binomial would be a reasonable starting point for thinking about what sort of model to use, just from consideration that it's a count of days in a week that something happened. One likely issue would be dependence over time (within the reference week), that would change the distribution away from binomial.


Is rotted wood used in the construction of a dresser going to cause issues in the future?

Question: it is on the back of the dresser on the corner 2x2.  It is about 3 inches long and 1 inch. There is no finishing in that part of the hole.
Comment: Hi, welcome to StackExchange. That's not rot, it looks like a small section of 'live edge', the original surface of the tree, or possibly the former site of a large, irregular knot. Either way it's basically nothing to worry about.
Comment: Please add some pictures showing this area in  a larger context.
Comment: Welcome to WW.SE. Definitely show some wider photos. [Edit] the question to show us more.
Answer: That's not rot, it appears to be a small section of 'live edge', i.e. the original surface of the tree, or possibly the former site of a large, irregular knot which is no longer present. Either way it's basically nothing to worry about.
Since the wood appears to be maple1 this could also be a bark inclusion2, which is something maples are known for more than some other species.
It may seem careless or slapdash to leave something like this without doing something (I guess the most obvious thought would be filling it) but you tell us it's on the back, and as odd as it sounds there's actually a long tradition in furniture making of using rougher wood, and even pieces with defects, for surfaces that aren't usually seen. Even some quite fine furniture from the past could have very rough boards hiding at the back, or inside the carcass. Now, as then, it makes good economic sense to use wood that isn't suitable for show surfaces for parts that aren't visible in normal use.

1 Quite characteristic to experienced eyes once it has finish on it.
2 What happens is that sometime during the growth of the tree something happens that causes a small section of bark to be left behind and completely encapsulated it the growing wood. If the tree is sizeable when felled these bark inclusions can be very deep inside the trunk.


How do I decide which security framework is most suited to my organization?

Question: There are many IT security frameworks/standards/regulations/etc to chose from, each with their own pros and cons. For example, IS0 27000 series, NIST CSF, NIST RMF, PCI-DSS, etc. My question is, is there a checklist that helps me decide which framework is most appropriate for my organization? Something that will ask me a series of questions and at the end suggest the most appropriate one for my organization?
Comment: PCI-DSS is not a framework to choose. It's a requirement if you meet the criteria.
Comment: That's ***way*** too broad to answer. Because that would require an answer that lists all possible regulations, industry standards, and discretionary frameworks and to define the utility and requirements of each. For PCI-DSS, that's very, very simple to determine if you are required to comply with it (read the intro of the standard).
Comment: What will help me chose whether I meet a certain criteria?  Lets say I have zero experience. I need some help in recognizing what framework/standards/regulations/etc to chose from to at least get started.
Comment: https://www.google.com/search?q=how+to+choose+a+cybersecurity+framework
Comment: @user1720897 with PCI-DSS it's simple: you will know, because if you need to be PCI-DSS compliant and can't show you are, others will cease dealing with you.
Answer: There are 3 main considerations when deciding to choose a framework:

What are your stakeholders expecting from you?
Why are you choosing a framework? I.E. What outcomes are you looking for?
Which framework can be implemented efficiently based on your organisation's maturity and resources?

For most organisations, the "stakeholder" question settles the discussion. If your investors, customers, regulators, etc. expect you to use a certain framework, then that's what you need. You can use other frameworks in addition, based on your requirements, but your core will end up being with 3rd parties ask of you, since you have little choice in that.
Once you define why you want a framework, and the resources you have to implement it, then that will help you choose the best framework that meets your requirements.
Some frameworks require quite a lot of defining, management, auditing, etc. and end up being very costly in time and resources (e.g. SOC 2) Others allow you to decide how much of the framework to implement and to what level of complexity. But again, which one to choose will depend on where you are in your maturity and where you want to go.
If you have no stakeholder requirements, few resources, and low maturity, then start looking at the NIST CSF. It's a good place to start; you can make it as complex or simple as you'd like, and is mapped to other frameworks.
Comment: Good call on the stakeholders. I wouldn't be surprised if most companies implementing something like ISO 27001 (or their national and subject-specific derivatives) only did so because customers started demanding a Statement of Applicability (SOA) for that framework at some point (we do). Getting audited yearly and having everything in order to demonstrate compliance is a huge drain on resources.
Comment: After years in this industry and exposure to 100's of orgs, I know of no org that voluntarily chose ISO 27k without stakeholder pressure. NIST CSF? CIS Top20/18? Even COBIT? Yes. But then COBIT is because the org needs to manage all the stakeholder-demanded frameworks.
Answer: I think the first question you need to ask is: What kind of data you are protecting? Is it PII, financial information, corporate records, technical information? From there you need to know what compliance requirements exist for the type of data you handle. That will help you narrow down your search. Are you doing contract work for the government (US government in particular)? If so, you need to follow their security framework guidelines. Maybe you are working for a large corporation - they might already have a framework chosen that you need to follow.
If it's none of the above, then choose a framework that fits your IT infrastructure model. Don't choose something that involves a lot of management overhead - start with the basics and work up.


How to disable categories/most used in 'add new post'?

Question: How to disable categories/most used in 'add new post'?
I tried function: remove_meta_box(), but it doesn't work for me, i tried it in functions.php for my theme, it's mistake?
Comment: Do you want to remove the whole *Categories* box or only the *Most used* tab?
Comment: @brasofilo - i wanted to remove the Most used tab and did it as above- look at next posts.
Answer: remove_meta_box removes the whole Categories box.
The Most used tab don't have any hook.
Don't modify WordPress core files, there's always a way to modify WP behavior without touching the core.
/**
 * Place the script in the theme's functions.php file
 */

add_action( 'admin_head-post-new.php', 'wpse_70874_hide_most_used_cats' );
add_action( 'admin_head-post.php', 'wpse_70874_hide_most_used_cats' );

function wpse_70874_hide_most_used_cats()
{
    // This function runs in all post types (posts, pages and cpts)
    // So we need to check for the correct type
    global $post;
    if( 'post' != $post->post_type )
        return;

    // If checking for a custom taxonomy, the
 id is 'custom-taxonomy-slug-tabs'
    // See /wp-admin/includes/meta-boxes.php, line 322, WP 3.4.2
    ?>

    <?php
}

Answer: In Add New Post, click on the Screen Options tab om the top right then uncheck Categories. If you want to change it for all users, you can either:

sign-in as the user and then change their screen option
edit your theme's function.php. there are a couple options here and here that might work for you
try to see if this old plugin still works with your version of wordpress
Comment: Thanks for help-very useful is schema for arrays in wp_meta_boxes, but i used other way - just add: ul#category-tabs li.hide-if-no-js {display:none;} in wp-admin.css and it works. i dn't see yet if it causes any aside problems in other place but i hope no:) On the other hand i don't know why code "remove_meta_box()" doesn't work...
Comment: @Marcin, just be aware that CSS mod you made will be overwritten every time you update WP.


Access sitemap from Web API

Question: Background
I'm currently working on a monolithic asp.net web application which uses sitemaps to render menu. The access to each sitemap node is determined by permissions defined in web.config file(s) for each roles.
Roles defined in the web.config files are not actual user roles, but they are virtual roles, and calculated based on the application license and the actual user role.
Now, new feature of the application is built using Web API and AnguarJS, and Asp .Net pages are not used. But menu still need to display in new pages, in order to access other parts of the system.
So plan is to somehow access the sitemap via API Controller to populate menu using AnngularJS.
Question
One possibility is to read the sitemap directly as XML file, but that will not hide menu items user does not have access.
The SiteMapProvider need to be in a asp.net page / control to use. Do anyone know a way to use it within an API?
Answer: Should still be able to access it via System.Web.SiteMap

Access sitemap from Web API


Is it possible for web3 to listen to contract function call ? (For example mint() for a NFT)

Question: Hey I have read about listening to events in web3js and it worked.
I have my abi set up and looked through all available events in it and mint(),
what I use to mint nfts is a function which makes sense, so how would it be possible for me to listen at my specific contract adress when the mint() function is called ?
Answer: You need your smart contract address, your ABI and web3js.
But you need also a node that actually work with ethereum blockchain.
You can do your local node (but it will take long time to sync and a very large memory space) or you can use Infura.io that give you API key so they send to you event from the blockchain.


How does Amazon EBS Snapshot determine modified files?

Question: Typically, a sync application detects file modifications based on file size changes and modified dates. Does this hold true for Amazon EBS Snapshot processes?
Recently I noticed a fixed sized file was excluded from a snapshot even though the file was modified numerous times over a period. When the most recent snapshot (in fact, any snapshots created after the first one) was loaded into a new instance, only the initial content could be located within the file. Even the modified date on the file was set to the initial date.
This made me wonder how Amazon EBS Snapshot determines modified files. Are there any configurations I can change to ensure fixed sized files are added to snapshots correctly?
Answer: Yes, But it does so on a block level. That is, it detects changed low-level blocks rather than files.
Comment: Filesystems such as ZFS do exactly that
Comment: I can't imagine 'block' having a modified date. Which means a modification won't be detected if a block stays the same size, right? Checking checksums on each block would detect such modifications, but I doubt EBS Snapshot process does that. It would be too expensive to run.
Answer: EBS does use block level diffs to determine what to store (as @Dmitry says).  However, EBS also keeps all previously existing snapshots that are needed to fully re-create the state of the file system in the state it was in when the snapshot was taken.
If your snapshot shows an old state of a given file, you certainly are looking at an old snapshot.

Amazon EBS snapshots are incremental backups, meaning that only the blocks on the device that have changed since your last snapshot will be saved. If you have a device with 100 GBs of data, but only 5 GBs of data has changed since your last snapshot, only the 5 additional GBs of snapshot data will be stored back to Amazon S3. Even though the snapshots are saved incrementally, when you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will contain all the information needed to restore the volume.

http://aws.amazon.com/ebs/


Conservation of Momentum with external force

Question: If an object under a constant force , say gravity. Collides with another object with no external force acting on it. Will the momentum of the system right before and after the collision be the same if the collision is instantaneous?
Assume that the collision is vertical.
Comment: Depends if you include the thing it's gravitating towards. If not, then it won't be conserved as you'll be seeing momentum being given to the ball seemingly for no reason. If you do include the large body that it's gravitating to then all that additional momentum the smaller falling ball is getting would sum with the gained momentum of the large body to give zero and momentum would be conserved.
Answer: The Impulse-momentum theorem is
$$\Delta \vec{p}=\int \vec{F}\cdot d\vec{t},$$
where the quantity on the right is the impulse, and $\vec{F}$ is an external force (or a sum of external forces). So if you want to know when momentum is conserved, $\Delta \vec{p}=0$, you want to know when the impulse will vanish. This can happen in two different generic ways

$\vec{F}=0$, and the system is isolated.
The time period over which the collision happens is very small, so that the impulse vanishes.

In your situation $\vec{F}\neq 0$, so the system is not isolated. You're saying the collision is "instantaneous", which to me means $\Delta t \simeq 0$, so that integral vanishes. Since is vanishes,
$$\Delta \vec{p}=\vec{p}_f-\vec{p}_i=0\rightarrow \vec{p}_i=\vec{p}_f,$$
i.e. the momentum right before the collision is equal to the momentum right after.
We need to be a little careful though, since there is an external force on this system. So if your "initial" state is a finite time period before the collision, or if your "final" state a finite time period after, momentum will not be conserved.
Answer: Yes. If the collision is instantaneous (contacct time $t=0$) then the external force $F$ imparts no impulse $Ft=\Delta p$ during the collision. So momentum $p$ is conserved during the collision.
For example, object A is accelerated by gravity towards object B. Object A reaches a certain velocity $v$ just before impact. The momentum of A is then shared between A and B in some way which conserves momentum, but probably involves some loss of kinetic energy. (Or possibly there is a gain of kinetic energy if stored energy is released.) If A and B have equal mass $m$ and there is no loss (or gain) of kinetic energy then A is brought to rest instantaneously and B moves downward with velocity $v$. (This is unrealistic because B must accelerate from rest to finite velocity $v$ in no time at all, which would require an infinite force.) The total momentum just before and just after the collision is $mv$.
However if the collision is not instantaneous then A and B will move downward together while they remain in contact for a time $t$. Gravity continues to act on A, increasing the momentum of the combined object AB by $mgt$. (I assume B somehow has inertial mass but is not affected by gravity.) After the collision, when A and B have separated, the total momentum is $mv+mgt$ whereas before collision it was $mv$.
Comment: So in principle it can't be since the time of collision is not exactly 0??
Comment: @KhaledOqab That is correct. *In practice* the collision lasts a short but finite time $\Delta t \approx 1ms$, during which gravity is acting so the total momentum increases by $mg\Delta t$.
Answer: No momentum is not conserved conceptually in the presence of external force but for a instant in numericals we take it constant
Comment: So , as the momentum instantly before and after the instant collision is conserved?
Answer: Yes: momentum is conserved, but there is massive loss of kinetic energy. The larger the stricken object the greater the loss of energy.
Comment: You would need to clarify your answer as conservation of momentum is for closed systems, on which there is no *external* force.


Djed for transaction fees

Question: I've seen on a couple of sites in the past two days the statement that the goal for Djed is to become the coin with which all transaction fees on the Cardano network will be paid. Since this is the first I've heard this, I'm skeptical. Can someone point to a statement from IOG that corroborates this?
Answer: That's not true. For the security of the system, the fees needs to be paid in ADA.
You might use Djed as a way to pay for the fees with babel fees but that is several years away, if it ever gets implemented in the first place.
Comment: Thanks. Yes - it was babel fees I read about. That's why the whole djed for fees statement puzzled me. Thanks for clarifying.

Djed for transaction fees


Am I allowed to pray salah and perform other Islamic rituals if I come in contact with my semen

Question: I am a 16 year old muslim. I watched porn and mastrubated for the past 3 years. Now I stopped however I mastrubated in many places within my house (chair, bed and etc). I performed ghusl but I didn't clean the semen on these locations where I mastrubated. I don't want to tell this to my parents as well. It been 3 days since I last mastrubated. If I come in contact with the semen can I pray salah and perform other Islamic rituals
Comment: If you add the tag masturbation, the tags taharah or najis you'd find answers covering your inquiry. The last time I covered a similar question is only yesterday. I suppose you are able to do a bit of research.
Answer: Assalm o Alaikum
Indeed it is a sin that should every one avoid it...
But now as you are regretting of your sin, so ALLAH Almighty is most merciful..
He will surely forgive you...
And if you want to pray, you should pray in masjid.. If it is not possible than at home but at a place where there is no dirt like you told semen.
Because it is compulsory for prayer to be offered at clean and pure place...
Jzk
Comment: Since it's been four days since I last mastrubated most probably all the semen should have dried so if I come in contact with it, is it fine? (for example after I do wudu to pray magrib my sister and mom are using the musala, so until they finish I wait on the bed. Is this act going to reject my prayer ). Another problem is that everyone who comes to my house and the people in my house always come in contact with the places where I mastrubated and they are not aware of this. So will there prayer be reacted as well. Please help me out.


Can't Use _Queryall in DBAMP for custom object

Question: I am using DBAMP connection to Query custom objects in Salesforce from SQL database. I want to query deleted records and when i use the _queryall suffix for standard objects i get that. Howwever if i try that on a custom object I get an error:

Blockquote
  "sObject type 'My_Custom_Object__c_Queryall' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names."."
  Blockquote

Has anyone experienced this issue? Am I using incorrect syntax for the QUeryAll?
Answer: Turns out to be unrelated to custom VS standard objects. I had Queryall capitalized and SOQL did not like that.


How do I fix the diamond claw door in Skuldafn not opening even after I've put the rings in the right place?

Question: Even though I have the correct answer to the puzzle, it won't open.  At first the rings didn't even move, so I exited and reentered the temple.  That worked, but now the door just won't open with the correct ring positions.  I don't know how I'm supposed to beat the game!  I did try exiting the entire place and reentering again, but nothing changed.  I ended up just reloading my game to Dragonsreach and I did some other quests.
Answer: One possible workaround described on UESP:

Sometimes the dragon claw door may not rotate, or the door may not open. Simply save and then immediately load that save to fix.
  If that doesn't work, try exiting the temple, save and load from the outside. Go inside, check if both gates on the first puzzle is open, they shouldn't be (only the one you need). Proceed towards the third puzzle where you "reset" it by selecting three dragons and inserting the key, then select the right combination.
Answer: In my game it did the same thing but no matter what I did the door would not open. But I did find a way to get past having to go through the temple altogether thus skipping the diamond door and all that straight to the top.
This way is very complicated, first you have to go up the mountain near where you arrived and travel along the top of the mountain sometimes sliding down a little and you can get to a point where you can jump to the top platform. This took me a while to do just so you know
Comment: Anthony is right, go back to the spot where you arrived and keep climbing up the mountain. My husband and I reached the tree line (where the trees are and the ground flattens out) by kind of moving side-ways and up (when we could) in the direction away from the waterfall. When we hit the tree line/trees, we moved toward the waterfall staying as high as we could by jumping up (and a little side-ways sometimes). We tried climbing the mountain on either side near the temple entrance but were never able to get high enough.
Comment: Comment continues: "We tried turning the circles in the door, reloading saves and nothing worked except for getting high on the mountain near the arrival point.

Anthony just saved the husband and me hours upon hours upon hours of gameplay and Betheseda a customer; I couldn't finish Fall Out 3's main quest because of a glitch and was about ready to lose my mind! We tried a dozen different recommendations and this was the only thing that saved our game!!! Good luck guys, I hope this solution works for you too.

We are on the 360 BTW."
Answer: If you are playing on PC, you could use the console command TCL to simply walk through the door.  Use the console command again to resume normal interactions with floor and walls.
Note: TCL doesn't work if you have an item selected in the console.  Right click or double left click and item to clear your selection (the item number of what you have selected will disappear, allowing you to no-clip freely).
Answer: I had this same problem.  I backtracked until I got a loading screen, then went back to the door. It opened. Saving/quitting/loading had previously not worked.
Answer: At first, I had the problem that none of the circles moved at all, then I saved the game and load it right away and the circles started to turn.
I put the right combination and nothing... Saved, loaded... leaved the room, saved, turned the Xbox off, tuned on, returned to the circle and still nothing...
I kept trying randomly till I set the right combination again AND as soon as I pressed the diamond claw, I went to the middle ring (mouth/butterfly) and pressed (trying to change the animal), while the claw was in the animation. Worked for me.


A very confusing cursor when sculpting

Question:
[![When sculpting the cursor has two circles and a cross hair. It is extremely distracting to say the least. I don't even know what the purpose of the double circles are. Is there way to disable this complicated icon or at the very least remove the cross hair?
Comment: When sculpting the send dot will show where it will be mirrored.
Comment: Thanks. What do the inner and outer circles indicate?
Answer: The center colored dot snaps to the nearest vertex and also appears on the other side of the model if you have mirroring turned on, as Yohello said. As far as I can tell, the outer circle shows the size of the brush, and the inner circle represents the strength / falloff of the brush, and increases in size as you increase the brush strength.
If you want to disable the cursor entirely, you can uncheck the "cursor" box on the right panel. If you do this, There will only be the normal mouse icon to show the cursor position until you click the mouse / press down the tablet pen to begin sculpting, at which point there will be no cursor.
Or, you could go to the cursor color settings and change the cursor alpha to 0, and a simple crosshair will be shown at all times instead of the dot and circles. Hope this helps!

Answer: 1) you have enabled symmetry, the dot on left indicates where the symmetry of your brush will apply.
2) the inner circle indicates strength of the brush. You can change size of your brush by pressing F, when you pres SHIFT+F you can adjust your strength.

A very confusing cursor when sculpting


How to interpret p-values from cor.test

Question: I am using the corr.test() function to do some exploratory data analysis.  I am using the "holm" correction but I think I will switch to using BH.  Eitherway I am curious about the p-value out put from this function.  If the reported p-value is under 0.05 does that mean it is significant now?
Comment: Actually the BH method you mentioned might be one that controls for false positive rate instead of type I error. It will be more lenient. If you control false positive rate under 0.05, your family wise type I error can be much larger than 0.05 depending on the number of tests conducted. You need to make decision whether you want to control false positive rate or family wise type I error.
Comment: I have 38 tests to run so setting my alpha to be around 1 in 40 at 0.025 should work correct?  I'm not trying to find significant results, its more important that I do the test right in my opinion.
Comment: The approach you use is bonferroni. It is certainly correct (will not inflate type I error) but is too conservative for so many tests. Holm will be better.
Comment: Is there any way to objectively know what is best for me to use, or does it come down to a subjective call of I don't want to miss things (thus using something less conservative) vs I want to be strict and make sure I'm certain there is a correct correlation?
Comment: Holm correction is strict in the sense that it ensures strong control of family wise type I error <=0.05. In your example, it is definitely a better choice than Bonferroni. more powerful. Bonferroni has the advantage of being separable, in the sense that if you fail some tests and win some, partial alpha can be passed down to test other things. But if you are not testing other endpoints, it does not matter.
Answer: Holm and Hochberg are both used in multiple testing to adjust for p-values, so as to keep family wise type I error under 0.05. In the case of corr.test(), you usually test for many correlations at the same time, these adjusted p-value are really needed to make reliable conclusions/claim the correlation is statistically significant.

How to interpret p-values from cor.test


Is it ethical to force someone to evacuate from their home?

Question: Suppose a bushfire (wildfire) is approaching someone's home. They have a strong connection to their home but are unable to defend it. They would be utterly devastated if it burnt down. Is it ethical to force them to leave?
Answer: If only the one person's interests are involved then respect for individual autonomy suggests that there is no ethical justification for overrriding that person's conception of their interests in favour of what the state takes to be its better judgement. This is essentially John Stuart Mill's liberty principle (On Liberty, 1859): state or other public interference with what a person is doing or proposes to do is justified only if it causes or is likely to cause harm to others. On these grounds forced evacuation is not justified in the situation just described. The person should not be forced to leave.
In contrast, if there is actual or probable harm to others in allowing the person to stay put, then the state is justified as guardian of the public interest in forcibly evacuating. X may have the right to stay put if no-one else's interests are thereby harmed or put at risk. But if, for instance, X's refusal to evacuate means that others, who want to evacuate cannot do so, or if the unevacuated property poses safety risks to others, then the harm condition in the liberty principle comes into operation and it is ethical to evacuate X forcibly if X cannot be persuaded to move out voluntarily.
You are new to the site, and I am glad to welcome you to it. I hope you won't mind my saying that your question is abstract in a way that means it can't really be answered without adding detail and context. This is what I have done in venturing a response. Just a pointer for future questions.
Comment: Why would it be ethical to remove someone forcibly just because it would pose difficulty for a rescue operation when you can easily relay an ultimatum like "if you choose stay you agree to forfeit any right to help by X"? At the end of the day a rescue person does something risky under their own will so they are at harm only if they choose to be.
Comment: Hello. Cell: I didn't mean to suggest that forcible evacuation would be justified merely because a person's staying put would 'pose difficulty for a rescue operation'. The harm to others condition in the liberty principle is more stringent than that.
Answer: It's unlikely that there is a single, simple moral answer to this question, but it's worth considering that this isn't merely about the rights and privileges of the homeowner in question. Police and fire fighters have an ethical duty to protect citizens and their property, and a person who refuses to obey an evacuation order causes some potentially serious problems:

What if firefighters need to set a backfire that destroys that home, or drop potentially hazardous fire retardant chemicals on it, in order to protect the larger community? Do they just commit themselves to killing the homeowner?
If the homeowner panics and tries to escape later, how many police officers might have to put themselves at risk trying to save him?
If the worst happens, who ends up with the unpleasant task of locating and recovering the homeowner's remains?

No man is an island, and no question of ethics can ever be decided from within a narrowly individualistic focus. Whatever personal devastation a homeowner might feel about losing their home must be weighed against the potential problems their refusal poses to the community as a whole, and to the people tasked with protecting it.
Answer: It would depend on the situation. If that home owner refuses to evacuate, does that create legal or ethical obligations for others to possibly risk their lives to protect him? If yes, and such a situation is foreseeable, it is ethical to remove them.
If for example a firefighter has the right to let him burn...  then we have to decide is it ethical to override someone's free will if we decide that he's making an irrational decision.
As an example, the homeowner has a strong connection to their home, but of course not to their neighbours home. So he might have convinced his neighbour to evacuate, assuming that is the rational decision, but then made the irrational decision himself to stay.
Answer: It depends on your "ethical" axioms.
After you put axiomatic system that is coherent you will get your answer pretty easily.
Here, in your question it seems that you expect that logical deduction will solve some feelings that are in contradiciton with each other. Thats not going to happen.


How long does fresh salmon last in the freezer?

Question: I bought salmon 2 weeks ago, and left it in my freezer. Is it still safe to consume it? what about consuming it raw?
Answer: Yes, as long as food goes, 2 weeks in the freezer is not that long (assuming it was always in the freezer). So feel free to defrost it and enjoy your salmon.


Why does $\phi=\phi^*$ imposed on complex scalar field Lagrangian miss out $1/2$ factors?

Question: If we require the reality condition $\phi=\phi^*$ on the Lagrangian for a complex scalar field is $$\mathcal{L}=(\partial^\mu\phi^*)(\partial_\mu\phi)-m^2(\phi^*\phi),$$ two degrees of freedom $\phi$ and $\phi^*$ is reduced to one. For consistency, I would expect it should give $$\mathcal{L}=\frac{1}{2}(\partial^\mu\phi)(\partial_\mu\phi)-\frac{1}{2}m^2\phi^2.$$ But this procedure misses the $1/2$ factors. Why? Did I mess up some normalization?
Answer: The standard convention is to divide each term in the Lagrangian with its symmetry factor. Therefore the kinetic term for a  real (complex) scalar field is
with (without) a symmetry factor $\frac{1}{2}$, respectively. A complex scalar field $\phi= \frac{\phi^1+i\phi^2}{\sqrt{2}}$ can be viewed as 2 real scalar fields.
Comment: Not sure I completely follow. I know that the Lagrangian of the sum of two real scalar fields $\phi_1$ and $\phi_2$ is equal to the Lagrangian of a complex scalar field defined as $\phi=(\phi_1+i\phi_2)/\sqrt{2}$. But my question is if you want to recover the Lagrangian of a real scalar field from that of a complex scalar field, do we need to put the factor of $1/2$ by hand after setting $\phi=\phi^*$?
Comment: We redefine in order to keep standard conventions.
Comment: What happens is that you find the Lagrangian for the real field $\phi_1$ without any adjustments, and then you drop the subscript 1. So you forget about the old complex field $\phi$ and instead let $\phi$ denote the old $\phi_1$.


How to get the peak value of this logarithmic equation?

Question: Is there a way to get the peak point of the following equation?
$$ (a_1-a_2 x)\ln\left(1+\frac{b_1 x}{b_2 x+b_3}\right),$$
where $a_1,a_2,b_1,b_2,b_3$ are all positive constant values and $x$ is also positive.
I know should make the derivative of this equation equal to $0$. But I cannot solve the derivative-equal-to-$0$ equation. Anyone can help me? Thanks very much.
Answer: If we consider the function $$f(x)=(a_1-a_2 x)\log\left(1+\frac{b_1 x}{b_2 x+b_3}\right)$$ its derivative is $$f'(x)=\frac{{b_1} {b_3} ({a_1}-{a_2} x)}{({b_2} x+{b_3}) (x
   ({b_1}+{b_2})+{b_3})}-{a_2} \log \left(1+\frac{{b_1}
   x}{{b_2} x+{b_3}}\right)$$ and, just as you expected, there is no analytical solution for $f'(x)=0$; only numerical methods could solve the problem. For that, Newton method should be used, assuming that we have a reasonable strating guess $x_0$ of the solution.
If the solution $x_*$ of $f'(x)=0$ is obtained, eliminating the logarithm from the derivative, the extremum value of $f(x)$ would be given by $$\frac{{b_1} {b_3} ({a_1}-{a_2} x_*)^2}{{a_2} ({b_2}
   x_*+{b_3}) (x_* ({b_1}+{b_2})+{b_3})}$$
One point to be noticed is that $f(0)=0$ and that $f\big(\frac{a_1}{a_2}\big)=0$ which means that the extremum of the function could be between these two bounds.
At these two specific points,we also find $$f'(0)=\frac{{a_1} {b_1}}{{b_3}} >0$$ $$f'\big(\frac{a_1}{a_2}\big)=-{a_2} \log \left(1+\frac{{a_1}{b_1}}{{a_1} {b_2}+{a_2}
   {b_3}}\right) <0$$ Similarly, you could easily show that, at the two points, the second derivative is negative, which confirms the maximum. $$f''(0)=-\frac{{a_1} {b_1}^2}{{b_3}^2}-\frac{2 {a_1} {b_1}
   {b_2}}{{b_3}^2}-\frac{2 {a_2} {b_1}}{{b_3}}$$ $$f''\big(\frac{a_1}{a_2}\big)=-\frac{2 {a_2}^3 {b_1} {b_3}}{({a_1} {b_2}+{a_2} {b_3})
   ({a_1} ({b_1}+{b_2})+{a_2} {b_3})}$$
Then, all the problem reduces to the numerical solution of $f'(x)=0$.


Drupal Caching Files

Question: After install and setup of my Drupal site, I've noticed that Drupal has placed a few dirs/files in my file directory like css/js. Is it safe to remove these files when I move my site? What other cache dirs/files does Drupal generate?
Comment: Delete the files in sites/default/files/css and js, make sure Aggregate and compress CSS files and JS files are ticked in Performance UI and when you save on that UI these files are back, albeit with a different name to avoid browser cache issues. If aggregate and compress are not ticked these files aren't written.
Answer: These are the dirs that Drupal 8 core places into your file directory:

config_HASH: This is a unique directory (where HASH is generated specifically for your site) that used for configuration management syncing.
css: This directory contains minified/compiled CSS files.
js: This directory contains minified/compiled JS files.
php: This directory contains compiled Twig PHP template files.

In general, if you're moving a site you can empty out the css/js/php directories; these are page cache generation artifacts and be cleaned out as long as you've emptied your site's cache aftering moving.
As for config_HASH, you'll want to keep it around in case you need to sync CM between environments. (e.g. adding/changing settings in a development then pushing those changes to staging/production environment).

Drupal Caching Files


Sharepoint Add-ins vs Sharepoint Web-parts

Question: Can someone explain to me the difference between the two and why I'd use one over the other?  I'm very new to Sharepoint am needing all the help I can get.
Comment: Hi @WaqasSarwarMCSE ,I agree with you,  it's duplicated but the answer in the main post is not up to date where auto-hosted has been deprecated and the app name become add-in , I know you know that but the answer in the main post doesn't mention that ,
Answer: SharePoint Web Part

Web Part is a reusable component or a server side control that can be added inside a SharePoint page.
Web Part code runs directly on the SharePoint server.
There are several out-of-box Web Parts available in SharePoint and one can also build their own custom Web Parts.
You can use Server Side Object Model / CSOM via C# .

For  more details check Creating Web Parts for SharePoint
SharePoint Add-In

Add-ins can be developed on both SharePoint Online and in On-Premise offerings.
Add-ins don't have custom code that runs on the SharePoint servers.
Almost all major types of SharePoint components can be part of a SharePoint Add-in, including pages, lists, workflows, custom content types, list templates, Web Parts, and more.
There are two basic kinds of SharePoint Add-ins —

SharePoint-hosted and
provider-hosted.

Add-in can be published to Microsoft's public SharePoint store or hosted in a private store.
Provide you with the simplest marketing and sales system based on a Microsoft online add-in store.
Maximize your flexibility in developing future upgrades.
Maximize your ability to take advantage of your existing non-SharePoint programming skills.

For more details check SharePoint Add-ins


Heated bed for the XYZprinting da Vinci mini w

Question: Anybody ever tried to retrofit a heatbed to the da Vinci mini w with the proper dimensions (165 mm x 165 mm or 6.5" x 6.5").
Where can I find a heatbed that fits and a corresponding power supply / PID controller?
Comment: Is there a specific reason you are looking for a heated bed?  Are you having print adhesion or curling issues; or, are you wanting to try a different material that requires a heated bed?
Comment: I've severe warping and therefore adhesion issues too, even with PLA. Of course, I am also interested in printing other materials, if the manufacturer finally provides them or if I decide to replace the controller board (so I can print unchiped material).
Answer: Instead of replacing the bed, you could invest in a silicone heating element and top it off with a piece of (Borosilicate) glass.

If the printer board has exposed headers to attach a heated bed, which is possible, but not certain, you could use an SSR (solid state relay) to power the bed using the signal from the board to set the temperature. Alternatively use a thermostat for an incubator to create the signal for the SSR. Note that all these parts can be sourced from those typical online websites.
In case the wires of the silicone heater stick out, use a layer of cork where you cut out space for the cables and thermistor.
Answer: I mounted four 10 W resistors under the bed and connected them in parallel to the SKR1.4 board, I installed in the mini.
If you still have the original board, you can connect the resistors to any power source with enough power to drive the load, preferably 24 V.
Answer: I decided to go the way of a silicon heat pad (12V/24V) 200 W.  I got the unit and a 3 mm glass bed. Clipped it to the aluminum, and promptly the head crashed into the side of the bed!
Lesson learned. The Mini in order to go home transitions to a spot at the front of the bed and actually lower than the bed.  This is so that you can level the bed manually by adjusting 4 screws on the gantry. The gantry sits on the bed thus leveling it to the bed.  Because of this, there is only about 4 mm of height available.
One individual who added a heated placed a riser under the z-axis to overcome this limitation. My other thought is to replace the aluminum bed with a glass bed and have the heater on either side of the bottom gantry as there is about 2 mm space there. Since there is an end stop the unit is using others have simply moved this up to match the new height of the bed.
I am assuming [HOW TO] Da Vinci Mini Heatbed Conversion would have attempted a software patch before doing a physical riser.  While in some ways I would feel better raising the riser, I decided to extend the tab on the extruder head to intercept the sensor instead.


Upsizing Gas Line From Tee

Question: I need to upsize a short 1/2" run to 3/4" (it splits from the main line using a tee). This is about 4-5ft long and goes into an appliance directly. Would it be OK to remove just the pipe and keep the 1/2" tee? I'm thinking not, since the restriction is still there, but not sure if flow would be actually noticeably impacted. Any suggestions?
Comment: Do you need the change it because the appliance has a 3/4 inch fitting or do you actually need a higher flow of gas?   If the 2nd case, you need to replace the tee of course.
Comment: need a higher flow of gas
Comment: Just a note- not answer to question: 2-part unions like that may not be allowed under certain circumstances, and are always required to be in an "accessible location" when they are allowed (AFAIK). Check with the local AHJ.
Answer: Since you have a union right there changing the T should not be that tough. There is a nipple to the right if lengths change. I might try the existing But any time another appliance with no restrictions turns on the new one may starve for fuel. I have seen your plan work but since doing it right would not be much more work and possibly only changing the T, I would do that so I would not have to go back and do it over with all the new pipe in place needing to be removed to upgrade the T if it doesn't work.
Answer: If I were doing that change, I would do the job right and replace the tee. The get the flow you need 1/2" thread may not flow the amount of gas that you need. That said, the distance you need to go with that branch just may still yield enough gas flow to support the device you are connecting. I would use what is there first to see if I get enough gas flow. If you don't, then change that section of pipe.
Comment: @FreeMan - Check the picture. There is a union right next to the T as pointed out in the answer by Ed Beal. Changing any of that piping will be a pain but that union may very well save the day.
Comment: I would guess that the T is _not_ a union type fitting with opposite threads at each end. Removing the T would, potentially, require disassembly of a large portion of the downstream piping to get it out, correct?
Comment: Ah, thanks, @MichaelKaras, I didn't recognize it as such. Nor did I read Ed's post in enough detail to have that register...

Upsizing Gas Line From Tee


Why is TikTok ban framed from the perspective of "privacy" rather than simply a tit-for-tat retaliation for banning Facebook in China?

Question: There's currently tons of disputes in the media over the extent to which TikTok is supposed to be "spying" on US users and (afaik) the planned ban, if executed, will be done on the grounds of "national security". But why bring in privacy at all and not focus on this being purely a tit-for-tat response? Facebook, Google and many other US corporations are banned from operating in China, so it seems reasonable for the US to retaliate and ban Chinese social media companies from operating on US soil. This would sidestep the dispute over how much of a threat TikTok is supposed to be and the Department of State could announce that TikTok will be unbanned as soon as Facebook becomes available in China again. Have any Congressmembers so far proposed dropping the "national security" angle and simple demand Facebook to be unblocked?
Related: Why don't Western countries penalize Chinese companies in the same way that China restricts Western companies working on its territory?
Comment: Voting not to close - It is a valid question for those who don't understand western politics.
Comment: Voted to reopen - as I previously pointed out, not everyone may be familiar with how politics in United States work and this is thus a valid question to ask. For those who want this question closed, please comment and explain your reason. That is the only way the questioner can edit and improve the question and us reviewers / mods better understand your reasoning.
Comment: Why do you even think, at all, that this forms a part of the reason? Do you have a source that suggests this? I am voting to close this because it seems to be based on a faulty premise.
Comment: Is this specifically talking about the proposed RESTRICT Act?
Answer: Well, Google did operate in China at one point. As far as I recall, China bans/blocks FB and Google's external sites at the Great Firewall based on these companies not co-operating with Chinese law enforcement on censorship (and spying on their own, Chinese citizens) as their version of "national security" exception from trade treaties etc. Back during the Trump administration:

Ambassador Michael Froman in the Office of the U.S. Trade Representative, stated, controversially, China's Great Firewall presents a trade barrier to American suppliers. The Cyberspace Administration of China has rebutted this claim by asserting that the firewall was in place for security purposes and is not a violation of World Trade Organization stipulations.

So, in this sense, the US response is rather similar. The only thing that's missing is some explicit tit-for-tat invocation, and even that is probably not totally missing, depending where (ibid) you read about it.
One slightly subtle point is (I think) that if the US does this ban openly as a tit-for-tat measure, that action is easier to challenge at the WTO, because the latter gives wide (but, more recently, not complete) latitude to countries to define national security exceptions. If the US does this openly tit-for-tat and China sues at the WTO, it's up to the US to prove that China's initial measures violated WTO rules. Whereas if the US does the same but on national security exception, it's then up to China to prove the US invocation thereof isn't valid. So, in this regard, it's a matter of placing the onus of evidence on the other side, given the rather nebulous WTO rules in this area. Yeah, China has been claiming that even bans of TikTok (and WeChat) on US government devices violated WTO rules, but insofar they brought no WTO case on that, as far as I can tell. (They've been claiming the same about the broader ban by India. AFAICT, they didn't bring a WTO case on that either.)
Comment: @virolino No, it translates into "The US is innocent until proven guilty". The US is claiming a legitimate reason, and it's up to China to prove that the reason is not legitimate. As for the "land of logic and law", no such thing exists. The land of logic and the land of law and court proceedings have some overlap, but they are nowhere near congruent.
Comment: The WTO angle is interesting, but I doubt it would be the biggest legal problem in the OP's proposal. The bigger problem would be that pesky First Amendment, which does not contain an exception for retaliating in kind against another country's government.
Comment: @virolino Your logic is not flawed, but it is misdirected. Neither country is directly accusing the other of directly attacking national security. They are both just claiming that national security is involved in the reasoning for the bans. To be clear, the only thing that can or needs to be proven is that these bans are in violation of WTO rules. Alas, in these particular cases, that involves successfully challenging the reasoning itself.
Comment: @virolino: It's not a matter of guilty-until-proven-innocent or innocent-until-proven-guilty.  It's a matter of proven-guilty-of-something-of-concern-to-USA vs proven-guilty-of-something-of-concern-to-WTO.  (One particular example of that something-of-concern is "harvesting location data from private devices of American troops")
Comment: *"Whereas if the US does the same but on national security exception, it's then up to China to prove the US invocation thereof isn't valid."* - does this translate to: "China is guilty until proven innocent"? Also, what about "negatives cannot be proven?" IMO, whoever makes a claim (e.g., "national security") must also bring the proof. Otherwise, we are not on the land of logic and law anymore. Or?
Comment: @JoãoMendes: but "claim" and "prove" are not synonyms! Why should China prove what US claims? Or even worse, the opposite of it? It is like this: US -> China is guilty, we cut xyz technology! China - (has to prove they are not guilty). So s long as China cannot prove that they to not attack the "national security", they are (considered) guilty. I am just trying to learn, where is my logic flawed?
Comment: There is _no point_ bringing a WTO case against the US and China knows this. All WTO cases against the US end with being appealed to the void.
Answer: Just as an hypothesis: the USA government actually believes (correctly or not) that TikTok could be a security risk.
In that context, framing the measures as retribution for Facebook's restrictions in China gives the PRC the opportunity to just lift those restrictions.
That would pressure the USA government into lifting the ban of TikTok, or force it to switch the justification to the security line. The USA government claiming on Monday that TikTok was banned for one reason and then claiming on Tuesday that the reason was a different one would hurt the USA government credibility, and would enrage TikTok fans and users, specially those inside the USA.
Another hypothesis: TikTok already has lots of users in the USA. Telling a user that his favorite social app is banned to help the cause of a social app that he does not use could be somewhat unpopular, the "security" reason makes for a good appeal to patriotism.
Comment: @JamieB Less oversight than you think. Read about [parallel construction](https://en.wikipedia.org/wiki/Parallel_construction) - they will take the illegal evidence (like you tripped an NSA dragnet word filter so they knew you were selling drugs), use it to create an alternative legal chain of evidence (like the police officer *just happened* to drive by and notice drugs in your window), and then present the legal one to the court.
Comment: @user253751 Not to mention that the US surveils non-citizens constantly, who have no consitutional protections at all.
Comment: From what little I know about TikTok and the US, it is a security risk almost by definition. They collect lots of information about the users behavior. Because that is how this thing works - it is hard to doubt that it happens. Oh, and the Cineese Comunist Party has access to the data. We do not even need to start to think about "which data" to see there is something wrong.
Comment: @VolkerSiegel but American apps do the same thing to the American government, so if we think this is unfair we should also ban Facebook, and Stack Exchange.
Comment: @user253751 The point is that China's government is, in terms of security, an adversary to the US government. And that the US does not have any power or influence on Chinese companies.
Comment: @user253751 The difference is that there is oversight in America for this. You could argue that "the government spooks can get the data anyway" but they can't use it in court unless it was obtained legally, which means "with judicial oversight and Constitutional protections". In China, the CCP has no such oversight, nor are there any protections. If they roll into your office and ask for data, you give them data. There's no judiciary or protection for you, your company, or the people being investigated.
Answer: "Have any Congressmembers so far proposed dropping the "national security" angle and simple demand Facebook to be unblocked?"
That implies that the unblocking of Facebook is the goal, but the actions we've seen so far say otherwise.
One possible view of the attempted ban that I've been hearing around is that it's an attempt to get American market share back into the hands of American companies. Nothing about data protection, because if that were a concern, then Facebook and Google would be under fire as well.
Getting China to unban Facebook in mainland China might gain Facebook some market share in mainland China. But when TikTok is eating huge chunks of market share in their home territory of America maybe priority should be local before overseas. Which could be why they're attempting to solve things locally before trying to change foreign laws to allow for Facebook to enter that market.
Then there's the data privacy/protection debate that is actively being used as the reason for the ban. Which similarly does not care whether Facebook can operate in China.
Finally Google and Facebook have been lobbying for this ban. They are the ones prioritizing the American market share over the Chinese market share. They could just as easily spend that money trying to influence foreign policy to expand their own market, but are instead lobbying to reduce TikToks available market.
Comment: @convert It's an opinion that is backed with factual claims, and is far better than the other Answers which all seem to take the Question's premise at face value. The assumption that the goal with blocking TikTok is to punish China for blocking Facebook is an odd one. Why would the US government suddenly be pro-Facebook, and put it above all the other sites that have been blocked in China?
Comment: If it´s just your opinion, the answer is off topic.
Comment: In comparison, we can see that in the EU, where they also claim to care about privacy, companies like Facebook and Google **are** under fire as well which gives us more grounds to think privacy is the real reason for stuff that happens in the EU.
Comment: Including the wording about opinions is unnecessary though. I'll edit it to be more objective
Comment: TLDR: Add sources. TheEvilMetal compare your answer to Machivity's. You make some claims, but provide no sources for those claims. That makes your answer, your opinion. Machivty on the other hand, has added sources backing up their claims. Which means I can read to decide whether or not to agree with him.
Answer: There's several issues at play that go well beyond a mere tit-for-tat play
Social media isn't exactly anyone's political darling at present
Part of the narrative that has been building is that these companies (US and otherwise) are harming users (i.e. children), and promoting misinformation

The chief executives of Facebook, Google and Twitter faced withering criticism from members of Congress on Thursday about their handling of misinformation and online extremism during their first appearance before lawmakers since the Jan. 6 Capitol riots and the rollout of the coronavirus vaccine.

And

The hearings coincide with legislation under active consideration in both the House and Senate to rein in the tech industry. Some bills target companies' economic dominance and alleged anti-competitive practices. Others zero in on the platforms' approach to content moderation or data privacy. The various proposals could introduce tough new requirements for tech platforms, or expose them to greater legal liability in ways that may reshape the industry.

Both Republicans and Democrats are not happy with Facebook. Openly doing Facebook a favor would not play well politically for anyone.
China has access to US TikTok data, likely meaning the government has access as well
BuzzFeedNews had this story

"Everything is seen in China," said a member of TikTok's Trust and Safety department in a September 2021 meeting. In another September meeting, a director referred to one Beijing-based engineer as a "Master Admin" who "has access to everything." (While many employees introduced themselves by name and title in the recordings, BuzzFeed News is not naming anyone to protect their privacy.)

TikTok has said the story is false, and yet won't commit to cutting off any data flows to China

Pappas affirmed in Wednesday's hearing that the company has said, on record, that its Chinese employees do have access to US user data. She also reiterated that TikTok has said it would "under no circumstances … give that data to China" and denied that TikTok is in any way influenced by China. However, she avoided saying whether ByteDance would keep US user data from the Chinese government or whether ByteDance may be influenced by China.

The TikTok CEO failed to convince Congress they are not sharing data
This feeds into a larger push to isolate China technologically
Chief among that would be the banning of IT equipment maker Huawei

The Biden administration has banned approvals of new telecommunications equipment from China's Huawei Technologies and ZTE because they pose "an unacceptable risk" to U.S. national security.

Which also notes this later in the same article

That came after a March 2021 designation of five Chinese companies on the so-called "covered list" as posing a threat to national security under a 2019 law aimed at protecting U.S. communications networks: Huawei, ZTE, Hytera Communications Corp Hikvision and Dahua.

Around that time, the US also clamped down on certain technological chips

The rules prohibit the sale, to Chinese customers, of advanced chips with both high performance (at least 300 trillion operations per second, or 300 teraops) and fast interconnect speed (generally, at least 600 gigabytes per second). Nvidia's A100, for comparison, is capable of over 600 teraops and matches the 600 Gb/s interconnect speed. Nvidia's more-impressive H100 can reach nearly 4,000 trillion operations and 900 Gb/s. Both chips, intended for data centers and AI trainers, cannot be sold to Chinese customers under the new rules.

The US has struggled to get Huawei out of international markets previously

More of America's allies are resisting pressure from Washington to rule out the use of telecom equipment from China's Huawei Technologies — a company the Trump administration says poses national-security risks.

If TikTok is also being used to spy, that makes it easier to say anything coming out of China is potentially spying. That plays well with US efforts to limit them from tech markets.
Answer: It is a tit-for-tat response. The reason for the difference in implementation is simply because the US and the Chinese have different political systems.
In the single-party highly centralised political system, Chinese leadership can act with decisive swiftness without much regard for public opinion. Whereas, a democracy (like the United States) has a slower consultative and cooperative mechanism that is designed to care about public opinion (i.e. all the stakeholders).
So the United States cannot simply ban TikTok, citing national security alone, as US political ideology has created a public opinion that protectionist measures (and other similar trade barriers) are bad for capitalism.
Note though that the US isn't planning to ban TikTok just using the privacy angle. The privacy angle is being highlighted to the public in the context of how it impacts the national security of the United States. Another important thing to understand is that democracy requires that political decisions be implemented through established (often well designed) processes and conventions in place.
A doubt that may arise from my answer is - if it is a tit-for-tat response, why did the US wait so long to act? The answer is that nobody predicted that Chinese internet companies could compete with the US BigTech so effectively, and in a very different manner to how capitalism works in the west (i.e. chinese companies have state ownership stakes in them). And political capitalist ideology demands that a negative action like a ban / sanction hurt someone economically to make them reconsider it. Thus, it was necessary to allow TikTok to flourish, before banning it, to make the Chinese realise that globalization needs countries to cooperate with each other.
Comment: *"US political ideology has created a public opinion that protectionist measures (and other similar trade barriers) are bad for capitalism."* - the last president was elected in no small part due to their repeated and firm commitment to build a wall locking out immigrants who assumed employment in the USA, take a strongly non-interventionist stance w.r.t. the Middle-East, and loosely speaking return the USA to its historic status as "great". The nationalist undertones were clear, and very definitely espoused protectionism as a valid and viable, if not necessary means to these ends.
Comment: "Thus, it was necessary to allow TikTok to flourish, before banning it, to make the Chinese realise that globalization needs countries to cooperate with each other."

Can you elaborate on this more? What does "cooperation" mean in this sentence?
Comment: @Nij Trump is a businessman. So his approach to politics and administration is to treat it like a corporate with himself as the CEO. This obviously doesn't gel well with the democratic process and that is why his administration always had a tense relation both domestically and internationally. This is also why he failed to understand how a superpower needs to act. But credit is due to him for recognizing early on that US expectation that China will become a western type capitalist was flawed. And today Biden is doing what he crudely advocated for - both with China and with semiconductors.
Comment: @Mavrik Any product / service needs a market to sell it. Thanks to globalization every country is a potential market. But if a country places protectionist measures that restricts trade of some product / service this places other countries at a disadvantage as market access is being denied to them artificially. Though US tech companies were banned in China US allowed China access to their market. This was to show them the value of the US market. Once a business sees how lucrative a market is, they obviously want to grow there. A block hurts. Thus countries have to cooperate to flourish.
Comment: "in a very different manner to how capitalism works in the west (i.e. chinese companies have state ownership stakes in them)" - is it really that different? For one, nothing stops the state having ownership stakes in companies in the west, and for two, the real western state is the trillion dollars of wealth management funds, which have stakes in all the companies
Comment: @user253751 "Western" capitalism is about private ownership of wealth. And in the United States, the majority of the corporates are private. Even the wealth management funds are private, and not state owned.
Answer: Instead of correlating prior actions with unrelated reactions, let's look at the big picture....
American social media platforms are banned in China (along with I lost count of however many strict countries have also done the same) because China is a dictatorship and as with every other dictatorship, these things were seen as a threat to their power as they would never comply with propaganda spreading and they would inevitably open the door for many to freely speak out or start a revolution, etc...if it doesn't unquestionably promote our government, then it is a traitor before anything happens. (Loosely used example: any non-native north Korean on a tour in north Korea MUST always show the greatest if respects towards all government entities as required, such as bowing to statues of past and current leaders,saluting to high ranking officials,kneeling as custom, etc...)
Now think the big picture of TikTok.
It's origins is China. that doesn't seem like the issue as this was known some 5 years or so ago when it was released here and nobody seemed to care and wasn't even brought up in the neutral context of simply stating a fact even during all of this. the court of public (and investigative) opinion seems to still not even care.
Moving on... Have you sat down and watched the popular or recommended feed videos on there? If you haven't, then I'm sure you've used YouTube a few times just to see a TikTok ad pretty much every ad break.
There's something about it. It's not something China did...at all . In fact, their TikTok audience is more into videos of things like child geniuses who can play Bach perfectly at age 4 or can do calculus equations in their head on the spot by the time they're in first grade, and the list of incredible and extraordinary people just keeps building. Sure, they have some content similar to ours, but it's far less of it with far less views and it's only viewed when "you just want something stupid to laught at for a minute to clear your head or take a quick breather from a complicated task or thought and laugh at something stupid or goofy."
That's basically how they view the type of content THAT WE ARE RESPONSIBLE FOR CREATING  So, it isn't China's fault. It is our own and here's some more detail to this big picture I'm painting for you.
The videos are as ridiculously short as the content is redundant. Keep that up for 6 years and the result is obvious: people's attention spans have shortened by an unfathomable amount and the redundancy becomes a craving. 10 seconds of silence to think for yourself is almost like becoming dope sick (opiate withdrawals). Must...fill ..void... IT HAS BECOME A TOP SOURCE OR REASON FOR THE DECLINING STATE OF OUR MENTAL HEALTH AS A COLLECTIVE. That is why it's considered a national security risk. That and the fact they've given all the banned elsewhere unbelievably psychopathic conspiracy theorists a place to make thing up that otherwise smart people will believe because they yell loud words repeatedly, and on the platform where redundancy reigns supreme, it increases the likelihood that people will buy into it even if the subject matter is so obviously made up that you couldn't even pay someone to think that nonsense up.
To conclude, we are the reason for this "ban" IF it happens and is followed through with. Out attention span has all but disappeared. Out temper has gotten much shorter. It has completely reversed what we once viewed as entertainment. We used to crave new and exciting things, but now we are content with uninteresting,unimaginative, unfunny, and repetitive content that it is starting to take a jab at our collective IQ.
It's like an addiction as well. When you call it out on any or all of those things, the avid viewer will get angry with you and even defend their stance to the point of insulting you or making you feel bad because you just shunned something they like.
Lastly, it's a safe haven for stark racing mad yltra-rught-winf lunatics who think the government controls social media because their untrue and angry hate speech violated the terms of service everywhere else. Stop watching any and all "news" on TikTok.most of it is fake and doesn't even sound based in fact.
Comment: however this does not answer the question, which is why a certain excuse is used for banning it, and is not related to what the app actually does
Comment: So basically you are saying that it is a real national security threat targeted at dumbing down western children?


Moto X (2nd generation) international travel

Question: I want to get a motorola moto x (2nd generation) but I am unsure if the phone can work in other countries outside of the United States, specifically China.
Answer: According to the spec sheets, YES, a Moto X 2014 will work in China at 3G speeds.
China provides access to their GSM network over the 2100MHz (HSPDA, or 3G) and 2500MHZ (LTE) spectrums, shown here. A Motorola Moto X (2nd Gen) purchased in the United States (from either Verizon or AT&T) covers that 2100MHz band for 3G, but doesn't touch the 2500MHz for LTE, as seen here. In fact, the spec sheet shows it should work, to some degree, almost anywhere in the world that provides GSM service.


Time of delaying prayer

Question: •Assalamu'Alaykuk O-Rahmatullah O-Barokatuh!
Hi!  haw are you brothers and sisters?
When you pray Farj prayer after sun rise is that going to be delaying prayer?
JazakAllahkhoir.
•Os-salamu'Alaykum O-Rahmatullah O-Barokatuh!
Answer: Wa Alaikum As Salam Wa Rahmatullah Wa Barakatuh, dear brother :) Alhamdulillah by the Mercy of Allah (ﷻ), I am doing well. I hope you are in the best of health as well.
Prophet Muhammad (ﷺ) said, "the time of the morning prayer is from the appearance of dawn, as long as the sun has not risen" (Sahih Muslim). This defines the time period in which prayer may be offered. After sunrise, the prayer would be considered late. It is haram to intentionally delay it to the point of being late. Make sure to offer Fajr before the sun starts to rise.
Comment: JazakAllahJoir! So that means if I pray Farj before the adhan of Duhur is going to be delaying Salah right?
Comment: Yes, that would be delayed.

Time of delaying prayer


Adjusted vs. unadjusted effects in regression

Question: Is "unadjusted" basically just simple linear regression whereas "adjusted" is multiple regression?  For example, looking at the effect of x on y adjusting for other variables like a, b and c versus not adjusting for them.
Comment: Yes, that is my understanding
Comment: I agree.  And apparently "yes" isn't long enough to be a valid answer.
Answer: Since based on the comments "Yes" isn't long enough to be an answer:
Yes.
When a regression reports an unadjusted estimate, it's just a regression of X on Y with no other covariates. An adjusted estimate is the same regression of X on Y in the presence of at least one covariate.
Answer: Crude estimate is obtained when you are considering the effect of only one independent (predictor) variable, i.e your equation consists of only one independent variable. When you include more independent variables in the analysis (confounder variables) you will get what is called and adjusted estimate, which takes into account the effect due to all the additional independent variables included in the analysis.
Answer: All above is true, I just want to add that the adjusted is when you consider multiple covariants or independent variables (for example: X1, X2, X3, X4), set them all constant at their 'Mean Value' except one Independent variable (X1) to capture the relationship between this one independent variable and the dependent variable (X1 and Y).


What does the process 'Locum' do?

Question: I am seeing a process titled, 'Locum' show up in my OS X process list. Does anyone know the details of what this process does?
Comment: If you see that is using a large amount of resources, you are probably emptying your trash or the trash is being emptied in the background; it can also eat CPU if you have a large number of "preview" windows opened.
Comment: Locum also appears when copying old Time Machine data sets from one drive to another.  The finder needs escalated privileges to be able to copy everything that's inside the backups.
Comment: @user117090 — What would the process Locum have to do with "preview" windows ?
Answer: Google says that it's a helper process for Finder, that does all the stuff Finder would need escalated privileges for.
Comment: Yup, Locum is used for privilege escalation: http://discussions.info.apple.com/message.jspa?messageID=8293436
Comment: And you should always kill Locum whenever you kill Finder while doing anything privileged because it'll keep hogging resources for whatever Finder was doing.
Answer: In addition to what's said, if you choose to "Secure Empty Trash..." in Finder, Locum will consume a lot of resources because it will re-write the data (possibly several times) of where your trashed items resided. This will ensure you can never ever recover them.

What does the process 'Locum' do?


$k$-substrings of a binary string

Question: Let $k > 1,$ and $a=a_1a_2...a_{2k-1}$ be a binary string, i.e. $a_i\in \{0,1\}$. Consider contiguous substrings of $a$ of length $k (k-$substrings$): b_i := a_ia_{i+1}...a_{i+k-1}, 1\leq i\leq k$. Weight of a string $x$, $w(x)$, is the number of ones in the string. For the given string $a$ consider the multiset of weights of its $k$-substrings: $W(a) = \{w(b_1), w(b_2), ...,w(b_k)\}$. For example if $k=3$ and $a=10100$, then $W(a)=\{w(101),w(010),w(100)\}=\{1,1,2\}.$ Consider the following equivalence relation for strings of length $2k-1:x\sim y$ if and only if $W(x)=W(y)$. How many equivalence classes are there? For example if $k=2$, the answer is $5$. An upper bound for the answer would also be helpful. A trivial upper bound would be $\left(\!\!{2k\choose k}\!\!\right)$, but we count many not valid multisets there, for example there are no multisets that contain both $k$ and $0$ together.
Comment: Have you calculated the number of equivalence classes for a few small values of $k$, and then consulted the Online Encyclopedia of Integer Sequences?
Comment: Isn't that [A045623](http://oeis.org/A045623)?
Comment: @Bullet51 yes it is
Comment: @GerryMyerson thanks Gerry for the Encyclopedia, didn't know about it, found very helpful info
Answer: The equivalence classes of multisets may be described by integer sequences with length $k$ satisfying the following property:
$a_n ≤ k$
$a_n ≥ 0$
$a_{n} ≤ a_{n+1} ≤ a_{n} + 1$ for all $1≤n≤k-1$
Denote the number of such sequences $b_k$.
We have
$b_{k+1}= 2b_k + 2^{k-1}$, as the $2b_k$ part comes from extending the sequences $a_n$ of length $k$ by $a_k+1$ or $a_k$, and the $2^{k-1}$ part comes from sequences ending with $...,k+1,k+1$, which does not have such extension.

$k$-substrings of a binary string


How to consume .Net 4.0 REST WCF services?

Question: I am having an ASP.NET 4 Web application. How can i consume a .Net 4.0 REST WCF service in this asp.net application.
Do i need to create proxyclass like for web services for REST too or is there some other way?
Please help. Thanks in advance.
Answer: this may help you : Create REST service with WCF and Consume using jQuery
Create, Host(Self Hosting, IIS hosting) and Consume WCF servcie


In InDesign, how do I adjust the leading kerning for a paragraph?

Question: I have a text box with two lines of text with different font size. The text is left-aligned, but due (I'm assuming) to how the letters' bounding boxes are defined the two lines actually do not align. How do I align both rows to the left, in a way that makes the printed characters align?
Answer: There is a setting in the Story panel (found under Window -> Text) called Optical margin adjustment which does exactly this: adjusts the precise location of characters that fall at the beginning or end of a line to make the margin look more even.
It moves quote marks and such characters slightly beyond the edge of the margin to make the actual letters line up better, and it should also move the larger n here a bit further out to align the lines more accurately.
The number that you can set in points when you enable optical margin adjustment tweaks the degree of adjustment to apply. I have to admit I've never quite understood precisely what the number relates to and what it means, but essentially, the higher the number, the more rigorously the notion of a straight line is imposed. So if you set it to, say, 30 pt, it will move quote marks completely out beyond the margin and line up the letters exactly; whereas setting it to 5 pt will only move the quote marks out a small amount, leaving the letters more aligned than without optical margin adjustment, but not entirely aligned.
Answer: A quick and simple method is:

Insert a space in front of the line.
Make sure the text cursor is between the space and the first letter.
Hold down ALT and use the LEFT and RIGHT keys to nudge the line to the wanted position.


Update multisite modules and core in one click

Question: I have a Drupal multisite install with 7 different sites, all sharing the same modules, themes and users but everything else is unique to the individual site.  At the moment, I only have to upload one version of Drupal core or any contributed modules when I want to update them but I have to run update.php on each website separately.  Is there an easy, quick way of making all of these updates run simultaneously?
Comment: But *can* you use Drush? Is it a possibility, or are you in some sort of situation (eg, cheap shared host) where you can't? Because this is actually really easy to do with Drush, and useful enough that you may want to install Drush to do it even if you don't use Drush for anything else.
Comment: I assume by running update.php manually don't / can't use drush?
Comment: Yes, I run update.php manually.  I don't use Drush.
Comment: I can use it, I've just never used it before.  I'll look into it, thanks.
Answer: I think the simple answer is no. And generally you would want it to be so.
Running update.php can cause sites to fail, so you should back up each sites database run update.php and then check it works. Each of your sites will work slightly differently, depending on the combination of modules. So a broken update hook, or a conflict would be something that you would want to check carefully for.
Having said all of that there are tools such as aegir which may make this possible to do safely.


Discontinuous large values in depth map

Question: For my project, I save rgb frames (PNG format) and the depth maps (EXR format) for different camera views. The compositor setup I use is shown here  and I use Cycles.
When I read the raw depth values, for plane surfaces like paintings or glass surface the depth map has sporadic, or clusters of, very large values like 10^10 among a region of foreground pixels with low depth values.
Why does blender render these certain pixels as background, when they actually belong to a foreground object? This renders the depth map inaccurate.
Is there a better, accurate way to obtain depth maps from blender?
Edit: The link to a blend file where I saw this.
Answer: It's hard to say for sure without seeing the file.
But I believe you're probably seeing places where the reflections shoot off into infinity.
Let's think about glass, which is one place where you mentioned problems.  A ray either goes through the glass or reflects from the glass.  You can get vastly differing depths depending on which it does.  The depth needs to take into account the reflection for purposes of misting, DoF, etc (think a mirror).  But there's no sense in mixing depths-- you're not going to get something more right by averaging the depth through and the depth reflected, you're just going to get something completely wrong.  Blender has to pick between reflected depth and refracted depth, and where it changes its pick, you have a discontinuity.
What's the solution?  I've asked around and not heard any suggestions.  If you want your depth to a surface, you can render an Eevee depth map, which won't have this behavior.  You could also consider using multiple render layers, perhaps with material AOV outputs that would let you specify flat depth, reflected depth, or refracted/transparent depth.   But yes, these are frustrating solutions in that they can potentially add a lot of render time and complexity.
Comment: Thanks, this explanation makes sense. Regarding rendering depths with, possibly, Eevee, is it possible that it will introduce errors in other regions where I previously had not any errors? I.e, is eevee error-free?
Comment: Also, how does blender choose between reflected and refracted depth?
Comment: @VjayalakshmiK Eevee depth map and Cycles AOV depth material *should* be same, but untested.  Cycles probably choose between depths on the basis of which component (glossy, refraction, diffuse et al) has the strongest influence on the sample (mix glossy->refraction at 0.6 probably gives refracted depth.)

Discontinuous large values in depth map


PCB Trace Repair (Need to keep track shape?)

Question: Need to repair a trace on my PCB.  The burnt trace has a hairpin turn on it.  Instead of following the same hairpin shape, can I just bridge across the undamaged points at the bottom?  And also, the printed "TF b=0.4mm" on the PCB, does it have any significance to it?  Next to it appears 0.6mm that has the same hairpin shape, but trace looks a bit wider. I have superimposed two pics together.  One has light shone through the PCB
Answer: Since they're labeled TF, it's safe to state they're thermal fuses.
Therefor, since inductance is likely irrelevant, you could replace them with through-hole fuses of the correct value. The current value depends on copper layer thickness, but for 1 oz. Cu, 0.4 mm would be about 1.5 A and 0.6 mm ~2.5 A... but it would be better to find out what the actual current ratings are.
N.B. Since that 0.4 mm trace is thoroughly fried, first fix the issue that burned it out. The fuse has a purpose, and it likely prevented further damage or even a fire, so don't just bypass it.
Answer: Keep the track shape, the design probably intended either forming an inductor from the trace or a thermal separation or fuse. Keep the wire's cross sectional area to be a similar size of the trace. If you do make a repair, make sure the root cause of the burned trace is identified, otherwise a wire repair may end up burning out also.
Comment: It could also be meant as a fuse.
Comment: Thank you for those who have answered.  Besides the fried trace, there's also an exploded varistor (14D241K) on the other side of the PCB.  The two legs above the burnt hairpin is where the varistor is soldered.  I guess it's all part of the voltage surge protection.  I plan to replace the varistor, just not sure how to proceed with the hairpin trace.  Great input from you guys.
Comment: @NewbieET https://meta.stackexchange.com/questions/126180/is-it-acceptable-to-write-a-thank-you-in-a-comment


Depletion region in JFET transistor?

Question:
In this diagram of JFET transistor the depletion region is narrower at one end and wider at other end. Why is that so? Is it due to the voltages applied at gate and drain?
Answer: Yes it is - the depletion will be wider at the drain because it is connected to the positive of the battery whereas the source is at a voltage closer to that on the gate. As the gate gets more negative the depletion region will grow and eventually the device will be deemed to be "cut-off" and exhibit only low leakage currents from drain to source. This is an N channel JFET. P channel JFETs operate the same but with both batteries reversed. Having said that some N channel JFETs will operate "about" the same when D and S are reversed in polarity - these are sometimes used as voltage controlled resistors.

Depletion region in JFET transistor?


What is "anguille borkner" in Vernor Vinge's zones of thought series?

Question: I am currently reading "The Children of The Sky" and I come across this word. "Anguille borkner" seems like some kind of skill. It has been a long time since I read "A Fire Upon the Deep", I don't remember anything related to this word.
Answer: Neither anguilles nor borkning are mentioned in A Fire upon the Deep. They're made-up words. Anguille is French for eel and borkner|borkning evokes broken and bork, I have no idea whether any of these resemblances are intended or coincidental. Vinge does not seem to have communicated on the subject. Apparently, it's some skill that we don't have the background to begin comprehending.
Comment: *"Apparently, it's some skill that we don't have the background to begin comprehending."* Which is kind of the point. As I recall the phrase comes up in describing work someone was trained to do in the *upper beyond* where things can be assumed to be very, *very* different from the world as we know it.
Answer: This is a deliberately obscure reference, I think, intended to indicate how frustrated and out-of-place the high Beyonders from Straumli are on the medieval Tine world.  The fellow who had been training to be an expert in anguille borkning is just as out-of-place on the Tine world (even with the advanced tech of the Out Of Bounds II still lying around) as a youth studying to be a videographics designer would be in 1860, even though the folks then were awed by the currently high tech of steam engines, and Vinge evokes this dislocation by having the profession/skill be unintelligible in 21st century English.
Answer: If I remember correctly, that section was from a galactic BBS e-mail, and the title said that it was from a race the translators aboard the ship had only anecdotal translations for; also, it is also mentioned that since they're not in 'The Beyond', so the computers aboard the ship aren't working as best they could. For a kick, check out the Tropes website about this:
http://tvtropes.org/pmwiki/pmwiki.php/Literature/ZonesOfThought?from=Literature.AFireUponTheDeep
I think it mentions the Zones of Thought. I love the series, but how does space affect computer computation? No clue here; must not be sufficiently advanced. ;p lol
Comment: As far as I can tell, the phrase is **not** from an off-planet message. The reference I found was to how Gannon, at age 14, was as much a master of anguille borkning as any adult on the research station, and was expected to become the best at it in all Straumli Realm.


While trying to upload an apk to google play console i get an error and warning message

Question: Error while trying to upload a apk file
Tried changing version code
Error Message
This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 6.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app
Warning Message
Unoptimized APK
Warning:
This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices.
Resolution:
Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs.
Help me upload the apk
Comment: Possible duplicate of [How to make Android apps which support both 32-bit and 64-bit architecture?](https://stackoverflow.com/questions/48549563/how-to-make-android-apps-which-support-both-32-bit-and-64-bit-architecture)
Comment: add following line app level build.gradle defaultConfig

ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
Answer: Your app relies on native libraries, either code you compiled or from external dependencies. From the error message, it looks like you are providing only native libraries in 32-bit (e.g. armeabi-v7a, x86) and it is now required to also provide native libraries in 64-bit (e.g. arm64-v8a, x86_64).
Make sure you compile for the 64-bit ABIs, or depend on libraries that support 64-bit.


Edit permissions, but not to all documents

Question: I have a document library having documents (eg: word,pdf etc).
User has add and edit permission to the library (required)
But user should be able to edit a particular document.
Can I set the permission as read only for documents for users with edit permission on a library?
Answer: Yes. You can set Item level permissions on Document Library. Click the context menu/List Item Menu and click Permissions. Here you can Stop Inheriting Permissions from Library and set unique permissions for the Document.

And once you stop the inheritance of the Document, it will say Item has unique permissions, see below: