Running 5.1.1 lolipop on android s5 with 0.29.3 version Pokémon Go.  Periodically there will be a bug or the game freezes and if I reload my game it will get stuck at 20%.  It won't reload unless I connect to WiFi.  If I'm with a friend I can connect to a hotspot and get it to reload and work (sometimes I need to restart my phone depending on the friends network).  It isn't a server outage since it will work again if I connect to wifi and everyone else around me is playing without issue. It isn't a 4G or network error since speed tests are consistent and everything else works perfectly fine, others can use my hotspot and have no problems, if I connect to wifi and it loads past the 20% it will continue to load correctly if I disconnect the wifi, it only gets stuck until there's a wifi connection.  Force stop and clearing cache, clearing data, uninstalling and reinstalling nothing else will get it to work.  Any suggestions on a fix?

I downloaded and installed version 0.29.2 of pokemon go on my Android phone, running lollipop. The app works fine most of the time, however, when I open the app without a WiFi connection (with mobile data on and working), it gets stuck on around 20% on the loading screen and doesn't budge.   The app works when I open it with a Wi-Fi connection and then leave Wi-Fi range or turn off Wi-Fi after it has passed the loading screen. However, the app will not pass the loading screen without WiFi. (Edit: Hotspots don't work either)  I've tried all the usual solutions - restarting, clearing cache, reinstalling, turning off and on mobile data. None of them work.  Any idea how I can start the app when I'm not in WiFi range?


This is probably pretty basic but I have not been able to solve it.  I am trying to execute IDrive for Linux, and following the instructions I need to run account_setting.pl.  I open the terminal where the file as by opening the terminal in the folder I do not have to put in the path to the file. In the terminal I type sudo account_setting.pl However, after entering my password I get the response that the command is not found.  See below. alan@alan-HPProDesk-600-G1-TWR:~/IDriveForLinux/scripts$ sudo account_setting.pl [sudo] password for alan:  sudo: account_setting.pl: command not found  I have tried without the pl, have made sure that perl is installed, ensured I have permissions etc. - all to no avail.  There must be something I am missing, but what?

While executing a C program, a.out, using the Ubuntu terminal, why do I always need to type ./ before a.out, instead of just writing a.out? Is there solution for this?


After changing size of Ubuntu folder (the command I used was dd, folder loop0) the kernel panicked, my Ubuntu is dead and I cannot recover it with GRUB or any recover tool (vmlinuz is not even present).  Is it possible to recover files from Ubuntu's partition while I am logged into a Windows system? I have some program to open Ubuntu's root.disc, but only "lost and found" files are listed there.

I have "zero filled" (complete wiped) an external hard disk using dd, and from what I have heard: people said you should at least "zero fill" 3 times to be sure that the data are really wiped and no one can recover anything.  So I decided to scan the disk once again after I've zero filled the disk. I was expecting the disk to still have some random binary left. It turned out that it has only a few sequential bytes in the very beginning. This is probably the file structure type and other headers stuff. Other than that, it's all zeros and nothing else.  So if we have to recover any file from a zero filled disk, ...how? From what I've heard, even you zero fill the disk, you should still have some data left. ...or could dd really completely annihilate all data?


Suppose, in my research (mathematical) I have a critical step that I need to solve, and, due to various reasons I cannot find decent answer to that step by myself or by contacting friends or colleagues, so that I decide to post a similar but simpler problem to the relevant StackExchange (Math). Now, if someone comes up with a good answer that I can use to further my research, will it be enough to acknowledge the contribution of the author of the answer and citing that particular thread of StackExchange, or do I need to include that person as a coauthor of the paper that I might prepare based on that answer?   I emphasize here that the paper is supposed to be not all about that particular result, there are many other things, and that particular answer is useful, albeit critically, at an intermediate stage of proving some results in the paper. I personally feel that citing and acknowledging the contribution is respectful enough. However, I want to know what the standard norm is.

Sometimes we may ask questions on stack exchange or online forums wherein the response is helpful or even essential to a piece of work that gets published in an academic journal. If this occurs, how should credit be given to those involved in the exchange? Should they all be included as authors? Should a link to the forum be included as a reference in the paper?  Once something is in a stack exchange or forum, it's "published". Perhaps in the future, the current peer review model will transform into people writing blogs and posting in forums and databases. But for now, how might this issue be dealt with while forums, blogs, etc coexist with journals?


I've set up a little ARM server, running the latest version of armbian with kernel 4.11.6  I have Apache2:  Server version: Apache/2.4.10 (Debian) Server built:   Jul 18 2017 19:31:53   At home i'm using a cheap router Hawei HG8247H , with port forwarding active for port 80 and port 22 directing the incoming connections to the public IP, straight to the server inside the private network 192.168.1.114  At first i've set up the root user with an too easy of a password that i suspect, was cracked by brute forcing ssh login...  After some thought over the subject i altered the password, switching to a stronger one. My doubt is, was the system compromised to the point where a mere password change of root isn't enough anymore?  I ran the netstat -pan:    There's an abusive IP operating on my machine: 123.183.209.140; Probably serving as a spam zombie while i write this.  Also, ran nmap searching for vulnerabilities, yielding NOT VULNERABLE at least for the ones listed at the vulscan database to this day.   These high ports also seem suspicious. I feel uncanny with all the eerie movements on the server and the idea of a member of the internal network being compromised is scary as it is a trusted node of the internal network. Should somehow try to isolate the server in another separate network.  My doubt is, what is the next step to take from hereafter ?  Thank you for any advises.

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


It seems that sort behaves strangely on lines such as >>b    $ cat test a >>b b c > >>  $ sort test > >> a b >>b c   I would expect the >>b line to be the third line output by sort but it is the fifth. Why does it do this and is there a way to make sort give my expected output?    I'm using GNU/Linux Ubuntu 16.04.


Whenever I assign a material to the selected faces of a cube, it paints the entire cube. I've seen questions like this, and I've done everything they say to do in the comments, yet nothing seems to work.

How do you add more than one material to a mesh?   I have tried adding two materials to the object, and then assigning one of the materials to a vertex-group, but I could not find a place to assign it.  I am making a striped bouncy ball that I want to deform, so adding a different material by separating the mesh into different objects would not be ideal.


I went to update my computer yesterday which currently is running Windows 7 professional.  Every time i go into the Control Panel and to updates though it only shows update to Windows 10 even though it has a list of Windows 7 updates that i wan't to actually install instead of the "upgrade".  I was wondering if there was any way to stop this from coming up?

A customer running Windows 7 Home must have reserved or okayed the Windows 10 upgrade because I am seeing daily messages that the upgrade is failing to install.   This customer is not ready for Windows 10 so it's good that the install is failing. But how to make it stop trying?  Once permission is granted for the upgrade, how do I revoke that permission so it stops attempting to upgrade?  I ran the Windows Update troubleshooter to clear out updates, and I uninstalled and hid KB3035583, but it is still trying to upgrade. In Task Manager, there is no GWX.EXE process.  Event log failure message:  Log Name:      System Source:        Microsoft-Windows-WindowsUpdateClient Date:          8/5/2015 1:28:58 AM Event ID:      20 Task Category: Windows Update Agent Level:         Error Keywords:      Failure,Installation User:          SYSTEM Description:   Installation Failure: Windows failed to install the following update with                 error 0x80240020: Upgrade to Windows 10 Home.   Relevant lines from WindowsUpdate.log:  2015-08-05  01:28:57:885    1068    6698    Agent   ************* 2015-08-05  01:28:57:885    1068    6698    Agent   ** START **  Agent: Installing updates [CallerId = AutomaticUpdates] 2015-08-05  01:28:57:885    1068    6698    Agent   ********* 2015-08-05  01:28:57:885    1068    6698    Agent     * Updates to install = 1 2015-08-05  01:28:57:885    1068    6698    Agent     *   Title = Upgrade to Windows 10 Home 2015-08-05  01:28:57:885    1068    6698    Agent     *   UpdateId = {27E79986-1150-4342-BDD2-76DF82C768D5}.201 2015-08-05  01:28:57:885    1068    6698    Agent     *     Bundles 1 updates: 2015-08-05  01:28:57:885    1068    6698    Agent     *       {FCD6621E-F5D4-4A95-AD43-28F0C58DD2F3}.201 2015-08-05  01:28:58:181    1068    6698    DnldMgr Preparing update for install, updateId = {FCD6621E-F5D4-4A95-AD43-28F0C58DD2F3}.201. 2015-08-05  01:28:58:181    27280   6f84    Misc    ===========  Logging initialized (build: 7.6.7601.18917, tz: -0700)  =========== 2015-08-05  01:28:58:181    27280   6f84    Misc      = Process: C:\Windows\system32\wuauclt.exe 2015-08-05  01:28:58:181    27280   6f84    Misc      = Module: C:\Windows\system32\wuaueng.dll 2015-08-05  01:28:58:181    27280   6f84    Handler ::::::::::::: 2015-08-05  01:28:58:181    27280   6f84    Handler :: START ::  Handler: Windows Setup Install 2015-08-05  01:28:58:181    27280   6f84    Handler ::::::::: 2015-08-05  01:28:58:181    27280   6f84    Handler   : Updates to install = 1 2015-08-05  01:28:58:181    1068    5ecc    AU  >>##  RESUMED  ## AU: Installing update [UpdateId = {27E79986-1150-4342-BDD2-76DF82C768D5}] 2015-08-05  01:28:58:181    1068    5ecc    AU    # WARNING: Install failed, error = 0x80240020 / 0x00000000 2015-08-05  01:28:58:181    27280   6f84    Handler   : WARNING: Exit code = 0x80240020 2015-08-05  01:28:58:181    1068    5ecc    AU  Write OSUpgradeState =14 with OSUpgradephase =2 2015-08-05  01:28:58:181    27280   6f84    Handler ::::::::: 2015-08-05  01:28:58:181    27280   6f84    Handler ::  END  ::  Handler: Windows Setup Install 2015-08-05  01:28:58:181    27280   6f84    Handler :::::::::::::


I've Dell Inspiron 15R 5520 laptop. Do I need to install additional drivers for it? If yes, how do I install additional drivers?    Intel(R) HD Graphics 4000 AMD Radeon Driver Sound Devices: Conexant SmartAudio HD, Intel(R) Display Audio USB Controllers: Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host   Controller - 1E26 Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E2D Intel(R) USB 3.0 eXtensible Host Controller   Please guide me through this.

I've just installed Ubuntu and I need either video, wireless, or some sort of other manufacturer (non-opensource) driver. How can I run the tool that will fetch all of these for me? I'd like graphical instructions.  Related:


I want to write a python script to format files using Seds.  sub = subprocess.call(['sed', 's/=/ = /g', infilename], stdout = outfile) sub = subprocess.call(['sed', 's/=  = /==/g', infilename], stdout = outfile)   But this would write the entire changed infile twice to outfile (outfile contains two infiles in which each has one sed change). Is there a way to execute the two (and more) sed commands on the infile and write only once to the outfile which contains all the sed changes.

How do I execute the following shell command using the Python  module?  echo "input data" | awk -f script.awk | sort > outfile.txt   The input data will come from a string, so I don't actually need echo.  I've got this far, can anyone explain how I get it to pipe through sort too?  p_awk = subprocess.Popen(["awk","-f","script.awk"],                           stdin=subprocess.PIPE,                           stdout=file("outfile.txt", "w")) p_awk.communicate( "input data" )   UPDATE:  Note that while the accepted answer below doesn't actually answer the question as asked, I believe S.Lott is right and it's better to avoid having to solve that problem in the first place!


Windows snipping tool has a little "copy" button, it looks like this:    If you're composing and email in gmail, you can paste right into your email with Ctrl-V after copying from the snipping tool with that button. It's very convenient.  At StackExchange sites, I have to save the snip to my hard drive first (as far as I know). The drag-and-drop functionality you have now is great for images on my hard drive. But allowing copy paste would save me from having to save the snip, and then delete it.

I was very happy to learn that you had added support for directly uploading images to imgur.  However, I would like to see this taken one step further, if it is even possible.  Today, if I want to upload a screen shot (and let's face it, this is probably the most likely case in the computing-related stackexchange sites), I need to take the shot, paste it into an image editor, save the file and then upload to imgur via SO, and delete it when the upload completes.  If possible, I suggest adding a mechanism to paste an image directly into the question (or answer) and have SO automatically create a temporary file, upload to imgur and make the link.  This would save many annoying steps when posting screenshots.


While reviewing the reference design for the , and the associated parts list, I noticed one component (C254) states "DNM - Do Not Mount".     What is the reason for this?  Why even draw this on the schematic if you don't intend the component to be populated?  if they go to the trouble to change the schematic to read "DNM", why not just remove the component altogether?  OR, are they using the two unpopulated SMT pads as a capacitor?  That seems strange.  OR, is this a placeholder for a cap that would be added later, to properly tune the antenna if needed?

I have some experience with highfrequency circuit analysys. However I am a newbie in PCB design. I am analysing this circuit:  (starts on page 36) and regularly see things like "OMIT" for headerpins or components like resistors or so.  e.g.:   p41 (6/6): the boxheader(?) on the left. P40 (5/6): R48 on the dev board are two small surfaces with some soldering on it but no component apparently. I can hardly see myself (de)soldering resistors on my new dev board...   Why is this being mentionned? What do the people who made the PCB mean by this?  I mean if this part has to be omitted, why did they even place it on the PCB?  Thx


I would like to downgrade my iPad running iOS 11.4. I don’t care the data preservation.  Is it possible to downgrade?

I'm trying to downgrade my iPhone from the current iOS to an older one, as per .  But every time I try, I always receive this error:     The iPhone could not be restored. This device isn't eligible for the requested build.     I have tried many times with and without DFU mode. Any ideas regarding this?


For example, I have an object with 3 properties: Name, Price and Description. I need to sort a collection of these objects. It's easy to sort by only one parameter:  var sortedList = ObjectCollection.OrderBy(x => x.Name).ToList();   But how to perform the sorting by 2 parameters (Name and Price). For example, I need to get a list like that:  ItemName1 $100 SomeDescription ItemName1 $200 AnotherDescription ItemName1 $250 AnotherDescription ItemName2 $20 AnotherDescription ItemName2 $40 Description ItemName3 $100 Description   and so on. So, the main key is a Name, but if there are several items with the same name then the second key is the price. How to do this?

I have two tables, movies and categories, and I get an ordered list by categoryID first and then by Name.  The movie table has three columns ID, Name and CategoryID. The category table has two columns ID and Name.  I tried something like the following, but it didn't work.  var movies = _db.Movies.OrderBy( m => { m.CategoryID, m.Name })


A regular n sided polygon inscribed in a circle of diameter one has the circumference as     cn = 2 n Sin( Π / n )    put h=1/n  How can i show whether c(h) = c1/h  satisfies the assumption for repeated Richardson extrapolation  Also i need to calculate c2 , c3 , c6 (which i can do ) and perform repeated Richardson Extrapolation  My knowledge in Richardson Extrapolation is very bad and i have got no idea how to do it  So please help

I am having a hard time understanding what on earth Richardson Extrapolation is trying to do.    Consider the example of approximating $\pi$ by inscribing regular polygons in a unit circle.  The perimeter of a regular $n$-gon is $2n\sin \bigl(\dfrac{\pi}{n} \bigl)$, whereas the circumference of a unit circle is $2\pi$, so that $2n\sin \bigl(\dfrac{\pi}{n} \bigl) \approx 2\pi \implies n\sin \bigl(\dfrac{\pi}{n} \bigl) \approx \pi$. So let $c_n = n\sin \bigl(\dfrac{\pi}{n} \bigl)$.  If we put $n=\dfrac 1h$, then  $$c_n=\frac 1h \sin (\pi h)=\pi - \frac{\pi^3h^2}{6}+\frac{\pi^5h^4}{120}+\cdots$$  With a bit of trigonometric manipulations, we get the recurrence relation  $$c_{2n} = 2n\sin \biggl (\frac{\pi}{2n} \biggl)=2n\sqrt{\frac 12 \biggl(1-\sqrt{1-\Bigl(\frac {c_n}{n}\Bigl)^2}\biggl)}$$  so $c_2=2$, $c_4=2.8284$, $c_8 = 3.0615$, $c_{16} = 3.1214$ and so on.  I still understand what is happening up to here, but then it suddenly says, without any explanation,     Extrapolating between $c_4$ and $c_8$, we get $c_4^{(2)}=3.1391$; and between $c_8$ and $c_{16}$, we get $c_8^{(2)}=3.1214$.   Can anyone explain to me why we get these numbers?    Apparently, there is the formula  $$T_h^ {(2)} = \frac{4T_{h/2}-T_h}{3}$$  where $T_h$ is an approximation to $T$, and $T_h^{(2)}$ is a "more accurate formula".  But plugging in the numbers doesn't seem to work:  $$c_4^{(2)}=\frac{4c_2-c_4}{3}=\frac{4(2)-(2.8284)}{3}=1.7239 \neq 3.1391$$


I'm building 32 bit boost thread libraries on 32 bit Ubuntu 12.10. When building I get the error /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory  I googled the problem and from reading  it seems I need to install libc6-dev-i386. However, when I run sudo apt-get install libc6-dev-i386 I get:  Package libc6-dev-i386 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libc6-dev-i386' has no installation candidate   Can anyone help me to locate this package?  Edit, more info:  I'm not sure if this is relevant, but uname -m -p -i gives i686 i686 i686.  ls /usr/include/gnu/ gives libc-version.h  lib-names.h  option-groups.h  stubs-64.h  stubs.h.  ls /usr/include/i386-linux-gnu/gnu gives libc-version.h  lib-names.h  option-groups.h  stubs-32.h  stubs.h.  I added /usr/include/i386-linux-gnu to $PATH but it didn't help, I still get the same error when trying to build the 32 bit boost thread libraries.  More info:  I've now tried this with Ubuntu 12.04 and I'm getting exactly the same behaviour. With this install uname -i gives i386.

What does the above Error mean? What is an installation candidate?  I was trying to do  sudo apt-get install munin-memcached     and I get this message:  Reading package lists... Done Building dependency tree        Reading state information... Done Package munin-memcached is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package munin-memcached has no installation candidate   I googled for the problem and someone said to do a apt-get upgrade but it still did not solve my problem.


I dont know if my question makes sense or not, but i am facing this problem   Case 1:  String fileLine  ="->->->6"; System.out.println(fileLine.split("\t").length);  output: 4   Case 2:  String fileLine  ="1->->->6"; System.out.println(fileLine.split("\t").length);  output: 4   The Problem Case:  String fileLine  ="1->6->->"; System.out.println(fileLine.split("\t").length);  output: 2   Can anyone tell me why is that and to capture this situation?  I want to capture the tabs in the end of the line as well even if the file end is empty  Thanks

Check out the below program.   try {     for (String data : Files.readAllLines(Paths.get("D:/sample.txt"))){         String[] de = data.split(";");         System.out.println("Length = " + de.length);     } } catch (IOException e) {     e.printStackTrace(); }   Sample.txt:   1;2;3;4 A;B;; a;b;c;   Output:   Length = 4 Length = 2 Length = 3   Why second and third output is giving 2 and 3 instead of 4. In sample.txt file, condition  for 2nd and 3rd line is should give newline(\n or enter) immediately after giving delimiter for the third field. Can anyone help me how to get length as 4 for 2nd and 3rd line without changing the condition of the sample.txt file and how to print the values of de[2] (throws  ArrayIndexOutOfBoundsException)?


I've seen many articles that actually trust WhatsApp's encryption and they may be right, but here is the thing that really makes me suspicious; all end-to-end encrypted apps I know, such as Telegram and Signal are blocked in China, but WhatsApp that is far more popular is not.   If China is not blocking this app in particular (and after seeing all those  by Zuckerberg) I am a little wary that your data is really end-to-end encrypted without the possibility of Facebook to intervene.   Is there any way for anyone to assess without shadow of a doubt that WhatsApp encryption is really end-to-end encrypted like there is with Signal?

As those of you who use WhatsApp Messenger probably know, with their recent update chats and calls are now encrypted. Here's what WhatsApp claims:     Messages you send to this chat and calls are now secured with   end-to-end encryption, which means WhatsApp and third parties can't   read or listen to them.   Now let's put aside how WhatsApp is honest but what they claim is a technological feature. Is it really not possible for them to read or listen to our messages? If that's a lie, then  don't they risk that some guys like you might say "Hey, what the hell are you talking about? Why do you lie?". So my question is, if they are the ones who encrypt this, then why can't they also decrypt it?


I lost control of my old email account (it was through work and they laid me off). A normal account merge requires me to have control of the email linked to each account.

I used to log in to Stack Overflow using my Yahoo ID. Now that I've deleted my e-mail address I can't access my account on Stack Overflow. I am unable to log in through Stack Exchange either. Is there any way to merge my old profile and my new one?  My old profile:


Given a (not necessarily finite dimensional) vector space $V$ prove that the center of $\operatorname{GL}(V)$ is the set of all scalar transformations (i.e all transformations of the form $a\operatorname{Id}$)?   I know how to prove this for general linear group of degree $n$, please help me solve this for the case of a general linear map.

The question is from Axler's "Linear Algebra Done Right", which I'm using for self-study.  We are given a linear operator $T$ over a finite dimensional vector space $V$. We have to show that $T$ is a scalar multiple of the identity iff $\forall S \in {\cal L}(V), TS = ST$. Here, ${\cal L}(V)$ denotes the set of all linear operators over $V$.  One direction is easy to prove. If $T$ is a scalar multiple of the identity, then there exists a scalar $a$ such that $Tv = av$, $\forall v \in V$. Hence, given an arbitrary vector $w$, $$TS(w) = T(Sw) = a(Sw) = S(aw) = S(Tw) = ST(w)$$ where the third equality is possible because $S$ is a linear operator. Then, it follows that $TS = ST$, as required.  I am, however, at a loss as to how to tackle the other direction. I thought that a proof by contradiction,  ultimately constructing a linear operator $S$ for which $TS \neq ST$, might be the way to go, but haven't made much progress.   Thanks in advance!


If some user is an owner of some file, does root has the same privileges as user?

I have the following file:  ---------- 1 Steve Steve 341 2017-12-21 01:51 myFile.txt   I switched the user to root in the terminal, and I have noticed the following behaviors:   I can read this file and write to it. I can't execute this file. If I set the x bit in the user permissions (---x------) or the group permissions (------x---) or the others permissions (---------x) of the file, then I would be able to execute this file.   Can anyone explain to me or point me to a tutorial that explains all of the rules that apply when the root user is dealing with files and directories?


I want to print this:      printf("please Choose: 1-For Checking what is the most popular number in the array\n               2-To sort your array from the smallest number to the biggest\n               3-To sort your array that even will be to your left and odd to the right\n               *Any other number will exit the program\n");   there is a way to define number of spaces after '\n' instead of typing lot of spaces?

How can I pad a string with spaces on the left when using printf?  For example, I want to print "Hello" with 40 spaces preceding it.  Also, the string I want to print consists of multiple lines.  Do I need to print each line separately?  EDIT: Just to be clear, I want exactly 40 spaces printed before every line.


I want to develop MS Excel download feature for some of my data, thus I created a VF page with following attributes on the apex:page tag.  contentType="application/vnd.ms-excel#somefile.xls" cache="true" applyHtmlTag="false" standardStylesheets="false" sidebar="false" showHeader="false"   With this I get the file downloaded but when I try to open it, the Excel application (I use 2013 version) shows a warning message before showing the data.  The file format and extension of 'somefile.xls' don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?  I've used XML Spreadsheet markup for this and have avoided the use of Visualforce tags wherever I could, just to make sure the output is not HTML but native Spreadsheet markup. The file is not corrupted for sure since I can see the expected data as I open it after clicking "Yes" on the warning message.  Could anybody help me make this download without that warning message ?

Is there a way to view the "printable view" (.xls) in Mac Numbers (version 2.3+) rather than Excel? I am using OS X (Maverick), Numbers (V3.0) and both Safari and Firefox.  When I save a Salesforce report using the "printable view" button, it saves it as an .xls file but when I open it in Numbers I get what looks like the XML code behind it, for example the first cell in the first three rows contains:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head>


If yes:   I know that f(X) and g(Y) are independent if X and Y are independent and f and g are "measurable".*  If that is to be used, is g(Y) = YZ measurable?  If not, how else to approach this?   If no:   Counterexample please? ^-^  Possibly related:

Let $X$ and $Y$ be independent random variables. Prove that $f(X)$ and $g(Y)$ are independent for any choice of measurable functions $f$ and $g$.   This sounds very obvious, but I have no idea how to approach it.  EDIT: Two random variables are independent if $\Pr\{X = x \text{ and } Y = y\} = \Pr\{X = x\} \cdot \Pr\{Y = y\}$


I can install deb package via my repository as follow   $ sudo apt install my_app   then the package manager will fetch my_app and installed. But I have to start it manually.   My aim is when I installed an app that should run without any further action like any native deb packages  i.e   $sudo apt install syslog-ng   installed.   $ sudo service --status-all  [+] syslog-ng   PS: Sure I can manually create service, but this is what I try to automate.

I've been following the excellent guides to create debian packages to install an application executable    and using dh-systemd to install a systemd service    however, I would like to combine the two to create a package to install a service and install the binary which gets run by the service.  The first tutorial has the application files in the directory above the /debian folder and a make file to build and install the application, whereas the systemd tutorial has the service file in the debian folder. It is not clear to me how to create a control file which installs both service file and dependant binary.  I'd be grateful if someone could advise how to do this or provide some useful reference material.  I've tried reading  but this doesn't explain much.  Is this a realistic expectation, or should services and applications be packaged separately?  Thanks


I suddenly interested in the differential equation $$ f^{(k)}(x)=f(x) $$ So I tried to calculate for some $n$. When $ k=1 $, we know the solution $$ f(x)=A_0e^x=\sum_{n=0}^{\infty}{\frac{A_0x^n}{n!}} $$ Also, for $ k=2 $, $$ f(x)=Ae^x-Be^{-x}=\sum_{n=0}^{\infty}{(\frac{A_0x^{2n}}{(2n)!}+\frac{A_1x^{2n+1}}{(2n+1)!})} $$ where $ A_0=A+B $ and $ A_1=A-B $. Inductively, I could guess that the solution of the differential equation would be in the form $$ f(x)=\sum_{n=0}^{\infty}{\sum_{i=0}^{k-1}{\frac{A_ix^{kn+i}}{(kn+i)!}}} $$ But I could neither prove that it is the only solution nor get the explicit formula. How should I evaluate $ \sum_{n=0}^{\infty}{\frac{x^{kn}}{(kn)!}} $, cause if we know the answer for it, we can evaluate the original expression by differentiating it. Thanks to WolframAlpha, I know the answer for $ k=3 $, $$ \sum_{n=0}^{\infty}{\frac{x^{3n}}{(3n)!}}=\frac{1}{3}(2e^{-\frac {x}{2}}\cos{(\frac {\sqrt{3}}{2}x)}+e^{x}) $$ I think the answer might related to $ \sin $ and $ \cos $ of $ \frac {2\pi}{k} $.

$$\sum_{n=0}^{\infty}\frac{z^{kn}}{(kn)!}$$  Later edit: Is this correct?  $$e^{z\epsilon_p} = \sum_{n=0}^{\infty}\frac{z^n\epsilon_p^n}{n!}$$  $$\sum_{p=0}^{k-1}e^{z\epsilon_p} = \sum_{n=0}^{\infty}\frac{z^n}{n!}\sum_{p=0}^{k-1}\epsilon_p^n $$  $$\sum_{n=0}^{\infty}\frac{z^{kn}}{(kn)!} = \frac{\sum_{p=0}^{k-1}e^{\epsilon_p^nz}}{k} $$


I'm looking to evaluate  $$\lim_{x\to +\infty} \sqrt{x^2+4x+1} -x$$   The answer in the book is $2$. How do I simply evaluate this problem?   I usually solve limits such as this with the short cut method, i.e (Numerator degree < Denominator degree) = 0 ; (Numerator degree = Denominator degree )= take ratio of leading coefficients; (Degree numerator > degree denominator )= take leading terms and use algebra to simplify and then plug in $-\infty$ or $+\infty$ Please keep in mind that I do not know L'Hopital's rule.

This is being asked in an effort to cut down on duplicates, see here: , and here: .    What methods can be used to evaluate the limit $$\lim_{x\rightarrow\infty} \sqrt[n]{x^{n}+a_{n-1}x^{n-1}+\cdots+a_{0}}-x.$$  In other words, if I am given a polynomial $P(x)=x^n + a_{n-1}x^{n-1} +\cdots +a_1 x+ a_0$, how would I find $$\lim_{x\rightarrow\infty} P(x)^{1/n}-x.$$  For example, how would I evaluate limits such as $$\lim_{x\rightarrow\infty} \sqrt{x^2 +x+1}-x$$ or $$\lim_{x\rightarrow\infty} \sqrt[5]{x^5 +x^3 +99x+101}-x.$$


At any result of a job in this last version of the Circuit Composer, at the OpenQasm tab inside the Circuit Diagram, I am unable  to use the tradicional copy or ctrl-c to get the transpiled circuit selected text for further studies.  Is this an error or it is functioning correctly, because in before versions it was possible doing it?

I am interested in retrieving the OpenQasm code of a quantum circuit, as it appears on IBM Quantum Experience. This is the code that the quantum machine actually runs. I used to be able to just copy the code from the results tab, but I seem to not be able to do that anymore. Is there any way to retrieve said Qasm code? Thank you in advance.


Right now, a user making a suggested edit to a Q or A, must make at least 10 chars change, as there is a filter to that effect which seems to be active on all subsites.  The problem is that quite often a useful edit is less than this size. I hit 3 examples in the last 24 hours alone:   A typo where the user typed "peace" but meant "piece"; the result made the final sentence meaningless and perhaps even misleading (to others who might think this was correct); An answer where an incorrect word was used (FreeBSD doesn't have "bind" mounts, the answer meant a "nullfs" mount on that OS); An answer which used an incorrect symbol that would prevent the answer working if tried as-stated.   In all these, the issue is the same - there may be useful edits/corrections that are under 10 chars.   If one is suggesting an edit to someone else's edit, there usually isn't any justification to add unnecessary extra text purely to get >=10 chars changed. It would be best practice to make the least possible change, even just 1-2 chars, out of respect for the user who made the post. I'm also having difficulty seeing how this limitation connects to a risk of misuse, such as spam or other problems.  Can we review whether this limitation is helping or hindering the site, and whether there is really any risk of issues or spam if those users who can suggest edits, could suggest edits < 10 chars?  If the conclusion is that it would help, could this change be made?

Now, it is easy to workaround this: add 10 characters, plus your one-character change, then remove these 10 characters in the next edit for the same post.  But this can hardly be what the designers intended. Instead, my suggestion is to change it to something like on Wikipedia, where you can mark an edit as "minor". Something like this:     Edits must be at least 6 characters, or select the checkbox "Minor, spelling or punctuational correction."   Edits like that will, of course, not count toward the edit-limit (before it becomes Community Wiki).  The suggestion often seen on Meta Stack Overflow is "just edit more in that post". But sometimes the post is just right, and there aren't any other spelling mistakes to correct. Why force a user to change more than necessary, or use an ugly hack?


.alert{     color:#555;     border-radius:10px;     font-family:Tahoma,Geneva,Arial,sans-serif;font-size:11px;     padding:10px 10px 10px 36px;     margin:10px;     min-width: 500px;     position: fixed;     display: block; }   How would I go about centering this on the screen without using a set starting width?

How can I horizontally center a
 within another
 using CSS?

Foo foo


On Unix the touch command allows you to change the date of creation of a file. I would like to know whether there is an analogous command on Windows 7 which would allow you to change the dates and times of creation, last modification, and last access to a file, and would also like to know whether there is a way to do the same from the standard Windows 7 operating system graphical interface utilities.  NOTE: when I go to the Properties for a file by right-clicking on it I see the dates and times of creation and last modification but not the date and time the last (read-only) access to the file took place.

What do you use when you want to update the date-modified field of a file on Windows?   commands accessible via C++, .NET, C#, or something native to Windows (Vista preferably) tools/applications preferably free, and if possible open source as well   Edit:  there is already a page for applications as pointed out by CheapScotsman .   If anyone knows how I can do this via C++, C#,  or something similar, well and good, else I would think everything else is covered in the linked question.


I have installed few software in Ubuntu. Some of these software are quite big and needs more than 400MB of space during installation. In Windows, when we install a software, it is saved in program files, where we can see all the files.  What is the path of the equivalent location for Ubuntu? I mean, in which path, I can see that, there is a folder for that particular application and entering that, I can see all 400MB+ data.

Under Windows, most applications and application data are stored in a special directory known as C:\Program Files (and occasionally C:\Program Files (x86)). What is the Ubuntu/Linux equivalent to this path? Is there even one?


Note: First, I have reviewed other audio feature requests posted and they do not appear to duplicate this request. I originally proposed this feature on ... but after some time, the admin notes that feature requests will receive proper attention on META SE. Please note that this feature is about the ability to record a short audio snippet (30s) in-line, not an upload (however I would not be adverse to seeing both capabilities)  EDIT: Based on comments, please see my recent edits to help refine this question.  Feature Request: Audio Snippets  Would it be reasonable to add the capability of small audio snippets (recorded in-line, not uploaded) to the  (CSE) wiki?  The feature might take this form:  Snippets only (no more than 30 seconds long) Able to be embedded similar to image uploads  Implications:  Probably would require an audio recording feature to be efficient  Rationale:  For a language website like CSE wiki, the ability to hear samples of native speech seems to be a no-brainer to me.  Why here:  Other websites provide audio content but no context. A language website wiki seems ideal to house this material as it is highly pertinent to every visitor.  Drawbacks:  The need to not pollute the website wiki with junk.  Argument in favour:  I would argue that the drawbacks are handled using current community mechanism. Technical limitations should be nil as the technology to produce the feature set already exists (see italki.com for example).  Why not Google Translate, SoundCloud, or other tools  Other tools like Google Translate and Sound Cloud have serious drawbacks of their own and make it much harder for CSE visitors to share audio than an embedded audio recorder. Google Translate is getting better but still a far distance from actually translating things correctly.  SoundCloud would require every CSE visitor to open a new account.   Meanwhile the most important aspect of such a tool is to capture the nuances heard from native speakers. This effect cannot be easily reproduced by other tools. Although SoundCloud could do it, the nature of its drawback becomes severe when one considers the possibility of such external websites (outside of CSE) being blocked by different governments. Keeping a tool small and local to CSE would provide fine grained control and encourage participation.  Natural Extension  What seems to me a natural extension of this question is whether such capability belongs on all of the language sites. I think it does, mainly for the same reasons provided above. The ability to learn a language requires interaction with native speakers and trying to learn to speak a language without hearing it can be inefficient.

Possible Duplicate:          On the new  (private beta members only at the time of this writing), there are already a some of questions about phonology. I anticipate that it will continue to be that way, and we will soon be in need of having support for sound samples.  Phonology is hard to describe in words (without technical linguistic jargon like unaspirated voiced labiodental nasalized affricate), so having sound samples is immensely helpful. We are able to link to sound samples, but in my experience, sound links often rot quickly, and it is a pain to follow a link and download a sound sample that is only two seconds long.  If bandwidth is an issue, you could restrict the length to 10 seconds or so, since most recordings to demonstrate phonology are very short.


Let V be a vector space, and W a subspace of V.  Prove that if $dim(V)=n$, then $dim(W)\le dim(V)$.  I know this is supposed to be a proof by contradiction, but I'm not sure on how to tackle it.

My attempt at a solution:  Proof  Given a vector space $V$, let $S={v_1,...,v_n}$ be a basis for $V$. Consequently $\dim(V)=n$. Now given $W$, a subspace of $V$, it will be shown that $\dim(W)\le \dim V$   First, consider the case where $W=${0}. Then $dim(W)=0 \le\ n$,   Subsequently, consider the case for $W=V$. Then it follows that $dim(W)=dim(V)=n$.  Finally, consider the case where $W \subset V$ and without loss of generality assume $v_n \notin W$. Let $T={v_1,...,v_k}$ where $k\lt n$ be a basis for the subspace W. Now, since S is a basis for V, for every $v_i \in S$,  $c_1v_1+...+c_nv_n=0$ has only the trivial solution, thus none of the vectors in S can be expressed as linear combinations of the other vectors in S. It follows that the set T is not a basis for V as $v_n$ cannot be generated from T. The $dim(W)$ is given by the number of vectors in the basis. Therefore, $dim(W)=k \lt n$  Therefore, it has been shown that if $W \subseteq V$ then $dim(W) \le dim(V)$


I need to update Java 13 to Java 14 and how can I do that in Ubuntu. I have tried to install 14 like: ~$ sudo tee /etc/profile.d/jdk14.sh <<EOF > export JAVA_HOME=/opt/jdk-14 > export PATH=\$PATH:\$JAVA_HOME/bin >  > EOF export JAVA_HOME=/opt/jdk-14 export PATH=$PATH:$JAVA_HOME/bin   source /etc/profile.d/jdk14.sh echo $JAVA_HOME /opt/jdk-14 ~$ java -version openjdk version "13" 2019-09-17 OpenJDK Runtime Environment (build 13+33) OpenJDK 64-Bit Server VM (build 13+33, mixed mode, sharing)    but as you can see my result is still Openjdk13.

I followed all the instructions stated at this , but am encountering some problems with the last part of it.  I actually have version 6.22 of java and would like to update to version 6.30.  So after moving the extracted directory java-6-oracle into /usr/lib/jvm I do not know what to do, since the script that is pointed out in the answer above updates from java 5 to java 6.  For sake of clearness here is output if I do an ls in dir /usr/lib/jvm:  $ ls -l /usr/lib/jvm total 8  lrwxrwxrwx  1 root root   14 2011-07-12 15:18 default-java -> java-6-openjdk lrwxrwxrwx  1 root root   14 2011-07-12 12:19 java-1.6.0-openjdk -> java-6-openjdk  drwxr-xr-x 10 root root 4096 2012-04-12 12:06 java-6.31-oracle  drwxr-xr-x  7 root root 4096 2012-02-24 14:43 java-6-openjdk   What should I do now?    ADDED PART  Under the suggestion of @fossfreedom I ran the script anyway and actually it updated the java version.  In fact if I run command java -version output will be the following:  $ java -version java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b04) Java HotSpot(TM) Server VM (build 20.6-b01, mixed mode)   There is still a problem, if Irun javac -version it gives me the old version installed:  $ javac -version javac 1.6.0_22   And if I use the tester at this  it will tell me that version is   Java Version 1.6.0_22 from Sun Microsystems Inc.   What's going wrong?  It seems that Java Runtime Environment has updated, but Java Compiler and Java plugin for browser have not.  How can I update them?    OTHER ADDED PART  sudo update-alternatives --config java will return following output  $ sudo update-alternatives --config java There are 2 choices for the alternative java (providing /usr/bin/java).    Selection    Path                                      Priority   Status ------------------------------------------------------------ * 0            /usr/lib/jvm/java-6.31-oracle/bin/java     1062      auto mode   1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode   2            /usr/lib/jvm/java-6.31-oracle/bin/java     1062      manual mode  Press enter to keep the current choice[*], or type selection number:   these makes sense with the fact that JRE is correctly updated to version 6.31, issues are on Java Compiler and Java browser plugin.  Any ideas?


Im amateur photographer, just got my first DSLR camera (Nikon D3300), I was wondering how to shoot car trail light at night.  Thanks!

I'm trying to do long exposure photos with car headlight trails and am finding the results a little disappointing due to the low 'impact' of the light trails.  I believe there are a few things affecting this, namely   length of exposure (currently limited to about 90s at min ISO and aperture) the amount of traffic the level of light given off by street lamps   I believe 1 & 2 can be fixed by the addition of an ND filter and choosing a busier time to take the pictures, but am not sure how I can address 3.  Is there some sort of filter I can use which will minimise the effect of the street lamps without cutting out too much of the light from car headlamps/tail lamps?  Here's an example of what I've done so far:


I have a list of number of url and its name is  listOfUrlSources, I passed it inside class GenerateUrlImages the task of this class is to come out with a picture link and it works if you use it and pass a link to one site it gives out a picture link, but now I'm trying to pass more than one site for it and also give me links to photos I tried, but I didn't make it through a list.   //  for (int i = 0; i < sources.size(); i++) {                          item = new GenerateImage(sources.get(i).getUrl());                         // networkImagesLiveData.setValue(createLiveDataForLoadingImage(sources.get(i).getUrl()));                         listOfUrlSources.add(item);                     }                      new GenerateUrlImages().execute(listOfUrlSources);  //---------   //     public class GenerateUrlImages extends AsyncTask<List<GenerateImage>, Void, List<GenerateImage>>{          public GenerateUrlImages(){          }          @Override         protected List<GenerateImage> doInBackground(List<GenerateImage>... arrayLists) {             List<String> result = new ArrayList<String>();             List<GenerateImage> passed = new ArrayList<GenerateImage>();             passed = arrayLists[0];              //get passed arraylist             //urlImages             String src="";             try {                 org.jsoup.nodes.Document doc1;                 Elements img2;                 GenerateImage Item;                 for(int i=0; i<passed.size(); i++) {                   doc1 = Jsoup.connect(passed.get(i).getUrl()).get();                   //Elements img = doc1.getElementsByTag("img");                     img2 = doc1.getElementsByTag("meta");                     for(Element element : img2) {                       if("og:image".equals(element.attr("property"))) {                         src = element.attr("content");                          Item = new GenerateImage(src);                           urlImages.add(Item);                        }                     }                     for (int j = 0; j < urlImages.size(); j++) {                         Log.d("getUrlImage:", "" + urlImages(j));                     }                 }                 //InputStream in = new java.net.URL(src).openStream();                // bmp = BitmapFactory.decodeStream(in);             } catch (Exception e) {                 Log.e("Error :", e.getMessage());                 e.printStackTrace();             }             return null;         }         @Override         protected void onPreExecute(){          }         protected void onPostExecute(ArrayList<String> result){           }      }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


There is no "rollover" capability with Chrome (iOS anyway), so rollover/hidden blockquoted text (marked by >!) is impossible to view when using a browser in "full site" mode:  Eg     Normal blockquoted text is fine   but the following is inaccessible when using Chrome (on iPhone)     This is not possible to see on iPhone   The field is not clickable or highlightable (to attempt copy-paste).

Spoiler text can't be made visible on a touch screen.  This was already pointed out ( as well as ).  However, that was marked as  by providing the ability to see spoiler text in the mobile version of the site.  (SE seems to be using the same definition of "mobile" as Facebook does: a little phone device.  These are not the only devices that are mobile!).  This is not a good solution.  If I have a large-screen touch device (an iPad, an Android tablet (although this  and there are only about 10 of them anyway), a Windows 8 touch-only device, a Kindle Fire, a TouchPad, etc) then I don't want to use the "mobile" version of SE - it looks like crap on a large screen.  Please provide a way to unspoiler text on the real StackExchange sites.


How can I find all the files which have been modified 50 days before?  I'm trying this:  find -maxdepth 1 -mtime -50   is it the right command to find files that have been modified in the last 50 days?

How can I Get a list of all files modified , say 3 months ago. I checked  question but I was not able to apply it to my scenario. I am trying this now , it seems to be working , but I know there should be a better way using find.  ls -ltR | grep -v '2011-05' | grep -v '2011-06' | grep -v '2011-07' | grep -v '2011-08


I've got an warning message with my site saying "session_start(): open(/home/content/55/5307955/tmp/sess_qphb8rav2kmt5kavptqh1mik06, O_RDWR) failed: No such file or directory (2) ". I've been reading basics about PHP session and seesion_start(), so far I understand that when session_start it either starts a new session or resume the existing session. What does it have to do with opening a file?

Are $_SESSION variables stored on the client or the server?


Let $f : \mathbb R \to \mathbb R$ continuous. Prove that graph $G = \{(x, f(x)) \mid x \in \mathbb R\}$ is closed.  I'm a little confused on how to prove $G$ is closed. I get the general strategy is to show that every arbitrary convergent sequence in $G$ converges to a point in $G$.  Here is what I tried so far:   Let $x_k$ be a sequence which converges to $x$. Since $f$ is continuous, this implies that $f(x_k)$ converges to $f(x)$. At this point, can you say every $(x_k, f(x_k))$ converges to a $(x, f(x))$, so $G$ is closed?

Let $f: \mathbb{R} \to \mathbb{R}$ be continuous. Then $G = \{ (x, f(x) ) : x \in \mathbb{R} \} $ is a closed set.  My try: Suppose $(z_n) =  (x_n, f(x_n) ) $ is sequence in $G$ with limit $(x,y)$. We must show $(x,y) \in G$. Since $x_n \to x$ and since $f$ is continuous, then we must have that $f(x_n) \to f(x) $. Since limits are unique. Then $y = f(x) $. Is this enough to conlude that $(x,y) \in G $ ? Hence showing $G$ is closed ?  thanks


This is a little bit of a double-question.   Is the mobile app for Stack Exchange (in particular for iOS) still being developed? Is there any hope for adding in advanced features for the various review/mod tools?    (NOTE: To distinguish my question, I am specifically referring to the review and mod tools, not just the users' edit/delete functions.)  I understand that this would be a bit of work in both the front and back-end development if it's not already been put into play, so I don't have any expectations.

Recently I started to post  and  for , see:    and .   After realizing that the iOS app has better features and fewer bugs than the Android app, I  that Stack Exchange has decided to stop working on the Android app. In other words, very slow fixing of bugs, no work on features.  I've seen from About in the Android-app:     It is still evolving and we are committed to making it a little better each day   So, I want know why has Stack Exchange (nearly) stopped working on the , or at least working on it way less than on the ?  Update: Nearly after a year it seems nothing was done. I fear that the Stack Exchange Android App is being discontinued!


Files with the extensions .ts show up in finder as the kind "MPEG-2 Transport stream".   However I am developer and they are are actually text files, specifically TypeScript.  I tried changing the app associated with the files but that does not change the "kind".  Is there anyway I change the kind that MacOS associates with the extension .ts.   As when I use Spotlight and use "kind:movie".  All these text files show up.

I have assigned Text Wrangler as the default app for all my .srt files (right click on one of the files -> get info -> open with Text Wrangler -> change all).  My confusion is that even though I have done this, in Finder some of the (.srt) files show as "Text file" while most show as "TextWrangler document".  I've remove all the .DS_Store files in my volume but still no change.  Does anyone know how to fix this?  In saying that, double-clicking on the .srt files marked as "text file" still opens them in Text Wrangler.  thanks a lot


I recently noticed that when there are new-lines in the same chat message, Markdown support fails.  For example:  *Test*   **TEST**   This won't produce the expected output:     Test       TEST   It leaves the message as it is with the Markdown text included.  if needed.  Is this , or a ?

We've come to rename Markdown to Letdown in the  because it lets you down so often. I've now just found a pattern. It seems markdown . That is, this  Letdown can't cope with multi-line comments. Let's see code?  fails to display code marked as code, while this works  But code works.  Now, I think it would be Ok if you said chat messages shouldn't be multi-line. (Although I'd be a bit annoyed, because I like them.) But if so, please don't render them as multi-line (as is the case with comments), so we aren't tempted to use them.


Windows 10 has filename rules, which includes illegal characters and too long names for example. You can find all rules in this Microsoft Docs  article. I wanted to make a compact list of the most important ones but my markdown skills are not sufficient to make it clearly readable. I think some files got on my computer through syncing, decompressing files or other 'non-conventional' means and contain some illegal names or have too long paths/names. I don't exactly know how this happened. I speculate that the too long paths/filenames case is due to symbolic/relative paths. One case that I am very certain of is that some of my files contain emojis in their file names. Although they don't seem to be deemed as illegal characters, some applications have issues processing/opening them. Thus I would like to get rid of them as well. Is there a tool available that can detect those files and maybe even fix them for me? If there is no tool already available, a regex pattern would be very useful so I can integrate it in my regex based filename editor myself. I found a Regex pattern like [~"#%&*:<>?/\\{|}]+ from  but it only contains the reserved characters. How can I add emojis and characters not supported by NTFS filesystems to the pattern?

I have a song that Windows can't play because there is a question mark in the name of the file.  "Where Have All the Cowboys Gone?.ogg" // as an example   So I try to rename it and Windows complains whether I try it in Explorer or from command prompt.  Error I get when trying to copy, rename, or move is:     The Filename, directory name, or volume label syntax is incorrect   Is there a Windows way to force a rename in this case?   Update  I'll keep an eye on this question, but after 13 answers and many attempts (aside form 3rd party solutions) it seems that Windows can't do this (or at least my windows can't, no short names). So I'm accepting the answer which was my original solution anyway of using Linux. It would be nice to see Windows handle this somehow, so don't stop just because I've accepted this answer, the question still stands!


I am an Indian Citizen traveling to Montreal, Canada via LHR airport on a study permit. My layover at LHR(London-Heathrow) is 20 hours which goes to the next day. Consequently, I'll have to recollect my entire checked in baggage and get it rechecked for the next flight which binds me to go through the immigration again.   I wish to ask if I would need a transit visa or any other such document?

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


I am trying to create a python script to help clean up a folder that I create with powershell. This is a directory that contains folders named after the users for them to put stuff into. Once they leave our site, their folder remains and for all new staff who come a folder gets created. This means that we have over 250 folders but only 100 active staff. I have a test folder that I am using so that I can get the script working and then add in extra bits like moving the directories to an old location, and then deleting them based on age. But at the moment I am working on the delete portion of the script. So far I have the below script, it runs with no errors, but it doesn't actually do anything and I am failing to see why.. It should be reading a csv file that I have of all current staff members, and then comparing that to the folders located in the filepath and then removing any folders that dont match the names in the CSV file. The CSV file is generated from powershell using the same script that I used to create them. import os import pandas as pd  path = "//servername/Vault/Users$"   flist = pd.read_csv('D:/Staff List.csv')  file_name = flist['fileName'].tolist()  for fileName in os.listdir(path):   #If file is not present in list if fileName not in file_name:     #Get full path of file and remove it     full_file_path = os.path.join(path, fileName)     os.remove(full_file_path)

How can I delete the contents of a local folder in Python?  The current project is for Windows, but I would like to see *nix also.


I've just studied the Herbrand Theorem. I also used this fantastic explanation  .  What i dont understand, is why Herbrand's Theorem only applies to a set of clauses, and not to other sentences ?

I'm having trouble understanding how Herbrand models work. I feel like there is a bigger picture to it which I'm not understanding. Why does every satisfiable first order formula have a herbrand model at all ? Can I somehow construct a Herbrand model from a normal model ? My book also says that : a formula is unsatisfiable iff the Herbrand expansion is unsatisfiable. The book I'm using "Mathematical Logic for computer science by Mordechai Ben-Ari" has all the proofs of the above but its not very intuitive to me. Could somebody share their point of view?


I've encountered this quite a few times now. I'm aware that usually words, starting with a vowel require an "an", words not starting with a vowel are preceded by an "a".  Sometimes words start with a consonant, but when spoken out loud, it sounds like a vowel, for instance an hour.  Is the use of "an" in this case correct due to the sound it would make when spoke out loud?

Which indefinite article should precede hour — a or an?        an hour     a hour      Does the usage of an vs a depend on the pronunciation — a history, a hobby, but an hour, an honor?


Let $x,y,z \in \mathbb{R} $ Show that $ xz \leq yz  $ $ \land$ $ z > 0 $ $ \implies  x \leq y $.   Prove:   $ xz \leq yz  $ $ \implies 0 \leq yz -xz  \implies 0 \leq (y-x)\cdot z$  (For the next step, i want to use an axiom of the real numbers: for all $a,b  \in \mathbb{R} $  follows that $ 0 \leq a $ $\land$ $0 \leq b$ $\implies$ $0 \leq a\cdot b$.)  So by condition  $ z > 0 $ but i also must show that $0 \leq (y-x)$ how can i do these ?

How can I prove that if $ac>bc$ and $c>0$, then $a>b$ without division? Or Should I prove it by contrapositive?


I am doing a couple of exercise questions, How do I show that if we let  $n \geq 1$ be an integer, and if we consider $n$ people $P_1$,$P_2$,...,$P_n$. If we let $A_n$ be the number of ways these $n$ people can be divided into groups, such that each group consist of either one or two people.  How do we determine $A_{1}$, $A_{2}$, and , $A_{3}$ and how do we prove that for each integer $n\geq 3$,  $A_{n}$ = $A_{n-1}$ + $({n-1})$ $\cdot$ $A_{n-2}$

let $n \gt 1$ be an integer, and consider $n$ people; $P_1, P_2,..., P_n$ let $A_n$ be the number of ways these $n$ people can be divided into groups, such that each group have either one or two people  determine $A_1, A_2, A_3$  So I have  $A_1 = 1$ way $A_2 = 4$ way $A_3 = 12$ way  But I am not sure if this is right... Can anyone confirm?  edit:  My way of getting this is  $A_1 = 1 $ because {P1} only has 1 way to sort  $A_2 = 4$ because {P1,P2} = {P1,P2},{P2,P1},{P1P2},{P2P1}  etc.


What is the proper way to do a boot/hot-plug automount for ATA and USB storage devices on Linux systems using systemd without requiring a GUI or a user having to be logged in?  It seems that calling mount from a udev rule is  with systemd (so  are no longer guaranteed to work), and udisks does not automount if the user is not logged in locally.  The method should have a way to include mount options, so writability and filesystem masks can be set, as well as clean up after an "ungraceful" unmount (i.e., yanking the device out while still in use).    NOTE: This is a similar question , but that question concerns a specific use case on Debian systems. This question is for all Linux systems using systemd.

I am trying to automatically mount all readable internal and external drives on boot and on hot-plug if they are not already mounted, preferably as a non-root user.  I cannot use fstab to do this because the drives change too frequently, and udisks2 does not appear to automount devices when the user is not actually logged in locally.  I found a udev ruleset to accomplish something like this , but I have read that mounting via udev rules is a  and doesn't work anyway with systemd.  What would be the proper way to do this on a headless Debian (jessie) system?    Note: I've created this udev rule, but I'm not sure if it's the right way to go about this:  KERNEL!="sd[a-z][0-9]", GOTO="automount_disks_END"  # Check if it is a mountable disk, skip if not IMPORT{program}="/bin/udevadm info --query=property --name=%k" ENV{ID_TYPE}!="disk", GOTO="automount_disks_END" ENV{ID_FS_TYPE}=="", GOTO="automount_disks_END"  # Set mount options ACTION=="add", ENV{mount_options}="nosuid,nodev" ACTION=="add", ENV{ID_BUS}=="ata", ENV{mount_options}="$env{mount_options},rw,dmask=022,fmask=033" ACTION=="add", ENV{ID_BUS}=="usb", ENV{mount_options}="$env{mount_options},ro,noatime,dmask=222,fmask=333"  # Mount the disk ACTION=="add", RUN+="/bin/su - user -c \"/usr/bin/udisksctl mount --block-device /dev/%k --options $env{mount_options} --no-user-interaction\""  # Clean up after removal ACTION=="remove", RUN+="/bin/su - user -c \"/usr/bin/udisksctl unmount --force --block-device /dev/%k --no-user-interaction\""  # Exit LABEL="automount_disks_END"   This rule doesn't solve the authorization check issue for users who are not logged in locally, either.    CLARIFICATION:  What I'm basically looking for is the functionality of usbmount that works for ATA devices and doesn't clutter up the /media directory with unused folders, in short.


In C, I know that int main() returns an int where void main() does not. Other than that, is there a difference between them? Is the first better than the second?

What is the correct (most efficient) way to define the main() function in C and C++ — int main() or void main() — and why? And how about the arguments? If int main() then return 1 or return 0?  There are numerous duplicates of this question, including:       — For C++, with a very good answer indeed.     Related:


Let $A$ and $B$ be two nonempty sets. Can we show, without using the Axiom of Choice, that there must either be a surjection $A\to B$ or $B\to A$?  With Choice we can do this by using Zorn to obtain a maximal injective partial function $A\to B$, and then extending it to a surjection in one direction or the other.

Let $A$, $B$ be sets and denote by $A\leq^* B$ an assertion that if $A$ is non-empty, then there's a surjection from $B$ onto $A$. This might be understood as a dual definition of cardinality. (Typically we use injections to capture the notion of A not being bigger than B. The $\leq^*$ notation is to be read as B not being smaller than A.)  Is this relation trichotomous without using the axiom of choice? Meaning for every two sets $A$ and $B$, it holds $A\leq^* B$ or $B\leq^* A$. (I would be surprised). Would trichotomy imply some interesting extra-ZF axiom?  More broadly, is there anything to be said about $\leq^*$? For example how does it relate to the usual comparisons of cardinality by injections?  I suspect there's no clear answer, since it is somehow reminiscent of Partition Principle ($A\leq^* B \implies A\leq B$) and Weak Partition Principle ($A\leq^* B \implies B\not< A $) which both are independent of ZF.


I want to write tests for the code below.  For this I want to inject in a mocked HttpContext using RhinoMocks.  HttpContext is sealed though.  How should I handle this?  Thanks      public PaxiumPrincipal CreatePrincipalFromCookie(HttpContext context)     {         HttpCookie authCookie = context.Request.Cookies[FormsAuthentication.FormsCookieName];          if (authCookie == null)         {             return null;         };          var authTicket = FormsAuthentication.Decrypt(authCookie.Value);          if (authTicket == null)         {             return null;         };          var userPrincipal = new PaxiumPrincipal(new GenericIdentity(authTicket.Name), null);          return userPrincipal;     }

can be quite a pain.  I currently favor an  to handle this, but something about just keeps feels weird.    So, What is the best way you mock sealed classes?  Java answers are more than welcome.  In fact, I would anticipate that the Java community has been dealing with this longer and has a great deal to offer.  But here are some of the .NET opinions:


Let $f(x)\in C^{\infty}(\mathbb{R})$ , if for all $x\in\mathbb{R}$, there exists $n_x\in\mathbb{N}$ such that the $n_x$th derivative of $f$ at $x$ is $0$. Prove that $f(x)$ is a polynomial.

Let $f:\mathbb{C}\rightarrow\mathbb{C}$ be an entire function. And assume that at each point, one of it's derivatives vanishes.  What can you say about $f$?  A hint suggests that $f$ must be a polynomial.


I need to create a bijection between $[4,5)$ and $(9,12)$. My strategy was to do it in two parts. First I created a set $X=\{x_n \in [4,5) | n \in \mathbb N \cup \{0\}\}$ Such that $x_n=5-\frac {4}{2^{n+2}}$. Then I defined $h(x_n)=x_{n+1}$ and $p(x)=x$. Then $f(x)=h(x)$, if $x \in X$ and $f(x)=p(x)$ otherwise. Then $f(x)$ takes the interval $[4,5)$ to $(4,5)$ Next I defined $g(x)=3x-3$ to take the open interval $(4,5)$ to $(9,12)$. Then I composed the two functions and got $F(x)=g(x_{n+1})$, if $x \in X$ and $F(x)=g(x)$ otherwise. Is this correct or have I made a mistake? How to I prove if this is a bijection?

How to define a bijection between $(0,1)$ and $(0,1]$?   Or any other open and closed intervals?   If the intervals are both open like $(-1,2)\text{ and }(-5,4)$ I do a cheap trick (don't know if that's how you're supposed to do it): I make a function $f : (-1, 2)\rightarrow (-5, 4)$ of the form $f(x)=mx+b$ by \begin{align*} -5 = f(-1) &= m(-1)+b \\ 4 = f(2) &= m(2) + b \end{align*} Solving for $m$ and $b$ I find $m=3\text{ and }b=-2$ so then $f(x)=3x-2.$  Then I show that $f$ is a bijection by showing that it is injective and surjective.


How do I delete one of my accounts/email addresses?  I have two and I just want one. I want to get rid of the old one.

How do I remove login credentials (emails or OpenIDs) from my account?     For more information, see "" in the .


I am pursuing a degree in Mathematics and have a strong interest on music. I would like to understand the physical basis of how is music made. Does someone know some bibliography on this subject?

Apart from physics, I love music and I want to learn about musical acoustics.   I know some things, but the problem is that most of musical acoustics books are written for musicians. That means that there're no demonstrations, and the physical concepts are explained so briefly. You can usually find formulas for the vibrating string or tubes, frequencies of the notes, etc. But I know that already!. On the other hand, acoustics books doesn't include information about musical acoustics. Or the basics, again.   I'm trying to find a musical acoustics book (or books, or articles) which fulfill:   Written for physicist. I want demonstrations of the formulas, even if they're sketched. Complete information about musical instruments. Not only vibrating strings / tube formulas. I want also information about vibrating membranes and metals, application of the formulas to particular cases (for example, difference between violin and viola, or clarinet and saxophone). Application of acoustics/waves concepts to music. For example, acoustic impedance, or diffraction.  Basic concepts about sonority. Tuning system. Differences of tuning system between instruments.   Of course, I've studied waves in my undergraduate course. I know about solving the wave equation for a particular case with initial conditions, wave packets, Fourier analysis...


I have a problem that I don't under because I don't know what the answer is because there are two lots of brackets in D B n D when B = {6,7,8,9} when D = {{6,7},6,4}

What does it mean when you have a set like A = {1, {2}, 3, 4}? Is {2} a subset within A?  Say I have the following:  A = {1, {2}, 3, 4}, B = {1, 2, {3}}, C = {1, 2}  How many elements are in $A \cap B \cap C$? 1 or 2?  What if I want to find $A \times B$, is there 6 elements or 12?


I recently migrated from Ubuntu 12.04LTS to 14.04 LTS .I had issues with my 12.04 so I did a factory restore and then upgraded to 14.04.My system is upgraded to 14.04 with no issues but The first thing I see is after restarting a pop up comes system problem detected.If I cancel it I don't see any issues,however the real problem is when I try to install nodejs using the below link---  curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -   then I see some weird erros---------  Fetched 23.7 MB in 23s (1,028 kB/s)                                             W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources  Hash Sum mismatch W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages  Hash Sum mismatch W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages  Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead.   I did try with below solution  sudo rm -vf /var/lib/apt/lists/* but it again gives this error rm: cannot remove ‘/var/lib/apt/lists/partial’: Is a directory  Please help me on this as I am struggling with this.

When I check for updates, I get a "Failed To Download Repository Information" error.   This is what comes up under details:   W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources  Hash Sum mismatch,  E: Some index files failed to download. They have been ignored, or old ones used instead.


I have a windows server 2008 with PHP on it and a few Wordpress sites on it. I got a virus some time ago. I thought I had it deleted and everything was fine but after looking at my Quarantine section of my antivirus, I noticed that everyday it catches this virus.  Here is a description from the Antivirus (Microsoft Security Essentials).     Category: Backdoor      Description: This program provides remote access to the computer it is   installed on.      Recommended action: Remove this software immediately.      Items:  file:C:\Windows\Temp\phpE138.tmp      Get more information about this item online.   I don't have a clue where the source of this virus is at. Some people say it could be hidden behind an image (using base 64 decode they get the actual code and run it), others say it gets stored in the database... thing is that everyday my antivirus catches this, what it seems to be" self generated files in the temp folder.  Has anyone experienced this before?  Thanks.

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


how do I test an IllegalArgumentException exception with junit? public static double divide(int dividend, int divisor) {         if (divisor == 0)             throw new IllegalArgumentException("Cannot divide by zero (0).");         return dividend / divisor;     }

How can I use JUnit4 idiomatically to test that some code throws an exception?  While I can certainly do something like this:  @Test public void testFooThrowsIndexOutOfBoundsException() {   boolean thrown = false;    try {     foo.doStuff();   } catch (IndexOutOfBoundsException e) {     thrown = true;   }    assertTrue(thrown); }   I recall that there is an annotation or an Assert.xyz or something that is far less kludgy and far more in-the-spirit of JUnit for these sorts of situations.


I'd like to show the co-ordinates of all the points which have been used for plotting a curve. For this I have created individual nodes for all points manually, is there a better way to do this? I've gone through the documentation of tikz-pgf but I couldn't find a solution. Here's the plot: \documentclass[12pt,a4paper]{article}  \usepackage[a4paper,margin=2cm]{geometry} \usepackage{pgfplots,tikz,siunitx,float,amsfonts,amsmath,amssymb} \pgfplotsset{compat=1.16} \usetikzlibrary{intersections, positioning, calc, math}  \begin{document}     \begin{figure}[htb]         \centering         \begin{tikzpicture}              \begin{axis}[                 axis lines=left, thick, grid=both,                     width=0.8\textwidth, height=0.8\textwidth,                     xmin=0,xmax=110, ymin=0,ymax=150, y=0.06cm,                     xlabel={Upper Limits}, ylabel={Cumulative Frequency}                 ]                  \addplot[color = black,smooth,very thick,mark=*,name path=h1] coordinates {                     (10,3)(20,7)(30,19)(40,37)(50,57)(60,82)(70,94)(80,102)(90,108)(100,110)                 };                                   \legend{Less-Than type Ogive Curve}                 \draw (10,3) node [above]{$(10,3)$};                 \draw (20,7) node [above]{$(20,7)$};                 \draw (30,19) node [above]{$(30,19)$};                 \draw (40,37) node [above]{$(40,37)$};                 \draw (50,57) node [above]{$(50,57)$};                 \draw (60,82) node [above]{$(60,82)$};                 \draw (70,94) node [right]{$(70,94)$};                 \draw (80,102) node [above]{$(80,102)$};                 \draw (90,108) node [below]{$(90,108)$};                 \draw (100,110) node [above]{$(100,110)$};             \end{axis}                      \end{tikzpicture}         \caption{Less-Than type Ogive Curve.}     \end{figure}  \end{document}

I would like to label each plotted point with its x and y coordinate. I am able to label with a single one using the MWE below. I must avoid manually labeling each point since my actual table size is larger and will be changed out regularly. \documentclass{standalone}   \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.16}  \begin{document}  \pgfplotstableread[col sep=&,row sep=\\]{  x     &  y     \\  0.940 &  0.992 \\  0.992 & -0.940 \\ -0.992 &  0.940 \\ -0.940 & -0.992 \\ }\mytable  \begin{tikzpicture}  \begin{axis}     \addplot+[only marks, nodes near coords]table[x=x,y=y,meta=x]{\mytable}; \end{axis}  \end{tikzpicture} \end{document}  which creates the following figure  The desired output is for each point to be labelled with both coordinates. For specific example the top left point would be labelled with "(0.94, 0.992)".


So i'm trying to make assets for a video game and I recently hit an obstacle, and that obstacle was adding emission to a certain face on my 3D model.... Can anyone help me out?

How do you add more than one material to a mesh?   I have tried adding two materials to the object, and then assigning one of the materials to a vertex-group, but I could not find a place to assign it.  I am making a striped bouncy ball that I want to deform, so adding a different material by separating the mesh into different objects would not be ideal.


Recently, I have been getting more and more search results from different search engines that all point to . But the original articles that are shown there seem to come from Stack Overflow.  Is the site related to Stack Overflow or is it a fake site? It's very confusing.

of Stack Overflow, all content posted on Stack Exchange sites by their users (i.e. you wonderful people) has been provided to the whole universe under . For my fellow non-lawyers, that license basically means:   Anyone can use any Stack Exchange posts at any time without having to ask for permission Making money off of the copied content is permitted You don't even have to copy stuff from here verbatim; you can just use it as a starting point and make whatever edits you want There are just two rules you have to follow:   You have to provide . Simple links to the original post and author info are just fine. You have to  and allow other people to use your content, as long as they follow these very same rules. How meta!    (If you ever forget any of that, and want to refresh your memory, the license info is linked to in the footer of every page.)  There are, in fact, a lot of people who republish varying amounts of our content for assorted reasons. Unfortunately, there are some Stack Content Republishers Attributing Poorly and/or Excelling at Ranking (SCRAPERs, for short).  In this context, "attributing poorly" means any use that doesn't follow our attribution rules or make any other reasonable attempt at give credit. This can get pretty egregious; I've seen SCRAPERs that not only don't link back to SE originals, but also use fake author info and post dates to make it harder to find originals. By "excelling at ranking," I'm referring to copycat sites that end up higher in Google results than the original SE sites do for the same content. That's not necessarily wrong, but in some cases, it indicates inappropriate SEO hackery.  So, the question is: what can you do if you spot a SCRAPER?


A very minor bug appeared when I used the flag review tool today for the first time ever.    Steps to reproduce:   Open flag review, select question Vote to close the question Attempt to flag the question   I believe it should state a number (instead of "undefined") for how many more votes are needed, and it should show the action (putting the flag you assigned a moment before) as completed.

I  as unclear what you're asking after receiving flags on it in the moderator queue.   Once I did that, the text for the question title in the moderator queue changed from:     How to use handler to display images from database without passing ID in querystring?    to     How to use handler to display images from database without passing ID in querystring? [undefined more votes needed]    The text on the main page has stayed consistent with the new 'on hold' verbiage, however.  Here's a screenshot:


I have two search boxes on the page. First one is the universal search in the main navigation bar and the other one to filter map pins based on location. What do you guys think?   P.S I am unable to get usability testing done now due to time constraints.

The main use of my site is video browsing. There is a search bar in the nav to search for videos. My site also has a photo section.  I need to add search functionality on the photo section. I'm torn between:   Having 2 search bars. The one in the nav for videos and one towards the top when browsing the photo sections. When browsing the photo section, the nav search bar only searches photos. (Don't think this is a good idea..) A multiple select search.. So a dropdown next to the search bar that lets users toggle between video and photo search. When browsing photos the default selected is photos.


Recently, I gave my opinion to a moderator on the Stack Exchange Movies & TV chat room and was scolded like a child. It is very frustrating to me to make a comment in the chat room and constantly be scrutinized for not being in their "club".  I read a previous question, . The answer to that question is:        Send a message to the Stack Exchange team via the "contact us" link at the bottom of any page with your complaint and links to the questions/answers.   Flag for moderator attention and request a second moderator to have a look.         For the record, here are levels of moderation (from highest to lowest):         Developers - Stack Exchange developer team   Community team   Diamond moderators - Elected by the community or appointed as moderators "pro tempore" for beta-sites.   Regular users with reputation points-based privileges      There are only a handful of users that chat in that room, and I believe that most of them are moderators due to the fact that they have the power to delete comments/questions, etc. They all agree with the one moderator who is basically their "leader" So, that is where my frustration lies.  Also, there is never any chat about movies and TV. It is only complaining about ID questions or putting down other Stack Exchange sites if they are beta. It is just frustrating because I love movies and TV, but unfortunately, the chat room never discusses any of that. They are all too worried about the way their Stack Exchange site looks to other Stack Exchange sites… (but only the ones that matter).  What can I do as a new user to chat about Movies & TV on Stack Exchange without a moderator always in the room "judging" every word I say?

One or more of the following things happened to me on a Stack Exchange site:   My post(s) were wrongly deleted or locked by a moderator A moderator posted a wrong comment on one of my posts I was suspended, but did not do anything wrong I asked a meta question, but the question was closed and/or deleted A moderator discredited me in public ...   I think a moderator has abused their power, but I feel powerless against them.  What recourse do I have now? What can I do when I feel that a moderator has abused their power, and has been repeatedly unfair in their dealings with me?


I am not able to install node-v8.2.1-linux-x64.tar.xz in my Ubuntu 16.04.  I am installing node via source - I do not want an apt solution as per:    Message I am getting:-  npm WARN saveError ENOENT: no such file or directory, open  '/home/ubuntuser/Downloads/node-v8.2.1-linux-x64/lib/package.json' npm WARN enoent ENOENT: no such file or directory, open  '/home/vishnu/Downloads/node-v8.2.1-linux-x64/lib/package.json' npm WARN lib No description npm WARN lib No repository field. npm WARN lib No README data npm WARN lib No license field.   Can anybody post the step by step installation process?

How can I install  on Ubuntu using apt-get utilities?


I'm wondering whether anyone succeeded at setting up ArcMap to debug python scripts in PyCharm. I've tried several times to configure both, but failed.

How would I setup  to recognize import arcpy?   I'd like to use PyCharm to develop and debug geoprocessing tool.


The  supposedly requests $< \infty$ for the upper limit:     (...) an integral of the form $\int_{a(x)}^{b(x)}f(x,t)dt$, where $-\infty<a(x)$, $b(x)<\infty$, (...)   However, I can still do something like this:  $\displaystyle \int_{0}^{\infty} t^4e^{-xt} \text{dt} = \int_{0}^{\infty} \frac{\text{d}^4}{\text{d}x^4} e^{-xt} \text{dt} = \frac{\text{d}^4}{\text{d}x^4} \int_{0}^{\infty} e^{-xt} \text{dt} = \frac{\text{d}^4}{\text{d}x^4} x^{-1} = 24x^{-5}$  Why does this still work? Is this another rule?

I am trying to take the derivative with respect to $a$ of some function $I(a)=\int_{0}^{\infty}f(a,x)dx$.  I would like to make sure that I am using the  correctly.  Various web sources indicate a set of conditions that must hold for $f(x,a)$ and $\frac{\partial f(x,a)}{\partial a}$ when integration is done over infinite region.  From reading  (see Theorem 10.3 on page 13) the conditions that $f(x,a)$ and $\frac{\partial f(x,a)}{\partial a}$ must obey are:   $f(x,a)$ and $\frac{\partial f(x,a)}{\partial a}$ are continuous over $x\in[0,\infty)$ and around $a$ that we are interested in. There exists an integrable function (over $x$) $g(x)$ such that $|\frac{\partial f(x,a)}{\partial a}|\leq g(x)$. There exists an integrable function (over $x$) $h(x)$ such that $|f(x,a)|\leq h(x)$.   Integrable here means $\int_{-\infty}^{\infty}g(x)dx<\infty$.  However,  seems to omit condition 3 above.  I am wondering which source is correct.  If there are "both correct", when is condition 3 necessary?


I have an approval process for timesheet entry:    I have a timesheet entry which is fulfilling criteria for the approval process.  The approval process is in active state.  I am doing something like below in trigger for TimesheetEntry:  List<Approval.ProcessResult> result = Approval.process(requestList);   Getting the below error while submitting the timesheet entry for approval:  System.DmlException: Process failed. First exception on row 0; first error: NO_APPLICABLE_PROCESS, No applicable approval process was found.: []:   I tried to query the TimesheetEntry using the approval process criteria, Able to see my TimesheetEntry(Subject of this entry is 1):    What am I missing here?

// Insert an account  Account a = new Account(Name='Test',                      annualRevenue=100.0);  insert a;  // Create an approval request for the account Approval.ProcessSubmitRequest req1 =        new Approval.ProcessSubmitRequest(); req1.setObjectId(a.id); req1.setNextApproverIds(new Id[] {'***************'}); // Submit the approval request for the account Approval.ProcessResult result =                     Approval.process(req1);   Am trying to execute this code in anonymous block. How ever when tried in trigger i got same error all the time. Hard coded next approvers ID. No luck.  Any suggestions on what am I doing wrong ? Please help!!


I can't find anything online about this, maybe I'm just dumb, but I was wondering, if you put a propeller inside of a air tight, water tight box, and turned it on, would it propel the box? If not, why?

Suppose that I have a box in space and it is filled with air in it. I keep a fan at one end and blew the air to other end. The air will hit the box with some velocity, so it should move.  I know that this is completely false because the momentum of the system remains constant. But somehow I cannot explain that clearly.


What sort of exporting format should I be using? Or will I have to re-assign all of the textures again? Thanks.

I have created several designs for a particular project and they are related, but I don't want to have to keep recreating any similar elements, such as shared materials or textures.  How can I use the existing data in a new Blender file?


When I am trying urdu in the table column it is going outside of the page width in latex this is my code of writing urdu inside the table  \begin{table}[htbp] \caption{CHECKING OF URDU IN LATEX} \begin{center} \begin{tabular}{|c|c|c|} \hline s# & Type & Words \\ \hline 1 & Normal & \begin{urdu} ریڈیو پاکستان کی عمارت کو لیز پر دینے کا حکومتی فیصلہ ’پچاس ارب کی پراپرٹی پر مندر تو نہیں بنا سکت  \end{urdu} \\ \hline 2 & Normal & \begin{urdu} چائنیز سفیر اردو بڑی اچھی بولتا ہے عثمان بزدار کی مسکراہٹ سے اندازہ لگا لو \end{urdu} \\  \hline 3 & Normal & \begin{urdu} ہم آپ سے بہت پیار کرتے ہیں، لہذا ہم اس اردو کے غلط تحریر پر ہنس نہیں کرتے ہیں \end{urdu} \\   \end{tabular} \label{tab1} \end{center} \end{table}

I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met:   The table is too wide to fit within the text block or page. That is, I'm exceeding some horizontal restriction. The table is too tall to fit within the text block or page. That is, I'm exceeding some vertical restriction.   What are my options to make this table fit? If it doesn't fit, regardless of my attempts, what other options exist?


I split my data into training set and test set and am running linear regression on it. I am using Python's "scikit" library and I am getting an $R^2$ score of 0.31 and an RMSE value of 0.037. The response variable in my regression consists of values between 0 and 1 so the RMSE value is giving me an error rate of 3.7%. However, the low $R^2$ score indicates that the model is not working well. I'm not sure if I'm misunderstanding these metrics and not sure how to interpret these results. I would appreciate any guidance.

I've fitted my model and am trying to understand whether it's any good. I've calculated the recommended metrics to assess it ($R^2$/ AUC / accuracy / prediction error / etc) but do not know how to interpret them. In short, how do I tell if my model is any good based on the metric? Is an $R^2$ of 0.6 (for example) sufficient to let me proceed to draw inferences or base scientific/business decisions?     This question is intentionally broad, to cover a wide variety of situations that members frequently encounter; such questions could be closed as duplicates of this one. Edits to broaden the scope beyond the metrics mentioned here are welcome, as are additional answers - particularly those that offer insight about other classes of metrics.


Is it true that the light from some galaxies will never reach us?   The explanation for that is that the Universe expanding faster than the speed of light. But, if the speed of light is constant in all reference frames, then in the reference frame of a galaxy, light must move at the speed of light and thus it must reach us (?).   Could you also explain  how is it possible that the Universe is expanding faster than the speed of light if an object can never be observed to move faster than light? (without Doppler effects).

Is this a postulate? I get the expansion of the universe, the addition of discrete bits of space time between me and a distant galaxy, until very distant parts of the universe are moving relative to me, faster than the speed of light. But the other sure seems like  (giant steaming load of convenience) I think I get reasons why, because they don't have any other way to explain the size of the universe and so on. Just seems it would be much easier to  say the universe is eternal and cyclical in nature, and call it a day!


I found out an OLD pc with the following specification: Intel core Duo CPU 1.8 GHz RAM 2.00 GB Can I install Ubuntu on it? if not what is the best distro?

I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the "official  requirements", the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below.