What is the format of Minecraft.net account names?

What is the format of  account names?  The information I have a use for is:   what characters are permitted or prohibited? what is the maximum length? are they always treated as case-insensitive?   However, a complete, exact definition of the allowed format would be appreciated.


Let $ζ_7=e^{i2\pi/7}$ be a 7th root of unity. The field $\Bbb{Q}(ζ_7)$ contains a quadratic subfield that can be expressed in the form of $\Bbb{Q}(\sqrt{D})$ where D is an integer. What is D?  I understand that there is a field extension of order 6 and therefore there will be a quadratic subfield, but how do we find out what D is?


In my profile I saw this:     Accounts (48) - 1 hidden account   as seen in this image:        So, what is this "hidden account"? And how do I see it?


I have recently installed  the centos  server. I have configured apache and all the mysql packages.  I have also one live IP. When I run the webserver with the live IP on the centos webserver itself all looks good. But when I try to access remotely via another IP, it says "unable to connect".  I have also set up iptables. yet i am not able to access the server - please, can any one help? This is my iptable file:   # Generated by iptables-save v1.4.7 on Sat Mar 16 21:12:18 2013 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [20928:2320365] -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT -A INPUT -j REJECT --reject-with icmp-host-prohibited -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT -A FORWARD -j REJECT --reject-with icmp-host-prohibited COMMIT # Completed on Sat Mar 16 21:12:18 201   And here's the output from netstat:  Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name    tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      2109/mysqld          tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1575/rpcbind         tcp        0      0 0.0.0.0:54354               0.0.0.0:*                   LISTEN      1770/rpc.statd       tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      1971/vsftpd          tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1828/cupsd           tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      2205/master          tcp        0      0 :::51272                    :::*                        LISTEN      1770/rpc.statd       tcp        0      0 :::111                      :::*                        LISTEN      1575/rpcbind         tcp        0      0 :::80                       :::*                        LISTEN      3026/httpd           tcp        0      0 ::1:631                     :::*                        LISTEN      1828/cupsd           udp        0      0 0.0.0.0:43728               0.0.0.0:*                               1770/rpc.statd       udp        0      0 0.0.0.0:5353                0.0.0.0:*                               1751/avahi-daemon    udp        0      0 0.0.0.0:111                 0.0.0.0:*                               1575/rpcbind         udp        0      0 0.0.0.0:631                 0.0.0.0:*                               1828/cupsd           udp        0      0 0.0.0.0:902                 0.0.0.0:*                               1575/rpcbind         udp        0      0 0.0.0.0:674                 0.0.0.0:*                               1770/rpc.statd       udp        0      0 0.0.0.0:39847               0.0.0.0:*                               1751/avahi-daemon    udp        0      0 :::33127                    :::*                                    1770/rpc.statd       udp        0      0 :::111                      :::*                                    1575/rpcbind         udp        0      0 :::902                      :::*                                    1575/rpcbind       I'm also having port 80 listen.


In Mario Kart 8, the player can pick up coins. Having never played the game (only watched You-tubers play it), I don't see the importance of these. But, the people I watch seem to make a big deal about getting as many as they can, up to a max of 10.  What is the point of collecting these coins?


How can I change the last edited date of a file? There doesn't seem to be anything like:  chlastediteddate  12/7/12 file   What command can do this? Is there a way to do this without changing what the computer thinks is the date, editing the file, and correcting what the computer thinks is the date?


Right now in the iOS app, I have to save my answer as a draft in order to view the question. Since I'm often referring back to the question, this is inconvenient and less friendly than the old app (although many other things are improved!)  I would love to be able to glance back, either by scrolling up, by showing the Q on the right, or any other means.   Thanks for the awesome app and community!


How do you iterate through every day of the year?

Given a start date of 1/1/2009 and an end date of 12/31/2009, how can I iterate through each date and retrieve a DateTime value using c#?  Thanks!


Using 'sed' to find and replace ampersand (&) with problem

Special case with ampersand (&) with sed Want to replace string with & character string in bash INPUT:   var1=''XXX&XXX' Input : sed -i 's/WW/$var1/g' test  Output:  $cat test XXXWWXXX   expected output would be : XXX&XXX PS: String would by Dynamic, So here i don't want to modify variable with escape character, Any solution in Shell ?


Netcat gives different responses based on IP I give it

I'm currently trying to diagnose why my build of Libreoffice online keeps giving '504 Timed Out' errors on my nginx reverse proxy. I shutdown the entire daemon, hoping to see an error along the lines of 'Connection Refused' but I still get Connection timed out.  So I fired up netcat (nc) and ran the following:  nc 192.168.1.13 9980 -v   And it gives me the following response:  nc: connect to 192.168.1.13 port 9980 (tcp) failed: connection timed out   So I figured that the daemon was still alive somewhere hidden on my system, so I rebooted it an verified that nothing was on port 9980 with netstat.   When I run this command from the server itself:  nc localhost 9980 -v   It says connection refused! Even though localhost and 192.168.1.13 point to the same machine!  Also: Results of ip addr are 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000     link/ether d0:67:e5:23:50:56 brd ff:ff:ff:ff:ff:ff     inet 192.168.1.13/24 brd 192.168.1.255 scope global dynamic noprefixroute enp3s0        valid_lft 2719sec preferred_lft 2719sec     inet6 fe80::ca8b:d4b8:34aa:7036/64 scope link noprefixroute         valid_lft forever preferred_lft forever   I figured it may have been a firewall error, so I temporarily flushed every iptables rule and added one back.  iptables -A INPUT -p tcp --dport 9980 -j REJECT   Again, nc on 192.168.1.13 times out and nc on localhost gives me connection refused.  Essentially, my issue is this:  nc 192.168.1.13 9980 ---> Connection timed out  nc localhost 9980 ---> Connection refused  Why are there different answers if they are both the same machine?  Any ideas on what could be going on with the network? I'd really like to avoid changing ips since a few services on another computer depend on that ip remaining static.  Duplicate edit: I read the question that was referred to when this was marked as a duplicate, and here's why I believe my question is different:  I'm not asking why Connection refused is appearing. I want that to appear. I want to know why the connection is timing out, even when the host is reachable on literally every other port. And I mentioned in the question above that I checked the firewall settings and flushed everything to get rid of variables, which still causes it to timeout. In the other question, the answer simply says "A port isn't open" (I'm aware) and "A firewall is blocking it" (I took diagnostic steps so it wasn't)


Meaning of pass by reference in C and C++?

I am confused about the meaning of "pass by reference" in C and C++.  In C, there are no references. So I guess pass by reference means passing a pointer. But then why not call it pass by pointer?  In C++, we have both pointers and references (and stuff like iterators that lies close). So what does pass by reference mean here?


LG G3 -504 bug (also cannot install .apk) of Facebook

my friend has LG G3, recently updated to Android 6.0 Marshmallow and he gets -504 error code when he tries to install official Facebook app. I even tried to download .apk and tried multiple version but no progress. It doesn't looks like it's a gateway problem and he's pretty desperate. I looked at some answers and tried removing cache etc. but nothing has solved the problem. I look for any help. Thanks very much for any reply. -Feldrod


How can I run ALL my Apps “as administrator” in windows 10

I know about the suggestions of . However not one option provides an answer to my question. I want to run as admin all applications without executing an action for each one of them.


Due to TIME stopping, are contemporary Black Holes really just Large SHELLS of Matter and not Singularities?

If TIME slows down as you approach a Black Hole, has there been sufficient time in our Universe (13.8 Billion Years since the Big Bang occurred) for ANY matter inside the Event Horizon of ANY Black Hole to reach the "center" - or form a singularity ? In the given age of our Universe (13.8 Billion Years) would not all Black Holes be huge (rotating) spherical SHELLS where the in-falling Matter accumulates and gets compressed just inside of the Event Horizon and , in it's very slow time frame, has not had sufficient time to traverse the space toward the supposed central SINGULARITY ? This might obviate the actual existence of "Singularities". That is, there may not been sufficient elapsed TIME (in 13.8 Billion of our years) for any singularity to have actually formed in OUR 'normal time' universe. It might be that our Universe is too young to have had enough time (inside the Black Holes) for a true 'singularity' to have formed....it may be an ongoing process and takes maybe Trillions of years to accomplish.


How to evaluate $\lim_{x \rightarrow \infty} \left(\left(\frac{x+1}{x-1}\right)^x -e^2\right){x}^2$

I want to find the limit of the following expression: $$\lim_{x \rightarrow \infty} \left(\left(\frac{x+1}{x-1}\right)^x -e^2\right){x}^2.$$ I got the limit of the first term as $e^2$ so the problem now becomes equivalent to evaluating a $0 \times \infty$  limit, but I'm having difficulty proceeding after this. I tried applying L'Hospital's rule but the derivative gets really complicated after a while. I also tried applying series expansions but that too got me nowhere. Could anyone please tell me how to proceed with this problem?


How to write prepared statement for a query containing multiple SELECT statements

I want to the following using prepared statements:  <?php   $sql = "SELECT name FROM B WHERE profile_id IN (SELECT profile_id FROM A WHERE login_id='$email')     UNION SELECT name FROM C WHERE profile_id IN (SELECT profile_id FROM A WHERE login_id='$email')";  $result = mysqli_query($conn,$sql);  ?>   Here, A is the main table, B and C are sub tables. In the main table, the primary key is profile_id. The tables B and C have a foreign key referencing A's profile_id.


How to delete an item from recyclerview and sqlite?

I try to delete an item from recyclerview and from slqlite data base.  These are the activities:   1.The database  DatabaseHandler.java  public  void deleteTask(long position){     SQLiteDatabase db = this.getWritableDatabase();     db.delete(TABLE_TASKS, KEY_TASK_ID + "=" + position, null);     db.close(); }    The onBindViewHolder from TaskAdapter   TaskAdapter.java  @Override public void onBindViewHolder(@NonNull ViewHolder holder, final int position) {     final Task stringTask = tasksList.get(position);     holder.taskText.setText(stringTask.getTaskName());     holder.dateText.setText(stringTask.getTaskDate());     holder.id = stringTask.getID();     holder.deleteButton.setOnClickListener(new View.OnClickListener(){         @Override         public void onClick(View view){              tasksList.remove(position);             notifyItemRemoved(position);              dth.deleteTask(stringTask.getID());           }     });  }   This is the error:   java.lang.NullPointerException: Attempt to invoke virtual method 'void com.example.android.todolistapp.DatabaseHandler.deleteTask(long)' on a null object reference at com.example.android.todolistapp.TaskAdapter$1.onClick(TaskAdapter.java:51) at android.view.View.performClick(View.java:6935) at android.widget.TextView.performClick(TextView.java:12738) at android.view.View$PerformClick.run(View.java:26211) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:7000) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)


How can a complete web page be saved and viewed on an Android device?

There are situations I require to save a "complete" web page for offline reading. I can easily do that on Windows by saving the web page, but not on Android.  I am using Chrome on Android and I don't see a "save" option. Instead, I see "Save link" which, I believe, saves "only" the "pure HTML" version of a site of which the link leads to.  I have tried this but, when I view it in the HTML Viewer a lot of necessary CSS formatting and all the images were lost, which made the information misleading and incomplete respectively. (PS I thought I downloaded the complete page and the fault was that of the HTML Viewer for not rendering every thing, but I was wrong, as the desktop Chrome also displayed the "only HTML" version when I transferred those pages to my laptop through Bluetooth).  So, my question is: How can I download "a complete" web page on my Android smart-phone. It's OK if I can't view it on my smart-phone, but every thing should be in place when I view it on my laptop after transferring it. It is also OK if it is saved as a PDF file.  (PS I'm asking this as I use internet very often in my smartphone because my laptop is not connected to the internet. Also I want to transfer it to my laptop because I don't want to view those "important" pages on a small screen, it's inconvenient).


How to integrate $\int \sin^3 x dx$ step by step

I wasn't able to find this question on another post, and I apologize if its out there.   I have been trying to solve this integral and am not sure how to start. $$\int \sin^3 x dx$$  Thanks


apt-get update "signatures were invalid" error

When running  sudo apt-get update   I'm getting this error  W: GPG error: http://us.archive.ubuntu.com trusty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>   How can I fix this?


what can I do to get out of a question ban in stack overflow site?

I have gone through this   I understood that to get out of a question ban I need to improve my old posts but my question is that I have posted only 4 questions and I got answers on all these question and I improved and modified these questions but still I am banned on stack overflow. I also tried to delete my questions but as it has answers I am unable to delete these posts. What else I need to do?


Zero-inflated model does not produce zeroes in fitted values?

I have used GAMLSS to fit a zero-inflated model. However, when I then turn around and FIT that model, it produces absolutely no zeroes at all (even though the data used to fit the model is about 40 % zeroes).  What's going on here?


"E: Unable to locate package mtp-tools", although universe repository is enabled. "AppStream cache update failed"

I downloaded Ubuntu 16.04.3 LTS and installed the iso file as a virtual machine in VirtualBox running on Windows 7.  I enabled the universe repository:  sudo add-apt-repository universe   I got this result:  'universe' distribution component enabled for all sources   I updated:  sudo apt-get update   I got this result:  AppStream cache update failed   I then tried to download a package:  sudo apt-get install mtp-tools   I got this result:  E:  Unable to locate package mtp-tools


Replace a string including a slash "/" using sed command

How do I replace a string I1Rov4Rvh/GtjpuuYttr== with mytest in a file mtestsed.properties with sed command?   I have tried:  sed -e -i 's/I1Rov4Rvh/GtjpuuYttr==/mytest/g' mtestsed.properties


Difference between binary semaphore and mutex

Is there any difference between a binary semaphore and mutex or are they essentially the same?


It is my understanding that the java.regex package does not have support for named groups () so can anyone point me towards a third-party library that does?  I've looked at  but its last release was in 2002 and it didn't work for me (admittedly I only tried briefly) under java5.


I encountered this term Hindley-Milner, and I'm not sure if grasp what it means. I've read the following posts:  Steve Yegge -  Steve Yegge -  Daniel Spiewak -   But there is no single entry for this term in wikipedia where usually offers me a concise explanation. Note - one has  What is it? What languages and tools implement or use it? Would you please offer a concise answer?


Correct me if I am wrong. Is lifting a ban from any one sub site of Stack Exchange by answering questions on any other site or only on that particular site?  I am bannded from Stack Overflow to only asking questions and that too improper. The way it is mentioned here is that the system automatically calculates points internally. So when I start giving answers (I have not given yet), I'll eventually be able to lift this ban. Is it true?


What book has a man in a world on the brink of an ice age with a wizard mentor?

I'm trying to find the title of an old fantasy book I read at least 20 years ago, but I have very little to help identify it.  Obviously I don't remember the author name, I think it was written in the 80s or late 70s.  It was a classic premise with a modern day man from our world, transported to a fantasy setting. The world I remember was on the brink of an Ice Age and the main character and  wizard mentor found a keep to save the human race.  In the keep they found ancient machinery to produce light, warmth and food.  The magic in this world was glyph based, using the true meaning of word to change reality. Obviously the main character becomes a magician even if not really that skilled.  I think there was also a triangle with the main character, a princess and a dead husband who was not so dead after all, but it's all really foggy.  There were at least two books in the series.


I have a Dahon Mariner, can I replace 20x1.6" tyre with 20x1.79?

I have a Dahon Mariner Bike. Can I replace a 20 x 1.6" back tyre with a 20 x 1.79" tyre as I can't get hold of a 1.6?


how to create bootable USB drive (ubuntu)

I want to create a bootable USB key drive in order to be able to run/install an Ubuntu ISO image with it.  How can I do that using Ubuntu (command line) ?


How did planets start to spin and do all of them spin in same direction?

How did planets start to spin in the first place?  Some say that gases which condense and form planets start spinning and hence planets acquire a spin. And some say that they start to spin to conserve angular momentum. Can someone give an explanation about this?  Also, do all planets spin in the same direction? If they do, then why? Also, why do planets have the same chosen rotation direction?


I have an instance running on Amazon EC2.  I need to point my domain example.com at 1und1 to this instance.  How do I do this?


making subsubsections visible in the TOC

I'm trying to write a report, and I've defined that it defines 3 numbered levels (section, subsection & subsusection) using \setcounter{secnumdepth}{3}. But how can I make these subsubsections visible in the TOC, please ? I can't find a solution to deal that.  Thanks in advance !


Changing bibliography style does not change output

I'm trying to change my bibliographystyle from plain to abbrv, but adding  \bibliographystyle{abbrv}   does not change the output after recompiling. Any ideas where I could be making a mistake?


i'm a beginner at java and i'm trying to create a program that asks a user to enter a month, and prints the number of days in that month, as well as asking if it is a leap year. I've tried converting a String "yes" input from the scanner, into a boolean true or false input, however, i keep receiving the error cannot convert string into boolean. I've tried the parseString method however with no success. Any insight or help into this issue is greatly appreciated. Thanks for your time!  public static void main(String[] args){     Scanner scan = new Scanner(System.in);     int numberOfDays = 0;      System.out.print("What's the month? ");     String month = scan.nextLine();     System.out.print("Is it a leap year? ");     String leapYear = scan.nextLine();      boolean b1 = Boolean.parseBoolean(leapYear);     if (b1 = "yes") {         b1 = true;     }     else {         b1 = false;     }      switch(month) {         case "January":                              numberOfDays = 31;             break;                       case "February":             if (b1 = true) {                 numberOfDays = 29;             } else {                 numberOfDays = 28;             }         break;     }        }


Is it grammatically incorrect to follow the abbreviations *ie* and *eg* with *etc*?

Is it grammatically incorrect to follow the abbreviations ie and eg with etc? My daughter's English teacher told her that this in an absolute no-no and is never permitted under any circumstances. He also said that this could warrant an F on an English submission. This must be an egregious grammatical error!  Consider these examples.  Mike brought the goodies (eg chocolate fudge, lemon meringue pie, etc) to the party.  When eating a squirrel taco, Bigfoot always added extra condiments (ie ranch dressing, ketchup, pepper, etc).  Good or bad?


neither kubuntu 13.04 nor ubuntu 12.04 can detect network (wired/wireless) activity

Thanks for reading, i have an HP mini 110-1030LA, it had Windows XP, tottaly functional, a little slow but funtional, i decided to install kubuntu saucy (32 bits), everythings seems to be better, the speed increased sustantialy, but it couldn't detect neither wireless nor wired networks. I decided to try (not installing) ubuntu  12.04 (32 bits) on a live usb disk, but the problem prevails.


Are there any rules for a Cleric to change his faith?

There are rules for a Cleric who loses faith, and how to regain his standing through atonement.  But what if he abandons one faith entirely for another? Presumably his new god/faith should be picking up where the other leaves off, so spells aren’t interrupted, and further he probably should be changing his Domains to ones used by his new faith, but does any official book actually describe this process? Does his new faith require atonement for his prior faith in another religion? Is there some kind of interruption time period, where he doesn’t get spells? Is the actual process of substituting Domains explained?  Because the lack of rules that I’m looking at almost seems to imply that a Cleric cannot change faiths.  I’m really looking for book citations here, because this is specifically for the sake of determining what the rules currently are to better judge how changes might affect them. I have plenty of my own ideas about how this sort of thing should be handled, most of which rely on eliminating as much of alignment’s mechanical impact as possible, but that’s not really relevant here.  If your answer is that there are no such rules, I’d like an idea of how certain you are of this. For example, I could not find any such rules in Player’s Handbook or Complete Divine, the first two places I looked. Knowing where the rules aren’t is useful.


I'm new. And i have learnt about Libgdx. My project runs normally before. But today, i got two errors.  java.lang.NullPointerException: Attempt to invoke interface method 'void java.lang.Runnable.run()' on a null object reference  at com.badlogic.gdx.scenes.scene2d.actions.RunnableAction.run(RunnableAction.java:42)  at com.badlogic.gdx.scenes.scene2d.actions.RunnableAction.act(RunnableAction.java:32)  at com.badlogic.gdx.scenes.scene2d.actions.SequenceAction.act(SequenceAction.java:65)  at com.badlogic.gdx.scenes.scene2d.Actor.act(Actor.java:95)  at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:46)  at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:49)  at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:49)  at com.sgroup.jqkpro.base.ABSUser.act(ABSUser.java:1116)  at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:49)  at com.badlogic.gdx.scenes.scene2d.Stage.act(Stage.java:223)  at com.sgroup.jqkpro.screens.MainScreen.update(MainScreen.java:228)  at com.sgroup.jqkpro.screens.DefaultScreen.render(DefaultScreen.java:55)  at com.badlogic.gdx.Game.render(Game.java:46)  at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:422)  at android.opengl.GLSurfaceViewGLThread.guardedRun(GLSurfaceView.java:1522)  at android.opengl.GLSurfaceViewGLThread.run(GLSurfaceView.java:1239)    java.lang.NullPointerException: Attempt to invoke virtual method 'float com.badlogic.gdx.scenes.scene2d.Actor.getX(int)' on a null object reference  at com.badlogic.gdx.scenes.scene2d.actions.MoveToAction.begin(MoveToAction.java:29)  at com.badlogic.gdx.scenes.scene2d.actions.TemporalAction.act(TemporalAction.java:48)  at com.badlogic.gdx.scenes.scene2d.actions.SequenceAction.act(SequenceAction.java:65)  at com.badlogic.gdx.scenes.scene2d.Actor.act(Actor.java:95)  at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:46)  at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:49)  at com.badlogic.gdx.scenes.scene2d.Group.act(Group.java:49)  at com.badlogic.gdx.scenes.scene2d.Stage.act(Stage.java:223)  at com.sgroup.jqkpro.screens.MainScreen.update(MainScreen.java:229)  at com.sgroup.jqkpro.screens.DefaultScreen.render(DefaultScreen.java:55)  at com.badlogic.gdx.Game.render(Game.java:46)  at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:422)  at android.opengl.GLSurfaceViewGLThread.guardedRun(GLSurfaceView.java:1522)  at android.opengl.GLSurfaceViewGLThread.run(GLSurfaceView.java:1239)   i didn't know why. please tell me how to fixed Tks all.


$f:\mathbb R\rightarrow [0,\infty )$ is continuous such   that  $g(x)={(f(x))}^2$   is  uniformly continuous . Then which of the following is always true $?$  $A.$ $f$ is bounded.  $B.$ $f$ may not be uniformly continuous.  $C.$ $f$ is uniformly continuous.  $D.$ $f$ is unbounded.  I ticked option $C.$  Following is  my  logic :  $$f:\mathbb R\rightarrow [0,\infty)$$ $$h:[0,\infty)\rightarrow [0,\infty) ; h(x)=x^2$$ Then $$g=h\circ f$$ Now the function $h$ is bijective(no $?$) and $$h^{-1}(x)=\sqrt x$$ So composing  both sides with $h^{-1}$ we get $$f=h^{-1}\circ g$$  Also  both $g$ and $h^{-1}$ being uniformly continuous , $f$ is uniformly continuous.  Was I correct $?$  Also , if my proof  was  correct  I  could  really  use  some  help  to  find  counterexamples  for  the  rest  or  say , why they cannot  be  true .  Thank  you .


Re-Posting this - Terminal Server - Group Policy prevent command line [2]

The actual post was here but it was an  and I couldn't find an answer online or with the infrastructure guys from my company as most of them already left.  I have a Windows 2008 Terminal Server. Terminal Server Configuration(licence server, session broker, etc) is managed by group policy. If i want to disable logon via:  change logon /disable   The Error Message: "Connections are currently ENABLED by Group Policy for this machine, unable to change."  Is there a smart way to fix this?  I would like to do this using a CMD as the company is moving towards automation but I am stuck.  I'll really appreciate a response or answer to this.  Thank you


What is the purpose of tape when finishing drywall?

Sorry if this is a stupid question, but it doesn't seem immediately obvious how a thin strip of paper tape actually helps the taping process in drywall installation except for perhaps reducing the amount of mud needed between panels. This, from eHow:  Embedded in a layer of drywall joint compound, drywall tape creates a physical bond between adjacent sheets of drywall. Although the bond does not significantly contribute to the structural support of the drywall sheets, the bond reduces the movement and cracking of the sheets.  Wouldn't simply mudding between the joints have the same strength without the tape, albeit requiring more mud?


When I do select query on single table then I get output rows ordered by primary key which is perfect, following query:  select * from recondata where importid=131;    but when I'm joining this table to another table output of row is random, ReconStatus contains only statusId (Primary key) and Status and in ReconData, dataID is primary key and there are no other key. I'm using following query:  select dataid,coalesce(clientPortfolioname,portfolioName) as portfolioName,                             Status, Message, PositionId, PositionIdType,    PositionName, ClientMarketValue,                             ClientCurrency, ClientMarketValueBase, MarketValueBase, MarketValueLocal,                             MVDiff, SourceInstrumentType, Weight, WeightByClient, ImportType,AssetType,                             AssetName,ExtraInfo                             from                              ReconData rd inner join ReconStatus rs on rd.StatusId = rs.statusid                             where                             ImportId=131;   Output is also not based on primary key of second table. Can someone explain on what basis MS SQL is ordering output rows ?


Is it possible to see all my questions where I haven't accepted an answer yet across the entire SE network?

I am interested in finding all the questions I asked over the entire SE network that I don't yet have accepted an answer for.  I have seen that there is another question for individual SE sites that recommends using the search functionality (), but I have 43 different websites that I've asked at least 1 question on (and there are probably others with even more profiles), so that doesn't really scale.  Is there a global search option somewhere? Or another way to see all my unaccepted questions?


Access passcode locked iPhone with broken screen without jailbreaking

My iPhone screen broke but I know my passcode.  Is there anyway I can enter my passcode from my Mac? If yes, what app/software?   I already deleted my backup (iCloud) due to space, so I need to back it up before I wipe it. Can someone guide me through the process or a share a viable link? Apple Support Communities is too ambiguous for me. This image seems relevant:     My screen is not functioning.  I've tried iExplorer/iBrowser, all to no avail. I need an app/software to control my iPhone from my Mac.


How to have root access without logging as root?

I am using 13.04 trying to edit or drag and drop files but since all the folders are owned by root and assigned to the group "root" I am not allow to do this.  I added my current username to the "root" group and still I am not able to edit.  I don't want to have to login as root to do this, or change all the folders group to something else.  What are my options.


Splitting of a prime in the compositum of two fields

Let $L$ and $M$ be two finite extensions of $\mathbb{Q}$ and let $LM$ denote their compositum. Suppose that $p$ is a rational prime that splits completely in $L$ and $M$. How can I show that $p$ splits completely in $LM$?


Let $M_1 =(A,d_1)$ be a metric space. Then $M_1$ is compact if and only if $M_2 = (A,d_2)$ is a complete metric space whenever $d_2$ is equivalent to $d_1$.  I am finding difficulty in proving this please help.


How do I make bevel equal on both sides of the edge?

I am new to Blender and learning little as I go. I notice that when I bevel on a cube's edge with n-segments, the effect is a nice even bevel (quarter circle). However, if I make a rectangle (as shown on the picture) the bevel is longer on the longest face and almost non-existent on the shorter face. Is there a way to make a nice round bevel that creates quarter circle on the edge? I would like to make a rounded rectangle. Thanks.


If $x+1$ is a factor of $ax^4 + bx^2 + c$, find the value of $a + b + c$? I know that it is equal to zero, but I have to know How to do it.


Are "xxx/sec" performance counters in sys.dm_os_performance_counters actually rates or just counters?

I am trying to track SQL Server metrics using Prometheus by querying the system dynamic management views. I am looking into the Buffer Manager: Page reads/sec counter in sys.dm_os_performance_counters, which I understand to be a rate at which reads are happening, aggregated over an [unspecified] amount of time, based on the description in the :  Indicates the number of physical database page reads that are issued per second. ...  However, I have tracked the query for 8 databases (with differing SQL Server versions: 2012, 2017, 2019) over 12 hours, and the counter value for all of them seems pretty high (16K+ for a development database with no traffic, 700K+ for a production database with very little traffic). Also, the values are not changing, or rather, are not changing very much (+/-200 page reads) and very infrecquently (once for each database over a 12 hour period). This leads me to believe that this counter may actually not be a rate but a total count over time that must be converted into a rate by aggregating the values and comparing with the previous value. If I select the metric from Performance Monitor, it shows the rate as 0, which seems to confirm my suspicion. Is this correct? And if so, is this the case for all of the /sec counters? For reference, this is the query I'm using to retrieve the counter. select cntr_value from sys.dm_os_performance_counters where object_name = 'SQLServer:Buffer Manager' and counter_name = 'Page reads/sec';


Can we interchange phrases " What's the date today?" and "what day is it today?"

Can we interchange the sentences " What's the date today?" and "what day is it today?"  In grammar is it correct to use these sentences interchangeably?  For example "What's the day today?" and "what date is it today?"


I have the following code SQL injection susceptible:  $r = $db->query(sanitizeSQL("SELECT a.* FROM asistentes a WHERE a.id = $id")); f ($row = $r->fetchArray()) {      $scope['asistente'] = $row;      if (is_numeric($id) && $id != $_SESSION['auth']) {          $error = 'You don't have permission to see this user';      }  }else {      $error = 'Wrong assistant';  }   As far as I have understood, the code is weak to a SQL Injection attack because although you sanitize the db->query statement with the filter sanitizeSQL (I think it's a private method they have coded instead of a native PHP filter), when you decide if the client is going to have access to the user information, you are using the $id value introduced by the client without sanitizing or filtering it anyway, so a possible attacker can introduce any SQL command there.  The url you get when you login successfully is:  10.14.79.2/?action=details&id=1   I have tried some methods to get access to the user you want, and a way which is working is this one:  10.14.79.2/?action=details&id=3;   By simply adding the user id you want to access to and a semicolon, you get the access while if you only enter the user id (without the semicolon) you get a "You don't have permission to see this user" message.  I would like to know why that code acts like that. I mean:   Does the is_numeric method just ignore the semicolon and returns true because $id starts by a number? After is_numeric($id) && how doesn't the $id call break the code if it is returning a semicolon just before a != statement? I don't get the function of the semicolon on that part of the code How does the semicolon skip the != comparison so that we get the user details we are asking to the db? Is there any better way to perform the SQL Injection on this stage?


We're definitely not DIY-types in our household, so would love an answer from those who know the answer: We have a gas water heater in the basement, and will be traveling for over a month this summer. No worries about freezing at this time of year, but the water heater is aging and we'd rather not have a flood if it should fail while we're gone. Our thoughts are to turn off the water at the main, & drain the pipes to avoid any possible leakage problems. What do we do with the water heater? Normally we don't shut the water off, so we usually just turn the water heater to "pilot". Suggestions?


How would I create a python function that outputs all combinations of a defined set of variables?

Here is what I am trying to do but not exactly sure how to make this work. I have 3 sets of variables and I want to output all combinations of those 3 sets and output in a format that maintains the order of the variables like this:  list_of_vars = [var1, var2, var3]   The variables would look something like this:  var1 = [1, 2, 3] var2 = ["foo", "bar", "foo2"] var3 = ["a", "b", "c"]   The final output should look like this.  final_list_of_vars = [[1, "foo", a], [1, "bar", a], .......]


Send variable with EOF and use host variable

I want to send variable from source to host, and exec host script. Here is my code :   var1=1 ssh -p 42 root@xxx /bin/bash << EOF   var2=2   echo $var1   echo $var2 EOF   Return : 1  var1=1 ssh -p 42 root@xxx /bin/bash << \EOF   var2=2   echo $var1   echo $var2 EOF   Return : 2  How to return :  1 2   ?


We have alphabet consisting of two chars $\{ 0, 1 \}$ and over this alphabet we have language defined by following rules:     There are no words of length $1$ Words of length $2$ are only "$10$" and "$00$" Every other combination of chars of length $n$ where $n > 2$ is considered a word when "$1$" are left where they're supposed to be and "$0$" are replaced with another arbitrary word of length smaller than $n$   How do I show that for every positive $n$ is the number of words of length $n$ equal to: $$\frac{2^n+2*(-1)^n}{3}$$  Example    n = 1 -> { }   n = 2 -> { 10, 00 }   n = 3 -> { 110, 100 }   n = 4 -> { 1010, 1000, 0010, 0000, 1110, 1100 }   ...


Converting LiDAR data to raster (DEM/DSM) for ArcGIS input?

I was wondering if there is an option to convert LiDAR data (.las) to a  (DEM/DSM) format that ArcGIS 10.0 can read?


How to participate in clan war instead of being a spectator

I joined a new clan and now that the clan war has started I tried to attack but it says "Spectator can't attack". How do I get out of being a spectator (I haven't used either of my 2 attacks in the war). I went to the clan castle and the clan option and I selected "Yes I'll participate in this war" but nothing happens.


Accessing Java Swing Components Through Another Class?

I am trying to access java swing components from a different class. For example, I need to change the text on a button once a specific operation has been completed. I am trying to use "getters" and "setters" to do the operation(at the bottom of the section of code.) Right now I only want to "set" the text.    I have another class that calls the "set" method and tries to set the text of the chosen button. This is the main class. The line of code that is "gui.setProcessItemBtn().setText("Some Text");" Throws:      Exception in thread "main" java.lang.NullPointerException   I believe this means that there isnt anything to set the text to. Am i missing something to link my setter methods to the actual gui components?      Main class   package book; import book.UserInterface;  /**  *  * @author KJ4CC  */ public class Book   {     /**      * @param args the command line arguments      */     public static void main(String[] args) {        UserInterface gui = new UserInterface();        gui.startUI();        gui.setProcessItemBtn().setText("Some Text");     }  }   User Interface class       public class UserInterface extends JFrame {         private JButton processItem;         private JButton confirmItem;         private JButton viewOrder;         private JButton finishOrder;         private JButton newOrder;         private JButton exit;          public void startUI(){              UserInterface gui = new UserInterface();             gui.bookingUI();         }          public static void  bookingUI(){             //sets windows, and pane in the UI              JFrame frame = new JFrame("Ye old Book stoppe");             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);             JPanel toppane = new JPanel(new GridBagLayout());             JPanel bottomPane = new JPanel(new GridBagLayout());             GridBagConstraints c = new GridBagConstraints();             frame.setSize(800, 300);             frame.setVisible(true);             //adds labels  to the window         //----------------------------------------------------------BUTTOM PANE-------------------------         //setting up buttons to be placed onto the bottompanel          JButton processItem = new JButton("Process Item");         JButton confirmItem = new JButton("Confirm Item");         JButton viewOrder = new JButton("View Order");         JButton finishOrder = new JButton("Finish Order ");         JButton newOrder = new JButton("New Order");         JButton exit = new JButton("Exit");         //adding the buttons to the pane.---------------------------------------------------------------         GridBagConstraints b = new GridBagConstraints();         b.insets = new Insets(5,5,5,5);         b.ipadx = 10;         b.ipady = 10;         b.gridx = 1;         b.gridy = 0;         bottomPane.add(processItem, b);         b.gridx = 2;         b.gridy = 0;         bottomPane.add(confirmItem,b);         confirmItem.setEnabled(false);         b.gridx = 3;         b.gridy = 0;         bottomPane.add(viewOrder, b);         viewOrder.setEnabled(false);         b.gridx = 4;         b.gridy = 0;         bottomPane.add(finishOrder,b);         finishOrder.setEnabled(false);         b.gridx = 5;         b.gridy = 0;         bottomPane.add(newOrder,b);         b.gridx = 6;         b.gridy = 0;         bottomPane.add(exit, b);         bottomPane.setBackground(Color.BLUE);         frame.add(bottomPane,BorderLayout.SOUTH);         frame.setSize(810, 310);           }       //Creating getters and setters to change the text for the buttons and labels.      public JButton setProcessItemBtn(){          return processItem;      }     public JButton setConfirmItemBtn(){          return confirmItem;      }      public JButton setViewOrderbtn(){         return viewOrder;      }     public JButton setFinishOrderBtn(){          return finishOrder;      }     public JButton setNewOrderBtn(){          return newOrder;      }     public JButton setsetExitBtn(){          return exit;      }


Looking for the short story: personal robot assistants sitting on one's shoulder

I think the PDA's had a single eye. The protagonist is the only one that does not have one of these sitting on their shoulder, reading their mail for them, etc. The protagonist finds that the PDA's are taking control, etc., and wins by suggesting that to the PDA's that they deserve better than merely controlling humans.  PIMs ride on the humans' shoulders (re Puppet Masters), reading documents for their human and providing digests.  One scene has it ripping up a paper report it did not want its human to read.  PIMs have a head twitch which the humans start emulating.


I have an Xbox One and I have the new version of Minecraft.  I tried playing on the servers but it keeps on saying that it's outdated and it couldn't connect to it. I can only connect to Lifeboat I want to play the other three but it won't let me and I don't understand why. Everything is updated I checked.   What else can I do about it?


I've purchased S6 and when unlock the there is a phone screen on by default instead of home screen. How to set the default screen to "home" after unlocking device ?  Related :   Update : I used default lock screen and swiping to right to unlock caused issue


What recourse do travelers to the US have if the APC kiosks consistently give them an "X" receipt?

In  question, a US citizen is complaining about always getting an "X" receipt when using the APC kiosks. What recourse do people in a similar situation have to fix this problem?  Since APC kiosks are available to , there might be different options for US and non-US citizens.


Ignore case for 'contains' for a string in Java

Consider:  public static void main(String[] args) {      String s = "AbcD";      System.out.println(s.contains("ABCD"));     System.out.println(s.contains("AbcD")); }   Output:  false true   I need the result to be true in both cases regardless of the case. Is it possible?


what the result suggests of the order of the ARMA model?


I'm trying to get an image or movie inside some text to achieve something like this :  HOWEVER I'm aiming for the the text to be on a transparent background so i can re-purpose the text for any project.  I've found a tutorial on BlenderDiplom's channel that shows you how to add animated fire in the 3D view and then use the compositor to have it become the text- this is achieved in Cycles. The link to the video is here:    But my problem with this method is that 1. The black background is present when rendered out and 2. I prefer working within Blender Render engine.   Now I know i can add an colour key node in the compositor to get rid of the black background but it also removes the any black in the image that's 'inside' the text.  I'm sure there's a super simple solution but I can't seem to crack it.   Any help will be much appreciated!  So i'm following Edgel's answer and tried to unwrap the text with the Smart UV Unwrap and Project from View and entered render view and the text remains white instead of showing the image inside the text:    And here is the text in the 3D view in edit mode:


If gravity can be disrupted by larger forces, why does the moon orbit the Earth instead of the Sun?

I read an  on this site about how a larger gravitational pull can overpower a smaller gravitational pull. I took this to mind, and I started wondering why the moon orbits the Earth instead of the Sun. What I think the answer is is that the moon is much closer to the Earth than the Earth is to the sun, likewise humans stay on Earth instead of being drawn to the sun or the moon. Can somebody please prove me wrong?


Where does the photon orbital angular momentum go in light-matter interactions?

Just as a photon's polarization determines its spin angular momentum (or more accurately its helicity), its wavefront can carry orbital angular momentum (OAM) much like an electron in an atom.  Following this Phys.SE question, , it is clear that since atoms are so small (<0.1 nm), they don't really "feel" the OAM of light. This is because the wavefront of optical light carrying OAM changes on the scale of many hundreds of nanometers for optical light, much larger than the atom. Thus, the atom shouldn't really be able to tell the difference between an optical photon carrying non-zero OAM and one with zero OAM.  The logic of the above question is quite sensible in my opinion, but the issue I am having is: where does the OAM go when an atom happens to absorb a photon with non-zero OAM?  I would assume that OAM is conserved in the absorption of the photon and goes into center-of-mass atomic OAM, but is that necessarily true? And how do we reconcile the atom's photon-acquired OAM with the fact that the field is locally identical to an ordinary photon with zero OAM on the length-scale of atoms?  Edit: I want to emphasize that I am only considering optical (visible) light, which is much larger in wavelength than the atom. Additionally, I am thinking of the general case of an atom not located precisely in the central vortex of the OAM beam, but on one of its side lobes.


What does "didn't trust himself to speak" mean?

As he looked at Dudley in his new knickerbockers, Uncle Vernon said gruffly that it was the proudest moment of his life. Aunt Petunia burst into tears and said she couldn't believe it was her Ickle Dudleykins, he looked so handsome and grown-up. Harry didn't trust himself to speak. He thought two of his ribs might already have cracked from trying not to laugh. (Harry Potter and the Sorcerer's Stone)   What does "trust himself to speak" mean?


Getting a variable from an the parent class of object which implements the interface being passed in

I have an object that implements an interface and inherits from another class. However for a function, I can only pass in an interface of the item. Is it possible to get a variable from the parent object or null if they are not there?      public class ProductStamp   {    public int qty;   }    public class TrolleyItem : ProductStamp, ITrolleyItem   {    }    private void foo(ITrolleyItem trolleyItem)   {      trolleyItem.qty;      }   Sorry for the confusing situation. I just want to know if this is possible and if so how I can best go about it.   Note: I have simplified the situation but each of these classes are in very separate places with other attachments relying on them. Due to how it is structured, I cannot simply pass in foo(TrolleyItem trolleyItem)  thank you in advance


No maintenance folder under management in SSMS

I have tried so many queries, solution, suggestion but still I did not get Maintenance plan folder under management folder. According to  I have ran query my folderid is not empty I got 08AA12D5-8F98-4DAB-A4FC-980B150A5DC8 but I do not have maintenance plan folder under Management folder. Please help me How to create Maintenance plan folder.  I am using SQL Server Express. SELECT IS_SRVROLEMEMBER('sysadmin'); returns 1.


Do I require a game engine  when I want to make a game?

I started making a 2D game in C# and realized that I could also use a game engine or XNA. For the moment everything works fine but I'm afraid I will have problems in the future.  So do I actually need a game engine or XNA? Or will it also works without.  PS: I don't know anything of XNA so I would learn it.


Naming of Middle Earth: inspired by Norse mythology?

Was Middle Earth named thus because Tolkien was inspired by Norse mythology?  I got this idea


Differential generators of 4D rotations and $so(4)\sim so(3)\times so(3)$

Rotations in $\mathbb{R}^3$ are generated by differential operators $$ O_{yz}=y\frac{d}{dz}-z\frac{d}{dy}, O_{zx}=z\frac{d}{dx}-x\frac{d}{dz}, O_{yx}=y\frac{d}{dx}-x\frac{d}{dy},$$ which satisfy the commutation relations $$[O_{yz},O_{zx}]=O_{yx}$$ and $[O_{ab},O_{bc}]=O_{ac}$ in general, with $O_{ab}=-O_{ba}$. I suppose rotations in $\mathbb{R}^4$ must be generated by those three generators plus three others $O_{xw}$, $O_{yw}$, $O_{zw}$, defined analogously. This is consistent with the dimension of algebra $so(4)$ being 6. Now I have seen that $so(4)\sim so(3)\oplus so(3)$, so there should be possible to construct linear combinations of the six $O_{ab}$ generators in $\mathbb{R}^4$ to produce two separate $so(3)$. How is this done?


How to show if the limit $$ \lim_{(x,y) \to (0,0)} \frac{x^3}{x^2 + y^2}$$ exists? I suspect that there is, as I can't find any path that would show that limit doesn't exist, and WolframAlpha also suggests that the limit is (0,0).  In general, can you recommend any tips how to learn to approach similar limit problems (fractions and polynomials like this)? edit That is, excluding the polar coordinate conversion method?


Is hidden text bad for search engine ranking?

I am using hidden text on one of my websites for better search engine ranking.  However, many articles suggest it is better not to use hidden text. Does using hidden text with keywords in the webpage affect rankings? Does Google block such types of site that use hidden text like using the same color for the text as for the background?


Shortest distance between $2$ lines with direction vectors

Let L1 be the line passing through the point $P_1=(−11, 10, −1)$ with direction vector $\vec d_1=\begin{bmatrix}−2\\ 3\\ −1\end{bmatrix}t$, and let $L_2$ be the line passing through the point $P_2=(−8, 9, 10)$ with direction vector $\vec d_2=\begin{bmatrix}−1\\ 3\\1\end{bmatrix}t$. Find the shortest distance, $d$, between these two lines, and find a point $Q_1$ on $L_1$ and a point $Q_2$ on $L_2$ so that $d(Q_1,Q_2) = d$.   I dont really understand how to properly approach this question, how do i start?


Automatically run an application as another user

How can you run an application as another user in Windows 7? The only catch is that I don't want to have to hold down the shift key, right click on the application and choose Run as different user. I need it to automatically login using the login credentials I specify.


Euler's Formula application for distinct odd primes with gcd 1

I am looking at the following question from my undergraduate Number Theory textbook:  Show that if p,q are different odd primes, and if gcd(p,q)=1, then a$\Phi$(pq)/2 $\equiv$  $1$ mod $pq$.  So far, the approach I have taken is trying to split up a$\Phi$(pq)/2 = (a$\Phi$(p)/2)$\Phi$(q) and apply Euler's theorem but I don't think I am really getting anywhere.  Any help would be greatly appreciated, thank you!


What is the best way to completely remove the default apps that came with the xoom? Since android apps are self contain packages is it enough just to remove the application package on the device through adk?


Why is Euclidean distance not a good metric in high dimensions?

I read that 'Euclidean distance is not a good distance in high dimensions'. I guess this statement has something to do with the curse of dimensionality, but what exactly? Besides, what is 'high dimensions'? I have been applying hierarchical clustering using Euclidean distance with 100 features. Up to how many features is it 'safe' to use this metric?


Possible incompatibility between babel, listings and biblatex causes problem with unbreakable space in bibliography

The following example compiles with an error:  \documentclass{article}  \usepackage[english]{babel}\usepackage{csquotes}  \usepackage{listings}%\usepackage{listingsutf8}  \usepackage[style=ieee]{biblatex}  \usepackage{filecontents} \begin{filecontents}{bib.bib}     @Article{A1, title = {A b}}     @Article{A2, title = {A~b}} \end{filecontents}  \addbibresource{bib.bib}  \begin{document}      A: \cite{A1}.\\     B: \cite{A2}.\\      \printbibliography  \end{document}      l.23 Undefined control sequence.   Something probably causes the ~ character in bibliography entry to be confusing for LaTeX, as document with \cite{A2} commented out compiles with no errors.    Either changing \usepackage[english]{babel} to \usepackage{babel} or changing \usepackage[style=ieee]{biblatex} to \usepackage{biblatex}, or removing \usepackage{listings} (which is necessary, but its application was removed from the MWE), also causes the document to compile without errors, so there are four factors involved: all three of these packages together with the usage of tilde character in bibliography.  I cannot figure out the reason because this incompatibility, but resolving it would be quite useful for me.


A process to check if other processes are running?

I am currently deploying computers in my client's house.   I am running the following scripts:    ngrok (an ssh forward tunneling daemon) heartbeat.py (a script which sends a heartbeat signal to loggly which confirms my computer is alive) metrics.py (a script which logs all the environmental data such as temp, disk space to loggly)   So in my tests so far, metrics.py is somewhat unstable (meaning it crashes occasionally).   Is there a package in *NIX which does the following?     check every X second on whether a process is running if #1 is not true, run it Do this for a list of process


As far as I know, the way to create a taxonomy term is having to go into the taxonomy module and creating on there, and THEN assigning the term to the node. Is there a way to create taxonomy terms on the fly? When the node is created, if the taxonomy term doesn't exist, it should be created too.


Can we have the table name as "option" in MySQL?

I am very, very new to MYSQL.I tried to create a table named "option". My SQL Query is :  create table option(   id int not null primary key auto_increment,  choice varchar(30)  )  While executing this query it shows the following error  Error Code : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option( id int not null primary key auto_increment, choice varchar(30) )' at line 1 (0 ms taken)  If I try with the table name as "choice" it is working.  can we have the table name as "option" in mysql?   thanks


I upgraded my Bomber to a Stealth Bomber, and since then it was unable to attack any city.   The bomber could attack cities. But the stealth bomber just can't. When I went into attack mode of the stealth bomber, it doesn't display the option to attack cities within range. I even tried moving it to other cities and targeting other Civs' cities, but it doesn't work.   And yes, all the cities I was targeting, they belonged to Civs I was at war with.  When I had Gods And Kings, my stealth bombers could still attack cities. This bug has started since I upgraded to BNW.  EDIT: In the question that is linked to this question, with this question marked as a duplicate, it says that the Stealth Bomber fired on the turn before. In my case, it can always fire on units, but never on cities.


When pluralizing a hyphenated acronym, where does the "s" land in the acronym?

The following example uses the acronym for Transportation Rail Specialist - Explosives (TRS-E).  Is the plural (TRSs-E) or (TRS-Es)?


TEXstudio problem in 14.04: no info on mouse hovering

Ubuntu 14.04: If I hover the mouse over the upper symbols in TEXstudio little yellow areas appear, but there is no text in them.  What to do?


Alex, Bret, and Chloe repeatedly take turns tossing a fair die. Alex begins; Bret always follows Alex; Chloe always follows Bret; Alex always follows Chloe, and so on. Find the probability that Chloe will be the first one to toss a six.


What is the value of $\cot70+4\cos70?$   So far I expressed $\cot70$ as $\frac{\cos70}{\sin70}$ and $4\cos70$ as $\frac{4\cos70\cdot\sin70}{\sin70}$. I then used the sine double angle formula to get: $\frac{4\cos70\cdot\sin70}{\sin70}=\frac{2\sin140}{\sin70}$ but I'm struggling to find a way to finish this.


How to get FixedDocument from PageDocuments

I am working with printing in WPF. I implement a class which inherit from DocumentPaginator class  public class ReportPaginator : DocumentPaginator {     private double pageUpperLimit;      private double pageDownLimit;      private Model.Report printedReport;      private int pageCount;      public override IDocumentPaginatorSource Source     {         get         {             return null;         }     }      public override bool IsPageCountValid     {         get { return true; }     }      public override int PageCount     {         get { return pageCount; }     }      public override Size PageSize     {         get         {             return new Size(printedReport.PageSize.Width, printedReport.PageSize.Height);         }         set         {             // validate the value.             if (value != null)             {                 throw new ArgumentException("page size can not be null");             }              // TODO: here we have to validate if the page is A3, A4, A5. this is to set the SizeName.             // if you did not set the sizeName here we will get an exception.             printedReport.PageSize = new Model.PageSize { Height = value.Height, Width = value.Width };             CalculatesPage();             // if we have to set the PageSize (I do not think so), do not forget to call the PaginateData method.         }     }      public ReportPaginator( Model.Report report)     {         printedReport = report;         CalculatesPage();     }      public override DocumentPage GetPage(int pageNumber)     {         // validate the argument.         if (pageNumber < 0)         {             throw new ArgumentException("pageNumber parameter could not be negative number", "pageNumber");         }          // if the argument is outside of the available pages, return          if (pageNumber > pageCount - 1)         {             return DocumentPage.Missing;         }          // specify the start pixel and end pixel of the page according to the height of the report.         pageUpperLimit = pageNumber * PageSize.Height;         pageDownLimit = (pageNumber + 1) * PageSize.Height;          // create DrawingVisual for this DocumentPage         DrawingVisual visual = new DrawingVisual();          // get the DrawingContext for this DrawingVisual for this page.         using (DrawingContext pageContext = visual.RenderOpen())         {             // drawing operations for elements and sections go here.              // we will use the for loop instead of the foreach loop to enumerate the sections             // because we will need the know in which section we draw.             for (int sectionIndex = 0; sectionIndex < printedReport.Sections.Count; sectionIndex++)             {                 PrintSection(pageContext, sectionIndex);                  foreach (Model.BaseReportControl control in printedReport.Sections[sectionIndex].Controls)                 {                     PrintControl(pageContext, sectionIndex, control);                 }             }         }  // close the DrawingContext.          return new DocumentPage(visual);     } }   there is more helper methods to do the jobs.  I want to create FixedDocument object to return it from the Source property using DocumentPage object that returned from GetPage Method.  I need a FixedDocument to be returned from the source Property Because I want to make a preview to the File before printing  ReportPreviewerWindow window = new ReportPreviewerWindow(); window.previewer.Document = new ReportPaginator(printedSurface.ModelReport).Source; window.ShowDialog();   the previewer is DocumentViewer Object exists in the ReportPreviewerWindow  <Window x:Class="TanmiaGrp.Report.Designer.ReportPreviewerWindow"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     Title="Report Previewer" >    <Grid>       <DocumentViewer x:Name="previewer"/>    </Grid> </Window>


Will Blender download onto my Chromebook?

Just wondering if I can download Blender to my Chromebook?


I’m looking for a entry level road bike under $500

I’m a 15 year old who’s looking to move from mountain bikes to road bikes, can you give me some suggestions on what to look for in a entry level bike.


How do I get a human-readable file size in bytes abbreviation using .NET?  Example: Take input 7,326,629 and display 6.98 MB


Will denial of entry to the US due to improper documentation affect travel to Canada and other countries?

I was denied entry to US recently because of improper documents. My passport was stamped with entry withdrawn. I have a multiple entry visa also for Canada. Will it affect my travel plans to Canada? Will it affect my visa applications in other countries? I travel a lot because of business.


How to install AMD drivers on XUbuntu 15.10?

How can i install AMD/ATI drivers on XUbuntu 15.10? I follow this guide,  but after this i can't boot.


How Can I Proof $1+2\cos(\theta)+2\cos(2\theta)+2\cos(3\theta)+.. $


and Happy new year!  I have shooted ~300 photos of an object and i'm making timelapse from it. The distance between me and object is 5-7 meters. All these photos are made from different angles, but with the same object in the center similar to . The idea is to make turning timelapse about that object. The problem that I have is stabilization. The difference between main object on different photos can be up to 200-300px in both X and Y axis.  I've tried to achieve it with After Effects with Warp Stabilizer and Track Motion, but it didn't help too much. The main object on that video is turning from 0 to 180 degrees, and brightness of pictures is very different, so there is no too much points to track them, and AE somehow didn't work well for me. Maybe I used it in incorrect way. But is there any others way to achieve it?  P.S. Currently I achieved it by making small console application that tracks specific colors in allowed color range, as there is one sign with red color but it's small object, and then it makes shifts based on location of these colors and their count. Partially it works well for me, but I'm sure that I made another useless program as it can be achieved with other software. Is there any software that can helps me for such stabilization?  Thank you.


what is the "diffrence between jit and the execution engine"

What is the difference between "jit" and an "execution engine"? I've heard that both of them are a part of jvm but what role do they play in the machine code generation, are they one at the same or do they have their own unique roles?


Can I re-enter the Schengen zone on a multiple-entry visa, if not entering into the country that issued it?

I am a non-EU national (with a non-EU passport) residing in the UK as a student. I applied for a single-entry Schengen visa for Denmark around 2 months ago. I was granted a multiple-entry visa that is valid for 6 months (visa Type C, duration of stay valid for 90 days).   I made my trip to Denmark and returned back to the UK (duration of stay in Denmark: one week). I would now like to travel through to my home country for Christmas, and stop to visit a friend in Geneva en route (for approximately five days).    Is it possible to use the recently-granted Schengen visa for this, especially as I do not plan to visit Denmark on this trip?


I'm trying to find an <h1> tag within an iframe with an id of f1.   Simply trying $("#f1").find("h1") returned an empty set.   So I thought maybe it was because the iframe didn't have jquery in it, so I couldn't use those methods.   So I tried a couple of different things.  Without jquery:  var el = document.getElementById; el.getElementsByTagName("h1");   no luck. Sort of doesn't really make sense either since getElementsByTagName is a method of the document. Though I sort of thought maybe an iframe would be a separate document.   Lastly I tried to add jquery  var el = document.getElementById("f1") var s = document.createElement("script"); s.src = "http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"; el.appendChild(s);   which gets jquery appended to the iframe. I can see it in the inspector in the head of the document embedded in the iframe. Yet   var el = document.getElementById("f1"); el.find("h1");   gets the typeError Object #<HTMLIFrameElement> has no method 'find  How can I get the value of my <h1> tag?


While sending mail using PHP codeigniter if I include my domain name link in my mail body mail goes to spam only for gmail

Following is my function to send mail using codeigniter. There is issue related to using link only, I have tested all other things. If I remove link or use of domain name mail goes to inbox.       public function send_notification() {      $body = "

                                                                      Click Here

Message

                                         &copy; 2017 All Rights Reserved

";                     $subject = "Notification from Example";         $config['protocol']     = $this->config->item('protocol'); // 'smtp'         $config['smtp_host']    = $this->config->item('smtp_host'); //mail.example.com         $config['smtp_port']    = $this->config->item('smtp_port'); //25         $config['smtp_timeout'] = $this->config->item('smtp_timeout'); //7         $config['smtp_user']    = $this->config->item('smtp_user'); info@example.com         $config['smtp_pass']    = $this->config->item('smtp_pass');         $config['charset']      = $this->config->item('charset'); utf-8         $config['newline']      = $this->config->item('newline'); \n\r         $config['mailtype']     = 'html'; // or text         $config['validation']   = TRUE; // bool whether to validate email or not             $this->email->initialize($config);         $this->email->from('info@example.com','Exaple');         $this->email->to('prashant.hanamghar@gmail.com');         $this->email->subject($subject);         $this->email->message($body);         $this->email->send(); }


Count how many lines start with which characters

I have a file with a number of lines in a file filename.  I want to count how many lines start with character 'a', with 'b' and so on in one go.  What command i should execute.?


GNU find and masking the {} for some shells - which?

The man page for GNU find states:    -exec command ;     [...] The  string `{}'  is  replaced  by the current      file name being processed everywhere it occurs in the      arguments to the command, not just in arguments where      it is alone, as in some  versions  of  find.     Both  of  these  constructions might need to be escaped      (with a `\') or quoted to protect them from expansion      by the shell.     That's from the man to find (GNU findutils) 4.4.2.   Now I tested this with bash and dash, and both don't need to have the {} being masked. Here is a simple test:  find /etc -name "hosts" -exec md5sum {} \;    Is there a shell, for which I really need to mask the braces? Note, that it doesn't depend upon whether the file found contains a blank (invoked from bash):   find ~ -maxdepth 1 -type d -name "U*" -exec ls -d {} \;  /home/stefan/Ubuntu One   This changes if the found file is passed to a subshell:  find ~ -maxdepth 3 -type d -name "U*" -exec bash -c 'ls -d {}' \;  ls: cannot access /home/stefan/Ubuntu: No such file or directory ls: cannot access One: No such file or directory   which can be solved by:  find ~ -maxdepth 3 -type d -name "U*" -exec bash -c 'ls -d "$0"' {} \;   in contrast to:   find ~ -maxdepth 3 -type d -name "U*" -exec bash -c 'ls -d "{}"' \;  /home/stefan/Ubuntu One   but that's not what the man page is talking about, is it? So which shell treats {} in a different way?


How should I achieve this volumetrics lighting effect?

I'm an intermediate blender user, and I am working on a scene myself. I just don't know how should I achieve the lighting effect in the image on the right below (left one is mine). I also need assistance on how to add volumetrics in this scene. I am using a transparent hdri in my scene. EDIT: With help form the comments, I have changed a few settings and achieved close to what I want. The volumetrics (I added a rectangle with a principled volume shader) look good, but I still don't know how to achieve that sharp lighting effect I have shown with arrows in the picture above so I will wait for answers. I haev reached the end of my scene almost, so here's what I have done uptil now: EDIT 2: After doing some research about this topic, I finally achieved the effect I wanted. Thanks for the help in the comments!


Prove by mathematical induction that: 1. for all n ≥ 3 equality $$\binom{3}{3}+\binom{4}{3}+ · · · +\binom{n} {3}=\binom{n+1} {4};$$ 2. for all n ≥ 1 equality $$\binom{2}{2}+\binom{3}{2}+ · · · +\binom{n+1} {2}=\binom{n+2} {3}$$ So for the two exercises, I have to apply the binomial coefficient of $$\binom{n}{m}= \frac{n!} {m!(n−m)!} =\frac{(n-1)...(n−m+1)}{m!}$$ This the solution for the first exercise before dividing both sides to (k + 1)k(k− 1)/4!.  And my question is why when I solved the first exercise my answer was: $$\frac{(k+1)k(k+2)} {4!} + \frac{(k+1)k(k-1)} {3!} = \frac{k+2(k+1)(k-1)} {4!}$$ What is the step I'm missing ?


Why wasn't Fawkes killed when it attacked the Basilisk?

In Chamber of Secret Fawkes pecks out the Basilisk's eyes, thus preventing its gaze from killing Harry. But Fawkes wouldn't be able to close his eyes because he need to aim where the Basilisk eyes are and how did Fawkes escaped from its Gaze ?


How do Vulcans reproduce themselves given that they are emotionless?

Since Vulcans are emotionless, how do they get into the mood for sex?  How do they solve the problem of reproduction when sex is not possible?


Is there a variance/ uncertainty tradeoff when we use log likelihood instead of likelihood?

I am looking at a plot of likelihood against parameters for a Bernoulli context (i.e. finding the p of a coin facing heads) and am comparing it to the equivalent plot for a log likelihood one. I notice that the peak is a lot sharper for likelihood. I understand that using log likelihood is a lot easier for us to solve and less computationally expensive, since we are no longer dealing with variables in the power. Does this mean that we incur a tradeoff of getting a less certain, i.e. higher variance for our estimate?


I am writing an introduction, and I need to put my name at the end of it at the right side of the page, but it should be aligned left:  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem I psum has been the industry's standard dummy text ever since the 1500s, when an  unknown printer took a galley of type and scrambled it to make a type specime n book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s w ith the release of Letraset.                                                                    Andriy D.                                                                   Toronto, 2009   What is the best way to achieve this? Any tips appreciated!


How do you get a dead angler npc back to your base

So basically during the invasion my angler died because it was being pushed at the wall(I was on the other side of the wall) and until now I cant make him respawn I even tried going back to the ocean but nothing.


How can I tell when to take a mulligan in Magic?

But how can I hone my abilities in that skill? Obviously if I had no/all land I'd probably want to mulligan as the opportunity to actually cast some of my spells are worth the 1 card penalty. But what about when I only have 1 land or 1 spell? Are there any good rules of thumb to help me make this decision? How can knowing my deck make these choices easier? What other elements of my hand should I look at when making this decision?


How to use flock and file descriptors to lock a file and write to the locked file?

I have a bash script that makes a cURL request and writes the output to a file called resp.txt.  I need to create an exclusive lock so that I can write to that file and not worry about multiple users running the script and editing the text file at the same time. Here is the code that I expect to lock the file, perform the request, and write to the text file: ( flock -e 200 curl 'someurl' -H 'someHeader' > resp.txt ) 200>/home/user/ITS/resp.txt  Is this the correct way to go about this?  My actual script is a bit longer than this, but it seems to break when I add the flock syntax to the bash script. If someone could explain how these file descriptors work and let me know if I am locking the file correctly that would be awesome!


Proof about square roots of rational numbers being rational/irrational

$$ a,b \in  \mathbb{Q} $$ $$ \sqrt{a} \notin \mathbb{Q}  ~\text{and}~ \sqrt{b} \notin \mathbb{Q} \implies \sqrt{a} + \sqrt{b} \notin \mathbb{Q}    $$  I'm not really sure on how to solve this, however, I know it's true, it's an implication of a theorem,  how can I prove this directly?


I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system.  How would I do this?


I need to convert some files to PDF and then attach them to an email.  I'm using Pear Mail for the email side of it and that's fine (mostly--still working out some issues) but as part of this I need to create temporary files.  Now I could use the  function but it sounds like it creates a file on the filesystem, which isn't what I want.  I just want a name in the temporary file system (using ) that won't clash with someone else running the same script of the same user invoking the script more than once.  Suggestions?


Upgrading existing Windows 7 Pro licenses to Ent?

From our license info page from MS:  Agreement Info: MOLP-Z Std ... License Date: 2011-03-02 Microsoft Invoice No: 91.... Reorder/Upgrade End Date: 2013-03-31  MS Win Pro 7 Sngl Open 1 License  Part no: FQC-02872 Qty: 120 MS Win Server CAL 2008 Sng Open 1 Part no: R18-02709 Qty: 120  Now we want to upgrade to Enteprise but the reseller says "Sorry, you need to buy new licenses, 120x Win7Pro (FQC-02872) and 120x SoftwareAssurance (FQC-02368).  Are they trying to rip us off?? "Upgrade End Date" still not here and why do we need to re-order exactly same part number (FQC-02872) only 1 year later?


Without adding dependency of WMIC and getting MAC.  I know we can read MachineGuid in registry key:   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography   and it won't change unless user formats the PC. But the issue is it can be easily bypassed if the hard drive is cloned.  I came across    Does the info returned by   GetSystemInfo ()   remain same after OS installation, and avoid cloning issue.


If $\sqrt[3]{a} + \sqrt[3]{b}$ is rational then prove $\sqrt[3]{a}$ and $\sqrt[3]{b}$ are rational

Assume there exist some rationals $a, b$ such that $\sqrt[3]{a}, \sqrt[3]{b}$ are irrationals, but:  $$\sqrt[3]{a} + \sqrt[3]{b} = \frac{m}{n}$$  for some integers $m, n$  $$\implies \left(\sqrt[3]{a} + \sqrt[3]{b}\right)^3 = \frac{m^3}{n^3}$$  $$\implies a + b + 3 \cdot \sqrt[3]{ab}\left(\sqrt[3]{a} + \sqrt[3]{b}\right) = \frac{m^3}{n^3}$$  Since $a +b$, $\sqrt[3]{a} + \sqrt[3]{b}$ are rational, $\sqrt[3]{ab}$ must be rational as well.   For convenience let us say $\sqrt[3]{a} = p, \sqrt[3]{b} = q \implies pq$ is rational. This means, for all $i$, $p^iq^i$ is rational.  $$\implies (p + q)^2 = \frac{m^2}{n^2}$$  $$ = p^2 + q^2 + 2pq = \frac{m^2}{n^2}$$  Since $pq$ is rational, $2pq$ is rational and so is $p^2 + q^2$.  Assume, for some $i$ that $p^i + q^i$ and $p^{i-1} + q^{i-1}$ is rational.   $$\implies (p^i + q^i)(p + q) - pq(p^{i - 1} + q^{i - 1}) = p^{i+1} + q^{i+1}$$  is rational as well.  So for all $i$,  $$a^{\frac{i}{3}} + b^{\frac{i}{3}}$$  and   $$a^{\frac{i}{3}}b^{\frac{i}{3}}$$  are rational.  I know I'm really close to the answer, but it somehow just keeps slipping through my fingers.


In Russian we have idiom/saying "To shoot out of cannon into sparrows" (literal translation) which is used to convey an idea of applying too drastic measures to small problems. I believe there should be some native-English equivalents to this saying. Can you share if there are any?


how to keep Win8.1 on old dual boot HDD and then add new Ubuntu install on new MSATA ,and get rid of old (dual booted)Linux on old drive?

I have already dual boot Mint with Win8.1 on old 1tb hard drive for 2 years. all is ok..i want install Ubuntu on new msata drive and remove Mint from old HDD..


QGIS: How to modify the appearence of selected attributes

I am using QGIS version 2.14.1 (Essen). When I open the attributes table of a layer, I select some data which is then highlighted in yellow on the map. I was wondering if it is possible to change the appearance of this yellow (play with the transparency or colour)?  The other idea is to create a single shapefile from all the different attributes but that would take too long as I have lots of data.  Anyone know if this is possible in QGIS?


Use of Greek language without \textlatin{} \textgreek{} each word

I am writing a thesis in Latex,using the babel library \usepackage[english,greek]{babel} But using \textlatin and \textgreek in every word is very frustrating. I tried using polyglosia library \usepackage{fontspec,xgreek,polyglossia} but i got errors in every compiler. Is there some way to use both texts without changing each word? Code of main below: \documentclass[a4paper,12pt]{report} \usepackage[left=3cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage[LGR]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,greek]{babel} \newcommand{\en}{\selectlanguage{english}} \newcommand{\gr}{\selectlanguage{greek}} \usepackage{amsmath,amsfonts,amssymb} \usepackage[parfill]{parskip} \usepackage[unicode]{hyperref} \usepackage{bookmark} \usepackage{cite} \usepackage{graphicx} \usepackage{subcaption} \usepackage{float} \usepackage{siunitx} \usepackage{color} \usepackage{kmath,kerkis} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyfoot[R]{\thepage} % Redefine plain style, which is used for titlepage and chapter beginnings % From https://tex.stackexchange.com/a/30230/828 \fancypagestyle{plain}{%     \renewcommand{\headrulewidth}{0pt}%     \fancyhf{}%     \fancyfoot[R]{\thepage}% }  \renewcommand{\headrulewidth}{0.4pt} \setlength{\headheight}{15pt} \rhead{ \chaptername } \lhead{Έξυπνο Σπίτι} \rfoot{\thepage} \graphicspath{{../PICS/}}  \def\tl{\textlatin} \def\tg{\textgreek}  \begin{document} \include{cover} \title{Υλοποίηση  ενός προσωπικού ψηφιακού βοηθού μέσω \textlatin{open-source} εφαρμογών} \author{ΧΑΤΖΟΓΛΟΥ ΚΩΣΤΑΣ \\ \today \href{mailto:empty@auth.gr}{\tl{empty@auth.gr}}} \maketitle  \tableofcontents  \thispagestyle{empty} \include{DOCUMENT/Εισαγωγή} \include{chapter1} \include{chapter2} \include{chapter3} \appendix \include{acronyms}  \selectlanguage{english}  \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,references}  \end{document}


What is the justification behind defining properties of an object on its prototype?

I've always seen that the preferred alternative to   function MyObject ( ... ) {     this.MyFunction = function ( ... ) { ... }      // ...  }   is  function MyObject ( ... ) {     // ...  }  MyObject.prototype.MyFunction = function ( ... ) { ... }    My understanding is that in the way that the JavaScript hierarchy known as the prototype chain works, MyObject.prototype is the object from which MyObject derives. In English, what this is saying is      "Give me a property by giving it to my ancestor who I will then   inherit it from."   which seems like a very obscure and inefficient way of going about things. Coming from a C# background, how I see this is like the equivalent of having a class   class SpecialString : String  {  }   and saying      Ok, I want SpecialString to have a function SpecialFunction, so   I'll go into String and give it public void SpecialString (...). Now SpecialString has it! Mission accomplished.


Are the numbers $0$ and $13$ coprime with each other?

I couldn't find an answer on the internet but my script fails solving this. I have to know this because this is required to prove something else (it has to do with random numbers and their period).  I cannot say if they are coprime because I don't know if they are coprime because of the fact that division by $0$ doesn't work.  On the other hand I say they are not coprime because we don't get to $\text{gcd}(0,13)=1$.  But this is very confusing for me, please help!


Constructing file path within Python for Feature Class within Feature Dataset?

Based on my understanding of the ArcGIS path structure, a feature class inside a feature dataset inside a geodatabase can be accessed by the following:  C:\Menu\Lunch.gdb\Sandwich\Cheese   Where Sandwich is the feature dataset and Cheese is the feature class.  In a python script, I want to construct this full path, so that I can check it using arcpy.Exists(x). I have the following variables (pseudocode):  WSpace = C:\Menu\Lunch.gdb\ FDSName = Sandwich FCName = Cheese   Concatenating WSpace and FDSName gives the correct path to the feature dataset. What I need help with is tacking FCName onto the end. I would think the following code would work, but it renders a space instead of the backslash character:  fullPath = WSpace + FDSName + r"\" + FCName   Instead of r"\", I have also tried "\\", and "/", but they all render a space. This seems like a simple syntax problem.


is there a reason the Getdeb Repo is always down

Lately, when I update, the process sticks on get deb:     [Connecting to archive.getdeb.net (144.76.200.19)]   The site -  - times out and the cloudflare message is in no way helpful.  Does anyone know why this repo and site are down? or perhaps anything else about it?  Thanks.


My recent activity list did show some old Excavator badges today. I thought that maybe it was a temporary hitch in the Android app so went to the main site and saw that the same error was shown in there, too. I even have thought that maybe someone had used my account to edit some posts and examined these sites to see what those edits were and found out that they were referencing to some old edits of mine. Here is the screenshot showing those activities.


Comparing the cardinalities of infinite sets

What is the set that has the greatest cardinality?   $\mathbb{R}$ The set of all functions from $\mathbb{Z}$ to itself. The set of all functions from $\mathbb{R}$ to $\{0,1\}$. The set of all finite subsets of $\mathbb{R}$. The set of all polynomials with coefficients in $\mathbb{R}$.   How do I compare the cardinalities?


How to make text run top-to-bottom in CSS?

Does anyone know how to make text align top-to-bottom in a div.  SO won't even let me demonstrate it . . . I just want the letters to stack on top of each other in a vertical line down the page like the stories of a building. Was hoping I didn't need to do it with an image.


Question is to check if  $\prod \limits_{n=2}^{\infty}(1-\frac{1}{n^2})=1$  we have $\prod \limits_{n=2}^{\infty}(1-\frac{1}{n^2})=\prod \limits_{n=2}^{\infty}(\frac{n^2-1}{n^2})=\prod \limits_{n=2}^{\infty}\frac{n+1}{n}\frac{n-1}{n}=(\frac{3}{2}.\frac{1}{2})(\frac{4}{3}.\frac{2}{3})(\frac{5}{4}.\frac{3}{4})...$  In above product we have for each term $\frac{a}{b}$ a term $\frac{b}{a}$ except for $\frac{1}{2}$.. So, all  other terms gets cancelled and we left with $\frac{1}{2}$.  So, $\prod \limits_{n=2}^{\infty}(1-\frac{1}{n^2})=\frac{1}{2}$.  I would be thankful if some one can assure that this explanation is correct/wrong??   I am solving this kind of problems for the first time so, it would be helpful if some one can tell if there are any other ways to do this..  Thank you


Show that this language has (or does not have) unique writing for words

I have the following language: Let $A = \{a,e,i,o,u\} , S = \{l\}, \Sigma = A \cup S$. Then $L \in \Sigma^*$ is defined by the rules:  $\alpha \in A \Rightarrow \alpha \in L$  $X_1, \dots, X_n \in L \Rightarrow lX_1 \dots X_nl \in L$  A string in $\Sigma^*$ is in $L$ if and only if it can be obtained by finitely many applications of the previous rules   I'm asked to prove or disprove (I'm trying to prove it since I'm convinced it holds) that this language has a unique writing for words, that is, if a word in $L$ has length greater than $1$, then there is a unique construction chain (up to permutation) for it, In other words, if $lX_1\dots X_nl = lY_1 \dots Y_kl$ then $n = k$ and for all $i$, $X_i = Y_i$ My strategy for proving this was: Prove that no initial section of a word (except for the word itself) can be a word. Then using a property that says that since $X_1$ and $Y_1$ are initial segments of the same expression I must have (without loss of generality) $Y_1 = X_1E$ for some expression $E$. If $E$ is not empty, then $X_1$ can't be a word since it is a nontrivial initial segment of the word $Y_1$. Then inductively it follows that all words on both sides are equal However, I'm struggling to prove this. Any help is appreciated


I accidentally ran badblocks on my entire 320 GB disk instead of a single partition:  sudo badblocks -s -v -n -f /dev/sda   It's been running for 42 hours now. How can I tell when it will be finished? Can I interrupt it safely with Ctrl+C?


Let $h:\Bbb R^2\to\Bbb R^2$ be a surjective function such that $\|h (x)-h (y)\|\ge 3 \|x-y\|$.       Prove that the image of every open set in $\Bbb R^2$ under the map $h$ is open in $\Bbb R^2$.  My question is that as the limit of the given function remains greater equals 3 so can it be proved continuous and  Then as not every continuous functions show that image is open then??


How much value does Human factor's CUA certification hold for a Senior web developer?

I am working as Senior web developer with 5 years of experience. I also create wireframe mockups and have good experience in photoshop.  I am looking to pursue HFI's CUA certification.  Is this certification of any value from a front-end developer's perspective?


Hashmap Storing values with [Ljava.lang.Long;

I have the following code. And the maps structure  is 'Map<String, Long[]> Map' and it has the following values:  <com.service.a, 21221, 2121>  <com.service.b, 5454, 8787>  <com.service.c, 1227, 0>  public static void savetoFile(Map<String, Long[]> result, String filepath) throws IOException      {         FileWriter fw = new FileWriter(filepath,true);         BufferedWriter bw = new BufferedWriter(fw);         PrintWriter pw = new PrintWriter(bw);         for (String name: result.keySet())             {                 String key =name.toString();                 Long[] value = result.get(name);                   //System.out.println(key + " " + value);                  pw.println(key+","+value);                    }          pw.flush();         pw.close();     }   On running this function I get the following output:  {com.service.a=[Ljava.lang.Long;@135fbaa4, com.service.b=[Ljava.lang.Long;@4b67cf4d, com.service.c=[Ljava.lang.Long;@7ea987ac,}   How to get rid of this error? I have gone through certain link where they suggest to use toString() method but I'm not sure how to apply that within this function.  I want the above values to be stored into CSV file as :  com.service.a, 21221, 2121  com.service.b, 5454, 8787  com.service.c, 1227, 0


There are a lot of web-sites that use this feature. It is quite a common thing for "long" sites. I see the following scenario for SO:   You open the question and quickly read it You scroll down to look through the all answers to make sure nobody has proposed your answer/solution You scroll up to read the question more detailed for giving a best answer    Thus, at the 3rd phase this button might be extremally usefull.


How to configure environment variables in Ubuntu?

My environment variables are correct? What is the correct way to use them in Ubuntu? I put them at the end of .bashrc file or edit the end of /etc/environment to able to use the $JAVA_HOME and $M2_HOME configuration and on my user?  $JAVA_HOME  JAVA_HOME="/usr/lib/jvm/java-8-oracle/"  CLASSPATH="JAVA_HOME/lib/:$CLASSPATH"  PATH="$JAVA_HOME/bin/:$PATH"  $M2_HOME  M2_HOME="/usr/share/maven/"  M2="$M2_HOME/bin"  PATH="$M2:$PATH"     PATH=$M2:$PATH


Why is there such a big difference between "Size" and "Size on disk"?

As you can see below, there is so much difference between the Size and Size on disk fields in my folder. Why is that?    I know that Size on disk should be a little more than Size because of allocation units in Windows, but why that much of a difference? Could it be because of the large number of files?  BTW, this folder is on my Android phone’s SD card. Inside this, my maps app stores its cached maps and the app gets its map from Google Maps.


While running the below pig script I am getting an error in line4:  If it is GROUP then I am getting error. If I change from 'GROUP' TO 'group' in line4, then the script is running.  What is the difference between group and GROUP?  LINES = LOAD '/user/cloudera/datapeople.csv' USING PigStorage(',') AS ( firstname:chararray, lastname:chararray, address:chararray, city:chararray, state:chararray, zip:chararray );  WORDS = FOREACH LINES GENERATE FLATTEN(TOKENIZE(zip)) AS ZIPS;  WORDSGROUPED = GROUP WORDS BY ZIPS;  WORDBYCOUNT = FOREACH WORDSGROUPED GENERATE GROUP AS ZIPS, COUNT(WORDS);  WORDSSORT = ORDER WORDBYCOUNT BY $1 DESC;  DUMP WORDSSORT;


How do I make a diagram in MS Office match the default LaTeX font?

Basically, I want to create a diagram with words in Words Document and then save it as picture and paste in my Overleaf latex  So, i want to match both font style for words document and latex.  I know my latex font type is  (Computer Modern Roman (CMR).  Is CMR similar to which font style in Words documents?  Thanks.


My first answer is accepted and has two upvotes, yet I have no reputation?

I joined Stack Overflow last week when I saw a  I wanted to answer. If I understand things correctly,  has been upvoted twice and also accepted. And I did receive the Teacher and Revival badges for it. Yet when I look at , it shows no changes and is thus still at one.  What is it about the reputation system that I'm not understanding here?


Why doesn't Scarlet Witch's power also destroy the other stones?

We know that Scarlet Witch's power can destroy Vision's mind stone. At the end of Avengers: Infinity War she is shown destroying Vision's stone while simultaneously using her power on Thanos. Who seems to be blocking it with the stones that he possesses. So in theory, shouldn't those stones be disintegrating as well?


The meaning of word "FOR" at the beginning of sentence

I met some odd usage of preposition "for". I guess it's old style, or high style. I give examples for better understanding:  About this time legend among the Hobbits first becomes history with a reckoning of years. For it was in the one thousand six hundred and first year of the Third Age that the Fallohide brothers Marcho and Blanco, set out from Bree.  J.R.R. Tolkien  But the Hobbits may have learned it direct from the Elves, the teachers of Men in their youth. For the Elves of the High Kindred had not yet forsaken Middle-earth...  J.R.R. Tolkien  In the study of logic, we do not so much look at these kinds of reasoning: instead, logic concerns itself with reasons for believing something instead of something else. For beliefs are special.  Routledge. Logic. An Introduction. It would be great, if someone explain me how  to understand the authors in these cases. Thank you.


I'm trying to disable Vsync on my BARTS radeon card (source game stuck at 60 fps)  I was directed to the file /usr/share/x11/xorg.conf.d/10-amdgpu.conf to add Option "SwapBuffersWait" "false" I'm finding I have no permission to edit the file? What gives?    Any responses / wishes for luck appreciated. I have no idea what I'm doing.


Call function from derived and base class

#include <iostream>    class Base   {   public:      virtual ~Base() {}       virtual void f()       {           std::cout << "base\n";       } };  class Derived : public Base {   public:       virtual ~Derived() {}       virtual void f()         {           std::cout << "derived\n";       }   };    int main()   {       Derived* D = new Derived;       D->f();     delete D;       return 0;   }   So I am calling Derived::f but I want to call Base::f too. Is there any other way than calling Base::f() inside Derived::f()?


I was having a look in /var/log/secure and noticed the following:  Dec  9 06:03:20 ip-10-58-218-177 sshd[3794]: Did not receive identification string from 177.99.169.130 Dec  9 06:46:12 ip-10-58-218-177 sshd[3897]: reverse mapping checking getaddrinfo for grupoazul130.static.host.gvt.net.br [177.99.169.130] failed - POSSIBLE BREAK-IN ATTEMPT! Dec  9 06:46:12 ip-10-58-218-177 sshd[3897]: Invalid user admin from 177.99.169.130 Dec  9 06:46:12 ip-10-58-218-177 sshd[3897]: input_userauth_request: invalid user admin [preauth] Dec  9 06:46:13 ip-10-58-218-177 sshd[3897]: Received disconnect from 177.99.169.130: 11: Bye Bye [preauth] Dec  9 06:46:14 ip-10-58-218-177 sshd[3899]: reverse mapping checking getaddrinfo for grupoazul130.static.host.gvt.net.br [177.99.169.130] failed - POSSIBLE BREAK-IN ATTEMPT! Dec  9 06:46:15 ip-10-58-218-177 sshd[3899]: Received disconnect from 177.99.169.130: 11: Bye Bye [preauth] Dec  9 06:46:16 ip-10-58-218-177 sshd[3901]: reverse mapping checking getaddrinfo for grupoazul130.static.host.gvt.net.br [177.99.169.130] failed - POSSIBLE BREAK-IN ATTEMPT! Dec  9 06:46:16 ip-10-58-218-177 sshd[3901]: Invalid user user from 177.99.169.130 Dec  9 06:46:16 ip-10-58-218-177 sshd[3901]: input_userauth_request: invalid user user [preauth] Dec  9 06:46:17 ip-10-58-218-177 sshd[3901]: Received disconnect from 177.99.169.130: 11: Bye Bye [preauth] Dec  9 06:46:19 ip-10-58-218-177 sshd[3903]: reverse mapping checking getaddrinfo for grupoazul130.static.host.gvt.net.br [177.99.169.130] failed - POSSIBLE BREAK-IN ATTEMPT! Dec  9 06:46:19 ip-10-58-218-177 sshd[3903]: Invalid user guest from 177.99.169.130 Dec  9 06:46:19 ip-10-58-218-177 sshd[3903]: input_userauth_request: invalid user guest [preauth] Dec  9 06:46:19 ip-10-58-218-177 sshd[3903]: Received disconnect from 177.99.169.130: 11: Bye Bye [preauth] Dec  9 06:46:21 ip-10-58-218-177 sshd[3905]: reverse mapping checking getaddrinfo for grupoazul130.static.host.gvt.net.br [177.99.169.130] failed - POSSIBLE BREAK-IN ATTEMPT! Dec  9 06:46:21 ip-10-58-218-177 sshd[3905]: Received disconnect from 177.99.169.130: 11: Bye Bye [preauth] Dec  9 06:46:23 ip-10-58-218-177 sshd[3907]: reverse mapping checking getaddrinfo for grupoazul130.static.host.gvt.net.br [177.99.169.130] failed - POSSIBLE BREAK-IN ATTEMPT! Dec  9 06:46:23 ip-10-58-218-177 sshd[3907]: Invalid user xbian from 177.99.169.130 Dec  9 06:46:23 ip-10-58-218-177 sshd[3907]: input_userauth_request: invalid user xbian [preauth] Dec  9 06:46:23 ip-10-58-218-177 sshd[3907]: Received disconnect from 177.99.169.130: 11: Bye Bye [preauth] Dec  9 06:46:25 ip-10-58-218-177 sshd[3909]: reverse mapping checking getaddrinfo for grupoazul130.static.host.gvt.net.br [177.99.169.130] failed - POSSIBLE BREAK-IN ATTEMPT! Dec  9 06:46:25 ip-10-58-218-177 sshd[3909]: Invalid user D-Link from 177.99.169.130 Dec  9 06:46:25 ip-10-58-218-177 sshd[3909]: input_userauth_request: invalid user D-Link [preauth] Dec  9 06:46:25 ip-10-58-218-177 sshd[3909]: Received disconnect from 177.99.169.130: 11: Bye Bye [preauth]   What does this mean and should I be worried?