Is it possible to make a .tar.gz file directly from stdin? Or, I need to tar together already gzipped files

I'm going to tell you exactly what I need in order to clarify the cryptic question in the title. I'm currently making scheduled MySQL backups of all my databases with something like:  mysqldump ... | gzip -c > mysql-backup.gz   This is ok, but I'm willing to make a separate file for each single database, since that will make it easier to take a look at dumped data or restore a single database:  for db in $dbs; do mysqldump ... $db | gzip -c > mysql-backup-$db.gz; done   I'd like to store all of the dumps for each single backup in a single .tar file, i.e. mysql-backup.tar.gz with all the dumped databases inside. I know I can simply leave .sql files uncompressed and then tar -cz *.sql, but 1) I'm searching for a way that doesn't need to temporarly store big files. In my current script, in fact, mysqldump is piped into gzip, so no big file is created.   2) Is there a similar way in which I can create .tar.gz from stdin?   3) Is tar -c *.sql.gz eqivalent to tar -cz *.sql?


Resume Question: How do you put mastering out of PhD on resume?

I am currently in my 2nd year in a PhD and going to master out in May. Should I put "leaving PhD" on my resume? Or just Masters? My field is in Computer Science where mastering out is quite common.


How to stop spammers from creating accounts on my website?

I have this small question and hope I can have some help,  what is the best way to prevent spammers from creating accounts on my website? is there any plugins useful for that?   "I am using WordPress for my website"


Determine all functions satisfying $f(x + f(x + y)) + f(xy) = x + f(x + y) +yf(x)$

Let $\Bbb R $ be the set of real numbers .Determine all functions $f:\Bbb R \rightarrow \Bbb R $ satisfying the equation   $$f(x + f(x + y)) + f(xy) = x + f(x + y) +yf(x)$$ for all real numbers $x$ and $y$.   My work  $$f(x + f(x + y)) + f(xy) = x + f(x + y) +yf(x)$$ Setting $y=0$ $$f(x + f(x)) + f(0) = x + f(x )$$ $$\implies f(x + f(x))  = x + f(x ) -f(0)$$ $$\implies f(t)  = t -f(0)$$ Setting $x=0$ $$f(f(y)) + f(0) = 0 + f(y) +yf(0)$$ $$f(f(y)) =  f(y) +f(0)(y-1)$$  Setting $y=1$ $$f(x + f(x + 1))  = x + f(x + 1)$$


How to disable the "highlight changes" feature?

Our admins deployed a new version of Notepad++ (version 6.3) on our machines, and this version is highlighting all changes done in a file by default. It does so by setting the background color of every modified line to a bright orange, which I find very distracting.  We  have dozens of plugins installed, but I double checked and we do not have the "Change Markers" plugin (which could be the culprit).  Any idea where I can disable this feature? Changing the highlight color could also be an option.


I've read in the  and the  the mention of inner classes. What is their purpose?  I see in the Apex Workbook that they used private variables and setter/getter methods in the inner class, but why didn't they just do that in the outer class with a constructer, getter, and setter?


How to update the parent/child of all rows in the tree (ltree)?

Here are my configurations: DB type: postgresql (9.3 if that's necessary) Table name: product_sections Column names: section_id (integer) & section_path (ltree)    Detail: I have one reference value: section_id: 15 & section_path: Automation_Solutionz. So, when I want to rename Automation_Solutionz to, say Chrome, I want all references of Automation_Solutionz to be updated.      FROM:  Automation_Solutionz Automation_Solutionz.Test_Case_Creation Automation_Solutionz.Test_Case_Creation.Automation Automation_Solutionz.Test_Case_Creation.Manual   TO:  Chrome Chrome.Test_Case_Creation Chrome.Test_Case_Creation.Automation Chrome.Test_Case_Creation.Manual     Similarly, when I update a value which is in the middle, it should rename those too. In the case above, Test_Case_Creation should be renamed to something like TestCase or anything else. The same goes for any item which is either in the middle, end or at the start.  Hope, I explained things correctly. Thanks in advance :)


Exception in thread "main" java.lang.NullPointerException when trying to use a method in another class?

I am new to Java and OOP. I'm having trouble understanding this error that I'm getting:  Exception in thread "main" java.lang.NullPointerException     at main.MyBlock.displayBlock(ProgFunAssignment1.java:66)     at main.ProgFunAssignment1.main(ProgFunAssignment1.java:38)   It also happens with the clearBlock() method as well. I'm assuming it might be to do with me not understanding how to use the methods I've defined in the myBlock class properly in main? or maybe that I haven't initialized block properly?  I've looked through some other answers about the same error but can't really seem to find anything that makes enough sense for me to get started on. I've pasted my code below, please help me! Explanations on what this error actually means would be great too, I'd like to actually understand what I've done wrong.  Please ask me for any extra information you might need, sometimes I'm not great at including everything!  package main; import java.util.Scanner; import java.lang.*;  public class ProgFunAssignment1 {      public static void main(String[] args) {          Scanner console = new Scanner(System.in);          int maxRows;          int maxColumns;           // initial value selection (TASK D)               do { System.out.println("Please enter the desired row and column lengths of your block");          maxRows = console.nextInt();          maxColumns = console.nextInt();          if ((maxRows < 3 || maxRows > 10) || (maxColumns < 3 || maxColumns > 10)) {              System.out.println("Values invalid, please enter values between 3 and 10");}          } while ((maxRows < 3 || maxRows > 10) || (maxColumns < 3 || maxColumns > 10));           MyBlock block = new MyBlock(maxRows, maxColumns);            //Menu creation (TASK E)          int choice;          int colPosition;          int rowPosition;          do { System.out.println("Please select one of the following options \n 1. Add a House \n 2. Display Block \n 3. Clear Block \n 4. Quit");          choice = console.nextInt();           if (choice == 1) {              System.out.println("Please enter position coordinates of the house:");              rowPosition = console.nextInt();              colPosition = console.nextInt();              // If coordinates not valid, go back to menu          }          else if (choice == 2) {              block.displayBlock();          }          else if (choice == 3) {              block.clearBlock();          }          else if (choice == 4) {              System.exit(0);          }          else {              System.out.println("Choice was not valid, please try again.");              }} while (choice < 0 || choice > 4);         } }  class MyBlock {     private int[][] block;     boolean vacant;       public MyBlock(int maxRows, int maxColumns) {          int block[][] = new int[maxRows][maxColumns];         vacant = true;      }      public void displayBlock() {         // content of displayBlock() method here         for (int[] x : block)         {            for (int y : x)            {                 System.out.print(y + " ");            }            System.out.println();         }          }      public void clearBlock() {         // content of clearBlock() method here         vacant = true;         for (int i = 0; i < block.length; i++) {             for (int j = 0; j< block[i].length; j ++)                 block[i][j] = 0;         }     }      public boolean buildHouse(int rowPos, int colPos, int rows, int columns) {         // content of buildHouse() method here          // useful code         if (true)              return true;         else              return false; } }


Ubuntu 20.04 - screen keeps rotating on its own

I installed Ubuntu 20.04 on a Dell Latitude laptop. After a few minutes, the screen suddenly rotated 90 degrees to the right. It just seemed to have happened on its own. Possibly shortly after installing Ubuntu base/firmware updates that were suggested by the system (from the official repository).  taught me how to rotate it back. The problem is that it doesn't stick. The screen still rotates occasionally, seemingly on its own. Even when it's ok, when I log off - the user selection screen is rotated. I found a "Lock Screen Rotation" option in the top-right system menu, but it doesn't seem to have an effect. It happened shortly after I installed Ubuntu, on a fairly clean system, with no special customizations or tweaks. Does anyone know how to fix this?


Handling 30MB limitation while using 'getContentAsPdf'

I have a JavaScript button that calls an Apex which in turn calls a VF pages the uses: 'getContentAsPdf'. Here I am extracting images from Files section of an object and getting added to the PDF file before I attach the PDF to the parent record. Button code looks like below: {!REQUIRESCRIPT("/soap/ajax/26.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/26.0/apex.js")}  var result = sforce.apex.execute("MyImage","createMyImage", {caseId:"{!Case.Id}"});  alert(result); window.location.reload();  Somehow I am getting a JS exception and I am aware of the 30MB limitation:  A problem with the OnClick JavaScript for this button or link was encountered: {faultcode: 'soapevv:Server', faultstring:'The total size of all images in PDF document exceeds 30MB organization limit.',}  But this error is coming up in the browser pop-up window as an un-handled exception. How and where can I handle this JS exception, so that I can use an alert or some UI friendly error message.


We know that as the speed of an object increases, so does its relativistic mass. But can it be said that dark matter may be due to the increasing relativistic mass of nebulae, stars, galaxies, etc. caused by their high speeds?


Is it possible change favicon on site when users change themes?

I have two themes on my site: Red, and Blue. This works fine. I must know if I can make something to change the favicon, when users change the theme. I know this code is for implementing favicon: <link rel="shortcut icon" href="favicon.ico" /> <link rel="icon" href="favicon.ico" />  What do I need to make this possible? Using jQuery?  I have this script which I use for changing themes: $("#painel_faccao li a").click(function() {          $("link#faccao").attr("href",$(this).attr('rel'));               $.cookie("css",$(this).attr('rel'), {expires: 365, path: '/'});      return false;         });  How I can implement this here? (This question has a more modern approach to this function)


I bought a copy of NCAA14 when I was in the US last year. Now I'm back home in the UK and can't get it to work because of the region code on my Xbox 360 at home, is there any way to solve this?


Hp Omen 15-dc1052nr ubuntu 18.04 no wifi adapter found

I have recently bought HP Omen 15-dc1052nr and installed Ubuntu 18.04 alongside already installed windows 10. But after installing ubuntu when I go to settings -> Wi-Fi, it shows No Wi-Fi Adapter found. I have searched internet alot and even follow this answer too  but I am unable to use Wi-Fi on my device.   Information regarding my system can be seen by visiting this link


Multilanguage profiles in StackExchange Careers

I'm currently updating my StackExchange Careers profile with some updated information. But in fact, I have the option to change the language in the bottom part of the page, but it will just change the Display language of the page not the way I can edit my profile.   This means I just can generate a single language profile which is displayed in german on the german page and in german on the english page. Or the otherway round, english in english and english in german.  Is there any way to generate a real multilanguage profile?


how can identify which cryptanalysis is used ( Indistinguishability cryptanalysis against classical ciphers)

I have 10 ciphertexts and 10 plain texts I want to know which cipher is from which plain text how can I know this I  know the name of substitution cipher,  transposition cipher,  Vigen`ere cipher and  case-insensitive letters-only one-time pad that are used in these 10 cipher and plain text


Can I spend New Years in the United States if my visa expires on Dec 30, 2016 and enter a month before (December 1)?

I would like to clarify a few things regarding my situation. You see, on August 9, 2016 I received back my passport with my US Visa on it. And as I saw, it stated that the visa is due to expire on Dec 30, 2016. However, I would like to spend Christmas and New Years in the United States. I want to arrive in the U.S. on Dec 1 and leave January 13. Now having realised that my Visa's validity is only until 30th of December (right before New Years) I now wonder, would it be possible to be given a duration of stay past the expiry date of the visa?   I am asking this because I do not know exactly how to proceed with my travel plans. Should I book past the validity of my visa or should I stick within the given validity dates of my visa? I've seen through research that the duration of stay given in the I-94 by the DOHS officer can surpass the given validity of my visa but I am in doubt and need some assurance.  Taken from:   "Q.14 My visa will expire while I am in the United States. Is there a problem with that? No. You may stay in the U.S. for the period of time and conditions authorized by the Department of Homeland Security officer when you arrived in the U.S., which will be noted on the I-94, even if your visa expires during your stay."  Hoping to get these questions clarified so I can proceed planning my travels soon.


When I am logged in to any Stack Exchange site, many (all?) of the JavaScript features do not work. I am unable to view my inbox or view more comments, autosuggestions for tags do not work, and I am unable to view my question as it will finally appear while typing it. I am getting the error  Expected ')' full.js Line: 166 Char: 336   This error started today and does not occur on other Stack Exchange sites. I am using Internet Explorer 8 (I know, I know... I can't change it for now).  Why could this be?  For some reason, this applies on every Stack Exchange site except Meta Stack Overflow. Other Stack Exchange meta sites do not work.


The red lines are because I pressed b button by mistake.


I found in a book a proof that the Cantor Set $\Delta$ is perfect, however I would like to know if "my proof" does the job in the same way.     Theorem: The Cantor Set $\Delta$ is perfect.        Proof:   Let $x \in \Delta$ and fix $\epsilon > 0$. Then, we can take a $n_0 = n$ sufficiently large to have $\epsilon > 1/3^{n_0}$.   Thus, the interval $[a, b]$ where $x$ lies is a subset of $B_\epsilon > (x)$. Hence, by iterating the construction of the Cantor set for $N >  n_0$, we have intervals of length $1/3^N$ all included in $B_\epsilon  (x)$, but with only one of those intervals such that $x$ lies within.   The intution behind the proof was that we should prove that for every $x$, if $x \in \Delta$, then for every $\epsilon >0$, $B_\epsilon (x) \setminus \{x\} \cap \Delta \neq \varnothing$.    Now, I do not particularly like my reference to the $[a, b]$ interval that is not mentioned before. Moreover, here – by choosing a closed interval – I am trying to address all at once the case in which $x$ is an endpoint of one of the closed intervals that form $\Delta$. Finally, I did not close the proof with a statement like "Thus, there are infinitely many points that differ from $x$ and that lie within $B_\epsilon (x)$.    In the end, I am not completely sure if this can be considered a proof or not. The intuition is correct (I am kind of positive about it), but I am not sure if I was actually able to write down my intuition in a good way.    As always any feedback is more than welcome. Thank you!


Are feature request questions on this site downvoted for being poor ideas?

On many sites, a well written question, even one asking about a possibly bad idea, is often upvoted. I've noticed a little difference on this site. Do people down vote questions because they do not contain a good idea, rather than giving a detailed answer explaining why it isn't the greatest idea?


Is there any way to replicate "Aura Glow" reflective dispersion/iridescence glass effect in Cycles?

I'm currently working on a model for Samsung Galaxy Note10+, with one of the colors used on the phone is "Aura Glow" that is a very reflective glass that reflects  light (a la CD/DVDs):  However, I couldn't get the effect working as intended in Cycles, Blender 2.90.  Using the  method shows the result correctly in Material Preview/Eevee, but appears transparent in Cycles render (note that the front of the phone appears as "see through"). Mixing with Principled BSDF didn't help much.      Using  method only gives out a solid red finish.   I can't seem to find any other method that actually reflects like what I intended to, so I'd like anyone to help me on giving a reflective glass like that GIF above.


Is there a way to prevent voice dictation from turning off the system audio?

How can I configure OS X to allow audio playback while I use voice-to-text?  --  As empowered as my MacBook makes me [feel], an important part of my personality is indefinitely numb from familiarity with a feeling the still hopeful ones of us will also integrate into their being eventually: devastation that "no, you can't." is literally the  correct answer to their Apple-related how-to question.  ... so, with carefully managed expectations, I await ...


Steam says game is suddenly uninstalled. I know it is not

I've been playing a Elite Dangerous over the past few days. Now today, when I start up steam, it suddenly says it is uninstalled (name in sidebar is dimmed, and play button is replaced with install button). To check, I took a look at CCleaner's uninstall tab and it said Elite Dangerous was there: 24.9 GB of space.   I was thinking maybe just to install it again, maybe it will just install specific files that somehow got lost, but I don't have 24.9 gigabytes of space left on my computer, so it won't let me.  I'd rather not have to install it all over again, as it would take around 8 hours.  I have tried restarting my computer and steam.  What's happened?  EDIT: I am able to launch it from running EDLaunch.exe in the Elite Dangerous folder in steamapps/common, so it is purely a steam issue. But I'd like not have to do this everytime...


In WPF, explain order of UI updates from Dispatcher vs from event handler

I would like to understand the following behaviour. I have WPF application with button click event handler in which I start Parallel.ForEach. In each loop I update UI via Dispatcher. After the Parallel.Foreach I do the "final update" of the UI. However this "final update" actually happens before any of the updates from the Dispatcher. Why is it happening in this order? private void btnParallel_Click(object sender, RoutedEventArgs e) {     txbResultsInfo.Text = "";      Parallel.ForEach(_files, (file) =>     {         string partial_result = SomeComputation(file);          Dispatcher.BeginInvoke(new Action(() =>         {             txbResultsInfo.Text += partial_result + Environment.NewLine;         }));     });      txbResultsInfo.Text += "-- COMPUTATION DONE --"; // THIS WILL BE FIRST IN UI, WHY?     //Dispatcher.BeginInvoke(new Action(() => txbResultsInfo.Text += "-- COMPUTATION DONE --"; - THIS WAY IT WILL BY LAST IN UI }  My intuitive expectation was that the code continues after all branches of the Parallel.ForEach loops are finished, meaning the Dispatcher has received all requests for UI update and started to execute them and only then we continue to update the UI from the rest of the handler method. But the "-- COMPUTATION DONE --" actually always appears first in the textBlock. Even if I put Task.Delay(5000).Wait() before the "done computation" update. So it is not just a matter of speed, it is actually sorted somehow that this update is happening before updates from Dispatcher. If I put the "done computation" update to dispatcher as well, it behaves as I would expect and is at the end for the text. But why does this needs to be done via dispatcher as well?


How can I determine that the start of week is Monday or Sunday in different culture in C#

some country use Monday as the first day in a week, some country use Sunday.  in C#/.Net, the library Globalization can determine current webpage open in different country, but I didn't find any useful method for determine the which country use which day as start of week.


If B and C are subsets of Y, then prove $f^{-1}(C/B)=f^{-1}(C)/f^{-1}(B)$

Important to note that $B$ and $C$ are subsets of $Y$ where $f: X \to Y$  This appears to be a direct proof $$y \in f^{-1}(C/B)$$ implies that $$y \in f^{-1}(C)$$ and $$y \notin f^{-1}(B)$$ Therefore $$y \in f^{-1}(C)/f^{-1}(B)$$   Of course this must be proved backwards as well:  $$y \in f^{-1}(C)/f^{-1}(B)$$  implies   $$y \in f^{-1}(C), y \notin f^{-1}(B)$$  $$y \in f^{-1}(C/B)$$  The proof may need to be cleaned up but is the logic sound?


Bing Picture of the Day as Desktop Wallpaper?

Can anyone help me out with how to make Bing Picture to my Desktop Wallpaper?    So it works by downloading the highest quality of todays picture. Then storing it ex in the Picture folder of your account. After that automatically changing the picture itself.  It should continue the same everyday without hassle in the background.  Probably something I have to add in the Startup Applications. Any differences between Ubuntu versions?    -Do I have to write a script?  This would be appreciated by many others too! Thank You in Advance :)


I upgraded to 14.10 from 14.04. And I use Ubuntu+Kubuntu. Temporary solution is, after freeze, I do Fn+F1 (Suspend), and then click Power button (Wake), and everything returns to normal, till next freeze.  Any permanent solutions?


How to create an .INI file to store some settings in Java?

I want to create an ini file to store some settings for my application. Is it a good idea to find where the jar file is located and create an ini file there? If yes, then how can I find the location of the jar file?   But if you know a better solution for something like this, I would like to hear some of them.  EDIT: I'm using mac and I want to run the same application in windows. I could write something in the System.getProperty("user.home") directory, but I want to keep the system clean, if the user decides to remove the app. There is no a better way to store the settings file, for example in the same directory with the application?


Prove that $5\mid 8^n - 3^n$ for $n \ge 1$

I have that $$5\mid 8^n - 3^n$$  The first thing I tried is vía Induction:  It is true for $n = 1$, then I have to probe that it's true for $n = n+1$  $$5 \mid 8(8^n -3^n)$$ $$5 \mid 8^{n+1} -8\cdot3^n$$ $$5 \mid 3(8^{n+1} -8\cdot3^n)$$ $$5 \mid 3\cdot8^{n+1} -8\cdot3^{n+1}$$  After this, I don't know how to continue. Then I saw an example about a property: $$(a+b)^n = am + b ^ n$$ with $m = a + 2b$ or the number it represents.  $$5 \mid 8^n -3^n$$ $$5 \mid (5+3)^n -3^n)$$ $$5 \mid 5m + 3^n - 3^n)$$ $$5 \mid 5m$$  So, $d \mid a$ only if $a = kd$. From this I get that $5 \mid 5 m$.  My questions:  1) Is the exercise correct?  2) Could it have been resolved via method 1?  Thanks a lot.


#iwconfig  usb0      no wireless extensions.  eth0      no wireless extensions.  lo        no wireless extensions.  #ifconfig eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500         ether ec:f4:bb:74:5f:f9  txqueuelen 1000  (Ethernet)         RX packets 0  bytes 0 (0.0 B)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 0  bytes 0 (0.0 B)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 28  bytes 1596 (1.5 KiB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 28  bytes 1596 (1.5 KiB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 192.168.42.169  netmask 255.255.255.0  broadcast 192.168.42.255         inet6 fe80::f076:3aff:fe0d:f215  prefixlen 64  scopeid 0x20<link>         ether f2:76:3a:0d:f2:15  txqueuelen 1000  (Ethernet)         RX packets 10723  bytes 9294838 (8.8 MiB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 9929  bytes 1471536 (1.4 MiB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  #rfkill Usage:  rfkill [options] command Options:     --version   show version (0.5-1+b1 (Debian)) Commands:     help     event     list [IDENTIFIER]     block IDENTIFIER     unblock IDENTIFIER where IDENTIFIER is the index no. of an rfkill switch or one of:     <idx> all wifi wlan bluetooth uwb ultrawideband wimax wwan gps fm nfc   #lspci -knn | grep Net -A202:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)     Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]     Kernel modules: bcma   I have read a lot and still I can not get anywhere with this. I can not even see wireless option in my network connections. I never had such trouble with linux and wifi in the past and just installed kali where parrot os was working well on this machine. What am I missing and why isn't it working?


Bijection between Prime numbers and Natural numbers

We know that if set $S$ is countable then this set and set of all natural numbers are equivalent, which means that there must be some bijection between this two sets $F:S\rightarrow N$.   We know that set of all Prime numbers is countable as well as set of all Natural numbers. So how to find bijection between Prime numbers and Natural numbers in an easy way?


I have heard of lenses being described as fast that have f/stop values of f1.2 and f/2.8.  My question is why are such low f/stop lenses called fast?


What are these symbols called in the English language?

You see these all the time in movies, usually when some poor guy has been wrongly imprisoned and begins counting the days since his incarceration, but what are these markings called? I used to know, but I've forgotten and now it's really bugging me.


On my new site all works fine so far, except that when I try to clear cache (e.g. class cache or table cache or just flush all caches) from the UI. I sometimes get an error about exhausted memory (64M on production, 128M on test site).  Are there any alternatives to clearing cache from the UI? Can I just delete all records from the database tables starting with "cache" and obtain the same result?


Why don't we define time derivative of acceleration?

When we started the study of kinematics we defined position and its change with respect to time. After that we defined time derivative of velocity which gave us acceleration.  These 3 concepts really helped us and we extended our study from kinematics to dynamics which provided us a simple relation between acceleration and force.  If we would have defined the time derivative of acceleration then what would we have got? What would have been its physical significance? How it would have helped us in study of dynamics?  I want to conclude my question by just asking that why don't we define the time derivative of acceleration?


How can I fool Steam to think my exFat drive is NTFS?

My steam library is on an external drive that I had to format as exFAT to be able to write on OS X. Note that I play on Windows 7 64-bit, I just use this drive on both.  Steam, along with way other programs and softwares, were happy with this unless suddenly during uninstall process of one of the games via Steam, it wiped all the Steam library. I could not even recover it, have no idea what have happened.  So I went to install some of my games and upon installing of big ones like XCOM 2, Steam said that the drive can't be FAT32 and has to be NTFS. As explained, the drive is exFAT and NOT FAT32. I contacted Valve about this and they said they can't do anything about it.  So is there a way to make the Steam think that the drive is NTFS? Like with linking files or something.  Thanks.  EDIT: Obviously format to NTFS is not an option because I don't have 2TiB empty space somewhere to move data from this drive and to my knowledge there is no conversion from exFAT to NTFS without formatting.


Black patches on meshes that use transparency

I have imported a model that was generated by Mineways, a software that can convert Minecraft worlds into 3d models. Then I also loaded up the material using the MCPrep addon, but now I have suddenly started noticing some weird black patches on my grass which use transparency (I assume minecraft grass needs transparency). One thing I know for certain is that this problem is getting less bad as I raise the number of transparency light bounces but I have to raise them as high as 10 passes which really cannot be optimal as I want to render an animation with 222 frames on Cycles and it takes forever as I raise max bounces. Is there another way to fix this problem? What is the reason of this in the first place?


Can I see my Track Record for suggested edit reviews?

In the review history for suggested edits, I can see what I voted on each of the edits I reviewed.  Is there a way to see which were approved/rejected vs my own vote?  I want to get an idea of my ratio of correct to incorrect reviews.


I am getting a new desktop soon and wanted to know if Ubuntu is compatible with my build. I will be using it to play Minecraft on high settings with shaders enabled. Here is the complete list of hardware.  CPU- AMD FX 6300 3.5Ghz 6-Core  Mobo- Gigabyte GA-970A-UD3P ATX AM3+ Motherboard  GPU- Sapphire Radeon R9 270X 2GB Vapor-X Video Card  RAM- G.Skill Ripjaws X Series 16GB (2 x 8GB) DDR3-1866 Memory  Storage- Sandisk SSD PLUS 120GB 2.5" Solid State Drive  Power Supply- Rosewill 750W 80+ Bronze Certified ATX Power Supply  Case- Cooler Master Elite 431 Plus (Black) ATX Mid Tower Case  Mouse- UtechSmart Venus 50 to 16400 DPI High Precision Laser MMO Gaming Mouse for PC  I will be displaying it on my 32" Samsung 1080p HDTV. I had Ubuntu on an old Core 2 Duo HP desktop and loved it, if this build is compatible with Ubuntu then I don't need to worry about getting another copy of windows for my new build.  If you need more info, please let me know!


Will I get Windows 10 without reserving if I have genuine Windows 7?

I have genuine Windows 7. I have the latest update and the 2 updates required for reserving windows 10 but I am not getting the notification icon to reserve the windows 10. I tried all the 3 methods from the batch file. Nothing happened. I tried running GWX.exe manually with administrator privilege but nothing happened. What should I do? Will I be able to upgrade to Windows 10 when it releases?


Why is $a^{-x}$ defined to be equal to $\frac{1}{a^x}$?

I have searched the reason behind this definition in two textbooks and haven't found any. They just state that this is the definition but don't ever give any motivation for why this is truth.  Edit:   I figured out why that relation must be true about 10 seconds after posting the question. Instead of looking for explanations I should have thought for a while. Still, thank you everyone.


Asking questions as a software customer without being closed

Yesterday, I asked a question about how separation of layers should be demonstrated to me as a customer of software development. The question was promptly closed as off-topic, to some surprise for me. I still find the question relevant (also for programmers among which I still consider myself) -- even though the question was asked as a client to you as programmers? Being a big Stack Overflow fan, I hope to be able to get input for my new role in the development process here.   Should I go to another Stack Exchange site? Or just cut my ties and realize that I'm with the enemy now? Thinking of the whole agile movement, I assumed that the nature of the interaction between programmers and clients would be relevant to discuss here. Thus I humbly asked how a programmer would go about documenting a specific aspect of an application (in this case layer separation).   Please advise me how to still be able to get input from programmers, without being cut off for being off-topic.


How do I check if I can safely install something with apt during a bash script?

I've written a bash script to install some packages on the first boot of my Ubuntu 16.04 VPS. The VPS platform that I'm using runs it during the server commissioning process. When it runs I'm getting this sort of error:  ... Reading package lists... E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ ...   So my question is: How do I sleep until it's okay go go ahead with the install?  I've done quite a bit of Googling to find a solid answer to this (I'm new to bash scripting), and have come across several proposed solutions, but there's lots of noise.  are specific to certain provisioning systems, and other approaches seem .  My solution at the moment is just a sleep 30 at the top of my script which is definitely not a robust solution.  I tried putting together something like this but it doesn't seem to work:  while true do   sudo lsof /var/lib/apt/lists/lock &> /dev/null   [ $? = 0 ] && break   sleep 1 done   On my personal machine it sleeps forever because of an error (WARNING: can't stat() fuse.gvfsd-fuse...), and on the VPS, it doesn't seem to sleep at all.  Any ideas why that doesn't work, or ideas for a better approach?    By the way, if you're interested, the script I'm trying to run is simply:  #!/bin/sh curl -sL https://deb.nodesource.com/setup_8.x | bash - apt-get install -y nodejs   And the full output can be seen in .


Grub rescue after installing Ubuntu on a external HDD from USB

I have Windows 7 installed in my internal HDD and wanted to try out Ubuntu so I have an USB to put Ubuntu LiveUSB on and installed Ubuntu on a external HDD and everything worked out fine.  Now the problem. If I remove the external HDD and try to boot Windows normally it shows the grub rescue screen. The only way to boot into Windows is by having the external HDD attached.  Is there any way I can make it so I won't have to have the external HDD attached to be able to boot my Windows 7?


I have an external USB drive, formatted as NTFS. It has started to fail, and has a number of bad sectors. I have been able to recover most of the data, but one directory was giving errors so I ran CHKDSK /f on the disk.  CHKDSK did not complete, failing because it ran out of space (there was at the time around 40gb free out of 500gb). After it ran, the problematic directory became empty, and CHKDSK left a found.000 file in the root. I think normally this would be a directory full of .chk files, but in this case the found.000 file itself is corrupt - in info screen, it shows a "size" of "17356456 bytes (,.))/0(,0 bytes)" but "size on disk" of 4.00kb. So even the actual size can't be figured out by the OS.  I have now deleted some additional files to give the disk more space, but CHKDSK will not complete (it hangs). I'm wondering if there is some way I can un-corrupt this found.000 file, as I suspect it will contain the missing files from the directory in question.  Any ideas?


biblatex citation includes given name, how can I get rid of it?

I have following literature in my .bib file:  @inproceedings{lang2017earth, title={Earth observation for humanitarian assistance},   author={Lang, Stefan and Schoepfer, Elisabeth and Zeil, Peter and Riedler, Barbara},   booktitle={GI Forum--J Geogr Inf Sci},   volume={1},   pages={157--165},   year={2017} }   When I try to cite it with \parencite{} or with \citet{} it always appears with the name of the author in the .pdf file:     (Stefan Lang, Schoepfer, et al., 2017)   I want to get rid off the "Stefan"  same here  @article{lang2015earth,   title={Earth Observation for Humanitarian Operations},   author={Lang, Stefan and F{\"u}reder, Petra},   journal={GI\_Forum},   volume={2015},   pages={384--390},   year={2015},   publisher={Verlag der {\"O}sterreichischen Akademie der Wissenschaften} }   I cite it with \citet{...} and it appears like this in the .pdf:     Stefan Lang and Füreder (2015)   and again "Stefan" appears!  What can I do against this, because all the other citations work perfectly except of these two.


How to make sure that grub is properly configured?

On a production server, I just did a dist-upgrade from ubuntu 14.04 to 14.04.01. During the upgrade, I encountered a serious problem with configuring grub. I finally traced back the source of the problem and fixed it.  Now, although apparently everything is properly configured, I am a bit anxious to reboot the server (remotely). Before I do so, I'd like to ensure that the reboot will proceed smoothly. I would like to know what I should check.  Here is a summary of the problem I encountered earlier, and the fix applied.    During the dist-upgrade:   rub-pc  Error in function:  A fatal error occurred  Please report this as a bug and include the files  /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in  your report. The upgrade has aborted.  Your original sources.list was saved in  /etc/apt/sources.list.distUpgrade.  SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)  Could not install the upgrades  The upgrade has aborted. Your system could be in an unusable state. A  recovery will run now (dpkg --configure -a).  Please report this bug in a browser at  http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebu...  and attach the files in /var/log/dist-upgrade/ to the bug report.  installArchives() failed  Setting up grub-pc (2.02~beta2-9ubuntu1) ...  Replacing config file /etc/default/grub with new version  Installing for i386-pc platform.  Installation finished. No error reported.  Generating grub configuration file ...  /etc/grub.d/06_OVHkernel: line 6: /usr/lib/grub/update-grub_lib: No such file or directory  dpkg: error processing package grub-pc (--configure):  subprocess installed post-installation script returned error exit status 1  Errors were encountered while processing:  grub-pc Upgrade complete  The upgrade has completed but there were errors during the upgrade  process.  To continue please press [ENTER]   I tried configuring manually:   # dpkg --configure -a  Setting up grub-pc (2.02~beta2-9ubuntu1) ...  Replacing config file /etc/default/grub with new version  Installing for i386-pc platform.  Installation finished. No error reported.  Generating grub configuration file ...  /etc/grub.d/06_OVHkernel: line 6: /usr/lib/grub/update-grub_lib: No such file or directory  dpkg: error processing package grub-pc (--configure):  subprocess installed post-installation script returned error exit status 1  Errors were encountered while processing:  grub-pc   I finally found and posted the solution here:         Edit the file /etc/grub.d/06_OVHkernel   and replace update-grub_lib with grub-mkconfig_lib.     then tried reconfiguring again, this time successfully:    # sudo dpkg --configure -a  Setting up grub-pc (2.02~beta2-9ubuntu1) ...  Replacing config file /etc/default/grub with new version  Installing for i386-pc platform.  Installation finished. No error reported.  Generating grub configuration file ...  Found linux image: /boot/bzImage-2.6.38.2-grsec-xxxx-grs-ipv6-64  No volume groups found  done   /etc/default/grub has changed during the upgrade but I dont' know how it affects grub:   -GRUB_CMDLINE_LINUX_DEFAULT=""  +GRUB_CMDLINE_LINUX_DEFAULT="nomdmonddf nomdmonisw"   -GRUB_DISABLE_LINUX_UUID=true +#GRUB_DISABLE_LINUX_UUID=true     I couldn't find the documention for the values in that file.   So, what should I now check to ensure that the system is ready for a successful reboot?


Acceptance rates for Metropolis-Hastings with uniform candidate distribution

When running the Metropolis-Hastings algorithm with uniform candidate distributions, what is the rationale of having acceptance rates around 20%?   My thinking is: once the true (or close to true) parameter values are discovered, then no new set of candidate parameter values from the same uniform interval would increase the value of the likelihood function. Therefore, the more iterations I run, the lower the acceptance rates I should get.   Where am I wrong in this thinking? Many thanks!  Here is the illustration of my calculations:  $$Acceptance\_rate =  \exp \{l(\theta_c|y) + \log(p(\theta_c)) - [l(\theta^*|y) + \log(p(\theta^*) ]\},$$  where $l$ is the log-likelihood.  As $\theta$ candidates are always taken from the same uniform interval,  $$p(\theta_c) = p(\theta^*).$$  Therefore acceptance rate calculation shrinks down to:  $$Acceptance\_rate = \exp \{l(\theta_c | y) - [l(\theta^* | y) ]\}$$  The acceptance rule of $\theta_c$ is then as follows:  If $U \le Acceptance\_rate $, where $U$ is draw from uniform distribution in interval $[0,1]$, then  $$\theta^* = \theta_c,$$  else draw $\theta_c$ from uniform distribution in interval $[\theta_{min}, \theta_{max}]$


Dealing with MVC forms authentication expiration during ajax request

In my MVC3 application there are a couple of situations where I a display a splash screen dynamically load a partial view via jQuery's ajax methods and injecting html into the DOM.  The thing is if authentication expires and then a user initiates an ajax call, the action being called redirects to the log in page, so the html for the log in page is returned and is injected into the DOM, which is obviously going to be extremely confusing for the user.  How do people normally deal with this situation? I imagine it is common as forms auth and ajax requests for html are something that I do a lot.


$ 2.28319 = 0 $ !? - How do I spot the mistake?

I am given $ f(t) = e^{\sin(t)} $ and $ F(x) = \int\limits_{0}^{x} f(t) dt $ and have to compute: $\int\limits_{-0.5  \pi}^{0.5 \pi} \sin(x) F(\cos(x)) dx  $  How do I go about this problem?   Thus far I got: $ I :=\int\limits_{-0.5  \pi}^{0.5 \pi} \sin(x) F(\cos(x)) dx = -\int\limits_{-1}^{1} F(u) du $ $ \ \ \ $(*)  And: $$ \int\limits_{-0.5  \pi}^{0.5 \pi} \sin(x) F(\cos(x)) = -cos(x) F(cos(x)) - \int\limits_{-0.5  \pi}^{0.5 \pi} \sin(x) F'(\cos(x)) \cos(x) dx = 0 + \int\limits_{-1}^{1} F'(u)u du = [F(u)u]_{-1}^{1} - \int\limits_{-1}^{1} F(u)du = 2.28319 + I  $$  Remembering (*) I get: $$  2.28319 = 0$$, which cannot be.   I am have run my calculations down from top to bottom and up again and seem not able to find the mistake. I would be very happy, if someone could point it point it out in the comments.


How did Neil save the Protagonist at the Opera? Was the inverted bullet there already if we see it from the Protagonist's perspective?

I recently watched Tenet. And I have lots of questions and one of them is that. If we see from the Protagonist's perspective, he was going to disarm/collect the bomb at staircase in the opera house, and is stopped by some armed man. Then we see a hole in the wall/seat getting filled up by concrete remains, and then we see Neil firing a shot. I understand that it was inverted Neil who actually fired a shot (if seen from his perspective) but when we see it from the viewer/Protagonist's perspective, we see bullet going in the gun that Neil is holding. So strictly from the viewer's/Protagonist's perspective, who put the bullet in the wall/hole at the first place. Imagine if I was one of the persons sitting there at the opera, I must have not seen any hole at the wall because it was not there before shooting started, then at the time Neil fired that shot, that bullet hole must be there for it to work. So how did it work from the viewer/Protagonist's perspective? Sorry if I sound confusing and for my bad English as it's not my first language.


Prove limit converges in definition of $e.$

I've looked up several related questions, but they do not answer what I am looking for.  Please give link if this is a duplicate.  What I eventually want to know is why  $$\lim_{n\to\infty}\left(1+\frac1n\right)^n$$  converges to a finite value.  I mean, we have to know that the limit converges before we can call it a constant, right?  I know that $f(n)=\left(1+\dfrac1n\right)^n$ is strictly increasing, but how do we know it is bounded above?  Also, I tried using the binomial theorem to write  $$\lim_{n\to\infty}\left(1+\frac1n\right)^n=\lim_{n\to\infty}\left[\sum_{k=0}^n\frac{n!}{n^k k! (n-k)!}\right],\tag{1}$$  but I am unsure how to prove that the sum converges for $n\to\infty,$ because the general term depends on both $n$ and $k.$    Here is what I think will work.  Let $a_{n,k}=\dfrac{n!}{n^k k! (n-k)!}.$  Then $a_{n+1,k+1}=\dfrac{(n+1)!}{(n+1)^{k+1} (k+1)! (n-k)!}.$  Using the Ratio Test, we get  $$\lim_{n\to\infty\atop k\to\infty}\left|\frac{a_{n+1,k+1}}{a_{n,k}}\right|=\lim_{n\to\infty\atop k\to\infty}\left[\frac{1}{k+1}\left(\frac{n}{n+1}\right)^k\right].$$  where the limit on the RHS is less than 1.    That may take care of the case where $n\in\mathbb{N},$ so I suppose that (1) can be generalized using "."


Prove ${{n+1} \choose {m+1}} = \sum_{k=m}^{n}{k \choose m}$ using a   purely combinatorial argument.   I don't think I understand how to do a combinatorial proof. I know the left side expands to:  $${{n+1} \choose {m+1}} = \frac{(n+1)!}{(m+1)!(n+1-m-1)!} = \frac{(n+1)!}{(m+1)!(n-m)!}$$  For the right side:  $$\sum_{k=m}^{n}{k \choose m} = {{k+1} \choose {m+1}} = \frac{(k+1)!}{(m+1)!(k+1-m-1)!} = \frac{(k+1)!}{(m+1)!(k-m)!}$$  Which is similar to what I got on the top.  Where do I go from here?


finding elements in an array which have greater indicies but less value in an array

I want to find count of elements in an array which have the following two conditions:   1 <= i < j <= n a[i] > a[j]   Im using the following code but i need a faster one any advice?  for(int i=0; i<n; i++){     for (int j=i+1; j<n; ++j){         if (a[j] < a[i])             ans++;     } }


There is a great need for a Robust DateTime parser library for .NET, prefer C# DateTime.TryParse supports very few formats I know the question has been asked a year ago but with no good answer. There must be good libs out there! Commercial or open source  I looked at . But blog says it does not do parsing yet  Dates fall into two categories:  Date formats:   All the various date formats   2011-09-09T20:00:00 29 September 2011 6 September 2011  7:00pm 1/1/2009, 12:00PM   Natural Dates:  How a Human would say/write it   Today Tomorrrow Mondays, 6PM Every Monday, 6PM Every Friday First Monday of every month Last Sunday of the month Everyday 1st of the Month


Is it safe to travel to Istanbul/Turkey in the summer of 2016?

After these number of explosions in different cities in Turkey, including an explosion at the heart of Istanbul’s old city, an area visited by up to 14 million tourists each year. Is it still safe to travel to Istanbul ? As for me, I've already bought my plane ticket for my next visit (in summer 2016), and I'm looking forward to it. but now, I became really worried and confused. Should I just forget all these explosions and travel or should I cancel my ticket and seeking another place to travel ?


macOS forgets login screen keyboard setting, falls back to US English

My keyboard setting is German. After restart the login screen keyboard setting is always US English.  How can I permanently change the keyboard to German, also for login after restart?


solution of $y' = \exp \left(-\frac yx\right) + \frac yx$

Could you help me to solve equation  $$y' = \exp \left(-\frac yx\right) + \frac yx;\quad y(e) = 0$$  I know how to solve 1st order linear de like $y' = \exp \bigl(-\frac 1x\bigr) + \frac yx$ but here I have the dependent variable in the part that usually (in my practice) was free of it.


What folder are Google Podcasts downloads stored in?

I want to pull some podcast downloads off my phone, and put them on my computer.  I have plugged my phone into my computer's USB port.  What folder can I find my Google Podcast downloads in?  My computer is showing a lot of folders with cryptic names :-(.  I am looking in my computer's file manager, "Nokia 6.1" -> "Internal shared storage".  I do not have an SD card in my phone.    My computer runs GNOME.  I have connected to the phone using USB (MTP) before, and it worked great.  That was for some different files though :-).  Phone version:   Device name: Nokia 6.1 Model & Hardware: TA-1050 Android version: 9 Security patch level: 1 October 2019 Kernel version: 4.4.153-perf+ Build number: 00WW_3_54H_SP03   I bought the phone as new, and I have not rooted it.


How do I upgrade my iPhone 4 to run iOS 9.0? Can this be done without a computer? I need it to download Facebook, YouTube and WhatsApp.


What could I use to read epub books on OS X?

I would prefer a good and free solution for reading epub books on OS X.   It looks that by default OS X is not able to open epub books.


Why do planets move in elliptical orbits around the sun?

According to Kepler's laws, planets move in elliptical orbits around the sun. But why? What is the proof? Can we rigorously proof that planets move in elliptical orbits by deriving the equation of trajectory of a planet? Can we derive the equation of trajectory of a planet? I do not want an intuitive proof but a rigorous proof with the equation of trajectory of a planet which probably would be equation of an ellipse.


How to submit a picture with 12mp and 300dpi to a contest?

I was wondering how can I make an image stay 12mp and 300dpi. I want to participate in a contest about street photography but their requirements are that the image must be 12mp and 300dpi. I'm new to photography and I'm confused about the dpi and the image resolution at 12mp. Also if its okay to shoot at RAW for this case? And would I be able to edit in lightroom the image? I'm using a canon t5i rebel efs 30-135mm.   Thanks guys! Appreciate all the tips and advices.


I have Windows 10 on my laptop, i decided that i would like to dual-boot it with ubuntu (this was my first time installing ubuntu onto any device/ or any linux-based system).  Made my USB Bootable, went through the installation process choose the option to dual-boot, everything seemed to be fine, my pc restarted to finish installation (after it went off I took out my usb) then it booted directly to windows, so I shut down my computer pressed f12, and I just saw the windows boot manager in the options, the I did the same thing with my usb plugged on, and now I see the windows boot manager, the usb for installing ubuntu, and an unknown device(that was grub btw) after looking for a few fixes couldn't get anything to repair that, figured out that i just installed grub into the usb, i gave up and deleted the partition that had ubuntu.  Now it's where my problems really started, i had no sound, my drivers were perfect it detected the speakers and everything but it simply didn't play sound couldn't play test tone, same thing for audio input, and camera, also i am unable to go into services.msc, now chrome closes itself from time to time, i cannot use the reset option nor update, it's a nightmare.  Then i reinstalled Ubuntu to test if it would have problems too, it was perfect actually it had sound input/output, it would detect my camera everything was fine except that i couldn't get grub to boot first.  Then i tried everything, boot-repair, moving partitions, literally everything that a normal user could do so i just uninstalled ubuntu again to see if ubuntu was "sucking the periphericals or something" and im still without clue to what to do.  Right now i just want my W10 back to normal, i won't be trying to install ubuntu again until i have some partition knowledge, so if someone could help me out to get my windows back to normal it would be great.  EDIT 1:   When i tried to open the setup for windows 10 this happens:   thing pops up for a few minutes everything fine  then  and that's it


How do i use superscript without using math mode?  I want to write 2 m^{2} (2 squaremeters).  When i use the command m^{2} I get the following error: "Command \ae invalid in mode"   I'm writing my thesis in danish, and have a lot of danish references. Writing the danish letter Æ is only possible using the \ae command in citations.   \documentclass[.....]{memoir}  \begin{document}   \end{document}


How to set Maximum Password Expiry in OpenLDAP Linux

I am trying to find how to change some password policy settings in OpenLDAP (on a system-wide level, not on a per user level) such that all LDAP account users (i.e., existing and new users) have their passwords to expire after 90 days.  I know the main parameter that controls this is the maxPasswdAge parameter but I am not sure how to set this. I have tried different ldapmodify options  but it fails:  ldapmodify -W -x -D "cn=Manager,dc=mydomain,dc=local" -f test.ldif   dn: cn=pwdpolicyentry,cn=common,cn=products,cn=OracleContext,o=my_company,dc=com changetype: modify replace: pwdMaxAge pwdMaxAge: 7776000   The error message was ..  modifying entry "cn=pwdpoilicyentry,cn=common,cn=products,cn=Oraclecontext,dc=mydomain,dc=com" ldapmodify :no such object(32)  matched DN: dc=mydomain,dc=com    My questions are   Are there any alternatives to doing this, for example: just change a setting manually somewhere in some configuration file and restart the LDAP server.  Are there any services that need to be bounced once this is done?


I cannot install this tablet - the instructions are all too complicated.  If anyone has time could they please write step by step instructions for someone like me who is just learning.  Thanks.


I am taking my first dive into testing a mobile app.  It will be available to iOS and Android.  I've been searching for a way to test and automate iOS without having an actual iPhone or any other Mac device.  We run Windows here at the office.  I was looking to use iPhone emulators but it doesn't seem possible.  I saw Appium Studio/SeeTest but it seems even that requires iTunes and a real device.  I know you can set up a Mac vm on a Windows machine but are there any other ways to test iPhone without having to do this?


Code plagiarism by teacher at renowned university

As a post-graduate student at a renowned university, I am supposed to make an assignment (see attached images) which is obviously inspired on  licensed scikit tutorial.  Since the assignment (code) instructions are identical to the licensed code, I have two questions:   Is the scientific integrity of the teacher challenged by posing this question? Should I report this at the university's fraud office?    In the assignment is no reference or citation included.


How can an uneducated but rational person differentiate between science and religion?

I recently found myself unable to respond to the statement "But the big bang theory is just another creation myth!" during a science vs. religion argument. I found it very difficult to explain the difference between the big bang theory and creation myths without going through a crash course in Newtonian and then Relativistic mechanics.   This had me thinking of the following scenario: Consider a person who for various reasons never got a formal education beyond basic reading and writing. He/She doesn't know any science or math, and was never exposed to any scientific reasoning and experiments. She/He is however an open minded, level headed, and rational person (I've met more than one such person myself).   How would such a person differentiate science from religion? As far as he/she is concerned science has the exact same structure as religion:    A hard to understand scripture: Science treatises and journal papers.  An ordained clergy with a high entry barrier: Doctors, professors, scientists, etc... Seemingly arbitrary injunctions against certain behaviors: "Don't smoke", "Don't pollute",.... Various metaphysical (from his/her perspective) claims about the world around us: The big bang, other galaxies, blackholes, quarks,... Organizations which control and oversee doctrine: The FDA, The NIH, The NFS,...   From his/her perspective, all of these characteristics are no different than the way organized religion presents itself as being the source of truths about the world.   In particular if such a person were to heed the advice of the :         Do not go upon what has been acquired by repeated hearing (anussava),   nor upon tradition (paramparā),   nor upon rumor (itikirā),   nor upon what is in a scripture (piṭaka-sampadāna)   nor upon surmise (takka-hetu),   nor upon an axiom (naya-hetu),   nor upon specious reasoning (ākāra-parivitakka),   nor upon a bias towards a notion that has been pondered over (diṭṭhi-nijjhān-akkh-antiyā),   nor upon another's seeming ability (bhabba-rūpatāya),   nor upon the consideration, The monk is our teacher (samaṇo no garū) Kalamas, when you yourselves know: "These things are good; these   things are not blamable; these things are praised by the wise;   undertaken and observed, these things lead to benefit and happiness,"   enter on and abide in them.'      Following the Buddha's advice (ironically himself a religious figure), such a rational but uneducated person would have just as much reason to doubt the various results of scientists as to doubt the dogmas of organized religion.    How would it be possible for such a person to distinguish scientific facts from religious dogma?  How can we convince such a person of the validity of ideas like those of modern cosmology or evolutionary biology, without first having to teach them enough biology and physics to understand those concepts?


View files on PC from iphone backup without itunes?

I need to view files from an old backup that i put a password on but cant for the life of remember the password. Is there anyway i can view these files on PC? I need text msgs and emails that where on the phone at time of backup.


Barbarian captured by more advanced humans, physically enhanced, returned to people for a mission?

Plot Summary/Details  I am a little fuzzy on some of the details on this story, including whether it was a short story or full-length novella.  What I do remember is that the protagonist is an adult male.  He hails from a nearby village, in a society or world that is rather primitive, and technologically backwards.  I recall the man being rather superstitious and/or fearful of certain taboos as well.  IIRC, one of his fears is the mountain or large hill he is currently hunting on - something about legends about the place or the like.  As it turns out, there is something more to the hill than first appears.  The man either stumbles upon, or is captured by, a group of people operating in a hidden base inside the hill.  I remember these people as being human like the protagonist, but much more advanced.  The protagonist may or may not be the first to be captured, but he comes the object of their intentions.  The man is physically augmented by his captors.  His muscle mass and density are chemically enhanced.  The vulnerable points of his body are protected with surgically-implanted plastic sheaths.   He is trained in all manner of combat skills.   The protagonist is also educated by the advanced humans, taught science and medicine and other disciplines.    When the physical and educational training is complete, the protagonist is tasked with carrying out a mission among his own people.  I cannot for the life of me remember what it is he was supposed to do, but it sticks in my mind it is a benevolent one.  The protagonist is released from the secret base and returns to his people.  It's possible the physical augmentation has made him unrecognizable as his former self, and may be initially seen as a stranger.   I do not recall much more of the story, except for the climax.  The protagonist is faced off against another man, who is (IIRC) both the local chieftain/ruler, and a former friend of the protagonists.  The two face off in a dueling circle, where the two must fight, and none are allowed to interfere.  The fight is not necessarily to the death, as best as I can recall.     In the course of the fight, the protagonist accidentally shatters the Adam's Apple of the chieftain, causing him to collapse and begin to choke to death.  The protagonist grabs a dagger and leaps on the fallen chieftain.  The other tribesmen, realizing the chieftain is doomed, and seeing the protagonist's actions as cruel and unnecessary, leap on the protagonist to stop him.  The protagonist is able to throw them off (several times) long enough to cut a hole in the chieftain's trachea.  He blows into it several times, in order to get the ruler breathing again.  The story closes with the very much alive chieftain, now with a breathing tube installed, thanking the protagonist for saving his life.  I do not recall what the protagonist does then (i.e. I don't know if he stays among his people, or if he returns to the camp with the advanced humans).  Publication Timeframe  No idea really when it was published.  I read it in the 1980s, so no later than that.  Possibly quite a bit earlier.


I've been trying to solve explicitly the following indefinite integral:  $$\int\frac{dx}{x(x+1)(x+2)\cdot\space...\space\cdot(x+n)}$$  I tried to perform partial fraction decomposition, and after substituting some natural n's, I figured the Binomial Theorem might help here, but I couldn't figure out how to use it.   Thank you and have a good day/night!


Not able to get the local scope values from my if statements to my print statments Java

I am reading from a txt file the names, price and quantity of 3 peoples sales. (Emma, 3, 13) So I need to multiply the quantity and price to a variable. However, the names appear more than once. I am trying to separate the values based on the names, multiply and then have a variable being incremented by the 'total value' and print the total values at the end with the name. I think my problem is the values from my if statements are local and so it isn't coming outside of the function and I'm having trouble printing it. Sorry if this seems like a stupid question but I'm really not sure how to fix it! Any help would be amazing, thank you! This is my code: public static void main(String[] args)  throws FileNotFoundException {     String name;     int value = 0;     int quantity = 0;     int price = 0;     int eValue = 0;     int sValue = 0;     int oValue = 0;          File file = new File(".\\src\\oosd2\\pay.txt");     Scanner sc = new Scanner(file);     System.out.println("Income");     while (sc.hasNext()){         String[] split = sc.nextLine().split(" ");         name = split[0];         if (name == "Emma"){             price = Integer.parseInt(split[1]);             quantity = Integer.parseInt(split[2]);             value = price * quantity;             eValue += value;         }         if (name == "Sofia"){             price = Integer.parseInt(split[1]);             quantity = Integer.parseInt(split[2]);             value = price * quantity;             sValue += value;         }                  if (name == "Olivia"){         price = Integer.parseInt(split[1]);         quantity = Integer.parseInt(split[2]);         value = price * quantity;         oValue += value;         }     }     System.out.println("Emma: $" + eValue);     System.out.println("Sofia: $" + sValue);     System.out.println("Olivia: $" + oValue); }


Can a noun work as an adjective, and the adjective as a noun?

Hazel Eyes  I found the following paragraph in the , containing the two words “hazel eyes”:     Hazel eyes are fascinating to gaze into. When you look at someone who has hazel eyes, you see colors that are completely different than other eye colors, such as crystal blue or emerald green.      —   I also found some text on another site that says:      Her eyes are hazel.   Hazel is a noun that denotes a colour; how can hazel modify the noun eyes if hazel is also a noun itself? Doesn’t a word always have to be an adjective to modify a noun? Isn’t that what “adjective” means by its very definition: a word that modifies a noun? How can something modify a noun without being an adjective? Is that even possible?  The  I found on the online Oxford Living Dictionaries website doesn’t mention that hazel can ever be adjective; it mentions only that it is a noun:     hazel      ɴᴏᴜɴ         A temperate shrub or small tree with broad leaves, bearing prominent male catkins in spring and round hard-shelled edible nuts in autumn.      Genus Corylus, family Betulaceae: several species, in particular the common Eurasian hazel (C. avellana)   [mass noun] A reddish-brown or greenish-brown colour, especially of a person’s eyes.      [as modifier] ‘the laughing hazel eyes were serious now’         —   How can this be grammatical?     Her eyes (noun) are hazel (noun)?   And also, if you accept that a noun can work as an adjective, then, can adjective work as a noun?


I recently wrote my very first trigger and I'm looking to deploy to production. Before deploying I need help with writing test code but I don't know what I'm doing. Basically i want to test my trigger but I don't know how to write test cold.  the goal is to enter a date in the opportunity object field titled: Initial Field Visit Completed.  I have copied the trigger below and if you guys can provide suggestions that would be greatly appreciated.  trigger FieldVisitCompleted on Opportunity (after insert,after update) { Set <Id> oppIds = new Set<Id>();  List<Lead_Source__c> ls= new List<Lead_Source__c>();      for (Opportunity parentObj : Trigger.new)     {       oppIds.add(parentObj.Id);     }      Map<Id, Lead_Source__c> parentObjList = new Map<Id, Lead_Source__c>([Select Id,Effort__c,Initial_Field_Visit__c FROM Lead_Source__c WHERE Effort__c IN :oppIds]);             for (Lead_Source__c lsrc : parentObjList.values()) {                    System.debug('lead source'+lsrc);                    Opportunity opp = Trigger.newMap.get(lsrc.Effort__c);                    Opportunity o = Trigger.oldMap.get(lsrc.Effort__c);                    System.debug('opp field'+opp.Initial_Field_Visit_Completed__c);                    System.debug('opp field'+ o.Initial_Field_Visit_Completed__c);                 if(opp.Initial_Field_Visit_Completed__c != o.Initial_Field_Visit_Completed__c){                     lsrc.Initial_Field_Visit__c = opp.Initial_Field_Visit_Completed__c;                    System.debug('lsrc field'+lsrc.Initial_Field_Visit__c);                    ls.add(lsrc);                 }              }       if(!ls.isEmpty()){          update ls;      } }   Here is what I have so far for test code  @isTest  public class FieldVisitTestClass {        static testMethod void myTest() {           Opportunity opp = new Opportunity();           opp.name = 'Michael Jordan';           opp.AccountId = opp.Id;       } }   Looking for some direction as to where to go from here.


Make WordPress WYSIWYG not strip out iframe's

I have a blog that I often need to insert iframes into posts for various reasons (don't ask why just trust me!)  When I use the "visual" view to edit my posts the WYSIWYG constatantly strips out my iframes ...  I know I can keep the iframes in the post if I use the "html" view and only view/save from the "html" view ... however I'd really like to be able to use the normal WYSIWYG  to edit my post without having to resort to the "html" view.  Is there anything I can do to disable this behavior? I've seen , that suggests editing wp-includes/js/tinymce/tiny_mce_config.php, but I'd really rather avoid doing something like that that would likely just break in a upgrade!


Deriving the joint probability density function from a given marginal density function and conditional density function

We have a multivariate normal vector $\mathbf{X} \sim \mathcal{N}(\boldsymbol{\mu}, \boldsymbol{\Sigma})$, where $\mathbf{X} =  \left[ \begin{matrix} X_1 \\ X_2 \\ \dot\\\\ \dot\\\\ X_n \end{matrix} \right]$,    $\boldsymbol{\mu} =  \left[ \begin{matrix} \mu_1 \\ \mu_2 \\ \dot\\\\ \dot\\\\ \mu_n \end{matrix} \right]$, and  $\boldsymbol{\Sigma} =  \begin{bmatrix} \sigma_1^2 & \sigma_1\sigma_2 & \dots & \sigma_1\sigma_n   \\ \sigma_2\sigma_1 & \sigma_2^2 & \dots & \sigma_2\sigma_n  \\ \dot\\\\ \dot\\\\ \sigma_n\sigma_1 & \sigma_n\sigma_2  & \dots & \sigma_n^2 \end{bmatrix} $ is the covariance matrix.  Y is a random scalar of the form $Y = \beta_0 + \boldsymbol{\beta^TX} + \epsilon$, where $\epsilon \sim \mathcal{N}(0, \sigma_\epsilon^2)$  How can we go about deriving the joint probability density function(pdf) of the random vector $(Y, \boldsymbol{X^T})$?  The marginal multivariate pdf of $\boldsymbol{X}$ is given by  $ pdf(\boldsymbol{x}) = \frac{1}{\sqrt{(2\pi})^n. \begin{vmatrix} \boldsymbol{\Sigma} \end{vmatrix}}.exp\left[ \frac{-1}{2}\boldsymbol{(x-\mu)}^T \boldsymbol{\Sigma^{-1}}\boldsymbol{(x-\mu)} \right]$  The conditional probability density function of $Y \,\mid \, \boldsymbol{X=x}$ is given by  $pdf(y\mid \boldsymbol{X=x}) = \frac{1}{2\pi\sigma_\epsilon}.exp\left[  \frac{-1}{2\sigma_\epsilon^2}(y - \beta_0 - \boldsymbol{\beta^Tx})^2  \right]   $  To compute the joint probability density function, we can use the fact that   $pdf(y, \boldsymbol{x})=  pdf(y\mid \boldsymbol{X=x}).pdf(\boldsymbol{x})$  I am unable to do the witty manipulation required in the algebra to arrive at the result the joint distribution will have a probability density function of a normal distribution. All questions previously asked seem to address the problem of deriving the conditional density function given the joint probability density function, for example,   Edit:  Multiplying the pdfs, we get $pdf(y, \boldsymbol{x}) = \frac{1}{\sqrt{(2\pi})^n. \begin{vmatrix} \boldsymbol{\Sigma} \end{vmatrix}}. \frac{1}{2\pi\sigma_\epsilon}.exp\left[ \frac{-1}{2}\boldsymbol{(x-\mu)}^T \boldsymbol{\Sigma^{-1}}\boldsymbol{(x-\mu)} + \frac{-1}{2\sigma_\epsilon^2}(y - \beta_0 - \boldsymbol{\beta^Tx})^2 \right]$   Like the comment below mentions, most manipulations dealing with normal pdfs involve completing squares; but since this specific algebraic expression contains $\boldsymbol{x}$ in both terms within the exp term, I'm unsure on how to go about completing the squares.


I have encountered a statement in Lang's Algebra (Revised Third Edition, page 53) concerning morphisms of objects that seems strange to me: "In practice, in this book we shall see that most of our morphisms are actually mappings, or closely related to mappings."  I have always been under the impression that the terms 'mapping' and 'morphism' are synonymous in the context of categories. Perhaps it is just the case that Lang defines the two in a way that they disagree, but I can't find such an instance. Are they in fact different? If so, what is an example of a morphism that is not a mapping?


I am trying to render out an image of a character I made, but when I render it, it acts like there is no light of any sort in the scene, I have tried the different lamps, turning on and off ambient occlusion, and emission planes, but none have worked. edit (It's not blank, the model is just black the background is still the right color.)


I'm trying to render a scene in Blender, and as of yesterday (it was not doing this when I was working on it 2-3 days ago), I am seeing orange squares dancing around the rendered image. Google tells me that these are render tiles (I think), but what are they, why are they there, and how do I get rid of them?


Let A be an invertible matrix. How to prove $\det (A^{-1}) = \frac{1}{\det A}$ without using the property that $\det (AA^{-1})=\det (A) \det(A^{-1})$? Thanks. I think $\det (A^{-1}) = \frac{1}{\det A}$ holds even without this property, given A is invertible.


Do we have binary dividers cicuit on cisc computer?

Just like we have binary multipler circuit in cisc computer so do we have binary divider circuit in cisc computer? Or it is just like we use algothrims instead of having a real divider circuit? (Just like risc don't have multiplier circuit so it use adders circuit instead of multiplier circuit).


Difficulty choosing between "would" and "will" in a seemingly real conditional sentence

The following question is intended to be an example of a real conditional sentence ( first conditional)--not hypothetical. I would like to know whether to use "will" or "would" in this question:  If a naive person falls victim to a trickster, would/will you blame the person for being naive or the trickster for being a criminal?  As far as I understand, I should use "will," as "would" is only used for hypothetical situations. But, since my intention is not to talk about something that will happen in the future but something that is a possibility and can happen at any given time,  I think that "will" is not the best choice in the example sentence above, is it?  Or should I use "would" instead?


Something blocks Ctrl+Alt+left/right-arrow keyboard combination

In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+← or Ctrl+Alt+→ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do however work.   .  The strange thing is that the system detects the keyboard combinations when assigning a key, but not when trying to use them. As a result the keyboard combinations don't work in any other programs either.


How do I resolve a GRUB: “invalid arch independent ELF magic” error?

I am stuck with a rather irritating problem I ran into after installing 11.10 on my macbook pro 5,5.  I did a clean install efi booting into the setup using the desktop cd. Upon the first reboot I was presented with the "invalid arch independent ELF magic" and grubs rescue console.  I have read  but the solution is no solution for me since installing grub via live cd only means installing the mbr version and I can't seem to find any manual on how to install grub-efi while booted into the live cd.  So my question is: How can I either edit the grubx64.efi file in my EFI Partition, reinstall grub-efi with a live CD / DVD or use grub rescue commands to fix this issue?


Is it common for a published paper to have some small mistakes?

I submitted a paper for publication several days ago. This was a resubmission after I had responded to the critique from the reviewers for my first draft. However, while I was looking at my data again, I saw that there was a section where my data points increased between phases, but I had written that they decreased. What's more, I had qualified why it made sense for the values to decrease, according to literature, so it's possible that the data I acquired was flawed. The reviewers had not marked this, and I had missed it upon reading through everything. Apart from this, there is a missing comma and a missing word at another spot in the paper. What I'm wondering is, is this a common occurence? And would it harm my credibility as an author/chances of getting published?


How do I perform a GROUP BY on an aliased column in MS-SQL Server?

I'm trying to perform a group by action on an aliased column (example below) but can't determine the proper syntax.  SELECT       LastName + ', ' + FirstName AS 'FullName' FROM         customers GROUP BY     'FullName'   What is the correct syntax?   EDIT  Extending the question further (I had not expected the answers I had received) would the solution still apply for a CASEed aliased column?  SELECT            CASE         WHEN LastName IS NULL THEN FirstName         WHEN LastName IS NOT NULL THEN LastName + ', ' + FirstName     END AS 'FullName' FROM         customers GROUP BY          LastName, FirstName   And the answer is yes it does still apply.


Excel: identifying if all values in a row are not equal

I am comparing setting files between devices and have loaded all the settings into an excel sheet.  I want to see if any setting is deviating between the devices.  Example:  Setting1: ok   ok  ok  ok  ok  Setting2: 100  100 104 104 103  Setting3: no  yes  no  yes  yes   Setting4: 30  30  30  30  30  Now i want line 2 and 3 to be highlighted because  the values are not equal on those rows. How to do that? I tried a conditional formatting with "A1=B1=C1=D1" should be green, but that did not work


Delete multiple images at once from a node

I'm having an image field with option set as UNLIMITED to accept infinite images, basically deleting images in single manner is possible, but how it can be possible to delete multiple images at once from a particular node?  I've tried it by applying some logics using Views Bulk Operations and also using Editable Views, but nothing worked for me.  Any suggestion on this?


I was watching a tutorial on making a cup, (link in comment) and towards the end, he says make Clamp 0.98 in order to remove white spots on the image.  I added 0.99 to Clamp Direct (2.78c) and I still get the white spots on the image, and no clean cup and bottom on render. The image looks like this,      while his image looks like this     What am I doing wrong?  Screenshot of my settings in the comment.


Please prove that $$e^x - x$$ is always bigger than or equal to 1


is there free OS X equivalent to Total Commander?

is there free equivalent to Total Commander for OSX?   two panels drag & drop  tabs etc ect   I found DoubleCommander the best but OSX port has its bugs. muCommander is nice too but not as good as DoubleCommnader.


First english is not my first language. If you need something explained more just ask.   What I want to do, is make a class that extends the use of an enum. Say you have   enum Color  { red,   green,    blue };   I want to make a class, so I can make an object like   CustomEnum myEnum("red",                    "green",                    "blue",                    "The house is red",                    "The tree is green",                    "The car is blue");   This way, I could call something like  myEnum.getString(red);   With a custom function, it would return the mapped value of "The house is red". However I have many many more functions I want to write, and have many enum's.   CustomEnum mySecondEnum("pizza",                    "soup",                    "eggs",                    "burger",                    "The pizza is hot",                    "The soup has gone cold",                    "The eggs are bad",                   "The burger has cheese");   Notice the two enum's have different sizes, but CustomEnum does not care.   I have done lots of googling and came up with either this cannot be done (because enums are made at compile), or I am googling the wrong things. at this point I want to confirm that this cannot be done or if someone can point me in the right direction.


I was reading a closed question that proposed different rulings on Disarm, and it leads me to ask a proper question about the disarming abilities in 5th Edition.  The Battle Master maneuver Disarming Strike is among the best example, but in all instances; when you succeed at disarming someone the weapon simply drops to the target's feet.  Is this redundant in that the same creature can then JUST bend over and pick it up again when it's their turn, as a free object interaction, that costs them nothing in the grand scheme of the combat action economy?  Or is there something I am missing in how this can be effective in combat as opposed to just a slight annoyance?  I understand it MIGHT potentially rob them of opportunity or reaction attacks until they can pick up the weapon, provided it's the only weapon they have to make such attacks with; but there must be more to it, yes?


I got date as String in format yyyy-MM-dd  and converted to  dd-mmm-yyyy.  Now I need to add one day to my date.Because in my SQL when I am selecting data in between some dates like 27-aug-2017 to 29-aug-2017,it is showing values only for 27 and 28-aug-2017 and not for 29-aug-2017.So I need to add one day so I will get data for 29-aug-2017.  String dateto=request.getParameter("dateto");                 Date date1=null;                 try {                     date1 = format1.parse(dateto);                     temp1 = format2.format(date1);                     System.out.println(temp1);                 } catch (ParseException e) {                     // TODO Auto-generated catch block                     e.printStackTrace();                 }   My sql query  PreparedStatement psmt1=conn.prepareStatement("select * from deposit2_groupc_tja05 where Account_id =? and Transaction_Date between ? and ? order by Transaction_Date");


If $R$ is a local ring, is $R[[x]]$ (the ring of formal power series) also a local ring?

So, I was trying to find a counter-example that shows not every local ring's lattice of ideals is a chain. I think $F[[x_1,\cdots,x_n]]$ is a good counter-example but I'm not able to show that $F[[x_1,\cdots,x_n]]$ is a local ring. I read somewhere that $F[[x]]$ is indeed a local ring.  So here comes the question:  If $R$ is a local ring, what can we say about $R[[x]]$? Is it a local ring too?  I'm looking for a simple proof that doesn't use commutative algebra and localizations to show that. An elementary undergraduate level proof is appreciated.


Is there a MySQL function to pull data from multiple cells into one

I am trying to pull data from multiple cells into one. A device can be in multiple device groups and device groups can have multiple devices.  The first table looks as follows:    The second table looks as follows:    The output should look as follows:  DID | DGID 12  | 342,543,100,132 45  | 342,678,987,100   Could someone please assist me with this?


When building a LaTeX file (with Texstudio, if that's important) in addition to the .tex and .pdf files, there are also .aux, .log, and .synctex.gz created.  What do these extra files do?


How to pass an object with template function?

Doing my homework, got stuck on the template function part. I have the following main() in my .cpp file:  int main()  { Pair<char> letters('a', 'd'); cout << "\nThe first letter is: " << letters.getFirst(); cout << "\nThe second letter is: " << letters.getSecond();  cout << endl;  system("pause"); return 0; }   I need to use template to make the class exchageable, and here is what I have in the .h file:   template <class T> class Pair { private:       T letters; public:   T getFirst();   T getSecond(); };   now, in my VS, it says both getFrist() and getSecond() are not found. How am I supposed to pass T as a class in template?


Having trouble with getting bat file to work, does anyone know what is wrong with this bat file

@echo off cls echo Date format = %date% echo dd = %date:~0,2% echo mm = %date:~3,2% echo yyyy = %date:~6,4% echo. echo Time format = %time% echo hh = %time:~0,2% echo mm = %time:~3,2% echo ss = %time:~6,2% echo. set timestamp=%date:~6,4%-%date:~3,2%-%date:~0,2%-%time:~0,2%-%time:~3,2%-%time:~6,2% F:\XAMPP\mysql\bin\mysqldump.exe -u root -pABC123 database >"C:\Users\Administrator\Desktop\backups\database_file_%timestamp%.sql"  The bat file breaks when I add the timestamp variable. I have tried a few different things but I am unsure why adding the timestamp variable would break it.


Proving that $UT=TU$ iff $U=g(T)$ for some polynomial $g$

Let $T$ be a linear operator on a vector space $V$, which is a $T$-cyclic subspace of itself. How do I prove that $UT=TU$ iff $U=g(T)$ for some polynomial $g$?


I'm unable to delete some folder on my external hard disk. I tried them to delete in safe mode too but I'm not able to perform this. This is a big headache to me now. Even I'm the admin and it still needs the admin privileges to delete them. So how can I get rid of from this trouble?  Please help me!


Split layers by field QGIS version 3.2.3

I want to split a vector layer based on values in a specific field. In older versions I could use the plugins 'LayersbyField' or 'Split Vector Layer', but both seem not to be available anymore in version 3.2 of QGIS.  Are there quick and easy alternatives? I don't like to 'select' and 'save as' for every value, since that takes too much time.


How to explain your area of study to non-math people

I'm sorry in advance if here is not the suitable place to ask this question, and people can feel free to vote to close this if that's the case. However, since I'm not sure about this issue, I'll ask it in any way:  I was reading Hungerford's Algebra, and my friend working on food science saw the title "Fundamental Theorem of Galois Theory", and asked me what it's about. (Seeing the word "fundamental", he thought it should be a very basic, simple concept.) Then, I said something like "there are structures called groups, fields, and they have some special subsets called subgroup, subfields. In order to understand subfields, mathematicans makes a correspondence between subgroups of some associated group, which is easier to work with and better understood, compared to fields."   He said it made some sense, but I'm sure it was a terribly bad explanation. My question is how do people generally deal with this issue? Is this only my problem (which really might be the case), or is this a general problem with pure math people?  This issue really annoys me in the sense that, for example, when you consider some person working on food science, psychology, chemistry etc., they're generally able to tell roughly what they're trying to do. But, I'm always having very hard time when I'm asked the same question. I'm a PhD student now, and I plan on spending whole my life with mathematics. But, I'm afraid that, say in my 50 (if I live that much), if someone asks me what I did in my entire 50 years, and I fail to answer, that would be a shameful situation for me, I believe.  I tried my best to express my question in a good way, but still I'm sorry if it's not good enough, and don't hesitate to let me know if I should write some parts more clearly/explicitly.


How to make video calls with Skype on Ubuntu tablet m10 aquarius?

How would you make Skype video calls on Ubuntu tablet m10? And how does it work?


I am of the belief that Hell should be capitalized because real or not, it is the name of a place, and thus a proper noun. It should be capitalized correct? I have seen it written without capitalization plenty of times, but I suspect that most of those were just due to laziness or illiteracy (it tends to be written with a lower-case ‘h’ mostly on the Internet–sigh). Other uses, including expletives seem to use it as a place name as well:   What [in] the Hell‽  Go to Hell!    Google gives mixed results and checking the WikiPedia entry for  to get a proper definition does indicate that it is a location, but even on that same page, there are plenty of instances with a lower-case ‘h’. Is there a situation in which it would not be capitalized? What about uses as an adjective:  that job was Hell?


How can I get help with Stack Overflow addiction?

My Stack Overflow addiction is beginning to hurt productivity. Have you ever found yourself in this situation regarding some site? Any advice on how to deal with the problem?


My pc doesn't want to start saying:  /dev/mmcblk0p2p cointais a file system with errors, check forced. Inodes that were part of a corrupted orphan linked list found.  /dev/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.         (i.e., without -a or -p options) fsck exited with status code 4 The root filesystem on /dev/mmcblk0p2 requires a manual fsck  BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands.   What do I do?


Can I associate my account with posts I made before registering?

I posted a couple of questions as an unregistered user (this is not a Google account or a standard OpenID account).  Later, I added myself as a registered user through my Gmail account.  Is there a way to club both the e-mail addresses and use one account?  I am able to post comments and ask questions, but am unable to delete anything I post (the existing work as an unregistered user).   Has anyone else faced this problem and is there a workaround?


Why do certain types of sound seem to fade faster?

I noticed that if I'm playing music in a room and I go into another room or walk further and further, then at some point I can only hear the percussion and the melody to a lesser extent. All the midtones seem to vanish. Why is this?


I have a class which I'm trying to stream directly into (I'm not streaming the class into an ostream, but actually streaming text into the class) by overriding the << operator. The class is essentially used so we can toggle debug output on and off for different parts of the project. However, when I try to use the operator, I get an undefined reference.  This is what's in my .h as a public member of the class  template <typename T> DebugOutputStreamer& operator<<(T const& value);   And this is in my .cpp  template <typename T> DebugOutputStreamer& DebugOutputStreamer::operator <<(T const& value) {     if(m_Enabled)     {         if(m_UseColors)         {             std::cout << m_OuputColour << value << ConsoleColour::FG_DEFAULT;         }         else         {             std::cout << value;         }     }     return this; }   However when I try to stream "Hello" in, I'm getting   main.cpp:(.text+0x564): undefined reference to `DebugOutputStreamer& DebugOutputStreamer::operator<< <char [6]>(char const (&) [6])'   Could anybody tell me what I'm missing?


Prove if a (mod n) has a multiplicative inverse, then it's unique

Assume that an integer $a$ has a multiplicative inverse modulo an integer $n$. Prove that this inverse is unique modulo $n$.   I was given a hint that proving this Lemma: \begin{align} n \mid ab \  \wedge \  \operatorname{gcd}\left(n,a\right) = 1 \qquad \Longrightarrow \qquad n \mid b \end{align} should help me in finding the answer.  Here are my steps in trying to solve the problem: \begin{align} \operatorname{gcd}\left(n,a\right) = 1 & \qquad \Longrightarrow \qquad sn + ta = 1 \qquad \Longrightarrow \qquad sn = 1 - ta \\ & \qquad \Longrightarrow \qquad 1 \equiv ta \mod n \qquad \Longrightarrow \qquad ta \equiv 1 \mod n . \end{align} I know that having the GCD of m and a equal to 1 proves there is a multiplicative inverse mod n, but I'm not sure on how to prove $n \mid b$ with and how it helps prove the multiplicative inverse is unique.


Why does mesh have dark faces and is destroyed with Subsurf modifier?

This glitch is really annoying me and I'm not sure how to fix it. I am making a character with no current textures or materials and I've been trying everything to fix it. I am using blender 2.76. I have provided pictures below. It looks prominent in Rendered and Material shading mode. It looks fine in Solid shading mode. It is also prominent when applying a Subdivision Surface modifier (which I am going to do later on anyway).  Thanks in advance.      This is the rendered view:


Whose PATH value is the default PATH value in a crontab file?

root's default PATH is  $ sudo su # echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games   After creating /etc/cron.d/myjob  35 * * * * tim ( date && echo $PATH && date ) > /tmp/cron.log 2>&1   /tmp/cron.log shows the default value of PATH is:  /usr/bin:/bin   Is the default PATH value in a crontab file not the one for the root? Why?  Whose PATH value is it?   WIll the default PATH value be different if I add the job in /etc/crontab or a file under /etc/cronb.d/?  Does it matter which user is specified in the cron job? (such as tim in the above example)  Thanks.


Is appending the hash of the plaintext to the end of an encrypted message sufficient to ensure integrity?  My reasoning is that the attacker doesn't know all the plaintext, so by having a hash, the attacker will be able to change the message, but will be unable to recalculate the hash.  Are there any flaws in my reasoning, besides the case where the attack knows the whole plaintext?  To be clear, this is $\text{E}(\text{data})|\text{H}(data)$, it is not $\text{E}(\text{data}|\text{H}(data))$


If you have not being logged to SE network and make a vote for some post you will see the following popup:        But if you already logged to some other site this popup looks differently:        Empty area below the "Join this community" link looks weird. I think the final dimensions of this popup should be reduced if it's possible.


A geometry approach to find green area of the figure.

With respect to the figure ,we have a rectangle and two circle in it. Length are $10,20 $   The question is "what is green area "?  on the other hand $$\dfrac{\text{ green area }}{\text{are of rectangle}}=?$$ I tried to solve by analytic geometry . like below $$y=\frac{10}{20}x\\(x-5)^2+y^2=25\\(x-15)^2+y^2=25$$ then use integration to find area of green filled part.   But I want to know is a solution by euclidean geometry to find area  ?    I am thankful for any Idea in advance .


Using a linksys wrt160n v3 router as a repeater - troubleshoot

Following explanation in this video  I tried to use a linksys wrt160n v3 router as a repeater for having internet signal in places it does not reach. Main router from the cable/internet provider is a Sagemcom F@st 3890 v3 tlc. I succeded in making the linksys to receive wifi signal (it appears connected in the Sagemcom net map) but I can not make it to emit wifi. Can t understand why. Main router s ip is 192.168.0.1 Linksys original ip is 192.168.1.1. Did not change ip at first because they were already different. As the link sys did not emit wifi, I tried to change ip (int he thought that maybe they had to be in same subnet) to 192.168.0.2. Now I can not enter the linksys management window, having no other solution than resetting the thing (again). Any ideas? Thanks in advance to everyone! Ps: I´d like the linksys to emit a wifi with a different name, so I know which one is in use. I thought that was what was detailed in the video, but nothing happened, although said broadcast is enabled for the second router, there is no wifi signal detected from it. I found the youtube video in an old post from this web:


Maximizing likelihood function of continuous normal distribution

If I wanted to maximum likelihood estimator for $f(x)=\frac{1}{\sqrt{\sigma^22\pi}}e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2}$ where $-\infty\leq x \leq \infty$, my original plan was to do $\Pi^{n=\infty}f(x)$ but that really doesn't make any sense. The confusion arises since when you usually find the MLE, we' do $\Pi^{n}_{i=1}f(x)$ but I'm given the bound $-\infty\leq x \leq \infty$ so I can't just simply do the old trick of doing $\ln(L(\theta)) = ...$ and taking the derivative since there's going to be INFINITE terms Other similar questions asked on this stackExchange has been bounded by some $n$ but what if it isn't?


What possible advantage could there be in connecting several identical batteries in parallel?

In two-cell flash light,the batteries are usually connected in series. Why not connect them in parallel?


Windows 10 keeps adding another keyboard layout

I'm using Windows 10 in english with a pt-br keyboard, but sometimes it randomly adds an US keyboard in my tray area input list. The input doesn't show in my configurations -> input list, as show in the image below:   This just annoys a bit when I cycle through the languages, but doesn't seem to affect anything else. And it appears to be random, sometimes I log in and there's no US keyboard, only my PTB2 one. What could be causing this?


By default, the WordPress tag cloud widget has a set amount of 45 tags to display.  This can be seen in the wp-includes/category-template.php file.  By default, the WooCommerce plugin which I have installed, and it's products tag cloud widget also resembles this.  How do I modify this amount from within my wp-content/themes/functions.php file, to display for example, only 15 product tags?  Here is what I have so far, but it is not working.  function custom_tag_cloud_widget($args) {     $args['smallest'] = 8; //smallest tag     $args['largest'] = 22; //largest tag     $args['number'] = 15; //adding a 0 will display all tags     $args['unit'] = 'pt'; //tag font unit     return $args; }  add_filter( 'widget_tag_cloud_args', 'custom_tag_cloud_widget' );   When changing the number within the core wp-includes.php/category-template.php file to 15 however, it does work.  Obviously, I don't wish to edit any core files and am looking for an alternative solution.  Thanks.


How to add unallocated space to partition in this particular case?

How do I resize partition and add unallocated space?  Screenshot of GParted:


Is it possible to view an array in the Visual Studio debugger?  QuickWatch only shows the first element of the array.


How do I ensure that linebreaks in URLs occur at the right position?

I am writing my survey report using LyX. In my bibliography section, there is unusual behavior in my pdf. One reference breaks the margin. This is the issue  You can see that one line is out of standard formatting. Why does this happen? Can I solve the problem?


Could we make the review-banned-by-a-mod notice say something more descriptive?

Since we got  as a mod (yay!), lots of people have been getting review banned (and rightfully so).  Many of these people come to Meta to complain/ask about it. When they do, they seem to be thrown off by the current reason that shows up:     You have failed too many recent review audits, ...   This is misleading at best, and plain wrong at worst - it should say something like:     Your reviews were found to be not satisfactory by a moderator, come back in x days.   And, if possible, allow the moderator to leave a custom message telling the user why they were banned - if I was to be banned, I would really like to know why without coming to Meta.  Thoughts?


6 hour cooling contradicts 2/4 hour food use rule

When potentially hazardous foods are cooked, it is said that cooling from 60 to 21 C should happen in 2 hours and from 21 to 5 C in 4 hours, does this not contradict the 2/4 hour rule which states that if food is in temperature danger zone should be discarded if its more than 4 hours. Reference