Geometry Nodes: What is the difference between "Index" and "ID" node?

Question: Recently started learning Geometry Nodes properly (though I have already been using it occasionally). I noticed that there isn't much difference between the "Index" node and "ID" node apparently. Am I missing something? Please explain.
Comment: https://docs.blender.org/manual/en/latest/modeling/geometry_nodes/geometry/read/id.html
Answer: I will try a simple explanation:
You can think of the ID of an element as an individual numerical value.
Unlike the index, which is always a consecutive number for each attribute domain and is unchangeable, the ID can be set and used individually.
Usually, the ID for an element within a node tree is set manually with the node Set ID, or is generated by the node Distribute Points on Faces, for example, and is not available by default.
If you query the ID in an attribute domain and it has not been created before, the index of the element is always used instead.
This is also the reason why it makes no difference in your case (and as it does in most applications).
However, Index should always be used, unless you know exactly that you need the ID instead and that the required values can be found there, because if you create a node tree that is actually dependent on the index of an element and use this node tree as a group in combination with another setup where the ID was created before, unforeseen results may occur.


ERC20 smart contracts

Question: I deployed an ERC20 smart contract, but I need to make some changes on it. How do I do that? Heard that it is not possible to do it, once the contract is deployed. An experienced developer must have an alternative available. Can anyone help?
Answer: Indeed it is not currently possible to update a deployed smart contract. If you want to build "updatable" smart contracts in the future you could follow the pattern given in this answer Upgradeable smart contracts
Comment: Great Adil, your reply did help.  Thanks ever so much. All the best!

ERC20 smart contracts


Joined objects won't move with rig

Question: I've made multiple individual objects and joined them when I try to rotate a bone the joined objects don't move.
Comment: Did you join before or after rigging the original object? did you assign the "mesh" to the right bones?
Comment: I joined them after rigging
Answer: You've probably parented the mesh to the skeleton before joining additional parts to it. Thus vertices of the new parts don't belong to any vertices groups, created by "Parent with automatic weights" operation. If it's only about the helmet, the easiest way to fix that would be to separate it again from the body mesh and parent it to the head bone. If you're planning to add some equipment also to the chest, usually the way to go about it would be to keep that separate and use Mesh Deform modifier to control the character, cause it's usually hard to get perfect weights on fragments that are not physically connected (not just joined, but with common edges) with the main mesh.
Comment: Hey how can I select the head bone, when I'm trying to select all my bones are getting selected so I can't join the helmet to the head bone
Comment: I figured it out thanks for the help, It'll work for me :)

Joined objects won't move with rig


Is internal energy a function of pressure?

Question: I read that internal energy is a function of temperature only and not pressure. But say, we compress a volume of gas. Won't the particles start moving more quickly? Meaning an increase in their internal energy.
Is this an increase in the internal energy due to pressure?
Or an increase in temperature due to pressure which in turn increases the energy?
How do I see this?
Answer: For an ideal gas the internal energy only depends on the temperature of the gas. How the temperature relates to pressure is easily seen in the ideal gas law $$PV=NkT$$
So I suppose one could make the argument that the internal energy for the ideal gas depends on the quantity $$\frac{PV}{Nk}$$
and it's up to you how you want to explain the dependency. The problem with this though is that, depending on the process, these variables are constrained to evolve in certain ways.
Indeed, for your compression example, how you are compressing the gas matters. I will cover some typical examples:

If the gas is compressed in such a way so that its pressure is inversely proportional to it's volume, then by the ideal gas law the temperature remains constant. It turns out that in this case the heat that leaves the gas is exactly balanced by the work you do on it. The internal energy does not change.
If the gas is compressed in such a way so that its pressure remains constant, then by the ideal gas law the temperature drops in proportion to the volume. In this case more energy leaves the system as heat than what you put in as work. The internal energy decreases.
If the gas is compressed in such a way so that no heat enters or leaves the system, then all the work you do goes into increasing the internal energy, and hence the temperature of the gas. This process is probably what you had in mind. Here the pressure and volume both change, but the pressure increases in a larger proportion than the volume decreases$^*$. Therefore, by the ideal gas law the temperature increases.

$^*$ In fact, for this process the value $PV^\gamma$ is constant where $\gamma>1$. So, if $V$ decreases by a factor $x>1$, then $P$ must increase by a factor of $x^{\gamma}$. This means that $PV$, and hence $T$, must increase by a factor of $x^{\gamma-1}>1$.
Answer: As @Asron Stevens has already pointed out the answers to your questions really depend on the thermodynamic process involved as well as the type of gas (ideal or real). For example he has shown you that, for an ideal gas, you can have an increase in pressure with no change in temperature or internal energy (isothermal compression).
When you say you read "internal energy is a function of temperature only", that is correct for ideal gases because there are no intermolecular forces and therefore their internal energy is considered to be all kinetic energy. However it is not necessarily correct for real gases where intermolecular (van der Waal) forces are involved and therefore internal energy is the sum of its internal kinetic and potential energy.
Moving away from gases to solids and liquids,  you can have an increase or decrease in the total internal energy without a change in temperature during isothermal phase changes. Phase changes are generally associated with changes in the potential energy component of the internal energy of substances.
Hope this helps.
Comment: For a real gas, liquid, or solid, $$dU=C_vdT-\left[P-T\left(\frac{\partial P}{\partial T}\right)_V\right]\left(\frac{\partial V}{\partial P}\right)_TdP$$.  For an ideal gas, the coefficient of dP is zero.
Comment: We've discussed the derivation of dU as a function of dT and dV in other threads.  It is in all the books.  I used the chain rule to modify the equation so that it is in terms of dT and dP.  For liquids and solids, Cv is just C(T) only for incompressible liquids and solids.
Comment: @ChetMiller Hi Chet. Thanks. Can you direct me to a derivation of this equation? Also, for a liquid or solid $C_v$ is just $C$.
Answer: The important thing to remember is that U is a function of state (a property of the material) independent of any process.  Between two thermodynamics equilibrium states, the change in U is independent of the specific process path that was used to transition the system between these two states.  There are an infinite number of paths that can go between the two states, and Q and W can vary between these paths, but the change in U will be the same for all of them.  So one might as well use a reversible path for which dU = TdS - PdV.  This leads to the relationship between dU and dT and dP that I wrote down in a comment in @BobD's answer.
For an ideal gas, U and H are functions only of T, but for real gases, liquids, and solids, they are also functions of P (and/or V).  This is because the ideal gas behavior applies to real gases in the limit of low pressures, where the molecules are far apart (and don't interact energetically to a significant extent).  In real gases, the pressures/densities are higher, and the molecules do interact significantly, resulting in potential energy interactions and thus effects on internal energy.


Electrical reactance : physical inertia analogy

Question: Would electrical reactance and physical inertia be appropriate general analogies?  Each is a resistance to change.  I've thought of trying to construct a table of similarities between disciplines to speed and clarify understandings as courses seemed to converge on these evaluations.
Comment: These are quite common analogies. Inductance is like a flywheel, capacitance is like a spring. Both are forms of energy storage. BTW, when I was an undergrad, I rather amusingly discovered from mech eng friends that their lecturers used electrical analogies to explain second order mechanical systems. I guess it is just a way of broadening perspective.
Comment: This is what I'm talking about.  I found an explanation of electrical reactance as a generalized term for both capacitors and inductors and I know mass' inertia is the resistance to change in motion. I was additionally e.g. trying to correctly relate a concept of "thermal inertia" (heat capacity) to mass inertia; heat conductance with electrical resistance; mass as "energy condensate".  I thought there might be better uniform correlations than current engineering typically gives effort toward.  I find some of those examples not clear, overlapping and inconsistent (no personal offense meant).
Answer:
I've thought of trying to construct a table of similarities between
  disciplines

Why bother when there are plenty on the web: -

Picture source

Picture source

Picture source
There are literally loads of them if you search "electrical and mechanical equivalent table".
Comment: Thanks, but I just don't find those at all parallel.  Force and current the same? No. At least force and voltage.  If they are, then I am not recognizing the concepts correctly.
Comment: @LouF they are interchangeable. Pressure can be regarded as voltage and if that pressure causes movement then movement can be regarded as current. In a magnetic circuit, current (amps x turns) can be regarded as equivalent to voltage (huh I hear you say). I tend to regard a flywheel like a capacitor but in different analysis scenarios it can be regarded as a spring.
Answer:
Would electrical reactance and physical inertia be appropriate general analogies?

Yes, a mass-spring system has exactly the same energy, impedance, displacement, force equations as an LC system has energy, impedance, charge and voltage equations.
Constructing a table of all the equivalent variables is a good way to learn and explore.
There are plenty of examples on the web to cross-check your work as you progress.
Take care to match pressure-like things as voltage and pressure, displacement-like things like distance and charge, and speed-like things like current and speed, to get the best correspondence between mechanical and electrical.


Which force should be resolved in a statics/dynamics problem?

Question:
Above are two scenarios, the horizontal string is just cut in the second one. I am confused in the approach to find the value of tension in the string. I was under the impression that when a string is cut, the force components contributed by it disappear in the moment just after the cut, every other force remains the same. Though here, the two values of tension are different.
Answer: Your working for both the cases are correct. The tension changes instantaneously when the string is cut.
I will try and explain it best I can.
The case you are referring to is when there is a spring attached instead of a string.
When we have a spring and the right most string is cut, the force applied by spring does not change instantly, and thus remains $\frac{mg}{\cos\left(\theta\right)}$.
If you think about it, if the tension (in string) did not change, then the ball would be accelerated towards the string and go upwards for a bit before coming back down, thus contradicting intuition and observations. This makes perfect sense in case of a spring, spring will pull the ball towards it after the string is cut.
Comment: Ok, the spring-string argument is quite intuitive. Tension changes, that answers the question.
Answer:
I think this might help. Always make draw a picture of the situation and go from there.
Answer: Before the string is cut the mass is in equilibrium, so the tension in the string is based on the sum of the vertical and horizontal forces being zero.
After the string is cut the mass is no longer in equilibrium and will experience both a horizontal and vertical acceleration. That means there has  to be a net force on the mass. For that to occur the tension in the string has to be less than what it was when the mass was in equilibrium, which is borne out by the two equations.
Hope this helps.


Grant access to SYSTEM account for RSA container on Windows Server 2003

Question: I have a need to access an RSA private key from a Windows service running under the NT AUTHORITY\SYSTEM account.  I'm able to install the private key on the server, and then make use of that key when running as the user that installed the key.  However, the key does not seem to be available from the Windows service.  Do I need a machine-level key here (which I understand increases the risk of compromise), or is there a way I can install a key specifically intended for use by the SYSTEM account?
Answer: You can do start->run->mmc, load the Certificates snap-in and then choose "Service account" to manage the certificates for a specific service.  I am not sure if you can do this for the SYSTEM account.  Is this a requirement or are you able to run your service as a custom least privilege account?


How do I know which is ground and power in Piezo?

Question: I have a piezoelectric sensor. Both pins are the same length. I have one like this: Piezo picture. On the Piezo it's written muRata and 01P. How do I know which do I send to the digital pins and which to the ground? I have an Arduino Uno.
Answer: On the one I have, the shorter pin is ground. I discovered that empirically - a scientific word for "I tried it the wrong way round the first time but the magic smoke stayed inside." Afterwards I inspected it more carefully, I found a '+' embossed in the top surface nearer one side. :-o
Answer: If you're using just one or sound quality doesn't matter: it doesn't matter.
Otherwise you need to figure it out with a scope like this:

Connect both poles of the connector of the PZT to an oscilloscope (time base approx. 50ms/div, y-axis 200mV/div).
Slightly tap the head of the PZT with your finger. As a result you should get a voltage pulse on the oscilloscope.
Positive Amplitude  -> + pole of the piezo is connected to the inner conductor of the oscilloscope BNC connector.
Negative Amplitude -> + pole of the piezo is connected to the outer conductor of the oscilloscope BNC connector.
Comment: Please edit your answer and copy in the (smallish) amount of information from the linked site. StackExchange frowns on link-only answers in case the link goes dead. If you copy the information into your answer it then stands on its own.
Comment: @NickGammon Done!


How do you isolate just a single atom of an element in artificial vacuum?

Question: I'm wondering what is the procedure to just remain with a single atom of an element after several of them were put into an atrificial vacuum.
Answer: There are many possible answers to this question - I will offer one approach that we use in our lab to trap individual Rubidium atoms.
The key idea is that of the 'optical tweezer', which is a tightly focused laser that is off-resonant from an atomic transition. Since the laser is off-resonance, it does not scatter very many photons from atoms, but instead it forms a potential well in which atoms can be trapped. If the focused laser is not too tightly focused, then it can trap a large number of atoms. If it is very tightly focused (ie., a waist of around a micron), then the tweezer is in the 'collisional blockade' regime. In this case, shining a near-resonant laser (often used for laser cooling) will cause two trapped atoms to collide and be lost from the trap.
In this case, pairs of atoms are ejected from the trap. But if a single atom is left in the trap, it will happily remain there by itself. Tweezers in this configuration can therefore trap at most a single atom, which can be detected by fluorescence imaging. People have used this technique to create large arrays of individual neutral atoms, which then can be used for a variety of experiments in quantum physics.
Comment: Could you apply this technique to Au. I was dreaming to make a 3D printer for such elements to print things molecule by molecule.
Answer: Another example from atomic physics:

Orbital excitation blockade and algorithmic cooling in quantum gases. WS Bakr et al. Nature 480, 500 (2011), arXiv:1105.5834.

You start with a large atomic cloud loaded into an optical lattice. Some lattice sites have just one atom, some other lattice sites may have more than one atom. Because of interaction between atoms, an interband transition for singly-occupied site and multiply-occupied site becomes spectroscopically distinguishable. Using this, you can excite one atom from multiply-occupied site into an excited band (more weakly trapped) and remove them, while singly-occupied sites are left unaffected. After this "algorithmic cooling", all the lattice sites are singly-occupied. (Note: term "cooling" is used because the randomly multiply-occupied sites store entropy in the system under study.)
Now if you want to select just one site, you can probably use a high-resolution microscope to select a specific singly-occupied site. Even if the resolution of your microscope is not enough to resolve a single lattice site (Airy radius > lattice constant), you can still achieve a sub-diffraction resolved addressing. The trick is to combine spatially-varying detuning (AC stark shift from a laser) with a sharp transition (microwave transition).

Single-spin addressing in an atomic Mott insulator.
C Weitenberg et al. Nature 471, 319 (2011), arXiv:1101.2076.
Answer: There are several methods for performing this task.  If my understanding is correct, this is how all elements above 101 have been found.  This is an excerpt from Berkley describing how they found Mendelevium.

In 1955, mendelevium (101) was formed by bombardment of einsteinium-253 with a beam of helium-4 ions (alpha particles). The successful identification of mendelevium was performed using separation by a recoil method proposed by Berkeley Lab's Albert Ghiorso (1915–2010). This method took advantage of the feeble recoil imparted in the fusion reaction of helium with the highly radioactive einsteinium target. Recoil kicked the mendelevium atoms out of the thin target onto a gold foil catcher. Chemical processing then proved that, indeed, a new element had been produced. Seventeen atoms in all were detected. This new separation technique was a powerful tool that would be used for subsequent new element experiments. Mendelevium was the first element identified on an "atom-at-a-time" basis and the heaviest element to be first identified by chemical separation. (source)

There are several older and new pieces of equipment designed to do exactly what you ask..  some are surprisingly simple and others enormously complex...


How to link external CSS and Script (assets) in Laravel 5.1 project

Question: Hi guys am new to Laravel and this is my first project to do in laravel, I had trouble linking my assets(CSS & Js) file on my views.. I did a research an found if I will use {{URL::asset('assets/plugins/bootstrap/css/bootstrap.min.css')}} in Laravel 5.1 it will work. I did succeed when it was just a single link, but when I add other links..
<link rel="stylesheet" href="{{URL::asset('assets/plugins/animate.css')}}">
<link rel="stylesheet" href="{{URL::asset('assets/plugins/line-icons/line-icons.css')}}">
<link rel="stylesheet" href="{{URL::asset('assets/plugins/parallax-slider/css/parallax-slider.css')}}">
<link rel="stylesheet" href="{{URL::asset('assets/css/custom.css')}}">

The server denied the access to all files in assets folder Access forbidden!.
My .htaccess file code is..
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
    Options -MultiViews
</IfModule>
RewriteEngine On

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

Question is if .htaccess file had a problem why when I put one asset link it accept?
Or what is the proper way of linking the files?
Am using XAMPP as my local server.
*Guy I just learned Laravel yesterday so be easy on me... Thanks in advance
Answer: You can use laravel blade template method
{!! HTML::style('css/style.css') !!}

{!! HTML::script('js/script.js') !!}

Note :you should add css files into public folder means in my example it will be like public/css folder.
same will be applied to jquery files also.
also you can add following way if you are using online links
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">

or else
<link rel="stylesheet" href="{{ URL::asset('css/style.css') }}" />

Answer: try this and replace css with your folder name.
<link rel="stylesheet" href="{{asset('css/home.css')}}">

Comment: I tried that method yesterday and it didn't help... I replaced all my previous link with what you suggested by it still doesn't work
Comment: I tried without escaping the string it worked.. Thanks ``
Comment: Cool, it does not matter if you use `` tags with blade, it should still work, in fact your original post did work on my project. Did you have your assets folder in public folder? or was it pointing to the assets folder in resources folder?
Comment: I placed my assets folder on `public` directory.. just as what they say... Thanks for reaching back....@mdamia
Answer: When adding assets it's best to use assets helper http://laravel.com/docs/5.1/helpers#urls
For external
<link rel="stylesheet" href="{{asset('//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css')}}">

and also laravel ships with an htaccess file try replace it with yours https://github.com/laravel/laravel/blob/master/public/.htaccess
Also give correct permissions to your directories
Folders 755

Files 644

Apart from;

app/storage 777 (or 755 with owner as webserver user)

Comment: the htacces file am using came with Laravel 5.1 it self, I tried to compaire with the one you suggested they were the same and even when I replace the still it didn't solve the problem. I put my css file in one folder called **assets** inside Laravel **Public** folder..
Comment: @Josh407 please check your directory & file permissions.
Comment: I changed permission and put full control but it didn't help... though I find a shortcut on how to solve the problem and I just posted it below. please check and give me your advice. Thanks
Answer: Thanks guys for a help I did solve my problem.

I went again at http://laravel.com/docs/5.1/helpers#method-asset

there I found they say $url = asset('img/photo.jpg'); will give me the url to my asset file.

So I Route...
Route::get('check', function () {

$url = asset('assets/css/headers/header-default.css');

return $url;
});

I got the link http://localhost/Dentist/public/assets/css/headers/header-default.css
So i just violate the rule if there was any and I did this in my stylesheet.

<link rel="stylesheet" href="<?php echo $url = asset('assets/css/style.css'); ?>">
--> ** Apart from that you can do this **
{!!asset('assets/plugins/jquery/jquery.min.js')!!}

because as the said if you use blade, then there is no need of using <?php echo ; ?> command... so I replaced <?php echo $url = ; ?> with {!! asset('assets/css/...') !!}
Make sure your files are in public/assets/ directory
Thanks all
Answer: Use Laravel Collective HTML Package
After installed this package you can use like this
{!! Html::style('your/css/file.css') !!}
{!! Html::script('your/js/file.js') !!}
{!! Html::image('your/image/file.jpg') !!}

Answer: In my case me looked  upper of the place dropped the error.
I found me has missed a " ' " character in a same looked declaration:

somewhere up there.
 As you can see there  missed character " ' " after ".js"
So that all underneath declarations havent  "  '  " pair until this error place


Are there electron or proton receptors in our nose?

Question: We can easily smell chlorine gas and its irritating odour, but we cannot smell oxygen gas. Do few protons and electrons make such difference to our olfactory receptors?
Answer: Chloride (Cl2) carries 34 protons and electrons.
A common example of a relatively heavy odorless gas is CO2, carrying 22 protons and electrons.
All noble gases are odorless. The heaviest, naturally occurring noble gas is Radon, which has a proton count of 86. Ununoctium, an exotic artificial element with atomic number 118, is a noble gas too. However, with a half life of approximately 0.9 ms it's difficult to sniff out whether it's really oderless.
Sulfur hexafluoride is odorless too, with a proton count of 72.
Hence, the atomic number per se is not the determining factor reason for generating the sensation of odor.
What determines whether a compound generates the sensation of odor I am unsure of, but the above compounds mentioned are all chemically inert. Note that Ununoctium decays rapidly, it doesn't react with anything. I have not been able to verify whether inertness always means odorless, but with the above examples I am inclined to believe it holds true. However, the reverse is definitely not true, as carbon monoxide is odorless, but reactive.
Comment: Actually this idea that chemically inert substances should not produce odour may seem correct but is not in a strict sense correct. Odour perception as you know happens when the odorant molecule binds to and activates a receptor. Xenon is known to bind to NMDA receptors and cause anaesthesia. It is not strictly an odorant but inert gases my point is that inert gases can initiate/block neural response.
Comment: I think we have evolved to develop perception of odours that are indicate  harmful or beneficial substances (wrt CO, I think it is one of the case of why a trait has not evolved). This is my guess that the ubiquitousness of oxygen made its perception unnecessary. Bacteria can, however, sense oxygen and swim towards it (aerotaxis).
Comment: Your point is well noted @AliceD .. i am curious about how is the nose able to discriminate these gases... i mean there will be a well marked difference between odorless gases and gases with odor which the nose recognises. Thanks!


Commercial control suite for Windows Forms and WPF: which can be recommended?

Question: At the moment we are discussing to buy a commercial control/component suite for Windows Forms and WPF. There are several suppliers on the market, like Telerik, DevExpress, VIBlend and others. Which of them would you recommend? What are the differences? Which suites have the best price-performance ratio? Which are easy to use?
Answer: WE are using Xceed and Infragistics
Both of them are actively developed.
Xceed has a very active community and well documented products.
Edit:
Before selecting one lib ensure what you need. Research forums on each lib and check how other users were/weren't able to solve their issues. Control libraries are nice in use in standard scenarios, but if you want some more sophisticated solution you will need to dig into forums/blogs about the lib you have taken. That's why community is so important.
Answer: +1 for the Telerik suite.  They can be rather bulky but they are feature-rich.
Answer: One true source for this kind of information:
http://www.componentsource.com/features/net-winform-controls/index.html
Check prices, comparison, reviews...
My comment:
-1 for Telerik (memory issues, really really bulky)
+1 DevExpress (easy)
+1 ComponentOne (easy)
+1 Ingragistics (easy)


display all users profiles

Question: I need to display all users profiles properties, not one but all as a list. Can anyone point me in the right direction with some code?
Your help will be much appreciated.
Comment: What info do you need? It could be done with Search API
Comment: I need to display all the properties. Can you provide me some code?
Answer: Well this is actually a very easy task using the SharePoint Client APIs.
First you get the SP Context if you're using SSOM (it's called Client Context when you are using CSOM).
You get the web from the CSOM, and then go through one of the three available SPUserCollection properties on the SPWeb object.
Find an example with screen shots I wrote here: http://mazdev.blogspot.ae/2014/05/webpart-example-1-users-list-web-part.html
If you want a more powerful users profile, it's just a matter of exploring, well, the UserProfiles API. Just reference the Microsoft.SharePoint.Client.UserProfiles.DLL and go from there.
The default location on the SharePoint server is here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.UserProfiles.dll
If you are using JSOM, it is similar.

display all users profiles


This fantasy world description: 時の異次元世界

Question: Excuse me, I'd like to know if "world with a different time dimension" is an accurate/sufficient translation of 時の異次元世界. Thank you.
Answer: You have translated it like (時の異次元) + 世界, but 時の異次元世界 comes off to me as 時の + (異次元世界). Note that 異次元 and 世界 are directly connected without の, making it look like a fixed concept.
That is, 時の異次元世界 sounds like there are several parallel worlds (異次元世界) with different themes, and 時の異次元世界 is one of such worlds that happens to be related to time. So the more direct translation might be something like "parallel world of time" or "alternate dimension of time".

This fantasy world description: 時の異次元世界


Does Plasmodium affect the female Anopheles mosquito?

Question: I was studying the life cycle of Plasmodium, and I read that the infectious form (sporozoites) is what causes malaria in humans. I also read that this form resides in the salivary glands of the female Anopheles(carrirer of Plasmodium). My question is that if the sporozoites reside in the salivary glands, do they affect the mosquito itself? Or, in general, do the pathogens attack, or affect the disease vectors in any way?
Answer: tl;dr yes, Plasmodium does appear to interact with its mosquito vectors — many species of mosquito have reduced fitness when infected with plasmodia due to the cost of mounting an immune response (this implies that they would lose even more fitness if they didn't mount an immune response ...). However, mosquito species that are frequently infected in the wild appear to have evolved tolerance, so they incur less fitness cost (there is even a positive correlation between infection intensity and fitness in some cases (for not-fully-understood reasons).
From Shaw et al 2022:

Numerous studies using rodent model species have detected a fitness cost of infection to mosquito fecundity [26–29], fertility [27,28], and survival [30], most likely due to the considerable investment by the infected female in immune responses (Box 1). When Anopheles stephensi or An. gambiae were infected with Plasmodium yoelii nigeriensis, there was a reduction in fecundity of 21–41% [26–28], but with no significant correlation between egg numbers and oocyst loads [26,28]. The reduction in fecundity was due to apoptosis of follicular epithelium cells, promoting resorption of ovarian follicles in infected females [31,32]. The density independence between
egg and oocyst numbers suggests an all-or-nothing cost to activation of the mosquito immune system preventing significant egg investment [33,34]. An. stephensi also showed reduced survival when infected with a number of rodent malaria parasite species [26,35–37]. Compared with uninfected controls, mortality rates were significantly higher when mosquitoes were infected
with P. berghei or with P. yoelii nigeriensis, while infections with P. chabaudi reduced median survival (with parasite strain- and experiment-dependent effects).

On the other hand, a meta-analysis on 11 published studies found that in infections involving
P. falciparum and its natural mosquito vectors – An. gambiae, Anopheles funestus, and An. stephensi – no costs to survival were detected [38]. Similarly, in recent studies, An. gambiae and An. stephensi females infected with P. falciparum developed the same number of eggs as
their uninfected sisters [39]. In An. gambiae, an unexpected positive correlation existed between paired egg and oocyst numbers from individual infected mosquitoes, with females that invest more in reproduction supporting higher infection intensities [40].  ...

Shaw, W. Robert, Perrine Marcenac, and Flaminia Catteruccia. "Plasmodium Development in Anopheles: A Tale of Shared Resources." Trends in Parasitology 38, no. 2 (February 2022): 124–35. https://doi.org/10.1016/j.pt.2021.08.009.
Answer: It does not because it causes no structural damage to mosquito in either stage i.e while penetrating into endolymph via gut and also while penetrating the salivary gland since there is complimentary protein ligand (on surface of gut and on surface of salivary gland) which facilitates its entry without causing any harm, on the other hand some research even goes to the extent that it's mutually beneficial since it enhances the smelling capacity of mosquito thus their relationship is advantageous hence sustained in nature over the course of evolution.
https://phys.org/news/2021-11-mosquitoes-mutual-symbiotic-relationship-malaria-causing.html
https://www.pnas.org/doi/10.1073/pnas.241491198


How can I protect myself from intercepting messages sent to the server?

Question: I want to collect certain data from my application using the driver and transfer it to the server to check its integrity. And I want to sign these packages using TPM to avoid forgery. However, a user can trick my program by writing a similar driver and intercepting, for example, messages to and from the server, replacing them with their own. What can I do? Is it possible to defend against this?
Answer: You can't. You're running into a classic problem: the user has physical access and there's absolutely nothing you can do to concretely prevent them from modifying things.
You can certainly make it harder for them to attack, for example by using HTTPS with certificate pinning for your network communications so that they can't simply man-in-the-middle the traffic, but if the user writes their own driver to mess with your driver you really can't do much about it.
The strongest protection I can think of on a modern x86 system would be for your to get your code running in an SGX enclave, but this is a rather complicated task that requires a lot of development effort. The sensitive parts of your driver code would run inside of the enclave and a regular kernel-mode driver would talk to it through ECALLs/OCALLs. This doesn't prevent the user from blocking the driver from running though, nor does it prevent the user from reverse engineering the executables on disk and writing their own tool or driver to send requests to your server.
If your goal is to prevent the user from modifying something, then you need to have more privileges and access than they do. But in the case of your code running on their computer, they always have more privileges and access than you do, by design. You can't work around this.
Comment: Hmm, then I don't even need to use TPM, signature and all this challenge stuff...Okay, I want to check the integrity of my client application. So I calculate H(app_memory) and send it to server, but also save, just for example, last 2 bytes. After 5 times, my driver has 10 bytes and the server also has. The driver and the server will have an algorithm for calculating the reference value by these bytes. Well, let the server send the calculated control value to the driver every 5 such messages sent. And the driver will also calculate it to compare with the value from the server.
Comment: ....And now it is necessary to make sure that the algorithm can't be recognized.In the server, sure, we can hide it. Can I hide the algorithm in an enclave on the client?  Is it stupid and crazy idea?))))
Comment: No. You can't hide the algorithm. You'd need to load it into the enclave in the first place.


Why isn't the water moving when it is undergoing electrolysis

Question: I understand that in electrolysis of water, the water around cathod is splited in the way of 4H2O + 4e => 2 Hydrogen + 4 OH- . And the hydroxide will move to the anode due to electric field in the water. However, if there is a a group of OH- moving in the water, they should give momentum to the neutral water molecules in their way. Did this actually happen? If not, how did the neutral water molecules reacted to the moving OH-?
Comment: https://www.youtube.com/watch?v=vFR9zUGt2C4   for simple demonstrations
Answer: Water is not hyper fluid, it has resistance too. If you notice a little bit, water is kind of "sticky" on a glass, plus there's brownian motion. Thus I doubt you would notice any activity at all without some very fancy tool. Also, you still have momentum conservation.
However, it's possible that, if you could find a way to "color mark" the water, like isotropic or molecular, it's possible to see the influence by eye, because, theoretically, with the presence of electric field, the ion should travel faster than the diffusion.
Comment: @SolarMike Yes, Thanks. Adjusted.
Comment: So if the electrolysis happened in a tube with the eletrodes on both end of the tube and the cathode can turn (hypothetically) the entire cross-section area of water into OH-, then this circular volume of OH- could push the neutral water into a visible motion (similar to a thrust?)
Comment: However, if ions could just squeezed itself from from cathode to the anode, why could ionocraft fly by using the ions to push neutral air to create ion wind?


Is "pending for her return" grammatical?

Question: Is it valid to use:

We will be pending for her return

instead of, for example:

We look forward to her return
Answer: In a comment. John Lawler said...

No. Pend is not a normal verb in English; the adjective pending is used to describe unfinished tasks and decisions, but it never occurs with a human subject. Look forward to (not look forward for) is OK, and wait for or await (without a preposition) are also OK.
But be careful of spelling.
Answer: If I add a comma, remove for, and assume some context, the following would be okay:

"Will you be okay?"
  "We will be, pending her (some person who causes bad things) return."

Used as a standalone sentence, or without a comma, it sounds far more bizarre. But since punctuation isn't syntax, and syntax can remain valid outside of context, the following would be at least syntactically sound:

We will be pending her return.

However, without that aforementioned context, it's easy to try to interpret it as meaning something like this (I can't help but add the comma back in again):

We will exist, pending her return.

But we almost never use be on its own. It's almost always followed by something else. Only with Shakespeare's to be or not to be does it stand on its own—and that's a very specific idiomatic phrase.

This is also possible:

Approval is pending.

So, although it doesn't sound entirely right on its own, the following is also possible:

Approval will be pending (once you fill out the form).

Not only can objects or concepts be pending, but so could people in some contexts:

After fertilization of the egg, the baby will be pending.

So at least in theory (but not in any real-word use), this is at least syntactically sound—even if not very idiomatic:

We (members of an emergency medical team) will be pending (after we receive your distress call).

However, not in any contrived mental exercise, nor with different punctuation, can I make the exact sentence in the question remotely possible:

✘ We will be pending for her return.

Things can be pending, but things can't be pending for something. (Unless it is a period of time, but that's specifically different: Approval will be pending for hours.)

So, although I can come up with meaningful variations of the original sentence, some of them more contrived than others, I can't make it work exactly as it's written.
Even if I could figure out a convoluted mental exercise whereby those exact words could be used, it would be so unidiomatic as to serve no useful practical purpose.

For the sake of completeness, here is Merriam-Webster's definition of pending:

preposition
1 : DURING
  // their opportunity to develop trade pending the laborious and fruitless negotiations
  — Theodore Hsi-En Chen
2 : while awaiting
  // pending approval
  // were held in custody pending trial
adjective
1 : not yet decided : being in continuance
  // the case is still pending
2 : IMMINENT, IMPENDING
Comment: ... and then there's the eternal "pending" limbo that flags sometimes get stuck in....


When selecting channel entries, only select entries in just the top-level category

Question: I have a channel with entries in categories and subcategories. I want to output a list of only the entries that are not in the subcategories. Is there a way to do an "only A" or "A & not anything else" type of selection?
Answer: I'd look to use GWCode Categories. You have the same control over inclusions and exclusions but a whole load more on top. excl_cat_id and excl_cat_id_children could be useful here if the categories are relatively fixed and you know their IDs.
Answer: Try Dandy Cat. it allow really crazy stuff on categories.
Answer: You can use the
category=""

parameter.
You can exclude all child categories
category="not 2|14|16"

or specify all parent categories
category="1|3|4"

Check out the docs: http://ellislab.com/expressionengine/user-guide/modules/channel/channel_entries.html#category
Comment: It means that when an entry has a parent AND a child category it will be displayed, even though the child category is excluded. Just make sure you turn off auto-assign parent categories (http://ellislab.com/expressionengine/user-guide/cp/admin/channels/global_channel_preferences.html#auto-assign-category-parents) and you should be fine.
Comment: Thanks. I'm not sure if this works, though. Edit: sorry, hit enter. I tried dynamically building a list (a|b|c) of every category but the one to show, but in the docs it says "If you are using exclusion (category="not 3|4") and an entry is in a category that is not excluded, the entry will be returned even if it also belongs to an excluded category." Is there a way around that?
Comment: Turning off auto-assign seems to meet my needs nicely (assuming nobody else comes back and changes the categories.)


How does battery life compare with OSX vs Windows 7 (or 8.1) on an Macbook Air?

Question: Does anyone know how long the battery life is on an Macbook Air with Windows 7?
Comment: FYI Apple worked on battery life with Mavericks so it would be interesting to precise which OSX.
Answer: With OS X Mavericks, the operating system was designed with some focus on power management. The benefit of Apple making the hardware AND operating system is that they are able to control an manage power way more effectively than Windows is on any machine. It also depends on if you're using BootCamp or a virtual machine like Parallels or Virtual Box. BootCamp should theoretically be more power efficient as you aren't running BOTH OS X and Windows at the same time.


Controling high voltage servo motors with raspberry pi 4

Question: I'm building a bipedal robot and I'm using 7,4V servo motors that can consume 3.9A of current (Feetech FT5835M) and RPi4B, how can I control these servos? I'm thinking about using Adafruit 2327 HAT but I read that it can only operate at 5V, what should I do to control my servos? manufacturer's site I bought them here
Comment: research how the servo is controlled ... hint:  7,4 V 3.9 A is irrelevant
Comment: FeeTech is a good choice: https://penzu.com/p/cf035eca
Comment: FeeTech LX Servos operate at 11V and can do 20kg.
Comment: Link to servo technical specs?
Comment: @joan [manufacturer's site](https://feetechrc.com/74v-35kgcm-digital-180-degree-metal-shell-steel-gear-core-steering-gear.html)
Comment: ***FT5835M Product Specification*** Edition A/0 - FeeTech 2021mar22
https://feetechrc.com/Data/feetechrc/upload/file/20210428/6375520405963093035833580.pdf
Answer: Use an external power supply for the servo.
Connect a wire between the external power supply ground (-ve terminal) and a Pi ground.  This ensures that the servo and the Pi have a common voltage reference.
Connect a wire between a Pi GPIO and the control line of the servo.  The servo detailed specs says that the control line needs between 0V and 0.45V for low and between 2V and 5V for high.  As the Pi outputs 0V for low and 3.3V for high the servo will work okay.
The servo you link appears to be a continuous rotation servo rather than a standard servo.  Is that intended?
Comment: On the web page that I bought it from it had the range of 180
Comment: The Feetech FT5835M link indicates they are continuous rotation servos.
Comment: I contacted the shop for information about this servo and I'm waiting for the response. Isn't it possible to use a continuous rotation servo motor just as a standard servo motor? Can't I just translate rotation speed to an angle?
Comment: No.  A standard servo goes to the commanded angle and stops (the angle is set by the pulse width).  A continuous rotation servo spins at the commanded speed and direction (the speed is set in proportion to the distance of the pulse width from 1500 µs, the direction according to whether the pulse width is less than or greater than 1500 µs).
Comment: I've looked again at the Feetech site and it may just be a case of unclear translation between English and Chinese.  Most of the shop listings seem to suggest it's a standard servo, The shop will know.
Comment: So coming back to the original question, do I just have to connect my external power supply between servo ground and Pi ground and do everything as usual?


getting error while filling in assigned to field of new task of Account

Question: I am getting error while filling in assigned to field of new task of Account.When I am saving the task record, I am getting No User found error and not able to save the record. User that I have filled in is available in Org and is active. Please help.
PFB error screenshot.

Comment: what's the first name of this user??
Comment: Try to use lookup icon beside the field and select user instead of writing the name of the user in the lookup field.
Answer: The user has a first name containing spaces, that the reason lookup fields do not work properly.
When you type the full name of the user as "First Name last" and clicking saves, then error "No matching users found", even if the user exists with the same name.
If you type the name and the username pops up under "my recent items" then the assignment will work.
Reason for lookup fields not working in these scenarios are Search stores each string for matching and uses spaces to separate those strings. If you do not indicate that you want to find two strings in sequence, separated by a space in your search by using quote marks, the search will match those strings no matter what order they appear in.
Workarounds :

Use Lookup icon for selection.
Get even more control over your search results with wildcards and operators. Refer this for more details Exact match keyword search in Global Search

An idea exists for this issue. Please have a look on same Make Contact, User, Lead lookups work properly when first names contain space
Comment: If this answer works for you then feel free to accept this answer.


Prove that $x+e^{2x}=1$ have only one solution

Question: I`m trying to prove that this equation have only one solution.
$$x+e^{2x}=1$$
so what I did is to set $\ln$ on this equation and get:
$$\ln(x)+2x=0$$
I need some hint how to continue from here.
Thanks!
Comment: $\ln(x+e^{2x}) \neq \ln x + \ln e^{2x}$.
Answer: Hint: Ignore what you did. Consider the function $f(x)=x+e^{2x}-1$. Relate this function to your problem somehow and use the intermediate value theorem. This takes care of the existence of one solution. To ensure it's unique, think about $f'$.

Regarding your work, note that the equations you got aren't equivalent due to the fact that the LHS of the first equation makes sense on a bigger set than the LHS of the second equation.
Comment: Ok got it, if $f'(x)>0$ is only increasing and if $f(a)*f(b)<0$ so there is $f(c)=0$
Comment: @OfirAttia Yes.
Answer: Hints:
Define
$$f(x):=x+e^{2x}-1\implies f'(x)=1+2e^{2x}>0\,\,\forall\,x\in\Bbb R\;\implies$$
the function is monotone ascending and thus has at most one zero...which it obviously has.
Answer: $f(x)=x+e^{2x}-1$
$f'(x)=1+2e^{2x}>0 \forall x\in R$
$\Rightarrow f$ is an increasing function and as $f(0)=0$
So $\forall x,y\in R$ with $x<0<y$ we must have $f(x)<0<f(y)$
Hence there is only one solution namely $x=0$.
Answer: Another way is to notice that your problem can be regarded as system
$$
\left\{
\begin{array}{rcl}
y &=& e^{2x}\\
y &=& 1 - x \\
\end{array}\right.
$$
Notice that the first function is increasing and the second is decreasing. Also from plots of these functions you will see that the system has only one solution ($x = 0$ and $y = 1$)


Django: Why does database login every query?

Question: In my settings.py, I have a database configured.  I have a page that issues a sql query against the database defined in settings.py every 10 seconds.
I have been using it for 1 year now and never had any issues with it.
My database admin ran a login audit on our database.  As it turns out, each individual single sql query has a unique login to the database.  His audit took 5 minutes to run just today and it is because of my django application logging in.
I was pretty surprised to find out that every query that is issues has a unique login attempt to the database.
Is there anyway to create a "session" for the backend database in settings.py.  I really feel that the application should have a single login and use that session to issue commands.
Did I miss a setting to do this?

Sql login audit:
Answer: Consider setting CONN_MAX_AGE in DATABASES setting.
From the docs

Persistent connections avoid the overhead of re-establishing a connection to the database in each request. They're controlled by the CONN_MAX_AGE parameter which defines the maximum lifetime of a connection. It can be set independently for each database.
The default value is 0, preserving the historical behavior of closing the database connection at the end of each request. To enable persistent connections, set CONN_MAX_AGE to a positive integer of seconds. For unlimited persistent connections, set it to None.


How is extremely low frequency (ELF) radiation collected by a submarine antenna?

Question: The U.S. Navy Project ELF managed to generate extremely low frequency (ELF) radiation at down to $\approx 76$ Hz (implying a wavelength of $\approx 3,945$ km!).  I was curious, what kind of receiving antennas do submarines use to actually pick up these ELF signals?  What are the size requirements?  Do submarines just trail a very long cable that approximates a monopole or dipole antenna, use electrical lengthening to shorten the antenna to some length $\approx 3,945/k$ km, where $k \in \mathbb{Z}$, and then travel along an optimal vector to pick up a transmitted signal?
Comment: Maybe they detect the magnetic component? After all power transformers work in this frequency range and there the secondary coil picks up the magnetic field generated by the primary.
Comment: @Urgje That would make sense from the (low) required broadband and compactness requirements (with respect to the wavelength)...
Comment: @Urgje Then again, perhaps not w.r.t. to the broadband requirements depending on how large the penalty is?
Comment: @Urgje Another factor would probably be the tolerance for the orientation of the receiving antenna - you probably want a broad / large dipole for this application.
Comment: I can't speak to the physics here, but they *do* just run a long antenna out the back of the boat.
Comment: @dmckee So it's probably looking at the electric component of the ELF radiation produced far away in Michigan, USA on the granite bedrock underneath Lake Superior (which sounds ridiculous to write).
Comment: I would say electrically short dipoles or loops. The most important issues of these frequencies are bandwidth, as mentioned in the above comments (few characters per minute) and the inefficiency of the antennas. Loops are somewhat more efficient than short dipoles, so I would say loop antennas.
Answer: There exist a wiki article on this, project elf.

The scaled-down system the Navy eventually constructed, called Project ELF, began testing in 1982 and became operational in 1989. It consisted of two transmitter facilities, one at Clam Lake, Wisconsin and one at Republic, Michigan. with a total of 84 miles[ of above-ground transmission line antenna. The two transmitters normally operated synchronized together as one antenna for greater range, but could also operate independently.

.........

In 2004 the Navy shut down both transmitters, with the explanation that very low frequency (VLF) communication systems had improved to the point that the ELF system was unnecessary

...............

The Russian Navy operates an ELF transmitter facility, named ZEVS ("Zeus"), to communicate with its submarines, located 30 km southeast of Murmansk on the Kola peninsula in northern Russia. Signals from it were detected in the 1990s at Stanford University and elsewhere. It normally operates at 82 Hz, using MSK (minimum shift keying) modulation. although it reportedly can cover the frequency range from 20 to 250 Hz. It reportedly consists of two parallel ground dipole antennas 60 km long, driven at currents of 200 to 300 amperes.[ Calculations from intercepted signals indicate it is 10 dB more powerful than the U.S. transmitters.Unlike them it is used for geophysical research in addition to military communications

<code>......
</code>
As fore receiving antennas, they do not have to be large.It is the generation of a frequency modulated with a signal that needs the full wavelength length. The receiver if the signal is strong works with smaller dimensions.

Ground dipoles are not needed for reception of ELF signals. The requirements for receiving antennas at ELF frequencies are less stringent than transmitting antennas, because the signal to noise ratio in ELF receivers is dominated by the large atmospheric noise in the band. The level of signal strength at the antenna is far above the noise in the receiver circuit, so small inefficient receiving antennas can be used. Various types of coil and ferrite loop antennas have been used for reception.

This might help somebody designing an antenna.
Answer: This is a very interesting question and, after studying submarines for decades, I have no idea.
I've heard bits and pieces about the ELF transmitter antenna arrays, but I don't know anyone who has seen one. I don't even know if they are built above or below the surface. The one thing I hear repeatedly is that the arrays are kilometers long.
How would you fit an antenna element kilometers long into a submarine that is not kilometers long? There are a couple of options that come to mind.
As I understand it, reception is maximized when the antenna lengths match (and are matched to the wavelength of the transmitted signal).
Option 1 is a 'trailing array'. Some of our newer subs use trailing sensor arrays. It allows them to use things that are very noisy without giving away the actual location of the submarine.
Sometimes I wonder if they stream the sensor array from the ELF antenna? But, in all the scenarios that I've seen, they don't use the ELF if they are moving. If they aren't moving, the ELF antenna would be subject to gravity, and would soon be in a vertical alignment. Since the transmitter arrays, as far as I know, are horizontal, it seems to me that there would be a polarity issue.
The other option I can think of is a partial wavelength antenna built into the hull of the submarine. But, if you consider the wavelength, and the length of the submarine, I suspect that the antenna length could only be a very small fraction of the transmitter antenna length, and, as I understand it, this can lead to significant losses in signal strength, all by itself.
Comment: "ELF would be subject to gravity" - yes, but it is probably built with neutral buoyancy, so it would always remain in a roughly horizontal position.


GNOME Terminal > load-config > does not work properly after upgrade to 16.04

Question: That command below worked fine on Ubuntu 14.04. After upgrade to 16.04 it does not work anymore. It opens a terminal window with 4 tabs.
open-terminals.sh
#!/bin/bash
gnome-terminal --load-config=terminal-config.cfg &>/dev/null &

terminal-config.cfg
#Written by GNOME Terminal 3.6.2

[GNOME Terminal Configuration]
Version=1
CompatVersion=1
Windows=Window0;

[Window0]
MenubarVisible=true
Role=gnome-terminal-window-6355-887453268-1466588933
ActiveTerminal=Terminal0xed4f70
Geometry=135x24+437+495
Terminals=Terminal0xe04970;Terminal0xc1f520;Terminal0xe4f060

[Terminal0xe04970]
ProfileID=Default
Title=am.example.com
WorkingDirectory=/home/.../servers/apache-tomcat-am/bin
Zoom=1
Width=135
Height=24

[Terminal0xc1f520]
ProfileID=Default
Title=web.example.com
WorkingDirectory=/home/.../servers/apache-tomcat-web/bin
Zoom=1
Width=135
Height=24

[Terminal0xe4f060]
ProfileID=Default
Title=middleware.example.com
WorkingDirectory=/home/.../servers/payara-middleware/bin
Zoom=1
Width=135
Height=24

[Terminal0xed4f70]
ProfileID=Default
Title=api.example.com
WorkingDirectory=/home/.../servers/glassfish-api/bin
Zoom=1
Width=135
Height=24

At first I got a "Error creating terminal: "Default" is not a valid UUID" error. I fixed it so that I put a real uuid to ProfileIDs.
Next error what I got was "Error creating terminal: No profile with UUID "e4661004-d5fd-4d17-9a9d-8e419b6b8330" exists". I fixed it so that I changed the value of Terminals in [Window0] to the ProfileIDs.
Next problem: Title and WorkingDirectory properties are not applied and i just realized that the "rename tab" menu is disappeared from the menu.
GNOME Terminal
3.18.3
A terminal emulator for the GNOME desktop
Using VTE version 0.42.5 +GNUTLS
Could you please help me to fix this issue?
update
gnome-terminal --save-config=~/temp/xyz.cfg says that Option "--save-config" is no longer supported in this version of gnome-terminal.
What is that? What is is the alternative way to do the same with the new version of gnome-terminal? I have not found any useful about this topic on the internet :(
Answer: Same issue.
On my computer the command line parameter --tab-with-profile accepted value "Default", while --load_config did not (check tag <entry name="visible_name"> in the file ~/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml or use GUI profile settings).
So I have transformed important values from the config file to command line parameters. You can use following code for your setup:
gnome-terminal --geometry="135x24+437+495" \
            --tab-with-profile="Default" --working-directory="/home/.../servers/apache-tomcat-am/bin" \
            --tab-with-profile="Default" --working-directory="/home/.../servers/apache-tomcat-web/bin" \
            --tab-with-profile="Default" --working-directory="/home/.../servers/payara-middleware/bin" \
            --tab-with-profile="Default" --working-directory="/home/.../servers/glassfish-api/bin"

Unfortunately I haven't found how to set tab titles this way.
But there are sweets in the end. You can use --command for each tab and run e.g. mc. This was impossible with config file.
Comment: Finally i use Terminator. Install: sudo apt-get install terminator LINK: http://www.tenshu.net/p/terminator.html
Answer: I've got same issue. Partly fix is to comment all lines where
ProfileID=Default

...it provides load all your tabs from configuration saved before. But tab name issue should be fixed (I've checked --help & --help-all - have not found correct property for tab title)
Other way to have hot fix is to replace ProfileID name value with id value. Id value can be checked in Edit->Profile parameters->General->profile ID.


Designing a tile

Question:
How do I create this tile in Photoshop. I tried Bevel and Emboss as well as Inner Shadow but the result is nowhere near like this.
Comment: Note that the tile and the ? are two separate objects with separate effects. You can't do both in one step.
Comment: Bevel on the tile, Inner shadow on the question mark. Adjust settings to achieve desired effect.
Answer: You are on the right track, its a bevel and emboss, but then its another rounded red rectangle on top, with no effects, then its the letter with an inner shadow, to make it look like its 3d.
so its three elements
[ letter - ? - with inner shadow ]
[ smaller red rounded box, to make the top look flat]
[ red rounded box with bevel]
Also this is not an exact duplicate, but you might find some help here.
Creating a tile for a word game

Designing a tile


magento 2.2.6 theme responsive issue

Question: I run several websites with a "responsive" template. The thing is, the template is not really responsive....(And the developpers have dropped support on it...)
the mobile stylesheet seems completely messed up. You can see by yourself on https://www.oxyform.be.
Is there a way to fix this ? (other than set up a new theme :/ )
Thank you for guiding me.
Comment: the below answer is going to be the best solution for this problem
Comment: Ben Cook is right. It should fix your problem.
Answer: You have a fixed width on quite a few elements:

To fix this edit the CSS to something like this:
<code>max-width: 1170px;
width: 100%;
</code>
As for where to make this change I can't say without seeing the theme, it will likely be a SCSS or LESS file.
Now your site is responsive again:
Comment: I just did ! thanks again.
Comment: Perfect, you solved it! thank you so much !
Comment: Glad to hear it worked @JGCabanas - Can you mark my answer as accepted please?

magento 2.2.6 theme responsive issue


How can we use Newtons 1st and 2nd Laws on Earth when gravity makes all frames non-inertial?

Question: As Newtons laws of motion only hold in inertial reference frames, how come we use them freely to describe motion of particles under the influence of gravity?
Isn't the only frame where we can  apply Newtons laws in a frame accelerating at the same rate and in the same direction as gravity?
Answer: Inertial reference frames are frames where bodies with zero net force move at constant velocity. It follows from this definition that inertial reference frames have constant velocity with respect to one another. Measurements in one inertial frame can be converted to measurements in another by a Galilean transformation.
If one reference frame is being accelerated you can no longer use a Galilean transformation, and you must include ficticious forces that act on masses whose motion is described using a non-inertial frame of reference.
I think that your confusion comes from the fact that what we usually call "laboratory frame" is in the Earth's surface, so it suffers a gravitational force. However, remember that a normal force is also acting over the objects over the surface of the Earth, so the net acceleration is zero.
Comment: OP is using the GR definiton of inertial frame.
Comment: @João Vítor G. Lima the post is tagged with Newtonian-mechanics
Comment: Because he asked about Newton's Laws right after.
Comment: Notice he asks: "isn't the only frame where we can apply Newtons laws in a frame accelerating at the same rate and in the same direction as gravity?".
Comment: -1: This doesn't answer the question that OP asked.
Comment: @Dvij Mankad what is the OP asking?
Answer: We can use Newton's Laws in non-inertial reference frames if we consider the action of ficticious forces. Indeed, in General Relativity the frame in free-fall is inertial and the one at rest relative to the ground is non-inertial. But we can use Newton's Laws if we consider the ficticious force: gravity. This is the same thing that happens in the accelerating elevator: we may use Newton's Laws in the elevator frame if we consider the ficticious force field that arises from the equivalence principle.
Comment: Gravity is not a fictitious force and in-fact it is even included in the inertial frame calculations which are normally made. The fictitious forces (or psedo-forces) to consider include coriolis and centrifugal forces due to rotation of earth
Comment: @sarthak The force of gravity doesn't exist in a true inertial frame. Gravity is precisely the fictitious force that arises in a frame which is accelerated with respect to the local inertial frame. In particular, the Christoffel symbols identically vanish in a local inertial frame and the value of them in a non-inertial frame is determined precisely by the transformation that takes one to the said non-inertial frame from the inertial frame.
Comment: In classical mechanics. Notice he asks: "isn't the only frame where we can apply Newtons laws in a frame accelerating at the same rate and in the same direction as gravity?".
He is refering to the General Relativity definition of inertial frame, where gravity is a pseudo force that exists only on the non inertial frame of the groud.
Comment: @DvijMankad If we talk about Newtonian physics then force of gravity is a real force which acts between two bodies because of their masses. In GR, there is no force of gravity but just curvature of space-time again due to masses. So gravity is never a fictitious force. A freely falling frame is accelerated at g and the psedo-force appears precisely because the frame is accelerated (in Newtonian terms). But this does not imply that the gravity is a psedo-force.
Comment: @sarthak The quantity that represents itself as a force in GR is Christoffel symbols--not the curvature tensor. Christoffel symbols are always identically zero in an inertial frame and the force of gravity is indeed a fictitious force in GR. It is incorrect to say that there is no force of gravity in GR--there is. It is just that it identically vanishes in an inertial frame.


In a triangle $ABC$ let $D$ be the midpoint of $BC$ . If $\angle ADB=45^\circ$ and $\angle ACD=30^\circ$ then find $\angle BAD$

Question: In a triangle $\Delta ABC$ let $D$ be the midpoint of $BC$. If angle $\angle ADB=45^{\circ}$ and angle $\angle ACD=30^{\circ}$ then find angle $\angle BAD$.
NOW this is a special case do we need a construction.
Answer: Let's denote $\angle BAD$ as $\alpha$. We have that $\angle ADB=180-(45+\alpha)$. If $\angle ADB=45$ and $\angle ACD=30$, then $\angle ADC=180-45$ and $\angle CDA=180-30-(180-45)=15$. Now, from the sine theorem:
$$ \frac{|CD|}{\sin(15)}=\frac{|AC|}{\sin(180-45)}$$
$$ \frac{|AC|}{\sin(180-(45+\alpha))}=\frac{|BD|}{\sin(\alpha)}=\frac{|CD|}{\sin(\alpha)}$$
From the first one, we have that:
$$ |AC|=\frac{\sin(180-45)}{\sin(15)}|CD|$$
Plugging this into the second one gives us:
$$ \frac{\sin(180-45)}{\sin(15)}|CD|\frac{1}{\sin(180-(45+\alpha))}=\frac{|CD|}{\sin(\alpha)} $$
$$ \frac{\sin(15)\sin(180-45)}{\sin(180-(45+\alpha))}=\frac{1}{\sin(\alpha)} $$
$$ \sin(\alpha)=\frac{\sin(180-(45+\alpha))}{\sin(15)\sin(180-45)}=\frac{\sin(45+\alpha)}{\sin(15)\sin(180-45)} $$
Can you take it from here?
Comment: better do it fully
Answer: This can be solved very easily using a simple geometry construction:

1.) Draw segment $DE$ where point $E$ lies on $AC$ such that $\angle DAC=\angle ADE=15$. This means that $\angle DEC=30$, therefore $AE=ED=BD=DC$. Now, join $B$ and $E$ via $BE$. Notice that $\angle BDE=60$ and $BD=DE$, this proves that $\triangle BDE$ is equilateral, and therefore, $AE=ED=BD=DC=BE$.
2.) Lastly, notice that $\angle BEC=\angle BEA=90$, and that $AE=BE$, this means $\triangle BAE$ is an isosceles right triangle, and $\angle BAE=45$. Therefore $\angle BAD=45-15=30$
Answer: One can use a construction if one does not want to use trigonometry but only very simple but tricky methods.
Let point $B'$ be such that triangle $AB'C$ is equilateral and $B$ and $B'$ lie on the same side of line $AC.$ Let point $C'$ be such that line $AC'$ is orthogonal to $B'C$ and $AC' = AC = AB' = B'C$. By construction, $AC'$ is the orthgognal bisector of $B'C$ so $$B'C' = CC'\,\,\, \text{ and } \,\,\, \angle \, CAC' = B'AC' = 30^{\circ}$$ Therefore, triangles $CAC'$ and $B'AC'$ are congruent isosceles triangles with $30^{\circ}$ internal angle at vertex $A$ (because $AC'$ is the angle bisector of equlateral triangle $AB'C$).

Now, by assumption, $\angle \, DAC = \angle \, ADB - \angle \, ACD = 45^{\circ} - 30^{\circ} = 15^{\circ}$. Hence, line $AD$ is the angle bisector in isosceles triagnle $CAC'$ through vertex $A$ and so $AD$ is also orthogonal bisectror of $CC'$ which means that $DC = DC'$. A direct angle chasing shows that $\angle \, CDC' = 90^{\circ}$. However, by assumption, $BD = DC = DC'$ so $$BC ' = CC' = B'C' \,\,\, \text{ and } \,\,\, \angle \, BC'C = 90^{\circ}$$ Hence triangle $BB'C'$ is isosceles and after a direct angle chasing, one sees that $\angle \, BC'B' = 60^{\circ}$. Thus $BB'C'$ is an equilateral triangle. This means that triangles $ABC'$ and $ABB'$ are congruent, because $BB' = BC'$, segment $AB$ is common and $AB'=AC'$ by construction. Therefore, $$\angle \, BAB' = \angle \, BAC' = \frac{1}{2} \, \angle \, B'AC' = \frac{1}{2} \, 30^{\circ} = 15^{\circ}$$ We can conclude that $$\angle \, BAD = \angle \, B'AC - \big(\angle \, BAB' + \angle DAC \big) = 60^{\circ} - (15^{\circ} + 15^{\circ}) = 30^{\circ}$$
Comment: good one brother
Answer: Drop perpendicular from $A$ on extended $BC$ intersecting at $E$ to form right triangle $\triangle AEC$.

Let $AC = b$
Then by basic trigonometry we get:
$EA=\frac{b}{2}$
$DC=EC-ED=\frac{\sqrt{3}-1}{2}b$
$EB=EC-BC=\frac{2-\sqrt{3}}{2}b$
$\angle EAB=\tan^{-1}\frac{EB}{EA}=\frac{\pi}{12}$
Therefore,
$$\angle BAD=\angle EAD-\angle EAB=\frac{\pi}{4}-\frac{\pi}{12}=\frac{\pi}{6}$$


How to get past vertical sewage pipes?

Question: After getting inside the sewer of South Park, I used alien probe to cross the gap. And then climbed down the stairs. Now I can see a water flowing down. There is a valve above it. How do i reach it?
Comment: you know, as Lyrion's answer is obviously correct, it'd be nice to accept it...
Answer: To get through the sewer flow, you'll see the valve above it twinkeling a little. When they do that you can shoot at it.
Shoot at the valve.
Edit: As Eric Tobias said there are 2 kinds of valves, the ones on top of the pipes which you can shoot, and the yellow ones next to the pipes which you can use by activating them.
Comment: It may be noteworthy that there are two types of these sewage pipes. The first can be shut by the valve as discussed above, the second features a valve on the other side of the stream, you will get to those later on when you approach the stream from the other direction.

How to get past vertical sewage pipes?


mfabrik web and mobile

Question: Where can I download the product "Web and Mobile" by mfabrik? I checked their site and didn't find a download link, even in the installation instructions page.
Thanks in advance.
Regards,
Helio
Answer: Somewhere like there : http://pypi.python.org/pypi/mfabrik.webandmobile/
Anything you ever wanted is on PyPi.
Comment: Salut Jihsaisse! Thx for the answer. Regards, Helio
Answer: If you intend to install the product "Web and Mobile", you can use the installation process available on the mfabrix website. The provided buildout will download and install mfabrik.webandmobile and all his dependencies for you.

mfabrik web and mobile


Prepend WAV Header in NAudio

Question: I am resampling MP4 (Audio) file into WAV using MediaFoundationReader and ResamplerDmoStream to WaveFormat(16000, 16, 1). After resampling I send the stream to speech API for transcription, but the API fails because the stream does not contain the WAV header.
If I save the stream to WAV file (using WaveFileWriter), read the file again and then send the stream to API then the API works because the stream contains the WAV header.
Is there a way to prepend the WAV header to the stream after ResamplerDmoStream resampling in order to prevent the time-costly I/O?
Answer: You can use WaveFileWriter to write to a Stream. So in this case, I'd write to a MemoryStream, and the WaveFileWriter must be disposed in order to properly finalize the WAV headers. But then you'll have an in-memory representation of a WAV file.
One caveat, is that you might end up disposing the MemoryStream when you dispose the WaveFileWriter, so I have a convenience class in NAudio called IgnoreDisposeStream which you can wrap the MemoryStream in to stop it getting disposed before you use it.
Comment: Thanks for your details explanation. Using ResamplerDmoStream provided inconsistent results on the API side so eventually I ended up using MediaFoundationResampler instead. I tried WaveFileWriter.Write but it requires to know the length of the byte array in order to create a stream of appropriate size and MediaFoundationResampler does not provide getter for Length. How can I create a stream from MediaFoundationResampler of appropriate size?

Prepend WAV Header in NAudio


How can I add a direct link to the edit account settings page in a menu?

Question: Ok, I must be missing something obvious, but I'm having trouble adding a link to user/%/edit to the main menu.  In the Menu UI, I clicked "add link," set the title to "Account settings," and then was at a loss about what to put for the path.  I know how to generate a link to the account edit page using views, which is what I've always done before, but this time I actually need to add the link to the "Main Menu."
Answer: Try this module menu_token , it allows to use tokens in menu

Menu Token module provides tokens, that could be used in title or in path of menu items (links). For example, if you create a menu item with path: "user/[current-user:uid]", the url will be changed "on fly" to: "user/1" (assuming you are user 1).
Answer: You can't use % as a wildcard when adding a menu item like that.
The me aliases module can help you do it.
You install that module and then you can add a menu item to user/me/edit and it will go to the currently logged in user's edit page.
Comment: The module smile mentions is a good option too.
Comment: The 'me' aliases module changed all of my user admin links so I can't edit user tabs anymore so I won't recommend it.
Comment: It's a valid solution that works for me. I don't see why it is worth a down vote as it is not a wrong answer. But whatever.
Answer: Create a node with input format filter set as PHP code and copy/paste the following code:
<?php
drupal_goto('user/'.$GLOBALS['user']->uid.'/edit');
?>

Under menu settings, create a menu link and add it to a menu.
https://drupal.org/comment/4098302#comment-4098302
Comment: Not an elegant solution, but would probably work.
Answer: In Drupal 8,9,10 etc. you can do this by providing a custom route to point to /user/edit for example and have this route call a controller to perform a simple redirect. You can then simply link to /user/edit from anywhere you want and the redirect will bring the user to their correct /user/%/edit form.
The User Current Paths module does exactly that. Use this module or have a look a their approach, which can be extended easily to provide more complex dynamic redirects as well.

The routing entry: user_current_paths.routing.yml
The callback: src/Controller/UserCurrentPathsController.php


let $a,b,c >0 $ and $abc=1$,prove that $\sqrt{1+8a^2}+ \sqrt{1+8b^2}+ \sqrt{1+8c^2}\leq 3(a+b+c )$

Question: let $a,b,c >0 $ and $abc=1$,prove that $\sqrt{1+8a^2}+ \sqrt{1+8b^2}+ \sqrt{1+8c^2}\leq 3(a+b+c )$
can anyone help me with this question.
i've tried to assume that $a\geq b \geq c $ as my teacher said,however i couldn't solve it
Comment: can you tell us about your background in inequalities(you know about which inequalities)?are you familiar with AM-GM inequality?what about Cauchy schwarz inequality?
Comment: $abc=1$ implies the existence of $x,y,z$ such that $a=x/y,b=y/z,c=z/x$.You could try substitution.
Comment: You can find a proof here http://www.artofproblemsolving.com/Forum/viewtopic.php?f=151&t=597756
Answer: Let
$$ f(a,b,c)=3\sum_{cyc}a-\sum_{cyc}\sqrt{1+8a^2}.$$
Assuming that $a\geq b\geq c$, the Cauchy-Schwarz inequality gives:
$$ f(a,b,c)\geq f(\sqrt{ab},\sqrt{ab},c)\tag{1}$$
hence it is sufficient to prove the inequality in the case $(a,b,c)=\left(x,x,\frac{1}{x^2}\right):$
$$ 3\left(2x+\frac{1}{x^2}\right)-2\sqrt{1+8x^2}-\sqrt{1+\frac{8}{x^4}}\geq 0,$$
$$ 3(2x^3+1)\geq 2x^2\sqrt{1+8x^2}+\sqrt{x^4+8}$$
$$ 1+36x^3-5x^4+4x^6 \geq 4x^2\sqrt{(1+8x^2)(8+x^4)}.\tag{2}$$
To prove $(2)$ it is sufficient to prove that for any $x\in\mathbb{R}^+$ we have:
$$ 1+72x^3 - 138x^4 + 2328 x^6 - 360 x^7 \geq 0 \tag{3}$$
or the still weaker:
$$ 12-23x+328x^3 \geq 0,$$
$$ f(x)=1-2x+27x^3 \geq 0,\tag{4}$$
that is trivial since that cubic polynomial has a negative discriminant, hence only one real root, and since $f(0)>0$ while $f(-1)<0$ that root is between $-1$ and $0$, so the cubic polynomial is positive over $\mathbb{R}^+$.
Answer: WLOG: let $c=\min{(a,b,c)}$,then we have $c\le 1$, use Cauchy-Schwarz inequality we have
$$\sqrt{8a^2+1}+\sqrt{8b^2+1}\le\sqrt{(a+b)\left(\dfrac{8a^2+1}{a}+\dfrac{8b^2+1}{b}\right)}=(a+b)\sqrt{c+8}$$
we only prove
$$(a+b)(3-\sqrt{c+8})\ge\sqrt{8c^2+1}-3c$$
use AM-GM inequality we have
$$(a+b)(3-\sqrt{c+8})\ge 2\sqrt{ab}(3-\sqrt{c+8})=\dfrac{2(3-\sqrt{c+8}}{\sqrt{c}}$$
we only prove
$$\dfrac{6}{\sqrt{c}}+3\sqrt{c}\ge 2\sqrt{c+8}+\sqrt{8c^2+1}$$
It is easy prove it
Answer: Let $a=e^x$, $b=e^y$ and $c=e^z$.
Hence, $x+y+z=0$ and we need to prove that $\sum\limits_{cyc}f(x)\geq0$, where
$f(x)=3e^x-\sqrt{1+8e^{2x}}$.
But $f''(x)>0$ for all $x>0$.
Thus, by Vasc's RCF Theorem it's enough to prove our inequality for $y=x$ and $z=-2x$
or the starting inequality for $b=a$ and $c=\frac{1}{a^2}$ and the rest is smooth.


What's the best way to replace an old copy of WordPress with a fresh one and push to GitHub?

Question: I have been version controlling my WordPress site with Git and pushing to GitHub for quite some time. I develop locally, push to GitHub, and pull from GitHub to my production server.
I would like to scrap my current WordPress core on my local environment and replace it with a fresh new copy to then be pushed to GitHub and pulled to my production server.
My question is...am I going to run into any sort of tracking errors wit Git by replacing my WordPress core? Any other suggestions for me when I do this?
Answer: I handle this by adding the Wordpress core as a subrepository.  WordPress maintains a mirror of their SVN repository on GitHub.  Then you can update to a new version easily by going into the subdirectory containing the WordPress core files and checking out the tag for the current version:
<code>git fetch --tags
git checkout 3.3.2
</code>
The repo also includes beta releases, if you prefer those.
Here's the guide that I used to set up this process: Install and Manage WordPress with Git
Answer: I understood you're talking about updating wordpress. You should note that, like documented in the update instructions, during update you should

check the requirements
take a backup of your database contents
disable the plugins you have

So all this you should do regardless. Also, you should be sure to update your database content, too, if needed.
Wordpress contains instructions on updating using svn, and it seems it is, according to them, a perfectly fine approach to have. I would see no major difference for you to do essentially the same thing with git, provided you can tell exactly which files are appropriate to store on version control and which aren't.


Showing more than 5 items under recent items SharePoint 2013 Quick Launch

Question: In SharePoint 2013 site. the quick launch navigation shows 5 items by default in the recent items. And we need to increase that number to 8 or 10. I don't find any out of the box ways to do that and even google is not helping. Could you please suggest How we could achieve this.Is there any third party tool or any custom scripts We may use to do it.Thanks in advance.
Comment: It's a good question.  I checked myself and was unable to add an additional recent link.  I also did a trawl to try and find a post that covers this, but have drawn a blank.  The only other thing I can think of is to add commonly-used links to either the quick launch or else the 'top bar' navigation.  Could it be that you have lots of site contents in the site collection (e.g. a departmental site) and so users are accessing numerous different lists and doc libraries?  Or could it be that the top bar navigation needs updating, so users don't need to rely on the Recent links?
Answer: It is by default that the quick launch navigation cannot show more than 5 items in the recent items.
I don't think we can change it.
Answer: Yes it is possible. Follow below steps-->

Go to Site settings
Then go to Navigation settings
Structural Navigation: Editing and Sorting
Then go to Current Navigation
Add heading , it will give you browse option.
Browse your list/library/page and select , and add a title.
Your browsed item will be available at left navigation.


Why do we need a 2kOhm resistor

Question: What is the purpose of the 2k resistor in the schematic below? I am guessing the current through the diode will be infinity if it were absent?
Comment: Minor note: the current flows **through** something and a voltage is **across** something
Comment: the diode implements a compression of the stronger input, and an expansion of the smaller inputs.
Answer: R2 makes the circuit work and sets the "gain" or ratio between output and input voltages. Forget the diode for a moment, it is not necessary for mentally analysing this.
The op-amp is in an inverting configuration, so the op-amp output wants to do everything it can to keep the inverting input at the same voltage than the non-inverting input, which is 0V (ground) in this case.
If there is no resistance R2, any positive the voltage at inverting input is set by the voltage source only, and the op-amp output cannot influence it via the R1 resistance.
This can also be seen from the inverting op-amp gain equation: Vout = -Vin * R1/R2 so no resistance there would divide by zero so you can't have zero there.
The op-amp output would saturate at negative rail, trying to pull the inverting input towards 0V that is at non-inverting input.
If the circuit is assumed to be ideal, indeed the op-amp output would be minus infinite volts and current would be infinite, because even infinite current can't bring the voltage at inverting input down to 0V.

Why do we need a 2kOhm resistor


Is it possible to add a third monitor via ZoneScreen?

Question: I have a dual-monitor setup that I'd like to add a third monitor to. I'm trying to use ZoneScreen and another computer to do this. When I run ZoneScreen it only gives me the option to send the video from one of the two already existing displays to the other computer. How can I get it to create and send a third display?
Answer: The video driver makes the third display that you can choose.  ie; Display1, Display2, Display3 etc.  On Windows 7 there are some problems so you need to see the zonescreen website for instructions.  If you put Windows 7 in test mode for drivers, it seems to work fine.


How can I use software that is not "safe"?

Question: I've been trying to use drawing/painting software like Inkscape and krita but they won't open because the software may not be "safe" for my Mac. Does anybody know how to enable the software so that it will work?
Comment: Are you sure you want to run unsigned software given the amount of research you've done on what this feature is designed to do?
Answer: just:
- Right-click (or control-click) the application in question and choose "Open"
- Click the "Open" button at the next dialog warning to launch the app anyway
more on http://osxdaily.com/2012/07/27/app-cant-be-opened-because-it-is-from-an-unidentified-developer/
Answer: You can also go in to System Preferences > Security and Privacy and change Allow apps downloaded from "App Store and identified developers" to just "App Store"


Can I lie to to avoid zina?

Question: I'm 18years old and I'm in relationship with a girl and sometimes I don't want to do these things but every time she says to me For sake of Allah be with me , I repent what I have done in past, can I lie to her to get out of this haram relationship?
Answer: You can deny her call for zina without lying. You can be straight forward with her, you can say my faith do not allow sexual relationship outside of marriage. This can be testing times and if you have faith (imaan) you should stay away from forbidden things.
In fact if you refuse her call for zina, you will also be rewarded like mentioned in this hadith

Yahya related to me from Malik from Khubayb ibn Abd ar-Rahman al-
Ansari from Hafs ibn Asim that either Abu Said al-Khudri or Abu
Hurayra said, "The Messenger of Allah, may Allah bless him and grant
him peace, said, 'There are seven whom Allah will shade in His shade
on the day on which there is no shade except His shade:
a just imam, a youth who grows up worshipping Allah, a man whose heart
is attached to the mosque when he leaves it until he returns to it,
two men who love each other in Allah and meet for that and part for
that, a man who remembers Allah when he is alone and his eyes overflow
with tears, a man who refuses the approaches of a noble, beautiful
woman, saying "I fear Allah," and a man who gives sadaqa and
conceals it so that his left hand does not know what his right hand
gives.' " https://sunnah.com/malik/51/14
Answer: Brother, this is your future in either Jannah or Janaham on the line here do not be shy to break up with her you must do that or you can either marry her marriage is the only option here or you can break up you choose your future do not let some girl be the reason you cry on that day.

Can I lie to to avoid zina?


Looking for a software to design blueprint style technical drawings

Question: I am looking for a software to draw a diagram like the one in this picture.
Comment: If I ignore the dimension lines, it looks like hand drawn to me, probably with a drawing tablet. That means it could be done in pretty much any software that supports pen pressure.
Answer: This could be done in just about any drawing software (Photoshop, Illustrator, GIMP, Paint.NET).
My personal workflow would be to create the brushed aluminum background in Photoshop then bring that into Illustrator to create the line drawings.
For help with how to do that, these search terms might help: blueprint style, wireframe, or technical drawings.
Answer: Traditionally such technical drawings are made with the help of Computer Aided Design (CAD) software. These simulate the blueprints made by architects, engineers or designers of the times when we did not yet have computers in all offices. CAD software used to print with the help of a plotter to large scale paper sheets. This further made them look similar to a manual blueprint.
Today however large scale conventional ink- or laser-printers are available which made the plotters disappear. Still the look of the prints are traditionally imitating an ink drawing.
From all CAD applications the most well known may be AutoCAD or TurboCAD but there are plenty of proprietary, free, or Open Source alternatives:

List of CAD editors

If not for engineering but only for illustration we probably do not want to learn any of these heavy weight applications. We then may get similar results with any graphic editor. Personally I would prefer a vector oriented applications to do this.
Comment: I will get a 30 trial of CAD, and see out for the result. Thank you so much.


Users Cannot See Other Users on Leaderboard Component of Salesforce Community

Question: We're using Community Templates, Napili. We've implemented the Leaderboard component. We implemented a sharing set so users can only see other users' chatter posts if they fall under the same account. This works fine however, they can't see each other on leaderboard, only a few (some of which are under different accounts).
Internal users can see the full list of 10 users on Leaderboard though our external profiles aren't able to. Any suggestions would be much appreciated.
Thanks in advance for your help!
Best,
Kevin
Answer: Check Sharing Settings/ OWD on User, the default external access on User is Private and it sounds like this is your issue.


Has the Higgs boson always existed?

Question: I am slow and need some help understanding this. So has the Higgs boson always existed? If not, than how did it come to exist? What would have excited it before matter or particles were created? So this field, when excited by particles, forms and molds protons, neutrons and electrons into atoms, which then attract to become structured matter like everything we can see, including us?
Comment: Please don't use all caps in the title. It comes off as screaming.
Comment: You might have a look at this.   https://en.wikipedia.org/wiki/Chronology_of_the_universe#Electroweak_symmetry_breaking_and_the_quark_epoch  It's Wikipedia, which isn't always current, but it's a pretty good approximation of a standard theory of the early universe and it touches on most of your questions.   Different things formed at different times.
Answer: There is a single Higgs field that fills all of space and always has. Similarly there is a single electron field filling all of space. And an up quark field, and a photon field and a $W^+$ field and a Z field and a gluon field and a $W^-$ field and some neutrino fields and fields for down quarks and top and bottom quarks and charm and strange quarks and muons and taons.
But that's it. One field for each particle, in all of space, always.
The fields can change over time, but they don't stop existing or start existing and one didn't come from the others or before the others or vice versa. All them, everywhere, always.
But the fields can change, they can change to have more quanta or less quanta, and that's what we talk about when we say one photon or two photons, three electrons, or four electrons.

So this field, when excited by particles, forms and molds protons, neutrons and electrons into atoms, which then attract to become structured matter like everything we can see, including us?

The particles in some sense are the excitations of the field. But the protons hold the electrons together in an atom, mostly through interactions mediated by photons. And the protons and held together mostly by gluons, which also hold neutrons together and keep the protons and neutrons close to each other (in the sense where they are close).
The Higgs isn't really involved in those interactions. It's more about changing how the fields themselves can be excited into the particles through interactions with the Higgs field.
Comment: Small point, but his question was about the Higgs Boson, which probably didn't appear until the Universe cooled enough for that mechanism to happen, somewhere around the break-up of Electro-Weak Symmetry:   https://en.wikipedia.org/wiki/Chronology_of_the_universe#Electroweak_symmetry_breaking_and_the_quark_epoch
Comment: @userLTK Maybe. However, firstly, discussing that requires distinguishing a vacuum and a false vacuum, symmetry breaking, and really a general disclaimer about how being a vacuum is not covariant to acceleration. Secondly, I'm pretty sure that question has been asked before.
Comment: Thank you for taking the time to help me understand this.
Answer: One has to distinguish between fields and particles.
Fields are a mathematical construct , similar to a coordinate system, defined at all (x,y,z,t) points . Quantum mechanical fields are at the same time operators with expectation values.
Particles are excitations on the fields and their interactions are measurable in the laboratory. If no electron exists, the expectation value of the electron field is zero, which is the fact in most of space except where electrons exist.
In the standard model of particle physics there is a unification of interactions at very high energies, energies that existed in the beginning of the history of the universe. This is implied by the extrapolation of the measured running coupling constants  and it is at energies before symmetry breaking, where all the masses  of the elementary particles are zero, including the weak interaction mediators, W and Z.
This necessitated the introduction of a special field called that higgs field.

In the Standard Model of particle physics, the Higgs mechanism is essential to explain the generation mechanism of the property "mass" for gauge bosons. Without the Higgs mechanism, or some other effect like it, all bosons (a type of fundamental particle) would be massless, but measurements show that the W+, W−, and Z bosons actually have relatively large masses of around 80 GeV/c2. The Higgs field resolves this conundrum. The simplest description of the mechanism adds a quantum field (the Higgs field) that permeates all space, to the Standard Model. Below some extremely high temperature, the field causes spontaneous symmetry breaking during interactions. The breaking of symmetry triggers the Higgs mechanism, causing the bosons it interacts with to have mass. In the Standard Model, the phrase "Higgs mechanism" refers specifically to the generation of masses for the W±, and Z weak gauge bosons through electroweak symmetry breaking. The mechanism also gives the masses to the elementary particles.

The  measured by the LHC Higgs boson is the excitation of the Higgs field, the same as an electron is an excitation of the electron field, and a measured Z an excitation of the Z field.  The Higgs boson  is a particle with a specific mass that it also gets from the higgs field. At those high energies before symmetry breaking it  would not exist  because its mass is also an effect of the symmetry breaking. Only the  higgs field would exist.
Please note that the higgs mechanism and the field ( not the boson) are responsible for the masses in the elementary particles table. All other measured masses  like the proton and neutron , atoms and molecules, come from the relativistic invariant mass of the constituents (quarks, gluons etc).

Has the Higgs boson always existed?


How to show extraction progress of 7zip inside cmd?

Question: 7z.exe do not show any extraction progress in cmd."C:\Program Files\7-Zip\7zG.exe" -y x -pPASSWORD "D:\Myfile.rar" Extracts the file with a GUI progress-bar. But I don't want a GUI progress bar. I want to show the progress in terms of percentage inside cmd. i.e, I want to use 7z.exe instead of 7zG.exe with percentage progress shown.
Answer: There is (currently) no way to display a native progress bar at the command line.
There are a lot of (dirty) hacks out there, from counting the extracted files while extracting to continously getting the size of the extracted file or directory. I would not recommend those - if you can, use the gui. If not, just let it happen :-)
Comment: 7zip developer team has opinion that, they have disabled this feature for faster extraction.. They could have provide a switch atleast that can enable the progress bar.. However, what to do above their thoughts!
Comment: @Deb: That's interesting, since you would think that in that vein, the developers would add a "silent" option, [but they don't](http://stackoverflow.com/a/13690219/393280).
Answer: I have been about to get progress information using 7z.exe version with the command line:
7z.exe a archive.7z c:\testfolder -r -bsp2
Answer: The standard 32 and 64 bit '7-zip Extra' application accepts command line input and provides a percentage complete indicator, however I should note that this does not happen within the active CMD window, it does start its own application window, although once complete will close itself and your script will carry on as per usual.

Download the below source files from here: http://www.7-zip.org/download.html

DESCRIPTION: 7-Zip Extra: standalone console version, 7z DLL, Plugin for Far Manager

Retrieve the 7za.exe, 7za.dll, and 7zxa.dll files (I suggest only using the 32 bit files sitting outside of the x64 folder as they work on both architectures where x64 does not).
Place these files in the same folder somewhere within your payload, or in an accessible location from your script and where the user running the script has rights to access both files.
Refer to the 7-zip.chm for the command line and syntax information to create your script (this is not included in the download, and can be found in the standard install Program Files after installation), or refer to this very basic and helpful site: https://sevenzip.osdn.jp/chm/cmdline