localhost phpmyadmin displaying only codes

I have installed apache2 , php7.2.5 and mysql-server and also install phpmyadmin. Apache2 , php and mysql are running well. But when i try to run phpmyadmin , it displays a bunch of code in the browser.  Looks like this:  <?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /**  * Main loader script  *  * @package PhpMyAdmin  */  /**  * Gets some core libraries and displays a top message if required  */ require_once 'libraries/common.inc.php';  /**  * display Git revision if requested  */ require_once 'libraries/display_git_revision.lib.php'; require_once 'libraries/Template.class.php';  /**  * pass variables to child pages  */ $drops = array(     'lang',     'server',     'collation_connection',     'db',     'table' ); foreach ($drops as $each_drop) {     if (array_key_exists($each_drop, $_GET)) {         unset($_GET[$each_drop]);     } } unset($drops, $each_drop);   Help me to fix this problem. Thanks


I'm doing magnification and lens in class currently, and I really don't get why virtual and real images are called what they are.  A virtual image occurs the object is less than the focal length of the lens from the lens, and a real image occurs when an object is further than focal length.  By why virtual and real? What's the difference? You can't touch an image no matter what it's called, because it's just light.


Why are the IV (constant) values fixed for HMAC/SHA?

Why do HMAC/SHA IV's have a fixed value? I refer to the arbitrary H constants which are included in the algorithm prior to any data being fed in.  Why aren't they exposed to the user, so one can decide on an IV and modify it accordingly (for example, in java they are provided at hash function specification, instead of being supplied by the user at init)?  How does modifying these IVs affect the algorithm?


I have Ubuntu 12.04 and I am unable to install install antivirus software. Help me to install the software.


running script at specific times without using cron

I'm trying to run a shell script in (#!/bin/sh in HP-UX) on exact times(hh:mm:ss) hh:05:00 .. hh:10:00 .. hh:15:00 .. hh:20:00 .. hh:25:00 and so on. I understand this could be done using cron but I'm looking for another way to do this.  Adding: watch/repeat are not supported


Starting with bash: -lt and -gt arguments

I'm starting with bash and I found the following:  if test $first -lt $second then   echo $first is lower than $second else   if test $first -gt $second   then     echo $first is higher than $second   else     echo $first and $second are equals   fi fi   For reading the script and executing it, I know what it does, but not what -lt and -gt are for.  Can somebody tell me what is the name of that kind of 'tool' and what they(-lt and -gt) do? Thanks!


Prove that exists $x_0 \in (a, b)$ such that $|f''(x_0)| \geq \frac{4}{(b-a)^2}|f(b) - f(a)|$

Let f is twice differentiable on $[a, b]$ and $f'(a) = f'(b) = 0$ I just wanted to prove that exists $x_0 \in (a, b)$ such that $|f''(x_0)| \geq \frac{4}{(b-a)^2}|f(b) - f(a)|$ I tried to use Taylor series (with Lagrange remainder) for n+1=2 and to find some dependencies from it, but could't get any profit. Also tried Peano's remainder, but could't get any bounds for o-notaton. My third idea was to analyse some graphical data (right one looks like angular coefficient), but nothing got. Maybe you can give me some more ideas for this question?


Have I actually found a real bug in PostgreSQL?

Table structure: CREATE TABLE dblog_query_strings (     id          bigserial,     query_string        text NOT NULL,     PRIMARY KEY     (id),     UNIQUE          (query_string) )  CREATE TABLE dblog_file_paths (     id          bigserial,     file_path       text NOT NULL,     PRIMARY KEY     (id),     UNIQUE          (file_path) )  CREATE TABLE db_log (     id          bigserial,     logged_at       timestamptz NOT NULL DEFAULT now(),     query_string_id     bigint NOT NULL,     file_path_id        bigint NOT NULL,     seconds         numeric,     PRIMARY KEY     (id),     FOREIGN KEY     (query_string_id) REFERENCES dblog_query_strings (id) ON UPDATE CASCADE ON DELETE CASCADE,     FOREIGN KEY     (file_path_id) REFERENCES dblog_file_paths (id) ON UPDATE CASCADE ON DELETE CASCADE )  The application code, which is indeed run at the same time by many different scripts: $query_string = 'test query string'; $file_path = 'test path'; $seconds = 0.00065708160400391; dbcall('INSERT INTO dblog_query_strings (query_string) VALUES ($1) ON CONFLICT DO NOTHING', $query_string); dbcall('INSERT INTO dblog_file_paths (file_path) VALUES ($1) ON CONFLICT DO NOTHING', $file_path); dbcall('INSERT INTO db_log (query_string_id, file_path_id, seconds) VALUES (     (SELECT id FROM dblog_query_strings WHERE query_string = $1),     (SELECT id FROM dblog_file_paths WHERE file_path = $2), $3)', [ $query_string, $file_path, $seconds ]);  The SOMETIMES logged error, for example right when I clear the database log: pg_query_params(): Query failed: ERROR:  null value in column "query_string_id" violates not-null constraint DETAIL:  Failing row contains (1, 2020-08-27 00:37:32.419107+02, null, null, 0.00065708160400391).  Analysis: The third INSERT sometimes gets nulls for its SELECTs, instead of the expected strings. This should be logically impossible, regardless of whether I run one script or 10,000 scripts in parallel, because even if the other scripts INSERT at the same time, and all but the first one fail, this is built into my mechanism, as you can see. The first two queries simply INSERT values if they don't exist. It thus doesn't matter how many concurrent scripts are being run. By the time the third and final INSERT is executed, the table is guaranteed to have those values in it. Yet this is clearly not always the case! But I don't see how that is possible. At this point, I'm 99% convinced that I've somehow hit a bug in PostgreSQL, but I'd much rather have this be a mistake/confusion by me. I don't see any way which in which the third INSERT can possibly ever get null values from those SELECTs, given that the queries before make sure that the values exist, prior to it being executed. They are not "asynchronous" but executed sequentially, one by one. I've tried it like this and as a single transaction. Nothing helps from the dreaded "magical" race conditions or whatever is really happening here. This is how I "clear the log": dbcall('BEGIN'); dbcall('TRUNCATE TABLE db_log RESTART IDENTITY CASCADE'); dbcall('TRUNCATE TABLE dblog_query_strings RESTART IDENTITY CASCADE'); dbcall('TRUNCATE TABLE dblog_file_paths RESTART IDENTITY CASCADE'); dbcall('COMMIT');  While that transaction is being executed, tons of scripts are doing the INSERTs, but this doesn't matter since they will either see the old tables or completely empty ones... right? So how can I get errors still?


Use of verb to give is used alone or with preposition "to"?

Why is it that when I say "I will give this book to my daughter",  I am using the verb "give" and the preposition "to", but "to" is not used in the following: "What kind of names do people in your culture give pets?"


How much, and what kind of, advance planning is appropriate for a sandbox campaign?

New GM attemping to get ideas for a campaign down something similar to a tabletop fallout game.  How much info is too much info for general prep? Can there ever be too much? Or is there a general balance between the GM's plans and the PC's being PC's. Level differences aren't too big a deal in the game I'm running (All Flesh Must be Eaten) but they can happen. Do I want to specify everything in the room and say how things are meant to be used if they find them? or allow more creativity on their part.  eg: Going with an "If it's reasonable for it to be there approach let it be there" or "I didn't say specifically anything interactable was there, so you can't use it."


I have a C++.NET app and a C#.NET app. I would like them to communicate via shared memory.  How is it possible in .NET version 2.0 ?  Mainly want to share a queue object.


Sum of irreducible character values in a row of the character table

If $\chi$ is a nontrivial irreducible character of $G$ (a finite group), define $S_{\chi}:= \sum_{x \in G} \chi(x)$. In terms of conjugacy classes $\mathcal{C}$, this is $\sum_{\mathcal{C}} |\mathcal{C}| \chi(\mathcal{C})$. Is there a nice condition that guarantees $S_{\chi}=0$?  I've noticed that this occurs, for instance, with $S_5$. I'd love a description of this phenomenon and a proof, if possible.


I have always wondered whether it was possible to define some sort of "relative" transparency in TikZ. What do I mean?  Sometimes, you want a node to be filled in order for its content to be readable among lines and shapes. Now, imagine you have a TikZ picture on some shaded background. It would be great if one could specify that the node should be opaque with respect to the rest of the picture (or the scope), but stay transparent with respect to the background defined outside.  \documentclass{article}  \usepackage{framed,xcolor,tikz} \definecolor{shadecolor}{gray}{.85}  \begin{document}  \begin{shaded}    \begin{tikzpicture}       \draw (0,0) --node[fill=shadecolor] {a} (5,0);    \end{tikzpicture} \end{shaded}  \end{document}   In the above situation, it is possible to use shadecolor, because this is how the shaded environment works. I would like to know whether a more general solution exists, e.g. one that works in situations where you cannot find out the background color of the surrounding environment.   Updated information  I will try to state things a bit clearer. I often use TikZ for geometric figures and/or plots. Then, sometimes you have lines running through a coordinate label. In most cases, it is enough to slightly change the figure, e.g. by moving the label to a different anchor or even adapt some angle and thus have the line just miss the label.  However, in some cases, there is no other way than to put the label in a filled node with an inner sep of 1 or 2 points, so that it stands out among all other stuff. The main problem is that I have to use the background color to fill my node, normally this is white, but sometimes it might be some gray color.   The example I included is very easy, just to illustrate the problem. In this simple case, I could, of course, just draw the line in two pieces. In a normal use case, this is not possible.  So another way of saying it: I would love to draw the figure just as if there was a white background, using fill=white for such nodes. And then, after all is finished, I could say that all white stuff becomes transparent, so that the gray (or whatever) background shines through.  Using percusse's solution with transparency groups, it is not possible to achieve what I am looking for. The whole scope becomes partially transparent, so the line is not black anymore and the background is still lightened up. I would want the line to stay completely black and the node fill to be completely invisible.


Please help me explain how raw shooting can help me based on a contrived example

I'm a beginner, I have a Nikon D5100 with the DX 35mm f/1.8 lens. I made a close-up photo, deliberately way too underexposed, in RAW+JPEG fine format. Here are the files:   and   I opened the files in RawTherapee, and I noticed two things.  First, the perspective in the two files is not the same. Lens correction is turned on in the camera (with the most up-to-date data from Nikon), and I'm guessing the JPG was lens corrected and the NEF wasn't (I really couldn't tell which one is corrected just by looking at the photos though). It seems to me that RawTherapee doesn't come with any lens correction profiles by default, I tried searching for no more than 5 minutes and couldn't find any. So from my point of view, raw seems to be the worse option, because I need to get lens correction profiles somehow (or maybe use Lightroom or something that has it by default), while the camera does it magically when shooting in JPG.  Second, if you adjust the exposure, then as I suspected, NEF has a little more bit depth than the 8 bits of JPG, which can be seen on the camera battery charger on the left for example. But with the exposure adjustment, the raw picture seems to have way more noise than the JPG. So at least in this example, I can't use the extra bit depth because it also brings out a lot of noise, but this may just be a problem with my example.  Based on this example, or if this photo wasn't deliberately underexposed, or any other example really, how do you think raw shooting can help a non-professional person? How much improvement does it give above the camera defaults, how much effort does it take to learn and do the manual RAW->JPG editing, etc? Also, how much better does it get if I buy a professional software like Lightroom?


Cannot open the update manager or software centre in ubuntu 12.04

I get the following message:   An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: 'E:Type 'b-src' is not known on line 2 in source list /etc/apt/sources.list.d/cdemu-ppa-precise.list'


Keyboard shortcut to lock the keyboard, without locking the screen?

My cat keeps walking over my keyboard.  Is it possible to  with a keyboard short cut but leave the screen running and all apps visible?


Can you cast a spell you know from one class as if it was a spell from another?

Bards can use a musical instrument as a spellcasting focus for bard spells.  If I have levels in both the Bard and Sorcerer classes, a musical instrument to use as a spellcasting focus, no access to an arcane focus, and a known Sorcerer spell that also appears on the Bard spell list but needs a material component (such as Invisibility), can I cast the Sorcerer spell as if it was a Bard spell? Since it is a Bard spell, I know it, and I have a spellcasting focus for it.


In Python if you have a list:  list = [ cow , dog , cat ]   Is it possible to find what index an element is at?  Is there a command which does something like:  {some code}(cow)   and have it say something like cow = 0?


Since the new update, it is impossible on my cell phone to swipe the list of questions to the left. I can swipe right on questions that were previously scrolled over, but I can't go back again.   This is happening in the main question feed, on a Oneplus One


How to redeem an American Airlines voucher?

Recently I traveled with American Airlines. I had a bad experience as I felt they were terribly outdated, so I complained with their customer service, who, ironically, gave me a paper voucher that I can redeem on my next flight.  Now... seems like this paper voucher that looks like a plane ticket can't be used while booking online, is that true?  How I can redeem it? I read somewhere that I have to do a phone reservation and then mail the voucher. Really? That's so outdated


I was in dual-boot. using Ubuntu and Windows I have recently re-installed windows, now I'm having troubles with boot. It is always booting with windows, it's not showing options to choose between win and ubuntu (it starts to win automatcally). I am using ubuntu 16.04  How can I fix it?   Thank you.


Deadline For PhD offer while waiting for other results

I have been offered a PhD position with full funding from my backup university, however they gave me a deadline of April 5th to either accept or decline their offer. I am still waiting for replies from other more prestigious universities. What should I do?


What does -1 mean in glm model specification mean?

I am working through Applied Longitudinal Data Analysis: Modeling Change and Event Occurence by Singer and Willett, using the R code supplied . I am working through Chapter 11, on fitting discrete-time hazard models, and came across this model specification.   model <-glm(event~factor(period) + pt + pas - 1, family="binomial", data=firstsex.pp)   Which yields this output:  Call: glm(formula = event ~ factor(period) + pt + pas - 1, family = "binomial",      data = firstsex.pp)  Deviance Residuals:      Min       1Q   Median       3Q      Max   -1.1787  -0.6182  -0.4338  -0.2836   2.7862    Coefficients:                  Estimate Std. Error z value Pr(>|z|)     factor(period)7   -2.8932     0.3206  -9.024  < 2e-16 *** factor(period)8   -3.5848     0.4230  -8.474  < 2e-16 *** factor(period)9   -2.1502     0.2775  -7.750 9.20e-15 *** factor(period)10  -1.6932     0.2646  -6.398 1.58e-10 *** factor(period)11  -1.5177     0.2757  -5.504 3.71e-08 *** factor(period)12  -1.0099     0.2811  -3.592 0.000328 *** pt                 0.6605     0.2367   2.790 0.005266 **  pas                0.2964     0.1254   2.364 0.018089 *   --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  (Dispersion parameter for binomial family taken to be 1)      Null deviance: 1139.53  on 822  degrees of freedom Residual deviance:  629.15  on 814  degrees of freedom AIC: 645.15  Number of Fisher Scoring iterations: 5   I am familiar with logistic regression but have never encountered the -1 in a glm model specification before. The interpretation of the regression coefficients in the book seems to be exactly the same as it usually would be.   I am finding it difficult to obtain any online examples where it is used. What does this -1 mean? Is it something unique to survival analysis?


How to interpret the question: "How many elements from the set $\mathbb{Z}/42\mathbb{Z}$ satisfy $x^2=x$?"

I simply don't understand the question. Doesn't $\mathbb{Z}/42\mathbb{Z}$ consist of $42$ subsets? (Namely $\{0,42,84,\cdots\}, \{1,43,85,\cdots\}, \cdots, \{41, 83, 125, \cdots\}$) And then how would you square an entire subset? New to this website so if I did anything wrong please tell me.


Accompany my husband for his Business trip in Schengen

I will accompany my husband in the Schengen Area for a business trip. I will apply as a tourist. Does my husband need to create a Cover letter? Stating he will accompany me and he will cover all expenses..  Also, one of the requirements is a bank certificate. Can I just provide my husband's bank certificate? Because I am only a housewife and I don't have one. I am just relying on him.


How does mass leave the body when you lose weight?

When your body burns calories and you lose weight, obviously mass is leaving your body.  In what form does it leave?  In other words, what is the physical process by which the body loses weight when it burns its fuel?    Somebody said it leaves the body in the form of heat but I knew this is wrong, since heat is simply the internal kinetic energy of a lump of matter and doesn't have anything do with mass.  Obviously the chemical reactions going on in the body cause it to produce heat, but this alone won't reduce its mass.


Getting a count of list items in a list via ECMAScript

I have a SharePoint 2010 web site with a master page that has a counter on it. I'm trying to update that counter using the ECMAScript. The code I have falls nicely into the success method - but I cannot find the right call to get a count. I have tried length, length(), count & count(). Does anybody have any suggestions?  I have the code working, but only by enumerating through the results of the list and incrementing a count.  This is what I have so far, as an example:-  <script type="text/javascript">     var clientContext = null;     var web = null;     ExecuteOrDelayUntilScriptLoaded(Initialize, "sp.js");     function Initialize()     {         clientContext = new SP.ClientContext.get_current();         web = clientContext.get_web();         var list = web.get_lists().getByTitle("Absences");         var camlQuery = new SP.CamlQuery();         var q = "<Where><Eq><FieldRef Name='StatusID' /><Value Type='Integer'>1</Value></Eq></Where>";         camlQuery.set_viewXml(q);         this.listItems = list.getItems(camlQuery);         clientContext.load(listItems, 'Include(Id)');         clientContext.executeQueryAsync(Function.createDelegate(this, this.onListItemsLoadSuccess),          Function.createDelegate(this, this.onQueryFailed));     }     function onListItemsLoadSuccess(sender, args) {         var count = 0;         var listEnumerator = this.listItems.getEnumerator();         //iterate though all of the items         while (listEnumerator.moveNext()) {             count = count + 1;         }          $('#spnNumberOfAbsences').text(count);     }      function onQueryFailed(sender, args) {         alert('request failed ' + args.get_message() + '\n' + args.get_stackTrace());     } </script>


t-test for partially paired and partially unpaired data

An investigator wishes to produce a combined analysis of several datasets.  In some datasets there are paired observations for treatment A and B.  In others there are unpaired A and/or B data.  I am looking for a reference for an adaptation of the t-test, or for a likelihood ratio test, for such partially paired data.  I am willing to (for now) to assume normality with equal variance and that the population means for A are the same for each study (and likewise for B).


Limit a mesh so it doesn't collide with or enter another mesh?

I'm wondering if it's possible to limit a mesh so it doesn't collide with another mesh. I'd like to be able to move a mesh around the 3D view and have it stop moving along that axis when it touches another mesh (of my choosing, preferably). Is this possible?


Short story about a delegation of aliens coming to earth seeking help (published 1980 or so)

A group of aliens come to earth in desperation as their federation of worlds is under attack by a powerful invading species. In the distant past the earthlings were a powerful race that was spreading out too fast so the aliens pushed them back and placed force field around earth to contain the violent earthlings. The aliens are disappointed as first as it seems that the earthlings have devolved to a simple farming planet.  Later it is revealed that the simple life is a ruse and that the humans have developed to an insane and powerful degree. They agree to effortlessly destroy the invaders but now the delegation wonders what will happen to them.


If $a $ divides $b$, then $(2^a-1) $ divides $(2^b-1)$

Prove that if $a \mid b$, then $(2^a-1) \mid(2^b-1)$.   So, I've said the following:   Let $a  \mid b$. $ \implies b=am$ Assume $(2^a-1) \mid (2^b-1)$ $ \implies (2^b-1)=(2^a-1)x$   But I can't figure out what to do with any of this from here forward.


Does anybody know how to only label features of a shapefile that are inside of another shapefile's features used as coverage in Atlas?


I found system of equations on internet, I want to practice math and to solve it.   All $x$,$y$ and $z$ are integers.  $$\begin{cases} x+y+z=3 \\ x^3+y^3+z^3=3 \end{cases} $$  Should I start by watching all combinations that sum up to 3, please give me some hint to start.


Why, microscopically, is the voltage drop across a resistor affected by the current through it?

If voltage is a potential difference, describing how much energy will be lost per unit charge as charge carriers pass through the resistor, why would the rate at which charge flows (i.e. current, $=dq/dt$) affect the amount of energy lost per unit charge?  I suppose I am asking why a quasi-"extensive" property of the system (current) would affect a quasi-"intensive" property of the system (voltage drop across the resistor).  Apologies if the answer is obvious; I was having trouble understanding why the rate of charge flow would factor into voltage drop whilst trying to rationalize Ohm's law for myself.


Since we spent so many hours reading text and code in this site, could we somehow customize the colors of the site?  Maybe give the possibility to anyone make their own themes. It's undeniable that in a few weeks there will be some very good themes available, and some dark themes with low contrast will make reading easier.


How can I export object's field schema information to excel?

How can I export the fields of an object from Salesforce into an Excel sheet? I'm only looking for the field schema information, not the objects records.


we know these properties of exponentiating $$x^bx^a=x^{a+b}$$ $$(x^a)^b=x^{ab}$$ Now, I've been introduced to complex numbers and this amazing formula: $$e^{ix}=\cos{x}+i\sin{x}$$ Take $x=2k\pi,k\in Z$ to get $$e^{2k\pi i}=1=e^0$$ which would then imply that $\forall k\in Z:2k\pi i=0$ which kinda doesn't make sense to me. Another thing is... Take a fourier transform of the function given by (taken from ) $$\hat{f}(\xi)=\int_{-\infty}^{\infty}f(x)e^{-2\pi ix\xi}dx$$ All this stuff involving $e^{2k\pi i}$ are kinda confusing to me. One could say the following: $$e^{-2\pi ix\xi}=(e^{-2\pi i})^{x\xi}=1^{x\xi}=1$$ which kinda doesn't make sense, does it? Why would one include the term $e^{-2\pi ix\xi}$ in a formula then. Could someone explain me, what is actually going on and when these basic properties of exponentiation are valid?


Cycles Gradient Texture node: Why "Linear" is not linear on a "default" plane?

I want to render a plane with a linear gradient texture that can be rotated as needed.  I've set up a basic working node network as shown:   I can rotate the gradient using the Mapping Node - > Texture -> Rotation.Z coordinate, however the rendered gradient is always logarithmic rather than linear:      This is the true linear gradient that I am looking for:    I've played around with the scale and location vectors but they have no impact on the linearity of the gradient.  Here's my scene (1 plane, 1 sun lamp, orthographic camera):    A similar question was asked a while ago  but no real answer was given.  Any suggestions would be appreciated.    [Update]  It seems this may be due to the Color Management applied by Cycles.  I'm using Cycles because as I believe you can't rotate gradients (blends) in BI.  If this is not right, please let me know.  I'm really just trying to determine if it is possible in Blender to render 2D shadow mask planes using true linear gradients. I alrteady have 3D geometry that the masks need to fit perfectly against, so I extruded edges from these objects to create new 2D planes. [End Update]


I use XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/W32TeX).  I am using the crop package to add bleed and crop marks to a document. This works fine for pages with white background, but how do I achieve this for pages which have another colour in the bakckground?  I tried the pagecolor package, and see that it somehow extends the pagecolour to around 2 to 3 mm into the bleed but not beyond. How do I make the entire bleed region of the same colour as the page?  \documentclass[12pt]{article} \usepackage[dvips=false,pdftex=false,vtex=false,paperwidth=138mm,paperheight=216mm]{geometry} \usepackage[noaxes,noinfo,cam,dvips,pdftex,center,width=168mm,height=246mm]{crop} \usepackage{xcolor} \usepackage[english]{babel} \usepackage{blindtext} \begin{document} \pagecolor{orange} \blinddocument \end{document}


Import After Effects Camera Motion into Blender?

I just got Adobe After Effects CC with Cinema 4D lite.  I use Blender for 3d animation and I don't want to switch to C4D. Is there any way to export After Effects camera movement to Blender?


"be accorded someone" or "be accorded to someone"?

When the verb accord means "give or grant", should the passive voice be accorded someone or accorded to someone?  I came across several sentences in a book:     The attention accorded husband-wife relations in Muslim teachings thus confirmed the indigenous view of matrimony as a desirable state, with the birth of children considered essential for the full attainment of adulthood.      Similar processes occurred in Daoism, which percolated into Vietnam from southern China but never received the official patronage accorded Confucianism.   Shouldn't it be "accorded to husband-wife relations", as "given to husband-wife relations"?


A phrase for "to get heavily involved in something"

I'm looking for a phrase or an idiom meaning "to get heavily involved in something" or "to become passionate about something" where "something" could be a hobby, lifestyle, a music genre etc.  One possibility would be simply "to get into something" but this doesn't seem to convey being passionate about the thing in question. Another one is "to get sucked into something" but a Google search indicates that this tends to mean "to get involved in something against one's will" which is not what I am after.


How to express the condition in permutation formula.

I have a very basic and conceptual doubt regarding the function of the permutation formula. I am going to ask them through some examples in which I applied them and could not proceed.  The first basic thing is that let us say I have four dice and I want two of my dice to show exactly $3$ and the rest can show any number except $3$.  Now my line of thought was that we fix two places where we fill in $3$ and the rest two places can be filled in $5$ ways each. the first die can show in $5$ ways, the second can also show $5$ ways, the third and fourth can show in $1$ ways each, so the total number of arrangement should be $5 \cdot 5 \cdot1 \cdot 1$. My first doubt is - Does this thing need arrangement and rearrangement or is this automatically arranged? If not then how do I write it using the permutation formula so that the direct result which comes out is automatically arranged and I don't need to look for ways to arrange it.


I'm trying to cite with biblatex on WinEdt. Unfortunately, it doesn't work. Here's the code:  \documentclass{article} \usepackage[backend=biber, bibencoding=latin1]{biblatex} \addbibresource{C:/citations/library.bib} \begin{document} fsdfsd \textcite{Organski1958}  \printbibliography \end{document}   Output:     fsdfsd Organski1958   There is no reference list and the citation has no separation between author name and year.  I'm not sure why this is and would appreciate your help very much!


Is "Darth Maul: Son of Dathomir" part of the Star Wars canon?

I found  that describes the fate of Darth Maul after his last appearance in the Clone Wars cartoons. It claims to be canon, although no source is cited, and I cannot be sure if the video title is the name of the source.   Can someone verify for me whether this really is what it says it is, and whether it's genuinely part of the Star Wars canon?


Which group is meant by $\mathbb Z/2 \times \mathbb Z/2.$

There is a question in my  (Q. No. 11 - Part B) which tells to verify whether      The automorphism group $\text{Aut} (\mathbb Z/2 \times \mathbb Z/2)$ is abelian.   I don't understand which group is meant here by $\mathbb Z/2 \times \mathbb Z/2?$ Is it $\mathbb Z_2\oplus\mathbb Z_2?$


Assume $0 < \beta < \gamma \le 1$. Prove the interpolation inequality $$\|u\|_{C^{0,\gamma}(U)} \le \|u\|_{C^{0,\beta}(U)}^{\frac{1-\gamma}{1-\beta}} \|u\|_{C^{0,1}(U)}^\frac{\gamma-\beta}{1-\beta}.$$   From PDE Evans, 2nd edition: Chapter 5, Exercise 2  I would love to employ Hölder's inequality which can easily justify this inequality. But Hölder's inequality requires $u \in L^p(U), v \in L^q (U)$. Instead, this problem has $u \in C^{0,\beta}(U) \cap C^{0,1}(U)$.  The textbook gives the definition of  \begin{align} \|u\|_{C^{0,\gamma}(\bar{U})} &:= \|u\|_{C(\bar{U})}+[u]_{C^{0,\gamma}(\bar{U})} \\ &= \sup_{x \in U} |u(x)|+\sup_{\substack{x,y \in U \\ x \not= y}} \left\{\frac{|u(x)-u(y)|}{|x-y|^\gamma} \right\} \end{align}  All I know so far is that, given $0 < \beta < \gamma \le 1$ ...   If $|x-y|<1$, then $\frac 1{|x-y|^\gamma}<\frac 1{|x-y|^\beta}$, which means $\|u\|_{C^{0,\gamma}(U)} < \|u\|_{C^{0,\beta}(U)}$. If $|x-y|\ge 1$, then $\frac 1{|x-y|^\gamma}\le \frac 1{|x-y|}$, which means $\|u\|_{C^{0,\gamma}(U)} \le \|u\|_{C^{0,1}(U)}$.


It says bash: cannot create temp file for here-document: No space left on device   Following the space distribution:   Filesystem      Size  Used Avail Use% Mounted on  udev            3.9G     0  3.9G   0% /dev  tmpfs           787M  9.8M  777M   2% /run  /dev/sda9        19G   18G  8.0K 100% /  tmpfs           3.9G  172K  3.9G   1% /dev/shm  tmpfs           5.0M  4.0K  5.0M   1% /run/lock  tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup  cgmfs           100K     0  100K   0% /run/cgmanager/fs  tmpfs           787M   36K  787M   1% /run/user/1000   How to resolve it ?


Can LyX automatically save the PDF output in the same folder in Windows 10?

I'm using LyX version 2.3.5.2 on Windows 10. When I click on the "Update" icon, I would prefer for the PDF output to go to the same directory as the LyX file instead of a temporary directory.  Is this possible? Note: This is not a duplicate of the similar question at .  That question applies to Mac OS.


Swipe in which direction to get to the next newest article?

I'm working on iPad and mobile app and want to add the option to swipe the article to get the next one. In order to get newer article what should be the direction of the swipe?


If $\forall \mathcal F(\bigcup \mathcal F = A \Rightarrow A \in \mathcal F)$ then A has exactly one element

While working through Velleman's How To Prove It, I came across the following problem. Is my proof correct?   Suppose $A$ is a set, and for every family of sets $\mathcal F$, if $\bigcup \mathcal F = A$  then $A \in \mathcal F$. Prove that $A$ has exactly one element.  Proof. Existence: Suppose $A = \emptyset$. Then in particular, taking $\mathcal F = \emptyset$,  we can conclude that if $\bigcup \emptyset = \emptyset$ then $A \in \emptyset$. Since $\bigcup \emptyset = \emptyset$, it follows that $A \in \emptyset$, which is clearly a contradiction. Thus $A \neq \emptyset$.  Uniqueness: Now suppose there are $x \in A$ and $y \in A$ such that $x \neq y$. Let $\mathcal G = \{ \{x\}, \{y\}, A \setminus \{x,y\} \}$. Then in particular, taking $\mathcal F = \mathcal G$, we can conclude that if $\bigcup \mathcal G = A$ then $A \in \mathcal G$. Clearly $\bigcup \mathcal G = A$, so $A \in \mathcal G$. But this is a contradiction since $A \neq \{x\}$, $A \neq \{y\}$, and $A \neq A \setminus \{x,y\}$. Thus for all $x \in A$ and $y \in A$, $x = y$.


zero degree fahrenheit vs zero degrees fahrenheit

The frozen foods are kept at zero degree fahrenheit.      The frozen foods are kept at zero degrees fahrenheit.   Which one is correct?  Which i use degree or degrees as adjective ?


Please make the data SE to handle the logins so smartly as the other sites do

If I log in into the data SE, it always forgets my login credentials. I have to log in again and again.  I think, the feature is available in the other SE sites, and maybe it wouldn't be very hard to import it into the data SE code as well.


Binding an Enum to a DropDownList in MVC 4?

I've been finding all over the place that the common way to bind Enums to DropDowns is through helper methods, which seems a bit overbearing for such a seemingly simple task.  What is the best way to bind Enums to DropDownLists in ASP.Net MVC 4?


Why can't I associate files with Excel after upgrading to 2010?

With Excel 2007 I was able to use Open With to associate TSV files with Excel, so that I could double-click on them and they would automatically open with each value in a different cell.  But since upgrading to Excel 2010, I can't select Excel as the program to use to open TSV files.  If I use Open With and browse to the Excel.EXE and click Open, Excel still isn't in the list of programs to choose.  If I select Excelcnv.EXE, then Excel shows up in the list, but I still can't open the file by double-clicking.    The best I've been able to do so far is open Excel first, then use it to open the TSV file, and then I have to do Text to Columns to break up the values.  But I really want to have Excel launch just by double-clicking the file.


Why do my Perl tests fail with use encoding 'utf8'?

I'm puzzled with this test script:  #!perl  use strict; use warnings; use encoding 'utf8'; use Test::More 'no_plan';  ok('áá' =~ m/á/, 'ok direct match');  my $re = qr{á}; ok('áá' =~ m/$re/, 'ok qr-based match');  like('áá', $re, 'like qr-based match');   The three tests fail, but I was expecting that the use encoding 'utf8' would upgrade both the literal áá and the qr-based regexps to utf8 strings, and thus passing the tests.  If I remove the use encoding line the tests pass as expected, but I can't figure it out why would they fail in utf8 mode.  I'm using perl 5.8.8 on Mac OS X (system version).


I do not get this --- int x = 0; int y = 2; int z = (++x, ++y);

int x = 0;  int y = 2;  int z = (++x, ++y);   I get that z is 3 because the value is taken from ++y, but why is ++y being chosen?


Launching a separate/stand-alone application from a bash script

I'd like to launch an executable file(application) from a bash script, exit the script, close the terminal and let the application run by itself. How can I do that?


Let $F:\mathbb{R}^d\rightarrow \mathbb{R}^d$, $F$ is continuously differentiable, and for any $x,y$ in $\mathbb{R}^d$, $||F(x)-F(y)||\geq||x-y||.$ Prove that $F(\mathbb{R}^d)=\mathbb{R}^d.$ Edit:I can prove $F$ is an injective function. But why is $F$ a surjective function?


How to get second directory name in the perforce file path?

I need to get the directory in the second column after depot. For example given the below file(s) list, I need "Directory2" as the output.  //depot/Directory2/Dir3/Dir4/Dir5/Dir6/Filename1  //depot/Directory2/Dir3/Dir4/Dir5/Dir6/Filename2


Is there a verb for making something more "exoteric"?

Does anyone here know of a suitable verb for making something "exoteric"? I am trying to find a word that adequately encapsulates "making an idea more accessible to the broader community." I like the adjective "exoteric" for this, but am wondering if there is a verb that can be used instead. (Note, I use "make accessible" quite a bit in this sort of situation, which is why I am looking for a succinct verb that I can use instead.)


How to make constraint permanent once disabled?

I have got a beautiful bone constraint:    I would like to be able to enable and disable this constraint without the bone reverting to the original position.  By default, the bone appears to return to it's original starting position when influence is set to 0 or visibility is set to off.  So, for example:   Constraint is "on" or "enabled" - bone follows Hand.L as expected Constraint is "off" - bone stays where it is at this exact moment and does not move.   I would like to be able to 'apply' the constraint without actually deleting the constraint, as I am intending to turn it on and off frequently during animation.


Are there any advantages of presta inner tube valves over schrader inner tube valves (or vice versa)?   Presta    schrader    I've always wondered why 2 exist. Apart from their radically different design I don't understand why you'd choose one over the other.


Does $\sum_{n=1}^{\infty} \sqrt[n]{3} - 1$ converge or diverge?   Hints please  I have that $0 \le \sqrt[n]{3}  - 1 \le 1$  Does this help?


I would like to let run my script on background on my server. I red about nohup. I have my script.py. I run it like this:  python3 script.py&   It runs on background even when I close terminal. The script write numbers to file /tmp/aaa.txt every second, started from 0. I disconnect from server and reconnect to it and sow that there is numbers over 3000 (over 50 minutes). So my question is, do I really need to use nohup? If yes/no why?  # hostnamectl                                                                                Static hostname: my-server                                                                                Icon name: computer-vm                                                                                Chassis: vm                                                                                Machine ID: XXXX                                                                                Boot ID: XXXX                                                                                Virtualization: vmware                                                                                Operating System: Ubuntu 16.04.3 LTS                                                                                Kernel: Linux 4.4.0-116-generic                                                                                Architecture: x86-64    My script script.py:  import time  i = 0  while True:   f = open('aaa.txt', 'a+')   f.write('Doing somethign: {0}\n'.format(i))   f.close()   i = i + 1   time.sleep(1)


Can gravitational waves escape from inside of black holes?

I understand that light cannot escape from inside of an event horizon because the spacetime curvature is too warped for photons to escape. On the other hand, gravitational waves are ripples of spacetime curvature itself (as opposed to light being IN the spacetime), so if there is some internal dynamical structures inside of blackholes (forget about no hair theorem for the moment) that produce gravitational waves, can those gravitational waves escape from inside of event horizon?


Non-trivial definition of logarithmic function

Prove that $$\log(t):=\lim_{n\to\infty}n(t^{1/n}-1),$$ for any $t>0$.


Is PCA followed by a rotation (such as varimax) still PCA?

I have tried to reproduce some research (using PCA) from SPSS in R. In my experience, principal()  from package psych was the only function that came close (or if my memory serves me right, dead on) to match the output. To match the same results as in SPSS, I had to use parameter principal(..., rotate = "varimax"). I have seen papers talk about how they did PCA, but based on the output of SPSS and use of rotation, it sounds more like Factor analysis.  Question: Is PCA, even after rotation (using ), still PCA? I was under the impression that this might be in fact Factor analysis... In case it's not, what details am I missing?


Why this double operation is not precise in Java?

public class Main{          public static void main(String[] args){             double value = 0.12;             double sum = value + value + value;             System.out.println(sum);         } }   output: 0.036000000000000004  why output is not 0.036 ? How I am getting the trailing 4 after a bunch of zeros ?


I cant imagine, what philosophers do in 21 centuary. My question is if is any hot topic in philosophy in these days?  Ps. i am so sorry if this tag is not right to my topic, but dont know which is the right one.


Micro SDHC card seems to be permanently stuck in read-only mode after using BalenaEtcher to install latest version of Kubuntu

I used BalenaEtcher and Flashed the latest version of Kubuntu (iso) from their site in order to put it on the raspberry pi 4, and it shows now as 2 partitions on my Micro SDHC: SD Card, and Kubuntu 20.10 amd64, and the flashing process supposedly succeeded. That isn't my problem, although it did not work for me on my raspberry pi. My problem is that I want to reformat it, but can't. I have switched the side of my adapter and reinserted it several times, with no luck. How can I make it writable, or more importantly, how can I reformat it? tl;dr: My Micro SDHC card is stuck in read-only. How do I fix this?


My professor did a differentiation in class and I don't see how he got this:  $$x=e^t \Rightarrow t=\ln(x) \Rightarrow \frac{dt}{dx} = \frac1x$$  $$\frac{dV}{dx} = \frac{dV}{dt}\cdot\frac{dt}{dx}=\frac1x\cdot\frac{dV}{dt}$$  $$\frac{d^2V}{dx^2}=-\frac1{x^2}\cdot\frac{dV}{dt}+\frac1{x^2}\cdot\frac{d^2V}{dt^2}$$


How can I assign actions to all my mouse buttons?

I have a mouse with lots of buttons, but it's not a mainstream make like Logitech. For Windows, I have a driver that lets me assign actions like close-window (Ctrl+W) or next-tab (Ctrl+Tab), but I don't have a Linux driver. Since Linux is so flexible, I thought perhaps there is a general way to do this, regardless of brand?  Update: Based on input from Cyrex, I installed and ran sudo apt-get install btnx which found several but not all mouse buttons. Found: left, right, wheel, wheelclick, thumb fwd, thumb back. Not found: wheel left, wheel right, thumb middle button. Vendor ID is 0x04d9, Model ID is 0xa015.  Update 2: In System>Prefs>Mouse there's a lightbulb icon for testing double-click speed. Every working button can turn the bulb on&off, but the missing buttons can't. It would seem that Ubuntu isn't aware of these buttons and thus doesn't register their clicks. I guess I need to hunt for a driver, though a mainstream mouse is probably the easier way.


Check if String starts with given characters regardless of upper case, lower case

So for input:   arrondissement d   I Should get output:   Arrondissement de Boulogne-sur-Mer Arrondissement Den Bosch   So it should give back both results. So in below code I've capitalized every first character of the word but this isn't correct because some words do not start with an upper case.  public ArrayList<City> getAllCitiesThatStartWithLetters(String letters) {     ArrayList<City> filteredCities = new ArrayList<>();      if (mCities != null) {         for (City city : mCities) {             if (city.getName().startsWith(new capitalize(letters))) {                 filteredCities.add(city);             }         }     }     return filteredCities; }  public String capitalize(String capString){     StringBuffer capBuffer = new StringBuffer();     Matcher capMatcher = Pattern.compile("([a-z])([a-z]*)", Pattern.CASE_INSENSITIVE).matcher(capString);     while (capMatcher.find()){         capMatcher.appendReplacement(capBuffer, capMatcher.group(1).toUpperCase() + capMatcher.group(2).toLowerCase());     }      return capMatcher.appendTail(capBuffer).toString(); }


I'm interested in what exactly happens "under the hood" when the following inline function is called in several translation units.   namespace some_name {     inline const float& get_float()     {         static const float a = 5.0f;         return a;     } }   My intention was to create an externally linked variable 'a', which can be used across the code (if the header with namespace is included), but also I wanted to prevent any change to this variable. From testing it seems I succeeded, but I'm interested in what exactly happens when I call this function the first time and then the next several times.  Additional question: Am I polluting global namespace with static variable declaration/definition?


How can I drag & drop a file from the shell?

I am trying to drag and drop a video file (like .avi) from desktop But ı can not take it to the my program.But when ı try to drag and drop inside my program it works fine.For ex: I have an edittext and a listbox inside my pro and ı can move text that inside edittext to listbox.I could not get what is the difference ??  I take the video using openDialog.But ı wanna change it with drag and drop.  procedure TForm1.Button1Click(Sender: TObject);    begin      if OpenDialog1.Execute then        begin           MediaPlayer1.DeviceType:=dtAutoSelect;           MediaPlayer1.FileName := OpenDialog1.FileName;           Label1.Caption := ExtractFileExt(MediaPlayer1.FileName);           MediaPlayer1.Open;           MediaPlayer1.Display:=Self;           MediaPlayer1.DisplayRect := Rect(panel1.Left,panel1.Top,panel1.Width,panel1.Height);           panel1.Visible:=false;           MediaPlayer1.Play;        end;     end;


unable to Convert from DTO to Entity Spring

I am using Spring boot with PostgreSql. I created entities,controller,DTO and DAO package. I find  NullPointerException at ConvertToEntity() method.  Client.class   @Entity public class Client { @Id @GeneratedValue private Long id_client;  @Column(unique=true) private Long num_client;   @Pattern(regexp="^[A-Za-z ]+$") @Size(max = 60) private String nom_client;   @ManyToMany   @JoinTable(       name="CLIENT_PACK",       joinColumns=@JoinColumn(name="CLIENT_ID", referencedColumnName="id_client"),       inverseJoinColumns=@JoinColumn(name="PACK_ID", referencedColumnName="id_pack")) private List<Pack> packs;   Pack.class  @Id @GeneratedValue private Long id_pack;   @NotNull @Pattern(regexp="^[A-Za-z ]+$") @Size(max = 60) private String nom_pack; @Size(max = 2000) private String description; @Min(0) @Max(99) private int nbre_max_service; @Min(0) @Max(9999) private int kilometrage_max;  @ManyToMany(mappedBy="packs") private List<Client>clients;   ClientDTO.class  public class ClientDTO {  private Long id_client; private Long num_client; private String nom_client; private List<PackDTO> packs; }   PackDTO.class  public class PackDTO {   private Long id_pack; private String nom_pack; private String description; private int nbre_max_service; private int kilometrage_max;}   ClientServiceImpl  @Transactional @Service public class ClientServiceImpl implements ClientService {  @Autowired private PackService packService;  @Autowired private ClientRepository clientRepository;   @Bean public ModelMapper modelMapper() {     return new ModelMapper(); } private ModelMapper modelMapper = new ModelMapper();   @Override public Client convertToEntity(ClientDTO clientDTO) {      //Client client = modelMapper.map(clientDTO, Client.class);     Client client =new Client(clientDTO.getNum_client(),clientDTO.getNom_client());     List<Pack> l =new ArrayList<Pack>();     for (PackDTO r: clientDTO.getPacks())      {     Pack rdto=packService.convertToEntity(r);      l.add(rdto);     }     client.setPacks(l);      return client; }  @Override public ClientDTO saveClient(Client c) {       clientRepository.save(c);       return convertToDTO(c);    }          }   CLientController.class  @RestController @RequestMapping(value = "/clients") public class ClientController {      @Autowired     private ClientService clientService;      @RequestMapping(value="/add",method = RequestMethod.POST)     public ClientDTO addClient(@RequestBody ClientDTO ud) {         Client u= clientService.convertToEntity(ud);          return clientService.saveClient(u);     } }   When I enter this URL :   It show this error :   java.lang.NullPointerException: null at com.gaConnecte.assistAuto.service.impl.ClientServiceImpl.convertToEntity...   any idea


Google Search Console Crawl 404 linked Error from strange Website

Image:   The error is displayed because the URL has added the symbol ; at the end.  /wp-content/uploads/2018/06/iuiuiuiuiuiui.pdf;  (incorrect)   If we remove the symbol ; the URL it works normally.  /wp-content/uploads/2018/06/iuiuiuiuiuiui.pdf  (correct)   This is for all the .pdf files I have on my site. About a hundred 404 crawl errors have occurred from this site. () Does anyone know what this site is? I also noticed that Website contains too many sites.  How do I fix these 404 crawl errors?


I can't see some images from Google images

I am from Iran. In my country, the government has filtered the some web-sites. Recently I have a problem for see the all images in Google Images.   For example:      If you notice,  the protocol is HTTPS not HTTP.   When I try to change it to Http, I can't, because the browser changes it again to Https. I try by some anti-filter program like: HotSpot Shield and or psiphon3 but it couldn't help me. How to solve my problem?


How can I count unique selections from multiple selections in a drop down list (Excel)

I would like to count the number of unique selections from a column that contains multiple selections from a drop down list.  For example, column B3 contains,     Monday, Tuesday, Wednesday   The count function returns a value of 1 instead of 3 - is there any way to count the three days distinctly? Thank you!  Multiple selections from a drop down list was made possible using the VBA code from:


Number agreement between subject and object

The other day, my father and I were expecting my brothers to come home. Upon hearing a car enter the driveway, my father said, "Your brothers are here." When I looked at the door, I could see that it was actually my sister who had arrived, and not my brothers, so I responded,  She's not my brothers.  This seemed like a very awkward construction, but I could not think of any reason that it would be ungrammatical, other than the subject being singular and the object being plural. I can think of several examples of sentences where the subject and object are different in number (with an intransitive verb: obviously there is nothing wrong with a transitive verb like "kick" having a subject an object differing in number) that do not seem to have any grammatical awkwardness.  We are a family. His mind and body are one. God is three persons: the Father, the Son and the Holy Ghost.  Is the sentence, "she's not my brothers" grammatically correct, and what makes it different from these other sentences?


Can you passlock specific Apps on an iPhone?

I know the easiest way to secure your iPhone is by using a 4-digit-passcode to lock the entire phone. However, I was wondering if there is a way to securely passcode-protect only the Photo and Mail apps, i.e. a passcode is required every time the apps are opened?   My iPhone is not jailbroken and I'm not planning on doing so.


What causes sudden drops in training/test errors when training a neural network?

I've seen plots of test/training error suddenly dropping at certain epoch(s) a few times during the neural network training, and I wonder what causes these performance jumps:    This image is taken from Kaiming He's Github, but similar plots show up in many papers.


When I am doing sudo apt-get update I got stuck at this :

0% [Connecting to in.archive.ubuntu.com (2001:67c:1560:8001::14)] [Connecting to security.ubuntu.com (2001:67c:1360:8001::17)]


Nothing is renderable in both render and Material preview

I am facing a odd issue. The problem is that I am unable to material preview or even can't render. When I press Z and drag over these option, model become dull and no material can be previewed.


What are the requirements to use iMac screen as a second monitor - Target Display Mode?

I have a Surface Pro 4 and an iMac (late 2019). I would like to connect my Surface Pro to the iMac to use the iMac screen as a second monitor.  Is that possible?  What are the requirements to use an iMac as a second screen?


Rendering shadows on transparent background / converting model from cycles to internal render

I'm trying to render a model over existing video footage. So I need to render the shadows on a transparent background so it can be superimposed on the footage. I know there is a way to do this in the blender render and not cycles but I'm getting stuck with this file. I can't get the model of the building to show up in the render, I think it has something to do with me converting this from cycles. And I can't get any shadows to be cast at all. I've attached a link to the .blend any help would be greatly appreciated, thanks.


stl() gives seasonal component, but ets() and auto.arima() choose nonseasonal models

I'm completely new to forecasting so please correct me if I'm wrong.  I'm trying to forecast sales data using R. My main concern is that when I decompose the data using stl() from stats package, it shows a seasonal component whereas when I use ets() or auto.arima() commands, they do not take a seasonal component into account. Can anyone please suggest to me where I am going wrong? Which method should I prefer?  I would like to do forecast for Aug15-Dec15.  My data are as follows:  Month      Year Amount January    2010 7632 February   2010 6686 March      2010 3442 April      2010 4556 May        2010 7796 June       2010 1534 July       2010 1466 August     2010 3535 September  2010 2503 October    2010 7534 November   2010 1197 December   2010 5861 January    2011 8846 February   2011 7219 March      2011 5066 April      2011 13177 May        2011 7833 June       2011 5585 July       2011 6392 August     2011 5787 September  2011 13488 October    2011 9413 November   2011 7610 December   2011 11301 January    2012 14912 February   2012 13578 March      2012 12091 April      2012 14628 May        2012 10703 June       2012 7373 July       2012 13638 August     2012 10794 September  2012 12186 October    2012 8137 November   2012 7874 December   2012 7707 January    2013 11569 February   2013 13446 March      2013 10339 April      2013 19086 May        2013 15201 June       2013 11741 July       2013 19368 August     2013 15755 September  2013 12214 October    2013 13859 November   2013 13096 December   2013 14548 January    2014 16191.1 February   2014 23122.3 March      2014 21421.6 April      2014 20904.5 May        2014 19711.5 June       2014 9481.9 July       2014 18699 August     2014 21271.9 September  2014 19515.5 October    2014 19890.6 November   2014 16789 December   2014 31409.3 January    2015 21917.2 February   2015 24911.4 March      2015 26072.4 April      2015 23919.3 May        2015 26980.8 June       2015 41661.2 July       2015 27065.4 August     2015  September  2015  October    2015  November   2015  December   2015    My R code:  x.ts <- structure(c(7632, 6686, 3442, 4556, 7796, 1534, 1466, 3535,     2503, 7534, 1197, 5861, 8846, 7219, 5066, 13177, 7833, 5585, 6392,      5787, 13488, 9413, 7610, 11301, 14912, 13578, 12091, 14628, 10703,      7373, 13638, 10794, 12186, 8137, 7874, 7707, 11569, 13446, 10339,      19086, 15201, 11741, 19368, 15755, 12214, 13859, 13096, 14548,      16191.1, 23122.3, 21421.6, 20904.5, 19711.5, 9481.9, 18699, 21271.9,      19515.5, 19890.6, 16789, 31409.3, 21917.2, 24911.4, 26072.4,      23919.3, 26980.8, 41661.2, 27065.4, NA, NA, NA, NA, NA),   .Tsp = c(2010, 2015.91666666667, 12), class = "ts")  fit <- stl(x.ts,na.action = na.omit,s.window = "periodic",robust = T) plot(fit) summary(ets(x.ts))  fit2 <- auto.arima(x = x.ts, stepwise = F, approximation = F) summary(fit2)     EDIT:  ets(x.ts)$aicc [1] 1404.23     ETS       AICc      AAN    1404.26631    ANN    1404.23046    MNN    1411.95791    MAN    1404.40096    MMN    1400.49486


How to Prevent Apples from turning Brown

I love to use Apples in my Desserts. They look really delicious when I just make them, but by the time they are consumed as dessert, the apples have all turned brown. and suddenly the dessert doesn't look all that nice anymore. How do I prevent this?  UPDATE: I remember reading somewhere that dipping apples in lemon juice prevents the oxidation which turns them brown, but this effects the flavor of my recipe. What else can I do?


GParted FAT32 RAID10 resize running for 18+ hours

I am trying to resize a FAT32 partition on a software RAID 10 from 1.7 TiB to 700 GiB.    I am not moving the beginning of the partition, only the end iotop shows 90+ percent IO for gpartedbin It has been running (and is still running) for over 18 hours now The partition contains around 500 GiB of data, so it will be pretty full once the resize is done   Is it safe to assume it is stuck and cancel it?  EDIT a day later: It actually took that long. 38 hours for a partition that was less than two GiB in size...


How to choose between fixed-effects and random-effects model in meta-analysis?

In meta-analysis packages, both fixed effects and random effects models are available. How do one choose between these two models? Since one is assessing different studies, should one not choose random effects model all the time?


What is the rough estimate of salary value for a taxpayer to pay AMT?

For US federal tax, whether a taxpayer is subject to AMT is determined by a complicated way in Instructions for Form 1040, Line 45, which involves an incomprehensible "worksheet to see if you should fill in form 6251".  By simplification and approximation, is there a rule of thumb for an estimate of a salary value of a taxpayer, so that a salary above the value might cause the taxpayer to pay AMT with a big possibility, and a salary below the value might not with a big possibility?  Why do the following two sources seem to differ greatly in estimates of the boundary salary value:    says that  the possible boundary salary value for a single taxpayer  to pay AMT is $53,900.  says that      Taxpayers with small incomes fall within the AMT exemption limits.   That leaves the upper middle class to face the tax, especially those   with incomes between $200,000 and $500,000    Thanks.


Change font of axis and nodes near chords on plot to match rest of document

I would like to make all symbols, numbers, letters etc to match the font of the rest of my document. Currently, the X-axis and title has the correct font. But the y axis and the numbers for "nodes near chords" do not. How do I do this?  This is how it currently looks like with my code:   Here's my code:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pdflscape} \usepackage[table]{xcolor} \usepackage[landscape, a4paper, bottom=0.0in, margin=0in]{geometry} \usepackage{pgfplots} \usepackage{array} \usepackage{caption} \usepackage{subcaption} \usepackage[T1]{fontenc}   %Customization \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \pgfplotsset{compat=newest} % Allows to place the legend below plot \usepgfplotslibrary{   units, % Allows to enter the units nicely   groupplots }    \pagenumbering{gobble} \renewcommand{\familydefault}{\sfdefault} \definecolor{customgreen}{RGB}{21,155,151} \definecolor{custompink}{RGB}{230,55,148} \definecolor{customlightblue}{RGB}{207,210,235} \definecolor{customlighterblue}{RGB}{232,234,245} \definecolor{custombrown}{RGB}{194,181,155}    \title{test} \author{sinasohi} \date{January 2017}  \begin{document} %\maketitle  \include{Page1} \include{Page2} \include{Page3} \include{Page4} \include{Page5}  \end{document}   Page3 code:  \pgfplotstableread[row sep=\\,col sep=&]{     interval    & a     & b     \\     K74         & 32.9  & 27.5  \\     K76         & 23.5  & 22.5  \\     K75         & 25.7  & 25.0  \\     K77         & 22.3  & 30    \\     K89-90      & 30.6  & 30    \\     K92         & 19.3  & 15    \\     }\mydata  \pgfplotstableread[row sep=\\,col sep=&]{     interval        & a     & b     \\     K78             & 18.8  & 20  \\     K85, K86, K87   & 66.3  & 60  \\     }\yourdata  \begin{figure} \centering \begin{tikzpicture}     \begin{groupplot}[             group style={group size=2 by 1},             legend style={at={(0.5,1)}, text width=6em, text height=1.5ex, anchor=north,legend columns=-1},             ybar,             /tikz/bar width=.6cm,                         xtick=data,             ymin=0, %ymax=40,             ,height=10cm,             nodes near coords,             every node near coord/.append style={color=black, font=\footnotesize}                     ]  \nextgroupplot[    title=\textbf{Kardiovaskulære diagnoser},    width=.55\textwidth,    symbolic x coords={K74,K76,K75,K77,K89-90,K92},    ymax=40 ]         \addplot[red!20!customgreen,fill=customgreen!80!white] table[x=interval,y=a]{\mydata};         \addplot[red!20!custompink,fill=custompink!80!white] table[x=interval,y=b]{\mydata};         \legend{Klinik 12345, Landsrapport}  \nextgroupplot[     symbolic x coords={K78, {K85, K86, K87}},     width=.3\textwidth,     enlarge x limits=0.7,     title=\textbf{Yderligere diagnoser},     ymax=80,     /tikz/bar width=.7cm,     ]          \addplot[red!20!customgreen,fill=customgreen!80!white] table[x=interval,y=a]{\yourdata};         \addplot[red!20!custompink,fill=custompink!80!white] table[x=interval,y=b]{\yourdata};         \legend{Klinik 12345, Landsrapport} \end{groupplot} \end{tikzpicture} \end{figure}


Disable mouse speed check between monitors in windows 8.1 update 1

In windows 8.1 and below, the mouse would seamlessly move through all my monitors.  However, in windows 8.1 update 1 the mouse needs to be going at a certain speed before it goes to a different monitor. How do I disable this?  A google search has turned up nothing, so I'm not sure what exactly is going on


How can I typeset those three mathematical symbols?

I need to typeset (in one of my post on ) the following three mathematical symbols but I don't know how:   the symbol for the ,  the symbol for "not equal", as in "x not equal to 0", the symbol for a partial derivative.   Any guidance would be appreciated.


Massive upload to Google Drive ( 500 GB)

Do you know any software for Ubuntu, that I could upload a large quantity of GB...I need to make a backup of 500 GB with some files with more than 10 GB....  I only find Windows software and I've to pay for most of them...  Thanks in advance


How can I recover files deleted by rm command on 14.10?

I rm Desktop and all the files on desktop by mistake. Anyone of you knows how to get them back?


I'm trying to add a spinner in a fragment that's created at run time. I keep getting a crash with  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Spinner.setAdapter(android.widget.SpinnerAdapter)' on a null object reference   Im using a very simple code and I suspect its the Context that I'm not getting right. Following is my Fragment code    @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {     View view = inflater.inflate(R.layout.frag_devices,container,false);      spinner_device_settings = (Spinner) view.findViewById(R.id.spinner_device_settings);     spinnerItemsArray = new ArrayList<>();      String dev_settings = "12,15,19,26,23"; // this is hard coded temporarily      String[] devsettarray = dev_settings.split(",");      for (String sett : devsettarray){      Log.d("log", "onCreateView: " + sett); //i get the proper values here, separately.         spinnerItemsArray.add(sett);     }      ArrayAdapter<String> spinnerAdapter =  new ArrayAdapter<>(inflater.getContext(),android.R.layout.simple_spinner_item,spinnerItemsArray);     spinnerAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);      spinner_device_settings.setAdapter(spinnerAdapter); // error is thrown on this line      return view; }   This is not a 'Null Pointer Exception' issues but more about adding data and using contexts in a fragment.


Is it possible to make lookahead or lookbehind zero-width assertions in sed? I want to emulate Perl's (?=) and family.  My sed is not GNU sed version 4.0.


Distance from one point to multiple points WITHIN a shapefile

I am looking to calculate the distance from a main point to multiple points WITHIN shapefile.  In other words: I have a main point at the mouth of a creek. I have about 1,200 points at various distances upstream from the mouth. I would like to calculate the distance from the mouth to each individual point. (aka, mouth to point 1, mouth to point 2, mouth to point 3, etc.) So, in the end, I would end up with 1,200 measurements, all starting at the mouth of the creek.  I can only find tools that measure Euclidean distance or measure distance BETWEEN two consecutive points along a line, which will not work. I am looking for something that measures distance ALONG the route of the creek from one main point to multiple other points. Any tips?  Screenshot image: want to find individual measurements from mouth point (red) to each blue point.   I'm using ArcGIS 10.3.1. I have no experience with Python.


A harmonic function with sublinear growth at infinity is constant

Show that if $u$ is harmonic in $\mathbb R^n$ and $u=o(|x|)$, then $u$ is a constant.(Hint: use the solid version of the mean value property $u(x)=\frac{1}{\omega R^n} \int _{B_{R(x)}} u(y)dy$, and estimate $|u(x)-u(x')|$.)  Can anyone tell me how to use this hint?


Series about being that could change sex and age - "The Morph*"

I'm trying to remember information about a series of three books I read in the early 1980's (first book could have been published in the 1970's). The book featured a character who was a scientific creation of some sort. It was (initially, I believe) an assassin, and had the ultimate getaway scheme; with effort, it could change its body, becoming about 10 years younger and switching sex. It changed 4 or 5 times in the first book, coming down from a senior citizen to someone in their teens or twenties; in the second and third books, it changed once per book (by the last book, it was a child or a young teenager).  The first book was title something like "The Morph..." where whatever the word was that started with "Morph" was this creature. No recollection of the author's name, or the titles of the other two books.  I think the cover of the first book was predominantly yellow, with black silhouettes representing the character at the four ages seen in the book, and a black title. And/or, the book might have been published by DAW (all their books at the time had yellow spines with black letters).


Not long ago I finished a project for a school assignment. After the assignment was done I left the office of this particular teacher. Just before I wanted to exit through the door I turned around and asked if he preferred the door open or close. The question I asked was "Door open or door closed?". This particular teacher always tries to be funny in a dickish way. He answered "Yes". After some research I found out that apparently the answer yes to an or question is valid, because "or" in a question is like the programmable "or". How would I ask exclusively "or" questions, programmable xor, so to speak.  TLDR: How to ask "Xor" questions in english, A Xor B.


Do brokers execute every trade on the exchange?

In the United States, whenever a customer places an order, will the broker always execute that trade on the market?  Do brokers just maintain a "reservoir" of popular stock, and hand them out to customers at market price instead of going to the exchange?  In other words, do people ever just buy/sell assets from their broker, instead of through their broker?


LibreOffice-writer : Can I add shortcut-key for special characters?

In ms-office-word shortcut-key for special characters can be applied as following:    But now I am using Libre-office Which is pre-installed with Ubuntu! and want to put shortcut-key for special characters. But there is not such option available:    It is difficult for me to write every-time with Unicode Ctrl+Uthen055thenEnter(0055 is only example for U which is not special-character).  Thus, Help me to add shortcut-key or any other method as I am leaving ms-office and working with libre-office Version: 4.2.3.3 (open-source and pre-installed with Ubuntu 14.04)


Solving for a variable that's an exponent

How would you figure out this?  $x^y = z$  How do you find out $y$ if you know $x$ and $z$ ?


Solve Differential Equation $ f^{-1}(x)=f'(x) $

$$ f^{-1}(x)=f'(x)$$ Where $f^{-1}:$ Inverse of f   I know for a fact there is a specific solution that is demonstrated on this  and specifically:  $$ f(x) = x^{φ}\sqrt[φ]{\frac{1}{φ}} $$ Where $φ=\frac{1+\sqrt{5}}{2}$ is the golden ration.  What I wish to do, is to find (if they exist) the rest of the solutions to the equation. In case there is no other, I want to at least prove that there is no other solution. For the record, I seek a conventional solution with a mathematical proof backing it, and not just through making "educated" guesses.


Polarizer filter for a Canon 50mm f/1.8 STM lens?

I have , a Canon 50mm f/1.8 STM:    I would like to purchase a polarizing filter for the lens but I can't seem to find one. A quick search on Amazon, for example, yields plenty of 49mm and 52mm filters but none for a 50mm lens.  Am I looking for the wrong number? Am I looking in the wrong places?


Is there something I can do that will filter  questions so I only see questions in real time from sites I choose?  A huge bonus would even be a preview of the question text along with the title and such.  Or should I attempt to write some program to monitor the page and push questions from there to somewhere else?


Working copy XXX locked and cleanup failed in SVN

I get this error when I do an svn update:     Working copy XXXXXXXX locked Please   execute "Cleanup" command   When I run cleanup, I get     Cleanup failed to process the   following paths: XXXXXXXX   How do I get out of this loop?


What does "?" mean in this code?  #include <iostream> using namespace std;  int main () {     int size;     cout<<"Enter size: ";     cin>>size;     for (int row=1; row<=size;row++)     {         for (int col=1; col<=size;col++)             (row==col)?                 <------------------ this is what i mean             cout <<"*":cout<<" ";         for(int col=size-1;col>=1;col--)             (row==col)?             cout <<"*":cout <<" ";         cout <<endl;     }     return 0; }


I want to know one thing about a fused disconnect. If it's fused for a certain amount of current, would you be ok with not adding additional fuses to protect your loads?   If you have a 30 A fused disconnect and you have 2-5 hp motors and 1-3 hp motor it sounds to me like you might need to add fuses to protect each motor?   I know that for my application since my hp total is less then the 20 hp max that you can have for that disconnect at 480 V. I'm not in any trouble of tripping that breaker.   But would the motors need fusing still?


Obviously, there are some points (e.g. $\pi$, $30^\circ$) but I am unsure if there are more. How can it be proved that there are no more points, or, if there are, what those points will be?  EDIT: I largely meant to ask what is supposed in the first comment. Put another way, are there numbers such that $\sin x$ and $\arcsin x$ are both rational?


Java: Is there an easy, quick way to AND, OR, or XOR together sets?

That is, if I had two or more sets, and I wanted to return a new set containing either:   All of the elements each set has in common (AND). All of the elements total of each set (OR). All of the elements unique to each set. (XOR).   Is there an easy, pre-existing way to do that?  Edit:  That's the wrong terminology, isn't it?


Are there wizarding schools in the rest of the "magical" world?

Are there other schools for witches and wizards in the rest of the world? In the books they only speak of 3 schools, but what about Asian or American people?  And even more, were they affected by the events happening in Europe?


Traveling to France, on single-entry Schengen tourist visa issued by Sweden

I'm an Indian national, currently residing in US. I'd applied for a Schengen visa for Iceland at the Sweden consulate (Sweden handles visa processing for Iceland). My passport with the stamped visa arrived late, to the point that I had to cancel my travel. I now have an approved Schengen single-entry tourist visa issued by Sweden that I haven't traveled on. Planning a new trip to Iceland in the short duration while the visa is still valid is turning out to be just too expensive (no flight options available). Can I use this visa to travel to France instead?  Others have asked similar questions regarding use of the single entry Schengen visa, but I'm specifically interested in guidance / experience from travelers to France who've been in this situation.  UPDATE: I made the trip to Sweden, though the visa had been issued by Sweden for travel to Iceland. Faced no problem at immigration on entry.


Are there any  professional alternatives  to TeX/LaTeX which produce equal or even better typesetting? Maybe expensive commercial ones. The software counts if it is comparable or superior to LaTeX (with microtype) in typesetting text or math (or both). In any case, please mention both aspects in your answer.  I am only aware of ConTeXt (which is partly based on TeX).  Note that I am not looking for an alternative for my personal use, I am just asking out of curiosity.


Sql Server Management Studio can't remember passwords

When I connect to a database using ssms, I also have a checkbox labelled "Remember password". However, ssms will not remember the password. The next time I connect to the same server, I have to write it again.  What is the actual functionality of the "remember password" checkbox?


Ubuntu 19.04 boots to blank screen with dual monitors and AMD Radeon HD 7730

I just loaded Ubuntu 19.04 onto my Dell XPS 8500 desktop last week. I am using an AMD Radeon HD 7730 with dual monitors (1 HDMI, 1 DisplayPort). Most of the time when I reboot my system, it will boot to a completely blank login screen. It shows nothing at all, just a blank screen. I have tried the things below and nothing is working. Deleting the raven_dmcu.bin file seemed to work but now I'm having the problem again. If anyone could please tell me how to fix this, I would very much appreciate it. I don't want to have to buy a new video card but I'm going to have to if I can't get this fixed. I have got all other issues on my system worked out except this one. Thanks.  1 - Tried switching monitor 1 and 2 cables and adjusting the display settings to put their left/right orientation back. 2 - I read someones post that said this would work and it did for a while but I'm having the issue again now. Delete the file /lib/firmware/amdgpu/raven_dmcu.bin and then run sudo update-initramfs -u -k all


Where does stuff "sucked" up by a black hole go?

I've heard that stuff sucked up by a black hole leads to a parallel universe, but I don't believe that because when a black whole "sucks" something up, the thing it "sucked" up adds to the black holes mass, how would it do this if everything it sucked up was ejected out a white hole on the other side of the universe? I want to know where stuff really goes after being "sucked" up by a black hole. According to Wikipedia,     The theory of general relativity predicts that a sufficiently compact mass can deform spacetime to form a black hole.   This is why dying stars form black holes. This means a black hole must be a very compact sum of mass in a small area, or a singularity. Because of this, I think when something gets sucked up by a black hole, it just gets crushed up to a very small volume and adds to the singularity. Am I wright or not?


When a branch is reintegrated to the trunk, is that branch effectively dead?    Can you make modifications to the branch after the reintegration and merge those back into the trunk at a later date?


\documentclass{article} \usepackage{tabularx} \usepackage{multirow} \begin{document}  \begin{table}[h!] \setlength\extrarowheight{2pt} % for a ever so slightly more open "look"     \begin{tabularx}{\textwidth}{c X | c | c | c |}     \cline{3-5}     &  & \multicolumn{3}{c|}{Paired Differences} \\     \cline{3-5}      & & Mean &  Std. Deviation & Std. Error Mean \\          \hline     Pair 1 & Testing 1 and Testing 2 and Testing 3 & 4.20\% & 44.6\% & 4.54\%  \\     \hline       \end{tabularx} \caption{Testing 123} \end{table}  \end{document}   Outcome:    I cannot figure out. If I added \begin{tabularx}{\textwidth}{|c X | c | c | c |} It will not be working


Is it possible to link motion-activated flood light fixtures?

I would like to install four motion detector lights in my backyard.  I was wondering if when one light comes on or is tripped, is it possible for all the lights to come on at the same time?


What does "sudo apt install -f" command do in Ubuntu?

I'm very new in the Linux world and I have found a guide to install Skype.  This are the commands to install Skype:  wget https://repo.skype.com/latest/skypeforlinux-64.deb sudo dpkg -i skypeforlinux-64.deb sudo apt install -f   I don't understand why should I use the last command "sudo apt install -f". What does this command do? I see that skype is installed even I don't use this command.  Thanks in advance!


Login process incompatible with Adblock Plus

I recently noticed that, when  is enabled in Firefox, the login process on Stack Exchange sites stopped working. (Symptom: after clicking "log in", then clicking on the "log in with Stack Exchange" logo", the login process just spins forever and doesn't continue. If it's relevant, I login with Stack Exchange as my OpenID provider.) Disabling Adblock Plus makes the login process start working again.  Is there any workaround that allows me to have Adblock Plus enabled (for example, for other sites) while still allowing login on Stack Exchange sites to work properly?


How to render LaTeX in an Android program?

Recently I'm writing a calc program, on android. As a frequent LaTeX user, it comes to be compelling to use LaTeX rendering in displaying the inputs and outputs.  Is there any possibilities to use a minimal/basic TeX distribution to render simple equations including sin/cos/tan, fractions etc.?   I've heard of BasicTeX but it seems far too huge, and it may not work on android system, I suppose?


Recurring "error code -50/invalid argument" resolved by reboot, better solution sought

I'm using an old iBook G4 (PowerPC) running Tiger to serve iTunes to the house. For the past week or so, the mac boots fine, and then sometime during the day starts generating   An unexpected error occurred (error code -50).   errors when iTunes attempts to save its library file.  Checking reveals that the boot drive (main drive, in the laptop) behaves as if it is write-protected - I get the same error code when I attempt to create a folder on the desktop, for instance. If I attempt to create files via the terminal, e.g. via     ls > foo.txt I get an "invalid argument" error.   I've set the iBook to run in Target Disk Mode and run Disk Utility to repair the disk (from a Macbook running Snow Leopard) and get "The volume appears to be ok".   I don't have the option in Disk Utility to Repair Permissions in Target Disk Mode. When I ran Repair Permissions on the iBook itself, it came back with no errors, no permissions corrected, but did not in fact fix the problem.  Rebooting always solve the problem - for the next 5-10 hours or so.   Would Disk Warrior help, or some other software fix, or is it time to buy a new drive? (And, in any case, what's going wrong?)


I recently installed an SSD into my computer and put a fresh install of Win 7 on it. I was going through the folders of my old HDD to try and free up some space, but it wouldn't let me delete the Windows folder. I even tried claiming ownership of it as per , but it still couldn't be deleted.


How to define multiple columns with specific width and centered?

I want to define multiple columns (using *{}{}), with specific width (using m{}), and centered (using >{\centering}). However, I am not able to combine the three of them. The MWE below can only center the first column:  \documentclass{article} \usepackage{amsmath,array} \begin{document}  \begin{table}     \centering     \begin{tabular}{ccc|>{\centering}*{6}{m{0.8cm}}}         \hline         i & t & k & $D_{im1}$ & $D_{im2}$ & $D_{im3}$ & $D_{ir1}$ & $D_{ir2}$ & $D_{ir3}$ \\          \hline         1 & 1 & $m$ & 0.5 & 0 & 0 & 0 & 0 & 0 \\          1 & 2 & $m$ & 0 & 0.5 & 0 & 0 & 0 & 0 \\          1 & 3 & $r$ & 0 & 0 & 0 & 0 & 0 & 0.5 \\          2 & 1 & $r$ & 0 & 0 & 0 & 0.5 & 0 & 0 \\          2 & 2 & $r$ & 0 & 0 & 0 & 0 & 0.5 & 0 \\          2 & 3 & $m$ & 0 & 0 & 0.5 & 0 & 0 & 0 \\          \hline     \end{tabular}    \end{table}  \end{document}     If I use *{6}{>{\centering}m{0.8cm}} (as I originally attempted), it does not compile.


Suppose we have a group $(G, *).$ Prove that the group is abelian if $b * a^2 = b$ where $(a, b)$ are part of the group.


xclip copy file so it can be pasted as a file (not file content)

How can I copy a file with xclip, so that it is pastable as a file in file explorers?   I searched on google an so on and found stuff like this , but there it is always about the content of files. What I need is being able to copy a file with an xclip command so that I will be able to ctrl + v in the file explorer.   I am using deepin 15.8 beta and if I copy a file with ctrl + c I get this one in the TARGETS, which seems like an indicator somehow: x-special/gnome-copied-files   But eg. when I copy a file with this, I am not able to paste it in the file manager:   xclip -selection c -i -t x-special/gnome-copied-files test.txt


Comparing dates in a BEFORE INSERT trigger

I need help making a TRIGGER that compares two dates being entered into a table, but I'm not 100% on the syntax I should use.  Something like:  CREATE TRIGGER chk_dates    BEFORE INSERT ON `job_history`    FOR EACH ROW     BEGIN       IF( NEW.end_date < OLD.start_date ) .../// error, don't insert data       ELSE .../// allow the data to be entered   My table job_history will have a start_date, and when end_date is entered, I want it to check to ensure that it isn't prior to start_date.    How do I accomplish this?


MYSQL - Why does my foreign key accept any value?

I am trying to create a one to one relationship between two tables. Whenever I try to do an INSERT to verify the foreign key in the child table is set up properly, the foreign key is accepting any value, instead of requiring that it match a value in the corresponding column in the parent table. For example this works without issue  MYSQL - INSERT INTO Orders(PersonID) VALUES(random INT not in parent table)   I am using PHPmyAdmin and everything looks ok from what I can tell. This is how I created the tables  CREATE TABLE Persons (     PersonID int,     LastName varchar(255),     FirstName varchar(255),     PRIMARY KEY(PersonID) );  CREATE TABLE Orders (     OrderID int NOT NULL,     OrderNumber int NOT NULL,     PersonID int,     PRIMARY KEY (OrderID),     FOREIGN KEY (PersonID) REFERENCES Persons(PersonID) );   From my understanding, this should require any row of the FOREIGN KEY in the Orders table to match the value of a pre-existing row in the Persons table. However, the INSERT INTO statement posted above works without issue. What am I not understanding correctly? I did quite a bit of searching and everything I can find seems to indicate SQL should be returning an error on such an INSERT statement. Thanks in advance for any answers.


How to ask windows to search for files that not satisfy defined condition. For example I don't need files that has extension log.


Check that a plugin is installed and enabled

I'm a noob for scripting, just starting ... sorry for that :) I would know if there is a way to check if a plugin is installed and enabled The context is I would reorganize the N-Panel a little better and display the panel for a plugin only if it there and functional. Thanks for your help Have a nice day


How much chance/warning should newbie first questions be given before closing as 'not a real question'?

got closed as 'not a real question', way too abruptly in my opinion. As a first question from a new user it was pretty ok, considering what else is out there. He did post code - admittedly too much - but if you read his code you can in fact see where he was having difficulty, even though he did not clearly state the code's intent. All he needed to do was trim it down and expand on precisely what the desired behavior was. (Bear in mind not using OO makes that more difficult - maybe he doesn't know OO.)  I posted an answer, then only 2 hrs later, before he could even respond, it got closed. I am too lowly to vote to reopen.  I think this is unreasonably abrupt and harsh to newbies. Do we have a consistent standard of how much time and warning we give a newbie ? Or do we just guillotine it? I would at least have given him 48hrs - it's different to if he was told to clarify it and given time and simply didn't respond. If there is any consensus, can we add that to the FAQ? I am happy to help Python newbies who show some effort, and I resent what might well have been a useful interaction getting cut off abruptly.  (AFAIK there is no automatic warning 'Please edit this within  to improve the question, or else it will be closed - several users have voted to close it as not a real question')  (For the 'big dump of code' scenario, do we need a new closing reason 'question does not isolate the specific problem and solution' - which is distinct from the generic catchall 'unclear'?)  When should we downvote, when should we close, when should we leave a comment asking them to clarify, what is a reasonable time expectation for each of those, and how much extra allowance do we make for new users?  As far as user-friendliness of reopening goes, virtually no new users know this, nowhere in the FAQ does it state: What can I do if my question got closed? If the reason was clarity, you can edit your question and it will then be queued for voting on reopening it.  Related discussions:


Login into Stack Exchange using a Windows Live Login

I want to ask to incorporate Windows Live ID (.outlook.com or .live.com) for Stack Exchange websites. Windows Live ID is very popular these days.


Why is the following true?       If $(X,d)$ is a compact metric space and $f: X \rightarrow X$ is non-expansive (i.e $d(f(x),f(y)) \leq d(x,y)$) and surjective then $f$ is an isometry.


testing normality for a two way anova, residuals as well as each sample?

to test a two way ANOVA do you have to test each sample for normality as well as normality for the residuals?


I want to know what are wormholes, how they function and how they are formed. In understandable language, if possible.


OpenStreetMap - only administrative regions

I'd need to display a map that shows only administrative regions level 1 for whole world. Is this doable with OpenStreetMap? I don't want any other data like roads, topology or similar to bi visible - only boundaries of administrative regions.  I'm new to GIS, so any guidelines will be helpful.  Project is commercial, so I'd need something that's free for commercial use.


Given two sets $A$ and $B$, what is the difference between $A + B$ and $A \cup B$? For example, if $A = \left\{ a, b, c \right\}$ and $B = \left\{ d, e, f \right\}$, what are $A + B$ and $A \cup B$, respectively?


When i try to add a material to new files , and use nodes to customize it opens up some 2 nodes i know nothing about , and whenever i try to add anything it lacks half of the functions it had before. My old files are still ok , and have all the things i need to customize nodes.


Variable labeled "undefined", despite being defined within a subroutine

Here is the code:  def rand():   import random   num = (random.randint(1000,9999))   print(num)  rand() print(num)   Within the subroutine, the variable "num" is printed successfully. However, outside of it, when printing is attempted, the following error message is displayed:  Traceback (most recent call last):   File "main.py", line 8, in <module>     print(num) NameError: name 'num' is not defined   Why does this happen, and what are the ways I can work around it?


I am trying to install Ubuntu 14.04 LTS on my Sony Vaio desktop. I put the DVD in the drive and get the icon on the bottom showing a keyboard and arrow, and then the screen goes blank and does not ever get beyond that point.  I have tried to install Ubuntu 10.10 on the computer, and that one works, but not the 14.04 I just downloaded. It is not a bad disk, because I have tested it on my laptop and it boots from the DVD just fine.  My computer is a PCV-RZ44G, not sure what specs are needed, but it is a Pentium 4, 2.8 GHZ with a NVIDIA GeForce FX5200 video card with 128 MB memory. Have no idea why it does not boot, unless 14.04 LTS is not compatible with that video card.  Computer used to run Windows XP Media Center, but since XP is no longer supported and I had to replace the HD, I decided to install Ubuntu instead. Also tried booting with no HD connected, same result.  I would like to run the latest version of Ubuntu if possible, and if 14.04 is not compatible, can someone tell me what the latest version I should be able to run would be? The only versions I have a DVD for are 14.04 and 10.10.  Any assistance anyone can provide would be greatly appreciated.  Thanks.


How can I delete everything between two markers in a file?

I have a text in a text file, where I want everything that is between strings like \{{[} and {]}\} to be deleted - including these strings themselves.  These two string can lie on different lines as well as on the same line. In either case,  on the line on which the beginning \{{[} lies, I don't want the text before, i.e. left, of it to be deleted - and the same holds for the text after {]}\}.  Here is an example: Given a text file with the content   Bla Bla bla bla \{{[} more bla bla even more bla bla bla bla.   A lot of stuff might be here.  Bla bla {]}\} finally done.  Nonetheless, the \{{[} show {]}\} goes on.   the script should return another text file with the content  Bla Bla bla bla  finally done.  Nonetheless, the  goes on.   Unfortunately this simple-looking task turned out to be too difficult for me to do with sed. I'm happy with any solution in any language, as long as I don't have to install anything on my standard linux machine (C and some java is already installed).


Do ETF owners buy and liquidate units from the market when gap between market value and value of underlying shares is large?

Due to various reasons, an ETF, even an index ETF might trade at a value lower that the value of its underlying securities.  In such a situation, can the company managing the ETF actually buy from the market and convert the ETF units back to raw shares and cash them out?


how to pick shading color from 3D shape in Adobe Illustrator?

first of all sorry for my bad english.  right now, im making a seamless isometric tileset and i really like the shading color but i cant seem to pick the shaded color and its only picking the base color.  is there a way that i can pick the shaded color?


One-Way Speed of Light - Einstein-Ring-Like Setup Solves It?

I watched  video that introduced the concept of the one-way speed of light. Now, that got me thinking: wouldn't an Einstein-ring-like setup, where light would be bent 360 degrees from a source point on the ring, and travel around the ring back to the source, solve it? The setup is this:  A high-enough mass object to be able to bend incoming light by 360 degrees, such that light would travel in an ring around the mass A light source on the ring, with a speedometer on its opposite side (180 degrees compared to the light emission angle)  Then, light would get emitted from the source, travel in a ring around the mass, and end up on the other side of the emitter to be measured by the speedometer. Wouldn't this setup solve the problem? Unless there are any issues to it? The only limitation that I can think of is that this might be only possible with a dark hole's even horizon - since only that would be massive enough to bend the light by 360 degrees (since it's posssible for it to bend that much only if it's not able to escape), but I'm not sure if that's true. And if that's true, what if the black hole were to shrink - the space the light would go through would be less curved, and then the light would be able to escape the event horizon, and its whole trajectory from the moment of entering the black hole would be straight  - just in a curved space. Wouldn't that solve the problem?


Is there a way to take a mesh, cut it with seams or sharp edges and flatten it, so that the faces stay the same shape and size?  Making paper models is one aspect, where you could use that technique.  No, I'm afraid SZ0Return is not going to do it properly.  And misusing the UV-unwrap is only a last option.    Note, while it's an option to revert to Blender 2.49 which had a script to do this, I'd like a solution that I can use inside the current workspace.


Siri: How to add an item to specific Reminders list AND set a reminder time?

TL;DR: Is there a way for Siri to create an item in a specific list, and add a timed reminder to it?    iOS 9 Siri is able to  add an item to a specific Reminders list in this fashion:     Hey Siri; Add bread to my shopping list   However, I am struggling to find a 'syntax' that will add an item to a list, and set a timed reminder. Here is one example of my attempts:     Hey Siri; Add book laundry time to my todo list and remind me in one hour   Siri doesn't seem to understand the "latter part" about the timed reminder. It also happens that that Siri will not place it in the correct list, but instead interpret the whole sentence as the string content of a reminder placed in the Inbox.


In $\triangle ABC$ with $AB=AC$ and $\angle BAC=20^\circ$, $D$ is on $AC$, with $BC=AD$. Find $\angle DBC$. Where's my error?

In $\triangle ABC$ with $AB=AC$ and $\angle BAC=20^\circ$, point $D$ is on $AC$, with $BC=AD$. Find $\angle DBC$.   I know the correct solution, but I'm more interested in where is the problem in my solution.  My solution :    Now in $\triangle ABD$, applying the sine rule:  $$\frac{AD}{\sin\alpha} = \frac{BD}{\sin 20^\circ} \tag{1}$$  In $\triangle BDC$:  $$\frac{BD}{\sin 80^\circ} = \frac{BC}{\sin(180^\circ-\beta)} \tag{2}$$  We know $AD= BC$; put in to $(1)$:  $$\frac{BC}{\sin\alpha} = \frac{BD}{\sin 20^\circ}  \tag{3}$$  Comparing $(2)$ and $(3)$:  $$\frac{BC}{BD} = \frac{\sin\alpha}{\sin 20^\circ} = \frac{\sin(180^\circ-\beta)}{\sin 80^\circ} \tag{4}$$  $$\frac{\sin \alpha}{\sin(180^\circ-\beta)} = \frac{\sin 20^\circ}{\sin 80^\circ} \tag{5}$$     Now, $\alpha = 20^\circ$ and $\beta = 100^\circ$, but when I plug these values in $\triangle ABC$, it's not even triangle. oO   Where I am wrong? Thanks.  PS : sorry for poor editing, I don't have any clue about it.


How can I get media keys working on my keyboard?

Just got a new keyboard, the Microsoft comfort curve 2000, and everything seems to work fine except for the 'back' and 'forward' multimedia keys.  I am running Ubuntu 11.10 and have tried going into system settings -> keyboard -> shortcuts, then I try and hold down the keys to set the action I want them to perform, but nothing changes.  Any thoughts on where else to look?   -- UPDATE --  I rebooted and the options to change the keyboard shortcuts seem to be working now. Now I can tweak the whole thing and I managed to assign the media keys correctly.  Thanks to everybody for the suggetions


i Just joined to linux.   But i have a problem with app installing. i'm using mint 16. The first app i tried got installed but i get this warning during installing every other apps.    But i connected to the internet.  How can i fix it?  I got this when i'm trying to install via terminal  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   In addition, i can't install a new language. I got this error:


one word for someone who can make sense out of numbers or data

I have to describe someone with a quality that he can read the story behind the numbers or data given to him. I didn't want to use Analyst. let me know if there is another word for it