The vote fraud script breaks legitimate polling questions - A serial downvoter's lament

I've downvoted several of the answers on these Meta discussions:       Both questions are typical self evaluations, Stack Exchange runs them on all young Beta sites and as you may have noticed they are essentially polls, a series of example questions from the site that we are supposed to vote on.  Today I noticed that almost all of my votes have disappeared on both evaluations, only an upvote remains in the later one. My votes triggered the serial voting script, something that :      Heh, it appears I just serially downvoted you (I downvoted a lot of the answers here), hopefully the script is smart enough to not reverse my votes. Will check back in 24h, and if it does, I'll rant about it on MSO ;)    My voting behaviour on both evaluations was very simple:   I had the evaluation open in the left monitor, Opened all the example questions in their own tab, in the right monitor, Scanned each question quickly, and voted on the Meta answer (most of my votes were downvotes), Repeat for the next one, and so on...   I didn't spend more than a few seconds on any question, as I'm fairly regular on the site and I've already read all of them while casually browsing the site. In fact, if my memory isn't failing me, I had voted (up/down) and/or commented, and/or voted to close on each of the 20 example questions. I might have spend a minute or two re-reading a couple, but I mostly scanned through them. In any case I think my voting pattern is quite normal, and the script should be somehow tweaked to take serial posts, posted by the same user in quick succession, into consideration, especially on Metas.   Since I had anticipated that the script would kick in, I could have tried to fool it by pausing a bit between votes or trying to look for other Meta posts to vote on, in between voting on the evaluation answers. However I'm a very active voter on Meta Workplace, there aren't many posts I haven't already voted on, and the few that I haven't is probably because I neither agree or disagree with (my opinion on them is simply "meh"). In any case I think my voting behaviour was natural, and although the serial voting script is awesome, this time it caught and reversed a perfectly legitimate behaviour.  Animuson, in , mentions that the script isn't really optimal on Area51 as well:      Yes, please implement this on Area 51 proposals too! Oftentimes a single user would suggest a plethora of "example" questions to their own proposal which are just terrible, yet all of everyone's votes get reversed and the question just sits there at 0. I've noticed several times that my votes have gotten reversed.    I haven't noticed it myself, but it certainly seems plausible, especially early in a proposal's life.  Mysticial found a related discussion, , but it's focused on voting patterns on main sites, where reputation is also a factor. I can understand jumping through hoops to satisfy the script on main sites where, unfortunately, there are a lot of people trying to get some cheap rep or "punish" others with their downvotes, but not on Metas, and especially not on these evaluation posts.   Voting fraud is a problem, and more often than not the script works wonderfully, but in my case it was extremely counterproductive. Critical evaluations are essential for a young Beta site, and their answers typically only get a handful of votes. I wonder how many of these votes have silently gone away...  Fix this please.


how i can install any program with terminal

I have installed Ubuntu 16.04 now in my computer  but the problem is the Ubuntu software can't download any apps.  So the solution is to install the any program with terminal but I don't now how ?


MapServer (MS4W) test page from shapefile shows only blank white square?

I am trying to create a test page with mapserver and shapefile. At the moment I just want to get the map shown on my test page. I have gotten the EXTENT coordinates by opening shapefiles with QGIS - I am sure those are correct. I have followed this  as an example.  I am accessing my test page via this link:  http://localhost:1025/cgi-bin/mapserv.exe?map=C:\MS4W\ms4w\Apache\htdocs\mapfile.map   Problem I have - map is not loaded - I only see a blank white square.  When I look at contents of ms4w\Apache\htdocs\output , I see that images are actually getting generated but all of them are white (empty), for example:  lat_pmts_region13941906093724.png lat_pmts_region13941910095144.png lat_pmts_region13941913405500.png ...   Shapefiles are located at this location: C:\MS4W\ms4w\Apache\htdocs\shapefiles.  An example of what is logged to error file:  [Fri Apr 11 11:19:32 2014].883000 CGI Request 1 on process 7888 msWCSDispatch20(): wrong service (none) msWCSParseRequest(): request is KVP. msWCSDispatch(): SERVICE and REQUEST not included msDrawMap(): rendering using outputformat named png (AGG/PNG). msDrawMap(): WMS/WFS set-up and query, 0.000s msDrawMap(): Layer 0 (lat_pmts_region), 0.001s msDrawMap(): Drawing Label Cache, 0.000s msDrawMap() total time: 0.002s msSaveImage(C:/MS4W/ms4w/Apache/htdocs/output/lat_pmts_region13972043727888.png) total time: 0.138s [Fri Apr 11 11:19:33 2014].24000 mapserv request processing time (loadmap not incl.): 0.141s [Fri Apr 11 11:19:33 2014].24000 msFreeMap(): freeing map at 0246EFD8.   ms4w\Apache\htdocs\template.html:   <title>Mapserver Template HTML Document</title>
Template
      It looks like this:   C:\MS4W\ms4w\Apache\htdocs\mapfile.map:  MAP     CONFIG "MS_ERRORFILE" "C:/MS4W/ms4w/tmp/ms_error.txt"     DEBUG 5     NAME lat_pmts_region     STATUS ON     SIZE 800 600      EXTENT 286878.53 142087.25 799084.10 481123.75     #   lat_pmts_region      UNITS METERS     SHAPEPATH "shapefiles"     IMAGECOLOR 155 155 155      WEB     TEMPLATE "template.html"     IMAGEPATH "C:/MS4W/ms4w/Apache/htdocs/output/"     IMAGEURL "/output/"     END      LAYER     NAME "lat_pmts_region"     DATA lat_pmts_region     STATUS DEFAULT     TYPE POLYGON     END END   I will gladly provide more information if it's asked.


What is correct in the following sentence:  It was/were our musical expeditions to Berlin that encouraged us to do that.  I think the plural of "expeditions" indicates "were" but I'm not sure about that.


Removing indent between chapter and section in table of contents

How to remove indent between chapter and section in table of contents. I am using document class report. I have made a table of contents as shown in 1st Figure.    The following is code used in package file to create entire formating  \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{mypackage}  [2011/01/11 v0.01 LaTeX package for my own purpose]  \RequirePackage[dvips]{graphicx} \RequirePackage[cmex10]{amsmath} \RequirePackage{setspace} \RequirePackage{float} \usepackage{showframe}  \RequirePackage[margin=1in]{geometry} \usepackage{subcaption} \RequirePackage{cite} \RequirePackage{caption} \RequirePackage{etoolbox} \RequirePackage{tabularx} \RequirePackage[toc,page]{appendix} \usepackage{tocloft} \RequirePackage{titletoc} \RequirePackage[compact]{titlesec} \captionsetup{labelsep=period} \setcounter{secnumdepth}{3}  \makeatletter \patchcmd{\@makechapterhead}{50\p@}{0pt}{}{} \patchcmd{\@makeschapterhead}{50\p@}{0pt}{}{} \makeatother   \cleardoublepage %\cleardoublepage %for openright  \renewcommand{\chaptername}{CHAPTER}  \renewcommand{\thechapter}{\Roman{chapter}}%chapter number in roman  %For displaying chapter title and heading in centre with required font \titleformat{\chapter}[display] {\normalfont\large\bfseries\centering}{\chaptertitlename\ \thechapter}         {0pc}{\large}%changing font size,and centering of chapter heading    \titleformat{\section} {\normalfont}{\thesection}{1em}{\MakeUppercase}   However,I want the table of contents to look as in 2nd Figure . Also how to add page number header above the page numbers. Thanks.


The word  is used by several different youtube channels as a different word for the youtube description bar. I've seen it used by the  and by .  Who was first to use and invent the term?


I have installed Ubuntu 16.04.02 a couple of minutes ago. When I want to update my system:  $ sudo apt-get update && sudo apt-get upgrade   Ubuntu does not update itself. The error message is above:    The problem is with sources.list. But how can i solve this problem? Please help me!


Sending file of custom python script with all parameters for popup interface already defined?

I have a python script in ArcGIS 10 that when clicked, has a popup for a user to choose parameters. I would like to send this file to someone else. While I could send them the python code and have them setup the parameters - this method repeats work I have already done.   I would like to send someone one file that contains all of this information so they can just recieve my file, add it to a toolbox, and then have it all work. I am wondering where the file resides that has both the python code and parameters / what is the export process/ file type I should be looking at? (All the searches I do for "export script" seem to refer to exporting a model to python code...)


How do I get the size of a java.sql.ResultSet?

Shouldn't this be a pretty straightforward operation? However, I see there's neither a size() nor length() method.


Number of nondecreasing functions from $\{1,2,\dots,n\}$ to $\{1,2,\dots,n\}$

How many functions $$f: \{1,2,\dots,n\} \to \{1,2,\dots,n\}$$ are there such that for every $i \leq j$ we have $f(i) \leq f(j)$?   The only way I could think of was removing all the "bad" cases from $n^n$, but that wouldn't be very effective. What better way could I use?


Is there a filesystem that keep track of all filesystem modification without snapshot?

I am interested in btrfs and I start understanding and loving it COW process.   But what I understand is that I need to do snapshots to keep track of all modifications done on file. What happen when there are multiples modifications between 2 snapshots? I guess I just have the last state at snapshot time.  Is there a way with btrfs or another filesystem to keep track of all modifications on files (including moving files)? IIRC DEC had such features keeping all files backups with ~ extension then  ~~ then ~~~ and so on.


Acronym or expression that describes the distress over having missed out on something

There's FOMO: Fear Of Missing Out. I'm looking for a similar concept but for the past tense. Some concept/expression/acronym that describes the feeling of distress over having missed out on something. For example, on the day after a party you decided not to go to, you might realize that the party was amazing.  "Oh, just found out on Twitter how good the party was. Now I'm feeling <concept>."  Another example is if you discover that your friends went to a party you were not invited to. (So "regret" is not the right word here, since it doesn't apply to the previous example.) Has something like this already been coined? After some research I found the following:  (Fear Of Having Missed Out) - It doesn't really describe what I'm looking for since in my case, you don't fear that you missed out, you know you missed out.  (Knowing I Missed Out) - Closer, but doesn't express the feeling of distress I'm looking for.


In the triangle shown, what is the degree measure of $\angle ADB$?

In the triangle shown, what is the degree measure of $\angle ADB$   I have mainly tried angle-chasing, but it turns out that through plain angle-chasing you cannot find $\angle ADB$ or $\angle EBD$. I explored extending $AE$ and $BD$ to their intersection, but that did not help much either. Can someone get me started on how to solve this problem? I have a feeling dropping a line from $B$ to $DC$ might help, but I cannot figure out which line it would be. EDIT: I realized that dropping a line from B to DC which is parallel to EA might work. Thanks, Mike


Best Way to Install LTSP on Ubuntu 18.04

Upgrading my Ubuntu 14.04 LTS to 16.04 then 18.04 LTS left LTSP unable to boot clients. I am using the traditional 2 NIC structure on 1404, with thin clients on a physically separate subnet, and their system in chroot. It uses isc-dhcp-server and tftpd-hpa.  Trying to debug my upgraded system (including switching to dnsmasq) I came across bugs which only seem to be fixed in versions of packages later than those in the bionic repos, with no backports, so I gave up on the upgrade route.  So is there a currently reliable way of installing LTSP on 1804?


Is a double 60 amp breaker really feeding 120 amps?

My main breaker panel is feeding a panel in my basement. The main panel feed to the basement panel is 2 60amp breakers that have the thing across them so they trip together. My question is am I feeding 120amps to the basement panel or still only60 amps. My main breaker in the basement is a 100amp, how does that affect the double 60 amp feed to it?


What is causing the wispy white artifacts in this photo?

I took this photo at a wedding using an iPhone 7 Plus, and I noticed these wispy white lines most noticeably around the trees and clouds. All the other photos from the same vantage point and time did not have these wisps. What is the cause of these artifacts so can I avoid them in the future?


How to find the Python equivalent operation for tools, settings & menu?

When you press a button or change a setting, this is an operation which you can also do in Python, how do you find the Python equivalent to accessing these user interface elements.   Settings (text, numbers, colors... etc) Buttons (tools you access via key bindings, menu items etc) Menus (accessed via headers, other menus or key-bindings)


How to check if debug is true and can I use it for my own code?

I'm needing to debug one of my themes and I want to be able to switch on a debug mode so I can output more information or switch off debug mode and not see any information.   I noticed there is a debug variable defined in wp_config.php. I can easily set this to true or false. Is it OK to use this variable for my own debugging purposes or should I create my own?   Also, how do I check for if debug is true? My PHP is a bit rusty. Is this correct:   define('WP_DEBUG', true);  if ($WP_DEBUG) {    // do something }   My question is different.


taking someone's destiny data and puting it on your account

I already have a destiny character on my destiny game, but I was wondering if I take my brother destiny data and put it on my ps4 account will I have my character and his character.


Evaluation of $\int \frac{\sqrt{1+x^4}}{1-x^4}dx$

Evaluation of $\displaystyle \int \frac{\sqrt{1+x^4}}{1-x^4}dx$  $\bf{My\; Try::}$ Given $\displaystyle \int\frac{\sqrt{1+x^4}}{1-x^4}dx\;,$ Then  We can write the above Integral as $$\displaystyle \int\frac{\left(1+x^4\right)}{\left(1-x^4\right)\sqrt{1+x^4}}dx = \frac{1}{2}\int\left\{\frac{1}{1-x^2}+\frac{1}{1+x^2}\right\}\cdot \frac{(1+x^4)}{\sqrt{1+x^4}}dx$$  So Integral is $$\displaystyle = \frac{1}{2}\int\frac{1+x^4}{(1-x^2)\sqrt{1+x^4}}dx+\frac{1}{2}\int\frac{1+x^4}{(1+x^2)\sqrt{1+x^4}}dx$$  Now Let $$\displaystyle I = \int\frac{1+x^4}{(1-x^2)\sqrt{1+x^4}}dx$$ and $$\displaystyle J = \int\frac{1+x^4}{(1+x^2)\sqrt{1+x^4}}dx$$  Now How can I evaluate $I$ and $J\;,$ plz help me  Thanks


Prove that $-3$ is a quadratic residue mod an odd prime $>3$ if and only if $p$ is of the form of $6n+1$

How would I prove that $-3$ is a quadratic residue mod an odd prime larger than $3$ if and only if $p$ is of the form of $6n+1$?  The last thing we covered in class last night was Euler criterion where it has a quadratic residue if $a^{(p-1)/2}\equiv -1\pmod p$.  I think he might have been thinking he was getting farther than he did?  I just don't know where to go from this.


Consider the polynomial $( f(x) = x^7 - 4x^3 + x + 1 )$. All the zeroes of the above polynomial are plotted in the complex plane i.e., the Argand plane. How many are within a unit distance from the origin?  Details and Assumptions:  The repeated roots are counted with multiplicity i.e.,$ ( (2x - 1)^2 = 0 )$ has two solutions within a unit distance from origin and not one.  There is a very neat and simple way of doing without W|A. Please refrain from using any such mathematical computational software.


Do $T$-invariant subspaces necessarily have a $T$-invariant complement?

Suppose $T$ is a linear operator on some vector space $V$, and suppose $U$ is a $T$-invariant subspace of $V$. Does there necessarily exist a complement (a subspace $U^c$ such that $V=U\oplus U^c$) in $V$ which is also $T$-invariant?  I'm curious because I'm wondering if, given such $U$, it is always possible to decompose the linear operator $T$ into the sum of its restrictions onto $U$ and $U^c$, but I don't know if such a $T$-invariant $U^c$ exists.


Limit of ($\sqrt{x^2+8x}-\sqrt{x^2+7x}$) as $x$ approaches infinity

I've been stuck on this one problem for 3 days now, I don't know how to proceed. Any help would be appreciated.  The problem is asking for the $$\lim_{x\to\infty} (\sqrt{x^2+8x}-\sqrt{x^2+7x}) $$   Every time I attempt this problem, I can never get rid of infinity in the numerator without making the denominator zero. How can I do this problem?


iPhone 4S: how to set up multiple phone numbers under text messages send/receive option

Under    settings  text messages  send/receive    I had 3 phone numbers listed - mine and my children.  I am not sure how this setup occurred although they have iPhones that use and are associated with my email and Apple ID.    Recently my Apple ID was changed and I lost this functionality.  I'm wondering how to get these phone numbers back.  I am interested in monitoring my children's texts using this feature.


Changing default version in Nitrous to 3.2 rails

How can I start a project in rails 3.2 instead of 4.0?  I am unable to find a way to change it from the beginning.   I am using Nitrous.io to develop and it defaults to 4.0


I installed Manjaro as my first distro and everything went pretty smoothly up until grub. When I select Windows 10 in the grub menu instead of Linux, windows takes a lot longer than usual to boot. Once booted, it seems fine - until the next boot where grub is completely skipped and windows is loaded into automatically.  The only way I have found to get grub back, is to enter my UEFI settings and rearrange the boot order so that Manjaro is on top. As soon as windows boots, this is rearranged so that Manjaro is down at the bottom of the list.  To sum up:   Grub works fine until windows is loaded, at which point it isn't used anymore To restore grub I must rearrange the UEFI boot order. This works until the next windows boot This problem doesn't occur with Linux, I can boot it many times over with no problems at all.   How can I prevent Windows 10 reordering the boot order in the UEFI so that grub is used all the time?


What parts of the help center can site moderators edit?

I have found out that site moderators can edit certain parts of pages in the Help Center.  In particular, "" or parts of it can be customized.    What pages or parts of pages are editable exactly?   Is "" editable?  This  because I'd like to have information about a particular very common category of questions to be included there.  What other pages in the help center are editable? Can moderators change which links show up on  and in what order? What parts of  can be edited? Can some the suggestions that show up on the "Ask Question" page under the headings "How to Ask", "How to Format", and "How to Tag" be edited?   This would be useful to know, because when , I'd like to propose edits that the moderators can actually carry out.


what is difference between l and ls commands

ls command shows the following :  a  code  controller.js  mani  sparat  this  ubuntu.gif   l command the shows similar to that :  a/  code/  controller.js  mani/  sparat/  this/  ubuntu.gif   What is difference between them ?


Informing a university about an offer from another university

I've received an offer from university A and I'm waiting for a decision from university B (both prestigious). Would it be sensible to inform university B about my offer from university A and tell them that I would still be interested in their program, or would university B think that I would probably not accept their offer and hence not make me one. To clarify, I haven't yet decided which university I would choose.


Why do planets not stop revolving around the Sun?

Why do planets revolving around the Sun not stop revolving? Note I am not asking why planets do not collapse with Sun.


@ comments should link to the named person's profile (like twitter)

When you respond to someone in a comment you use @PersonsName. Is there anyway it could be linked like this @


Variant label-hidden with Lightning Input Field and LWC not hiding HelpText Icon?

I've seen various  about how you cab hide stray elements like this with aura components, and I think the answer with LWC is always 'shadow-dom' as described   but is there really no way to hide the help icon on a Lightning Input Field when you set the label to be hidden?   <lightning-input-field  key={item.submittedDataField}  field-name={item.submittedDataField}  onchange={onInputChange} title={item.submittedDataField}  variant="label-hidden" > </lightning-input-field>   The label is hidden but it still shows the help icon:    I can see the element I think I want to hide in the Chrome Dev Console:    But no combination of css seems to be able to hide it e.g.  .slds-form-element__icon {     display: none !important; }  :host (.slds-form-element__icon) {     display: none !important; }


I just set up a fresh TeXLive 2014 install on Linux, following the  all the way through installing LaTeX. Now I'm trying to get the URW Palladio fonts working. I've installed the mathpazo package, and am trying to compile a simple test file:  \documentclass{article} \usepackage{mathpazo}  \begin{document} Lorem ipsum dolor sit amet \end{document}   However, I get the following error.  kpathsea: Running mktextfm pplr7t /usr/local/texlive/2014/texmf-dist/web2c/mktexnam: Could not map source abbreviation     for pplr7t. /usr/local/texlive/2014/texmf-dist/web2c/mktexnam: Need to update ? mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input pplr7t This is METAFONT, Version 2.7182818 (TeX Live 2014) (preloaded base=mf)   kpathsea: Running mktexmf pplr7t ! I can't find file `pplr7t'. <*> ...:=ljfour; mag:=1; nonstopmode; input pplr7t  Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input pplr7t  Transcript written on mfput.log. grep: pplr7t.log: No such file or directory mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;      input pplr7t' failed to make pplr7t.tfm. kpathsea: Appending font creation commands to missfont.log.  ! Font OT1/ppl/m/n/10=pplr7t at 10.0pt not loadable: Metric (TFM) file not found.   All of the documentation I've found suggests the pplr files are related to Palladio, and supplied by mathpazo, so I'm stumped. How can I fix this?


Does down-sampling change logistic regression coefficients?

If I have a dataset with a very rare positive class, and I down-sample the negative class, then perform a logistic regression, do I need to adjust the regression coefficients to reflect the fact that I changed the prevalence of the positive class?  For example, let's say I have a dataset with 4 variables: Y, A, B and C.  Y, A, and B are binary, C is continuous.  For 11,100 observations Y=0, and for 900 Y=1:  set.seed(42) n <- 12000 r <- 1/12 A <- sample(0:1, n, replace=TRUE) B <- sample(0:1, n, replace=TRUE) C <- rnorm(n) Y <- ifelse(10 * A + 0.5 * B + 5 * C + rnorm(n)/10 > -5, 0, 1)   I fit a logistic regression to predict Y, given A, B and C.   dat1 <- data.frame(Y, A, B, C) mod1 <- glm(Y~., dat1, family=binomial)   However, to save time I could remove 10,200 non-Y observations, giving 900 Y=0, and 900 Y=1:  require('caret') dat2 <- downSample(data.frame(A, B, C), factor(Y), list=FALSE) mod2 <- glm(Class~., dat2, family=binomial)   The regression coefficients from the 2 models look very similar:  > coef(summary(mod1))               Estimate Std. Error   z value     Pr(>|z|) (Intercept) -127.67782  20.619858 -6.191983 5.941186e-10 A           -257.20668  41.650386 -6.175373 6.600728e-10 B            -13.20966   2.231606 -5.919353 3.232109e-09 C           -127.73597  20.630541 -6.191596 5.955818e-10 > coef(summary(mod2))               Estimate  Std. Error     z value    Pr(>|z|) (Intercept) -167.90178   59.126511 -2.83970391 0.004515542 A           -246.59975 4059.733845 -0.06074284 0.951564016 B            -16.93093    5.861286 -2.88860377 0.003869563 C           -170.18735   59.516021 -2.85952165 0.004242805   Which leads me to believe that the down-sampling did not affect the coefficients.  However, this is a single, contrived example, and I'd rather know for sure.


I want that my monitor turns off when I am inactive for a while, but I do not want that I am prompted for a password when I revoke my pc. In Ubuntu 16.04 it was possible to disable the lock but still enable the screensaver as explained .  In Ubuntu 18.04 I entered the following in terminal:  dconf-editor   and disabled ubuntu-lock-on-suspend:    However, since I made this change, my monitor never suspends anymore. I tried restart but it didn't help.  Any ideas how I can disable lock but still enable suspend mode?


$ S_n=\sum_{k=1}^n\frac{1}{k}$ then is $S_n$ bounded?

Let , $\displaystyle S_n=\sum_{k=1}^n\frac{1}{k}$. Which of the following is TRUE ? (A) $\displaystyle S_{2^n}\ge \frac{n}{2}$ for every $n\ge 1$. (B) $S_n$ is bounded sequence. (C) $\displaystyle|S_{2^n}-S_{2^{n-1}}|\to 0$ as $n\to \infty$. (D) $\displaystyle\frac{S_n}{n}\to 1$ as $n\to \infty$.  As the series is divergent , so (B) is FALSE. If (C) is TRUE then $\{S_n\}$ is a Cauchy sequence, which is NOT possible. Again , from Cauchy's first limit theorem , $\displaystyle\frac{S_n}{n}\to 0$ as $n\to \infty$. So it is FALSE. So finally , (A) is correct. Am I correct ?


Background reflected in glossy glass, but I didn't set it

I've made a roughness 0 glass pane, when I'm in lookdev mode it's reflecting a background that I didn't put there. I know I could just ignore it, but I'd rather be able to see what it'll mostly look like when I'm in the later stages. I also just want to know how on Earth I managed to set this background without realising it  Reflection completely ignores any objects I put in front of it. If I placed this glass inside my house, it would still just reflect trees (This is the point where I felt I couldn't ignore it - reflections are going to play a big part in my project and I don't want to be in render mode all the time)  The nodes are the default glass BSDF, except I set roughness to 0  The glass is set to 20mm thick, if that makes a difference  The background moves with my perspective and moves when I relocate the glass  I have a few HDRI's on my PC, but none look remotely like this   Also, I'm using cycles as I find Evee buggy as hell


I have bar graphs made with tikz picture and pgfplots and the legend has two bars shown for each item. If this were printed in black and white I can see it being confusing given that I have multiple bars per tick. Is it possible to globally change the legend picture to have only 1 bar?    Code:  \begin{figure}[tbp] \centering \begin{subfigure}{0.26\linewidth} \caption{Average Playback Version} \begin{center} \begin{tikzpicture}[scale=0.8] \begin{axis}[ %x tick label style={/pgf/number format/1000 sep=}, xlabel=Available Bandwidth (Mbps), ylabel=APV, xtick={0, 1}, xticklabels={Early, Late}, enlarge x limits=0.35, x=2.5cm, enlarge y limits=upper, legend style={at={(0.5,1.0)},anchor=north,legend columns=-1}, ybar, bar width=5pt, ymin=0, ] \addplot     coordinates{(0,2.036363636363636) (1,4.803030303030303)}; %none \addplot     coordinates{(0,2.171875) (1,4.98)}; %1 ahead \addplot     coordinates{(0,2.765625) (1,5.520618556701031)}; %2 ahead \addplot     coordinates{(0,3.5084745762711864) (1,5.904255319148936)}; %3 ahead \addplot     coordinates{(0,3.3225806451612905) (1,5.938388625592417)}; %4 ahead \legend{0,1,2,3,4} \end{axis} \end{tikzpicture} \end{center} \end{subfigure} \hfill \begin{subfigure}{0.26\linewidth} \caption{Playback Smoothness} \begin{center} \begin{tikzpicture}[scale=0.8] \begin{axis}[ %x tick label style={/pgf/number format/1000 sep=}, xlabel=Available Bandwidth (Mbps), ylabel=PS, xtick={0, 1}, xticklabels={Early, Late}, enlarge x limits=0.35, x=2.5cm, ymax=1, enlarge y limits=upper, legend style={at={(0.5,1.0)},anchor=north,legend columns=-1}, ybar, bar width=5pt, ymin=0, ] \addplot     coordinates{(0,0.24098054972207325) (1,0.24153409339341353)}; %none \addplot     coordinates{(0,0.114057913312868) (1,0.2756032344823675)}; %1 ahead \addplot     coordinates{(0,0.051916399143237965) (1,0.18031661670978735)}; %2 ahead \addplot     coordinates{(0,0.06390840028231044) (1,0.36195905410949436)}; %3 ahead \addplot     coordinates{(0,0.04319574602657975) (1,0.48586289928460025)}; %4 ahead \legend{0,1,2,3,4} \end{axis} \end{tikzpicture} \end{center} \end{subfigure} \hfill \begin{subfigure}{0.26\linewidth} \caption{Prefetching Overhead} \begin{center} \begin{tikzpicture}[scale=0.8] \begin{axis}[ %x tick label style={/pgf/number format/1000 sep=}, xlabel=Available Bandwidth (Mbps), ylabel=PO, xtick={0, 1}, xticklabels={Early, Late}, enlarge x limits=0.35, x=2.5cm, ymax=1, enlarge y limits=upper, legend style={at={(0.5,1.0)},anchor=north,legend columns=-1}, ybar, bar width=5pt, ymin=0, ] \addplot     coordinates{(0,0) (1,0)}; %none \addplot     coordinates{(0,0.20614441700821615) (1,0.011143061898431643)}; %1 ahead \addplot     coordinates{(0,0.7352518529340072) (1,0.08344647990992549)}; %2 ahead \addplot     coordinates{(0,0.9219019138395939) (1,0.07364705301195329)}; %3 ahead \addplot     coordinates{(0,1.4445764512661277) (1,0.027578648257207166)}; %4 ahead \legend{0,1,2,3,4} \end{axis} \end{tikzpicture} \end{center} \end{subfigure} \caption{PC Browser: Long-Term Decreases 4 Mbps - 0.5 Mbps} \end{figure}


1980s sci-fi British schools TV show with noseless aliens

When I was a kid, more than 30 years ago, I remember watching a TV show at school in the UK. Would have been mid-to-late '80s. I think it was probably part of an English language thing, where they'd have worksheets for the kids to do after watching the show. In this TV show, there were aliens who masqueraded as humans. Sometimes they'd revert to their alien form and I think they were bald, and definitely had no noses. I remember the poor cast members were wearing prosthetics that blocked their ability to breathe normally, and ended up delivering their dialogue sounding terribly nasal. Any ideas?


Minimization Least Squares with Nuclear Norm Regularization (Proximal Operator)

Let $L$ and $R$ be $n \times n$ matrices. I am trying to solve the following minimization problem  $$ L^{k+1} := \arg \min_{L} \lambda \|L\|_{\ast} + \frac{1}{2\mu}\|L-R^{k}\|_{F}^{2} $$ $$ \mbox{s.t.}\ L \succeq 0 $$  where $\|\cdot\|_{\ast}$ and $\|\cdot\|_{F}$ denote the nuclear and Frobenius norms, respectively. Also, $k$ expresses the $k$th iteration when solving an optimization problem successively.  I don't know how to solve this problem. Would you tell me the way?


How to modify Java Build Path/Source using maven

I'm working on having all the configuration of a project managed by Maven instead of eclipse and I got stuck when I tried to change the Source from there.  This is what I have:    And this is what I want:    How can I modify this using maven?  Thanks


Blender Render Image not showing nothing

I tried to render a frame in my scene and didnt show anything. I did that already but now suddenly this doesnt work!Im trying to render the frame in evee Can you help me?


I have a folder on my desktop called con. 15/02/2016  11:29    <DIR>          con  I cannot open it  I have tried the following  run cmd as administrator kill explorer.exe rmdir con   C:\Users\sean\Desktop>rmdir con /s con, Are you sure (Y/N)? Y Access is denied.   Set the security settings   The only option remaining that I have seen is to use a gparted on a linux distribution. However, there must be a way to do it in windows? Does anyone know why this is happening and how to delete an unopenable and undeletable folder in Winodws 10?


I have the following problem to include a pdf (also tried eps) to a latex document. I always get this fault:      ! Extra }, or forgotten \endgroup. \endpicture ->\egroup \hss \egroup                                     \ht \@picbox \@picht \dp \@picbox \z@ \mb... l.121   \end{picture}                      %   When I count the { and }'s I see one more } ! But I cannot find the point where this i could be.  I also checked my text in the document and tried it without text.  Also I think there is a Bug in Inkscape. When I am making the pdf and the tex file, the pdf file has only 1 page, but the tex document tries to include page 1-4. So I have to remove this code lines. After this the error described above comes up.  Anyone has an idea about all this?  Thanks  edit:  The .pdf_tex file looks like this:  As you can see there are the   \put(0,0){\includegraphics[width=\unitlength,page=   lines. When I delete this lines everything works fine. But with them I get an error like:  page does not exist <1>   It always shows the last available page in the PDF document.      \begingroup%   \makeatletter%   \providecommand\color[2][]{%     \errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%     \renewcommand\color[2][]{}%   }%   \providecommand\transparent[1]{%     \errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%     \renewcommand\transparent[1]{}%   }%   \providecommand\rotatebox[2]{#2}%   \ifx\svgwidth\undefined%     \setlength{\unitlength}{435.32183943bp}%     \ifx\svgscale\undefined%       \relax%     \else%       \setlength{\unitlength}{\unitlength * \real{\svgscale}}%     \fi%   \else%     \setlength{\unitlength}{\svgwidth}%   \fi%   \global\let\svgwidth\undefined%   \global\let\svgscale\undefined%   \makeatother%   \begin{picture}(1,0.50752079)%     \put(0,0){\includegraphics[width=\unitlength,page=1]{circuit_grid.pdf}}%     \put(0.37340864,0.37886437){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0,0){\includegraphics[width=\unitlength,page=2]{circuit_grid.pdf}}%     \put(0.62573349,0.26491124){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0,0){\includegraphics[width=\unitlength,page=3]{circuit_grid.pdf}}%     \put(0.2106184,0.36258536){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0.79666323,0.32188779){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{}}}%     \put(0,0){\includegraphics[width=\unitlength,page=4]{circuit_grid.pdf}}%   \end{picture}% \endgroup%


How to restrict a single php file from getting directly?

I need to restrict a particular php file from directly getting accessed. Not through htaccess any other method please.


How to prove that a graph A is a subgraph of graph B?

From the definition of a subgraph:     A graph whose vertices and edges are subsets of another graph.   Source:   However, I am not able to apply it on the actual graphs.   Suppose I have 2 graphs (please see the images), how to prove that the   is the subgraph of .


How to avoid showing the filename when using graphicx?

I am writing a LaTeX document with the apacite and graphicx package. The issue is when I include an image either using figure with an enclosed \includegraphics or \includegraphics by itself it shows the image with the file name to the side.  For example:              --------------             |             |             |    BOX 1    |               --------------- Error1.jpg   I do not want it to write Error1.jpg. Would show the image but it seems I do not have enough rep.  This is an example tex file to show the error (with Windows XP, using Miktex 2.8).  \documentclass[man]{apa} \usepackage{apacite} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document}   \includegraphics{Example Error1.jpg} \begin{figure}[htb] \includegraphics{Example Error1.jpg} \caption{This is the caption of the figure.} \label{fig:fig2} \end{figure} \end{document}


What is an quick way to create a new blank file in Lion?

In Windows, one can create a new file using Right Click -> Add New -> Type of File. Is there an analogous action in Lion?  I just want to create a new blank file on my Desktop.


How to transfer SQLite database from Eclipse to my Android Phone?

I created a project on Eclipse with SQLite Database. It is a data entry system in which the user enters the login credentials and if the credentials match with the data stored in the database he is allowed to login and insert or update information.  This is working perfectly fine with the Emulator device, but when I transferred the .apk file to my Android mobile, it throws an exception "No such table". I want to know how the database which is present on Eclipse be transferred to my phone along with the apk file. Thanks in advance. PS: I am using DB Browser for SQLite to create tables.


Can I enter the Schengen area for a time period that spans two visa validity periods?

I have a Schengen visa that expires on the 25th of June on my old passport & I have another visa on my new passport that begins on the 26th of June (one day after the expiry date  of my old visa). My arrival date at Germany is on the 25th of June . Can I enter the country without facing any issues?


I'd like to add some math symbols to that picture. How can I make it? (I'm using another software to make the pics.)


What‘s meaning of stripslashes( $pass ) in php

When I was learing Brute Force in DVWA, I read the High Brute Force Source. It use stripslaches( $user ); function before use mysql_real_escape_string( $user ); function. I know mysql_real_escape_string() can escape special character so that it is safe in SQL statement. But I don't understand the function stripslaches(). Does it also make a safe SQl statement?


In Javascript, is it guaranteed that {} !== {}?

EDIT: my question is different from the one you're linking to. Specifically, it doesn't say whether objects can be reused by the JS virtual machine.  In Javascript, is it guaranteed that two objects created successively (and of course not by assigning one to another) have a different reference?  Consider the following snippet:  let a = {}; let b = {}; // b can be created at any time after a is created let areEqual = a === b; // comparison can be done at any time after b is created   Is it guaranteed that areEqual is false? That some processor optimization won't make b re-use a's reference?


Diff for an old suggested edit contains more recent text

I just noticed that an old  for my post contains a more recent version of the post after my today edit.    I free-hand-circled a code from my post that I've added recently. At the time of suggested edit there was another code:    See  for details.


How to code the special symbol representing Siegel upper-half space

I want to obtain the following symbol for denoting the Siegel upper-half space. The picture is as follows:    I have checked the PDF document The comprehensive LATEX symbol list, but I could not find out what I want to look for.   I do not know what is the font type of this symbol, I guess it belongs to some German-Goth style. Anyway I am not sure.   Any suggestions are appreciated, and thanks in advance.


On primality of an element in the ring $\mathbb Z[\omega]$

The problem is: Show that if $p(\neq 3)$ is a prime in $\mathbb Z$ and $p \neq a^2+b^2-ab$ for any $a,b \in \mathbb Z$, then $p$ is a prime element in  the ring $R = \mathbb Z[\omega]$. My approach: I was trying by contradiction that if $p$ isn't prime in $R$, then there exists  $(a+b\omega)$ and $(c+d\omega)$ such that $p\mid(ac-bd)$ and $p\mid(ad+bc-bd)$ but $p\nmid(a+b\omega)$ and $p\nmid(c+d\omega)$; but then how to use $p$ is prime in $\mathbb Z$? Am I approaching correctly? A small hint is warmly appreciated.


Create keyboard shortcuts for touch bar's functions

I have broken the touch bar in my MacBook Pro 13". Only the ESC key keeps working.  Replacing the touch bar may be expensive so I'd like to know if it is possible to replace its functions with keyboard shortcuts.  The functions I am highly interested in are:   volume screen backlight keyboard backlight


Story identification - "bless the beasts that bless us"

I'm trying to trace what was probably a short story rather than a full novel from my childhood.  I think it starts in the present day (so the 80s or thereabouts) and there was some kind of alternate reality bleed which meant there were (i think) ghost boars or pigs, they were becoming more physical with time, and so problematic. The family escaped when the family dog led them to and through a portal which they couldn't perceive to a safer place.  In the end, they ended up in some kind of rural community who had a religion / custom that required them to say "Bless the beasts that bless us" but some folk shortened it to BTBTBU which irritated the girl who was the principle character.  I used to read a lot of kids short story sci-fi and fantasy including Nicolas Fisk but I don't know whether this was from a compilation of several authors or a single author's collection.


I've been trying to mount an ISO file on Windows Server 2008 without success. I've tried MagicISO, Daemon Tools, and Pismo Disk Mounter, but all of them give me some error or another. I'm guessing this is some security issue, but I'm not sure how to get around it. Has anyone had luck with this?


Errors when using Object Template for Linked List in C++

I'm trying to make a double linked list of objects in c++. So far I have a Node and DLinkedList class and they worked with integers, but when I tried to convert the type from int to object using the template I'm getting errors. I tried researching but I can't find a good example that uses a header and implementation file with the object template. Can someone help me out?  Here's my header file Node.h:  template <typename Object>  class Node {  public:     Node(const Object &data, Node next, Node prev);      Node(const Object &data);              const Object& getData();      Node* getNext();      Node* getPrev();       void setData(const Object &data);      void setNext(Node *next);      void setPrev(Node *prev);  private:      Object data;         Node *next;          Node *prev;   }; #endif   And this is my Node.cpp file:  template <typename Object> Node<Object>::Node(const Object &data, Node next, Node prev){     this->data = data;     this->next = &next;     this->prev = &prev; }  Node<Object>::Node(const Object &data){     this->data = data;     this->prev = nullptr;     this->next = nullptr; }  const Object& Node<Object>::getData(){     return this->data; }  Node* Node<Object>::getNext(){     return this->next; }  Node* Node<Object>::getPrev(){     return this->prev; }  void Node<Object>::setData(const Object &data){     this->data = data; }  void Node<Object>::setNext(Node *next){     this->next = next; }  void Node<Object>::setPrev(Node *prev){     this->prev = prev; }   These are the first few errors I'm getting:  Node.cpp:24:6: error: use of undeclared identifier 'Object' Node<Object>::Node(const Object &data){      ^ Node.cpp:24:26: error: unknown type name 'Object' Node<Object>::Node(const Object &data){                          ^ Node.cpp:24:15: error: extra qualification on member 'Node' Node<Object>::Node(const Object &data){             ~~^ Node.cpp:25:2: error: invalid use of 'this' outside of a non-static member   function     this->data = data;     ^   The rest of the errors are similar for the rest of the code. I don't understand why it's not recognizing Object when I defined it in the template. Any advice on how to fix this mess is appreciated!


Ubuntu 14.04 installer for dual-booting with win10 doesn't recognize any partition

Im facing the following issue on a new desktop machine:   I installed Win 10 Insider Preview made a fat32 Partition on a USB stick, extracted x64 ubuntu iso to it and set boot flag one ssd where win10 and ubuntu should be installed on (of course separate partitions)   Starting this USB stick in uefi works fine, but on Installation there is no option to install Ubuntu next to Windows. Even when I choose "something else" on Installation the whole ssd is displayed as "unallocated" although there is a windows partition which takes roughly half of the size of the ssd. The rest of the ssd is of course unallocated - so I started Disk Management on Win10 and made a NTFS Partition to make it visible for the installer.  But still Ubuntu does not even recognise one of the partitions.  (250GB SSD): and  (sorry can't post images directly here because of missing reputation)  C is my Windows system Partition and D is the new NTFs Partition I created of unallocated space with disk Management tool.  How can I access a Partition to install Ubuntu on without formatting the whole SSD? Any help is appreciated thanks in advance!


R: Can I make a regression model (or something similar) with likert scale data?

I’m currently analyzing a data set from a customer satisfaction survey. Customers have indicated their satisfaction with certain attributes on a five-point Likert scale. Additionally, they have also given a score for overall satisfaction on a ten-point Likert scale. I now want to estimate a model which tells me how the average customer has (knowingly or unknowingly) weighted the single attributes into the score for the overall satisfaction. My first thought was to regress overall satisfaction on the single attributes, where the betas would have given me the weights. However, this is obviously not a very good idea for a model with only discrete data. Additionally, most variables (including the dependent variable) are negatively skewed. Does anyone have an idea on how I could solve my problem?


Would cutting & pasting a file to a USB drive be the equivalent of deleting the file?

I've always wondered if cutting & pasting / removing the file from an OS would be the equivalent of taking proper precautions when deleting a file such as using the rm -rf command.  I DID read here:  that IF you move it via sneakernet that all the OS does is unlink the file thus rendering it useless, the same as (to my understanding) the command rm -rf would do.  I would just like to know, hypothetically speaking, what would be the best, most secure way of removing a file from existence? So far I can only think of shredding it via the dd command, shredding it via bleachbit, rm -rfing it or as I'm super curious to know, using a USB flash drive to physically remove the file.


It is time now   or      It is now time   Which of these expressions is grammatically correct?


phantom does linebreak instead of invisible math mode character

I have the following two lines:  $\Rightarrow$ Generate $\mathbb{G}^n$ and check the existence of a homomorphism\\ from $\mathbb{G}^n$ to $\mathbb{G}$!   I want the second line to start exactly under the text of the first line, behind the $\Rightarrow$. So I wanted to use the \Rightarrow as a phantom character in front of the second line. Since \Rightarrow only works in math mode, I wrote:  $\Rightarrow$ Generate $\mathbb{G}^n$ and check the existence of a homomorphism\\ \phantom{$\Rightarrow$} from $\mathbb{G}^n$ to $\mathbb{G}$!   But I got this    instead of this (which I want):   I made the latter version with a white-colored character  \textcolor{white}{$\Rightarrow$} from $\mathbb{G}^n$ to $\mathbb{G}$!   But I want the character to be invisible, not just white. How can I achieve this?  And why is phantom behaving like this?  Note: \vphantom and \hphantom produce the same undesired result.


Why I am getting this error when I am trying to share my folder on a network.


I have a small eror in my code here (swing-java-JFrame)

First I am a beginner in java. I'm making a window with small button and a label (with 0 in default position), when I click on the button the label will change to 1 and when I tap another click the button will be 2. But, I have an error in calling the method.  my code:  package prototype;  import java.awt.BorderLayout;  import java.awt.event.ActionEvent;  import java.awt.event.ActionListener;  import javax.swing.*;   public class Prototype {  public static int count;  public static JLabel l;  public void Proto() {        JFrame f = new JFrame();           JButton b = new JButton("click");           JLabel lo = new JLabel("0");          JPanel p = new JPanel();          f.setBounds(120,120,500,500);          b.addActionListener(new MyAction());          p.add(lo);          p.add(b);          f.getContentPane().add(p,BorderLayout.CENTER);           f.show();}  public class MyAction implements ActionListener {        @Override      public void actionPerformed(ActionEvent e) {          count++;          l.setText(Integer.toString(count));}          public static void main(String[] args) {        //I want to call the proto method but it give me an eror          new proto();      }}}


How to make the newly created files inherit the directory's permissions...?

I need to give permission to a directory in such a way that, the newly created files should inherit the same permissions as the directory.   You may find a duplicate for this question, but it doesn't seems to be answered properly. So please update.


Can I load Windows 7 Professional over Home Premium

I have purchased a laptop that has Windows 7 Home Premium OEM.  I have also purchased a Windows 7 Professional Installation CD.  Can I just put this CD into the drive and load Professional over the Home Premium that is currently on the laptop?


What is the best way to defend settlements?

I started out building defensive structure around my settlements. I've heard settlements can be attacked, I've been building the simple turrets.     What is an effective defense strategy?   In a raid, are those simple turret effective?   What are the best defensive structures to build to defend against a raider attack?   Does their placement matter?


Why does Ubuntu 14.04 not detect my Wacom Bamboo Pad CTH-301K (USB)?

When I plug in my tablet it does nothing and it is not detected by Wacom Tablet mode in Settings.  I have already read tons of different threads, I have installed the Kernel Driver, and X Driver from this page  and created a file etc/X11/xorg.conf.d/50-wacom.conf exactly the same like this one here   There is no result. The only trace that the tablet is plugged in is that when I write lsusb in the terminal, the output is:  Bus 002 Device 005: ID 8087:07da Intel Corp.  Bus 002 Device 094: ID 056a:0318 Wacom Co., Ltd  Bus 002 Device 039: ID 062a:4102 Creative Labs  Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 04f2:b302 Chicony Electronics Co., Ltd  Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Please, help! I don't want to waste my money!


It is inconceivable that this is proving to be so difficult but I'm trying to use rsync to copy only files matching a specific pattern. Specifically, copy files in all subdirectories matching "*000.csv"  You would think that the following  rsync -avrP --include='*000.csv' host:'~/data/' .   would do the trick. Instead this targets all files in all subdirectories (?!).  suggests you can only "include" things that have been excluded first. Okay, so then why do these:  rsync -avrP --exclude='*' --include='*000.csv' host:'~/data/' .  rsync -avrP --filter='-! */' --include='*000.csv' host:'~/data/' .   both target no files at all. Please help. Thank you.


Designing the power supply for an radiation detector, need to supply up to 1500V at 2 mA from mains (170 Vdc).  I've largely considered a flyback converter, but cannot find a flyback transformer with a gain of N=~16 (for a gain of 8 at 50% duty cycle) rated for 1500V at the output winding.  Looked into charge pumps/voltage multipliers some but not in depth yet.  Also just recently learned about CCFL inverter transformers, but still need some time to understand them better.  This project requires a small size and weight, so using a large transformer is not preferred.  What are other ways to step up voltage which I may look into?


I am using Blender 2.83.3     build date: 2020-07-22      build time: 06:01:36      build commit date: 2020-07-22      build commit time: 06:01      build hash: 353e5bd7493e      build platform: Linux      build type: Release  In "video editing" the output property of the current scene looks like this  shows only three movie formats. Formats that can also store audio are missing.


Stuck In Login Loop Ubuntu 20.04 (INFINITE)

I use Ubuntu 20.04. Budgie desktop + Plasma + Pantheon. I am stuck in login loop. Have dual -boot. Windows and Ubuntu. Recently, suddenly i got login loop. Tried everything on internet, nothing worked. Actually i tried installing Xubuntu it worked. But no background in Xubuntu. All apps DID NOT WORK. Problem with graphics maybe. And budgie, plasma and pantheon still not working. Now Xubuntu also not working......Still in login loop..... PLEASE HELP! I tried reinstalling. That also did not help. I tried playing with .Xauthority and .ICEauthority and everything else.I mean chowning and trying removing them. Didn't help. I remember it happened after a windows update.(A small one). Sometimes i try to use startx. But it sometimes says [xinit:connection to x server lost]. This is new issue than others. SO i need help.


I heard that gnome 3.10 will be available in Ubuntu 14.04 but when I looked in the software centre gnome 3.8 was offered.Is there a way to install gnome 3.10 without adding ppa in Trusty?  Edit  I tried installing through the terminal and gnome 3.10 was installed (gnome shell and desktop).I cheked inside the software centre and gnome wasn't marked as installed.


Search with number (like '401') will take you to a question

I was very frustrated with 401s the other day and did a search on SO for 401.  I got ().  Not a list of questions about 401.  This appears to work for any number entered into the search.


separate students according to their academic performance(s), singular or plural?

"Separate students according to their academic performance(s)."   (For example, their test results.) Should I use singular or plural in this phrase?  I did some research, but the example  is quite different than mine.


$e^{mx}$ in solving second order differential equations

In a book I am reading on differential equations, the author writes about the solution to a homogenous, linear, second order differential equation with constant coefficients. The author says something like, "Let us suppose that the solution is of the form $y=e^{mx}$ " . After this the author introduces the characteristic equation of a differential equation of the form mentioned above, and proceeds to describe how to solve it w/ undetermined coefficients, variation of parameters, etc.   How did mathematicians first come up with this "assumption" that the solution was of the form $y=e^{mx}$? And, are there any other forms of solutions for these types of equations?


C++ : Modularity and Templates : link error

I wrote this three simple source files as an example to test class templates with modules.  main.cpp  #include "MyTemplateClass.hpp"  int main() {     MyTemplateClass<int> obj;      obj.func();      return 0; }   MyTemplateClass.hpp  template <typename T> class MyTemplateClass {   public:     void func(); };   MyTemplateClass.cpp  #include "MyTemplateClass.hpp" #include <iostream>  template <typename T> void MyTemplateClass<T>::func() {     std::cout << "MyTemplateClass" << std::endl; }   When I try to compile, I get this error.  > cl main.cpp MyTemplateClass.cpp /out:main.exe main.obj MyTemplateClass.obj main.obj : error LNK2019: unresolved external symbol "public: void __thiscall MyTemplateClass<int>::func(void)" (?func@?$MyTemplateClass@H@@QAEXXZ) referenced in function _main main.exe : fatal error LNK1120: 1 unresolved externals   How can I solve the problem? Thanks!


Restart hypothesis counter in new chapter

I want to have sub-hypotheses so I use following code:      \newtheorem{hyp}{Hypothesis}      \makeatletter     \newcounter{subhyp}      \let\savedc@hyp\c@hyp     \newenvironment{subhyp}     {%     \setcounter{subhyp}{0}%     \stepcounter{hyp}%     \edef\saved@hyp{\thehyp}% Save the current value of hyp     \let\c@hyp\c@subhyp     % Now hyp is subhyp     \renewcommand{\thehyp}{\saved@hyp\alph{hyp}}%     }     {}     \newcommand{\normhyp}{%     \let\c@hyp\savedc@hyp % revert to the old one     \renewcommand\thehyp{\arabic{hyp}}%     }      \makeatother   It works great, however there is no break in the hypothesis numbering across chapters. I want the counter on the hypotheses to restart at the beginning of each new chapter. Can anyone help me modify this to restart the counter?  Here is a MWE:      \documentclass{report}     \usepackage{ntheorem}}     \newtheorem{hyp}{Hypothesis}      \makeatletter     \newcounter{subhyp}      \let\savedc@hyp\c@hyp     \newenvironment{subhyp}     {%     \setcounter{subhyp}{0}%     \stepcounter{hyp}%     \edef\saved@hyp{\thehyp}% Save the current value of hyp     \let\c@hyp\c@subhyp     % Now hyp is subhyp     \renewcommand{\thehyp}{\saved@hyp\alph{hyp}}%     }     {}     \newcommand{\normhyp}{%     \let\c@hyp\savedc@hyp % revert to the old one     \renewcommand\thehyp{\arabic{hyp}}%     }      \makeatother      \begin{document}     \chapter{This is Chapter 1}      \begin{subhyp}     \begin{hyp}     This is hypothesis 1A     \end{hyp}     \begin{hyp}      This is hypothesis 1B     \end{hyp}     \end{subhyp}      \chapter{This is Chapter 2}     \begin{subhyp}     \begin{hyp}     This should be hypothesis 1A     \end{hyp}     \begin{hyp}      This should be hypothesis 1B     \end{hyp}     \end{subhyp}     \end{document}


Cannot see iTunes Radio on my device after updating to iOS7

I just have a quick question regarding the iTunes radio function. My girlfriend and I updated our iPhone 5 at the same time. She got the iTunes Radio, and mine is nowhere to be found. I open iTunes and cannot seem to find it anywhere. Anyone else experienced this?  I currently live in Norway with a Norwegian account, if that matters :)


What techniques are useful for modelling Character Actions via OOP?

I'm trying to rewrite a legacy php Browser-Based-Game so that it uses object oriented programming.  I find it relatively easy to model concrete nouns, like: new Npc(), new Character(), new Account(), new Clan().  I'm finding it more difficult to model a character's actions.  For example:    usable skills. a test for whether two characters are multiplayers attacking another character test for whether a character is allowed to attack another character etc.   Have you done something like this, and if so, what overall approach did you use to model the in-between-the-nouns behavior?


Why can't the units of work and torque be interchanged?

When I'm studying about work and torque, I found that their unit are the same. But, why don't we use Joule (unit of work) instead of Newton-meter (unit of torque)? Since $\mathrm{1\ Joule = 1\ Nm}$, why can't they be interchanged?


I have 2 arrays namely x and y and I wish to convert them into one Point array.  This is what I've tried, but it doesn't seem to be working.  public class Point {      public static void main(String[] args) throws Exception {          Point[] objectPoints;          double x[] = {3,4,5};          double y[] = {4,5,6};           for (int i = 0;i < 2; i++) {              objectPoints[i] = new Point(x[i],y[i]);          }      } }   How do I achieve that?


Intuition for Quantum Mechanics (if it exist!)

So I have just started studying Quantum mechanics and like a lot, and struggling with the concepts, so it’s really difficult (if possible) to relate to reality.  Nevertheless, some intuition will still help for approaching the subject, and they include:  What is really the wave function? I know when you square is the probability function, but by itself, does it mean anything physically?  And also does a wavefunction exist in reality if it is not normalised, is there anything else other than so the area is one (when the wavefuncion is normalised)


Solve equation for z: $z^2=3+4i ,(z=x+iy)$

$$z^2=3+4i ,(z=x+iy)$$ Seems easy? That's what I thought!  I get a system of equations that I can't solve: $x^2-y^2=3$ and $2xiy=4i$ which I then get $x=\frac{2}{y}$  I can't solve the system of equations?


How do you set your camera in settings to TAKE photos that come out with the skin looking more tanned and bronzed than in real-life? Instead of changing the photo afterwards. Preferably Canon, but any other camera is fine.   Something like this:


If $f(x)$ is a function with all coefficients $1$ or $-1$ and all roots real then degree of $f(x)$ can be

If $f(x)$ is a real function with all roots real and $f(x)$ has all its coefficients $1$ or $-1$. (Some can be 1 and others can be -1 but no other value) . Then we have to find the constraint on degree of $f(x)$.  My attempt : Let $f(x)$ be   $a_{0}x^{n} +a_{1}x^{n-1} + ....+ a_{n-1}x +a_{n}$ So we have sum of roots(S) = $+1$ or $-1$ , Similarly product of roots taken two at once(P)= $+1$ or $-1$. So sum of squares of roots = $S^2 - 2P$ .This must be greater than 0.Solving this we get sum of squares of roots is equal to $3$. (Excluding the case when degree is$1$).But after this I couldn't arrive at any satisfactory result.  Note :: We have not been taught calculus yet.


What does the "TE" suffix in the Intel Core i3-6100TE's name stand for?

on Intel's website says that the "T" suffix represents a "Power-optimized lifestyle", which, as far as I understand, means better power efficiency, but doesn't say anything about the "E" suffix (except for the older Core 2 processors, where it seems to have a similar meaning to the current generation "T").  The i3-6100T and i3-6100E also exist, both with a TDP of 35W, just like the i3-6100TE. The main differences i can see while  on Intel's website are that the two processors with the "E" have:   a lower clock speed (2.7 GHz vs 3.2 GHz) something called "Embedded options available" (maybe this is it?)   So does anybody know what the "E" means?


How to add and then extract Dll from C# just before the program starts?

So I have a simple written program in C# (.exe) but it requires one of Dll's to be loaded and extracted into specific or temp folder so the program will load correctly.   What's the easiest way to achieve it ?


Configuring WordPress .htaccess to view subfolders

I have a WordPress installation with an .htaccess file that looks like this:  # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress   I tried installing a fresh copy of WordPress into a subdirectory for a separate blog and am getting 404 errors within the root WordPress when I try to view it. I'm assuming this is because of the .htaccess file.   How do I change it so that I can view the subfolder?


Exported feature class attribute table fields containing data read as NULL or 0 length vectors in R

I have encountered some odd behaviour trying to work with data exported from feature classes using the  in ArcDesktop 10.4.1 (advanced licence).  The data looks like this with up to ~3000 rows:    I'm doing some further processing in R using the following for loop:   for (row in 1:nrow(input_angles_t$`030918`)){   S_tmpX <- input_angles_t$`030918`[row, "START_X"]   S_tmpY <- input_angles_t$`030918`[row, "START_Y"]   FID <- input_angles_t$`030918`[row, "FID"]   for (row in 1:nrow(input_angles_t$`030918`)){     if (input_angles_t$`030918`[row, "FID"] != FID & input_angles_t$`030918`[row, "START_X"] == S_tmpX & input_angles_t$`030918`[row, "START_Y"] == S_tmpY & input_angles_t$`030918`[row, "BEARING"] == 0){       input_angles_t$`030918`[row, "BEARING"] <- 359     }   } }   the input_angles_t$030918`` input is a data frame like that shown above.  When I run this loop on data exported from a shapefile, it works fine.  However, when I run the same loop on the same data but exported from a feature class in geodatabase, R throws the following error:   Error in if (input_angles_t$`030918`[row, "FID"] != FID & input_angles_t$`030918`[row,  :  argument is of length zero   I've looked into what this error means and it is to do with NULL or 0 length vector arguments that stop the if statement from evaluating.  I've checked for NULLs in the data and there aren't any.  What is weirder is that it runs the line S_tmpX <- input_angles_t$030918[row, "START_X"] and I get S_tmpX as an output before it throws an error saying that essentially the same line of code produces a zero length argument.  And as stated above, this ONLY happens on .csv exports from feature classes, not on exactly the same data from a shapefile.    Has anyone else ever come across similar problems and found a solution?  At the moment my solution will be to just work with shapefiles for this task, but I prefer file management with geodatabases, so if I could go back to using feature classes in GDBs, that would be preferable.


Print isvowel string if its first and last character is a vowel?

import java.util.*;  public class Main {     public static boolean isVowel(String c) {         return (c == "a" || c == "A"                 || c == "e" || c == "E"                 || c == "i" || c == "I"                 || c == "o" || c == "O"                 || c == "u" || c == "U");     }      public static void main(String[] args) {         Scanner sc = new Scanner(System.in);         String input1[] = new String[4];          for (int i = 0; i < input1.length; i++) {             input1[i] = sc.nextLine();         }          int i = 0;         int j = input1.length;          while (i < 1) {             if (isVowel(input1[i]) && isVowel(input1[j - 1])) {                 System.out.print("isVowel string");             }             i++;         }     } }  For example, input String array is oreo. so as its first character o (which is vowel) and its last character o (which is also vowel, it could be another vowel character also like e), so at last it should print isvowel string. But the problem in my program is if condition I am not able to enter in it. I am not able to understand why?


for(creature a : horde.creatures){   always throws a nullpointer, even though I defined it before:  private swarm horde;   This is the swarm class:  public class swarm { public creature creatures[] = new creature[100]; }   which is just an array of creatures:  public class creature { Random r = new Random(); public boolean hostile = r.nextBoolean(); public double[] velocity = new double[2]; public double[] position = new double[2];   The whole window class:  package de.towdo.intellia;  import java.awt.*; import javax.swing.*;  final public class window {  JFrame frame; DrawPanel drawPanel;  private swarm horde;  public static void main(String[] args){     new window().go(); }  private void go(){     frame = new JFrame("Window");     frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);      drawPanel = new DrawPanel();      frame.getContentPane().add(BorderLayout.CENTER, drawPanel);      frame.setVisible(true);     frame.setResizable(false);     frame.setSize(500, 500);     frame.setLocation(340, 55);     moveIt();  }  class DrawPanel extends JPanel{      public void paintComponent(Graphics g){         for(creature a : horde.creatures){             if(a.hostile){                 g.setColor(Color.RED);             }             else{                 g.setColor(Color.GREEN);             }             g.fillRect((int)a.position[0], (int)a.position[1], 1, 1);         }     } }  private void moveIt(){     while(true){         try {             Thread.sleep(10);         }         catch(Exception exc){             exc.printStackTrace();         }         frame.repaint();     } } }


When is a local homeomorphism a covering map?

if $X$ and $Y$ are Hausdorff spaces, $f:X \to Y$ is a local homeomorphism, $X$ is compact, and $Y$ is connected, is $f$ a covering map?  It seems to be, and I almost have a proof, but I'm stuck at the very end of it:  I've already proved that $f$ is surjective (using the connectedness), and that for each $y \in Y$, $f^{-1}(y)$ is finite. Because $X$ is compact, there exists a finite open cover of $X$ by $ \{ U_i \}$ such that $f(U_i)$ is open and $f |_{U_i}:U_i \to f(U_i) $ is a homeomorphism. For each $y \in Y$, we choose the subset $ \lbrace U_{i_j} \rbrace $ such that $y \in U_{i_j}$, and then define $V = \bigcap_{j=1}^k f(U_{i_j})$, and $U'_j = U_{i_j} \bigcap f^{-1}(V)$.  ... and this is were I got stuck. I really want to write that $f^{-1}(V) = \bigcup_{j=1}^k U'_j$ (more or less proving it's a covering map), but I can't justify that, and I actually think that it's not true. I think I might need an extra step, and to take an even smaller neighborhood of $y$, in order to make sure that extra sets from $ \lbrace U_i \rbrace $ didn't sneak into $f^{-1}(V)$.  Any help would be greatly appreciated as I've already spent several hours working on this problem.


dircolors: modify color settings globaly

I understand ls uses dircolors to display colored output. dircolors has default database of colors associated with file extensions, which can be printed wiht the command  dircolors --print-database   From man dir_colors I read, the system-wide database should be located in /etc/DIR_COLORS. But this file does not exist on my system (Debian). How can I modify system-wide color settings for dircolors? Where does the command dircolors --print-database take the settings from, when no file exists.  I am aware that user can have user-specific file ~/.dircolors with his settings, but this is not suitable for me, since I need to change the settings for everybody.  A second questions is, whether it is possible to use 8-bit colors for dircolors. My terminal is xterm-256color.


What the difference List list = new ArrayList() and List list = new LinkedList()

I got a question in my mind that: What the difference  1) List list = new ArrayList() 2) List list = new LinkedList() ? No matter I initialize list in the both way above, still it can only use method in List, but not either ArrayList or LinkedList, isn't it?  I read from a website (), stated that it is known as "programming to an interface", which easy for a developer to change from ArrayList to LinkedList or vice versa in future. But no way for me to use method of ArrayList/LinkedList if I initialized in the way shown above, even it is flexible to change the way of initialize. I believe there is a reason. Hope to find answer for it.


When all shares of a secret are given to adversary as a permuted matrix

Suppose we have a secret $\sigma$.   The secret comes from a universe in which the elements are not necessarily distributed uniformly.   We split $\sigma$ into $n$ shares $[\sigma_1,...,\sigma_n]$ (using Shamir secret sharing). So the order of shares matters.   We know given all the shares in the right order one can recover the secret.   We permute all the shares in a matrix (see below). We fill the empty indices with some dummy (or random) values $d_{i,j}$  \begin{matrix}     d_{11}       & \sigma_{n} & \sigma_{2} & \dots & d_{1,m} \\     d_{21}       & d_{22} & \sigma_{i} & \dots & d_{2,m} \\     \dots                                   \\     d_{k,1}       & d_{k,2} & \sigma_{3} & \dots & \sigma_{1} \end{matrix}    Question: Given the matrix, can the adversary recover the secret with a high (or non-negligible) probability?  I emphasis that $\sigma$ may have very greater distribution probability than the other elements of the universe and the adversary knows that probability.   Please note that the values $k$ (number of rows) and $m$ (number of columns) are independent of the number of shares $n$ and we can increase them if it's needed.   ====================================  Edit:  Newly added:  Suppose we have two permuted matrices one contains shares of secret value $\sigma$ and dummy values; and the other matrix contains shares of $\gamma$ and random values. We give away the two permuted matrices and one-to-one mapping of the elements to the adversary. The mapping tells the adversary that value in $i,j$ position in one matrix corresponds to value $k,l$ position in the other matrix.   Question: Would the adversary learn the secret values $\sigma$ and $\gamma$ with a non-negligible probability.


Was There Ever an Official or Canon Retcon or Explanation For the Eugenics Wars?

Star Trek is one of the few SF shows to have the distinction of running long enough to make some of their original situations outdated.  In the original Star Trek, the Eugenics wars took place between 1993-1996.  Star Trek: The Next Generation was produced from 1987 until 1994, so it was being produced during that time period and Star Trek: Voyager started production after that, so those shows were actually produced during and after the time when Earth was supposedly going through a terrible war.  The Eugenics Wars were not mentioned in The Next Generation or Deep Space Nine, and were never directly mentioned in Voyager.  However, The Next Generation started with Q putting humanity on trial in a courtroom modeled after trials that took place after World War III, which is in the 21st century.  In Voyage there are at least two episodes that deal with the late 1990s or early 21st century, a time that was after the Eugenics wars were supposed to happen.  In Future's End, the ship Voyager is in orbit around Earth in 1996 (current time for viewers when it was produced) and crew members spend time on Earth.  Everything looks as we'd expect for people living in 1996.  There's no trace of the Eugenics wars or any of the aftermath.  In the episode 11:59 we see Janeway's ancestor in the year 1999 and there's no trace of any recent wars.  While this was necessary, since Trek had been around so long, at that time, that it had outdated itself, it does create problems in terms of internal continuity.  I realize that the Voyager producers were more concerned about not confusing newer viewers than about maintaining continuity with a show that aired 20 years before then, but there are repeated references to Kirk later in the series that do keep some continuity between the shows.  Was there ever any on-screen or canon reference to this?  Was the timing of the Eugenics wars moved forward to fit a new timetable?  Were they just combined with World War III, sometime in the 21st century?  Were retconned dates for the Eugenics wars ever given to go with a revised timeline?  If this was never addressed in canon, did any of the novels or games provide any explanation for the discontinuity between the 1990s as the time for the Eugenics Wars and the fact that we're still here, without such wars, in the 21st century?  Please understand: I know what the Eugenics Wars were and about them.  What I'm focusing on, with this question, is what was done within the studio or the writer's meetings to handle the retconning when our world caught up to the time of the Eugenics Wars and Voyager was airing episodes of their characters visiting our non-wartorn planet instead of one decimated by those wars.  Or did the writers in Voyager even realize that was an issue?


biblatex: How to remove the parentheses around the year in authoryear style?

The standard authoryear style in biblatex puts parentheses around the year in the bibliography and no parentheses around in text citation years:        Smith 2011 shows ... (citation)   Smith, Joe (2011) ... (bibliography)      Is there a (simple) way to turn these into:        Smith (2011) shows ... (citation)   Smith, Joe. 2011. ... (bibliography)


Based on the Star Wars movies, there seem to be quite a few Jedi who lose one or more appendage in light-saber battles. It seems like most Jedi are two-handed, but it's hard to know for sure. Is it common for a Jedi to have been injured in such a fashion, or are the Skywalkers particularly prone to premature truncation?


Whats the best way to archive projects before revisions?

Working on ads and pleasing your client is hard. Sometimes they will change they mind and would prefer the one you made on the 5th revision when you already revised it 10 times. And changing small things multiple times and saving the file gets frustrating. You forget the one you did from the 3rd revision.  How do you deal with this? For me, history panel is my friend in Photoshop. I recently discovered it can automatically save a snapshot every time you save it. But sometimes, its not super effective.


I have this problem:  Find a contnuous function $f$ such that:  $$\int_0^x f(t)\,dt = (x-1)e^{2x} + \int_0^x e^{-t} f(t)\,dt$$  and it's required to find $f(x)$ so $$ \int_0^x f(t)\,dt  -  \int_0^x e^{-t} f(t)\,dt= (x-1)e^{2x} $$ here I differentiated both sides and factor $f(x)$ on the left $$ f(x)\cdot (1-e^{-x})= 2(x-1)e^{2x}+e^{2x}$$ $$f(x)= \frac{2(x-1)e^{2x}+e^{2x}}{(1-e^{-x})}$$ but the answer appointed is  $$f(x)= \frac{(1-2x)e^{2x}}{(e^{-x}-1)}$$ did I mess up somewhere or am I lacking some algebra work here? here is a similar question alredy answered


How do I download pictures from iPhone 7 to Ubuntu PC

I can connect my iPhone via USB to a Dell/Windows PC and it immediately recognizes it as a file folder and allows me to download pics.  I can't get my Ubuntu to connect with iPhone. Is there a simple solution?  I need to download pictures from iPhone 7 to Dell laptop running Ubuntu 16.04 LTS.


Unexpected inconsistency, root filesystem requires manual fsck, boots to (initramfs)

This shows up on my screen when I boot my laptop on Ubuntu.


Cron job not exiting in Catalina; leaving zombie processes

I just upgraded to catalina a few days ago. I'm still using bash which has been installed with homebrew.  The ps aux | grep bash command is showing a new bash process is forked every minute. After a few hours I'll have hundreds of bash processes running in the background. Each of these is accompanied by a cron process.  The cron job in crontab -e is:  * * * * * /Users/me/bin/sync_task  This task runs a bash script for syncing my taskwarrior projects:  #!/bin/bash TASKRC=$HOME/.taskrc_uc_team /usr/local/bin/task synchronize unset TASKRC /usr/local/bin/task synchronize   Does anyone know why the bash and cron processes might not be exiting?


Centering a div inside a background div with 100% width and 100% height

I'm having some odd trouble. My problem should be a simple fix, but after looking at endless "centering divs" articles, none of the solutions are working and I'm unsure what to do! I've created a JS Fiddle to show my problem.  I need the small red box (#sphere-content) to be centered both horizontally and vertically inside of my gray box (#background). Normally this could be solved by simply setting the margin to "auto 0;", but for some reason, that doesn't seem to be wanting to work. I'm not sure if it has something to do with the parent div being 100% width and height wise?  Here is the relevant code:

      #background {     margin: 0px;     padding: 0px;     top: 0;     left: 0;     width: 100%;     height: 100%;     position: fixed;     z-index: -1;     background-color: #d5d5d5;     }      #sphere-content {     background-color: red;     width: 50px;     height: 50px;     margin: 0 auto;     }   JS Fiddle:   Thank you so much in advance!


Strictly increasing sequence $\{ a_k \}$ of positive integers such that $\sum 1/{a_k}$ is finite and minimal with respect to this property

Is there a strictly increasing sequence $\{ a_k\}$  of positive integers such that $\sum 1/{a_k}$ is finite and minimal with respect to this property, in a sense that if $\{ b_k \}$ is another sequence of such, then $a_k \leq b_k$ for all but finitely many values of $k$??  Motivation came from comparing the series $\sum 1/n$ and $\sum 1/{n^2}$, the first of which is divergent but the second of which is not; the sequence for the first is "smaller" than that of the second.  If this question need be motified to make my question clearer and/or make it mathematically answerable, please comment/suggest adit as well.


Can I run a small web server from a custom directory?

The question may not be clear, let me explain:  I develop websites using Symfony and there is a clever little command that allows me to start an apache server, taking the root of the server as the current directory. I can then view the result on a dedicated port (localhost:8000).  Is there an easy way to do that without Symfony, maybe included in Apache2? I would like to test something that doesn't require that PHP framework.  I know I could simply make a symlink to my actual Apache server (/var/www if I remember correctly, it has been a long time since I used that one). It's not that I'm stuck, I was just wondering if it was doable without too much tears.


In the 4th season's premiere, , Gowron utters the Klingon phrase      "It's a good day to die"   which Benjamin Sisko had to ask Worf to be translated first - why didn't the Universal Translator do its work?  There's , but to my understanding that one doesn't indicate whether it merely means appearances of foreign languages to the viewer or actual in-universe non-translations.


Based on a c# datetime, output the month as MM?

I have a datetime object (initialized), how can I output the month part as MM?


How can I create a fortunes file and add it to the fortune* command on the shell?  *Fortune - "console command to print a random, hopefully interesting, adage."


Is it possible to set different scale dependent visibility for one layer classifications?

I'm working on a sewer and water network, so I need to set different scale visibility for primary, secondary and tertiary network.


$$ \lim_{n \to \infty} \left[  \log \left(1+\frac{1}{n^2} \right) + \log \left(1+\frac{2}{n^2} \right) +  \ldots + \log \left(1+\frac{n}{n^2} \right) \right] $$ How to solve the problem. May be using Cauchy’s theorem on limits or using Riemann sum. Any help would be appreciated. Thank you


Macroscopic quantum phenomena and tunneling

says  Quantum phenomena are generally classified as macroscopic when the quantum states are occupied by a large number of particles (typically Avogadro's number) or the quantum states involved are macroscopic in size (up to km size in superconducting wires).  To comply with copyright laws, the following is an edited paraphrase of this reference, pp6-7.   The term “dynamical degrees of freedom” should be used carefully. Imagine a baseball moving through a wall without being compressed. Certainly, this phenomenon can be called a macroscopic tunneling; since the ball is a collection of atoms, the number of degrees of freedom is comparable to the number of atoms. Macroscopic tunneling depends on the number of microscopic degrees of freedom like the positions of constituent atoms. Collective degrees of freedom are superior: they are singled out by rearranging the microscopic ones.  Are there any circumstances under which the ball could pass through the wall via macroscopic quantum tunneling, or is this wishful thinking?


What prevents deadly animals from coming into Hogwarts?

There's no fences at the boundary of Forbidden Forest. Students can (and, do) get inside, but they are atleast intelligent animals to be careful and avoid entering the forest. But, it's not true for deadly animals wandering in the forest (). What prevents them from coming into Hogwarts campus and attack students? Is there an enchantment in place for the protection?


Find the radius of convergence for infinite series.

I have just shown via the Taylor expansion for $\sin(\frac{1}{n})$ that the series  $$ \sum_{n=1}^{\infty}\left(\frac{1}{n} - \sin\left(\frac{1}{n}\right)\right) $$  is in fact convergent and now I'm asked to find the radius of convergence for the series  $$ \sum_{n=1}^{\infty}\left(\frac{1}{n} - \sin\left(\frac{1}{n}\right)\right)\cdot x^n ,\; x\in\mathbb{R}$$   and I'm not sure how to approach this. I have tried the ratio test but it doesn't go well and the Cauchy-Hadamard doesn't seem to work either.  Any ideas?


How do I solve "Unable to fetch some archives, maybe run apt-get update or try with --fix-missing" error?

I'm trying to install phpMyAdmin using sudo apt-get install phpmyadmin but encountering this error  Err http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.34-0ubuntu0.12.04.1   404  Not Found [IP: 194.169.254.10 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-common all 5.5.34-0ubuntu0.12.04.1   404  Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main libmysqlclient18 i386 5.5.34-0ubuntu0.12.04.1   404  Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-client-core-5.5 i386 5.5.34-0ubuntu0.12.04.1   404  Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-client-5.5 i386 5.5.34-0ubuntu0.12.04.1   404  Not Found [IP: 91.189.91.15 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-client all 5.5.34-0ubuntu0.12.04.1   404  Not Found [IP: 91.189.91.15 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.34-0ubuntu0.12.04.1_all.deb  404  Not Found [IP: 91.189.91.15 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.34-0ubuntu0.12.04.1_i386.deb  404  Not Found [IP: 91.189.91.15 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-core-5.5_5.5.34-0ubuntu0.12.04.1_i386.deb  404  Not Found [IP: 91.189.91.15 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-5.5_5.5.34-0ubuntu0.12.04.1_i386.deb  404  Not Found [IP: 91.189.91.15 80] Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client_5.5.34-0ubuntu0.12.04.1_all.deb  404  Not Found [IP: 91.189.91.15 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   What could be the issue here? How do I solve it?


Proving the inverse of a matrix equals $I_n-\frac{1}{n-1}A$

Question: Let $A$ be a matrix whose elements are all $1$. Prove that $$(I_n-A)^{-1}=I_n - \frac 1{n-1}A.$$  Thought:  I tried using this identity, but couldn't get any further (computing the adjoint looks pretty nasty):  $$(I_n-A)^{-1}=\frac 1{\det(I_n-A)}\operatorname{Adj}(I_n-A)$$


Classifying all symmetries of a mechanical system

Given a newtonian mechincal system with $n$ objects, we may think of it as living in $\mathbb{R}^{6n+1}$ ; one dimension is time, $3n$ dimensions for velocities, and $3n$ for positions.  We then have qualities that are kept under for any initial conditions; momentum, angular momentum. I want to make sure we found all of those, let's formalize this question;  I think we don't want the time to be involved, so I am asking for all continous $F : \mathbb{R}^{6n} \to \mathbb{R}$ so that for any initial conditions and the resulting path in $\mathbb{R}^{6n}$ (over time), $F$ is constant. Those continous $F$ form a vector space, and I want to understand it.  Examples -   $F$ is the mass of a fixed body.  $F$ is the sum of the momentums.  $F$ is the angular momentum.


Article appendix with sections and toc entries in the form "Appendix A"

I have been trying to get the appendix for my thesis done. I've read a lot about it and as always you can chose between a fiddly way and a magic package that doas the job to solve a problem (I usually prefer a magic package). Unfortunately both approaches didn't work out, so here is how far I got.  Four requirements  This is what my appendix should look like for a document with class 'article', there are four requirements:  Sections should look like this:  Appendix A    Title1  Appendix B    Title2   They should appear in the same way in the TOC:  Appendix A    Title1                    56  Appendix B    Title2                    88   \ref{app:foo} should be able to return the letter of the corresponding appendix.  Tables and Figures should be labeled as Table A1. or Figure A1.  Fiddly approach  \documentclass{article}  \renewcommand\appendix{\par   \setcounter{section}{0}   \setcounter{subsection}{0}   \setcounter{figure}{0}   \setcounter{table}{0}   \renewcommand\thesection{Appendix \Alph{section}}   \renewcommand\thefigure{\Alph{section}\arabic{figure}}   \renewcommand\thetable{\Alph{section}\arabic{table}} }  \begin{document} \tableofcontents  \section{Dolor sit amet} Have a look at \ref{app:foobar}  \appendix \section{foo} \label{app:foobar}  \begin{table}[h] \caption{foo} \begin{tabular}{cc} \textbf{ a } & \textbf{ b }\\ 1 & 3 \\ 2 & 4\\ \end{tabular} \end{table}  \end{document}   It worked out pretty good. The problem is that in the TOC the appendix title "foo" gets written onto "Appendix A". Is there a way to adjust the position of the title in the TOC?  Magic package 'appendix'  The solution I found  unfortunately applies only to the documentclass 'report' where chapters are used. But my document has the class 'article' and no chapters whatsoever. I also don't like it that the appendix titles are not in the same lines as "Appendix A" and in table labels there is a dot between the section and table number "Table A.1.".  \documentclass{report} \usepackage[titletoc,toc]{appendix}  \begin{document} \tableofcontents  \section{Dolor sit amet} Have a look at \ref{app:foobar}  \begin{appendices}   \chapter{Consectetur adipiscing elit} \label{app:foobar}     \begin{table}[h]     \caption{foo}     \begin{tabular}{cc}     \textbf{ a } & \textbf{ b }\\     1 & 3 \\     2 & 4\\     \end{tabular}     \end{table}   \chapter{Mauris euismod} \end{appendices} \end{document}    Is there a proper way using the appendix package? I played around with the toc, title and titletoc arguments for the package. But it didn't do what it said in the manual.  It would great if someone could help me, no matter on which approach!  Update  Thank you very much for your help! The first comment from Alan Munn reassuring me that the appendix package should work as expected helped me to find the error. This is the erroneous code:  \documentclass[a4paper,12pt]{article}  %appendix \usepackage[title,titletoc,toc]{appendix}  %format paragraphs \usepackage{titlesec} \titleformat{\paragraph}[runin]{\normalfont\normalsize\itshape}{\theparagraph}{}{}[.] %format paragraph italic and ser a period after it \titlespacing{\paragraph}{0pt}{0pt}{*1} %remove spacing and add one characterspace after paragraph  \begin{document} \tableofcontents  \section{Method} (The entire results are detailed in Appendix \ref{app:bar}).     \begin{appendices} \section{foo} \label{app:foo} asd \section{bar} \label{app:bar} \end{appendices} \end{document}   The three lines which format paragraphs cause the appendices to fail in the toc. If taken out, everything works fine. But what about my paragraphs then? Do I have to pose another question for that? ;)


I read in a recent post that you can simulate a light being visible to the camera by adding an object and using the following node setup:    It works as intended, but creates jagged edges:    There is a workaround to get rid of the jagged edges by connecting "Is Camera Ray" to the "Strength" input of the "Emission" node:    Great!, but now the object becomes dimmer:    How can I have a non-jagged light source while maintaining brightness?


How deterministic is floating point inaccuracy?

I understand that floating point calculations have accuracy issues and there are plenty of questions explaining why.  My question is if I run the same calculation twice, can I always rely on it to produce the same result?  What factors might affect this?   Time between calculations? Current state of the CPU? Different hardware? Language / platform / OS? Solar flares?   I have a simple physics simulation and would like to record sessions so that they can be replayed.  If the calculations can be relied on then I should only need to record the initial state plus any user input and I should always be able to reproduce the final state exactly.  If the calculations are not accurate errors at the start may have huge implications by the end of the simulation.  I am currently working in Silverlight though would be interested to know if this question can be answered in general.  Update:  The initial answers indicate yes, but apparently this isn't entirely clear cut as discussed in the comments for the selected answer.  It looks like I will have to do some tests and see what happens.


Hotmail and Live.com rejecting all emails

I have been having problems sending emails from my server to hotmail.com and live.com email addresses. I have read other posts on serverfault but they have not been helpful. Here is the error message. It is very vague     550 SC-001 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit  for email delivery information and support   I have visited  and  but nothing has worked. I have a mx record and a valid spf record: v=spf1 a mx ~all which passes google's validation. I have triple checked all spam lists and my IP is not on any list. I am at a loss, any suggestions?


Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal

The nautilus-open-terminal package adds a menu/right-click option to open a terminal in the current directory.  I want to change this from opening gnome-terminal to opening terminator. , however these instructions do not appear to be valid any more, and I can't find any place in the system settings where the default emulator can be changed.  I also tried:  $ sudo update-alternatives --config x-terminal-emulator   choosing  * 0            /usr/bin/terminator               50        auto mode   But this does not appear to have any effect. Any idea how I can get this to work?


What's the best way of handling permissions for Apache 2's user www-data in /var/www?

Has anyone got a nice solution for handling files in /var/www? We're running Name Based Virtual Hosts and the Apache 2 user is www-data.  We've got two regular users & root. So when messing with files in /var/www, rather than having to...  chown -R www-data:www-data   ...all the time, what's a good way of handling this?  Supplementary question: How hardcore do you then go on permissions?  This one has always been a problem in collaborative development environments.


Figure or longtabu/longtable causes bottom margin overflow

I have been searching for a while now without any luck, so I hope you can help me. The problem is that when I insert a figure/longtabu on my page, the text below is running out of the page, like this image shows:    Do you know what the problem is here?  I have uploaded some sample code here:


I want to build a personal portfolio so my questions related are as follows:   What should I include in the portfolio apart from Home, About, Work, Contact? I have never worked on any real life examples so what to display in the work/portfolio page? What kind of design samples do I need to include? Ex: Website, Logo, Banner etc   Any help is appreciated.  Thanks!


Open problems in Galois theory (other than the IGP)

I'm interested in open problems in Galois theory.  It's not necessary for them to be well known or considered important, but they have to be mostly Galois-theoretic, that is, not number theory or geometry with some relation to Galois theory (there's a lot of those!).  Also, I'm well aware of the inverse Galois problem, so avoid that one on any of its forms.     Note. The question was closed as a duplicate of ,   but even a superficial read reveals that they are exactly   complementary. The accepted answer answers that question, but not this one. Please reconsider!


Show that set of Real numbers has the same cardinality as a set of Irrational Numbers.

How can I show that sets $| \mathbb R-\mathbb Q |$ and $ | \mathbb R |$ have same cardinality.  My Solution: As long as for element in one set I can match it with unique element in another set they have same cardinality: After removing $\mathbb Q $ from $\mathbb  R$ I can shift elements of Irrational numbers to correspond to elements of two sets match like this: $ \begin{array}{c|c|c|c|c|c} \mathbb R&0&1&\cdots&n&\cdots\\\hline \mathbb R\setminus\mathbb Q & \sqrt{2} &\sqrt{5} &\cdots & \sqrt{n+1} &\cdots \end{array}  $ Note that I use n as Real number for simplicity.   Even if this solution is correct, I feel like Professor won't accept it on exam. How would formal solution look like?


Replace the text 'Chapter' with custom text in Memoir

How can I replace the word 'Chapter' with some other text string in Memoir class?  So, instead of Chapter 1, it appears as, say, MyChapter 1.  Also, the text is in Devanagari script so MyChapter will be some Devanagari text string.


How do I find out if my computer's hardware is compatible with Ubuntu?

I'm going to switch OS. From Windows 7 to Linux (Ubuntu, I think). Problem is that I'm not sure about my computer's hardware. Will it be suitable and there will be working drivers for it? For example, I have an external WiFi receiver that I use with Windows.  I thought I'd look for some command or application that prints out info about my hardware (on Windows 7, at the moment).     Is my hardware suitable for Ubuntu?      Here is the list:      ...   I hope that you can help me.


Do I need to guess a distribution to use MLE?

From what I understand about Maximum Likelihood Estimation, by observing a set of data, we guess a distribution family and then find the parameters for that distribution that will maximize the probability of observing the data we have observed. (Am  I right?)   So prior to using MLE I do need to have a way to guess a distribution family that the data follow. How can I make this guess?


Maximum likelihood estimation when the density is $f(x;\theta) = \theta x^{\theta -1} $

Working through this given problem on maximum likelihood estimation (MLE). The density is given as  $$f(x;\theta) = \theta x^{\theta -1} $$ transforming the above equation to MLE, we have  $$L(x;\theta) = \prod_{i=1}^{n} \theta x^{\theta - 1} $$  then we have $$L(x;\theta) = {\theta}^n \sum_{i=1}^{n} x^{\theta - 1}. $$ Taking $\ln$ $$ \begin{align} \ln L(x;\theta) &= \ln{\theta}^n \ln\sum_{i=1}^{n} x^{\theta - 1}\\ &=n\ln{\theta} ({\theta - 1})\ln\sum_{i=1}^{n} x_{i}\\ &=n\ln{\theta} ({\theta - 1})\ln\sum_{i=1}^{n} x_{i}. \end{align} $$ Differentiating with respect to $\theta$ is what is turning me off here, or is there any thing i have done wrongly.   Thanks for any help