What is the difference between "hot" and "active" questions?

The two tabs have following tooltips   Active : "Questions that have recent activity" Hot : Questions with recent interest and activity   They seem to display different questions with some common ground.  What is the exact difference between hot and active ?


Deleting multiple records from SQL database using IN statement with VB.net

I am trying to delete multiple entries from an SQLite database.  This is the code I am using  Public Function RemoveUsers(_users As List(Of User)) As Integer             Using conn As New SQLiteConnection(connectionString)                 Dim removeUserQuery As String = "DELETE FROM Users WHERE userId IN (@userIds)"                 Dim cmd As New SQLiteCommand(removeUserQuery, conn)                 Dim listOfIds As New List(Of Integer)                  For Each user As User In _users                     listOfIds.Add(user.UserID)                 Next                  cmd.Parameters.AddWithValue("@userIds", String.Join(",", listOfIds))                 Console.WriteLine(cmd.CommandText)                 conn.Open()                 Dim i As Integer = cmd.ExecuteNonQuery()                 conn.Close()                 Return i             End Using         End Function   The query will end up something like  DELETE FROM Users WHERE userId IN (2, 4, 5, 7, 9)   But I am always getting 0 rows affected. I tried it in DB Browser for SQLite and it worked. I assume its something to do with cmd.Parameters.AddWithValue() but I am not sure. Thanks in advance.


I have two layers: one is a polygon and another one is a line (Road). How can I find in how much road in falls inside each polygon?


How can I lower the throttling temperature

I have an Acer V17 Nitro with Windows 8. The temperatures get way too hot on this laptop, even when using very non-demanding applications.   How do I lower the throttling temperature so that it begins throttling CPU down at say 80 deg C instead of 96 deg C?   I don't care if performance is impacted, I don't want to burn a hole in the laptop.   Thanks,


“Ok-Key” and “Cancel-Key”, Which One Should Be Set Up on the Left?

“Ok-key” and “cancel-key”, ? It’s an eternal war of button sort between UI designers preferring “ok/cancel” type and the adherents of “cancel/ok” type, both sticking to their own viewpoints and not reaching a consensus.So, what's your viewpoint?


Which access rights can't the superuser violate?

Fr. Br. George told in  (it's in Russian) that there are some access rights that superuser can not violate. That is there are some access right which can forbid superuser doing something.  I was not able to find this information on the Internet and I'm curious what they are. This is probably something related to the system's core execution, isn't it? Maybe he can not stop some system processes? Or maybe he can not run a process in real mode?  This question is no related to SELinux (George was talking about it right before the question).


Live site-   This page contains Portugage language, a lot of Character disappear on that page. There are a lot of symbols when it goes to portuguese translation (eg: Ã³s fazemos os serviÃ§os)..  Real word- "Sinalização" but on my website is show "SinalizaÃ§Ã£o".  Any idea how to fix that issue.


Weyl anomaly in 2d CFT (string theory lectures by D.Tong)

In his lectures on String Theory (), Tong gives a proof of the Weyl anomaly, using equation $(4.36)$. It seems wrong to me.  Here he uses the OPE between the stress-energy tensors $T_{zz}T_{ww}$  obtained when trace vanishes, i.e. $T_{z \bar{z}} = 0$: this implies that they are holomorphic functions $T_{zz} = T_{zz}(z)$. But in this proof he starts from the fact that $T_{z \bar{z}} \neq 0$ (we want to proof this thing after all) and so $T_{zz}$ is not a holomorphic function anymore! In the OPE $(4.36)$ I should have also terms with $(\bar{z}- \bar{w})$.  I can't also understand why he uses in the rest of the proof only the singular term $(z-w)^{-4}$, neglecting the other ones $(z-w)^{-2}$, $(z-w)^{-1}$.  (The same proof is given in these lectures  on conformal field theory, equation $(6.9)$).  I'll be really thankful if someone could explain me this proof :)


I want to open files inside the terminal, like with vim or whatever, but I have no idea how. For example, instead of opening a .js file with atom, now I open it inside the terminal with vim. Any ideas?  I think you could use the Appify script, but I don't know how to make it work with opening files. This would mean that you open the file by double clicking on it in finder, and opening it into terminal.


How are multiple volunteers handled during the Reaping?

While skimming through the first few chapters of The Hunger Games to answer another question, I noticed this sentence when Katniss is describing the rules surrounding volunteers after Prim's name is called (at the beginning of the second chapter):     In some districts, in which winning the reaping is such a great honor, people are eager to risk their lives, the volunteering is complicated.   The only reason I can see for volunteering being complicated is if there's more than one volunteer for a particular year, and I don't recall this ever being addressed in the books.  Is there anything in the books that I've missed or any reliable, external sources (interviews or other supplementary material by the author) that explain exactly how this situation is resolved?


What happens to the readied spell if you ignore all triggers?

PHB p.193:     When you ready a spell, you cast it as normal but hold its energy, which you release with your reaction when the trigger occurs.   the same page:     When the trigger occurs, you can either take your reaction right after the trigger finishes or ignore the trigger.   The spell is cast and is waiting to be released. If you ignore all possible triggers, what happens with the spell? Does it dissipate without a trace?   handles the scenario of ignoring just one (or some number) of triggers, but I'm wondering what happens if you ignore all triggers.


How to make Windows 10 stop asking me to open OneDrive account?

I've never had a OneDrive account, and I don't plan to. I haven't associated it with Windows 10 Home, which I installed for free on my laptop promptly when it came out. But in the last week, I've been seeing a window pop up in the center of my screen at least once a day, asking me if I want to create a OneDrive account. There's nothing to click that says "I'm not interested in OneDrive". I googled around and found some things about removing OneDrive, but they all seem to start from the situation of already having a OneDrive account.  I'm aware that on Windows 10 Professional you can use the Group Policy Editor (gpedit.msc) to turn OneDrive off, but that doesn't help with Windows 10 Home. I've also seen other solutions, but they involve clicking tabs and buttons that I don't see when I open the OneDrive Settings: .  Is there a way to control in Windows 10 Home what I can see in the Settings for OneDrive? Or some other way to turn it off?


How to replace one char with another in all filenames of the current directories?

How do you rename all files/subdirs in the current folder?  Lets say, I have many files and subdirs that are with spaces and I want to replace all the spaces with an underscore.  File 1 File 2 File 3 Dir 1 Dir 3   should be renamed to  File_1 File_2 File_3 Dir_1 Dir_3


How do I open a program via the command prompt in Windows 8?

Suppose I have a program named any_program.exe and my operating system drive is C:. The location of the program is D:\Any_Folder\any_program.exe  How do I start/execute that program via command prompt in Windows 8?  I have tried the command line START any_program.exe, but it shows me an error that      Windows cannot find 'any_program.exe'. Make sure you typed the name correctly, and then try again.   By the way, it worked perfectly in Windows 7. And, if I type START notepad.exe or START firefox.exe (Firefox is not installed in C: drive), it works in Windows 8.


I have image with only red and white color. In image processing, we can reduce image from 24 bit to 8 bit or something like that.  Is it possible to reduce image size? In my iPad application, I can save image as png or jpeg. But I want to reduce the size more. How should I write code?


How to add additional options to preexisting panels in your addon

What is the method to add extra options to preexisting panels like the ones I have circled in the screenshot in your addon?


How does reflection work at a quantum level?

Thinking of light in corpuscular form, how does the bouncing of a photon off a reflective surface work? Is it the same photon bouncing off, or is it absorbed and re-emitted?  If it's bouncing, does it do so without deceleration/reacceleration?  If it's being absorbed and re-emitted, what physical process guarantees that it's re-emitted at the exact same angle as it inceded on the reflective surface?


Why does $\mathbb{E}[X] = \sum^\infty_{r=0}\mathbb{P}(X > r)$?   I understand if it was $\mathbb{E}[X] = \sum^\infty_{r=0}r\cdot\mathbb{P}(X = r)$, but for this I don't understand why.


If I am correct simple extension fields are extensions generated by one element. I have learned that this means that elements of a simple extension can be written as powers of that element as long as the power is greater than the degree of that element. Also this means that all elements of the simple ext. Can be written in terms of decending powers of the generating element where the highest power is the degree of the generator minus 1. This concept seems to work for generating elements whose irreductable in a certain field is a descending degree polynomial. Looking at the construction of the complex numbers by starting with $\Bbb R$ (and doing $\Bbb R [x]/\langle x^2+1\rangle$), it is said that all elements are of the form $a+b\cdot \text{generator}$. But when the generator is evaluated for the irreductable, $x^2+1$, we see... $(\text{generator})^2=-1$. Thus there is no first power of gen. Can someone explain where all elements of the extension just explained are of the form $a+b\cdot \text{generator}$ comes from or explain this situation for anytime where the irreduc ( gen, F)  is not a descending degree polynomial. I hope my question is clear.  Thank you


looking for file catalog application (GUI)

I'm looking for a Linux application to catalog the files on my many external HDs and search them. I'm using Ubuntu, so i prefer a normal deb in the repositories but i can't find one. After some research by Google, I find no proper application - does any GUI exist ? See this old forum entry : "printable file catalog or index for (external) USB and flash drives" (  ) -- here are some key texts of this page :  Question: I'm very surprised that there is no [relatively] mature application to address these issues ?! Like diskettes of years past, we now accumulate external drives that are USB, Firewire, e-SATA, or flash. Unlike diskettes, these new drives hold hundreds or thousands of files. It is so easy (and inexpensive) to grab a drive a copy files that it is trivial to accumulate duplicates or more instances of the same files. All of this makes a catalog very valuable AND makes duplicate identification all the more so. Answer: It is possible that this (making a catalogue with find /media/Disk1 * > ~/Indices/Disk1_index ) and then searching for a filename in those catalogues with grep filename ~/Indices/* is so trivial from the command line, that no one has bothered to develop anything more complicated than gwhere (which seems to work, though I only used it the once). Duplicates are another matter altogether: Same filenames does not necessarily mean that the contents of those files are the same. Conversely, different filenames does not necessarily mean that the contents of the files are different. Remark: There are several *nix utilities for dealing with this sort of problem, fdupes comes to mind, but there are others. No application could compete with the method "find for indexing, grep for search"  I tried "gwhere" but it's limited and slow and its last version is of 2007. Most file catalog utilities i find are for Windows .. Must Linux users really learn to use command line functions like "find" and "grep" to do all kinds of queries ? Eg. in a search, we often want to exclude some file types or include only images, search by date / period, etc. Someone must have created some nifty GUI which sets all proper find & grep parameters as our options ? Does anyne know of a good modern Linux GUI application to catalog and search files ? maybe using a DB, not some big CSV / XML file ?


mv multiple files same dir without specifying same path or each

If we have a dir/file setup like the following  var   |-->usr   |    |-FileA   |    |-FileB   |    |-FileC   |    |-FileD   How can I move FileA and FileD without specifying the path twice like in the following cmd?  mv /var/usr/FileA /var/usr/FileB /home


Not every boolean function is constructed from $\wedge$ (and) and $\vee$ (or)

Prove that not every boolean function is equal to a boolean function constructed by only using $\wedge$ and $\vee$.  Here is my solution, can I ask for a feed back on my solution please?   $p∧q$                          $0 0 0 1 $   $p∨q$  $0 1 1 1$  Not every boolean function is the same when using $ ∨ $ and $∧.$  Edited part!  $p\vee q$                  $0111$  $(p\vee q)\wedge p = p$  $0 = 0$  $0 = 0$  $1 = 1$  $1 = 1$  $(p\vee q)\vee p = p\vee q$  $0 = 0$  $1 = 1$  $1 = 1$  $1 = 1$  here is my edited answer , can I ask for more feed back , thanks


If $U$ has uniform distribution over the interval $(0, 1)$ what is the density function of $X = -Kln(U)$ for some constant $K > 0$?

I am aware of he uniform distribution density function however I am not entirely sure how I would find out the distribution of X.  Thanks very much, any help or hints in the right direction would be gladly appreciated.


Opportunity attack when moving in and out of range of a creature in the same move?

Let's say I'm 10ft away from an enemy. In my turn, I choose to move 5ft to get close enough to attack, I do attack, then I use my remaining movement to move out of range of the enemy. Does this still allow them an opportunity attack?


I think a graphical approach is the best way, but can algebra be used? With IVT, from x:[0,1] a solution must exist.


How to get all combinations of several List

Differs from sugested solution above in that a list item can only appear once for each row.  This is for a booking system for my spa. Different employees can perform different treatments.  I have a List<List<int>>. These are therapists that can perform the treatment that is booked.  Each list (booking) contain a number of integers like this (these are therapists that can perform the booking):  {1, 3, 6},  //Booking 1 {1, 2, 6},  //Booking 2 {1},        //Booking 3 {2,3}       //Booking 4   I'd like to see all possible combinations where the number can only appear in one Place. For the above list the two possible ombinations would be:  6,2,1,3 or 3,6,1,2  That is for the first combination:   Booking 1: Therapist 6 Booking 2: Therapist 2 Booking 3: Therapist 1 Booking 4: Therapist 3   Hope this makes the question a Little bit clearer.


Why people think dark matter as a massive particle? Couldn't it be gravitational waves?

Dark matter is said to be present in the galaxies which helped galaxies to exist in the first place forming the glue to attach all the matter in the galaxies.  Given that dark matter never been seen or detected and only effect of which could be felt why do we believe it would be a particle? We have universe (almost) equally distributed in all directions with dark matter forming the skeleton for all the matter that could be seen. Can the dark matter be a illusion of gravitational waves interfering with each other forming this uniform interference pattern of galaxies/matter that is seen by us?  That would also explain the repulsive dark energy which would be the troughs in the gravitational waves indicating desructive interference in the gravitational waves.  Can we hope to simulating the above to come to the possible conclusion of source(two or many) of these gravitational waves that could give rise to skeleton of dark matter and dark energy which may be present in some higher dimentions?


Unital subrings of fields are all domains

Prove that any subring of a field which contains the identity is an integral domain.  Do i need to show that $ab = 0$ where $a = 0$ or $b = 0$. Or in general What do you need to show in order something is an integral domain


sfc /scannow Unable to Repair Corrupt Component Store

Since updating my laptop with the Windows 10 November update, a component of my Component Store seems to have gone corrupt that neither using the media utility to reinstall the update nor running sfc /scannow  is able to resolve. Whenever I execute the sfc /scannow command, I get the following error:  Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios.   I do not know how to read the log file, and it is extremely large (~100,000 lines since I've run it so much), so I do not want to put the entire thing on Pastebin. If someone knows what to look for or what I should pull from the log to post, I can do so.


Merge two strings, replace duplicate contents

Have tried searching for an answer but not finding any matching use-case.   The goal:    Merge two strings, replacing the duplicate phrases/content.   Example..   String first =  "The quick brown fox jumped."; String second = "The quick brown fox jumped, and was happy."; // magic goes here String intended_outcome = "The quick brown fox jumped, and was happy";   So in this case it's simple, could just do a String.IndexOf nocase ordinal.   But then consider:   String first =  "Hello there. The quick brown fox jumped."; String second = "The quick brown fox jumped, and was happy.";  // remove all punctuation, words by spaces only(to simplify) first = Regex.Replace(first,@"[^\w\s]","");  second = Regex.Replace(second,@"[^\w\s]",""); // magic goes here  String intended_outcome = "Hello there, The quick brown fox jumped, and was happy";    Would you recommend that I convert to an array(first+second combined, split by space), and then process recursively to find duplication of phrases by stepping through each word one by one?  Or loop each word, use an indexOf check to find a common word between the two (eg. second.indexOf(av_split_first[i])!=-1), as a start-index, and process subsequent words until all are found, replace, and recurse w/ offset?   Has anyone tackled this before? I'm targeting C#, but would be interested in any solution for any language, regex or otherwise


I keep company with night owls. Also, I have an iPhone 4s. Oftentimes, my friends include me in group ichats that start at a reasonable hour, but continue into the middle of the night. Every time I get a group ichat, or any text, my phone vibrates. I want to keep it this way -- except for late night group chats.  Is there any way to mute or leave group ichats?


Currently, I'm working with Python 3.4. How could I avoid .pyc or .pyo files (__pycache__) without editing the commandline?  The following command works perfectly Using terminal: python3 -B something.py  But these are not working in Python 3 (or are they??):  import os  os.environ['PYTHONDONTWRITEBYTECODE'] = "whatever"   according to the , if it is set to a non-empty string, it should work. But I couldn't.  What am I missing?


Change all file type associations from one program to another

Is it possible to easily change all file type associations that are currently associated with one program to another program in one batch?  In my case, I am trying to change all files types currently associated with Notepad to instead use Notepad++ in Windows 7.  It's a pain to go through Default Programs > Set Associations because after each type the entire list re-populates, taking several seconds.  Is there a way I can do a search and replace in the registry, or something even easier?


Is linear algebra developed any further?

I heard an opinion that linear algebra has ceased to develop 100 years ago because there's nothing else to "discover" in this branch of mathematics, and no scientific activity other than teaching occurs in this field.  Is this true?


Unnumbered sections appearing in TOC in REVTeX 4.1

I'm having a problem with REVTeX adding unnumbered sections to my TOC. Here's a small example:  \documentclass[]{revtex4-1} \usepackage{lipsum}  \begin{document}  \tableofcontents \newpage  \section{Numbered section} \lipsum \section*{Unnumbered section} \lipsum  \end{document}   Outputs the following:   Contents page:  Body:   Is this a bug? Is there a problem with my installation?   The unnumbered sections are not there if I use a different document class (e.g. article).


Filter table rows by date range using date()

I tried to filter the ranges with moment.js but I acountred some problem to import that library (conflict with others) so, now I want to use instead date() constructor, but it doesn't work correctly.  Have you an idea why it doesn't work correctlty ?, Here is my try :  I used date() and getTime()  Some example that does'nt work when you hit :   from : 01 01 2019 to : 31 12 2019    $(function(){    //NAME   $("#name").on("keyup", function() {     var value = $(this).val().toLowerCase();     $("#my-table").find('tr').filter(function() {       $(this).toggle($(this).find('td').text().toLowerCase().indexOf(value) > -1)     });   });      //FROM   $("#from").bind("keyup change", function() {     var value = new Date($(this).val().toLowerCase()).getTime();     //console.log(value);     $("#my-table").find('tr').filter(function() {       $(this).toggle(new Date($(this).find('td:first-child').text()).getTime() >= (value))       //console.log(new Date($(this).find('td:first-child').text()).getTime());     });          //clean from     var val = $(this).val();     if(val.length === 0) {       $("#my-table").find('tr').show();     }   });      //TO   $("#to").bind("keyup change", function() {     var value = new Date($(this).val().toLowerCase()).getTime();     //console.log(value);     $("#my-table").find('tr').filter(function() {       $(this).toggle(new Date($(this).find('td:first-child').text().toLowerCase()).getTime() <= (value))     });          //clean to     var val = $(this).val();     if(val.length === 0) {       $("#my-table").find('tr').show();     }   });       }); .container input {     width:25%;     display:inline-block;     margin-bottom:20px; }  .list-group {   border:1px solid #1896f3;   padding:20px; }  .list-group td, th {   border:1px solid #1896f3;   padding:7px 100px;   text-align:center; }  th {     text-align: center !important;     font-size:14px;     text-transform:uppercase; }    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
   Date from : <input class="form-control" id="from" type="date">   to : <input class="form-control" id="to" type="date">   <input class="form-control" id="name" type="text" placeholder="Enter your name...">

               Date	               Name

             2019-11-21	             kal

             2015-01-01	             blake

             2015-01-30	             secure

             2016-03-10	             home

             2019-05-19	             car

             2014-09-10	             yop

             2017-12-30	             wick


Is any norm induced by some inner product?

It is a well-know fact that an inner product induces some norm.   How about the converse? I think it's false but I can't think of an example.   I'm thinking some properties like the parallelogram law will not hold with any norm...


I've been given a form to fill out as a PDF.  It is not a fillable PDF, it's just a file that I'm expected to print out, fill in by hand, and scan back in.  Is there something available in the software center that will let me type text on top of a PDF?


Can the past simple or the present perfect fit in this example with yet

Two days ago I tried to order a book but could not pay because your system  did not accept/ has not accepted paypal payments yet. if I choose to add  yet with past simple it means that at the time of writing  they still don't accept paypal payment but it has been planned . Past simple because it is a precise moment in the past. Would it be possible top use present perfect because the situation has not changed yet even if it also been planned .


Many-worlds: how often is the split how many are the universes? (And how do you model this mathematically.)

When I read descriptions of the many-worlds interpretation of quantum mechanics, they say things like "every possible outcome of every event defines or exists in its own history or world", but is this really accurate? This seems to imply that the universe only split at particular moments when "events" happen. This also seems to imply that the universe only splits into a finite number of "every possible outcome".   I imagine things differently. Rather than splitting into a finite number of universes at discrete times, I imagine that at every moment the universe splits into an uncountably infinite number of universes, perhaps as described by the Schrödinger equation.  Which interpretation is right? (Or otherwise, what is the right interpretation?) If I'm right, how does one describe such a vast space mathematically? Is this a Hilbert space? If so, is it a particular subset of Hilbert space?


I've been baking a fluid simulation for the past four hours, and I decided to set up the materials in my scene while I was waiting.  While doing the materials, blender crashed.  Is there anyway that I can resume the baking right where it left off?  Thanks!  (This is seperate from ).


Several questions about how arc is computed:   The start and end angles seem to be defined relative to the y axis, yet in the Tikz manual they are defined relative to the x axis. Is this right? Is the end angle defined between the y (or x) axis and the incoming path, or between the y (or x) axis and the extension of the path beyond the endpoint? Geometrically speaking, providing just the start and end angles (and radius) is not enough to define an arc unambiguously. Is there some other assumption, such as: Arcs must be less than 180 degrees? Or arcs must always curve counterclockwise?


complete novice here so be gentle with me, I am trying to update a mysql database with a string that is likely to contain apostophes, I have it all working except the apostophe issue, I have htmlspecialchars in use. I assume I need mysqli real_escape_string but don't know how to incorporate it into my code. The coding is probably very poorly done but while it works I can live with it, it is for an extra couple of text boxes sneaked into an existing gallery script. Code is: <?php  $servername = "localhost:3306"; $username = "xxxxxxxxx"; $password = "xxxxxxxx"; $dbname = "my_bodged_gallery"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) {   die("Connection failed: " . $conn->connect_error); } if (empty($_GET)){     $gallery_id = htmlspecialchars($_POST["gall_id"]); }else{ $gallery_id = $_GET['gall_id'];  }  if(isset($_POST["submit"])){  $new_title = htmlspecialchars($_POST["new_title"]); $new_story = htmlspecialchars($_POST["new_story"]) ;  $sql = "UPDATE stivagallery_plugin_gallery SET main_title = '$new_title' , story = '$new_story' WHERE foreign_id= '$gallery_id' AND sort= '1'"; if ($conn->query($sql) === TRUE) {   echo "Record updated"; } else { echo "Error updating record: " . $conn->error; } $sql = "UPDATE stivagallery_galleries SET title = '$new_title' , story = '$new_story' WHERE id= '$gallery_id' "; if ($conn->query($sql) === TRUE) {   echo " successfully"; } else { echo "Error updating record: " . $conn->error; } }else{                 $sql = "SELECT title, story FROM stivagallery_galleries WHERE id= '$gallery_id' ";             $result = $conn->query($sql);             if ($result->num_rows > 0) {              while($row = $result->fetch_assoc()) {     $new_title =    $row["title"];     $new_story =    $row["story"];     }   }   }   $conn->close();  ?>

       <form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post">                 Title:
         <input type="text" name="new_title" size="20" value="<?php echo  $new_title ;?>">

         Your story:
         <textarea rows="10" name="new_story" cols="80"><?php echo $new_story ;?></textarea>
         <input type="hidden" name="gall_id" value="<?php echo $gallery_id ; ?>">         <input type="submit" name="submit"><input type="reset" value="Reset" name="B2">
       </form>

  Any help greatly appreciated, I'm a greasemonkey not a programmer....


How to remove arrow from the Pgfplot pin option?

I was wondering how to remove arrow from pgfplots pin option. I do not want any line and want only text.   Many Thanks in advance!    Edit: Added MWE:    I would like to remove the two arrows but want to keep the text only. I am also attaching the output.     \documentclass{standalone}     \usepackage{amsmath, amssymb}     \usepackage{pgfplots}     \usepackage{tikz}     \usepackage{lmodern}     \usepackage[T1]{fontenc}     \begin{document}     \begin{tikzpicture}[every mark/.append style={mark size=1pt}]     \begin{axis}[xmin=0, xmax=0.2, ymin=-0.01, ymax=1, width = 8cm, height = 7cm, xtick align =inside, ytick align =inside, ytick distance=0.2, xtick distance = 0.05, minor x tick num={1}, minor y tick num={1}, xlabel = Volume fraction , ylabel= {Area disorder (AD)}, legend style= {nodes={scale=0.5, transform shape}, legend pos= north east, legend cell align={left}}, y tick label style = {/pgf/number format/.cd,             use comma,             1000 sep={}, set decimal separator={.}, fixed,                 fixed zerofill,                 precision=1,             /tikz/.cd}, x tick label style = {/pgf/number format/.cd,             use comma,             1000 sep={}, set decimal separator={.}, fixed,                 fixed zerofill,                 precision=2,             /tikz/.cd}]      \addplot [only marks, red, mark=square*,mark options={solid, scale=0.6}] coordinates{(0.056,0.3759)};%\addlegendentry{6 wt\% CTBN};     \addplot [color= red, mark=square*,mark options={solid, scale=0.6}] coordinates{(0.097,0.4418)}; %\addlegendentry{9 wt\% CTBN};     \begin{scope}[       every pin edge/.style={<-,>=latex},       pin distance=1.5 cm,       every pin/.append style={font=\small}     ]     \node[coordinate, pin={[fill=white, pin distance = 5 mm, inner sep=2pt]90:{9R}}]                 at (axis cs:0.097,0.4418) {};     \node[coordinate, pin={[fill=white, pin distance = 5 mm, inner sep=2pt]90:{6R}}]                 at (axis cs:0.056,0.3759) {};     \end{scope}     \end{axis}     \end{tikzpicture}      \end{document}


Cannot boot because of changes.pp link was shut down

I’m stuck here and have no idea how to start debugging this. Good thing is I have access to tty via ctrl + alt + F3. How to solve this?


I am trying to validate a phone number with the international validations. I am working on the french one currently. Here is what I have, it's not working. Any suggestions  <html> <head>  </head> <body> <form id="myFormId" method="post">     <label for="phoneId">Phone number</label>     <input type="text" name="phone" id="phoneId" maxlength="19" value="" />      <input type="submit" value="Submit" onClick="isValidPhonenumber()"/> </form>      <script> function isValidPhonenumber(value) {     return (/^\d{7,}$/).test(value.replace(/[\s()+\-\.]|ext/gi, '')); } </script> </body> </html>


Why do we care about eigenvalues of graphs?  Of course, any novel question in mathematics is interesting, but there is an entire discipline of mathematics devoted to studying these eigenvalues, so they must be important.  I always assumed that spectral graph theory extends graph theory by providing tools to prove things we couldn't otherwise, somewhat like how representation theory extends finite group theory.  But most results I see in spectral graph theory seem to concern eigenvalues  not as means to an end, but as objects of interest in their own right.  I also considered practical value as motivation, e.g. using a given set of eigenvalues to put bounds on essential properties of graphs, such as maximum vertex degree.  But I can't imagine a situation in which I would have access to a graph's eigenvalues before I would know much more elementary information like maximum vertex degree.  (EDIT: for example, dtldarek points out that $\lambda_2$ is related to diameter, but then why would we need $\lambda_2$ when we already have diameter?  Is this somehow conceptually beneficial?)     So, what is the meaning of graph spectra intuitively?  And for what practical purposes are they used?  Why is finding the eigenvalues of a graph's adjacency/Laplacian matrices more than just a novel problem?


I would like to know what kinds of contributions someone can make to Ubuntu. Such as Programmer, User, Proofreader, etc.


Force placement of currently unplaced figures before a certain block of text

A paper I am writing is quite figure-heavy, and one of my sections has more figures than text.  Unfortunately, because of this, the figures get spread out through the rest of my paper and even end up on several pages after the end of my text.  I would like to avoid this behavior by making sure the figures all get placed before a certain spot in my paper, towards the end (like my references section).  Is there a command that forces LaTeX to place all the figures not yet placed by a certain spot in the text at that spot in the text?  I wish to emphasize that it is not my desire to use the [H] specifier.  I am just fine with LaTeX positioning my figures for me, I just want them to all be placed before a certain spot in my paper.  Also please note that \newpage and \clearpage are not options for me.  I don't want to force a page break; I would like the subsequent text to follow the figures naturally without a page break between the figures and the following text.  I basically want the float-placing behavior of \newpage without actually making a new page.  Here is a minimum working example to try and explain what I am talking about.  Currently, this code places all the text on the first page interspersed with all the figures, and the two-column wide figure* gets placed on the second page.  What I was is the text of the first section to appear on the first page with as many figures as possible (the normal LaTeX thing to do), and then the second page to get all the leftover figures (the larger figure* in this case) and for the second section's text to appear after that figure and not as a new page, but on the same page as that figure.  \documentclass[twocolumn]{article} \usepackage{lipsum} %used to generate filler text   \usepackage[demo]{graphicx}  \begin{document}  \section{Section with figures} \lipsum[66]  \begin{figure*} \includegraphics[width=\linewidth]{} \end{figure*} Some more text. \begin{figure} \includegraphics[width=\linewidth]{} \end{figure} \begin{figure} \includegraphics[width=\linewidth]{} \end{figure} \begin{figure} \includegraphics[width=\linewidth]{} \end{figure} Some more text yet again. \begin{figure} \includegraphics[width=\linewidth]{} \end{figure} And, yet again, more text. \begin{figure} \includegraphics[width=\linewidth]{} \end{figure}  \section{After figures} I want this text to appear {\bf after} all the figures above, but not simply on a fresh page after the last figure.  I would like it to start running after the last figure.  For instance, if the last figure takes a page, I would like this text to continue right after it such that the figure is on the top half and this text is on the bottom half of the page.  \lipsum[66]  \end{document}


Script to automate externalizing TikZ graphics

Is there a script to automate externalizing TikZ graphics?  (As suggested by Scott )


How do I know when to use Jon and I, or Jon and me? I can't really figure it out. I've tried to teach myself, but I just can't seem to do it. Will someone please help me figure this problem out?


I am trying to integrate $$\int_0^1\int_{0}^1\frac{x^2-y^2}{(x^2+y^2)^2}dy\, dx$$  In my book said that use tangent function but.. I don`t know.. help me. I want to know process of calculate this problem.  and one more question  f(x,y)=1, if x rational  f(x,y)=2y, if x irrational   then why f is not integrable? but iterated integral exists? over[0,1]x[0,1]


Which is more intuitive to open content when the arrow is on the right, arrow pointing in or out

When looking an expandable panel, such as those which one might find in an accordion and considering the situation where the arrow is positioned on the right hand side of the element which is to open, which of the following two arrow directions is the most likely to imply to the user that the panel content opens below the heading:         – Wireframes created with   To be precise, I am looking specifically for answers that concern controls where the arrow moves on click to indicate something opened and ends up in the down pointing position to indicate that the panel is open.


Converting jQuery .on() Containing Selector Argument to Vanilla JS

I've been tasked with converting jQuery to vanilla JS.  I've run into trouble figuring out the proper way to convert the selector argument in an .on() event handler.  .on( events [, selector ] [, data ], handler )   I'm at a lost as to how the selector argument in .on() actually works and what I need to do to properly replicate it.  Here is the jQuery that I am trying to convert:  // jQuery I'm converting from $('body').on('touchstart', '#chatListDisplay .chatEl', () => { ... });   I've tried just including the selector argument the element that is used in the original jQuery by passing it into querySelectorAll().   // My attempt at vanilla var chatEls = document.querySelectorAll('body #chatListDisplay .chatEl'); chatEls.forEach((el) => {     el.addEventListener('touchstart', () => { ... }); });   The event handler never fires in this case, so I took some time to think of what my attempt actually represents in jQuery. It probably matches this:  $('body #chatListDisplay .chatEl').on('touchstart', () => { ... });   As expected, changing the original jQuery to the above also results in the event handler not firing.


Where does the following formula come from: $\sum_{i=1}^n i \cdot  2^i $ $= (𝑛 − 1)2^{n+1}  + 2$


How does this definition of continuity involving open sets work?

We were presented with this interesting definition of continuity in my real analysis course, but I'm not sure how it is equivalent to the traditional $\epsilon-\delta$ definition of continuity.  If $f:X \rightarrow Y$ where $X, Y \subseteq \mathbb{R}$, then $f$ is continuous on $X$ if for any open set $U \subseteq Y$, $f^{-1}(U)$ is open in $X$.  Can anyone give me an intuitive picture of why this definition works? I'm having a hard time understanding how open sets are involved in the first place. Furthermore, I don't see how this definition doesn't imply the existence of an inverse.


nested mixed effect ANOVA (lme4): can a factor be a fixed effect AND a nesting term for a random effect?

I study fish in a single large river and want to know if fish length differs between 3 large sampling 'sections' of the river. To answer this question, I measured hundreds of fish lengths within five randomly selected and uniquely coded'side-channels' within each section. There is strong reason to suspect that fish within a side-channel may be more similar than those outside (i.e., non-independent). Also, the side-channels were not randomly selected from the same broader 'population' of side-channels -- i.e., those available for random selection within a section may be more similar than those available for selection at other sections. To put it another way, fish from adjacent side-channels may be more similar than those from two distant side-channels. It seems to me that I then have a nested random effect (Side-channels within sections), but this would have me using section as a fixed effect AND random effect... right? I have not encountered this situation in any cite-able literature.  I just want to know the appropriate model structure to test if fish length differs between sections. Using the lmer() function in lme4 (program R), I see two possibilities:  Modeling side-channel as a non-nested random effect: lmer(length ~ section + (1|side-channel))  vs.  Modeling side-channel as a nested random effect: lmer(length ~ section + (1|section/side-channel))  Does the second model structure make sense? Why/why not? Which model structure is therefore more appropriate?


Question about the simplex method complexity

So I know that in general the simplex method for linear and convex quadratic programming can require exponential time. But assuming a positive semidefinite quadratic program that is solvable by the simplex method, then the problem is definitely in P, right?  The reason I ask: I am working on getting a handle on complexity theory. And I think I found a reduction from a problem to a positive semidefinite quadratic problem BUT the solution is only valid if the returned optimum is at a vertex of the feasible region. So that leaves out solving it with an interior point method since the minimum can be trivially obtained at the center of the feasible region and maybe at other points too. Since the simplex method operates on vertices, then I know that once the optimum is found, then it is at a point I actually care about.  Assuming the reduction is proper and always results in a correct answer: is reduction to the simplex method a sufficient condition for proving membership in P? OR does someone have a good reference to efficient exterior point methods for this class of problem? Is there another method for quadratic programs that I am overlooking? OR am I basically stuck with proving that the number of iterations is polynomial for this specific program? Is this question better suited to a different stack exchange site?


Example of non-noetherian ring whose spectrum is noetherian

Since spectrum of noetherian ring is a noetherian topological space, I am finding an example s.t. a non-noetherian ring whose spectrum is noetherian.  Since most nice rings are noetherian, actually I do not have many examples to start, does any one can help? Thanks!


Upvote didn't increase my reputation (haven't hit the cap)

Here is a screenshot of my reputation for today:    I know about reputation cap, but as you see, it's not an issue. Why didn't I get reputation from this upvote?


I get error: Attempt to invoke virtual method .. on a null object reference

I do not know what am I doing wrong.      java.lang.NullPointerException: Attempt to invoke virtual method   'android.text.Editable android.widget.EditText.getText()' on a null   object reference   at   si.skorajporocena.skorajporocena.PrvaPrijavaActivity$1.onClick(PrvaPrijavaActivity.java:51)   Here is the code:  EditText pass;       @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_prva_prijava);          pass = (EditText) findViewById(R.id.etPassword);          FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.floatingActionButton);         viewPager = (ViewPager) this.findViewById(R.id.pager);         fab.setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View view) {                 if(i==0){                     if (pass.getText().toString().isEmpty()) { // <-- this is the 51 line                         Snackbar.make(view, "Niste vnesli aktivacijske kode.", Snackbar.LENGTH_SHORT).                                 setAction("Action", null).show();                     }                     else {                         i=1;                         viewPager.setCurrentItem(i);                     }                 }                 else if(i>0) {                     i++;                     viewPager.setCurrentItem(i);                      if(i==3){                         Intent intent;                         intent = new Intent(getApplicationContext(),MainActivity.class);                         startActivity(intent);                         finish();                     }                     //Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)                     //        .setAction("Action", null).show();                 }             }         });


How can I remove one of the two Ubuntu operating systems from my computer?

Currently I have two Ubuntu 14.04 OSs installed on my computer, and I want to remove one of them. How can I do that? Please explain it to me in detail. I do not want to save the data of unwanted OS.  Thanks in advance.


Collect data with central management servers and keep them in local table

I have 50 servers. I manage them from a central management server on SQL Server 2014 Enterprise Edition. I don't use repository.  I could open a query and get result for each one at the same time. But I want to do it in an automated way, like a job, to collect data from each server and store/handle it locally.  Is this possible and if so, how?


Can you wait to add optional damage dice that apply on a hit (such as Divine Smite) until after seeing if the roll is a critical?

Certain damage kickers are put into effect at the attacker's option after it is determined that an attack is a hit. Examples include:   The Divine Smite of  and of  The Battle Master's Trip Attack The Combat Inspiration feature of the College of Valor bard Expending charges from several magic staves, including the , , and    The rules on a  seem pretty clear (PHB. 196):     Roll all of the attack’s damage dice twice and add them together.…      … If the attack involves other damage dice, such as from the rogue’s Sneak Attack feature, you roll those dice twice as well.   It seems clear that (a) the player decides to apply the kicker after seeing the die roll, and (b) "all of the attack's damage dice" includes the kicker. But this gives the player quite an advantage to choose to apply a damage kicker on a known critical hit, so I am seeking to confirm (or correct) my understanding.  Can the attacker wait to add optional damage dice until after seeing if the roll is a critical, ?


Can i get my Ubuntu updated from 18.04 to latest version? If so, How can I do that?

While I check for update, it doesnot show any update.


I'm trying to install a driver using a shell file:  yoav@yoav-System:~/Documents/WIFI_DRIVER$ ls android_ref_codes_JB_4.2  btcoex    install.sh        WiFi_Direct_User_Interface android_ref_codes_KK_4.4  document  readme.txt        wireless_tools android_ref_codes_L_5.0   driver    ReleaseNotes.pdf  wpa_supplicant_hostapd   Then:  yoav@yoav-System:~/Documents/WIFI_DRIVER$ install.sh install.sh: command not found   Fair enough:  yoav@yoav-System:~/Documents/WIFI_DRIVER$ ./install.sh bash: ./install.sh: Permission denied   How about this:  yoav@yoav-System:~/Documents/WIFI_DRIVER$ sudo ./install.sh sudo: ./install.sh: command not found   What am I doing wrong?


prove that $\tan(\alpha+\beta) = 2ac/(a^2-c^2)$

if $\alpha$ , $\beta$  are the values of  $\theta$ satisfying  $$\displaystyle a\tan(\theta)+b\sec(\theta) = c$$     prove that $$\displaystyle\tan(\alpha+\beta) = \dfrac{2ac}{a^2-c^2}$$ How do i solve this, suggestions about how to go about doing this


Are there commands to install Ubuntu from USB?

I currently have Q4os installed.   What command can I use to install Lubuntu from files on USB? I can't boot install from USB and mini install doesn't have wireless internet installed.


In Stardew Valley, you are supposed to pet your animals in the morning, make sure they have food (hay), and then open their door so they can go outside (in a fenced in area with grass).   I know you are supposed to close the door at night, but if you don't, they get unhappy or can die overnight. What time does it need to be closed before they start losing happiness? The  says 6 PM, but does that mean you have to be asleep or it will decline, or does the door just have to be closed?  On top of that, if it is 6 PM, does the chance for the animals to be eaten start then, or is that only overnight with the door open?


We are three persons who are going to do a project spanning over a year (math) that will equal 100+ pages of heavy math. This is a collaboration so we are going to need a project history, collaboration account and so on. But we don't want to choose the wrong service. We don't mind paying a bit to have the better service, which one would you go with out of ShareLaTeX and WriteLaTeX, most reliable and so on?   What are your experiences?


I am having issues subsurf-ing my object, part of it is deformed

This is my object:   As you can see, the right side has a weird protrusion, and where the project meets the mirror, it seems to kind of go up rather than remain flat.


Iterating over a string to return digits is only retrieving first digit?

I have an IP address in the following format: 2a11:11a1:a11a:1111:a111:11a1:1111:1aa1 I need to get all the digits back from an IP format like this and have written the following:             var ipAddress = "2a11:11a1:a11a:1111:a111:11a1:1111:1aa1";             string result = "";             foreach (char c in ipAddress)             {                 if (!Char.IsDigit(c))                 {                     break;                 }                 result += c;             }              return result;   I would expect this to return "21111111..." etc but instead it just returns "2" ? Where am I going wrong?


How the negative resistance feature of tunnel diodes used in oscillators?

Can someone explain how the negative resistance feature of a tunnel diode is used in oscillators with the help of this circuit diagram:


How to find type of device with mac address?

Recently, I find out that somebody uses my network traffic. I found his MAC address and now I wanna find full details of his device. I tried:  and such this, but the response was only the name of manufacture. Tnx from anybody who helps me( or says a better solution to find him:) ) EDIT: Anybody who has another way to find him, tells me.


I have a page in which there is some text that needs to be in two languages. Here is my code:    $('#english').hide();  $('#enButton').on('click', function() {    $('#english').fadeIn();   $('#french').fadeOut();  }); #french {   margin-top: 40px; }  #english {   display: block;   position: absolute;   top: 90px;   left: 150px; }  #frButton {   top: 30px;   left: 145px;   position: absolute;   cursor: pointer; }  #enButton {   top: 30px;   position: absolute;   right: 135px;   cursor: pointer; }

FRA

ENG

Text in French....

Text in English...

      The last two rules are for buttons. When you click on the "English" button I want to trigger some jQuery to hide the French text and make the English appear and then do the opposite when you click back on "frButton". But this is not working and I have both texts on top of each other as the method   $( '#english' ).hide();   is not even working. I have been at this for an hour now and the #english id is not being targeted at all. Any ideas why?  The content of "about" is loaded using ajax by the way.


Idiom for explaining something to someone who clearly knows the topic (probably better than you)

I am looking for an idiom/phrase which would mean that someone is trying to explain something to someone who obviously knows how it's done. It would be like a maths student trying to teach/explain to his maths professor in his university how to do calculus - he clearly knows it better than you!  My language has for example "nie ucz ojca dzieci robić" - that translates as "don't teach a father how to make kids" - is there an equivalent in English?


check disk interrupted, all data is now inaccessible, any way to recover it?

I have a 5TB external NTFS drive thats nearly full. It was exhibiting an odd behavior: I would copy a file to it, the total space free would adjust accordingly, but the file was nowhere to be found.   So I ran check disk on it (from the Windows 7 UI, not the command line) on it and the check disk seemed to get stuck (The file number that it was working on did not change for over 36 hours), so I cancelled the check.  Now, the drive is unreadable. It is recognized in device manager, and in diskmgmt.msc it is shown as an unallocated drive, and it prompts to me allow disk management to initialize it with MBR or GPT.  So, at least the drive isn't broken. How can I recover the data?


School of Witchcraft and Wizardry Transfers

Can students transfer from one school of witchcraft and wizardry to another?    I am aware that there are  and I'm aware of the fact that they enroll students based on their geographical range, as well as the decision made by The Educational Office of the International Confederation of Wizards, when it comes to foreign and overseas students.  But what if one student, who was learning in Hogwarts, decides to move to Durmstrang Institute? Is this allowed by the Ministry? Or is there a syllabus difference that makes transfers cumbersome?


How to install and use Ubuntu from a USB flash drive on Windows 8?

I'd like to fully install Ubuntu 12.10 onto a 16GB USB 3.0 flash drive, not create a LiveUSB, but to treat the flash drive as an external hard drive.   I've read it's possible and I know my computer can boot from it. However, it doesn't work when I try. I've booted a LiveUSB from another flash drive and installed Ubuntu onto the 16GB one. It finished successfully, but when I try to boot from it and it takes me straight to Windows 8 instead. I feel I've done something when installing the boot loader.  It'd be great if I had some step-by-step instructions for:     how many partitions to make,  what kind,  how big, and  where to install the boot loader.


What are the advantages of laying out documents in pts (vs other units) in Illustrator?

All of the document presets for print are defaulted to using points. I’ve always worked in inches. Is it more common to work in points? What are the advantages?  Edit: To clarify, I’m not asking about working with fonts. I’m asking about document layout. I read the answer to the other question, but it doesn’t help me understand the reason for working entirely in points.


Invalid arguments with true premises and true conclusion

I'm am study some classical logic and I am having trouble with argument validity. I learned to think of validity as determined by the definition "If the premises are true, then the conclusion must be true". Keeping the truth table of conditionals in the back of my mind has served fairly well in my exercises of evaluating arguments. However, I came across this example on the internet, "All cats are mammals, All tigers are mammals, Therefore all tigers are cats". The site says that this argument has true premises and a true conclusion yet it is invalid. Thinking of the conditional definition would't this be a true implying a true, which means the argument is valid? I appreciate any clarification.


I need a clarification about the local disk on Linux

I was using Windows 7 and in My Computer I had 2 local disks C: and D:.  On Elementary I only see a File System (if i'm not mistaken).  Has Linux combined these 2 into one called File System?


Recently, I ran into a problem of comparing 2 objects of the same class in C#. I need to know which fields/properties are changed.  Here is the example:  SampleClass  {   string sampleField1;   int sampleField2;   CustomClass sampleField3;  }   And I have 2 SampleClass object, object1 and object2, for example. These 2 objects have some different field value.   Can anyone know the best approach to get which fields are different? And how to get the (string) names of that different fields/properties? I heard of Reflection in .Net. Is that the best approach in this situation? And if we didn't have the CustomClass field? (I just make this field for a more general approach, that field does not exist in my case)


I tried searching it up and it said yes “funner” is a word, but when I ask teacher they said no it isn’t a word, anyone got an idea?


If the columns of AB are linearly independent, how can I prove the columns of B must be linearly independent?

So a matrix, A, is linearly independent if Ax = 0 has only the trivial solution (x=0) so let A = AB, then if the columns of AB are linearly independent, the equation (AB)x = 0 has only the trivial solution by the associative law of multiplication, (AB)C = A(BC), so (AB)x = A(Bx) = 0 I'm not sure where to go from here, or even if this is a proper way to go about proving that the columns of B are linearly independent


The "‘" character turns into "?" character using laravel

Many people copies/pastes text/data from msword, actually into web forms.  The standart upper coma character is " ' " this but msword's upper coma is " ‘ " so that lead some problems like turning into "?" character after posting the data.  Is there any way to prevent this rather than using functions like string replacement or regular expressions ?


Cannot get the updated text from textarea

Why I can't get the updated text from two textarea elements that have the same class and default text?  For example, if I try to add new text to any of these textarea elements then hit the button I get only the old values.  This is my code:  HTML
   <textarea class="variables">s:asset:type, s:event:type, l:event:playhead, s:asset:video_id, s:asset:ad_id, s:user:mid</textarea>   <button class="remove-tag">Remove</button>

   <textarea class="variables">name, mid, pev3</textarea>   <button class="remove-tag">Remove</button>

  <button class="validate">Validate</button>   JS:  $(document).on('click', '.validate', function() {    var variables = "";   $('.variables').each(function(){     variables += $(this).text() + ",";   });    console.log(variables); });


Reporting of Heterogeneity in Metaanalysis

The background is a forest plot of a meta-analysis which is reported to have been calculated with a "random effects model". The pooled effect is reported as a standardized mean difference (SMD).  Results below the forest plot are listed to have:  Heterogeneity: I-squared=94%, tau-squared=0,11, p<0,0002   Regarding the reporting of heterogeneity:   a) What is the practical value of the reported heterogeneity in regard to the interpretation of the results of a meta-analysis? (In my understanding it shows the differences of the included study results in relation to the overall results) b) Is there, for example, a certain "threshold percentage" when results should not be considered as reliable or meta-analyis should not be undertaken at all?  Regarding the reported significance (p<0,0002)    a) Does it refer to the heterogeneity results or the pooled effect results of the overall forest plot? (In my understanding it refers only to the heterogeneity results.)  b) What is the practical value of the reported significance in regard to interpretation? (Does it somehow show the validity or robustness of the heterogeneity results?)    The question is asked from a beginners perspective in statistics.  More background information: the metaanalysis was done with six different studies, also using different outcome measures. No subgroup analysis was possible because of heterogeneity. Meta-regression ist also not advisable when there are less than 10 studies, according to the Cochrane foundation


With Ubuntu One shut down, is there a way to sync applications between computers?

Since Ubuntu one is no longer it appears that Sync between computers no longer works.  Is there a new method to do this?  I'd like to sync the apps from one machine to another.


I have a sequence of binary samples and I want to model how this sequence is changing. The change should reflect whether it's a positive or negative change.  For example, sequence 1:  1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1   is changing positively since we're confident in appearance of 1's before and become even more confident after some point. However, sequence 2:  1 1 1 1 0 1 1 1 0 1 1 1 0 1 1 0 1 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0   is changing negatively since the number of 0's is increasing, as opposed to our prior confidence in 1. Is there a metric that models this behavior?  I've been looking into  but it seems to model change of frequency but does not distinguish positive and negative changes. The reason why I'd like to model this difference is I want to know whether there is a positive or negative effect on the underlying  that generates these samples so that I can detect these underlying changes. Thanks!


Refactoring a singleton class into a base generic class

I two singleton classes that shares exactly the implementation except that differ on types of objects. Because i know in the future i will keep adding more singleton types with same implementation i thought it would be a good idea to refactor the singleton class into generic base class. However i have errors on like shown in the snippets below and i don't know how to implement a singleton into a base generic class. public class BaseClass<T> where T: new() {    //Singleton instance     protected static readonly Lazy<T> _instance = new Lazy<T>(() => new T (param)); //Error on new T    protected static SqlTableDependency<TableC> tableDependency;     //Constructor    private T(IHubConnectionContext<dynamic> clients)    {        Clients = clients;          _tableDependency = new SqlTableDependency<TableC>(             ConfigurationManager.ConnectionStrings["DBConnectionString"].ConnectionString, "TableC");    }    //Properties    public static T Instance    {         get         {             return _instance.Value;         }     }      private IHubConnectionContext<dynamic> Clients     {         get;         set;     } }


I was going through the PHB again recently and read something in the barbarian section that makes me think I've been calculating HP increases wrong when I level up.  I noticed it says:     Hit Points at Higher Levels: 1d12 (or 7) + Constitution modifier per barbarian level after 1st   Does that mean that, when rolling for HP, I roll 1d12 then add my CON mod multiplied by each level after level 1?  Meaning (At level 6, with +3 CON): HP increase = 1d12 + (3 x 5)


If I  a  which had no counters on it, thus sending it to the graveyard, triggering the second ability and creating two tokens that are copies of it, do the copies which come into play also get -3/-3 because they're copies and Bile Blight says "until end of turn"?   A friend and I were discussing this and he seemed to think that it wouldn't since the token copies which came into play wouldn't haven been there when Bile Blight resolved, But I'm almost certain they would die since the card says "until end of turn", Bile Blight doesn't specify the creature as having been in control, and the ruling that "The name of a creature token is the same as its creature types, unless the token is a copy of another creature or the effect that created the token specifically gives it a different name."  But you never know, I could be wrong. Anyone have a certain answer?


I have a Garmin Nuvi 1350 GPS and would like to know if I could download maps from the garmin Website like I do in Windows. In Windows, you need the Garmin Express app, but no such thing seems to exist in Ubuntu 12.04.


How to move an existing point object to a coordinate?

Is there a simple way to  move a point to an exact coordinate (do not intend to create a new point but move an existing point)?  Something like, write the coordinates and move a selected point for that coordinate.


Why did not work jQuery button in this code

what is my mistake ? why this click function is did not work ? i made this function without each loop, then that function working properly, but why did not work this place ?          <title> NG - REPEAT </title>

                 ID	                 NAME	                 VERSION	                 PRICE	                 ACTION


Show a shorter title in the bottom part of the presentation

How can I show a shorter title so it doesn't get cut, this is an example of my problem.  In the bottom part the title is cut before finishing so i want to show something shorter just [Lorem Ipsum and other stuff] and not the full title. I am new to using beamer and i have been in latex just a couple months, any help would be appreciated, thanks.


I've used code that store commands (in jQuery Terminal) that need to be executed as JSON array in hash. with code like this:  function exec_hash() {     if (location.hash) {         var commands;         try {             commands = $.parseJSON(location.hash.replace(/^#/, ''));             $.each(commands, function(i, command) {                 try {                     terminal.exec(command);                 } catch(e) {                     var cmd = $.terminal.escape_brackets(command);                     var msg = "Error while exec with command " + cmd;                     terminal.error(msg).error(e.stack);                 }             });         } catch (e) {             //invalid json - ignore         }     } }   And i had this idea to store entire terminal session in hash, so my question is how long url hash can be?


While reading the PHP manual on the section about, "strings" in "variable parsing" I came across a constant:  PHP_EOL  i googled it and came up with this from the manual  "PHP_EOL (string) The correct 'End Of Line' symbol for this platform. Available since PHP 4.3.10 and PHP 5.0.2"  Doesn't really say how to use it or much of anything. What does it mean by: "The correct 'End Of Line' symbol for this platform."  when I used it in:   var_dump(PHP_EOL);  the result was:  string(1) " "  is PHP_EOL the same as \n?


How do Idle games progress while not active?

A hallmark of many idle games is the ability to still progress (or at least regain resources) while the game isn't active. The device can even be off.  Initially I figured they just calculated progress off system time next time it was started, but they do not appear fooled by messing with the clock.  How do they manage this specific feat?


First and second homotopy groups of a connected Lie group

I try to understand why for a connected Lie group $G$ the first fundamental group $\pi_1(G)$ is abelian, and mainly why the second fundamental group is trivial $\pi_2(G)=0$?  Thanks for anyone who give me references for a 'simple proof' of these results


Migrating windows 8 license from one machine to another

Is it possible to migrate windows 8 license from 1 machine to another. I purchase one license and installed it in my old PC. No i purchased a new one and i want to transfer that license to my new machine, Can anyone please help me to transfer the same in my new machine.


I have this DC-Memory 128GB drive, if I plug it in into any computer; It does not show up. There are 2 Device Manager errors with the drive: Device Descriptor Failed & Set Address Failed. ^ Because of that; I think Windows does not know what kind of USB device this is, results in nothing showing up in Disk Management.  I've tried multiple fixes; None worked.  Is there a way to fix this, or is more information required for the people interested in this problem?


I am trying to make a bunch of LEDs fade out when they are turned off. The task is quite simple for a single LED by using a 1000uF capacitor to produce a time delay as in the following circuit:   The other possibility is using Arduino analogWrite() function and get my work done but I don't want to use any microcontroller.  When I try to make it work for like 25 LED in parallel. The capacitance needed grows quadratically to store that much energy. Is there any other way of getting this effect to work which does not involve the usage of a lot of capacitors and neither a giant one.  Note: Please add tags to this question that are more relevant as I could not find many.


Show $\displaystyle\sum_{n=0}^\infty \frac{z^{2^n}}{1-z^{2^{n+1}}} = \frac{z}{1-z}$ for $|z|<1$.  This is an additional problem for my complex analysis class and I've attempted it for a few hours but ended up taking wrong routes. All of my attempts I haven't used complex analysis at all and I don't see how I could here.  edit: this is meant for a BEGINNER complex analysis course so please try keep the solutions to that (if you could)  Any help would be great


Verification that $\lim_{x \to a}\frac{f(x)-f(a)}{x-a}$ and $\lim_{h\to 0}\frac{f(a+h) -f(a)}{h}$ are equivalent definitions of the derivative.

I wanted to verify that for definition of the derivative it is true that:  $$ \lim_{x \to a}\frac{f(x)-f(a)}{x-a}= \lim_{h\to 0}\frac{f(a+h) -f(a)}{h}$$  If I denote $h=x-a$,  we can  let $x\to a$, this means that $h \to 0$. Also notice that $f(x)=f(a+h)$ $$ \lim_{x \to a}\frac{f(x)-f(a)}{x-a}=\lim_{h \to 0}\frac{f(a+h)-f(a)}{h}$$ As desired. Is the main idea here really just to use a variable substitution? I suppose there is some formal theorem I also use here that when $f(x) \to y$  we can let $g(f(x)) \to g(y)$ if the function $g$ is continuous.


What static code analysis tools are there for apex? The only one I seem to be able to find is the Force.com Security Source Code Scanner but that has the draw back of placing your request into a queue and running it when it can. I would like something I can run locally so I can make refactoring into a number of very short cycles.


How to get an output results as text to more than one location at once?

Is there a way that I can get a resulted output to multiple locations at the same time. ls -RsgorCh  >> /Users/User1/Text1.txt will print the output as a text file in the given location. I want to know whether I can get the output to be printed into multiple different locations at the same time. Possible multiple locations can be    Terminal + Folder + Folder etc.. Folder + Folder + Folder etc..   Also the commands can be   grep ls tree etc


Remove Gnome Notifications or set Permanent Do not Disturb

I am trying to remove the popup notifications completely from Gnome. The notifications I mention are this:    I do not wish to see ANY notification at all from any app. Mainly because of 2 things:   Notification get in the way of me clicking a Browser tab Notification stays way too long in there when I am in a hurry   Since I can't find a way of making the notification smaller (at least in an easy manner), moving it somewhere else, or even telling the option of Do Not disturb to stay fixed (when I reboot the PC it goes back to off). I am then looking for a way to completely disable this notifications altogether.  I have tried going to settings and disabling everything in there with no luck (and also because I can't do one app at a time and the idea of an option for DISABLE ALL is not there).


Proving that $ \gcd(a,b) = as + bt $, i.e., $ \gcd $ is a linear combination.

For any nonzero integers $ a $ and $ b $, there exist integers $ s $ and $ t $ such that $ \gcd(a,b) = as + bt $. Moreover, $ \gcd(a,b) $ is the smallest positive integer of the form $ as + bt $.  I know of one proof of this question, in which we consider $$ S = \{ am + bn ~|~ \text{$ m,n \in \mathbb{Z} $ and $ am + bn > 0 $} \}, $$ but I didn’t manage to get the proof. Can someone please explain this theorem?


creating an infinite stack of UIImageviews in xcode

i am trying to create a stack of UIImageViews in my app where i can indefinitely touch the uiimageview move it around the screen and drop it anywhere and there would still be a representation of the UIImageview in the original location where i could go grab another uiimageview move it and so on.the way i was trying to solve this problem was to create a uiimageview in IB that would remain in its original location and each time a touch is detected on top of it create a new uiimageview in the same location that would be able to be moved. here is the code i have so far:  -(void)dispatchTouchEvent:(UIView *)theView toPosition:(CGPoint)position {      switch (glyphActive) {         case 1:             UIImage *image = [UIImage imageNamed:@"1.png"];             onePieceCopy = [[UIImage alloc] initWithImage:image];             onePieceCopy.frame = CGRectMake(currentPos.x, currentPos.y, 75, 75);             [self.view addSubview:image];             if (CGRectContainsPoint([onePiece frame], position)) {                 onePiece.center = position;                 [self bringSubviewToFront:onePiece];             }              //[onePieceCopy release];             break;         } }   however i am getting errors on this line:  UIImage *image = [UIImage imageNamed:@"1.png"];   that says "expected expression before 'UIImage'". and another error here:  [self.view addSubview:image];   that says " error: request for member 'view' in something not a structure or union"  i'm fairly new to all this and im not sure what im doing wrong can anyone give me a hand?


TikZ or cryptocode package for cryptographic protocol diagrams

I am using cryptocode package to make a protocol of 4 players.  \fbox{ \procedure{name}{%  \textbf{Alice}  \< \textbf{Verisign}  \< \textbf{Eve}  \< \textbf{Bob} \\ \sendmessageright{top=\text{hello}} \<\\ \<\sendmessageright{top=\text{hello}} \<\\ \<\<\sendmessageright{top=\text{hello}} \<\\  }  }   I think it is very complex package with no clear documentation. I am writing to ask from experts if it is better to stick to cryptocode or to use TikZ for such diagrams.  And if any one can help me with this example using TikZ i would appreciate it :-)  thanks


What is the big difference between software RAID and hardware RAID at the low level?  What is really going on that sets the two apart?  As far as I know, the only difference is the RAID card can have cache and it has its own processor on-board. But are there other aspects that go in the background that can make one better then the other in certain situations?


How to do delegated authentication in salesforce

I am implementing SSO, the documents which are avaliable via Salesforce.com are hard to understand. Does anybody know an easy to understand document or blog where I can study and implement it. Thanks in adavance


Prove or disprove there always exists a set of four numbers of which product is a perfect square out of arbitrarily chosen $48$ positive integers ...

Question: Assume you choose a set of arbitrary $48$ positive integers so that the number of distinct prime factors of all those numbers is $10$. Prove or disprove there always exists a set of four numbers out of the $48$ positive integers of which product is a perfect square.   I think that it uses pigeon hole, but I couldn't make a progress.


Prove that $||a|-|b||$ is smaller or equal to $|a-b|$

I am stuck with this question:  Show that $\vert \vert a\vert - \vert b\vert\vert \le \vert a-b\vert$  I had tried proving this using the following method below:  $\vert a\vert+\vert b\vert \ge \vert a-b\vert$  $-\vert a\vert-\vert b\vert \le -\vert a-b\vert$  Since $ -\vert a-b\vert = \vert b-a\vert=\vert a-b\vert$, then $-\vert a\vert-\vert b\vert \le \vert a-b\vert$  $\vert -a\vert-\vert b\vert=\vert a\vert -\vert b \vert \le \vert a-b\vert$  $\vert\vert a\vert-\vert b\vert\vert \le \vert a-b\vert$ since $\vert\vert a-b\vert\vert=\vert a-b\vert$ QED  Am I doing this correctly? Something really feels wrong here but I can't seem to find it, any help is appreciated, thank you!


Giving a home directory a specific "bit set" using chmod

the finger man page says I need to use chmod to give the home directory the "other-users-execute bit set", in order to restrict finger requests to only those that original from the local host as a security measure,but I cant find that in the chmod man page, is this very straight forward or is there other material I need to cover to understand what is happening there?


I would like to create a minecraft server for me and and my boyfriend to play on.  How do I set it up? Do I need any additional software? Do you have some links to walkthroughs or tutorials?  I have tried to set this up a few times but have failed every time.


Prove the following statement using the contrapositive method. If $ n^2 $ is divisible by 3 then n is divisible by 3. I tried using contrapositive method by assuming if not b then not a, i.e., if n is not divisible by 3 then $ n^2$ is not divisible by 3. and prove it. Is this the correct way to do it or am I doing it wrong? If anyone could layout an explanation could be helpful. Thanks!


What is the name of TV show in 90 that some of the fighter pilots were born by In Vitro

I also remember that the flight team had name to do with deck of cards. Aces, spades or maybe duces?


Probability question about the stock market

Let's say I want to buy some shares on the stock market. I want to predict whether the price will go up or go down so I look at 3 indicators on my chart. 1 indicators says that there's a 55% chance the price will go up. 1 says there's a 65% chance it will go up and one says there's a 60% chance of a price rise. all indicators are equally reliable.  What can I then say about my total chance of the price going up? Can I treat these indicators as independent? (I don't think so because they all are in relation with the price.) But does that mean I just have to take the average of the 3? so in this case 60%?   But what about 1000 indicators all saying the chance of a price rise is 60%? Intuitively it seems to me that would mean the total odds are bigger than 60%, is that right?   And if there's no mathematically 'correct' way to calculate this, how could I approach a solution then?


1000:5 current transformer: how to calculate burden resistor?

I want to calculate burden resistor for a 1000:5 current transformer. I want to output 5V variation. How do I calculate this burden resistor?  I using burden resister 220orm .this is out put .input primary 20A and out vmax 43.2 and freq 50.


After switching a lamp on and off infinitely many times in one minute, is it on or off?

So we have a lamp. It's switched on. let's represent its state of being switched on with associating it with $1$ and being off with $-1$. after half a minute passes, you turn it off, after another quarter of a minute passes you turn it on and so on.  Now this process will take : $1/2+1/4+1/16+...=1$ minute  and this is the states of the lamp put into a sequence:  $(1,-1,1,-1,1,...)$  After a minute of switching it on an off passes, will it be on or off?  I'm well aware that the limit of this sequence does not exist, however, my intuition dictates that after a minute passes, it is either on or off.   So does this lamp have a final state(on or off) which is impossible for us to know? or it does not have a finals state(it seems to me, it must have one!)?


Prove that the following limit exists $\lim_{n\to\infty}\left(\int\limits_{0}^{1}\vert f(x)\vert^{n}dx\right)^{\frac{1}{n}}$

Let $f:[0,1]\rightarrow\mathbb{R}$ be continuous. Prove that the following limit exists $$\lim_{n\to\infty}\left(\int_{0}^{1}| f(x)|^{n}\,dx\right)^{\!\!1/n}$$  I tried like this:  $$\left(\int_{0}^{1}| f(x)|^{n}\,dx\right)^{\!\!1/n}=e^{{\ln}{\left(\int_{0}^{1}| f(x)|^{n}\,dx\right)^{\!1/n}}}=e^{{\frac{1}{n}}\ln\left(\int_{0}^{1}| f(x)|^{n}\,dx\right)}.$$  Now from this how I can proceed?


X total posts awaiting review displaying incorrect number?

The brown button on the top says I have 4 total posts awaiting review, yet when I click on it, I get the screen above, showing I have 0 tasks to review.  I don't get what that number is supposed to represent.   This has happened before, where it would show up as 10, yet only 2 questions would show up under Close Votes.


Is there a difference between using me and I in those sentences?

(1) Annie and me went to the theater  (2) Annie and I went to the theater


It is forecast to rain this weekend so I was thinking I would drop a tarp down over my living room floor and give my bikes a bit of a tune up.    Question  What maintenance needs to be done on your bike?  How often?  Background  Generally speaking I am of the mind: "If it is not broken don't fix it".  However I recognize that there are preventative measures that I can take that will drastically improve the life of my bike and the expense of repairing it.    I am pretty good at noticing when something changes on my bike.  (For example: something is making a slightly different noise, something is not spinning well, etc).  One think that I am concerned about however is when something gradually gets worse in increments that are not noticeable.  For example you forget to oil part X and it gets increasingly noisier or harder to spin etc.  I am concerned that I would not notice it.    I like to do my own work when possible but I will bring the bike in for work when necessary.    Answer Structure  The best answer will have this format:   Daily   this thing this other thing   Weekly   Bla   Monthly   Something   Yearly   What else?   Ideally the bullets should be sorted by importance.  Importance is defined by expense.  If you don't do this thing then it will cost you $X.    It is not necessary to provide a description for each procedure as we can open additional questions for each of those procedures.    Similar Questions      Addresses how much maintenance a bike needs but does not lay out a clear schedule     What to do before putting your bike in storage for winter      Edit (To get the bounty)  What I am looking for is in terms of the Monthly/Yearly sections is what a bike shop would do during their yearly tune ups.  I do most of my own repairs/work and I want to make sure that I am not missing anything.


I am told there are four fundamental forces, and each of these forces has a boson that acts as its carrier.  Reading this  I find that the Higgs Field is not a force field      The Higgs field is not considered a force. It cannot accelerate particles, it doesn't transfer energy. However, it interacts universally with all particles (except the massless ones), providing their masses.   So I can get this argument, but then the article goes on to claim      The Higgs particle is considered to be a carrier of a force. It is a boson, like the other force-transferring particles: photons, gluons, electroweak bosons. One may call the force mediated by the Higgs boson to be universal as the Higgs boson interacts with all kinds of massive particles, no matter whether they are quarks, leptons, or even massive bosons (the electroweak bosons). Only photons and gluons do not interact with the Higgs boson. Neutrinos, the lightest particles with almost zero mass, barely interact with a Higgs boson. Top quarks, which have about the mass of a Gold atom, have the strongest interaction with a Higgs boson.   So ...   Is the Higgs Field a Force Field? Is the Higgs Boson a carrier of force? Does this mean there are actually 5 fundamental forces? Why is that elephant over there orange?


Find a family $\{ I_n \}$ of open nested intervals such that no two $I_n$ are equal and the intersection is equal to $\left[-2,2\right]$.


What are the difference between "get married" and "be married"?

In the dictionary  : to become joined in marriage They're planning to get married in October.     (adj): having a husband or wife   So, this is what I think we often say "I'm married" which means "I have a husband or wife", we don't say "I get married". We say "I was married" which means "I had a husband or wife in the past but I may or may not have a husband now" We say "I got married" which is nearly the same as "I had a wedding"   (=to have a wedding) Did you know that they are going to get married?


How should we deal with "offensive" language that might not be such from a non-native speaker?

In a weak answer to this , the answerer referred to "molesting" cards.  In an English language context, I would find that offensive. But I get the sense that the answerer may be a native Spanish, rather than English speaker. I also know that in Spanish, "molestar" means to disturb, which really isn't a "bad word" in that language.  What should we do about posts that may "sound bad" in English, but perhaps wasn't meant in a bad way by a non-native English speaker?  In this case, I flagged a moderator for possible deletion of the post because of its overall weakness. But if had been a strong post, I might have tried fixing it, instead. Should we give people the benefit of the doubt in these language situations?


Differentiability of $f(x)={x^2\sin{(\dfrac{1}{x})}}$ at $x=0$

I'm a bit confused here. When we take the derivative of  $$f(x)=\begin{cases}   x^2\sin{\biggl(\dfrac{1}{x}\biggr)}&x\neq0\\   0 &x=0\\ \end{cases} $$ It's derivative is not defined at $x=0$ as  $f(x)=2x\sin{\biggl(\dfrac{1}{x}\biggr)}-\cos{\biggl(\dfrac{1}{x}\biggr)}$.  However, approaching this problem through the limit form of the derivative gives the value of the derivative at $x=0$: $$f'(x)=\lim_{h\to 0}\dfrac{f(x+h)-f(x)}{h}$$ $$\implies f'(0)=\lim_{h\to0}\dfrac{h^2\sin{\biggl(\dfrac{1}{x}\biggr)}-0}{h}=0$$  What I'm curious about here is why differentiating $f(x)$ first and then entering $x=0$ is failing in contrast to finding the derivative through limits?


How do I move all files from one folder to another using the command line?

I would like to know how could I move all files from a folder to another folder with a command line.  Let's say I'm in my Downloads folder and there are a 100 files that I would like to move to my Videos folder, without having to write all the files name.


How to prevent Wine from adding file associations?

Wine automatically adds certain mimetypes and file associations (e.g. notepad.exe for .ini files). There already is an  that explains how to remove these associations.  But how can one prevent Wine from adding them again and again?


Lower bound for maximal function which yields maximal function is not integrable

Let $f : \mathbb{R}^n \rightarrow \mathbb{C}$ be Lebesgue integrable and $f$ is not identically zero (i.e., $m(\{x \mid f(x) \neq 0\}) >0$). Then there exist constant $C, R > 0$ such that $$\sup_{r>0} \frac{1}{m(B(x,r))} \int_{B(x,r)}|f(y)| \, dy = (Mf)(x) \geq \frac{C}{|x|^n}$$ for $|x| > R$. This fact will show that $Mf$ is not integrable.  Can anyone give me a guide ? For the first assertion, I look at the proof of Weak-$(1,1)$ inequality which provide the upper bound for $Mf$. It seems that the proof related to a clever method of choosing a ball $B(x,r)$. I am not sure how to adapt it to prove this assertion. (If you have an easy way to prove, please suggest it !). For the non-integrability of $Mf$, I do not think that $$\frac{C}{|x|^n} \rightarrow \infty$$ if $|x| \rightarrow \infty$ and $x$ is bounded away from $0$. So I do not see why this inequality will help showing that $Mf$ is not integrable.


Why aren't all prime subfields equal to {0,1}?

the definition of a prime subfield that I have been provided with is the following:      It can be shown that for any subset $S$ of $F$ there exists a minimal subfield $K$ of $F$ which contains $S$. One very important case is when the set $S$ is empty, i.e., every field $F$ contains a unique minimal subfield. This subfield is called the prime subfield.   I further know that any subfield $K$ of a field $F$ contains the elements $0$ and $1$ and is closed under addition, multiplication, and taking negatives and inverses of non-zero elements.   And since the prime subfield is the intersection of all possible subfields across $F$, why is it not the case that the prime subfield is always equal to $0$ and $1$?   Thank you for the help!


I am about to start a web project and have been working almost exclusively with a LAMP stack for the past 5 years.  I would like to build something larger and more scalable and hence have been looking into Java EE.  The division of logic between JSP and EJB seems ideal for what I want to do.  Can anyone recommend resources for getting familiar with Java EE?  And perhaps if anyone knows of technologies that are more scalable than PHP that I should consider as well, I'm all ears.  Thanks a lot!


Sheet name font size on LibreOffice Calc is too small

I am using LibreOffice 3.5.3.2 (Ubuntu 12.04) and the buttons to switch tabs in Calc are written with small fonts. They're so small I can't even read what is written on them.  I could not find a way to increase font size. Is this problem happenning only with me? Does anyone know a way to increase the font size of sheet names?


Is 'individually' booking internationally connecting flights a good idea, in schengen area?

Let's say that I'm planning to visit Schengen country-A with an approved Schengen visa. I then find out that    Booking my-country --flight to--> country-A is way more expensive then  Booking individual flights (in separate transactions) in the following way:   my-country --flight 1 to--> Schengen country-B --flight 2 to--> country-A   Is the latter plan viable? What about cases with and without checked-in luggage.   In my case, country-a is Poland and country-b is Norway.


How to use regex to get dates from a list?

I have a list that contains a list of dates along with a bunch of other info in the same element. This is what the list looks like: 0     2020-06-25 09:04:16.295000+00:00 1     2020-06-25 08:59:11.871999+00:00 2     2020-06-25 08:57:51.039999+00:00 3     2020-06-25 08:38:45.894000+00:00 4     2020-06-25 08:37:05.439000+00:00 5     2020-06-25 08:35:33.243999+00:00 6     2020-06-22 22:51:38.947000+00:00 7     2020-06-22 22:46:00.807000+00:00 8     2020-06-22 22:44:46.937000+00:00 9     2020-06-22 22:35:14.785999+00:00 10    2020-06-22 22:27:05.739000+00:00  As you can see, there is more info than just the date. I would like to use regex and remove just the date from each element and store it into another list: I am pretty sure that the following  regex is the right keyword for pinpointing the date: ^\d{4}$\-\d{1,2}\-\d{1,2}  I am just not sure how I can properly implement this. If you can show me how to do this through pandas, it would be much appreciated.


accessing $_SESSION when using file_get_contents in PHP

I have a page called send.email.php which sends an email - pretty simple stuff - I pass an order id, it creates job request and sends it out.  This works fine when used in the context I developed it (Use javascript to make an AJAX call to the URL and pass the order_id as a query parameter)  I am now trying to reuse the exact same page in another application however I am calling it using php file_get_contents($base_url.'admin/send.email.php?order_id='.$order_id).  When I call the page this way, the $_SESSION array is empty isempty() = 1.  Is this because I am initiating a new session using file_get_contents and the values I stored in the $_SESSION on login are not available to me within there?  --> Thanks for the feedback. It makes sense that the new call doesn't have access to the existing session...  New problem though:  I now get: failed to open stream: HTTP request failed! When trying to execute:  $opts = array('http' => array('header'=> 'Cookie: ' . $_SERVER['HTTP_COOKIE']."\r\n")); $context = stream_context_create($opts); $contents = file_get_contents($base_url.'admin/send.sms.php?order_id='.order_id, false, $context);   YET, the URL works fine if I call it as: (It just doesn't let me access session)  $result file_get_contents($base_url.'admin/send.sms.php?order_id='.$order_id);


Force Transfer Between two bodies linked by a rope

When two bodies, free of movement, are linked by a physical constraint (a maximum distance between them) how do their masses and velocities influence each other? Which formula with theses parameters gives the force applied by one of the two on the other?  For example : I have two box (grey and red) that are next to each other attached by a rope of maximum length L, the grey one jump following the yellow curve C and i'm trying to get the equation to find the force applied to the red box when the distance between the boxes reach L. V is the velocity when the gray box reach the red circle. It would probably split into the radial force and the tangential force depending on the angle. I guess the answer would probably work for every position on the red circle.  I tried to read about pendulum but there was only the gravity taken into consideration, and it kinda felt like the tension was vertical. There might be an answer for me in one ticket but i just couldn't find it.


Is it possible to remove a terminal command? For example, if there was a command call lookup (not an alias), how would I go about removing it?


What is the default bibliography package and backend in LaTeX?

According to , biblatex and natbib are packages while biber and bibtex are backends. If I don't specify either any package or any backend, it still compiles fine. Which package and backend combination is being used in this case?  demo.tex  \documentclass{article} \begin{document}  \nocite{*} \bibliographystyle{ieeetr} \bibliography{pub}  \end{document}   pub.bib  @article{janssen1996evaluation,     title={Evaluation of the DNA fingerprinting method AFLP as a new tool in bacterial taxonomy},     author={Janssen, Paul and Coopman, Renata and Huys, Geert and Swings, Jean and Bleeker, Marjo and Vos, Pieter and Zabeau, Marc and Kersters, Karel},     journal={Microbiology},     volume={142},     number={7},     pages={1881--1893},     year={1996},     publisher={Soc General Microbiol} }  @article{vos1995aflp,     title={AFLP: a new technique for DNA fingerprinting},     author={Vos, Pieter and Hogers, Rene and Bleeker, Marjo and Reijans, Martin and Van de Lee, Theo and Hornes, Miranda and Friters, Adrie and Pot, Jerina and Paleman, Johan and Kuiper, Martin and others},     journal={Nucleic acids research},     volume={23},     number={21},     pages={4407--4414},     year={1995},     publisher={Oxford Univ Press} }


'SyntaxError: EOL while scanning string literal' while trying to save file name as argument from command line

I'm trying to save a file called 'save_as' as an argument from the command line.  import os.path  script, file1, save_as = argv  ...snip...  full_path = os.path.join(r "C:\Users\User\Desktop\Folder_Name\", save_as)   Getting error - SyntaxError: EOL while scanning string literal  Any ideas?


Transiting in KL on tickets bought separately

My three children who are studying in Manila are planning to visit home in Sri Lanka in June. We are all Sri Lankan passport holders.  Since the airline that's best for us does not have a sector for one booking, the children will have to check out and check in their luggage in Kuala Lumpur.  In order to check out and check in luggage they will have to go through immigration. Do they need to have some kind of a transit visa?


how do i prevent ubuntu from starting GUI automaticaly?

i am looking for a way to start my GUI manually when ubuntu loads something like back-track which you login in first using command-line then type startx then GUI starts to running


I have an option clash between package xcolor and another package, but I don't know which. Here is my MWE  \documentclass[10pt]{beamer} \setbeamertemplate{navigation symbols}{} \usepackage{caption} \usepackage{subcaption} \usepackage{url} \usepackage{color} \usepackage[usenames]{xcolor}  \author{The author} \title{Package conflicts} \date{October 3rd, 2012}  \begin{document}  This is supposed to be \textcolor{olivegreen}{olivegreen} \end{document}   And the error message is :  This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) entering extended mode (./error_xcolor.tex LaTeX2e <2009/09/24> <blablabla> ! LaTeX Error: Option clash for package xcolor.   I hope this is enough log for you guys. At this time of the day, I'm hoping for America to save my french ass ... again : )


Generating a random Color distinct enough to another

I'm willing to generate random Colors in Java (using any constructor), but I need them to be not too close to another visually speaking. A variable influencing how close is acceptable would be perfect.  RGB comparison doesn't seem to be quite efficient, according to how our eyes work. I don't want a fixed list either.  Would HSV or HSB work great there ?  Thanks for helping !  Edit : More specifically, I need to display a certain amount of Squares (1 to ~20+) which all need to have distinct Colors that couldn't be confused. I don't want a List (even a big one) because this is what I'm already using, despite having better.


In this example month names are printed in English even the babel package is loaded with French language.  \documentclass{article} %\usepackage[pdftex,active,tightpage]{preview} %\setlength\PreviewBorder{2mm} \usepackage[frenchb]{babel} \usepackage{pgfgantt} \usepackage{lscape}    \begin{document}      \begin{landscape}          \begin{tikzpicture} % optional             \begin{ganttchart}[x unit=2.5mm, time slot format=isodate]{2014-04-28}{2014-07-11}                 \gantttitlecalendar{month=name} \\                  \ganttbar{Task 1}{2014-04-28}{2014-05-10} \\              \end{ganttchart}         \end{tikzpicture}     \end{landscape}  \end{document}   Babel is not working with pgfgantt?


Natbib sorting and citation order by appearance

I've started writing my thesis using LaTeX (as recommended by the school) and as a complete novice at it, I've been stuck trying to figure out how to change the citation by order of appearance.  I'm using the natbib package and a custom bibliography style that I found on the net, with my referencing going by the author-year (John et al., 2005) style as opposed to numeric [1,3]. I have done some searching but most of my results come up with people using the numeric system and being a complete beginner at this, I have yet to tinker around with something that works.  The citation I have currently looks like this: (Frank et al., 2005; John et al., 2002; Matthew, 2008)  I would like to sort it by year or turn off sorting so it will show up in the order I type it in the document.  E.g.: (John et al., 2002; Frank et al., 2005; Matthew, 2008)    The citing and bibliography itself are perfect, I'm only concerned with the citation order being unsorted (or sorted by appearance in the document), as currently it is sorting everything alphabetically by name. So my question is, how would one achieve sorting the references in the citation by appearance (or turning off alphabetical sorting) using natbib and a customized bibliostyle? And if that is not possible, could someone point me in the right direction on obtaining a similar effect?  Thank you in advance for your time and help.