How to correctly point a subdomain to my local server?

I have been using’s free service and a subdomain they provided to access my local server, which is on my computer. I use EasyPHP devserver as my local server.

In order to not continue to rely on’s service, I added an A Record to my own domain name ( and pointed the newly created subdomain ( to my IP address. However, it is not working.

As the time of writing this question, I have tested accessing my local server with my IP address and the subdomain provided by, and both works. It’s just my own subdomain ( that isn’t working, and my browser’s error message says it can’t establish a connection to the server at

What am I doing wrong?

Some culprits I’m suspecting are:

  • SSL issue. Browsers automatically change the connection to a .dev domain to a secured connection. But my browser’s error message does not seem to suggest a SSL issue.
  • Anti-virus software issue. Not sure how to check if it is related. But I don’t see my anti-virus showing any warning.

Front end fails to represent correctly boxes


Sometimes my front end misrepresents some output typically involving associations. For instance

EmbedCode[CloudDeploy["hello, world"]] 

should produce

enter image description here

according to the documentation but in fact yields



How to fix this?

Am I correctly calculating the difficulty/XP for this encounter for a 15th-level party of 5 PCs?

I am putting together a campaign and have been experimenting with the guidelines for creating encounters and managing difficulty. I’ve done the math for quite a few encounters at each of the "tier" levels (5th, 11th, 15th) just to get a feel for how it works. One example is below. Does my method look correct?

15th level party, medium difficulty, 5 PCs  XP Threshold: 5(2800) = 14,000 xp 4 monsters so 2x Encounter Multiplier:  1 fire giant 1(2)(5000 xp) = 10000 xp 1 ogre       1(2)( 450 xp) =   900 xp 2 ettins     2(2)(1100 xp) =  4400 xp                              --------                              15300 xp 

So a wee bit more than the medium difficulty threshold but still less than the hard difficulty threshold. There are a lot of other factors to take into account when designing encounters and this is just back of the cocktail napkin math. A fire giant figures prominently in the campaign and I’m trying to figure out "when" to bring him in should it come to blows.

MYSQL cluster issue: shutdown data node correctly breaks replication

I faced issue on mysql cluster (5.7.28), i shuted down properly vm6 (data nodes) and the mysql replication was broken, i’m trying to make the link bettwen the datanode down and the replication broken but i still can’t find the reason (below the relevant), is there someone who can help me to find the link

Slave: Got error 4009 ‘Cluster Failure’ from NDB Error_code: 1296 [Warning] Slave: Can’t lock file (errno: 157 – Could not connect to storage engine) Error_code: 1015 Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START".

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?

ShaderLab: correctly using Offset, Factor and Units?

In the documentation of ShaderLab culling and depth testing you have the following:


Offset Factor, Units

Allows you specify a depth offset with two parameters. factor and units. Factor scales the maximum Z slope, with respect to X or Y of the polygon, and units scale the minimum resolvable depth buffer value. This allows you to force one polygon to be drawn on top of another although they are actually in the same position. For example Offset 0, -1 pulls the polygon closer to the camera ignoring the polygon’s slope, whereas Offset -1, -1 will pull the polygon even closer when looking at a grazing angle.

I have the following scenery, it’s two cylinders of the same size, one being the sky, one being the horizon on the floor, it is shown exactly how it is expected to render:

enter image description here

This is how it actually looks without playing with the offset factor and units, lots of Z-fighting:

enter image description here

I had to put a fairly high value to Factor so Z-fighting stops, around 15.

And setting the value of Units has absolutely no effect.

So I’m a bit at a loss as on how to correctly use both of these parameters.


Can you explain how shall one understand the meaning and correctly use Factor and Units?

log plot not plotting correctly

I am trying to get the following function, to plot with a log y axis. However, when I replace Plot with LogPlot, the plot is not computed correctly. Instead, a plot with incorrect x-axis is returned.

Constants  au = QuantityMagnitude[UnitConvert[Quantity[1, "AstronomicalUnit"], "Meters"]];  c = QuantityMagnitude[UnitConvert[Quantity[1, "SpeedOfLight"], "MetersPerSecond"]];  Qpr = 1;  Lsun = QuantityMagnitude[UnitConvert[Quantity[1, "SolarLuminosity"], "Watts"]];  Rsun = QuantityMagnitude[UnitConvert[Quantity[1, "SolarRadius"], "Meters"]];  Msun = QuantityMagnitude[UnitConvert[Quantity[1, "SolarMass"], "Kilograms"]];  G = QuantityMagnitude[UnitConvert[Quantity[1, "GravitationalConstant"], ("Meters"^2*"Newtons")/"Kilograms"^2]];  year = QuantityMagnitude[UnitConvert[Quantity[1, "Years"], "Seconds"]];  Myr = year*10^6;  Gyr = year*10^9;  Mwd = 0.6*Msun;  Cst = 1.27;  U = 1*10^17;   Functions  L[t_] := (3.26*Lsun*(Mwd/(0.6*Msun)))/(0.1 + t/Myr)^1.18;  Roche[dens_] := (0.65*Cst*Rsun*(Mwd/(0.6*Msun))^(1/3))/(dens/3000)^3^(-1);  Papsis[t_] := a[t]*(1 - e[t]);   Radiative Drag  RDdadtR\[Rho]a = -((3*L[t]*Qpr*(2 + 3*e[t]^2))/(c^2*(16*Pi*\[Rho]*Rast*a[t]*(1 - e[t]^2)^(3/2))));  RDdedtR\[Rho]a = -((15*L[t]*e[t])/(c^2*(32*Pi*Rast*\[Rho]*a[t]^2*Sqrt[1 - e[t]^2])));   RDsolR\[Rho]a = ParametricNDSolveValue[{Derivative[1][a][t] == RDdadtR\[Rho]a, Derivative[1][e][t] == RDdedtR\[Rho]a, a[0] == a0, e[0] == 0.3}, {a, e}, {t, 0, 9*Gyr},      {Rast, \[Rho], a0}];   fRDticks = {{Automatic, Automatic}, {Charting`FindTicks[{0, 1}, {0, 1/Myr}], Automatic}};   Manipulate[Column[{Style["Radiative Drag Working Plot", Bold], Plot[fun[func, t]/scale[func], {t, 0, 9*Gyr}, FrameTicks -> fRDticks,       Epilog -> {Red, Dashed, InfiniteLine[{{0, Roche[\[Rho]]}, {10, Roche[\[Rho]]}}]}, PlotStyle -> {Directive[Blue, Thickness[0.01]]}], Style["Compiled Plot", Bold],      If[comp === {}, Plot[fun[func, t]/scale[func], {t, 0, 9*Gyr}, FrameTicks -> fRDticks, Epilog -> {Red, Dashed, InfiniteLine[{{0, Roche[\[Rho]]}, {10, Roche[\[Rho]]}}]},        PlotStyle -> {Directive[Blue, Thickness[0.01]]}], Plot[comp/scale[func], {t, 0, 9*Gyr}, FrameTicks -> fRDticks,        Epilog -> {Red, Dashed, InfiniteLine[{{0, Roche[\[Rho]]}, {10, Roche[\[Rho]]}}]}, PlotStyle -> {Directive[Blue, Thickness[0.01]]}]]}],    {{func, 1}, {1 -> "a", 2 -> "e", 3 -> "q"}}, {{Rast, 0.005}, 0.0001, 0.1, 0.001, Appearance -> "Labeled"}, {{\[Rho], 3000}, 1000, 7000, 50, Appearance -> "Labeled"},    {{a0, 10, "a0 (au)"}, 1, 20, 0.2, Appearance -> "Labeled"}, Button["Append", AppendTo[comp, fun[func, t]]], Button["Reset", comp = {}],    TrackedSymbols -> {func, Rast, \[Rho], a0}, Initialization :> {comp = {}, fun[sel_, t_] := Switch[sel, 1, RDsolR\[Rho]a[Rast, \[Rho], a0*au][[1]][t], 2,        RDsolR\[Rho]a[Rast, \[Rho], a0*au][[2]][t], 3, RDsolR\[Rho]a[Rast, \[Rho], a0*au][[1]][t]*(1 - RDsolR\[Rho]a[Rast, \[Rho], a0*au][[2]][t])],      scale[sel_] := Switch[sel, 1 | 3, au, 2, 1]}] 

The question is- how do I get this plot to have a logarithmic y axis?

Thanks in advance.

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:  Description:  Default GeneratePress child theme  Template:     generatepress  Version:      1.2 */ 

Can switching from .com TLD to non .com TLD affect emails even if MX records migrated correctly

I have a high-level question about a customer that switched from a .com TLD to a .fun TLD. They didn’t switch hosting, only their TLD. They’re now having issues with their emails, personal and campaign based, being blocked.

Before I dig in to the technical stuff, I wanted to know if anyone had a similar issue. Before I dig in to MX records and such, I didn’t know if there were known TLD issues with ones like .fun, etc. Sorry if this is a vague question. And I promise I’ve been googling and asking first!

Why is this not aligning correctly on phone browsers?

Why is this not aligning correctly on phone browsers?

Kindly look at this page, on a phone browser:

I have not checked on android, but on iPhone etc, there is so much gap on left side, and right side is getting all cut off…
What is happening?

All the css is on the page itself, for now. Will put it in a different file later.

The theme file loaded is this:
(only theme, without content)…

Why is this not aligning correctly on phone browsers?