Help identify a 90's sci-fi cartoon - main character with a name from greek mythology(?)

I have vague memories of a cartoon which would have been made in the 80s or early 90s - I would say that the animation looked like it was from the 80s but I would have seen it on UK television around 1990-94. I get the impression it was European in origin, possibly originally produced in a non-English language (German? French?) and later re-dubbed. I think it was shown in the UK on channel 4 in an early morning slot (like 6:30am or something).  It was set in space or had some space elements and I believe the main character or another very prominent character had a full beard and he (and the show?) may have been named after a character from greek (or other ancient) mythology? I want to say Hercules but I know that's not right. Any ideas?


Getting correct mouse position on Canvas when canvas size is relative?

The problem is the following, my canvas width and height is relative to its parents. In css, its width and height is set to 95%. That causes my getMousePosition function to not work properly, meaning that when I click on a canvas point, the actual point where say a rectangle is drawn is far from the observed clicked point.  Here is the html stuff

                 <canvas class = "Blackboard" id = "blackboard-canvas" >                  </canvas>

Color Options

Tool Bar

                         <canvas id='color-option-canvas' >                          </canvas>

                         Tool bar options goes here

     and the relavent css  .Blackboard{  border-style: ridge; border-color: gray; border-width: 5px;  width: 96%; height: 96%; cursor: crosshair; position: relative; -webkit-border-radius: 16px; -webkit-box-shadow: 0px 6px 7px #0a0505;   };   .Blackboard:active{ cursor: crosshair;   }   .Container{ border-color: #666; border-width: 10px; border-style: inset; background-color: gray; width: 700px; height: 400px;  }   #right-div, #left-div{ height: 100%;  }  #left-div{ float: left; width: 60%;  }  #right-div{ float: right; background-color: black; width: 40%;  }   Is there a way to 'normalize' it or or something?  EDIT:  here is a the jfiddle


Show that $\langle 2,x \rangle$ is not a principal ideal in $\mathbb Z [x]$

Hi I don't know how to show that $\langle 2,x \rangle$ is not principal and the definition of a principal ideal is unclear to me. I need help on this, please.   The ring that I am talking about is $\mathbb{Z}[x]$ so $\langle 2,x \rangle$ refers to $2g(x) + xf(x)$ where $g(x)$, $f(x)$ belongs to $\mathbb{Z}[x]$.


I am building a 18W tube amplifier based on this . I found a  for a similar amp.  my problem is that there is low plate voltage on all of the tubes (by plate I mean pin 3): when I measure the pins without the tubes it's around 120V and with the tubes it drops to ~17V. there is clearly something wrong. After rectification I can measure ~300V on the (+) of the bridge rectifier.  I am concerned about that 220K resistor, which is (in the layout) next to the rectifying diodes. would it make a difference if I remove it? because i cannot see it on the schematic.  note: I have a power transformer without center tap, which is rectified using a bridge rectifier as discussed in


Is the concept of dimension still well defined for non-finite dimensional spaces?

The question is quite simple: if $\mathbb{V}$ is a vector space and $B$ and $B'$ are basis for $\mathbb V$, then do $B$ and $B'$ have the same cardinality?   I've tried to answer the question as follows: suppose that $B'$ is bigger than $B$. Then there is a map $f:B'\to B$ surjective but non-injective. Extending this to a linear map $f':\mathbb V\to\mathbb V$ we have that $\mathbb V/\ker f'\cong \mathrm{Im} f'=\mathbb V$, with $\ker f'$ being non-trivial. But is this really a contradiction? (of course it is in finite dimension, since we know that all basis have the same cardinality in that case, but this is exactly what we are trying to prove here...)


I have no bloody idea what setting I changed or what but the file used to render fine and now when I press F12, it instantly spits out a "finished render" of pure white. I've worked so hard on this animation. I can't redo it all in another file. Oh and other files render fine. Thanks!


How are the SE questions that are used in the SO sidebar ads chosen?

I see ads to other SE sites regularly on the sidebar of SO. Are these questions chosen by hand, or algorithmically? The reason I ask is that there was an ad pointing to  on Seasoned Advice. I'm all for a good laugh I suppose, but is this the kind of question that should be highlighted?  It's obviously a thriving community, but if this were my first exposure to that community, and I saw that the highest-rated answer -- from the user with the highest reputation -- was (and I paraphrase only lightly):  "Why yes, there is tool that can cut cherry tomatoes in half.  It's fantastic for the job.  It's called a freakin' KNIFE!"  would I ever want to visit again, let alone ask a question over there? First impressions count for a lot, and that one missed the mark IMHO. If the selection method is algorithmic, I suppose there's no reliable way to detect sarcasm in a highly-rated answer, but if it's manual, weeeellllllllll ... :)


Can’t login to Area 51 ( Unable to log in with your OpenID provider: No user found)

I think I originally signed up with a Launchpad account, but looking at “My Logins” I see two accounts: a StackExchange one (used yesterday) and Launchpad (used Jun 28 ’18) so I suppose I created a new login when OpenID support was dropped. I’ve tried logging out and logging back in with both, clearing the browser cache each time, but I just get the same message.


Should support be provided for ephemeral comments?

I understand and respect the policy against being "chatty" with the comment system, but I think there are substantive benefits to simple "thank yous" and certain other strictly social comments. I wonder if we could support the latter by providing an "ephemeral" option when submitting a comment such that the comment goes away by itself after some appropriate event (e.g. person who it's targeted at reads it, if that's detectable) or after a certain amount of time passes (e.g. 24 hours).  I'm currently working around this policy by submitting 'thank you' comments and then deleting them after some time passes.  Alternatively, if constructive, social-only comments (e.g. thank yous) are really "ok" in the domain of comments, despite they're being actively discouraged and eliminated in questions, it would be helpful if that could somehow be made more clear.


This is a phrase I've heard many people use, and it sounds wrong to me; e.g.:     The thing about that is, is that she might take it the wrong way.   It seems to treat "The thing [...] is"—the entire phrase—as the subject of the sentence. Of course, even if that were allowed, the comma placement would still be questionable.  I'm curious to know:   Is there a name for this wording? Is it specific to a certain dialect? Is its etymology known?


Why don't we use low voltage Power Sources for high wattage applications?

Super nooby question involving Ohm's law, but this has been on mind this morning.  Say I have a 60W device, and I want to power it. Usually this calls for a 120V source or something. However, why not use a 5V source and draw 12A with really low resistance? Is it for safety purposes mainly? Or is there an issue with getting the resistance low enough to achieve the 12 amps?  I tried googling this but not much came up. Probably really obvious but just wondering..  EDIT for duplicate mark: The duplicate suggestion is similar; however, it discusses series vs. parallel cells and adds interesting information, but isn't exactly what I was asking about. The answers provided on this post were much more useful to me.  EDIT 2: I added my original edit back now that the duplication mark has gone through.


I know in latex it is possible to use counters which are based on integers. Is there also some way to define a floating point register to perform simple arithmetic operations?  Basically I would need some way to write something like  \newreg{myx} \setreg{myx}{0.0} \addreg{myx}{0.5} \addreg{myx}{-0.25} \valuereg{myx} % this expands to 0.25


Number of non decreasing sequences of length $M$

How many non decreasing sequences are there of length $M$, provided the number in the sequences are allowed from $1,2,3,...,N$?


What might be the reason Im getting a NullPointerException?

So the giveTaxChart method is supposed to take the incomeArray,sort it in a ascending order and then populate taxArr with the tax values that each income recieves through the payableTax method, but even though the payableTax method is tested and indeed works, Im still getting a NullpointerException when I use the giveTaxChart method and enter reasonable values. Is there something obviosly wrong with my method or should I look somewhere else ?  public static void giveTaxChart(int[] incomeArray) {     Arrays.sort(incomeArray);     for (int i = 0; i < incomeArray.length; i++) {         for (int j = 0; j < incomeArray.length; j++) {             taxArr[j] = TaxCalculator.payableTax(incomeArray[i]);             draw(i * 20, (i * 20) + 1, taxArr[j]);         }         draw(i * 20, i * 20, incomeArray[i]);     } }   This is the full error message :  Exception in thread "main" java.lang.NullPointerException at com.company.Entities.TaxChart.giveTaxChart(TaxChart.java:36) at com.company.Main.main(Main.java:21)   And this is what main contains :  public static void main(String[] args) {     Scanner in = new Scanner(System.in);      int income = in.nextInt();     System.out.println("Tax payable is" + " " +  TaxCalculator.payableTax(income) + " " + "£");      int numberOfIncomes = in.nextInt();      int [] incomeArray = new int[numberOfIncomes];     for (int i = 0;i < numberOfIncomes ; i++ ){         incomeArray[i] = in.nextInt();     }     TaxChart.giveTaxChart(incomeArray);  }   And this is the declaration of taxArr :  private static Integer[] taxArr;


How do I make an "add" command send an error if you put words in the expression?

Here you have the code I made for the command :  #?dodaj @client.command() async def dodaj(ctx, a: int, b: int):     if (a == int and b == int):         await ctx.send(a + b)     else:         await ctx.send("Błąd : Nie mogłem obliczyc tego działania!")   I want to know what's wrong with this, because it won't work properly.  Here's the error i'm getting by typing "?dodaj coś jeszcze" :  Ignoring exception in command dodaj: Traceback (most recent call last):   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 370, in _actual_conversion     return converter(argument) ValueError: invalid literal for int() with base 10: 'coś'  The above exception was the direct cause of the following exception:  Traceback (most recent call last):   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\bot.py", line 863, in invoke     await ctx.command.invoke(ctx)   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 721, in invoke     await self.prepare(ctx)   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 685, in prepare     await self._parse_arguments(ctx)   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 599, in _parse_arguments     transformed = await self.transform(ctx, param)   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 455, in transform     return await self.do_conversion(ctx, converter, argument, param)   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 408, in do_conversion     return await self._actual_conversion(ctx, converter, argument, param)   File "C:\Users\PC\AppData\Local\Programs\Python\Python37-32\lib\site-packages\discord\ext\commands\core.py", line 379, in _actual_conversion     raise BadArgument('Converting to "{}" failed for parameter "{}".'.format(name, param.name)) from exc discord.ext.commands.errors.BadArgument: Converting to "int" failed for parameter "a".   Also when I type "?dodaj 20 20" it should add the 20's but it sends the error message that can be seen in the else parameter, in the code.


What is the simplest way to execute a paralell event with PHP?

The problem is simple. I want to continuously execute a function while I wait for another task to finish, like in this silly example:  #!/usr/bin/env php <?php  $timer = function() {   static $seconds = 0;   while(1) {     sleep(1);     echo "\r", $seconds++;   } }  $timer(); // I want to run this in parallel  $service = new Service(); $response = $service->goGetSomething('from far far away');  // I want to kill the timer here   I do parallel processing with other languages all the time, but have no idea how to achieve this with PHP. Requirements:   The simplest solution as possible, ++ if you use only PHP extensions enabled by default. I don't need Windows support :)   PS: Don't tell me to use nodejs or [your-favorite-language] that doesn't suck :)


Query on gradient as the direction of the steepest ascent and the normal.

This question has been bugging me ever since my multivariable calculus class. I know that gradient is the direction of steepest ascent( Since dot product gives directional derivative and for cos$\theta$ to be maximum, along the direction of gradient). I've also seen it used as a normal, whenever we want to find the tangent planes or anything.  What confuses me is, how does it make sense for it to be both? Did I understand/interpret it wrong?


How to configure "Print screen" button such that it directly ask for the place to save the screenshot in 18.04?

Till 16.04, when I press Print Screen, we used to get the "Save to" option which enabled us to save the screenshot into a desired folder. Now, with 18.04, pressing Print Screen saves the screenshot directly in the Pictures folder. I am unable to find a way to save the screenshot into the desired folder.  I have tried binding Print Screen with gnome-screenshot -i. However, this option currently requires me to go through two steps (press Print Screen and then again press "Take screenshot" button) instead of a single step (just Print Screen) to get the "Save to" dialogue box.   Any help is appreciated in this regard.


Eigenvectors of real symmetric matrices are orthogonal

Can someone point me to a paper, or show here, why symmetric matrices have orthogonal eigenvectors? In particular, I'd like to see proof that for a symmetric matrix $A$ there exists decomposition $A = Q\Lambda Q^{-1} = Q\Lambda Q^{T}$ where $\Lambda$ is diagonal.


Distribution of the minimum of the components of a multivariate normal random variable

Let $\mathbf{X} = (X_1, \dots, X_p)^\mathsf{T}$ be a $p$-dimensional random variable following a multivariate normal distribution with mean vector $\boldsymbol{\mu}$ and covariance matrix $\boldsymbol{\Sigma}$, i.e. $\mathbf{X} \sim \mathcal{N}(\boldsymbol{\mu}, \boldsymbol{\Sigma})$. Let $X_{(1)}$ the minimum of the components of $\mathbf{X}$, that is to say, $X_{(1)} = \min\{X_1,\dots,X_p\}$. What are the cumulative distribution function (cdf) and the probability distribution function (pdf) of $X_{(1)}$? I've read about the distribution of the maximum  and also . I guess that both concepts must be tightly connected, since $\min\{x_1,\dots,x_p\} = - \max\{-x_1,\dots,-x_p\}$. However, I still have doubts. I read this expression somewhere, but I think it is not totally right, or at least I am not able to deduce it by my own:  The cdf of $X_{(1)}$ is $F(x) = G\left( x \mathbf{1}_p \;|\; -\boldsymbol{\mu}, \boldsymbol{\Sigma}  \right)$, where $\mathbf{1}_p = (1,\dots,1)^\mathsf{T} \in \mathbb{R}^p$ and $G$ is the cdf of a multivariate normal distribution $\mathbf{X}$, that is to say, $G(\mathbf{x}) = \mathrm{Pr}(\mathbf{X} \le \mathbf{x}) = \mathrm{Pr}(X_1 \le x_1 \;\;\text{and}\;\; \cdots \;\;\text{and}\;\; X_p \le x_p)$ .  I have tried to reproduce this result, but all I get is this: $F(x) = \mathrm{Pr}(X_{(1)} \le x) = \mathrm{Pr}(X_1 \le x \;\;\text{or}\;\; \cdots \;\;\text{or}\;\; X_p \le x) = $ $1 - \mathrm{Pr}(X_1 > x \;\;\text{and}\;\; \cdots \;\;\text{and}\;\; X_p > x) =$ $1-\mathrm{Pr}(- X_1 < -x \;\;\text{and}\;\; \cdots \;\;\text{and}\;\; -X_p < -x)$, and I do not know how to continue. I know that, if $\mathbf{X} \sim \mathcal{N}(\boldsymbol{\mu}, \boldsymbol{\Sigma})$, then $-\mathbf{X} \sim \mathcal{N}(-\boldsymbol{\mu}, \boldsymbol{\Sigma})$. And this is all I am able to figure out.  EDIT: I've been told that my question is already answered , but I admit that I am not able to deduce the answer to my question from this other post, and that is why I would like to reopen my question.


I would like  to know if there is a good estimate for the sum which concerns all primes not exceeding $x$:  $$\sum\limits_{p\leq x}\frac{1}{p^s}$$$$0<s<1$$. Only this. Thanks in advance!


I restored a backup of a database from SQL Server 2008 R2 to SQL Server 2012.  When I try to access a particular page of my application, I get this error:     Cannot execute as the database principal because the principal "dbo" does not exist   It works with my 2008 R2 project perfectly. How can I resolve this issue?


I'm currently writing a plugin that requires the PayPal IPN, since the IPN is not inside the main plugin file, I have no way to use $wpdb. If you know a way to do this that will work with all WordPress installations it would really help me!  Thanks in advance!


What component of the stress–energy tensor contains the kinetic energy of heat?

As I understand it, the component $T_{00}$ of the stress-energy tensor contains the energy density (which equals the mass density), $T_{0i}$ are the impulse flows (intuitively speaking, the velocities), and $T_{ii}$ (the diagonals of the stress tensor) are the pressures in the respective directions.  In which of these components 'goes' the kinetic energy of the matter's heat?  On a microscopic level, heat is just motion, so I suppose it should be in $T_{0i}$.  However, if you look at the sun as one homogeneous body like in a Schwarzschild solution, I'm not sure where to put it.   Is it just energy, so it's part of $T_{00}$? This would mean that $T_{00}$ does not equal the mass density. Or is it part of the pressure, thus going to $T_{ii}$?


is there a way to update an already-plotted boxplot in R?

I'm dealing with a very large data set, is there a way to create a boxplot with a portion of the data, load the next portion and just update the values of the existing boxplot?  As requested in the comments, I'd like to clarify that the question is about updating the underlying statistics for the features of a boxplot (hinges, whiskers, etc.) when a new data batch is available for the sample.


Is maximum resolution supported by the computer = maximum resolution visible in Graphic Settings?

I have Asus G31 m-vs . G31/33 family Chipset. Chip Type: Intel GMA 3100. No additional Graphic Card.  I use a CRT monitor and my resolution is set to 1080*768. When I right click on  desktop--->Graphic Properties--->Graphic Settings. I find that the maximum resolution available in the dropdown is 1152*864. Although the Asus's site says that G31 m-vs -supports D-Sub with max. resolution up to 2048x1536 @ 60Hz I am not sure if I will be able to set resolution to 1920*1080 if I get a bigger monitor since I only have 1152*864 available in graphic settings.


I mistakenly deleted around 2,000,000 records from a remote SQL Server 2008 table.  The server is not granting me access to the backup files on the server side.   Is there any way to get back these records?


Does our brain really "flip" images perceived by our eyes?

I know a similar question has been asked and this is closely related to cognitive science. However, I want to know whether is there any mechanism or structure in the visual cortex which is proved to be flipping the images upside down.


Why is 15% of my disk space used by files I cannot view?

I have a SSD with a capacity of 447 GiB. There are 319GiB used for files visible in Windows Explorer. The used space of the partition is reported by Windows as 393 GiB. This drive is only used for games, it has never contained an OS. Running chkdsk it reports that  468718591 KB total disk space 415493328 KB in 64379 files  I am running a new instance of Windows 10 Pro with no changes to any default settings. The SSD was used with previous installations of Windows so I suspect that there are old system files which my current Windows instance won't show me. The files take up 314 GiB but 393 GiB have been used. What could be taking up 74 GiB of space which isn't visible in Windows Explorer on a new vanilla Windows installation? EDIT 1: The disk contains a single partition which is 447 GiB as reported by Disk Management in Windows. It appears that the partition is allocated the right amount, and that the free space Windows Explorer reports matches what chkdsk reports. The 15% discrepancy is between the size of visible files in Windows Explorer and size of files reported by chkdsk. EDIT 2: The space used by the visible files in Windows Explorer is 343,374,991,368 bytes. The space used by all files as calculated in chkdsk and the drive properties in Windows is 423,015,841,792 bytes. A difference of approximately equal to 73 GiB. The missing 73 GiB is not counting in 1000 vs 1024 as it is present when counting only in bytes. EDIT 3: Within the partition was a set of old system files from a previous installation of Windows. When viewed through Explorer they had a size of 0 B but  revealed had large file size.


I'm currently modeling my game character in Blender (see below picture). What is the difference between a subdivision surface modifier and a multiresolution modifier? I know they smooth the surface but are there specific characteristics to using each and what are those?


What's the defference between "yield break" and "break" in iterator blocks?

I've seen something in Enumerable.cs like this: private static IEnumerable<TSource> TakeWhileIterator<TSource>(   IEnumerable<TSource> source,   Func<TSource, bool> predicate) {   foreach (TSource source1 in source)   {     if (predicate(source1))       yield return source1;     else       break; // break   } }  So I write something like this: private static IEnumerable<TSource> TakeWhileIteratorWithYield<TSource>(   IEnumerable<TSource> source,   Func<TSource, bool> predicate) {   foreach (TSource source1 in source)   {     if (predicate(source1))       yield return source1;     else       yield break; // yield break   } }  I've tried these two methods and it seems like they have quite the same function. So I go to  and decomplie these codes. The main differences are in MoveNext() I think, like this: No Yield private bool MoveNext() {     try     {         switch (_state)         {             default:                 return false;             case 0:                 _state = -1;                 _s__1 = source.GetEnumerator();                 _state = -3;                 break;             case 1:                 _state = -3;                 _source5__2 = default(TSource);                 break;         }          // From Here         if (_s__1.MoveNext())         {             _source5__2 = _s__1.Current;             if (predicate(_source5__2))             {                 _current = _source5__2;                 _state = 1;                 return true;             }         }          Finally1();         _s__1 = null;         return false;         // To Here     }     catch     {         //try-fault         ((IDisposable) this).Dispose();         throw;     } }  Have Yield private bool MoveNext() {     try     {         switch (_state)         {             default:                 return false;             case 0:                 _state = -1;                 _s__1 = source.GetEnumerator();                 _state = -3;                 break;             case 1:                 _state = -3;                 _source5__2 = default(TSource);                 break;         }          // From Here         if (!_s__1.MoveNext())         {             Finally1();             _s__1 = null;             return false;         }          _source5__2 = _s__1.Current;         if (predicate(_source5__2))         {             _current = _source5__2;             _state = 1;             return true;         }          bool result = false;         Finally1();         return result;         // To Here     }     catch     {         //try-fault         ((IDisposable) this).Dispose();         throw;     } }  I can't see the functional differences between them. Could someone tell me the differences between break and yield break in iterator blocks?


When previewing , the links at the very bottom point to something epic:  I get that it's a placeholder link, but the "visiting your subscriptions page" and "unsubscribe from all stackexchange.com emails" links can probably be set straight. That is, of course, unless this is what is actually being emailed out — that'd take it to a whole new level of epic!


Chrome vs JS: Uncaught SyntaxError: Unexpected token )

I have noticed that the assignment "javascript:void()" within the link:  My link   is caused an error in Chrome Dev console like this:  Uncaught SyntaxError: Unexpected token )   But why? Is this code is incorrect? If it is correct how to avoid such an ugly issue?


Do Hogwarts students learn the core subjects?

I understand that students at Hogwarts learn about magic, but what about the core subjects such as Math, English, History, and Science? If they do not wish to pursue a career in magic, they need to know these core subjects!


"RTL8723DE" Wireless Card not working in HP-15bs015dx laptop

I have a new HP-15bs015dx laptop which has Realtek RTL8723DE Wireless network card. I dual booted with Windows 10 and Ubuntu 16.04.1 with 4.4.0-31-generic kernel. Now, I am unable to connect to internet in Ubuntu.  I wonder if there is any driver firmware for DE series after looking at this page which mentions firmware upto 8723BE only.    If it is not the case, how can I setup my WLAN card working?Any help would be greatly appreciated


How to connect a Ubuntu and a Windows10 using a Ethernet Cable to share files?

I want to transfer all my backed-up files(750GB) which are in a windows10 laptop to my freshly installed Ubuntu system. i have only got a 32GB pen drive and to transfer all the file using it will be a nightmare. Is there a way to connect the two machines? Both my machines are connected to a router. My windows10 laptop is connected via wireless Wi-Fi and my Ubuntu PC is connected via an Ethernet cable. My PC doesn't have a wireless driver. Another recent problem is, my laptop Ethernet socket doesn't work.


Do I really need to use The Past Perfect?

I'm having trouble understanding the difference between The Past Simple and the Past Perfect in some cases. I've hust read that there's no need to use the Past Perfect when the sequence is clear. The problem is I don't understand what makes the sequence clear. Is this sentence correct?      She lazily leaned against the chair that he bought for her.   I'm sure that it's obvious that he bought the chair before she leaned against it. Am I right?  But can we say "She lazily leaned against the chair that he had bought for her"?   It this sentence correct or is it completely unnecessary to use the Past Perfect in this case?   What about "He read the diary of a student that (had) committed suicide"? I think it's obvious that the student committed suicide before someone read his or her diary. So, do I really need to use the Past Perfect in this case?   I don't get it. I can't understand what exactly makes the sequence clear for a native English speaker.


Darktable doesn't recognize tamron 18-270mm lens

first of all my specs: I'm using Ubuntu 16.04, my lens is a Tamron 18-270mm F/3,5-6,3 Di II VC PZD and I'm using Darktable 2.0.6. I updated my lensfun library using the .  My problem: in the lenscorrection module the name of my lens is shown correctly, but all other options are 'greyed' out (see picture below) although the tamron lens is listed correctly in the lensfun .xml file (slr-tamron.xml) under /usr/share/lensfun.   How can I get it to work again? Am I missing something?


What is the correct way to respond to a negative question?

If someone asks me the question     Do you want to come to my house?   If I say yes- I'm accepting their offer. If I say no- I'm declining their offer... simple.  If someone instead asks     Do you not want to come to my house?   It feels weird to answer.  If I say yes- I could be agreeing with them "Yes, I do not want to come to your house", But it also makes sense to say "No, I do not want to come to your house."...  Can this kind of question simply not be answered in a "yes" or "no" without ambiguity?      A: "I'm tired today..."   B: "Do you not want to play football then?"   A: "Yes" and "No" Have the same meaning!


Can you transfer a Windows 7 XP-mode VHD to a new PC without the need for reactivation?

At the moment I am running Vista 32 bit and use VPC 2007 a lot. I have several Windows 2000 Virtual Machines set up with complex software configurations. For me, one of the advantages of working with VPCs is that a Virtual Machine can easily be copied to another PC (like a notebook). Also, when I move to a new PC, I can immediately work with my existing Virtual Machines without the need to reinstall all applications.   I am thinking about buying a new pc with Windows 7 64 bit pro, and using the XP-Mode Virtual Machine that comes with Windows 7. The advantages would be support for more memory (so being able to run more Virtual Machines simultaneously) and having a licenced XP Virtual Machine.  I would like to know if you can transfer a VHD that is based on the XP-mode VHD to another machine without Activation issues. The other machine will of course, also be running Windows 7. I would guess that this would not be a problem.   However, I did read about a guy who had to reinstall his Windows 7 because of a harddisk failure, and could not access his XP-mode VHD anymore because it demanded re-activation.  So can you transfer a Windows 7 XP-mode VHD to a new PC without the need for reactivation?


Proving the convergence of a sequence $e_{n+1}=e_n e_{n-1}$

The sequence $e_n$ has limit $0$ and all terms are in $(0,1)$. Also, we have that $e_{n+1}=e_n e_{n-1}$ I need to show that we can pick $C$ s.t.  $$e_{n+1}\le C \cdot  e_n^\phi$$  where $\phi$ is the golden ratio. Any ideas? As all terms are in $(0,1)$ so we know that $e_{n+1}<\min(e_n,e_{n-1})$ but I'm not sure where to go.


Integral of limit of pointwise convergent sequence of non-negative measurable functions

Suppose $\{f_n\} \subset L^+$ , $f_n \rightarrow f$ pointwise, and $\int f = \lim \int f_n < \infty$. Then $\int_{E} f = \lim \int_{E} f_n$ for all $E \in \mathcal{M}$. However, this needn't be true if $\int f = \lim \int f_n = \infty$.   This is the exercise 13 on page 52, Real Analysis, by Gerald B. Folland. $L^+$ is the space of all measurable functions from $(X,\mathcal{M}, \mu)$ to $[0, \infty]$.  I can find a counterexample satisfying $\int f = \lim \int f_n = \infty$. Let $X = \Bbb N$, $\mathcal{M} = \mathcal{P}(\Bbb N)$ and $\mu$ be the counting measure. $f_n = \chi_{\{2i+1:i \leq n\} \cup \{2j:n \leq j \leq 2n \}}$. Then $\int f = \lim \int f_n = \infty$. But when $E = \{2k: k \in \Bbb N\}$,  Then $\int_{E} f =  0$ and $\lim \int_{E} f_n = \infty$.  But how to show the part "$f_n \rightarrow f$ pointwise, and $\int f = \lim \int f_n < \infty$. Then $\int_{E} f = \lim \int_{E} f_n$ for all $E \in \mathcal{M}$"?


I can't remove a directory tree with rm -rf

This seems very strange to me. I'm running kernel 2.6.37.2 and ran:  ~]$ cp -r /proc/ here ~]$ rm -rf here   I get some permission denies when copying as expected and I eventually hit Control-C. I get Permission denied on a lot of files when trying to remove the new directory and files.  As a note, I found this weird behavior because a friend sent me a .tgz of a snapshot of his /proc dir. I extracted the directory and when I was finished looking through it I had the same problem.  rm -rf as root does work.  lsattr shows the e attribute (which is what all of my files/directories show).


Selecting more than layer with polygon selection or select by location with different CRS in QGIS 2.18

I want to select more than one layer in the same time, select by polygon not rectangle.


Property to force launching in full screen

Is there any property that forces an application to start in full screen if it supports it?  I noticed in ~/Library/Saved Application State/com.mycompany.myapp.savedState/windows.plist there's a key that saves the window state on some applications.  <array>     <dict>         <key>NSIsFullScreen</key>         <true/>   Some applications write it while open but don't save it and then start again not in full screen. And locking windows.plist will log an error and the app will still launch in a window.


How to modify the headers of this book to lower case?

In the following standard \documentclass{book} all headers are in upper case.   How can I modify the code below to make lower case headers?  The even pages show the chapter number and name, and the odd pages show the section number and name. The first page of a chapter has no header, only the page number in the footer. The other pages show the page numbers on the headers: odd pages on the right and even pages on the left, as shown.      It was created with  \documentclass{book} \usepackage{lipsum}  \begin{document}  \title{Standard \LaTeX{} Book} \author{The Author} \date{The Date} \maketitle \tableofcontents  \chapter{Test Chapter One} \section{Test Section One} \lipsum[1-6] \section{Test Section Two} \lipsum[1-6] \section{Test Section Three} \lipsum[1-6]  \chapter{Test Chapter Two} \section{Test Section One} \lipsum[1-6] \section{Test Section Two} \lipsum[1-6]  \end{document}   Remark: the question   is not sufficiently similar to this one to help me to find a possible solution by my own.


Using a variable as pattern for case command

So this is my code:  #!/bin/bash  action_list='list|add|rem'  while true; do         echo "Actions include: list - show list                                 add - add item to list                                 rem - remove item from list"         read -p "Input action: " action_var          case $action_var in                 ${action_list} ) echo "Option $action_var is valid";;                 *) echo "Option $action_var is INVALID";;         esac          echo $action_var done   What I want is to use the case command such that, in the future if I add more options, I don't need to hardcode them in, I can just use the "action_list" variable.  But the ${action_list} ) construct does not work. Now I tried hardcoding it like list|add|rem)... and it works.  Why wouldn't a variable work in this case?


Is Magic Armor with an Enhancement Bonus over 4 Automatically Masterwork Armor?

Motivation  After seeing , I read  and .  This gave me the distinct impression that any magic armor with an enhancement bonus of +4 or more is automatically masterwork armor. I found this rather surprising.  The answer to the second question mentions a math fix in regards to AC. My question is focusing on an armor's material. Specifically, I'm trying to determine if the rules as written (and as intended) require that any magic armor over a certain enhancement bonus be of a certain material. Furthermore, I'm curious about the assertion that enchanting a weapon would change its construction material. Obviously, once could just wave one's hands and say that the material of the armor is whatever, but I can't consider that an answer. If I'm houseruling things, I would at least like to know that I'm houseruling things.  Research  I then looked back over the masterwork armor rules in the Player's Handbook, and found that masterwork armor has to be magical, which I was not aware of. However, I found nothing to imply that magic armor would automatically be masterwork, beside a statement that "the cost of masterwork armor is included in the cost of magic armor." That statement simply means that you don't have to pay extra for the armor to be masterwork, not that the magic armor is masterwork.  I then looked in the Rules Compendium, and on page 281 I found a statement directly contradicting magic armor always being masterwork:     ...so a set of +5 black iron plate adds a total of 13 to the wearer's Armor Class (8 from the plate armor and 5 from the enhancement bonus)   If the +5 plate armor was masterwork, it would add 11, not 8.  Wax Eagle has pointed out tables in Heroes of the Forgotten Lands and Heroes of the Fallen Kingdoms for magic armor which specify AC bonuses based on enhancement bonus. These do not match the masterwork armor bonuses, and nothing in that table mentions construction materials.  The Question  So, is magic armor actually automatically masterwork, or are people simply assuming that if you're going to buy magic armor that is eligible to be masterwork that you will opt to get it as such?  Consequences  If it's just an assumption about rational economic behavior, then enchanting mundane armor with a bonus over +4, or increasing the bonus on an existing magic armor past +4, wouldn't cause the armor to become masterwork. It would just add the enhancement bonus. Right?   If so, then this would contradict a statement from the second referenced answer:     If you're allowing players to upgrade the enchantments on a piece of armor, the armor should automatically improve to match the appropriate masterwork quality.


How to find if a native DLL file is compiled as x64 or x86?

I want to determine if a native assembly is complied as x64 or x86 from a managed code application ().  I think it must be somewhere in the PE header since the OS loader needs to know this information, but I couldn't find it. Of course I prefer to do it in managed code, but if it necessary, I can use native C++.


I am trying to explain to someone why the following quote should use "I am" rather than "I'm":     I don't care how old I'm, I still like [media]   I feel that I am correct, but cannot recall the rule.


Removing and adding user back again doesn't remove it properly

If I, as a root user, add user milos, then the system asks me to provide some info, which I do.  When I, after that, userdel milos, it removes it and removes milos group.   Now, if I'm to useradd milos again, it doesn't ask me for a user password nor any info about the user whatsoever.   What did these commands do? How can I properly remove a user?


I would understand if the nickname was around quotation marks if the full name was presented as well:      "His name is O'Shea 'Ice Cube' Jackson Sr."   But what if you referred to a person only by their nickname?   With quotation marks:     "Hey, 'Ice Cube,' how's it going?"   Without quotation marks:     "Hey, Ice Cube, how's it going?"   Would the quotation marks be necessary?


Snap object with assigned rotation to surface

I have an object (button), which has been rotated and where the rotation has been applied. I want to align this button to a surface (the blue surface of the cube). The black background should sit flat on the blue surface.    I tried "Snap to Face" with "Center" and "Align Rotation to Target". I also tried to use an empty to find the rotation of the button in the 3D space. But nothing worked. Any help is highly appreciated!  This is a link to the example file:


How to grep lines between start and end pattern?

I have a file which is having following content:  zdk aaa b12 cdn dke kdn   Input1: aaa and cdn  Output 1:  aaa b12 cdn   Input 2: zdk and dke  Output 2:  zdk aaa b12 cdn dke   I could use below commands to achieve:  grep -a aaa -A2 file # Output 1 grep -a aaa -A4 file # Output 2   But in the file I don't know what is the exact occurrence (position) of end string pattern (file is having 20000 rows)  How can I achieve this?


Closing the lid, going on the desktop to "gear"->suspend, or from terminal level calling suspend, pm-suspend, or systemctl suspend ... all of this ends up with switching off the system.  One-by-one: I try to suspend the system and it goes black (as it should) immediately. There is no indication of powering off. When I press the trackpad (or open the lid) to wake-up, the system do full boot up (restart?). This is strange since if the system would be "truly" off it would not turn-on on trackpad press (or lid action).  Editing /etc/systemd/logind.conf is not effecting anything. Also, there is nothing worrying in /var/log/pm-suspend.log after pm-suspend.  All of this happened after I ppa-purge the oibaf/graphics-drivers (re-installing this PPA also doesn't solve the problem).   P.S. My machine: Dell XPS 9350 with Intel graphics


How to make the main file recognize relative paths used in the imported files?

I'm currently using doxygen to generate some documentation for a project,  and doxygen generate some LaTeX code that then can be used to generate a nice pdf.  But let's say I would like to write another document, and in that document include the doxygen generated LaTeX code as a part of that document.   How would I do that? Has anybody done this type of stuff?    My try is to get the code, generate the LaTeX code without the "header". So I end up with a dir called code/doc/latex/, seen from the place where I have my own main.tex.  And try in include that LaTeX code from my main.tex with input.  \input{ code/doc/latex/refman.tex }   But when I try to include the code/doc/latex/refman.tex (the doxygen, main.tex),  he complains that he can't find the other LaTeX files that was generated by doxygen. It seems like he is searching in the same dir as my main.tex and not in code/doc/latex/.  This is more or less how the refman.tex looks like:  \chapter{Todo List} \label{todo} \hypertarget{todo}{} \input{todo} \chapter{Class Index} \input{annotated} \chapter{File Index} \input{files} \chapter{Class Documentation} \include{struct__offsetChannel} \include{struct__offsetPixel} \include{struct__tPixel} ... ...   Any ideas would be welcome.  A solution could be to write a script that edits all the generated LaTeX code, and simply adds this path but this seems like a overly complicated solution.    Update:  The error I get is like this one  ! LaTeX Error: File `todo.tex' not found.     Update:  If I change all the \input \include and \includegraphics like this it works.  \input{todo} -> \input{code/doc/latex/todo}   But there must be a way to make LaTeX understand that he should look into the code/doc/latex/ for the code?


I can't set my resolution higher than 1024x768 in ubuntu 12.04

I'm an Nvidia GT 440 user. I can already click on the 1280x1024 option in monitors but as shown in the image below it outputs an error. The message says:The virtual size required doesn't fit the available one,plus it says the maximum size is 1024x768 I tried many things and i ended thinking that the problem could probably be the EDID info,so I installed the package read-edid. When i type      sudo get-edid | parse-edid   it prints this   If more explanation is needed I'll post it as fast as i can


/etc/network/interfaces does not overwrite /etc/resolv.conf

I'm a Linux novice experimenting with setting up a DNS cache server on a  on . I'm trying to set up a static IP-address with a a local Bind9 DNS-server. I've followed this , and looked at several others.  However, I'm having trouble with getting the changes in /etc/resolv.conf to stick. /: When I reboot, the settings in /etc/network/interfaces are not written to /etc/resolv.conf.  This is my /etc/network/interfaces:  # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d  # Disable wlan1 by default (8723bs has two intefaces) iface wlan1 inet manual  # Loopback interface auto lo iface lo inet loopback  # The primary network interface auto eth0 iface eth0 inet static         address 192.168.0.18         netmask 255.255.255.0         gateway 192.168.0.1         dns-nameservers 192.168.0.18         dns-search green.intra   This is my /etc/default/bind9:  # run resolvconf? RESOLVCONF=yes  # startup options for the server OPTIONS="-4 -u bind"   From those two files, I was under the impression that the /etc/resolv.conf should become this (automatically, upon booting):  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 192.168.0.18 search green.intra   ...but instead it becomes this:  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 83.255.255.1 nameserver 83.255.255.2 search home   If I add my desired settings to /etc/resolv.conf, everything works as I expect, until I reboot.  What am I doing wrong?  Edit: I have RTFM in trying to figure this out:      Edit: ifup and ifdown fail: As suggested in the answer to the proposed duplicate question, using service networking restart might not be reliable in this situation. Instead, I tried the following:  ubuntu@pinex:~$ sudo ifdown -v eth0 Reading directory /etc/network/interfaces.d Parsing file /etc/network/interfaces.d/eth0 ifdown: interface eth0 not configured   and:  ubuntu@pinex:~$ sudo ifdown -v eth0 Reading directory /etc/network/interfaces.d Parsing file /etc/network/interfaces.d/eth0 ifdown: interface eth0 not configured ubuntu@pinex:~$ sudo ifup -v eth0 Reading directory /etc/network/interfaces.d Parsing file /etc/network/interfaces.d/eth0 Configuring interface eth0=eth0 (inet) /bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d run-parts: executing /etc/network/if-pre-up.d/wpasupplicant  /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0 Internet Systems Consortium DHCP Client 4.3.3 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/  Listening on LPF/eth0/36:c9:e3:f1:b8:05 Sending on   LPF/eth0/36:c9:e3:f1:b8:05 Sending on   Socket/fallback DHCPREQUEST of 192.168.0.18 on eth0 to 255.255.255.255 port 67 (xid=0x79b015c0) DHCPACK of 192.168.0.18 from 192.168.0.1 RTNETLINK answers: File exists bound to 192.168.0.18 -- renewal in 5280 seconds. /bin/run-parts --exit-on-error --verbose /etc/network/if-up.d run-parts: executing /etc/network/if-up.d/000resolvconf run-parts: executing /etc/network/if-up.d/bind9 run-parts: executing /etc/network/if-up.d/openssh-server run-parts: executing /etc/network/if-up.d/upstart run-parts: executing /etc/network/if-up.d/wpasupplicant Configuring interface eth0=eth0 (inet) /bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d run-parts: executing /etc/network/if-pre-up.d/wpasupplicant /bin/ip addr add 192.168.0.18/255.255.255.0 broadcast 192.168.0.255       dev eth0 label eth0 RTNETLINK answers: File exists Failed to bring up eth0.   ... which led me to the answer (see below).


We know that Salazar Slytherin and Herpo the Foul both had Basilisks. Did anybody else create one, or was it just those two? It doesn’t seem difficult – hatching a chicken egg under a toad.


Undoing excel default / automatic delimiting

I have a large data export that is going through the end user for spot-checking. The data was formatted with tab delimiter, as it contains a lot of prices and measurements containing commas.  The problem is that when the user opens the files using excel, excel recognizes  all the commas and helpfully formats the data, incorrectly, as a comma delimited file in stead of a tab delimited file. As this is an end-user, I don't want to make them format everything manually each time. Especially because excel isn't delimiting the column headers, causing our end user to scratch his head in confusion and drown his sorrows in coffee.  How can I set up the files to make sure that excel does not automatically try and delimit them? Or failing that how can I tell excel to undo the automatic delimiting?


How can I recover from a "AMD-Action:downloadProduct:SP" during installation of macOS?

Just wiped my hard drive on my MacBook Pro from 2013. Went to install a new copy of MacOS Sierra. I get the following error:  AMD-Action:downloadProduct:SP   I looked online and tried change the date using the Utility Terminal and the following command:  date mmddHHMMyy   Then did   csrutil enable csrutil clear   Then I tried clearing the NVRAM using command + option + P + R on startup.  Still no luck. Still getting the same error message. Apple support told me to go to a "computer repair store".  Any advice?


Show that the limit of $\frac{x_n}{n}$ exists

Let $\{x_n\}$ be a sequence such that $\forall m,n\in\mathbb{N}$:   $$0\leqslant x_{m+n}\leqslant x_m+x_n$$  Prove that $\lim_{n\to\infty}\frac{x_n}{n}$ exists.  From the relation, we can show that  $$0\leq x_n\leq x_{n-1}+x_1\leq x_{n-2}+2x_1\leq\dots\leq nx_1$$  Hence  $$0\leq\frac{x_n}{n}\leq x_1$$  for all $n$. This means this sequence is bounded, so it has a convergent subsequence $\left\{\frac{x_{n_k}}{n_k}\right\}$ with  $$\lim_{k\to\infty}\frac{x_{n_k}}{n_k}=c$$  for some $c$. I want to show that the $\lim_{n\to\infty}\frac{x_n}{n}=c$, and I was stuck.


Are these two infinite groups isomorphic?

Question. Prove or disprove that $G_1$ and $G_2$ are isomorphic. $$G_1=\mathbb Z_5 \times \mathbb Z_{5^2}\times \mathbb Z_{5^3}\times \mathbb Z_{5^4} \times \cdots$$ $$G_2= \mathbb Z_{5^2}\times \mathbb Z_{5^3}\times \mathbb Z_{5^4} \times ...$$ My attempt: I can see that $G_1$ is isomorphic to a subgroup of $G_2$ and similarly, $G_2$ is isomorphic to a subgroup of $G_1$. But, I am unable to see how $G_1$ and $G_2$ are not isomorphic. Please help.


Using Android only with Outlook and not Google Calendar

When using Android ICS, can I use my phone without having my calendar and associated items going on Google Calendar but just synchronizing with Outlook (the desktop app) ? If yes, how may I do this ?


How can I test if a variable is empty or contains only spaces?

The following bash syntax verifies if param isn't empty:   [[ !  -z  $param  ]]   For example:  param="" [[ !  -z  $param  ]] && echo "I am not zero"   No output and its fine.  But when param is empty except for one (or more) space characters, then the case is different:  param=" " # one space [[ !  -z  $param  ]] && echo "I am not zero"   "I am not zero" is output.  How can I change the test to consider variables that contain only space characters as empty?


Why is it said that 'The longer the pipeline, higher the processor clock rate'

I have been recently going through the hyper threading technology of Pentium 4. The number of pipeline stages is high in P4 and is said that it will increase the speed of clock rate. How is that possible?


Trouble selecting a "li" item with jQuery tag

I am trying to create a simple todo app that posts new items and appends to the DOM and removes the item when it is clicked on. I am able to get todo-items to append to the page but they are not being removed when they get clicked on. I beleive it has something to do with my onclick event handler as it is not selecting the "li" properly. Any thoughts?  heres the code:
             <textarea id = 'todoItem'></textarea>             <button id = 'submitButton'>Post</button>

Items


How to obtain same results of plus operation in python and in math?


How do I fix fonts not rendering and missing letters?

I have a fresh installation of Ubuntu 14.10 on my laptop. It appears that letters are missing from files and folders, as well as menus and configuration windows. I'm not sure where to start in order to fix this.


I have Ubuntu 20.04 and I have a text document file at my desktop. When I double click it, this error is displayed:  So I tried unchecking Allow executing file as a program.  This solved my issue, but I noticed that this setting is applied to all text documents on my laptop. How can I save this setting for this specific text file only?


Evaluate $\int \cos(3x) \sin(2x) \, dx$.

Evaluate the indefinite integral    \begin{align} \int \cos(3x) \sin(2x) \, dx \end{align}   Please see my work attempt as my answer below.


Why instantiating a new int changes the output of this code?

The code below returns the following output:  Semaphore sema = new Semaphore(5,5,"sema_1"); for (int i = 0; i < 10; i++) {     ThreadPool.QueueUserWorkItem(delegate(object state)     {         sema.WaitOne();         Console.WriteLine(" = " + i);         sema.Release();     }); }     And just by adding the int j = i it completely changes the output to what I was expecting, which is the proper response reaching the limit of the Semaphore:  Semaphore sema = new Semaphore(5,5,"sema_1"); for (int i = 0; i < 10; i++) {     int j = i;     ThreadPool.QueueUserWorkItem(delegate(object state)     {         sema.WaitOne();         Console.WriteLine(" = " + j);         sema.Release();     }); }


Unable to lock the administration directory (/var/lib/dpkg/),which process should I kill?

When I try to upgrade  sudo apt-get upgrade E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   Then I have used grep to see all the activity  ps aux | grep apt root      3479  1.1  1.2 288624 102116 ?       SNl  09:29   0:02 /usr/bin/python3 /usr/sbin/aptd _apt     31744  0.0  0.0  47116  5792 ?        SN   09:32   0:00 /usr/lib/apt/methods/http _apt     31745  0.0  0.0  47116  5708 ?        SN   09:32   0:00 /usr/lib/apt/methods/http _apt     31746  1.3  0.4 217216 33604 ?        SN   09:32   0:00 /usr/lib/apt/methods/https _apt     31747  0.0  0.0  47116  5596 ?        SN   09:32   0:00 /usr/lib/apt/methods/http _apt     31748  0.0  0.0  47116  5820 ?        SN   09:32   0:00 /usr/lib/apt/methods/http _apt     31750  0.0  0.0  42708  5032 ?        SN   09:32   0:00 /usr/lib/apt/methods/file _apt     31751  0.0  0.0  47116  5904 ?        SN   09:32   0:00 /usr/lib/apt/methods/http _apt     31752  0.0  0.0  47116  5596 ?        SN   09:32   0:00 /usr/lib/apt/methods/http _apt     31753  0.0  0.0  47116  5600 ?        SN   09:32   0:00 /usr/lib/apt/methods/http _apt     31754  0.0  0.0  47116  5884 ?        SN   09:32   0:00 /usr/lib/apt/methods/http root     31755  0.0  0.0  34268  4764 ?        SN   09:32   0:00 /usr/lib/apt/methods/cdrom _apt     31758  0.0  0.0  42832  5544 ?        SN   09:32   0:00 /usr/lib/apt/methods/copy _apt     31760  0.0  0.0  42740  5480 ?        SN   09:32   0:00 /usr/lib/apt/methods/gpgv milenko  32362  0.0  0.0  14228  1020 pts/17   S+   09:32   0:00 grep --color=auto apt   Which process should I kill?


How to prevent Windows 10 Update from restarting my PC

In the Advanced Windows Update Options, I've set Windows Update to "Notify to schedule restart".  It still restarts my machine if I ignore the prompt to schedule a restart.  Is there any way to stop this?


How to transcript codes from HP 50G in LaTeX

I have a code from HP 48/50G series, as shown in the image below.    The closest that I did, using [lstlisting] is shown in the code snippet below.  \begin{lstlisting} << SWAP DUP SIZE  HEAD 1 - -> J vec N << 0 N FOR k vec k 1  + GET i NEG 2 * pi * k * J * N 1 + / EXP  * NEXT N 1 + -> LIST sum LIST >> >> \end{lstlisting}     Is there any way to improve it to be the same as HP screenshot?


I'm working on a method where users can insert details of a trade. In one of the field, there is a transaction time where it is set automatically with the java localdatetime. However when running the program it is giving me back this error:  Exception in thread "main" java.lang.NullPointerException: temporal     at java.util.Objects.requireNonNull(Objects.java:228)     at java.time.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1741)     at java.time.format.DateTimeFormatter.format(DateTimeFormatter.java:1720)     at project.TradeManager.saveToFile(TradeManager.java:59)     at project.MainApp.addTrade(MainApp.java:649)     at project.MainApp.main(MainApp.java:138)   MainApp  public static void addTrade() {              AnimalManager aMgr = new AnimalManager();         aMgr.loadFromFile("AnimalDetails.txt");          TradeManager tMgr = new TradeManager();         tMgr.loadFromFile("TradeDetails.txt", aMgr);          String tradeID = "TRD" + ++idCount;          Scanner an = new Scanner(System.in); //Scanner for user input         TradeRecord tr = new TradeRecord();          //Insert trade informations                System.out.println("Trade ID (automatically set)");         tr.setID(tradeID);          System.out.println("Animal ID (Must be recorded already): ");         tr.setAnimal(aMgr.getAnimalById(an.next()));          System.out.println("Seller: ");         tr.setSeller(an.next());          System.out.println("Buyer: ");         tr.setBuyer(an.next());          System.out.println("Transaction Time (automatically set)");         LocalDateTime.now();          System.out.println("Way of trade: ");         tr.setwayOfTransaction(an.next());          boolean added = tMgr.addTrade(tr);          if(added) {             System.out.println("Added successfully.");         }else {             System.out.println("Duplicate. Fail");         }          //Save to file         aMgr.saveToFile("AnimalDetails.txt");         tMgr.saveToFile("TradeDetails.txt");     }   TradeManager  public void saveToFile(String filename) {  StringBuilder output = new StringBuilder();  for (TradeRecord tr: tradeList) {   output.append(tr.getID()).append(",").append(tr.getAnimal().getID()).append(",")    .append(tr.getSeller()).append(",").append(tr.getBuyer())    .append(",").append(DTF.format(tr.getTransactionTime())).append(tr.getwayOfTransaction()).append(",").append("\r\n");  }  try (FileWriter fw = new FileWriter(new File(filename))) {   fw.write(output.toString());  } catch (IOException e) {   System.out.println("Trades cannot be saved: " + e);  } }


While having a  tonight with  over at , he made a comment about how we have around 150-200 moderators on SE total. I thought about this for a moment, and realized that seeing ALL the moderators we have could be tricky. Going to 60+ sites and looking at their about pages is time consuming. My idea is that we could have a full list of moderators, perhaps on , where we can see every single moderator on all of the 60+ sites out there. I think it would be neat to see who is running everything around here.


How modal verbs with partciple change the meaning of a sentence?

Maybe It seems very trifling for someone else. But this is something making me puzzled.    He may seek some seasonal help. He may be seeking some seasonal help.   What are the differences between the meaning of these sentences? I know both sentences are grammatically perfect and similar in meaning.In the second sentence, seeking is used as an participle adjective to qualify subject but does it change the meaning of second sentence?


Is it possible to write a macro, that takes the rest of the current group as an argument?  Usecase  I want to write a macro that can be used as  \section{\TODO Introduction $of$ \textsc{The Topic}}   such that \TODO is passed Introduction of the topic as its first argument. The \textsc and $of$ is there in order to clarify, that I need support for general latex constructs, not only for plain-text sequences.  Why not \TODO{Intro...}?  Normally I'd be the first to advocate justusing \TODO{Intro...} instead, but this reduces the readability of software-provided document outlines. E.g. in TeXStudio:


while starting computer it is asking to boot into windows8

when I start my computer it asks to boot into windows 8 or EasyRE, how to remove the EasyRE entry from bootloader and directly boot into windows 8 without being asked to select OS


Infimum is a continuous function, compact set

Let $f: X \times Y \rightarrow \mathbb{R}$ be a continuous map. Show that if $Y$ is compact then the function $g: X \rightarrow \mathbb{R}$ defined by $g(x) = \inf \{f(x,y): y \in Y\}$ is also continuous.  No clue here. Can you please help?


Can the question of a gravitationally accelerated charge radiation be tested experimentally?

I know that the question of radiation from a gravitationally accelerated charge has been discussed extensively at . Yet the experimental aspect hasn't been touched up on. My question strictly on this topic can appear dumb, yet for a layman like me it appears as a self-evident proposition: why can't it be verified by a test or some observation - whether a freely falling charge radiate photons, how strongly and relative to which frame of reference it does or does not radiate? If it cannot be tested practically, could you please explain why, if possible. Many thanks.


In most of literature, Hawking radiation is referred to a black-body radiation, with a temperature $ T =1/8\pi kM $ for Sch black holes. However, I reckon it is perfectly possible for black holes to radiate away fermions, but I've never seen anyone talk about the black-body radiation of fermions. So how are we supposed to understand the "black-body-ness" of Hawking radiation?


On Debian when I am logged on as root, I don't have to write sudo before each command.  On Ubuntu I have to write sudo or I use su -  Is there a way to remove sudo on Ubuntu so that when I am logged on as root, I write all commands directly such as mkdir, rm etc...?


Let $S_n:= \displaystyle\sum_{k=1}^n \displaystyle\sum_{j=1}^{k-1}\dfrac{(-1)^k}{[j(k-j)]^p} $. Determine whether $\lim\limits_{n\to\infty} S_n =\displaystyle\sum_{k=1}^\infty \displaystyle\sum_{j=1}^{k-1}\dfrac{(-1)^k}{[j(k-j)]^p}$ converges or diverges for $\frac{1}2 < p \leq 1.$   I claim that $S_n$ converges as $n\to \infty.$ Let $c_k:= \displaystyle\sum_{j=1}^{k-1}\dfrac{1}{[j(k-j)]^p}>0\,\forall k\in\mathbb{N},$ with $c_1 := 0.$ We want to show that $c_k$ is eventually nonincreasing (ie. $\exists N\in\mathbb{N}$ such that $\forall k\geq N, c_{k+1}\geq c_k$) and that $\lim\limits_{k\to\infty}c_k=0,$ which will show by Leibnitz's alternating series test that the series converges.  However, this seems very difficult to do.      I want to avoid using "well-known" theorems, and instead use more fundamental theorems like Leibnitz's alternating series test, the Cauchy product formula for absolutely convergent series, etc.


My Illustrator CC graphics appear pixelated and paths are jagged.

I'm using Illustrator CC and my paths appear pixelated. I have no idea what may have caused the pixelation since it just started happening out of the blue. The image I've attached shows the saved jpg version of the image vs. the image displayed in Illustrator. Please help!


How can I add my name, as well as page number, to the right header of the document?

\documentclass{article} \usepackage{fullpage} \usepackage{amsmath} \usepackage{amssymb}  \textheight=10in \pagestyle{empty} %\raggedbottom \raggedright  %  \renewcommand{\encodingdefault}{cg}   %\renewcommand{\rmdefault}{lgrcmr}  \def\bull{\vrule height 0.8ex width .7ex depth -.1ex } % DEFINITIONS FOR RESUME \newcommand{\area}[2]{\vspace*{-9pt} \begin{verse}\textbf{#1}   #2 \end{verse}  } \newcommand{\lineunder}{\vspace*{-8pt} \\ \hspace*{-18pt} \hrulefill \\} \newcommand{\header}[1]{{\hspace*{-15pt}\vspace*{6pt} \textsc{#1}} \vspace*{-6pt} \lineunder} \newcommand{\employer}[3]{{ \textbf{#1} \hfill{#2}\\ {\textbf{\emph{#3}}}\\  }} \newcommand{\contact}[3]{ \vspace*{-8pt} \begin{center} {\LARGE \scshape {#1}}\\ #2 \\ #3  \end{center} \vspace*{-8pt} } \newenvironment{achievements}{\begin{list}{$\bullet$}{\topsep 0pt \itemsep -2pt}}{\vspace*{4pt}\end{list}} \newcommand{\schoolwithcourses}[5]{  \textbf{#1} #2 \hfill{#3} \\ #4\\ #5 \\ \vspace*{5pt} } \newcommand{\school}[4]{  \textbf{#1} #2 $\bullet$ #3\\  #4 \\ } % END RESUME DEFINITIONS


In Ubuntu 14.04 Unity places Computer, Home and Trash icons on the desktop. I've tried using Unity-Tweak to remove them but they're still there. How can I remove them?


How to bind super key to Ctrl+Shift using xmodmap?

I have read the xmodmap documentation. I could only find information on how to bind one key to another.  How do I bind one modifier key to a combination of other modifier keys?  Can I do this using some other software (like autokey)?


I've just upgraded to 18.04 from 16.04 and am having a problem enabling HTTP/2 on my websites. First of all, my websites all use HTTPS.  I have done the following:  sudo a2enmod http2   added the following text to /etc/apache2/apache2.conf  Protocols h2 h2c http/1.1   and finished off with:  sudo systemctl restart apache2   As far as I am aware, that is all I need to do but none of my sites are working with HTTP/2 after doing the above operations. Can anyone lend a hand as to what I might be doing wrong, please?  Edit: I figured out what the problem was. I was using mod_php and mpm-prefork but in order to support HTTP/2 I needed to be using mpm_event and php7.2-fpm. I did this and got the sites working with HTTP/2 but now I have another problem. php7.2-fpm is timing out when I tried to start up upon reboot resulting in a 503 server error and I have no idea why it is timing out at all.


Duplicating the lines apart from the header row

How can I duplicate all but the first line in a file?   Example:  Id_animal Id_SNP Allele ID01 rs01 AB ID02 rs01 BA ID03 rs01 AA ID04 rs01 BB   Desired output:  Id_animal Id_SNP Allele ID01 rs01 AB ID01 rs01 AB ID02 rs01 BA ID02 rs01 BA ID03 rs01 AA ID03 rs01 AA ID04 rs01 BB ID04 rs01 BB   My real file has 400 lines and 44709376 column. So I want an output with 799 lines and 44709376 columns.


How to change number to $ with commas? Chart.js

I would like to be able to change the numbers into dollars with commas. For example, 10000 into $10,000.   I would like this for 1) the tooltip numbers and 2) xAxis values.   Here are links to the graph thus far:     or     Edit: I have updated the links with the code suggested by users.   This graph is quite large and it contains about 50 hours of legal research.  var myChart = new Chart(ctx, {           type: 'horizontalBar',           data: {             labels: years,             datasets: [               {                 data: number,                 label: "Amount of Compensation",                 fill: true,                 backgroundColor: 'rgba(83, 19, 30, 1)',               },             ]           },           options: {             scales: {                 yAxes: [{                     ticks: {                         fontSize: 9,                       }                     }],                 xAxes: [{                    ticks: {                        // Include a dollar sign in the ticks                        callback: function(value, index, values) {                            return '$' + value;                        }                    },                }],             }         },     });


How come dim row A = rank if dim Im A is also = rank?

The following identities are true for a matrix $A$. \begin{align} \dim \mathrm{row}\, A &= \mathrm{rank}\,A \\ \dim \mathrm{Im}\, A &= \mathrm{rank}\, A \\ \dim \mathrm{row}\, A &= \dim \mathrm{Im}\, A^\mathrm{T} \end{align} Does this mean that $\dim \mathrm{Im}\, A^\mathrm{T} = \dim \mathrm{Im}\, A = \mathrm{rank}\,A$? How come?


How would I create a save function to my random generated game?

I'm making a 2D Tower Defense and currently looking into making a save feature. The problem is that my game is procedural generated (based on the rogue-like tutorial posted by Unity):   At runtime I generate a random amount (approx 7k) tiles of treasures, obstacles and different enemies at random locations. Some tiles will also be destructible and not exist when destroyed.  What should I do to save the position of each tile and values such as "Level" and "Gold"?  This is a list of what I need to be saved:   Player value (position, gold, level, health, inventory) Building values (Tower/Building positions, health value etc) Wave values (wave_level) Board values (all tile positions such as obstacles, treasures etc)   NOTE: Every tile is a GameObject.


How to apply Zorn's Lemma in this problem?

I'm currently studying ring theory in my algebra course and I must admit I'm kind of lost. I was given the following problem:     Let S be a multiplicative system of R, a ring. Prove that the set $f=\{ I\triangleleft R\mid I\cap S=\emptyset\}$ has a maximal element and that $f$ is a prime ideal.   Since a multiplicative system is defined as a subset of R with no zero divisors, with the identity element included and such that for every $x,y\in S\implies xy\in S$, I can assure R has an identity. Furthermore, I can assume it is conmutative, since that is the kind of rings we are studying.  For the first part of the excercise I know I have to use Zorn's Lemma, but honestly I don't truly understand how to do that. How can I prove it is partially ordered? And how can I find an upper bound for every chain?  Thanks in advance, and please make me notice any mistake in my formulation. I'm new in the forum and I'm not quite sure how to do it.


solve the following first order but not of first degree ordinary differential equation

$$x = y\frac{dy}{dx}-\left(\frac{dy}{dx}\right)^2$$ I think it can be converted into a Clairaut. form but not able to do it


Chrome has a feature where if you double click the refresh button, you can empty cache and hard reload. How does chrome empty the cache? I'm well aware that, on a Mac, if you it command+shift+delete, you can clear cookies and cache. However, I don't want to go this route, and I only want to clear the cache. The reason why I want to know how it's being done is because I'd like to attach a keyboard shortcut to it.


I am currently trying to locate the correct php.ini file to edit it and restart apache so the changes will take place and I'm stumped.  I have found three different php.ini files (no idea why there are three)  this is how I found the files  $ sudo find / -name php.ini /etc/php5/cli/php.ini /etc/php5/apache2/php.ini /etc/php5/cgi/php.ini   I also did....  $ sudo php -i | grep 'Configuration File' Configuration File (php.ini) Path => /etc/php5/cli Loaded Configuration File => /etc/php5/cli/php.ini   I changed all of them (just to be sure) to the settings I wanted.  I restarted apache using  sudo service apache2 restart   The results...  * Restarting web server apache2   I reloaded the page and it showed that the php.ini file was not updated.  I know this because I used  echo ini_get('post_max_size');   Which was supposed to be changed to 20M but was still only 2M  I tried rebooting my computer thinking maybe that would stop the apache server and reload the php.ini file with the correct setting, but alas that attempt also failed.  Is there any chance there could be another php.ini file that could be interfering?


Physical interpretation of $Q^i = \partial _\nu T^{i \nu}$

I'm trouble with exercise 1.8 of Carroll's Space-Time and Geometry:     If $\partial_\nu T^{\mu \nu} = Q^\mu$, what physically does the spatial vector $Q^i$ represent? Use the dust energy momentum tensor to make your case.    First of all, since the momentum energy tensor of dust $T^{\mu \nu}=\rho U^\mu U^\nu$ is symmetric, one has the energy-momentum conservation law $$ \partial_\nu T^{\mu \nu} = \partial_\nu T^{\nu \mu}  =0.$$ A vector $Q$ is constant in any frame related by a Lorentz transformation, while this isn't the case for the components $Q^\mu$. But here $Q=0$ and hence $Q^\mu=0$ also for every component $\mu =0,\cdots,4$?   Even if a straightforwardly apply the equation: $$ Q^i = \partial_\nu T^{i \nu} = (\partial_\nu \rho) U^i U^\nu + \rho(\partial_\nu U^i)  U^\nu + \rho U^i(\partial_\nu  U^\nu ),$$ doesn't seems to yield something...   Is my first reasoning right ? Otherwise: can someone give me a hint ?  Thanks


Is there exist a homemoorphism between either pair of $(0,1),(0,1],[0,1]$

As the topic is there exist a homeomorphism between either pair of $(0, 1),(0,1],[0,1]$


Why is Blender rendering my vertical image distorted?

I want to render out an vertical image of my model. It should be complete visible but with no unused space.  I've changed the Dimensions of the output like that:   In Blender the camera view looks now like that:   but the output looks like that:   How can I print out the expected result?


How to jump to a particular line in a huge text file?

Are there any alternatives to the code below:  startFromLine = 141978 # or whatever line I need to jump to  urlsfile = open(filename, "rb", 0)  linesCounter = 1  for line in urlsfile:     if linesCounter > startFromLine:         DoSomethingWithThisLine(line)      linesCounter += 1   If I'm processing a huge text file (~15MB) with lines of unknown but different length, and need to jump to a particular line which number I know in advance? I feel bad by processing them one by one when I know I could ignore at least first half of the file. Looking for more elegant solution if there is any.


Prove algebraically $\vec{x} = \vec{a} + s\vec{b}, s\in \mathbb R$ and $\vec{x} = \vec{c} + t\vec{d}, t\in \mathbb R$ intersect

Given two lines $\vec{x} = \vec{a} + s\vec{b}, s\in \mathbb R$ and  $\vec{x} = \vec{c} + t\vec{d}, t\in \mathbb R$ in $\mathbb R^2$, where $\vec{d} \not= k\vec{b}, k\in \mathbb R$, prove algebraically these two lines intersect.   I know logically that this is true since if two lines are not parallel then they must intersect eventually, but how do I show this algebraically?


Don't show "add / show 1 more comment" when there are 6 comments

Problem  When there are 6 comments, 1 is hidden:    This doesn't make sense.  The amount of space is roughly equal to that of 1 comment.  We should just show the comment instead, and save me the click.  Proposal  If there are this many comments     Show this many     Hide this many      5                                   5                  0      6                                   6                  0      7                                   5                  2   This has really been annoying me lately.  Facebook does it too, and it doesn't make any sense there.  (When searching for dupes, I noticed an unanswered similar feature request from > 2 years ago  - not sure if that really counts as a dupe since it was never addressed or answered.)


I'm new to Linux. Is there a way to find out the name of my greeter (where you sign in) or whether I have many installed (a way to find apps by function: greeters, text editors, terminals, etc...)?


I tried to change the icon in the start button of win10 :     after downloading a software (start10). That made it really slow and I uninstalled  it. I want to change that in the CMD or even changing the image (finding the directory).  01) I want to find the image directory of this icon  02) I want to find the command that changes the image


How to apply standardization when using the model to predict (not testing phase)?

Assuming I get a good model after the training and testing phases, then I am using it to predict on some new input data. Just wondering if I should use the mean and std which I get from the training set to standardize the input data? Or should I just do the independent standardization based on the new input data themselves?  Many thanks in advance!


Is it possible to split electricity consumption of an appliance between apartments?

Is it possible to split electricity consumption of a heavy-duty-home-appliance - like a washing machine, for ex. - between two distinct apartments (splitting usage costs)? Something like this...


I'm trying to show that       If $a,b$ are positive rational numbers and $\sqrt a+\sqrt b$ is rational, then both of $\sqrt a,\sqrt b$ are rational numbers.   I squared the number $\sqrt a+\sqrt b$ and found that $\sqrt {ab}$ is rational…


This question led to a new package:      Bringhurst, in Elements of Typographic Style, recommends to use upright parentheses in italic text (i.e., write 'a (simple) example' as opposed to 'a (simple) example'). I tend to agree, it looks nicer. But, how do I achieve this using LaTeX? One could of course write \emph{a \emph{(}simple\emph{)} example}, but that would get old real soon.  Two approaches I've thought of:   Make () (and possibly []) active characters, and ensure that they're always typeset upright, or Do some wizardry with virtual fonts or somesuch.   I might be able to implement the first suggestion with my knowledge, but my gut tells me the second option is more elegant. Unfortunately, my knowledge of (virtual) fonts in LaTeX is even more limited than my knowledge of (in)active characters and catcodes and such. Any ideas on how to go about this?


I have a pair of Sol headphones that would always fit into my iphone until recently I realized that my iPhone didn't have any sound coming out of the internal speakers.  It was my headphone jack that is causing the issues and i just cleaned it out but now its not working and the sol headphones I mention just don't fit into my iPhone. I barely get the tip in and nothing else can go through and im not trying to force it in.   How do i fix this?


How to remove small value labels from ybar chart?

I can't figure out a way to prevent small values showing in my labels. A problem that looked very similar to mine can be found in . Due to my non-existent coding skills I couldn't figure out this on my own. So here is the code I've got so far:  \documentclass{article}  \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.10}  \definecolor{RYB1}{RGB}{128, 177, 211} \definecolor{RYB2}{RGB}{251, 128, 114} \definecolor{RYB3}{RGB}{190, 186, 218} \definecolor{RYB4}{RGB}{255, 255, 179} \definecolor{RYB5}{RGB}{141, 211, 199} \definecolor{RYB6}{RGB}{253, 180, 98}  \pgfplotscreateplotcyclelist{ColorListBar}{ {RYB1!50!black,fill=RYB1}, {RYB2!50!black,fill=RYB2}, {RYB3!50!black,fill=RYB3}, {RYB4!50!black,fill=RYB4}, {RYB5!50!black,fill=RYB5}, {RYB6!50!black,fill=RYB6}, }  \begin{document}      \begin{figure}[H] \begin{center} \begin{tikzpicture} \pgfkeys{      /pgf/number format/precision=2,      /pgf/number format/fixed zerofill=true,     /pgf/number format/fixed } \begin{axis}[ ybar stacked, bar width=9mm, nodes near coords, enlargelimits=0.3, legend style={at={(0.5,-0.20)}, anchor=north,legend columns=-1}, ylabel={ylabel}, symbolic x coords={A, B, C}, xtick=data, cycle list name=ColorListBar ] \addplot plot coordinates {(A,0.26) (B,0.32) (C,0.32)}; \addplot plot coordinates {(A,0.28) (B,0.29) (C,0.35)}; \addplot plot coordinates {(A,0.05) (B,0) (C,0.01)}; \addplot plot coordinates {(A,0.13) (B,0.17) (C,0.17)}; \addplot plot coordinates {(A,0.06) (B,0.01) (C,0.01)}; \addplot plot coordinates {(A,0.05) (B,0.07) (C,0.01)}; \legend{1, 2, 3, 4, 5, 6} \end{axis} \end{tikzpicture} \end{center} \end{figure} \end{document}    This results in a Figure that looks like this:    I would like to remove the labels that currently have the value 0.01 and thus look very cluttered. How could this be achieved?


Refusal of UK tourism visa due to wrong salary calculation

15 Nov 2017 Applications submission & biometrics taken (Myself & Spouse). 23 Nov 2017 Company receives a call to confirm employment. 24 Nov 2017 Decision made email sent. 27 Nov 2017 Received refusal & documents.  I was refused entry due to:  Refusal Letter says I claim income of RM 60000 per month. However its RM 5000 Per month, calculating to RM 60000 per year.  Refusal Letter says they referred to 2 'two' statements from two different banks. However I submitted 3 'three' statements from three different banks, whereby I use 1 for my life savings 'HSBC Bank' & 1 for my monthly expenses 'CIMB Bank' & 1 for salary deposits 'May bank', as I am assigned to operate the company online bank transactions. It appears ECO did not come across my MayBank statements as it clearly shows company transactions to my personal account.   At outset, I thought it could be a typing error, but when reading my wife's refusal, they again repeated the same reason.   Kindly advise what to do as visiting my favorite club stadium & attend a live match has been always my childhood dream. taking into account that I have come to your forum & learned a lot from those been refused & tried to make our applications as perfect as I could.  Should I contact VAC in Kuala Lumpur or address the Manila Visa Centre where the Processing took place? Should it be by phone or via email??   Many thanks in advance.


Version 1.0.58  When viewing questions that contain multiple code blocks, the question is blank for a few screens. Answers and comments are OK.   I tried clearing application data, and rebooting they phone, no change. Mobile sites work perfectly.   Example:      Also, now that I posted the pictures and links, this question also went blank


How to reinstall ubuntu and preserve home directory

I am trying to reinstall Ubuntu after running into some pretty troublesome issues. I am following the directions  but I can't seem to figure out how to start the UbuntuInstaller like it's telling me to. My current setup involves a dual boot with a USB. Do I need to delete the contents of the USB and start over with how I originally installed it, or should I be doing something different from this?  I'm not sure if this is persistent live or fully installed - it was set up with .


Why does a breeze of wind make us feel cooler?

In my Astronomy class, I learned that temperature results from the speed of air molecules colliding into your skin. Thus, if the air molecules in the room have a high kinetic energy and thus collide with you at high speeds, your temperature will increase. So how does a breeze of wind, in which I imagine air molecules would be moving very fast (or if they're not moving fast, YOU are moving fast relative to them), result in feeling cooler?


Combinatorics the number of options for k different balls in n different cells

We already know Euler's candy division problem as follows. How many ways are there to divide n of the same candies among k people so that everyone has at least 1 candy with n≥k. But how many ways are there to divide n different balls into k same boxes so that each box has at least 1 ball with n≥k. for example,  4 balls, 3 boxes: 6 ways  4 balls, 2 boxes: 7 ways  I have read , but I can't get the correct answer.


Changing top, bottom, left & right margins on the fly

I’m trying to find a way of being able to modify all of the margins of a page whenever I want to and as many times as I want to on a single page in order to be able to put text very easily where I want on a page.   I have thought of using the geometry package and using   \newgeometry{left=6.75cm, right=1cm, top=1cm, bottom=1cm}  %…  \restoregeometry   but unfortunately this only works for whole pages, so I can only change the margins once per page (and then they are valid for the whole page without having the possibility of changing them again).   I found the following script on the internet which enables users to change margins on the fly, just as I want to. The code below works fine and enables me to change the left and right margins of my page as many times as I want to, but unfortunately, it doesn’t give me the option of changing the top and bottom margins.  % placed before \begin{document}  \newenvironment{changemargin}[2]{% \begin{list}{}{% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}% }% \item[]} {\end{list}}  % And then inside the document, whenever I want to use % the command to change the margins on the current page  \begin{changemargin}{1.9875cm}{-3.7625cm} % this means the left margin increases by 1.9875cm compared % to the default left margin (4.7625cm) (so left margin=6.75cm here) % and the right margin decreases by 3.7625cm (so right margin=1cm)  % ... (text or pictures in new environment)  \end{changemargin}   For this reason, I tried to adapt the code above and came up with the code below:  % placed before \begin{document} \newenvironment{changemargin}[3]{% \begin{list}{}{% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}% \setlength{\topmargin}{#3}% }% \item[]} {\end{list}}  % And then to use the command: \begin{changemargin}{1.9875cm}{-3.7625cm}{1cm} % ... \end{changemargin}   It compiles and still changes the left and right margins but the top margin remains unchanged. (I haven’t yet tried to change the bottom margin).  Can anyone help me get this code to work completely, and enable me to modify the left, right, top and bottom margins of a page? Thanks.


Weak convergence in $l_p$ implies pointwise convergence?

Could someone please share their thoughts on this one:  Consider at $l_p(Y)$, for $1<p<\infty$ with the counting measure on $Y$.   Show that if a sequence weakly converges in $l_p(Y)$ then it would converge pointwise in Y. Show that the converse holds only when Y is finite.  Thanks!


How to upgrade OpenSSL 1.0.1f on Ubuntu Server 14.04?

It looks like Ubuntu Server 14.04 just released today includes OpenSSL v1.0.1f which is vulnerable to the heartbleed bug.  I've updated my packages (apt-get update) but that's the latest version available.  How to do I upgrade to 1.0.1g so I'm not vulnerable?


Exactly what kind of spider is this in Louisville, KY?

I took this photo many years ago, but I guess the year doesn't really matter. It was here in Louisville KY, on the outside of a window, on a web it built. It was a couple hours after sunset in the summer. It was about the size of a silver dollar.    Some people said it's a Garden Orb at first, while recently others say it's a Wood spider. Either way, I'm not entirely sure.  What species of spider was this?


I plan a bicycle trip over Europe. Most likely I will follow one of the EuroVelo routes, but I might change my plans during the trip. So I would need to take too many paper maps.   Can you recommend any of the following:   some reliable online map (Google Maps are not good enough), or Android app with GPS and reliable bicycle maps GPS device, that would serve well for cycling   Also that would need to cover most of Europe, or at least the European Union part of it.


Simple question, I've always wanted to know the answer to this.  Why do you see a pair of lines radiating out from street lights when you squint at them? I can't think of a better way to describe what I mean, but I hope someone knows what I'm talking about.  Is it some sort of diffraction effect caused by your eyelashes acting as a grating?  Any ideas would be greatly appreciated :-)


Assign a key combination for each input language

I know I can "cycle through languages" and "toggle between last used two languages" with key combinations. These options are not so convenient when you have three or more input languages installed.  Is there any way to assign a key combination for each language, not cycling or toggling? For the sake of example, if I can press Command + 1 then the input mode is changed to English, if Command + 2 then Japanese, if Command + 3 then Korean. Something like that.


How do I set the creation time of a file?

I have a script that converts a file to another format, and I want the resulting file to have the same timestamps as the original, including the creation time (as shown by ls -lU).  I can use touch to set the access and modification time, but I don't see a way to set the creation time.


Is using two consecutive verbs grammatically correct?

I go sing karaoke at bars.     An engineer goes camping.    The verbs go and sing and go and camp with -ing have been used consecutively in the above two sentences respectively. Are they grammatically correct and if they are then what do they mean?


How to make part titles visible in ConTeXt?

ConTeXt has \part, \chapter, and \section titles, however, it seems that \part is disabled by default. If I used \part in my document, it is visible in the table of contents, but not in the document. I have tried setting it up myself, but this does not work:  \setuphead[part][number=no, align=middle]    What is the basic code needed to display and begin setting up and customizing \part titles?


I was thinking of building a DIY IR Spectroscope but for this, I need to find an IR diode that can do variable wavelengths. So far I have looked at Farnell and Mouser but all the diodes I have looked at seem to be fixed on a wavelength.   Is this possible? or would I need some sort of filters and optical equipment, if so which parts would I need?  Thanks.


Definition: $a \prec b$ , $ a \npreceq b$ , $a,b \in \mathbb{R}$

let be $a,b \in \mathbb{R}$:  $a \prec b$ if $a \preceq b \wedge a \neq b$  $a \npreceq b $ if $b \prec a$  is correct?  Thanks in advance!


Does this person has/have the clearance?

What should be used in the below sentence?     Does this person has / have the clearance?   I think we should use have here but I'm not so sure.


Generating random variable from mixture representation

Suppose $u\sim N(0,I_p)$ and $Y|U\sim N(x(t),\sigma_e^2I_m)$, and the marginal distribution of $y$ is $f(y)=\int f(y|u)f(u)du$. $x(t)$ is composite function of $u$. The problem is I need to generate random variable from $f(y)$, I am reading Monte Carlo method textbook, but there is no detail about it. The textbook is giving an example of normal mixture and the example is given  here too, but it's not similar what I am dealing with. The fact is how do I assume the distribution(marginal distribution) of $y$. Or do I need to go for indirect method (eg. accept-reject method)?


Given that $$\lim_{n \to \infty} \sqrt{1+2\sqrt{1+3\sqrt{.....+(n-1)\sqrt{1+n}}}}$$  I have tried to solve it but no could not find answer.  if limit exists then how the sequence is converging?


How do you get the all properties of a class and its base classes (up the hierarchy) with Reflection? (C#)

So what I have right now is something like this:  PropertyInfo[] info = obj.GetType().GetProperties(BindingFlags.Public);   where obj is some object.  The problem is some of the properties I want aren't in obj.GetType() they're in one of the base classes further up.  If I stop the debugger and look at obj, the I have to dig through a few "base" entries to see the properties I want to get at.  Is there some binding flag I can set to have it return those or do I have to recursively dig through the Type.BaseType hierarchy and do GetProperties on all of them?


Rsync protocol name full path, not a module

Is it possible to name the full path to source directory in rsync command instead of the name of the module?  For example:  rsync -av rsync://10.171.73.23/home/user/work/tests .   instead of:  rsync -av rsync://10.171.73.23/ftp/work/tests .   (ftp is a module from /etc/rsyncd.conf)   When trying the first version I get @ERROR: Unknown module 'home'


How do I set up a background image for console?

Some of you may know this from openSUSE. There the console is able to have a background. Is Ubuntu also able to have a background image outside the X-Windows system?


Is there a place to dispute duplicate markings?

My question was marked as a duplicate, and I have some issues to point out about it. I was wondering if there was a place to go to dispute the marking?  This would be really useful, as I am now losing reputation points for what I feel is an incorrect marking.


libssl-dev and libssl1.0.0 on confilcting versions

My problem on 12.04lts is that somehow my libssl1.0.0 got upgraded to 1.0.1-4Ubuntu5.17 and my libssl-dev requires 1.0.1-4Ubuntu5.14 apt won't update libssl-dev because libssl1.0.0 was upgraded first.    xxx@xxx:~/debian$ sudo apt-get install libssl-dev Reading package lists... Done Building dependency tree        Reading state information... Done The following package was automatically installed and is no longer required:   libtommath0 Use 'apt-get autoremove' to remove them. The following packages will be upgraded:   libssl-dev 1 upgraded, 0 newly installed, 0 to remove and 123 not upgraded. 1 not fully installed or removed. Need to get 0 B/1,574 kB of archives. After this operation, 1,024 B of additional disk space will be used. dpkg: dependency problems prevent configuration of libssl-dev:  libssl-dev depends on libssl1.0.0 (= 1.0.1-4ubuntu5.14); however:   Version of libssl1.0.0 on system is 1.0.1-4ubuntu5.17. dpkg: error processing libssl-dev (--configure):  dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Errors were encountered while processing:  libssl-dev   Also tried downgrading libssl1.0.0 but got version not found.  xxx@xxx:~/debian$ sudo apt-get install libssl1.0.0=1.0.1-4ubuntu5.14 Reading package lists... Done Building dependency tree        Reading state information... Done E: Version '1.0.1-4ubuntu5.14' for 'libssl1.0.0' was not found   Any help would be greatly appreciated.


How to construct a pyramid in blender but the edges of the triangles to be equal?

How to make a pyramid in blender and all the edges to be equal size? Is there a way to do that in blender? Or if there is no easy way for that, maybe anybody not that lazy can provide me with a math line? Or maybe a link or whatever?


Im having a little problem with the Tikz package. I don't know why it doesn't want to compile if i want to do arrows instead of lines.  Im using the following code to create a diagram:  \usepackage{tikz}  \usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,decorations.pathreplacing,decorations.pathmorphing,shapes,matrix,shapes.symbols} \begin{tikzpicture}      \matrix [column sep=15mm, row sep=4mm, every node/.style={          text width=3cm,         minimum height=1.75cm,         text centered,         draw=black,         rounded corners,         line/.style={draw, thick, <-},     }] {       \node (a1) {Controlador de solicitudes}; &       \node (a2) {Receptor Satelital}; &       \node (a3) {Alimentatión Inteligente}; \\       &       \node (b2) {Decodificador NMAE}; &       \node (b3) {Interfaz Web}; \\       &       \node (c2) {Almacenamiento de Informacion}; &       \node[xshift=15mm] (c3) {Autorizar y Autentificar}; \\       &       \node (d2) {Transmisor con GMS/GPRS}; &       \node (d3) {Servidor Web}; \\     };      \begin{scope}[->, very thick]       \draw (a1) -- (a2);       \draw ([xshift=3mm]a1.south) |- ([yshift=3mm]d2.west);       \draw (a2) -- (b2);       \draw (b2) -- (c2);       \draw (c2) -- (d2);       \draw ([yshift=-3mm]d2.west) -| ([xshift=-3mm]a1.south);       \draw[-, dashed] (d2) -- (d3);       \draw ([xshift=5mm]b3.south) -- ([xshift=-10mm]c3.north);       \draw ([xshift=-10mm]c3.south) -- ([xshift=5mm]d3.north);       \draw ([xshift=-5mm]d3.north) -- ([xshift=-5mm]b3.south);     \end{scope}      \end{tikzpicture}   I realized that the problem is the -> after the \begin{scope}. If i delete that it compiles perfect.   What can it be? Im i loading the wrong package?  Thanks !


I have been trying to shrink my C: drive partion but currently to no avail. I am unsure about using 3rd party software to do it (such as  or ). So I have a 1TB harddrive with 4 partions. Running Windows 8.1.   My main goal is to get a 40GB partion for a dual boot of Linux. So I first tried to shrink the C: but the max I could shrink it by was only 9000MB so I followed the instructions at  (disabling paging, defrag and disabling hibernation) . This enabled me to shrink it by a maximum of 400000MB(ish). I went ahead and tried to shrink the partion by 40000MB but it came up with the error saying there is not enough space.  Below is a screenshot of the current partions:


Schengen Visa Refusal: Justification for the purpose and conditions of the intended stay was not provided

Schengen refusal formulae can be difficult to understand sometimes.    When an applicant receives a refusal with "Justification for the purpose and conditions of the intended stay was not provided", what does it mean?


Let$ G = \{x ∈ R | x  \neq -1\} $and * a link to ¨G with $x * y: = x + y + xy.$ Show that $(G, *)$ is a group.  To determine if $ G$ is a group I have to make the associative proof:  Associative?  $(x * y) * z = (x + y +xy)+z -(x + y +xy)*z$  $= x + y + z + xy - xz - yz - xzy$  $= x + y + z + xy -z (x + y + xy)$  $= x + (y + z + xy) -z (x + y + xy)$  I kinda stop here, because I think I made a mistake


Where can I find a site to download pre-built 3D houses?

I'm currently working on a scene in blender which has a modern house on a plot of land. The idea is for it to be located in a developed neighbourhood. I can't seem to find any pre-build 3D houses to add into the background. Anybody know of a site I can get them from? I don't mind if they aren't free. Many thanks,


I'm trying to convert ag normal maps (alpha is red channel, green is green channel, blue channel derived from a and g through some formula) to standard normal map (tangent space). Nvidia's Windows Texture Viewer gives this formula "Normal map AG [dR = sA; dG = sG; dB = sqrt (1.0 - dRdR - dGdG); dA = 255]", but I'm more artistically declined than math or programming and failed to recreate this with shader nodes. thanks in advance.


Is it possible to export the current iPhone wallpaper?

I have a photo set as my current iPhone wallpaper, which I would like to save.  I have forgotten where I stored this file on my computer originally, so I can't easily go back to place it back on my phone. It has since been deleted from my camera roll.  Is there any way to export the photo that is currently set as the wallpaper, so that I can change the wallpaper to something else, but save the other one?


My breath was taken away by this. I tried to run my JAGS model with different number burn-in samples but it still takes the same amout of time!!   n.iter    n.burnin    time   saved iterations per chain  2000         1000     66s                         1000  5000         4000     64s                         1000 20000        19000     62s                         1000   n.chains was 2 and n.thin was 1. So in each of the 3 model runs, I had different burn-in period, but the same second stage (n.iter - n.burnin, i.e. 1000 iterations per chain). All 3 models run for the same period of time!!! Does this mean that the burn-in phase takes zero time?  This is really a strange result, doesn't correspond to how I supposed the MCMC works. I thought that the burn-in phase is exactly the same computation process as the second stage, with the only difference that the samples are discarded.  I have used  function to run JAGS.