An animated sci-fi movie with a fully armoured antagonist and a pale looking child

This is one of the few movies I saw on one of my relative's computer screen when I was little. As I was too young to understand anything, it was approximately 15 to 20 years ago (I believe the movie couldn't have come out after 2000, but the quality of the pictures looked good enough that I have my doubts).   The movie I am looking for was fully animated. Potentially a Japanese animated movie, but I can't tell for sure, as I was too young to tell the difference between Japanese, English or any language. There may be blood in the movie, but I can't tell for sure. However, now that I'm looking back, the drawing style looked slightly Japanese, although it was more of the bloody kind (I could slightly compare its style to "Blood: The Last Vampire" (2000)). Maybe it had an Asian tone to it (e.g. it could be a Korean animated movie too).   One of the "bad guys" was a tall, heavy guy, in a very armoured suit. I can't tell whether he was wearing a suit, or if his body was enhanced because he survived an accident (although I have some form of memory about the latter). Most of his body was covered, but I remember his face not being covered. The most distinctive feature he had was the fact that he had a Minigun where one of his arm should be (a bit like Barret in Final Fantasy 7). I think the first time we see him, he's seen crushing a metallic ashtray with his other hand.   A battle scene in the movie includes the heavy guy having a shoot-out against a relatively thin guy (or should I say "normal-sized man"), fighting him with a machine-gun mounted vehicle (he wasn't the one driving; he was shooting from the back of the vehicle). While they were shooting at each others, I remember the heavy guy screaming (nothing in particular, he was just shouting continuous "AAAHH~!!" in pure rage). The fight didn't seem to happen in a city. It slightly looked like a battlefield. The fight ended with some form of explosion, probably killing off the heavy armoured guy.   The other noticable character was a young boy. He looked... pale, almost weird. His skin was almost green, otherwise he looked like a regular child. He seemed to have some psychic powers too: at some point, when he was feeling uneasy and sweating, a man picked a sample of blood from the back of his neck, using a portable device. But when the man was... either incapacitated or down, that boy broke the device containing his blood simply by looking at it.   At some point near the end of the movie, the pale looking boy and some people (with scientists among them) seemed to be inside a huge facility or underground hangar. There was a lot of space, although I can't remember if it was a factory, or if it was an underground weapon storage. The child was also giving some form of speech too, as all the lights turned on suddenly. The others were possibly surprised by what they were seeing.   One last detail I remember about that child is his smile. While it wasn't as scary as the Joker's, his grin was... kind of creepy, because of how he looked at the others with his small round eyes. He was oftenly grinning.   Overall, most of the scenes I remember were quite dark (mostly because there was little light, or it was night time). The two exception being the battle scene (although it was dark, there was a lot of muzzle fire), and the last underground scene with the boy.   When I asked my relative about the movie, all they could tell me was: "The coloured word 'Aiko' was written on the cover of the CD".


What is the difference between an int and an Integer in Java and C#?

I was reading  when I came across  saying something about a particular type of programmer knowing the difference between an int and an Integer in Java/C# (Object-Oriented Programming Languages).  So, what is the difference?


Velocity is to speed as acceleration is to ________?

Vectors give both magnitude and direction, whereas scalars can be thought of as magnitude without direction. So, velocity is a vector since it is speed with direction. Similarly, what is the scalar analog of acceleration?  Velocity is to speed as acceleration is to ______. If there is nothing to fill that blank, is there a reason why velocity is so special?


Boot failure : No DEFAULT or UI configuration directive found!

I've tried to install Ubuntu on a VMWare Virtual Machine, but it never gets past the  bootloader :  ISOLINUX 4.01 debian-20100714 ETCD Copyright (C) 1994-2010 H. Peter Anvin et al No DEFAULT or UI configuration directive found! boot: _   I've also tried to burn this .iso image to a CD and go from therem but I got the same problem.  Some more details :   VMWare Server 2.0.2 Build 203138 on Windows 2008 R2 ubuntu-10.10-desktop-i386.iso image used (downloaded yesterday evening)


Update a record based on the field update on any grand child record

I have three different objects A (Grand Parent), B (Child) & C (Grand Child). All the three objects are related by a lookup relationship. Now, there is field on A object, IsActive which is a checkbox and another field IsEligible on object C which is also a checkbox.  Now, if any of the Grandchild associated with A is having IsEligible marked as TRUE, then IsActive on the A's record should be marked as TRUE . If none of the Grandchild records are having IsEligible marked as TRUE, then IsActive should be marked as FALSE.  Parent - A Child  - B1, B2 GrandChild - C1, C2 associated with B1 & C3, C4 associated with B2.  If either of the records, C1, C2, C3, C4, has IsEligible = TRUE, then IsActive = TRUE on A. If neither of the records, C1, C2, C3, C4, has IsEligible = TRUE, then IsActive = FALSE on A.  How can this functionality be achieved?


Why $c$ is $3\times10^8$ times faster than a $1\ \mathrm{m/s}$ car?

The value of a dimensional constant like $c$ is often regarded as unimportant since it can be arbitrarily changed to any desired value by changing our units. For example, $c=3\times10^8$ in $\mathrm{m/s}$, and  $c=1$ in $\mathrm{ft/ns}$. The value of a dimensionless constant on the other hand, is significant since it's independent of our metric system (e.g. the ratio between the mass of a proton to that of an electron). My question is not the typical "Why is $c=3\times10^8\ \mathrm{m/s}$?" one, but the dimensionless version of it.  Say you're working in SI, you measure a certain car speed with respect to the ground of the earth to be $v=1\ \mathrm{m/s}$, now: $c/v=3\times10^8$. This ratio between $c$ and the speed of this particular car is dimensionless, therefore it's independent of our metric system. Now someone might argue that this ratio is not important since we can change it to any value we desire by changing our frame of reference. Indeed you can change the value of the ratio by changing our frame of reference, However the particular value $c/v=3\times10^8$ remains the same (independent of any metric system) if we stick to one frame (with respect to the ground of earth).  In this sense I ask why $c$ (the upper limit to the speed of any physical object) is $3\times10^8$ times faster than that car (confining ourselves to one frame of reference)? Why $c$ is not some other $x$ times faster or slower? Is there some fundamental reason behind this or is it just an empirical fact, so that it's possible that we can have infinite universes just like ours but with different ratio ($c/v$)?   [Edit]: to put it another way, the crux of my inquiry is this: it's quite conceivable that we could have been living in another universe that is identical with ours, and it has some $c$ as their upper limit, However the value of $c_\text{our universe}$ is different from $c_\text{another universe}$ (in the same metric system), so why we live in a universe with $c_\text{our universe}$ but not another value?


3d models downloaded as obj don't show with all the textures and materials applied

I am trying to download models for my interiors. There are lots in the net, but I cannot find one suitable to my blender which can be placed in the scene with all the textures and materials applied. Obj for example are only white objects. How can I use those models in blender with the textures?


If A and B are two n x n invertible matrices, would the matrix result from A+B be invertible?  I think it would because for a matrix to be invertible its determinant would have to be greater than 0, and if you add the determinants of two matrices greater than 0 you would have to get a non zero answer. But is there any way to prove this?


What is the symbolic significance of the Night King's message?

In Game of Thrones S8E1,        Ned Umber is found pinned to a wall by the Night King with a symbolic message, which looks like tentacles coming out of the body of Ned.   Is there some meaning to that symbolic message? If yes, then what is that?


Check if value exist or exclude repeated values array

This the array...  $rt = array(     '0' => array(     'nombre'=>'Jojo',     'fecah'=> '195',     'fch'=>'12'     ),     '1' => array(         'nombre'=>'Tito',         'fecah'=> '197',         'fch'=>'13'     ),     '2' => array(         'nombre'=>'Jojo',         'fecah'=> '195',         'fch'=>'12'     ),     '3' => array(         'nombre'=>'Joji',         'fecah'=> '195',         'fch'=>'12'     ), );   and this is my code:  $a = array(); foreach ($rt as $k=>$v) {     if (in_array($v['nombre'], $a) && in_array($v['fecah'], $a) && in_array($v['fch'], $a) ) {         $a[]=$k;         echo 'The name ' . $v['nombre'] .' is in the array
';     } else {         echo 'The name is not in the array
';     } }   so as you can see  in the array index [2] the information also exist in the index [0], so I don't need it again, so I need a away to see if the data get repeated or not... if the data is "unique" then build the new array with the "unique" data if the data already exist then jump to next, but I need to compare the 3 keys not just the name... so how do I do that?


Solving $a_{n+1} = x^{a_n}$ for various $x$

(a) Consider a sequence defined by $a_0=1$ and $a_{n+1}=(\sqrt2)^{a_n}$ . Prove that limit exists and find it.   (b) Show that the limit doesn't exist finitely if we replace $\sqrt2$ by $1.5$. What are the maximum and minimum numbers such that limit exists?  I could do the first question and the first part of the second question. For (a), by induction, each term of the sequence lies in $(1,2)$ and is therefore monotonically increasing by the recursion function. Hence the limit exists, let it be $l$, it comes $2$. For (b), the sequence is monotone unbounded above, and the limit is $\infty$ similarly. How do I do the second part of (b)?


"Inter-", "multi-", "cross-", "trans-" in relation to disciplines

In academia the words inter-discipline, multi-discipline, trans-discipline, or cross-discipline are used to describe a type of combination between different disciplines or the uniqueness of a field.  Searching on OED.com for the terms inter, multi, cross and trans shows different uses.     multi has some nouns and adjectives, with one option of "multi-, comb. form"  cross has nouns, verbs, adjectives and prepositions, with "cross-, comb. form" inter has nouns, adjectives, verbs and prepositions, with "inter-, prefix" trans has nouns and adjectives, with "trans-, prefix"   In academia, the difference between multi or inter is not well-defined.  What is the difference between "comb.form" and "prefix"?  Why are there no results for using multi or cross as a prefix, but there are for inter and trans? How did the interchangeability of these come about, or is it improper to use them that way?


In the dialect I grew up with (1960's Leicestershire/East Midlands), I'd say "me", when I meant "my". For example:  "That's me car."  vs  "That's my car."  What I have wondered for a long time is, am I saying "my" with a different pronunciation, "m-ee" vs "m-eye". Or am I, in the dialect, using an entirely different part of speech, pronoun vs possessive. 5000 miles and 40 years away, I'll still often say "me" instead of "my".


What is this ore, and why can't I mine it?

I just came across this glowy ore, and my 'Sharp Silver Pickaxe' won't mine it. I'm playing on the PC version of Terraria, if that helps.  How do I mine the glowy ore block?


how do i fix a mounting error with an external drive

the other day I stupidly inserted my bootable usb stick in my laptop alongside my 1.5 TB external drive. My external drive worked excellent before but now I get this:   Error mounting /dev/sdb1 at /media/soninjr/Black: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb1" "/media/soninjr/Black"' exited with non-zero exit status 13: $MFTMirr does not match $MFT (record 0). Failed to sync device /dev/sdb1: Remote I/O error Failed to mount '/dev/sdb1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.   needless to say I'm not that far advanced in Linux to know what to do about this. Please help if you can it'd be much appreciated.


Geometric meaning of Im$\frac{z-z_1}{z-z_2}=0$

I want to consider the geometric meaning of Im$\frac{z-z_1}{z-z_2}=0$ and Re$\frac{z-z_1}{z-z_2}=0$. I know that subtracting by $z_1$ will be some sort of vertical or horizontal shift.  Then, dividing by $z-z_2$ will result in a stretch or shirnk of $z-z_1$, as long as $z-z_2$ is real-valued, and if $z-z_2$ is complex-valued then we will also have a rotation of $z-z_1$.  So, if the imaginary part is equal to $0$, then we know that these transformations has transformed $z$ to the real axis, and if the real part is equal to $0$, then these transofrmations has transformed $z$ to the imaginary axis.   I am wondering if this is a good way of thinking about these things, if anyone has anything to add, or if my thought process is incorrect in some way.  Thank you!


Can running applications without sudo be harmful?

I downloaded a piece of software which says it is open source, but I didn't manage to build the project from source (it's written in go).  The other option I have is to download the binary file and run it.  Can it do any harm to my computer if I run this file without giving it root privileges? Maybe it can work well, but it may have a keylogger or other kind of malware... should I be concerned?


I am looking to use Java to get the MD5 checksum of a file.  I was really surprised but I haven't been able to find anything that shows how to get the MD5 checksum of a file.  How is it done?


I don't understand how to get the result to show decimals. I'm sure this is super easy and I'll kick myself but I've looked all over and can't figure this out.(yes I'm very new to python) Thanks in advance.  weight = input ("Enter Weight: ")  if int(weight) <= 2:     rate = 1.10 elif int(weight) > 2 and int(weight) <= 10:     rate = 2.20 else:     rate = 3.70  charge = int(weight)*int(rate)  print (charge)


Why is a capacitor used to protect CMOS chips?

I am studying digital electronics. A book says that "use a 0.1 μF capacitor between Vcc and ground for each IC".  What does this mean?  Why can a capacitor protect CMOS chips?  Does it mean that a capacitor should be added like in the figure?  update (7/21/2016): okay, maybe I was confused with the meaning. A chapter of the book was talking about static protection for CMOS chips and for an experiment it mentioned the quotation with a footnote.  The footnote says, "In keeping with standard practice, capacitors are specified, particularly with CMOS devices, to return switching current 'spikes' to the source through the shortest possible path"  So, I thought a capacitor should be used to "PROTECT" CMOS chips.   As I said, I am studying digital electronics. I don't know about decoupling capacitors. So still I don't know if my question is duplicate :(         – Schematic created using


Importance of the bias node in neural networks

I'm curious to know how important the bias node is for the effectiveness of modern neural networks. I can easily understand that it can be important in a shallow network with only a few input variables. However, modern neural nets such as in deep learning often have a large number of input variables to decide whether a certain neuron is triggered. Would simply removing them from, e.g., LeNet5 or ImageNet have any real impact at all?


unexplained space above my containers when i add margin-top?

Why there is this white space above my containers,     * {     padding: 0;     margin: 0; }  .hamburger {     position: relative;     background: #eee; }  .bar {     background: orange;     position: relative;     margin-top: 150px;  }

hi

hi

hi

hi

hi

hi

hi

hi

hi

     When i add margin-top: 150px for .bar elements seems i get white space above the whole container not inside it, this is unexplained to me!!  Can anyone explain this bahavior??


Is it correct to use the word Klick instead of Kilometer in the following sentences?   It's about 50 klicks to the next gas station. The US is about 25000 klicks from India by air.


How to edit List that could be modified in another thread. Locking / Multithreading

I have two static procedures in one class that are called at various points during real time.  Both procedures access the same list. One adds to the list, the other removes items from the list.  The problem is that they are both conflicting with each other and I repeatedly receive the message:  "Collection was modified; enumeration operation may not execute"   Forgive my ignorance. But I believe I need to lock the collection somehow, whilst one task is working on it. But I also want the other process to immediate take over once the other task has finished.  Thanks in advance


Why Does apt-get update Make HTTP Requests

When I run sudo apt-get update on Ubuntu Server 14.04, it seems to be making a lot of requests to http:// sources. I would expect that something as important (and dangerous!) as updates would be handled over an encrypted connection (https://) but it appears it isn't. Why is that?


uniform convergence and function $\partial^k f_n(z_n) \rightarrow \partial^k f(z_0)$

Let $f_n$ be continuous on the open set $U$ and let $f_n \rightarrow f$ uniformly on compact sets.  and if  $U \supseteq \{z_n\}$ and $z_n \rightarrow z_0 \in U$ and $f_j$ are holomorphic, then what i want to show is for $0 < k \in \mathbb{Z}$,  \begin{align} \left(\frac{\partial}{\partial z}\right)^k f_n(z_n) \rightarrow \left(\frac{\partial}{\partial z}\right)^kf(z_0) \end{align}  My trial is similar treatment for $\lim_{n\rightarrow \infty} f_n(z_n) = f(z)$. But i am not sure about considering derivatives.


I want to change extentions of a few files, using loop.   #!/bin/bash read -p "type the path for folder " folder                                  read -p "type the extention of files to be renamed " ext read -p "type the extention you want to add " next next=.$next ext=.$ext if [ $? -eq 0 ] then e=`ls $folder/*$ext | cut -d '.' -f1`                                       for i in `ls $folder/*$ext` do mv $i $e mv $e $e$next done ls $folder/*.$next fi   I'm failing.


I'm using Calibre and it seems that it uses xdg-open to open files. This, even when tried in terminal, only opens nautilus and the file is selected, but not opened. It doesn't matter if I try to open .cbz or .pdf.  This seems fine: /usr/share/applications/defaults.list  application/x-cbr=evince.desktop application/x-cbz=evince.desktop   Sure when I open the file in Nautilus it opens, but this approach is quite annoying.


Is $C_{c}^{\infty}[a,b]$ a complete metric space?

Is the space of smooth functions with compact support in an interval $[a,b] \subset \mathbb{R}$, with the metric $\rho(\varphi_{1},\varphi_{2})= \sum_{n=0}^{\infty}2^{-n}\frac{\left \| \varphi_{1} - \varphi_{2} \right \|_{n}}{1 + \left \| \varphi_{1} - \varphi_{2} \right \|_{n}}$ where $\left \| \varphi\right \|_{n} = \sum_{j=0}^{n}\sup_{x \in [a,b]}|\varphi^{(j)}(x)|$ complete?


Hi I would print a double with its sign in C#. Is that possible?       double x=+3;      Console.WriteLine(x);   I want it to be displayed as "+3"


inconsistency while creating new array with existing array in javascript/ typescript in angular 6

Please see below code  var data = [     {id: 1, name: 'aa'},     {id: 2, name: 'ab'},     {id: 3, name: 'ac'},     {id: 4, name: 'ad'},     {id: 5, name: 'ae'}, ]; console.log(data); var obj = Array.from(data); obj.forEach((val) => delete val.name); console.log(obj); console.log(data);   while printing the obj, data arrays, name property in  data array is also removing. how to create new array with existing array?? . if we add/delete any properties in new array that changes should not reflect on the source array..


Sorry as this is a rather soft question, but I'm really struggling to get to grips with some packages for this (espcially since I really don't care about learning all the in's and out's). I literally just want the Petersen graph, $C_3$ and $C_6$. The problem with finding the pictures online is that the graphs will look inconsistent (different sizes of nodes etc from different webpages).


Make xargs execute the command once for each line of input

How can I make xargs execute the command exactly once for each line of input given? It's default behavior is to chunk the lines and execute the command once, passing multiple lines to each instance.      From :       find /path -type f -print0 | xargs -0 rm      In this example, find feeds the input of xargs with a long list of file names. xargs then splits this list into sublists and calls rm once for every sublist. This is more efficient than this functionally equivalent version:      find /path -type f -exec rm '{}' \;   I know that find has the "exec" flag.  I am just quoting an illustrative example from another resource.


Finding a limit without L'Hopital's rule or any series

The limit is $$\lim _{x\to 0 }\left(\frac{1 + x2^x}{1 + x3^x}\right)^\frac{1}{x^2}$$ I have no idea what to do. There are tons of exercises like this in my textbook and I was hoping if you could show me how to solve this one I would be able to solve others by myself. I think I should use this  $\lim _{x\to 0 }\left(\frac{a^x - 1}{x}\right) = \ln a$ but I don't know how. If you could give me some hints or solutions or even websites where there are solved problems like this that would be great help. Thanks in advance!


Computing geometric intersection (line-on-polygon overlay) using ArcPy?

I want to take geometric intersection of line and polygon shapefile. ArcPy has a tool:  arcpy.Identity_analysis   but it is available with "ArcGIS for Desktop Advanced" and I have "ArcGIS for Desktop Basic".   Is there any alternative tool that I can try?


Python matrix: instead of updating an element it updates all rows


How to learn physics effectively and efficiently

How do you effectively study physics? How does one read a physics book instead or just staring at it for hours?   (Apologies in advance if the question is ill-posed or too subjective in its current form to meet the requirements of the FAQ; I'd certainly appreciate any suggestions for its modification if need be.)


How do you get $\rm{var}(\Theta -\hat\theta) = \rm{var}(\Theta)$?

From this  on Bayesian Least Mean Square estimation:  $$\mathbf E\left[(\Theta -\hat\theta)^2\right] = \rm{var}(\Theta -\hat\theta) + \left(\mathbf E[\Theta -\hat\theta]\right)^2 = \rm{var}(\Theta) + \left(\mathbf E[\Theta -\hat\theta]\right)^2$$  which is to say that $\rm{var}(\Theta -\hat\theta) = \rm{var}(\Theta)$.  I would like to ask how that comes about?  Thanks.  $\Theta$ is the random variable being estimated, and $\hat\theta$ is a constant estimate.


How can I set a network connection as metered?

I would like to set a network connection as metered. I can't find how to do this; it seems to have changed in the upgrade from Windows 8 to 8.1.  I tried following the steps in . However, when I open the connection, there is no Data Usage heading nor a Set as a metered connection option. I tried this on two different computers, both running Windows 8.1. I also tried doing this for both wireless and ethernet adaptors.  Here's what the connection screen looks like. I've cropped the empty space from the image.   How can I set the connection to metered?


Hi my requirement is to produce following string:   qid<> 0 And qid<> 1 And qid<> 2 And qid<> 3 And qid<> 4 And qid<> 5 And qid<> 6 And qid<> 7 And qid<> 8 And qid<> 9    So I did like this:  import java.util.*; import java.lang.*; import java.io.*;  /* Name of the class has to be "Main" only if the class is public. */ class Ideone {     public static void main (String[] args) throws java.lang.Exception     {         // your code goes here        String deleteQids="qid<> ";        String deleteqidString1="";         for(int i=0;i<10;i++) {          deleteqidString1+=deleteQids+i +" And ";        }        System.out.println(deleteqidString1);     } }     But at the end And appears.  Can anybody please tell me how to get rid of this?


Ral Zareks first Ability: Magic The Gathering

Can I activate 's first ability (Tap target permanent, then untap another permanent) if my opponent has no "untapped" permanents? If so, will I get a loyalty counter, and be able to untap another permanent?


Can object pronouns and possessive pronouns be used side by side without a preposition?

In a previous post on this site, the question was asked, "Can we use two pronouns side by side?" However, the example given (and thus answers offered) didn't quite suit the particular question that I have.  Additionally, only the case of the specific example was addressed as opposed to the actual question in the title of the post.  In a sentence with an indirect and direct object, they should be separated by a preposition.  The girls gave Linda their keys.  They gave them to her.  (not)                                   They gave her them.  However, is that an absolute rule with possessive pronouns as well?   Linda didn't have her keys, so the girls gave theirs to her.  Would it also be correct to say:  Linda didn't have her keys, so the girls gave her theirs.  I'm not sure why in some cases, the two pronouns together "sound" OK, but in others they don't.  Linda didn't have a jacket, so I gave her mine. (Sounds OK to me)  Linda didn't have a jacket, so Tim gave her his. (Sounds questionable)  Even if these specific examples might be reworded for better clarity, the question is still whether or not, in any circumstances, object pronouns and possessive pronouns (which seem to also be acting as object pronouns here) may be used side by side.


Where do these "redshifts" and "blueshifts" come from?

I make many product photos for the company I work for. For this I use Canon 400D with two external flash devices Walimex CY-600K.  I've noticed an interesting effect on many of the photos I take with white background. On the resulting image there is a red/blue area visible between object and the background. The effect is strongest for black objects and also seems too decrease when I make a brighter photo. It is mostly visible only if zoomed in really close and is not a real problem for me as the resolution is quite high and the resulting images are only 500px wide.   I am just curious as to what is causing it exactly.   For the following example photo I used manual mode with these settings: 1/200 F10 ISO200:  .  You can see blue area left from the object and red area right from it. What is causing this?


show whether $\frac {xy}{x^2+y^2}$ is differentiable in $0$ or not? (multivariable)


Babel with UKenglish does not use British English hyphenation?

I am having trouble understanding the hyphenation rules of "babel". According to , selecting either UKenglish or british should result in Oxford dictionary type hyphenation. But it doesn't:  \documentclass{article} \usepackage[UKenglish]{babel}  \begin{document} Foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar produce foo bar. \end{document}   This hyphenates pro-duce:   Which is in accordance with American English, e.g., , whereas according to  it should be prod-use.


Shortcodes (with a space) added to php Sample

I have found only a small handful of posts from around the internet regarding Shortcodes and allowing them to work / execute within Admin Pages.  So, I have made several admin pages in Wordpress, and one of them requires me to add a shortcode from one of the other plugins.  I have found this solution which according to the comments it works:   However, the example in the answer uses [example] as the shortcode, the shortcode I am trying to use is [customcont form=3] If you notice, there is a space in my shortcode which is what puzzled me.  Because of that I'm now struggling how to incorporate that into the example that is on that thread??  This is not a duplicate question, I'm asking how to add my shortcode with a space into the example provided.  Thank you in advance!


Installation type empty on 16.04 for a dual boot

I'm trying to install a dual boot (with Window 10) on my new XPS-15 (with a SSD 256Go).  Everything works well (following  until I go on step "Installation type".  Where I can't select "Something else", and I already have the partition table but completely empty. I can't see any existing partition, or add new one.


How to make search engines to take care more about exclusive contents?

We have a website that lots of our contents are from other sources and we also have a link to those sources at the bottom of each content, but recently we started to generate content by ourselves, which means we're going to have more exclusive content which is written inside out own company.  There are two questions here:  1- How to let Google clearly knows that those contents are from those sources? (I'm worried about the negative point from Google)  2- How to let Google know this is exclusive content, and different from rest of contents on the website? (any meta-tag or tag?)


How do I translate an ISO 8601 datetime string into a Python datetime object?

I'm getting a datetime string in a format like "2009-05-28T16:15:00" (this is ISO 8601, I believe). One hackish option seems to be to parse the string using time.strptime and passing the first six elements of the tuple into the datetime constructor, like:  datetime.datetime(*time.strptime("2007-03-04T21:08:12", "%Y-%m-%dT%H:%M:%S")[:6])   I haven't been able to find a "cleaner" way of doing this. Is there one?


Supposing I have folder called "support" inside root folder "/public_html". I've added a subdomain in my server's panel so that when going to "support.mydomain.com" it redirects to "mydomain.com/support"  The problem is that redirection is reflected on the browser's address bar, and I want to make that subdomain work like "base domain". i.e "support.mydomain.com/folder-inside-support"  Is it something to be with .htaccess file?


Running a console application in an ASP.NET MVC web app

My requirement is to run a database query and store the output in a file but my application is an ASP.NET MVC application.  I have created a C# program which connects to the database and a getter and setter class for each column in the DB. I want to run this program independently. Is this possible?


Stacked bargraph nodes near coords too bunched up vertically tikz

How do I center the coordinates in their bars vertically?  shows horizontally in ybar  \documentclass[tikz,border=12pt]{standalone} \usepackage{pgfplots}     \pgfplotsset{compat=newest} \begin{document}  \begin{tikzpicture} \begin{axis}[ ybar stacked, legend style={at={(0.5,-0.50)}, anchor=north,legend columns=-1}, ylabel={Probability}, symbolic x coords={{Direct Care}, Housekeeping, Mealtimes, {Medication Round}, Miscellaneous,{Personal Care}}, xtick=data, ymax=1, x tick label style={rotate=45,anchor=east}, every node near coord/.style={       check for zero/.code={         \pgfkeys{/pgf/fpu=true}         \pgfmathparse{\pgfplotspointmeta-.1}         \pgfmathfloatifflags{\pgfmathresult}{-}{            \pgfkeys{/tikz/coordinate}         }{}         \pgfkeys{/pgf/fpu=false}       }, check for zero, yshift=3, font=\scriptsize},     nodes near coords={\pgfmathprintnumber[precision=2]{\pgfplotspointmeta}},     nodes near coords align=center ] \addplot+[ybar] plot coordinates {({Direct Care},0.258883249) ({Housekeeping},0.176470588) ({Mealtimes},0.19047619) ({Medication Round},0.207207207) ({Miscellaneous},0.222222222) ({Personal Care},0.615384615) }; \addplot+[ybar] plot coordinates {({Direct Care},0.015228426) ({Housekeeping},0.235294118) ({Mealtimes},0) ({Medication Round},0.027027027) ({Miscellaneous},0) ({Personal Care},0.153846154) }; \addplot+[ybar] plot coordinates {({Direct Care},0.152284264) ({Housekeeping},0.058823529) ({Mealtimes},0.333333333) ({Medication Round},0.351351351) ({Miscellaneous},0.180555556) ({Personal Care},0.153846154) }; \legend{{Handwash only},{Gloves only},{Alcohol rub only}} \end{axis} \end{tikzpicture} \end{document}


The censorship on Stackoverflow will kill the platform and it's elitist snakes will be haunted. Consider following words,  Its At That What  I often hear them as,  I/?/s Aa Tha/?/ Wha/?/  I'm interested to hear in which regional accents above pronunciations are used.


How can I increase the number of columns (characters on each line) of Tex compilation log (text output)?

The question is similar, but the answer here is more general. The log output width is limited to 80 characters. For example, this output:  (/usr/share/texlive/texmf-dist/tex/generic/pgfplots/sys/pgfplotssysgeneric.code .tex)) (/usr/share/texlive/texmf-dist/tex/generic/pgfplots/libs/pgfplotslibrary.code.t ex) (/usr/share/texlive/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldp gfsupp_loader.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.code.tex )   could be:  (/usr/share/texlive/texmf-dist/tex/generic/pgfplots/sys/pgfplotssysgeneric.code.tex)) (/usr/share/texlive/texmf-dist/tex/generic/pgfplots/libs/pgfplotslibrary.code.tex) (/usr/share/texlive/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplotsoldpgfsupp_loader.code.tex (/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.code.tex)


What is true for a ring with exactly two right ideals

This is question #66 from        Let $R$ be a ring with a multiplicative identity. If $U$ is an additive subgroup of $R$ such that $ur \in U$ for all    $u \in U$ and for all $r \in R$ , then $U$ is said to be a right ideal of $R$. If $R$ has exactly two right ideals, which of    the following must be true?      I. $R$ is commutative.   II. $R$ is a division ring (that is, all elements except the additive identity have multiplicative inverses).   III. $R$ is infinite.     Here is my reasoning: Because $R$ is a ring, $R$ is also a additive group with some identity element $0$. We have a theorem that says $0r = 0 $ in any ring, so $\{0\}$ is a right ideal of $R$. Also, $R$ is a right ideal of $R$. Now I have found two different right ideals and there mustn't be any more.     Edit: As mentioned in the comments, the example below is not a ring, so it is not applicable to the problem. I could not fix it by taking additive closure because that introduced more than two ideals.  A possible candidate for $R$ could be the set of $2\times2$ matrices $\{0,I,-I,a,-a\}$ where $a = [[^1_0] ,[^0_0]]$. The only right ideals are $R$ and $\{0\}$. This ring satisfies only property I, but the answer key says that II is the correct answer.


Do satellites over very panicked countries calm them down?

Is it a good strategy to launch a satellite over a country in the red on panic to calm them down? Am I correct that they will withdraw at the end of the month? If so, will the satellites calm them enough to prevent that? Also if they do withdraw, do I lose the satellite? The reason I ask is because a launch is rather expensive over all.  Including the interceptors that I will be launching.   Thanks!


Output to command-line if started from command line

I'm writing an application that can be started either as a standard WinForms app or in unattended mode from the command-line. The application was built using the VS 2k5 standard WinForms template.  When the application is executed from the command-line, I want it to output information that can be captured by the script executing the application. When I do this directly from Console.WriteLine(), the output does not appear, although it can be captured by piping to a file.  On the other hand, I can force the application to pop up a second console by doing a P/Invoke on AllocConsole() from kernel32. This is not what I want, though. I want the output to appear in the same window the application was called from.  This is the salient code that allows me to pop up a console from the command line:  <STAThread()> Public Shared Sub Main()      If My.Application.CommandLineArgs.Count = 0 Then         Dim frm As New ISECMMParamUtilForm()         frm.ShowDialog()     Else         Try             ConsoleControl.AllocConsole()             Dim exMan As New UnattendedExecutionManager(ConvertArgs())             IsInConsoleMode = True             OutputMessage("Application started.")             If Not exMan.SetSettings() Then                 OutputMessage("Execution failed.")             End If         Catch ex As Exception             Console.WriteLine(ex.ToString())         Finally             ConsoleControl.FreeConsole()         End Try      End If  End Sub  Public Shared Sub OutputMessage(ByVal msg As String, Optional ByVal isError As Boolean = False)     Trace.WriteLine(msg)     If IsInConsoleMode Then         Console.WriteLine(msg)     End If      If isError Then         EventLog.WriteEntry("ISE CMM Param Util", msg, EventLogEntryType.Error)     Else         EventLog.WriteEntry("ISE CMM Param Util", msg, EventLogEntryType.Information)     End If  End Sub


Multiple equations in square bracket matrix

When solving many equations you usually stuff them in matrices and solve them using Gauss-Jordan elimination. Where I come from, we write it like this and this is what should appear in my document:    The gray parts of image are there for clarity and are not part of what I need. I just need (n+1) x n matrix with separation line. I will also need to display multiple of the matrices next to each other to show the GEM process:    How can I do it?


Bash or Zsh, what's the difference, why use one or the other?

So, the question pretty much says it all. I'm on Snow Leopard, and I do a lot of web development, particularly in Rails 3 which makes heavy use of the console.  I've seen some notable bloggers etc. mention Zsh as their preference over Bash, but I don't know what difference it would make.  Could anyone give me a good comparison of what difference there is and what might make one prefer one option or the other?


Does anyone know how to programmaticly find out where the java classloader actually loads the class from?    I often work on large projects where the classpath gets very long and manual searching is not really an option.  I recently had a  where the classloader was loading an incorrect version of a class because it was on the classpath in two different places.  So how can I get the classloader to tell me where on disk the actual class file is coming from?  Edit: What about if the classloader actually fails to load the class due to a version mismatch (or something else),  is there anyway we could find out what file its trying to read before it reads it?


Show node IDs along with titles in Entity reference Autocomplete list

I'll like to add this functionality to the autocomplete widget in Entityreference field to show node ID next to the titles in the dropdown list. The reason behind the idea is to differentiate between multiple nodes with same title.  Example:    This is a title (3) This is a title (2) This is a title (1)   I know the node ID is shown once a selection is made but I like to show it in the dropdown list in order to pick the right node quickly based on the node ID.


Ubuntu 17.10 lid close: different behaviors on AC or battery?

I would like different behaviors on lid closing depending on AC is plugged (do nothing) or not (suspend). My laptop is a DELL Latitude under 64-bit Ubuntu 17.10. What I already tried:   Using GNOME Tweaks. It works well to define the overall lid behavior, but it does not change with AC/battery status. Using dconf shows some interesting settings (lid-close-ac-action and lid-close-battery-action), but they are always overriden by the above discussed GNOME Tweaks settings. Manually editing (as root) /etc/systemd/logind.conf and commenting/uncommenting/changing the values of HandleLidSwitch, HandleLidSwitchDocked and LidSwitchIgnoreInhibited seem to have no effect whatsoever. Choosing X or (default) Wayland does not seem to change anything either.   So what can I do? These settings used to work on previous Ubuntu versions, and forgetting to suspend while on battery leads to a fast drain of the battery within 24-48 hours...  Thanks in advance,


How do I create a list of independent sets in python?

I have a list that needs to contain a variable number of independent sets.  When I run the following piece of code, I want to add the string "testing" to only the first set.  numberOfSets = 3     test = [set()]*numberOfSets test[0].add("testing") print test   However, when I print test, it shows three identical sets that all contain testing. How can I set up my list so I can separately access each set?


whenever i type apt-get install git then it show error... error displayed by terminal is     yogesh@yogesh-dell:~$ apt-get install git     E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)     E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


How to make a function use a variable outside the function, but in a method of a class

I am trying to make a function that will be able to access a variable from outside the function. However, this variable needs to be defined in a class.  I'll define a simplified function of what I am trying to do in code for clarity.  class Stuff():      def __init__(self):          print("Initialized")       def forward(self,x):          y=4          x=func(x)          return x    def func(x):    global y    return x+y  stuff = Stuff() print(stuff.forward(4))   So, I am trying to make func(x) use the y defined in the "forward" method, but when I run this code, I get the error "global name y is not defined". Any help is much appreciated.


I am trying to have a multiline equation without any numbering, even not in the last one.  \begin{align} a = x \nonumber \\ b = y \end{align}   However, this is producing a line number in the last line, which would like not to happen.  I have also tried the equation and equation* environments with no luck.  Thanks.  P.S. What' the markup for rendering LaTeX code. Can't seem to be able to find it in the help page?


How are gravitational waves exactly produced?

I was thinking about gravitational waves, and I found out that I may have a doubt about their production.  Assuming the whole calculations find a wave-like solution to be understood, I was wondering about the real reason/way by which gravitational waves are produced: I have always been taught that a wave is produced by a perturbation created by the motion of an object. Gravitational waves arises when huge massive bodies do perturb the space-time itself but here it's the unclear fact: it's the motion of masses itself that perturb the space-time? Because I'm having some hard times in understanding if gravitational waves are/are not produced simply by a moving massive body..  Because in this way, "we too" may produce gravitational waves (whose frequency would be extremely small).


Short story about dead soldiers bodies being reused

I read the story many years ago. The solar system was being invaded by insectoid aliens who greatly outnumbered Earth's population. All available people were involved in the war effort and all women were encouraged to have as many children as possible. The story centers around an officer who must command a war ship crewed by artificial people. The protagonist was sterile, I think. The crew's bodies were made up of the bodies of corpses of war dead.


I recently got D&D 5e, and i was wondering what the hit die is, and is it really important? What do we use it on?  Thanks!


Why is the 2nd derivative written as $\frac{\mathrm d^2y}{\mathrm dx^2}$?

In Leibniz notation, the 2nd derivative is written as $$\dfrac{\mathrm d^2y}{\mathrm dx^2}\ ?$$  Why is the location of the $2$ in different places in the $\mathrm dy/\mathrm dx$ terms?


I'm looking for a way to convert a PDF to a single, continuous JPG.  I've tried:  convert source.pdf output.jpg   But I get all separate pages, eg:  output-1.jpg output-2.jpg output-3.jpg ...   Is there something I'm missing, so that all my pages will be laid out vertically in the resulting JPG, rather than each page to its own jpg?


Intersection of a nonzero prime ideal with a subring

I have a very simple question. Suppose that $A$ is a (commutative) Dedekind domain, $B$ is a subring of $A$ and $P$ is a nonzero prime ideal of $A$. Is it true that the prime ideal $P\cap B$ of $B$ is also nonzero? Thank you.


How to prevent keystroke grabbing/hijacking by websites in Firefox?

Some web sites (an increasing number of them these days, it seems) hijack various key combinations to perform actions within and defined by the web site itself. There's the  in an inappropriately titled question; there's the StackExchange edit box which hijacks Ctrl+G for "Add image" (rather than Firefox's normal "Find next"); there's Facebook hijacking Esc to hide an overlay rather than the usual "stop loading". I'm sure I could go on and on with examples, but this should be enough to illustrate that this question is not about any one specific website.  I use the keyboard extensively and keyboard shortcuts behaving differently based on which web site I am on is a major annoyance to me. If I press a browser-defined keyboard shortcut, I want the action defined by the browser to be taken, not something else. I also don't want certain features which are normally accessible by keyboard to not be accessible by keyboard, or suddenly be remapped to other key combinations.  I realize that this may make some things more cumbersome on some sites, but in this case I prefer consistency.  Is it possible to set up Firefox to prevent or ignore such hijackings by web sites and favor Firefox's own defined behavior?  A solution that works at least for Firefox versions 20, 21 and 22 on both Linux and Windows would be ideal.  Edit  seems to indicate it is at least being looked at. That bug was initially submitted in mid-2007 and is still active as of mid-2013. Interestingly enough,  was considered a duplicate around Firefox 15.


Why is $\{\emptyset\} \not = \emptyset$?

Why is the following true?  $$\{ \emptyset \}  \neq \emptyset $$  Is it just because the Empty set already refers to there being a set present and so it is just the same argument that $\{ \{3\} \} \neq \{ 3\} $?  And is there a proof for the following?   For any set$\, X$,   $$X \cup \emptyset = X \quad \text{and} \quad X \cap \emptyset = \emptyset$$


If $f(0)=0$ then prove that $|f(z)+f(-z)| \leq 2|z|^2$

Let , $\Delta = B(0,1)$.  If $f:\Delta \rightarrow \Delta$ is holomorphic, and $f(0)=0$, prove that $|f(z)+f(-z)| \leq 2|z|^2$.  My attempt so far:  $\displaystyle f(z) = \sum_{n=0}^{+\infty} a_n z^n = \sum_{n=0}^{+\infty} a_{2n} z^{2n} + \sum_{n=0}^{+\infty} a_{2n+1} z^{2n+1}$  $\displaystyle f(-z) = \sum_{n=0}^{+\infty} a_n (-z)^n = \sum_{n=0}^{+\infty} a_{2n} z^{2n} - \sum_{n=0}^{+\infty} a_{2n+1} z^{2n+1}$  Then, $\displaystyle f(z)+f(-z) = 2  \sum_{n=0}^{+\infty} a_{2n} (z^2)^n =: 2 g(z^2)$  If $g(\Delta) \subset \Delta$, as $g(0) = 0$, I can invoke Schwarz Lemma and I win. However, I don't know how to prove this. Could anyone help me? Thanks!


punctuation question, usage of semicolon

If I list non-complete sentences, should I use semicolons? I'm solving an English question and I'm totally stuck. Below is the problem. Which one is right?  Colon introducing the list, with no further punctuation:  Konia needed a project structure incorporating three features: (1) merging of the required areas of expertise to cover all relevant dimensions (2) the facilitation of interaction between the areas for rapid accumulation of specialized, process-specific know-how and (3) fast response time to ensure completion of objectives within six months.   Colon introducing the list, with semi-colons separating each item:  Konia needed a project structure incorporating three features: (1) merging of the required areas of expertise to cover all relevant dimensions; (2) the facilitation of interaction between the areas for rapid accumulation of specialized, process-specific know-how; and (3) fast response time to ensure completion of objectives within six months.   Colon introducing a comma-separated list, with a semi-colon before the  last item:  Konia needed a project structure incorporating three features: (1) merging of the required areas of expertise to cover all relevant dimensions, (2) the facilitation of interaction between the areas for rapid accumulation of specialized, process-specific know-how; and (3) fast response time to ensure completion of objectives within six months.   Semi-colon introducing the list and separating each item:  Konia needed a project structure incorporating three features; (1) merging of the required areas of expertise to cover all relevant dimensions; (2) the facilitation of interaction between the areas for rapid accumulation of specialized, process-specific know-how; and (3) fast response time to ensure completion of objectives within six months.


Situation  I have a directory /home/foo on a server, and I guess that it is not needed any more.  Unfortunately nobody can tell me if this directory is still needed.  Goal  If this directory is still needed, I want to know which process accesses it.  Current Strategy  Watch all file opens below this directory.  Why not inotify  Unfortunately the directory contains a lot of sub-directories, that's why I don't want to use inotify.   1604508 files 287253 sub-directories   Question  How can I watch all file opens below a directory (recursive) tree? I want to know which process access it.  Environment   /home is an ext4 filesystem.  SuSE Linux 12.3. Kernel: 3.7.10   Not duplicate  My question is not a duplicate of  since ....:   I can't use inotify since the directory tree contains too many sub directories. I can't use loggedfs: I can't change the file system type of this directory.   Bounty  There are already two good answers. But I am curious, maybe there are other ways: Bounty of 50 :-)


I have problems with XeLaTeX and pst-node: If I want to draw a line between two nodes, but there is nothing drawn in the pspicture. If I only put the nodes with some stuff withoud a line in, the nodes are drawn, but the line is missing.  The way LaTeX -> DVI -> PS -> PDF works, but not direct to pdf with XeLaTeX. Can anyone help me here?  MWE  \documentclass{scrartcl} \usepackage{pstricks} \usepackage{pst-node} \begin{document}  \fbox{     \begin{pspicture}(-1,-1)(2,2)     \rput(1,0){\rnode{A}{Stuff A}}     \rput(0,1){\rnode{B}{Stuff b}}     \ncline{A}{B} \end{pspicture} }  \begin{pspicture}(-1,-1)(2,2)     \rput(1,0){\rnode{A}{Stuff A}}     \rput(0,1){\rnode{B}{Stuff b}} \end{pspicture}  \end{document}   Edit: Added \listfile:     *File List*   scrartcl.cls    2013/12/19 v3.12 KOMA-Script document class (article)   scrkbase.sty    2013/12/19 v3.12 KOMA-Script package (KOMA-Script-dependent bas   ics and keyval usage)    scrbase.sty    2013/12/19 v3.12 KOMA-Script package (KOMA-Script-independent b   asics and keyval usage)     keyval.sty    2014/05/08 v1.15 key=value parser (DPC)   scrlfile.sty    2013/12/19 v3.12 KOMA-Script package (loading files)   tocbasic.sty    2013/12/19 v3.12 KOMA-Script package (handling toc-files)   scrsize11pt.clo    2013/12/19 v3.12 KOMA-Script font size class option (11pt)   typearea.sty    2013/12/19 v3.12 KOMA-Script package (type area)   pstricks.sty    2013/12/12 v0.60 LaTeX wrapper for `PSTricks' (RN,HV)      ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)   pstricks.tex    2014/08/27 v2.57 `PSTricks' (tvz,hv)   pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)    xkeyval.sty    2014/05/25 v2.7 package option processing (HA)    xkeyval.tex    2014/05/25 v2.7 key=value parser (HA)     pst-fp.tex    2014/08/27 v2.57 `PST-fp' (hv)     xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)      color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive      xetex.def    2014/07/25 v4.03 LaTeX color/graphics driver for XeTeX (RRM/JK)    pst-node.sty    2010/04/22 package wrapper for pst-node.tex   pst-node.tex    2014/08/04 1.35 `pst-node' (tvz,hv)    ***********   I use texlive 2014 with:   This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014/W32TeX) (preloaded format=xelatex)  \write18 enabled.


Is there a way to check if a display is powered on in Linux? I tried xrandr and xset but neither of these two gives me any information about monitor power. Using xrandr I can identify if the vga cable is connected but not if power is connected. I need this because many of our lab systems keeps lying unused just because someone pulls out the power cable or something.


file editing shell but i permission denied

sudo echo "sadfsadf" > /etc/apache2/mods-available/dir.conf  I ran the command with sudo but it returned the error: "permission denied:  Why does this command not work?


The limit of reciprocal is the reciprocal of the limit

While I was reading the book Exploratory examples for real analysis, I came across this:     to show that : $$\lim_{x\rightarrow x_o}\frac{1}{h(x)} = \frac{1}{\lim_{x\rightarrow x_o}{h(x)}} = \frac{1}{M}$$      Discussion:Let $\epsilon \gt 0$.we want to find $\delta \gt 0$ such that       if  $0 \lt |x-x_0| \lt \delta $,then $\Big|\frac{1}{h(x)}-\frac{1}{M}\Big|\lt \epsilon$.      In order to get expression involving $|h(x)-M|$,we first find the common denominator:        $\Big|\frac{1}{h(x)}-\frac{1}{M}\Big|=\Big|\frac{M-h(x)}{M~h(x)}\Big|$      $~=\Big|\frac{h(x)-M}{|M|~|h(x)|}\Big|$.      As we have to deal with variable term $|h(x)|$ in denominator.We can construct bound .Let $\epsilon =\frac{|M|}{2}$ ,since lim$_{x\to x_o}h(x)=M$,there exists $\delta_1\gt 0~~$ s.t.       if $0 \lt |x-x_0| \lt \delta_1 $,then $|h(x)-{M}|\lt \frac{|M|}{2}$.      As you study steps below,identify that step where $h(x)\neq 0$ for all $0 \lt |x-x_0| \lt \delta_1 $ plays a critical role:      $|M|=|M-h(x)+h(x)|$      $~~~~~~\leq |M-h(x)|+|h(x)|$      $~~~~~~= |h(x)-M|+|h(x)|$      $~~~~~~\lt \frac{M}{2}+|h(x)| \implies$      $\frac{|M|}{2} \lt |h(x)| \implies$      $\frac{1}{h(x)}\lt \frac{2}{|M|}$,where $0 \lt |x-x_0| \lt \delta_1 $.      Now that we've bound for $1/h(x)$,we can apply the definition to term $|h(x)-M|$.      Since     lim$_{x\rightarrow x_o}h(x)=M$,we can find $\delta_2 \gt 0$ such that,       $~~~~~~~~~~~~~~~~~~~~~~~~~~~~$if  $0 \lt |x-x_0| \lt \delta_2$, then $|h(x)-M|\lt \frac{|M|^2 \epsilon }{2}$   The thing I can't understand is for what purpose did the author work with such complicated expression involving $\epsilon $ in the end of the discussion?


General formula for $n$-th derivative of $e^{f(x)}?$

Question: Let $g(x) = e^{f(x)}$ where $f$ is infinitely differentiable function.    Does there exist a formula for $n$-th derivative $g^{(n)}(x)$ where $n\geq 0?$   I obtain the following.  $$g'(x) = f'(x) e^{f(x)}$$ $$g''(x) = f''(x) e^{f(x)} + (f'(x))^2 e^{f(x)}$$ $$g'''(x) = f'''(x) e^{f(x)} + 3 f'(x) f''(x) e^{f(x)} + (f'(x))^3 e^{f(x)}.$$ But I could not obtain any pattern from above.


The "Select your next badge" dialog box is not displaying correctly. It looks like this:    Freehand circles, as requested:    It seems to be an issue with box-sizing, because when it's content-box, it looks fine. I think the width and height rules for .popup-badges .all-badge-progress .badge-progress should be increased a little, for example:  .popup-badges .all-badge-progress .badge-progress {   width: 214px;   height: 96px; }   Tested on the latest Chrome and Firefox on Linux Mint.


Should I add a 'Home' Button to the navigation?

I know that it is common behavior to have the logo of a web page be a link to the home page, but should I also have a 'home' link in the navigation bar for it as well?


Determine if Term has Grandparent/Great-Grandparent

I have a custom taxonomy (hierarchical) for which I'm outputting the results. For example's purpose:  --Drinks  ----Tequila  ------Reposado  ------Blanco  ----Beer & Wine  ------Beer  ------Wine  --------Red  --------White  --------Rose  ----Whisky  ------Lowlands  ------Highlands  ------Islay   I have a loop that goes through and outputs the hierarchy--the problem is that I have ONE term  that goes a level deeper than the rest (the different types of wine: red, white, rose). Currently, my loop outputs  headings for each term, so the loop puts Red, White, Rose at the same level as the rest of the terms. What I need it to do is realize when a term is 3-levels deep, and instead output an  so that I can maintain the correct hierarchy.  All that to say: is there a way to determine a term's depth? if $term_depth = 4, then do this. If $term_depth = 4, then do this?  My loop:  $theCatId = get_term_by( 'slug', $currentslug, 'drink_cats' ); $termID = $theCatId->term_id; $taxonomyName = 'drink_cats'; $termchildren = get_term_children( $termID, $taxonomyName ); $termhier = _get_term_hierarchy($taxonomyName);  if (isset($termhier[$termID])) {                     foreach ($termchildren as $child) {         $term = get_term_by( 'id', $child, $taxonomyName );         $termname = $term->name;         // loop here to get $term depth?         // level 3         echo '
'. $termname . '
';         // level 4
greatgrandchild
         $args = array(             'post_type' => 'menu_drinks',             'orderby' => 'menu_order',             'order' => 'ASC',             'posts_per_page' => -1,             'taxonomy'  => 'drink_cats',             'term'      => $term->slug         );         $drink_query = get_posts( $args );         if ($drink_query) {             echo '
';             foreach( $drink_query as $post ) {                    setup_postdata($post);                  $drinkdesc = get_field('drink_description');                 $drinkprice = get_field('drink_price');                 $drinkphoto = get_field('drink_photo');                 //output specific drink, description, price                 ?>

<?php the_title(); if ($drinkprice) { echo " - $" . $drinkprice; } ?>
                     <?php if ($drinkdesc) { ?>
<?php echo $drinkdesc; ?>
                     <?php }?>
                  <?php }         echo '
';         }     } }  else {      $args = array(         'post_type' => 'menu_drinks',         'orderby' => 'menu_order',         'order' => 'ASC',         'posts_per_page' => -1,         'taxonomy'  => 'drink_cats',             'term' => $currentpage     );      $drink_query = get_posts( $args );     echo '
';         foreach( $drink_query as $post ) :                setup_postdata($post);              $drinkdesc = get_field('drink_description');             $drinkprice = get_field('drink_price');             $drinkphoto = get_field('drink_photo');         ?>

<?php the_title(); if ($drinkprice) { echo " - $" . $drinkprice; } ?>
                             <?php if ($drinkdesc) { ?>
<?php echo $drinkdesc; ?>
             <?php } ?>
          <?php endforeach;      echo '
';        }   Thanks for you time--if anyone is interested, I can send a link to the dev server so you can see how the Beer & Wine page outputs now, if this is unclear.


Suppose $|G| = 105$. Show that it is abelian if it has a normal $3$-Sylow subgroup.

Since $105 = 3\cdot5\cdot7$,  implies that there must exist a normal $7$-Sylow subgroup. Does this help prove that $G$ is abelian? Also, can this result be generalized (If $|G| = p\cdot q\cdot r$, and $G$ has a normal $p$-Sylow subgroup, then $G$ is abelian (where $p<q<r$).


Has anyone installed adobereader-enu on Ubuntu 17.10?  I was running AdbeRdr9.5.5-1_i386i386linux_enu.deb before I purged JPEG due to some silly issue - now I cannot install the reader. The PlayOnLinux thing just breaks every time, so I didn't want to go there again.


I have an index.php where the user can reserve a lot. the button is from the other page 2dmap_func.php which then displayed inside the id "detalye" in index.php after ajax call was executed.      index.php
       2dmap_func.php   $sql = "SELECT * FROM lots WHERE link='$_POST[lot]'";   $result = $conn->query($sql); $row = $result->fetch_assoc();   $sql2 = "SELECT * FROM reservation WHERE lot='$_POST[lot]'";   $result1 = $conn->query($sql2);  echo '
LOT DETAILS

Block:
 '.$row['block'].' &bull;&nbsp;
Lot:
 '.$row['lot'].'

Type: '.$row['type'].'

North: '.$row['dimension_north'].'&bull;&nbsp;East: '.$row['dimension_east'].'&bull;&nbsp;West: '.$row['dimension_west'].'&bull;&nbsp;South: '.$row['dimension_south'].'

'.(($result1->num_rows < 1) ?'<button id="reserve">Reserve this Lot</button>':'This lot is currently not available for Reservation.').'

';


How to make Internet Explorer ignore X-UA-Compatible-specified legacy document modes?

When  has been disabled in all ways possible it seems that Internet Explorer 11 on Windows 8.1 honours a website’s X-UA-Compatible value†. This happens outside of compatibility view (the icon is missing from the address bar) and is not caused by compatibility lists or a <!DOCTYPE> directive.  Is there any way for the user (not the web developer) to choose a document mode for a website, overriding the website’s X-UA-Compatible value?   has accepted  that works by defining the default document mode with regard to the <!DOCTYPE> directive. I've tried the registry trick without success. While it may have solved the problem for the other author’s question, my question has to do with X-UA-Compatibile headers.     † Picasa Web Albums defines X-UA-Compatible as IE=EmulateIE7. Opening the F12 developer tools and switching document mode from 7 to anything newer (8, 9, 10, Edge) instantly fixes the website. However changes done through the developer tools do not persist.


Clarification of the notation $f: \mathbb{R} \setminus\{3\} \to\mathbb{R}\setminus\{2\}$

I have a question that uses the following notation: the function $f: \mathbb{R} \setminus\{3\} \to\mathbb{R}\setminus\{2\}$ is defined by $$f(x)=\frac{2x-3}{x-3}.$$  I understand that the left side specifies the domain of the function, and the right side specifies the codomain of the function.  However, the notations "${}\setminus\{3\}$" and "${}\setminus\{3\}$" seem to me confusing.  Any help in clarifying this would be greatly appreciated.


I am trying to work out exactly what I need to do to dispose of a property in C# when using IDisposable. I can see the template, but I am not sure about actually disposing of objects.  I am working with the example given on this site:   I have added 3 properties:  privInt: Private value type. Would I dispose of this as it could be saved on the heap so may require GC? If I would then how, cannot set to null or call dispose? If not then I assume it has to be left to GC - but is it not the point of Dispose to free resources?  NonIDisClassInstance - Do I set to null? Is that enough  Can anyone comment on my implementation below and advise on what is correct/wrong.  IDisClass - Just call dispose  class BaseClass : IDisposable {    // Flag: Has Dispose already been called?    bool disposed = false;     // Public implementation of Dispose pattern callable by consumers.    public void Dispose()    {        Dispose(true);       GC.SuppressFinalize(this);               }     //Private value type    private int privInt;     //Private class that does not implement IDisposable    Private NonIDisClass NonIDisClassInstance;     //Private class that does implement IDisposable    Private IDisClass IDisClassInstance;     // Protected implementation of Dispose pattern.    protected virtual void Dispose(bool disposing)    {       if (disposed)          return;         if (disposing) {          // Free any other managed objects here.          //       }        // Free any unmanaged objects here.            DisposeOfThis = ????;       NonIDisClassInstance = null;       IDisClassInstance.Dispose();       disposed = true;    }     ~BaseClass()    {       Dispose(false);    } }


How does a zener diode and a resistor regulate voltage?

I'm having trouble understanding the simple voltage regulator that can be built using a zener diode (from section 2.04 in the Art of Electronics).  I know that it would be better to use amplifiers, et cetera, but I'm just trying to understand how this circuit works.      I don't really understand how the circuit works, but I am guessing that when a load is applied to the output, it drains current from the source (Vin) and thus causes the voltage to drop?  How does the zener diode help to maintain the voltage and thus make this circuit act as a regulator?


Could anyone please tell me how it is possible to do this using modular arithmetic

Prove that 97^104 - 1 divisible by 105 So you do 105 = 3 * 5 * 7 then prove that 97^104 = 1 mod 3, 97^104 = 1 mod 5, 97^104 = 1 mod 7 and then you can combine the moduli since there aren't any common factors to get 97^104 = 1 mod 3 * 5 * 7 = 1 mod 105 hence proving that it is divisible my question is why is this: 1.) why is it okay to split a number into its factors and then check for divisibility by each one of them and why does this prove that the number is divisible by it product of the factors 2.) why is it okay to combine the moduli in the last step and what happens if you want to combine the moduli and they share common factors?


Prove $\sin^2(A)+\sin^2(B)-\sin^2(C)=2\sin(A)\sin(B) \cos(C)$ if $A+B+C=180$ degrees

I most humbly beseech help for this question.  If $A+B+C=180$ degrees, then prove $$ \sin^2(A)+\sin^2(B)-\sin^2(C)=2\sin(A)\sin(B) \cos(C) $$ I am not sure what trig identity I should use to begin this problem.


Can function declaration and function expression be used interchangeably?

I'm learning about functions in Javascript but getting confused about the use of function declaration and function expression.  Let's say I have the following code:  function callFunction(fn) {   fn(); }  // function expression var sayHello1 = function() {   console.log("Hello World!"); }  // function declaration function sayHello2() {   console.log("Hello World!"); }  callFunction(sayHello1); // Hello World! callFunction(sayHello2); // Hello World!   We can easily see that when passing sayHello1 (function expression) and sayHello2 (function declaration) into callFunction(fn), both generate the same output Hello World!.  Is there any real case that I must use only function declaration/ function expression or I can use them interchangeably all the time?  Thanks so much!


Carrying a handgun in other countries with a US concealed carry permit

I was wondering if you have a concealed carry license (U.S.), would that license apply in other countries? Or would you be breaking the other countries' laws? I also know some countries have very strict gun laws, and do not allow guns in their country. Would they apply to me as a non-citizen?  I'd like to take a  (small, low caliber revolver) for personal protection to some of the more dangerous countries I want to visit.


My question is about citing. I found two sectences that were cited in a review article (first sentence[1], extra information about it[2]. Second sentence [3]). And after that i found the original references and read them. (I didn't need ref [2], i just remove it and didn't talk about it)  At the end, i changed the places of them (flipped...1-3 to 3-1). Also i paraphrase them and added some words on them. Because in review article some parts of them were missing. But i gave reference to the original sources not to review article. So, is it considered to be plagiarism in introduction part?   Note: The primary sources are not previous studies on my local research area. They are like descriptions on that field. One of them is reasons of illness and the other one is statistical numbers of sport. Actually i gave the statistical number a bit different like "more than 150 m" instead of "180 m" and I was specific like "who are older than 20 years old". And also for reasons of illness, i gave different reference for ref1 but ref3 kept constant. To be specific; reasons of illness can be described by a doctor easly.   Here, total number of sentences is two.  For example in following link; we see that APA style says that we need to give original reference.   murdoch university;  apa style blog;   So what about my question's answer? I just obeyed to rule of APA and after i finished my thesis, i learnt that my situation might be considered as plagiarism for 2 citationss? and my M.Sc. degree can be revoked later?


How to use Special Chars in Java/Eclipse

How can I use/display characters like ♥, ♦, ♣, or ♠ in Java/Eclipse?  When I try to use them directly, e.g. in the source code, Eclipse cannot save the file.  What can I do?  Edit: How can I find the unicode escape sequence?


Lightning-Web-Components Select Option prepopulate value

Let's say I have a Lightning-Web-Component with a select list with dynamic options where the value is a user Id and the label is the user's name:  <select class="slds-select" onchange={handleSelectChange} disabled={isDisabled}                           data-value={step.selectedUser} >                                 <option value="">--None--</option>                                 <template for:each={step.approvalTemplateStep.Approval_Step_Users__r} for:item="user">                                     <option key={user.key} value={user.User__c}>                                         {user.User__r.Name}</option>                                 </template>                             </select>    How do I prepopulate the select option with a value? I have the value I want to be prepopulated in the variable called step.selectedUser.  Here's what I see on page load:   Here's what I should see:


Unable to connect to wireless network, Wireless card shows very low signal strength

I have a laptop hp 15-ac110tx. I have a problem with Wireless card in Ubuntu 16.04(not working with 15.04 14.04 also). My laptop shows very weak wireless signals and always unable to connect to a network unit i am just next to the router. But it is working absolutely fine with windows. Right now i am 2 meters away from my router but still unable to connect, though some times it does but it keeps fluctuating.  My wireless card info:  13:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter     Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter     Kernel driver in use: rtl8723be     Kernel modules: rtl8723be   Someone please help me.


How can I make a script that opens terminal windows and executes commands in them?

I have three scripts I need to run when I start up my Ubuntu machine, they start services I use in my development environment.  To do that, I manually open three terminals and type in the commands.  Is there any way to create a script that will open three terminals and execute one command in each of these? (Each command should be in a separate terminal window so I can see their output).


Print an object's attributes like json.dumps prints a dict

EDIT: a solution is in this answer:   When using a dict:  d = dict() d['param1'] = 17 d['param2'] = 3   it's easy to print it with  print json.dumps(d). When using an object / class:  class z:      pass z.param1 = 17 z.param2 = 3   I can't manage to print all the attributes of z, neither with print json.dumps(z), nor with print z. How to do it?    Sidenote but important: why do I want to use a class / object to store parameters, when it would be logical to use a dict? Because z.param1 is much shorter and handy to write than z['param1'], especially with my (french) keyword [, ], 'are quit long to write because ALT+GR+5 (let's say 2 seconds instead of 0.5, but this really matters when you have a long code with many variables)


I want to give some examples of a special type of clause.     1) Too tall to enter the room, he remained standing at the door.      2) Whether successful or unsuccessful, he always puts his best efforts in his work.      3) To nervous to move, she stood on the floor, trembling.      4) Laughed at, they lose heart.      5) He declares the meeting open.   This are the some examples of verbless clause. I want to know more about verbless clause. I searched in net a lot, but unfortunately what I found were not sufficient. Those were not enriched with proper description. I want to know the ways used to express verbless clauses into other way. I want to learn how these clauses are being formed. Please mention some useful links/PDF files that are related to this topic and able to fulfill my demand.


For a Ubuntu Studio beginner , how do you UPDATE an already existing Bitwig Studio-8 track DAW after having recently downloaded the update files (Bitwig Studio 3.2.8 deb) from the Bitwig Studio DAW ?


Do Indian nationals require a transit visa at Vienna travelling from Ukraine to India?

One of my friends is studying in Ukraine, now he wants to travel to India for vacation via Vienna. Does he require a transit visa?


Suppose that, in a deleted neighborhood of 0, f is differentiable with $f'\neq 0$ and that $\lim_{x\to0}f(x)=0$. Prove that if $\lim_{x\to0}{\frac{f(x)}{f'(x)}}$ exists, then it must equal 0.  This question is included in L'Hospital Rule's section, but I don't know how to apply the rule here.  It seems to me that if f is differentiable with $f'\neq 0$, then $\lim_{x\to0}{\frac{f(x)}{f'(x)}}$ is not a form of $\frac{0}{0}$. Then I don't know what to show now. Any hints?


Is it a requirement to understand mathematics when implementing (or breaking) cryptography?

Related:  and   In the context of putting crypto into applications, in a secure manner, could it be argued to achieve this (securely implementing a crypto system) you would require a thorough and rigorous understanding of the mathematics behind the crypto system?   Or, could it be said that this is more a matter of understanding how to code securely, as the cryptographic primitives themselves can already be securely implemented via libraries such as NaCl?  Edit: I realized the obvious, and in fact necessary, extension to this question. Reversing the goal, what level of mathematics would be required to break a crypto-system? On the one hand, heartbleed seemed to be a break in a crytpo-system but was in fact entirely based in (poor) code. On the other, the BREACH and CRIME compression side-channel attacks were very much discovered in the literature first. Am i answering my own question there?


We can calculate the log loss for a classification problem with two classes as follows:    where y is the label of the actual class and p the probability of the class being positive (e.g. P(y=1)).  However, this assumes that y has the classes 0 and 1. What can I do when my class labels are actually -1 and +1? How do you calculate the log loss in that case?


Book with a plant that released its seeds every couple of years that corrode everything they touch

Back when I was young, I recall a interesting sci-fi novel. I recall the book as lacking a title, perhaps due to damage. If I remember right, the book was an antique (cloth cover, stained pages, etc) so odds are it is old. I've been digging for the title of this book but nothing has come back.   Here's a rough outline of the plot:  A bunch of colonists end up on a foreign world after some prospecting. They quickly learn about a problematic aspect of the pine trees that coat the planet. Every couple years, the plants release their seeds. These seeds float down like snow. They are like billions of spiders clinging to strands. Anything they contact is corroded. Due to this, the survivors end up stranded in their shelters until the event passes. Since these seeds look like threads, they are aptly called 'the Thread'. Well, the Thread is the name I remember for them.   I don't believe I ever finished the book. I only remembered it because I was thinking of horror concepts. Any ideas?


How to fix NPE on DragEvent.ACTION_DRAG_STARTED

I'm implementing a dragListener in a fragment as the code below shows:  private class ChoiceDragListener implements View.OnDragListener {     @Override     public boolean onDrag(View v, DragEvent event) {         view = (View) event.getLocalState();         dropTarget = (TextView) v;         dropped = (TextView) view;         switch (event.getAction()) {             case DragEvent.ACTION_DRAG_STARTED:                 dropped.post(new Runnable(){                     @Override                     public void run() {                         dropped.setAlpha(0);                     }                 });                 break; // MORE CODE FOLLOWS   The variables view, dropTarget, and dropped are declared on the class Level:  private View view; private TextView dropTarget, dropped;   The implementation works on my test devices and for the vast majority of users. However, Google Console notifies me about some users having a NullPointException on the line dropped.post(new Runnable(){.   Having had more exception reports in the past in this part of the code (i.e. the dragListener), I implemented the solution found here:   , that is, using a post(runnable) method. This seems to have lessened the number of reports. However, there are still some showing up.  The full log follows:  Samsung Galaxy J3 Pop (j3popltetfnvzw), Android 6.0  java.lang.NullPointerException:    at com.*******.****.******.FragmentOne$ChoiceDragListener.onDrag (FragmentOne.java:1125)   at android.view.View.dispatchDragEvent (View.java:21164)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewGroup.notifyChildOfDrag (ViewGroup.java:1587)   at android.view.ViewGroup.dispatchDragEvent (ViewGroup.java:1429)   at android.view.ViewRootImpl.handleDragEvent (ViewRootImpl.java:6613)   at android.view.ViewRootImpl.access$1400 (ViewRootImpl.java:221)   at android.view.ViewRootImpl$ViewRootHandler.handleMessage (ViewRootImpl.java:4456)   at android.os.Handler.dispatchMessage (Handler.java:102)   at android.os.Looper.loop (Looper.java:148)   at android.app.ActivityThread.main (ActivityThread.java:7422)   at java.lang.reflect.Method.invoke (Native Method)   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)   I feel a bit at loss about this. It's hard for me to troubleshoot the error, as it seems to only affect a relatively small number of users (and I can't personally replicate it).  Any ideas what could be the source of this error, or what else I could try?  If you need more details or code, I'd be happy to provide more context.


Let $k$ be a field of characteristic $\neq 2$. Then $x^6-xy+y^6$ is irreducible in $k[x,y]$.

There is no obvious way to apply Eisenstein's criterion; and if I assume by contradiction that $x^6-xy+y^6=f(x,y)g(x,y)$, f with homogeneous degree $\leq 3$. Then I have that $f(x,y)=\sum_{i,j} a_{ij}x^i y^j$, $g(x,y)=\sum_{i,j} b_{ij}x^i y^j$, so $$f(x,y)g(x,y)=\sum_{i,j,k,l}a_{ij} b_{kl} x^{i+k} y^{j+l}=\sum_{i,j} x^i y^j\left(\sum_{i_0+i_1=i}\sum_{j_0+j_1=j}a_{i_0 j_0} b_{i_1 j_1} \right) =x^6-xy+y^6$$ so that  $$\sum_{i_0+i_1=i}\sum_{j_0+j_1=j}a_{i_0 j_0} b_{i_1 j_1}= \left\{\begin{array}{ll} 1 & \quad i=6,j=0\\ -1 & \quad i=j=1\\ 1 & \quad i=0,j=6\\ 0 & \quad \mathrm{else} \end{array}\right.$$  which doesn't seem like a particularly fruitful approach. Other than painstakingly writing out the 10 possible terms for $f$ and the 28 possible terms for $g$ to get a horrendous 38-variable quadratic system of equations, I was wondering if there was some easier way to do this.


Overriding some DNS entries in BIND for internal networks

I have an internal network with a DNS server running BIND, connected to the internet through a single gateway. My domain "example.com" is managed by an external DNS provider. Some of the entries in that domain, say "host1.example.com" and "host2.example.com", as well as the top-level entry "example.com", point to the public IP address of the gateway.  I would like hosts located on the internal network to resolve "host1.example.com", "host2.example.com" and "example.com" to internal IP addresses instead of that of the gateway. Other hosts like "otherhost.example.com" should still be resolved by the external DNS provider.  I have succeeded in doing that for the host1 and host2 entries, by defining two single-entry zones in BIND for "host1.example.com" and "host2.example.com". However, if I add a zone for "example.com", all queries for that domain are resolved by my local DNS server, and e.g. querying "otherhost.example.com" results in an error.  Is it possible to configure BIND to override only some entries of a domain, and to resolve the rest recursively?


What's difference of apt-get and aptitude?

What is difference of apt-get and aptitude? Does both of them use same repositories?  Which one is better?


As you can see, objects are falling down when I run the game. Ground is unable to stop those obstacles. Obstacles are rapidly traveling through y axis. I tried by freezing y axis. And, unchecked Use Gravity. I tried by checking Is Kinematic also. But, if I freeze y axis. Than, obstacles completely freeze through y. If there was no ground than the objects don't fall. Same thing happen when I unchecked Use Gravity. I want those obstacles to move if Player hit them. How to stop those obstacles from falling down?   Info :


Can the problem of unification of Quantum Mechanics and General Relativity be converted into a pure Mathematical problem?

I mean to say, can you make someone understand the problem who only knows Mathematics, even if a Physics description is absent? I mean, describing the problem with unification using pure Mathematical formulation.  Can we make the problem seem as if it has nothing to do with the real world and describe it only as a problem of mathematics?


How to define methods in templated abstract base class that will be used by the derived class?

I am trying to create templated abstract base class. This class will have couple of pure virtual functions. It will also have two methods that are defined in it.   Then I derive from this templated abstract base class  (I derive by specializing the template) and call those two methods that were defined in the templated abstract base class from the overloaded functions.   When I do this and try to compile I get undefined reference to. I am using cmake for building. Compilation works when I remove those two methods that were defined in base class.


Not using foreign key constraints in real practice. Is it OK?

Not using FK constraints is my company's untold rule. FK constraints are used only when designing ERD and not used when creating tables.  According to my senior, in real practice, those are very time consuming obstacles when we are dealing with urgent issues. He says when we need to use INSERT/UPDATE/DELETE statements immediately, the constraints block those statements to be executed and writing statements while keeping the constraints is time consuming too. I even heard many other companies are doing this.  While I kinda understand the struggles, I'm not sure if this is a good way since it's quite opposite to my understanding to DB. This company is my first job too, so I don't know how other companies dealing with this.  In practical way, what is your opinion about this? Can this be justified? Are there better ways? How other companies are doing about this matters?  UPDATE: It seems it is a quite common approach for South Korean companies. I asked a few other seniors who worked for other companies, and most of them are saying they all doing like this. And even one of them worked for a financial company! Interesting...


How to recover data from a corrupted pen drive

My pen drive is unreadable, when I plug it in the computer it does not appear on the computer even dist 1 is also not shown. How can the data can be recovered.


I've got a notebook with a AMD Athlon(tm) 64 X2 Dual-cor processor TK-53 on 1,70 GHz whith 2 gig RAM  Should i pick the 32 or the 64-bit version?  Greetz


A man wakes up from stasis alone on a spaceship then creates the greatest story in history

I read this story in the early 2000s, but it was a Chinese translation so the English version could be older.  The beginning is a bit like the Passengers movie: on a spaceship, a man woke up from stasis too early and found that he could not go back to sleep. So he has to spend his whole life on the spaceship, alone.  For some reason (technical or ethical), instead of waking other people up, he created a fantasy adventure story featuring a brave prince as a pastime. He did stories, and drawings all over the inside of the ship. Then he died, not knowing how people are going to respond to his work.


Removing features whose labels are not displayed?

Using ArcMap 10.0, I am working on a map that shows many villages. Each village has a name attribute that I want to use for a label, but in some areas there are so many villages that not all can be labeled. I am using the Maplex label engine and have not checked the "Never Remove (allow overlap)" box.  I am quite happy that not all village names are displayed as this would be way too much. And it is ok that Maplex chooses which labels to display, as I have no way to know which village is more important than another one. This also means that I can't base the labeling on a field such as population or something else, even though that would be less random.  However, I would also like the village points that are not labeled to similarly not be displayed. I think it unlikely that someone would want to see the point without knowing the name of the village. If all points are shown, it is also difficult to tell which point a name label goes with in crowded areas. So instead of choosing just labels not to be shown, I also want the computer to chose features not to be shown.  To give you a better idea on what I mean:    Is there a way to make these features/points not draw if their label is not shown?


Can 192.168.20.4/24 describe a network or only a host?

As I understand it IP 192.168.20.4/24 can only describe a host (24) on net 192.168.20.[1-254].  Now when describing a net; can 192.168.20.4/24 be a valid network ID, or should such a network ID always end with 0, as in 192.168.20.0/24, where 0 indicates that it is the network ID itself for net 192.168.20.[1-254]. So adding network:  sudo ip route add 192.168.20.4/24 dev eth0  is not allowed (which it also seems not to be).  I guess what I really want to know is, if something else than 0 is allowed when describing a network? When I look at routing table:  default via 172.18.0.1 dev eth0  169.254.0.0/16 dev eth0  scope link  metric 1000  172.18.0.0/24 dev eth0  proto kernel  scope link  src 172.18.0.150  192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.150   It kinda seems it could say (.7):  192.168.10.7/24 dev eth0  proto kernel  scope link  src 192.168.10.150   But that can never be right, correct? Instead it would have to say then (/32):  192.168.10.7/32 dev eth0  proto kernel  scope link  src 192.168.10.150   To describe the net consisting of only 1 single host(?). Have i understood things correctly?


iCloud use as storage and not "reflective" like dropbox

I hope this hasn't been asked exactly like this before. I tried to do a search.   I am referring to my MacBook (but I think the same is at least partially true for other devices as well).  I checked "optimise storage" so that it will leave some space on my Mac.   I need more storage on my Mac because some apps like Xcode cannot be updated with just 25GB left on the SSD.   So - please let me know if this is true: ONLY desktop and "document" and their subdirectories are reflected back to my MacBook. Is this true. If so this implies that if I make another folder on iCloud like "Documents2" and push a lot of stuff that I don't daily need or want into that folder - this will NOT be copied over to my Mac, even if there is enough space?   Is this correct?  Thanks, Jeff


I have both Apache Solr Search and Search API modules installed on drupal 7.  I have installed SolrPhpClient version r22 (that was recommended in a site vs. r60) in sites/all/libraries/libraries folder.   When I place XML files from Apache Solr Search on Solr Server, Search API would not index. When I place XML files from Search API on the server, Search API seems to work fine but I get Your site was unable to contact Apache Solr server error message on Status Report. In this case I can see mysite:8983/solr/admin but when I click on PING button it shows 500 error message.  Is this supposed to be this way? Can I trust the Search API working fine (is the error message pertained to Apache Solr Search not having its XMLs on server and can be ignored)? Any suggestions to fix this?  Any help would be greatly aprectiated and let me know if you need more info.  Thanks alot.


How about recently viewed question in Stack Overflow?

I what to ask you about recently viewed question in one panel at right side. Basically sometimes, after viewing a question, you may realize that you needs to review it again. So, in that case there would be some kind of panel there.  How about this?


If a group of deceased persons stand out as a good example in the past, and that their example is definitely worth following now, do I say that they 'were' good examples to us; or do I say that they 'are' good examples to us ?


I know that we can use element.dispatchEvent(custom_event) to dispatch a custom event that we defined.  My question is how to dispatch built-in events, such as submit, click, change, ...  I write form.on('submit', function(){}) to hanlde form submitting event. Then, I want to dispatch submit form by clicking on an X element.  X.on('click', function(){     // dispatch form submit here });   P/s: I'm using PrototyeJS


How does one post XML in Stack Overflow?  I've tried using <pre> and backticks to no avail. I suppose that I could go through and try indent every line by four spaces but that would get really tedious really fast.  Is there any way to easily post XML in a question?  Edit:  URL of question:   I tried putting the XML inside <code> tags and that sliced and diced the XML in a very odd fashion.


If $\phi:G\to H$  is an isomorphism, prove that $o(x)=o(\phi(x))$ for all $x\in G$  My current thought: $\phi(g^n)=\phi(g)^n$. Thus,$\phi(g^n)=\phi(e)=\phi(g)^n$. However, I don't know how to proceed from here. Also, does my previous steps work when the order of $g$ is infinite?


Does the law of an Itô process $X_t$ at each time has a density?

Let $X$ be a the strong solution of the SDE on $\mathbb{R}$ $$dX_t = b(X_t)dt + \sigma(X_t)dW_t$$ $$X_0 = x$$ where $b,\sigma \colon \mathbb{R} \to \mathbb{R}$ are Lipschitz functions.  Dose the law of the random variable $X_t$ has a density w/r to the Lebesgue measure?     I tried to find the law of $X_t$ by applying Itô rule to $f(X_t)$ when $f \in C^2$ to try to find a formula for $\mathbb{E}(f(X_t))$ but I didn't get to anything nice.  Every help will be appreciated.


Theres a dependency error when i try to install mailspring it was like this: usr@user-HP-EliteBook-8470p:~$ sudo dpkg -i ~/Downloads/mailspring-1.8.0-amd64.deb Selecting previously unselected package mailspring. (Reading database ... 221480 files and directories currently installed.) Preparing to unpack .../mailspring-1.8.0-amd64.deb ... Unpacking mailspring (1.8.0) ... dpkg: dependency problems prevent configuration of mailspring:  mailspring depends on libsecret-1-dev; however:   Package libsecret-1-dev is not installed.  mailspring depends on gconf2; however:   Package gconf2 is not installed.  dpkg: error processing package mailspring (--install):  dependency problems - leaving unconfigured Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ... Processing triggers for mime-support (3.64ubuntu1) ... Errors were encountered while processing:  mailspring


Comparison of (top.location == self.location)

I want to know how top.location and self.location is compared. I mean on what basis are they compared?  Are they compared using their memory address or their references or something else? Basically, i want to know when (top.location == self.location) will give true and when the comparison will give false?   I know all those stuff that says they are compared using their respective url and all that. But the thing is they are objects. And hence, it would be interesting to know how objects are compared?


If I have an expression for the 'rated generator power' of a wind turbine, call it $P(t)$ how is the energy, that the wind turbine generator generate, related to the power $P(t)$?  So: $$E(t)=\dots$$


The expected value of $1/(1+X)$ where $X$ has geometric distribution

Let $X$ be a random variable with a geometric distribution with parameter $p$.       Calculate $\Bbb E[1/(1+X)]$   I've looked at answers online but still do not understand how to solve this.   Specifically, I do not understand how to to get from $$\frac{p}{1-p} \sum_{x=0}^\infty (1/(1+x))((1-p)^x+1)$$  to  $-p\ln(p)  /(1-p)$.


How to avoid getting spam through a website?

We seem to be getting A LOT of email spam, we have a combination of the email addresses as mailto links and contact forms that send to the same address.  What measures can we put in place that will eliminate the majority of spam?  We need to keep a visible email address and contact form so there's no way to just remove those.


How can I see my ping on the Windows 7 taskbar?

For the purpose of playing online games, I'd like to have some sort of display on the taskbar showing the ping times to a particular server. Is there a way to set this up? (I'm hoping to avoid writing a whole GUI program just for this. I don't even know that I can.)  Even just being able to show the command line's output on the taskbar would be fine.  Something sort of like this would be perfect:    I did Google around for a solution. I found  which is sort of similar, but the only answer there has some issues - the suggested app only distinguishes between "successful ping" and "unsuccessful ping", whereas I want to know more precisely how much ping I have.  I found zero results for displaying command line output on the taskbar.


How does Bernoulli's principle produce wing lift?

In the Ray Kurzweil's book How to create a mind is said that:      The mathematics of how Bernoulli's principle produces wing lift is still not yet fully settled among scientist [...]    What does this statement mean? I have always known that the Bernoulli equations were well known. There is something that I am missing?


In the following sentence, should I use WHOMEVER or WHOEVER?     I don’t want whomever it is to see that I’m a woman alone.   Or should it be:     I don’t want whoever it is to see that I’m a woman alone.   The first option makes more sense grammatically, though the second sounds better to me.  Any thoughts would be greatly appreciated!


Why are the elements of the periodic table stable?

I apologize in advance for the stupid question, but I was wondering about neutron decay and elements.  Taking for example one of the most simple elements, Helium. Helium is made by 2 neutrons and 2 protons. The mean life of a neutron is $885$ seconds, so how is it possible for Helium, and other elements, to exist and being stable?  Related question  Why does the neutron decay, whilst the proton does not (or better: it seems it has a mean life ways greater than the life of the Universe)? Basically they are made by quarks (and gluons), with the difference $P = (u, u, d)$ and $N = (u, d, d)$.  Thank you very much!


After I installed Ubuntu, I  want to remove ubuntu as it has allocated 20gb space of my HDD While my PC boots i see a choice. i want to remove that choice and use debian only


What happens to a light ray after it enters a perfect sphere?

I am assuming a sphere which can reflect, refract and diffuse a light ray. So when a light ray hits the surface of the sphere from outside, a part of it gets reflected, a part of it gets diffused and a part of it enters the sphere being refracted. Now the ray which entered the sphere will again hit another portion of the surface of the sphere. Will it be reflected again? Or it will be refracted only?


Connect a voltage regulator to another regulator

I'm trying to create a circuit that uses 3.3 and 5v.  I'm thinking about use a 9v battery, a 7805 to get 5v and a LM3940 connected to the 7805 to get 3.3v. But I can use the LD1117 connected direct to battery to get 3.3v. Some sites says that if I do this (9v to 3.3v) the LD1117 can get too hot.  Some sensors that I'm using I can connect directly to the battery.  What is best in terms of consumption?