numerical integration – Levin Rule Integrate Power of Oscillating Function

I want to numerically integrate a function of the form:

    NIntegrate(Exp(I a x) x^-n (1+Exp(I b x))^n,{x,1,10^4}, 
    Method -> {"LevinRule", "LevinFunctions" -> {"TrigRelated"}})

BTW, Mathematica understands this better using Euler’s formula exp = cos + i sin .

The Levin Rule wants a explicit oscillating kernel like Exp(I 1/50 x) . The obvious solution would be to expand the bracket using the binomial theorem and then there would be contributions like Exp(I (a+l b) x) – oscillations with well defined frequency. But then I need to compute N integrals instead of 1 and there will be cancellations.
Is there a smarter way of telling the Levin Rule what to do than the Binomial expansion?

htaccess – Rewrite Rule With Wildcard

This set of rules causes the nolinks.jpg image to appear if anyone tries to link directly to an image from a remote site. It is working well but sometimes, especially with the latest Firefox, the browser seems to get stuck trying and keeps going to https rather than http. How can it be made to work whether https, http? I rarely use regular expressions so not sure how to apply them here.

# Block external links
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?domain1.com/ (NC)
RewriteCond %{HTTP_REFERER} !^http://(.+.)?domain1.net/ (NC)
RewriteCond %{HTTP_REFERER} !^http://(.+.)?domain1.org/ (NC)
RewriteCond %{HTTP_REFERER} !^http://(.+.)?domain2.com/ (NC)
RewriteCond %{HTTP_REFERER} !^http://(.+.)?domain2.net/ (NC)
RewriteCond %{HTTP_REFERER} !^http://(.+.)?domain2.org/ (NC)
RewriteCond %{HTTP_REFERER} !^http://(.+.)?devdomain.dev/ (NC)

RewriteCond %{HTTP_REFERER} !^$
RewriteRule show_image.php http://www.domain1.com/nolinks.jpg? (R=301,QSA)

How to update rule tile (brush) from Unity’s 2D grid tile map palette?

I have created a Palette in Unity and created a map using that rule
draw map

Now, I want to replace the current rule with another one, without having to draw everything once more. I tried to drag and drop the new rule on the same position in the palette, but the drawn map was not updated.

enter image description here

I am a little anxious about creating a (large) map unless I know of a way to update a brush without having to redraw everything.

what is the proof of the area rule : area = half perimeter * height

How we can prove that the area of triangle = 1/2 perimeter * height ( A = 1/2 S * h ) using parallelogram if there is an inscribed circle in this triangle ?

pathfinder 2e – How does the Heightened rule work with Wholeness of Body?

I still don’t understand the Heightened rule.

I have a level 4 monk. If he gets “Wholeness of body” which heals for 8 pts and has: Heightened (+1) If you choose to regain Hit Points, the Hit Points regained increase by 8

How much Hps does he get at level 4 and at level 5 ?

How to elevate a conditional format rule to be the number one rule instantly

I would like to make a newly created rule for conditional formatting the top rule so it has precedent over all others but be able to do so without having to drag it to the top as this takes for ever if the column has many rules like 30 to 40 already in place for different cells within the column.

dnd 5e – Is there any consequence (in terms of game balance) of using a different meaning from common English for “identical” in rule of initiative?

Frame challenge: this isn’t actually important.

As I noted in my answer to your other question about initiative, this is not a game balance issue. The initiative “rules” about rolling once for groups of identical monsters are there to make your life easier – use them if you want, don’t if you don’t. So it doesn’t matter what identical means here. Just use the method that works for you and your table.

“Identical” means “uses the same statblock”.

The basic English definition of identical is:

Adjective. similar in every detail; exactly alike.

A dragon and a kobold are in no sense identical. Being allies does not make two creatures identical. Being exactly alike in every detail makes two creatures identical, and the details of a creature, at least for the purposes of running combat, are found in the statblock.

It is important to note, this is how I understand and interpret the word. There is no canonical rules-as-written definition.

Directadmin rule changes.

Hi Webhostingtalk users!

I am in terms old in the industry, but new on this forum and I wanted to ask in a decent manner without just pos… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1833285&goto=newpost

dnd 5e – How should one interpret the word “identical” in the initiative rule?

Frame challenge: this isn’t actually important.

As I noted in my answer to your other question about initiative, this is not a game balance issue. The initiative “rules” about rolling once for groups of identical monsters are there to make your life easier – use them if you want, don’t if you don’t. So it doesn’t matter what identical means here. Just use the method that works for you and your table.

“Identical” means “uses the same statblock”.

The basic English definition of identical is:

Adjective. similar in every detail; exactly alike.

A dragon and a kobold are in no sense identical. Being allies does not make two creatures identical. Being exactly alike in every detail makes two creatures identical, and the details of a creature, at least for the purposes of running combat, are found in the statblock.

It is important to note, this is how I understand and interpret the word. There is no canonical rules-as-written definition.

linux – Block a specific rule on iptables

My VM is accessible by other users. Is it possible to block a specific iptables rule ?
For eg:-

iptables -t raw -A PREROUTING -p udp --dport 1234 -j DROP

Like I dont want this rule to be entered by any user or any application even in root. Is there anyway to block a specific rule ?