Problem with InverseTransformDirection and non-uniform scale

I made the plane to work with mesh vertices

var plane = new Plane(     hit.transform.InverseTransformDirection(normal),     hit.transform.InverseTransformPoint(position) ); 

If the object has the uniform scale then all looks good

uniform is good

but otherwise the plane normal has weird angle and I don’t understand why.

non-uniform has problems

Blue line – my plane
Green spheres – plane intersections
white sphere – plane center

Maybe it can be calculated directly with worldToLocalMatrix?

How to correctly enumerate all the schemes of this hexahedral coloring problem?

Choose several colors from the given six different colors to dye six faces of a cube, and dye each two faces with common edges into different colors. How many different dyeing schemes are there?

Note: if we dye two identical cubes, we can make the six corresponding faces of the two cubes dyed the same by proper flipping, then we say that the two cubes have the same dyeing scheme.

Show[Graphics3D[   Rotate[Cuboid[{0, 0, 0}, {1, 2, 1}], 0 Degree, {0, 0, 1}],    Axes -> True], i = 1;   Graphics3D[   Table[Text[Style[ToString[i++], 15], {x, y, z}], {x, 0, 1}, {y, 0,      2, 2}, {z, 0, 1}]]] 

enter image description here

g0 = Graph[(Sort /@        Flatten[Map[Thread[#[[1]] \[UndirectedEdge] #[[2]]] &,         {{1, {2, 3, 5}},          {2, {1, 4, 6}},          {3, {1, 4, 7}},          {4, {2, 3, 8}},          {5, {1, 6, 7}},          {6, {2, 5, 8}},          {7, {3, 5, 8}},          {8, {4, 6, 7}}}]]) // DeleteDuplicates,     VertexLabels -> "Name"]; ChromaticPolynomial[g0, 6]  poly = CycleIndexPolynomial[DihedralGroup[8],    Array[Subscript[a, ##] &, 6]] 

The result of the above code is 198030, but the reference answer is 230. How to correctly list all the solutions to this problem?

Problem with the Table function when adding together

I am a newbie, I have a problem with the Table. Can anyone explain to me understand? For example> I did the expression Qk1, Qk2 with table function such : Qk1=Table[A[[i+1,1]].B,{i,0,4], Qk2=Table[C[[i+1,1]].D,{i,0,4] and then make Qk=Qk1+Qk2.

When I call again Qk to calculate another expression Mk=Qk[[i+1,1]].X, it only understands that Qk is Qk1 if I change Qk[[i+1,1]] to Qk[[i+1,2]] it understands that Qk now is Qk2.

For clearly: Results from Qk1={a,b,c,d}, and Qk2={e,f,g,h} => Qk={a+e,b+f,c+g,d+h} When calculating Mk=Qk[[i+1,1]].X the result is Mk={ax,bx,cx,dx} while Mk=Qk[[i+1,2]].X the result is Mk={ex,fx,gx,hx}. Following logically,It should be Mk={(a+e)x,(b+f)x,(c+g)x,(d+h)x}

beginner problem with proxies

Hello,
just started today using scrapebox.  I have a problem with setting up proxies.  
IF i use proxies as http i can harvest and use search engines but, i cannot scrape (as far as i know)  http sites, only https.
IF i use proxies as SOCK i can scrape  any site (as far as i know)  but i cannot harvest or use search engines.

any idea why?
its a bummer, as i have to manually switch form http to sock

(i use proxies on another tools and are very good , are not banned on G or …)

How to minimize a problem with differential equations in it?

My problem is to minimize a target function with differential equations in it. The target function is $ $ \min \mathrm{J}\left( p \right) =\sum_{i=1}^5{|x_i\left( p \right) -y_i|}\,\,$ $ where $ x_i(p)$ are differential equations like this:

stateFunctionV[v1_, v2_, v3_, v4_, v5_, v6_, v7_, v8_] := { \[Mu] = (67/100)*(x2[t]/(x2[t] + 28/100))*(1 - x3[t]/940)*(1 - x4[t]/1050)^3*(1 - x5[t]/361); x1'[t] == \[Mu]*x1[t], x2'[t] == -(v1 + \[Mu]/v5)* x1[t], x3'[t] == (v2 + \[Mu]*v6)*x1[t], x4'[t] == (v3 + \[Mu]*v7)* x1[t], x5'[t] == (v4 + \[Mu]*v8)* x1[t], x1[0] == 0.2025, x2[0] == 441.337, x3[0] == 0, x4[0] == 0,  x5[0] == 0} 

and $ y_i$ is the experiment data.

The code:

PIP1[value_] := { Sum[Sum[Abs[ NDSolveValue[{ [Mu] = (67/100)*(x2[t]/(x2[t] + 28/100))*(1 - x3[t]/940)*(1 - x4[t]/1050)^3*(1 - x5[t]/361); x1'[t] == \[Mu]*x1[t], x2'[t] == -(value[[1]] + \[Mu]/value[[5]])* x1[t], x3'[t] == (value[[2]] + \[Mu]*value[[6]])*x1[t], x4'[t] == (value[[3]] + \[Mu]*value[[7]])* x1[t], x5'[t] == (value[[4]] + \[Mu]*value[[8]])* x1[t], x1[0] == 0.2025, x2[0] == 441.337, x3[0] == 0, x4[0] == 0,  x5[0] == 0}, {x1, x2, x3, x4, x5}, {t, 0, 6.5}][[i]] [data2[[i, j, 1]]] - data2[[i, j, 2]] ], {j, 1, 7}], {i, 1, 5}]} NMinimize[PIP1[{v1, v2, v3, v4, v5, v6, v7, v8}], {v1, v2, v3, v4, v5, v6, v7, v8}] 

doesn’t work. I also tried to take the differential functions out as a new function and it also failed.

So I wonder if there’s a way to minimize this problem with NMinimize or not? I would be grateful for your advice on how to couple NMinimize and NDSolveValue.

The experiment data are below:

data2 = {{{0, 0.2025}, {2, 0.76}, {3, 1.28}, {4, 2.2}, {5, 2.75}, {6,       2.95}, {6.5, 3.055}}, {{0, 441.337}, {2, 400.435}, {3,       300.326}, {4, 219.348}, {5, 120.109}, {6, 50}, {6.5, 25}}, {{0,       0}, {2, 42.2895}, {3, 78.6579}, {4, 117.026}, {5, 152.158}, {6,       229.553}, {6.5, 224.1205}}, {{0, 0}, {2, 1.66667}, {3,       13.55}, {4, 16.6667}, {5, 22.7333}, {6, 34.4333}, {6.5,       71.2333}}, {{0, 0}, {2, 6.73913}, {3, 7.86957}, {4, 9.3913}, {5,       8.34783}, {6, 10.9565}, {6.5, 11.8261}}}; 

Ping Specific Site Problem

I have a post on my website; mywebsite/info/guestpost/ within that post there is a link to; guestpostsite/articles/info I want to ping the guest posts site using my site as the referrer.
When I do a Browser Ping I get the following message “Failed 200”
When I take the tick box off Browser Ping I get “Error”
My aim is to make it look like mywebsite/info/guestpost/ is referring some traffic to guestpostsite/articles/info
What am I doing wrong?

Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?

Is this a proper way to load CSS files into my WordPress child theme?

add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); add_action( 'wp_enqueue_scripts', 'case_studies_styles' ); add_action( 'wp_enqueue_scripts', 'about_styles' );  function my_theme_enqueue_styles() {     wp_enqueue_style( 'child-style', get_stylesheet_uri(),         array( 'parenthandle' ),          wp_get_theme()->get('Version') // this only works if you have Version in the style header     ); }  function case_studies_styles() {     wp_enqueue_style( 'child-casestudies', get_stylesheet_directory_uri() . '/casestudies.css', array(), rand()); }  function about_styles() {     wp_enqueue_style( 'child-about', get_stylesheet_directory_uri() . '/about.css', array(), rand()); } 

I’m asking because I’ve asked some people to try to load my site, and some of them don’t get the stylesheets at all and just get the blank HTML code.

Also, in the beginning of all CSS files, I have this beginning. Every CSS file has a different version (1.2,1.1,1.0)

/*  Theme Name:   GeneratePress Child  Theme URI:    https://generatepress.com  Description:  Default GeneratePress child theme  Template:     generatepress  Version:      1.2 */ 

How to solve the features problem

I am building an Influencer marketing platform in WordPress. It connects advertisers with influencers to promote their products (advertisers products) on their Instagram (social media) (Influencers), in return, Influencers get paid.

Influencers sign up, connect their social media so their following is seen on their profile, set up their profile, and find campaigns from advertisers and submit to the advertiser’s campaigns.

Advertisers sign up, submit their campaign: for example, they put in that they will give around $ 15 if an influencer promotes their products/services through their social media (they also have the option to select which social media they want the influencers to promote on, and how many followers the influencer must minimum have to submit to this campaign.). The advertisers have to add photos or videos of their products/services for the campaign.

After the advertiser’s campaign is approved by us: The Influencers now have the option to submit offers: offer to receive money from the advertisers from their campaign to promote on their social media Influencers can choose to offer to receive money from the campaign starting from 3$ to X$ . There will be a 19% fee from us, both and separate for the advertiser and the influencer. The advertiser sees from his account which influencers submitted to their campaign and can choose to accept or decline the offers.

If the advertiser accepts the influencer’s offer to promote on their social media, the advertiser has to send the requirements to the influencer (via our platform). After that, the influencer has to accept the requirements and post on their social media. After that is done, the influencer gets paid (let there be a balance for the influencer on my website). The money is added to their balance and they can withdraw the money to their (for example) Paypal account whenever they want, with a minimum withdrawal of the amount of 5$ .

This requires 2 different accounts: 1 for the influencer and 1 for the advertiser, both having different features.

I want these features on my WordPress website, but I don’t know for example how to set up these accounts. And also for example to show the availability of creating a campaign for advertisers. And for example adding social media to the Influencer’s account page that shows how many followers the influencer has.

Any help would be appreciated. 🙂

Problem with URL path when I applied SEO friendly URL

I was working on PHP project and making SEO friendly URL Like,

OLD : http://example.com/list_product?q=men-top-wear

New : http://example.com/list_product/men-top-wear

Here is my .htaccess file:

RewriteEngine on Options -MultiViews  RewriteCond %{ENV:REDIRECT_STATUS} ^$   RewriteCond %{QUERY_STRING} ^q=(.*)$   RewriteRule ^list_product$   /list_product/%1? [R=301,L]   RewriteRule ^list_product/(.*)$   list_product.php?q=$  1 [L]   RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*?)/?$   /$  1.php [NC,L] 

It’s working well but my link path has been changed to: http://example.com/list_product/images/logo.png

But I need this to be: http://example.com/images/logo.png

It adds list_product, but it’s not working. Does anyone know why this is happening?