Post-atomic movie featuring a "wasteland winnebago" vehicle?

Many years ago I saw a movie that featured a very cool vehicle which was referred to as "wasteland winnebago," I think. It vehicle didn't look like a winnebago at all. It looked more like a high-speed train or military airplane, with a flat pointy nose and a grey fuselage-shaped body, maybe 7-10 meters long. Its body had two   and its big rubber wheels were arranged in triangles .   The movie could easily have been made in the 70s or early 80s. (I wonder if it might have been an episode of a series; I have no recollection of its length.) I think it plays out after a nuclear war; at least, the world seems completely deserted save for a few outposts, and the world is full of threats like elephant-sized scorpions.  I saw in a R/C hobby magazine once that somebody had built a scale replica of the vehicle. That might have been in the very late 80s, probably .  I'd love to know what that movie was!


Why does Ubuntu 14.04 LTS use a non-LTS kernel version?

I only recently became aware that LTS wasn't just an Ubuntu thing - there's LTS kernel versions too. Yet the kernel version used (3.13) in Ubuntu 14.04 LTS is not an LTS kernel version. Is it considered unimportant whether or not a kernel version is LTS?


Volunteer undergraduate research system feels wrong?

I am a PhD student at a large state university system. The system hosts a program that encourages undergraduates to get involved in research on a volunteer basis (suggested weekly commitment: 6 hours during a 'regular' academic semester). The projects hosted on the system varies greatly (from data collection to data analysis to manuscript preparation), and I am considering using it to recruit an undergraduate to assist in a systematic literature review. If I recruited a student, they would stand to gain:  Practice in conducting data extraction for articles for a systematic literature review Practice manuscript preparation Authorship (nb: if it leads to an accepted publication) etc...  When I was an undergraduate, I greatly appreciate the opportunity to participate in the research process. However, I was paid for the contributions (in both cash and credit-hour situations). I feel extractive utilizing labor that is volunteered. I have spent considerable time trying to find an in-house university scholarship/funding source for this activity, but to no avail. While I realize this system must have been vetted and supported by numerous academics with research experience, I feel strange using it. Is it ethical to use this volunteer system? Or should I simply put more time into finding a funding source for the student? I was also considering setting aside part of my PhD salary for the undergraduate student, but I realize this has tax and legal ramifications beyond my knowledge.  Updates from initial comments: In general, I agree with the answer posted by @AnonymousPhysicist . So the question really is, should I still make use of this resource? I would be interested in prioritizing the student well-being, uplifting their success, and trying to leverage the project into tangible monetary and career-advancing rewards for them (conferences, presentations, thesis project, references, etc).  All the projects (nearly 200 in the 2019-2020 academic year) on this system were based on the premise of volunteering (no cash payments or course credit) The primary purpose of the program is to foster undergraduate interest and participation in the research process, and to encourage students within the university to pursue careers in research My PhD stipend is meager, but I can't complain given what's going on with COVID-19


Boolean doesn't affect my object and i don't understand why

I'm doing this tutorial:    and by 5:11 min you can see, that the guy makes a cylinder to cut a part out from the anvil. I understand how to use boolean. I have to choose the anvil, then add boolean modifier and pick the cylinder object to make the move. I did everything just the same way as the guy, but as you can see on the attached picture my cylinder doesn't affect the anvil as on the tutorial. When I change the viewport to wireframe it seems good, but when I apply the modifier and I change the viewport again to solid, it's a full anvil again. I tried the method on an other layer with a square and an uv sphere and its works fine. When I copy the anvil to the other layer the problem is the same again. I tied to relaunch blender but nothing.   My blender version: v2.79


Why is this done? (Quadratic integer rings definition)

From Dummit & Foote pg. 229:     Let $D$ be a squarefree integer.  It is immediate from the addition and multiplication that the subset $\Bbb{Z}[\sqrt{D}] = \{a + b \sqrt{D} | a,b, \in \Bbb{Z}\}$ forms a subring of the quadratic field $\Bbb{Q}(\sqrt{D})$ defined earlier.  If $D = 1 \pmod 4$ then the slightly larger subset $\Bbb{Z}[\frac{1 + \sqrt{D}}{2}]$ is also a subring: closure under addition is immediate and [...]  Define $\mathcal{O}_{\Bbb{Q}(\sqrt{D})} = \Bbb{Z}[\omega]$ where $\omega = \sqrt{D}, $ if $D = 2,3 \pmod 4$ and $\omega = \frac{1 + \sqrt{D}}{2}, $ if $D = 1 \pmod 4$.   Why did they split up the definition of $\omega$ like that into a conditional, why is it needed?  Thanks.


I was studying for a differential equations class and came upon some information about $RLC$ circuits. I know the $R$ stands for resistance (makes sense) and $C$ stands for capacitor (this also makes sense to me). So why does $L$ stand for the inductor, as opposed to the letter $I$ (or any other letter)?  After some preliminary searches, all I could turn up was that $L$ stood for the inductance (roughly speaking). I noticed the units here were "henrys" so I thought it might be related to the name of the person that the units were named for, but this turned up Joseph Henry. Alas, I'm left wondering...     Why is the letter $L$ used to represent an inductor in $RLC$ circuits?


Extract Values to Point from Raster Issue

I am trying to use the tool  on a File Geodatabase raster, but I am getting some weird errors.  I've used this tool multiple times before with no issue, but not since I upgraded to 10.1, so I'm wondering if there is an issue with it.  The errors I got back so far have been:   This error happened when I specified a shapefile as the output: The specified geodataset is invalid for the conversion. The syntax help for the tool you are using should indicate the supported types of input data. For example, for the particular conversion, a rasterlayer may be an invalid type of geodataset.  Next I have an error about it needed at least one band in the raster, the raster does has one band. This occurred when I specified a File Geodatabase as the output. Finally I had the good ole Error: 999999 for no apparent reason.   The raster is a DEM derived from LiDAR that was not created by a different company. It's too large to be made available for testing, but here are its specs:  Raster_Information  ColumnsandRows  5119,8241 NumberofBands   1 CellSizeXY      1, 1 UncompressedSize    160.93 MB Format      FGDBR Source_Type     Generic Pixel_Type  floating point Pixel_Depth     32 Bit Colormap    absent


compatible wireless adapter for ad hoc/Access Point on Ubuntu

I would like to find a wireless adapter for enabling ad hoc or AP mode on Ubuntu that works "out of box".  I have tried edimax 7811Un without success and would like to find another adapter that will work without giving me any trouble.  Can someone recommend an adapter that they have had success with?


Why order matters in hyperoperations after exponentiation?

In first and second hyperoperations (addition and multiplication), order of two operands doesn't matter, result is same. However, it doesn't work on exponentiation. Why it does matter in exponentiation, i mean, if we try to create a law that says : "Order of operands of hyperoperations doesn't change the result", why it gets broken after exponentiation?  Or, if orders actually matters in the nature of hyperoperations, then why addition and multiplication behaves in a way that their order don't differ the result?


Proving the supremum of the set {$\cos (1/x)$} is 1

I am trying to prove that the sup { $\cos (1/x): x\in\mathbb{N}$ } = $1$ using the Archimedean property.  Here is my proof so far:   Suppose  $y\in$ { $\cos (1/x): x\in\mathbb{N}$ }. Then, since $\cos(1/x)$ is bounded by $1$, we have that $y< 1$ for all $y$ in the set so $1$ is an upper bound.  Now, suppose $z$ is an upper bound such that $z<1$. Then by the Archimedean Property, we have that $\frac {1}{n}$ $< 1-z$ where $n\in\mathbb{N}$. Here is where I am not sure how to continue. I know that $cos(x)>1-\frac{x^2}{2}$ for all $x\neq 0$, so I think I may need to modify the way I have chosen by upper bound.


How can I save a uploaded file (a pdf for example) to a MemoryStream?  Thanks!!


Why and what for launchd listens on TFTP port 69? How to prevent?  $ sudo lsof -nP -i:69 COMMAND PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME launchd   1 root   23u  IPv6 0x55f5dbd8d897c847      0t0  UDP *:69 launchd   1 root   57u  IPv4 0x55f5dbd8d897e687      0t0  UDP *:69 launchd   1 root   59u  IPv6 0x55f5dbd8d897c847      0t0  UDP *:69 launchd   1 root   60u  IPv4 0x55f5dbd8d897e687      0t0  UDP *:69   I think this is a root problem why tftpd cannot listen on port 69 – port is already in use – and exits with status 1.


Is there a way to do underscripts? By "underscript" I mean a small font underneath the text object like limits or sums have. I don't want it to behave like a math operator though, where it is typeset as a subscript or underscript depending on the environment (like sums). I want there to always be an underscript in math environments with the possibility of adding a subscript in addition to the underscript. Is there anything like an \underscript{X}{a} command?  Is there even something like that that will only work in mathmode? I haven't been able to find it.


Who runs "Community♦" on the review queue?

Take a look at . There were two "Approve" marks, but then  rejected it, and that was it. The suggestion was rejected with a 1-2 reject-approve ratio. From Community's , it states that "[it is] not really a person," and is actually "a background process" that does the following:  Randomly poke old unanswered questions every hour so they get some attention Own community questions and answers so nobody gets unnecessary reputation from them Own downvotes on spam/evil posts that get permanently deleted Own suggested edits from anonymous users  None of those mention that it works the review queue. In addition, the right side of the  states that "Stack Overflow is moderated by []" - NOT an automated bot. If the automated bot can do review on its own, why would we be reviewing manually?  So, all together, I have a few small questions:  Is the ability to make an decision on behalf of everyone moderator-only or Community-only? Why is a computer allowed to make decisions for us? Why does Community's  not mention that it can do that? Is Community really only software, or is there some interaction behind the scenes?


So I'm a Java programmer and I find that the easiest way for me to learn a language is by jumping right in.  I'm creating a class in C#, currently in Notepad++, and I'm wondering how I save it so I can import it in other programs. Do I build it into a .exe or something else? Do I include it with using <classname>?  I can't really find anything with Google that satisfies my need. Any help is appreciated.  I'm not looking at Visual Studio as an answer. I'd really like to know how to do this from a command line.


Is there any good reason to make a skill legendary?

I know that making a skill legendary can allow you to level up more/faster but is there any other reason, it seems like that just takes away valuable skills. Am I wrong?


Solving a second order matrix differential equation

How to solve  $$x''+2Ax'+A^2x=0$$ where $A$ is a constant matrix and $x$ is a vector ? I assumed the form was $x=c\cdot \exp(At)$ similar to how it does done for normal second order equations. I got the characteristic equation as $t^2+2At+A^2=0$ with the double root $t=-A$ then I wrote the final solution as:  $$y=c1\cdot\exp(-At)+c2 \cdot t \cdot \exp(-At)$$  Is this correct?


I have base class and sub class. Whether i call base constructor in subclass or not, it is always called before subclasses. Can i create a default constructor in subclass that won't call base class default constructor?  public class BaseClass {     public BaseClass()     {         Console.WriteLine("base ctor");     } }  public class SubClass : BaseClass {     public SubClass()     {         Console.WriteLine("subclass ctor");     } }   for var obj = new SubClass(); out is  "base class ctor" "subclass ctor"


How to change System Language in Android?

I bought the HTC One from China. I have rooted it succesfully and removed all bloatwares in chinese language.  It has english language but it says "English (China)"  How can I install any other english like english(India) or english (UK)  The problem is still when someone calls me its shows some chinese charcter . Even in call logs it shows the same.  I installed the Morelocale2 but when I change ot to English India. it says NA. But can be done? Please help. I searched on internet too but didnt find any solution for this.


This is very similar to  but was not satisfactorily answered there.  It's very common for auto-checkers (e.g. Grammarly) to suggest a comma follow 'of course'.  For example, if I write "Of course I do", it underlines the word 'course' and suggests that it be changed to "Of course, I do".  But is that correct? It seems to me that "of course, I do" and "of course I do" could both be correct but mean something slightly different.  In the question linked above, user @HotLicks commented: Basic question: Do you pause anywhere when you say "Of course I don't"?  Possibly that was Socratically leading to the answer but I wanted to try to spell it out.  It seems to me that "Of course, I do" means something like, "on the other hand, this does apply to me." For example, I might say: "If I didn't have a bike, I wouldn't be able to ride to work. Of course, I do so I can."  On the other hand, "Of course I do!" means something like, "I am indignant that you would think that wouldn't apply to me." For example, I might say: "You think I don't have a bike? Of course I do!"  In the above paragraph, 'course' is underlined by Grammarly but the question is:     Is that really an illegitimate usage?


I want to update my OS to Ubuntu but I am confused about what version I should install. It has windows starter.  I have a netbook with 1.66 GHz atom N450 processor & 2GB ram   What's the best Ubuntu version to install on a such machine?


How can I disown a running process and associate it to a new screen shell?

I have a running program on a SSH shell. I want to pause it and be able to unpause its execution when I come back.  One way I thought of doing that was to transfer its ownership to a screen shell, thus keeping it running in there.  Is there a different way to proceed?


The link here refers to the clocking resources of spartan-6 FPGA. I am using the DCM-CLKGEN primitive described in the link, to generate a 8x clock based on an input clock. It works fine as long as the input clock is stable.  But now i sweep the input clock at every 90 us by ±5%. I see that although the DCM does not lose lock, it takes very long (15 to 20 us) to change the output freq after changing the input frequency. This is for me undesirable. Any suggestions?  This question was posted on the xilinx forum and the suggestion was to reset the DCM everytime it loses lock. But the problem is that the DCM is not losing lock  Also, this was earlier posted on stackoverflow and now has been reposted here.


The total letter arrangements for the word GRACEFUL is 8!.   The question is: What fraction of all arrangements of GRACEFUL have no pair of consecutive vowels?  Now the three vowels in this word are A, E, and U. They can appear consecutively in 3P3 ways so this can be handled in 8! / 3P3 ways. But it is also possible that any two can appear consecutively.  So would the answer be: 8! / (3P3) * 2! * 3?


my phone is asking for a previous google account after reset

i reset my alcatel one touch and now it wants the previous google account to continue after I reset it and I don't know it how do I get passed this plz help so annoying


Hook to compare the already saved value of moderation state of node and updated value

I'm using Workflow state on a content type. What is the correct HOOK should I use in my custom module to check if the workflow state of the node changed from value to another value to add some actions.


How can I prove that the sum of segments is infinite?

A segment is drawn through each point of the interval $(0,1)$. Prove that the sum of the lengths of these segments is infinite.


Do I need a UK airside transit visa, if I already have a UK visitor visa?

I am an Indian citizen and I do not qualify for DATV concession. Going for a trip to UK and Europe, I am having Multiple entry valid Visitor visa for UK. While on my way back from Paris I will be transiting in Heathrow airport. Do I need to take a airside transit visa even though I have a multiple entry valid UK visitor visa?


How to really, truly remove old kernels?

I've read many answers on this site answering this question. I'm on 16.04, so the following should take care of old kernels:  sudo apt-get autoremove  Failing that, I can remove old ones manually (keeping recent kernels as backup):  sudo apt-get remove linux-image-3.* sudo apt-get remove linux-image-extras-3.* sudo apt-get remove linux-headers-3.* sudo apt-get remove linux-image-4.0.0-x* sudo apt-get remove linux-image-extras-4.0.0-x* sudo apt-get remove linux-headers-4.0.0-x*   where I performed the last three commands for x = 3, 4, 5, 6, 7, 8. This did result in disk space being cleared, up to ~500M in some cases. However, I still see many MB of disk space being used on these old kernels in /boot:  ls -lh /boot  ...  -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-33-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-61-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-64-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-65-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-66-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-68-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-74-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-75-generic.old-dkms -rw-r--r-- 1 root root  14M Dec 17  2016 initrd.img-3.19.0-77-generic.old-dkms -rw-r--r-- 1 root root  39M Nov 28 09:41 initrd.img-4.4.0-101-generic -rw-r--r-- 1 root root  15M Dec 17  2016 initrd.img-4.4.0-31-generic.old-dkms -rw-r--r-- 1 root root  18M Aug 27 18:51 initrd.img-4.4.0-57-generic.old-dkms -rw-r--r-- 1 root root  18M Aug 27 18:51 initrd.img-4.4.0-59-generic.old-dkms -rw-r--r-- 1 root root  18M Aug 27 18:52 initrd.img-4.4.0-62-generic.old-dkms -rw-r--r-- 1 root root  18M Aug 27 18:52 initrd.img-4.4.0-64-generic.old-dkms -rw-r--r-- 1 root root  18M Aug 27 18:53 initrd.img-4.4.0-71-generic.old-dkms -rw-r--r-- 1 root root  18M Aug 27 18:53 initrd.img-4.4.0-72-generic.old-dkms -rw-r--r-- 1 root root  18M Aug 27 18:53 initrd.img-4.4.0-75-generic.old-dkms -rw-r--r-- 1 root root  18M Sep 23 11:33 initrd.img-4.4.0-78-generic.old-dkms -rw-r--r-- 1 root root  39M Nov  4 17:00 initrd.img-4.4.0-98-generic    ...   and also, the old kernels are still listed as large installed packages by dpkg:  dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -nr | less  ...  158659 linux-image-extra-4.4.0-47-generic 158555 linux-image-extra-4.4.0-36-generic 158443 linux-image-extra-4.4.0-34-generic 158201 linux-image-extra-4.4.0-31-generic 157559 linux-image-extra-4.4.0-53-generic 157559 linux-image-extra-4.4.0-51-generic 156386 linux-image-extra-3.19.0-77-generic 156386 linux-image-extra-3.19.0-75-generic 156385 linux-image-extra-3.19.0-74-generic 156384 linux-image-extra-3.19.0-68-generic 156384 linux-image-extra-3.19.0-66-generic 156384 linux-image-extra-3.19.0-65-generic 156383 linux-image-extra-3.19.0-64-generic 156380 linux-image-extra-3.19.0-61-generic 156178 linux-image-extra-3.19.0-33-generic 150341 linux-image-extra-4.4.0-57-generic 150205 linux-image-extra-4.4.0-62-generic 150198 linux-image-extra-4.4.0-59-generic 149214 linux-image-extra-4.4.0-101-generic 149191 linux-image-extra-4.4.0-98-generic 149156 linux-image-extra-4.4.0-96-generic 148953 linux-image-extra-4.4.0-72-generic 148953 linux-image-extra-4.4.0-71-generic 148940 linux-image-extra-4.4.0-64-generic 148663 linux-image-extra-4.4.0-87-generic 148621 linux-image-extra-4.4.0-78-generic 148598 linux-image-extra-4.4.0-75-generic  ...   How can I fully clean my system of these old kernels?


What causes the pattern you see when you hold a strong magnet near a CRT TV?

When you hold a powerful magnet near an old-style CRT TV, you see an interesting pattern, which "shows up the field lines" (see  ).   I understand the basics about the general idea why the image is distorted due to electron deflection, as described in , but am curious as to why the specific pattern of alternating light and dark regions is seen. Do the electrons follow certain field lines preferentially, leaving other regions of the phosphor screen dark?


How come there are hundreds of users with the same name?

I've just noticed there are probably hundreds of users with exactly the same username on StackOverflow.  Why does SO allow username conflicts? That makes no sense


Are DSA and ECDSA provably secure assuming DL security?

Is there proof that the DSA construction, also used by ECDSA, is secure assuming that discrete logarithms in the relevant group representation are difficult?


I want to install the xposed framework on my Nexus 5 and in the framework, the install/update option doesn't work.  My Nexus 5 runs Android 5.0 (Lollipop).


How to fix function with return statement not returning all the rows

I have a function that return or should return all the rows selected from a database table. However, it returns only the first rows. I don't quite understand why the rest rows are not returned when i use the 'return' keyword. The code is a bit long, so i'm including a sample code which is a bit similar terms of functionality. I believe if i can get a fix for this, i should be able to fix the one in the main code. My sample code is below. In this code, only the color yellow is printed. Please anybody know why?   def color_choser():     colors = 'yellow', 'green', 'orange', 'blue', 'white', 'pupple', 'red', 'mangenta'     for color in colors:         return color print(color_choser())


I need to set time limit to edit comment, like Stack Overflow strategy that sets 5 minutes time limit. The  asked the same question and the  was proposed.   In admin/people/permissions I allow authenticated users to Edit own comments and also Installed Edit Limit module. This is the configuration    Despite of letting the contents to be editable in 3 minutes, Users are still unable to edit their own comment right after sending their comments. What is the problem? Is there any other solution?


Wordpress auto-update install permissions

I use Kubuntu 17.04 with Apache2, Mysql and PHP7 to run Wordpress test for testing purposes. I use NetBeans editor to edit files on the server.  When I installed I was facing "non writable directory" when trying to auto-update WP to newer version, so Ive set group to www-data. It fixed, but it was not editable by NetBeans, so Ive set it to chmod 777.  Ive also tried FTP, but I don't want to run another service on my laptop and connect each time I make changes.  I know it's not the best practise to have chmod 777 even for localhost testing. Is there any other way to keep the /var/www/ writeable for NetBeans (and other utilities) and Wordpress at once?  Thanks


Result of Catchfile doesn't work inside a tikzpicture environment

This is a follow-up to this . I am trying to get points to be graphed using data from an external file. The vertical coordinates are countries, and the horizontal ones are years. For this to work I need to supply the axis environment with the list of countries as symbolic coordinates, and this is where I have problems.  In the MWE below, in the first tikzpicture I supply the list of countries manually, and everything is fine. In the second tikzpicture, I supply the list as loaded from an external file using \CatchFileDef command from the catchfile package. This creates an error even though the command \listcountries seems to hold the exact same text as the one I was putting manually (namely : AUT,GER,FRA).  Can you explain why \CatchFileDef doesn't work in this context?  \documentclass{standalone} \usepackage{filecontents,catchfile} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.7} \usepackage{pgfplotstable}  \begin{filecontents}{testcountries.txt} AUT,GER,FRA \end{filecontents}  \begin{filecontents}{CountryYears.csv}     #########################################################     country,year     AUT,1998     AUT,1999     AUT,2000     GER,1999     GER,2000     GER,2001     GER,2002     FRA,2000     FRA,2001     FRA,2002     FRA,2003     ######################################################### \end{filecontents}  \begin{document}     \pgfplotstableset{columns/country/.style={string type}}     \pgfplotstableread[col sep=comma]{CountryYears.csv}\loadeddata      \CatchFileDef{\listcountries}{testcountries.txt}{}      This is the list of countries from testcountries.txt:   \listcountries       \bigskip      \begin{tikzpicture}     \begin{axis}[symbolic y coords={AUT,GER,FRA     },ytick=data,     x tick label style={/pgf/number format/.cd,%         scaled x ticks = false,         set thousands separator={},         fixed},]     \addplot[only marks] table[x=year,y=country] \loadeddata;     \end{axis}     \end{tikzpicture}      \begin{tikzpicture}     \begin{axis}[symbolic y coords={\listcountries         },ytick=data,     x tick label style={/pgf/number format/.cd,%         scaled x ticks = false,         set thousands separator={},         fixed},]     \addplot[only marks] table[x=year,y=country] \loadeddata;     \end{axis}     \end{tikzpicture}  \end{document}


I need to save the user agent of a visiting user.  This is my snippet:  // User Agent $ua = $_SERVER['HTTP_USER_AGENT']??''; $ua_md5 = md5($ua); // Search if the UA already exists in the user_agents table $ua_id = $db->query("SELECT id FROM user_agents WHERE md5='".$ua_md5."';")->fetchColumn();  if(!$ua_id) {     // If it doesn't exist, insert it and get its id     $db->query("INSERT INTO user_agents (md5, user_agent) VALUES ('$ua_md5', ".$db->quote($ua).")");     $ua_id = $db->lastInsertId(); }   I use PDO:quote instead of prepared statements only for performance reasons (it's faster and this script runs thousands of times per second).  It happens that some users has this user agent:     Mozilla/5.0 (Linux; Android 5.0; \xD6wn Smart Build/LRX21M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36   And the insert fails for this error:     "PHP message: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xD6wn Sm...' for column 'user_agent' at row 1" while reading response header from upstream   What is the reason and how can it be fixed?    Edit: more debugging found out the $ua value is:     Mozilla/5.0 (Linux; Android 5.0; ÖWN S1 Build/LRX21M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36


I don't have a clue of what's going on. We haven't learn this in class so I need all the help possible. The more detailed of an explanation, the better. Thanks in advance. The only info I have is that this matrix is Orthogonal. Which means I know the answer, just don't know how to get it.  \begin{bmatrix}        \cos\theta & -\sin\theta \\        \sin\theta & \cos\theta       \end{bmatrix}


Why do the degrees of freedom of a density operator not match up with the degrees of freedom of a state vector?

The density operator $\rho$ of a mixed 2-qubit system has $4^2-1=15$ degrees of freedom. We can require Tr[$\rho^2$] $ =1$ so that the system is in a pure state. Now we have 14 degrees of freedom.  If we describe the system with a complex 4-dimensional vector we have with the norm restriction $2 \times4-1=7$ degrees of freedom. The state vector even shows a redundant degree of freedom because $|\psi\rangle$ is the same state as $e^{i\phi}|\psi\rangle$.   So what part of my counting is wrong, or what does it mean, when the density operator and the state vector are supposed to describe the same thing but the density operator has twice the degrees of freedom, although it is the vector state which has an obvious redundant degree of freedom?


Projecting multiple equirectangular images inside mesh

I am doing a project where I have images taken from a panoramic camera inside of a physical object that I have modelled in Blender. I can project these onto a simplified object without problems using an image texture. The object is a bit more complex and so will need multiple images taken from inside. Is there a way to project these images radially from the locations where the camera would have been? I know I can connect the image positions to an object, but it is not clear to me how the image is tethered to the object position. If this is possible, how do I manage the overlap areas?


Show that $\gcd(5a+8, 7a+3)=1\textrm{ or } 41$. Best way to solve a problem of this sort?

Let $a\in \mathbb Z$. Show that $\gcd(5a+8, 7a+3)=1\textrm{ or } 41$. Knowing that $\forall k \in\mathbb Z, \gcd(a,b)=\gcd(b, a-kb)$. I actually know how to solve this particular problem: $\gcd(5a+8, 7a+3)=\gcd(5a+8,2a-5)=\gcd(a+18,2a-5)=\gcd(a+18:-41)$. So $(a+8:-41)\in \{1, 41\}$. What I want to know is if there's an efficient way to solve any problem of this sort. The goal being to eliminate variables from either side of the gcd no matter the parity of the terms involved. Manually adding and substracting to each sum to have the variable $a$ cancelled. This is only the simplest example. Another one is: $\gcd(2a^2+3a-1, 5a+6)$. Any ideas?


I have this input:  sdkxyosl 1 safkls 2 asdf--asdfasxy_asd 5 dkd8k  jasd 29 sdi44sw 43 asasd afsdfs 10 rklyasd 4   I need this output:  sdi44sw 43 dkd8k  jasd 29 asasd afsdfs 10 asdf--asdfasxy_asd 5 rklyasd 4 safkls 2 sdkxyosl 1   So i need to sort the lines by the last column.  I don't know how many columns are in one line.  I just can't figure it out, how to do it. I don't have "perl powers". I just have ~average scripting powers with sed, awk, cut, etc..   Does somebody know how to do it?


How do I calculate the visible area of a big isometric map?

I have a simple isometric map of 128px x 128px, tile in a 2D field [xxxx][xxxx] I have a problem with my calculating. I need to get startx:[0], startY[0] and endX[20], endY[10], if I know the screen width and height, and the camera offset like this:   (not effective for big maps)  This is my current code:  starti = (-camera.xOffset - tileWidth) / 64; int endi = (-camera.xOffset + camera.width + tileWidth) / 64; int startj = (-camera.yOffset - tileHeight) / 64; int endj = (-camera.yOffset + camera.height + tileHeight) / 64;  Point start = twoDToIso(new Point(startx,starty)); Point end = twoDToIso(new Point(endx, endy)); for (int i = start.X; i < end.X; i++) {     for (int j = start.Y; j < end.Y; j++)     {   This does not work; it will create something like this:   It does something, but when I move and my offset is changed, it does not work at all. How do I calculate the visible lines on a big isometric map?


Are GPS coordinates determined via data transfer?

I'm running on Android 4.2 and I have an app that sends data (via 3G) to my server including my current GPS coordinates. Sometimes, however, my data gets sent but the GPS coordinates are left blank.  Is it possible for my Android device to be able to send / receive data, but not be able to triangulate my location?  I'm trying to figure out if this is a flaw in my app or if I am having GPS signal strength issues.


How can I make it so that all new users created in the future will have a specific file copied?

I have a file (a document or text file to be precise) that I would like to be copied for every new user I create in the future. Is this possible? For example If I were to create a new user "test", my file should automatically be copied to the user "test" without me doing anything.   Also is it possible to change the default location of the file to be copied? I don't want it to be copied to the home directory?


Java + How can I replace string containing '(' with '\\(' to for pattern.compile regular expression

I have a the following code  StringToSearchIn ="Hello word (Figure 1)";  patternString= "word (Figure 1)"  Pattern pattern = Pattern.compile(patternString);        Matcher matcher = pattern.matcher(StringToSearchIn); matcher.find()   This is returning 0, as '( or )' is not recognized, when I change to      patternString= "word \\(Figure 1\\)" , is returning the match counter as 1 Is there a way to change my patternString to search for '(' and replace with '\\(' dynamically before creating a pattern.   Thanks in advance.


I'm shopping for a new road bike, probably a Cannondale Synapse or a SuperSix Evo Carbon. Since this is around the time the new models for 2017 are going to come in, shouldn't this be the time when I'll be able to get the 2016 ones lower than retail prices? All the LBS I've looked at are carrying these at full retail prices.   Is there an ideal time to shop for bikes to get them at bargain prices? Are there any other tips to get Bikes at a reasonably lower price than full retail price?


Find the caller of a method (reflection) in Java

I want to recover in Java the instance of the caller. Here is my code  class A {     void methodA() {         B b = new B();         A a = b.methodB(); //needs to be the same instance ie "this"     } }  class B {     A methodB() {         //Here the code (with reflection) I need         A a = getPreviousInstanceCaller();         return A     } }   Does it exist in Java a way to do that ? Maybe with reflection ?


Change sqlite to use machine's TZ and not GMT

Is there a way to change sqlite to use my machine's TZ instead of GMT ?  CURRENT_TIMESTAMP is currently displaying GMT.  I need it as the default value for a record timestamp column.


Emulator crashing when trying to run an application with multiple images

I get this error message when trying to run an application with large size image     04-07 08:32:01.837: E/dalvikvm-heap(647): 20736000-byte external   allocation too large for this process. 04-07 08:32:01.897:   E/GraphicsJNI(647): VM won't let us allocate 20736000 bytes   Any help?


Do NT Service accounts need to be SysAdmin when using Domain Accounts

I'm not sure if I'm googling for the wrong thing but I can't find an answer. We're running SQL 2014. The SQL Server and SQL Agent processes are both running under Domain Managed Service Accounts.  When SQL was installed NT SERVICE\MSSQLSERVER, NT SERVICE\SQLSERVERAGENT, NT SERVICE\SQLWriter, NT SERVICE\Winmgmt are all setup as SysAdmins.  If I am running SQL and SQL Agent as a Domain user, do I still need these NT Service accounts, and/or do they need to be SysAdmin?


I just stumbled across a problem I never actually thought about before: decimals in binary. Can someone explain how to do it? Thanks!  Note: If possible, I'd like the answer in decimals not fractions, but this may not be possible.


Could anyone explain when to use a noun or a gerund?  Are these sentences correct? What is the difference between usage of gerund and noun there?        I worked on the improvement of the article.   I worked on the article improving.   I worked on the improving of the article.                The investment idea was published.   Investing idea was published.


If a,b,c,d are positive integers with a sum of 63, what is the maximum value of ab + bc + cd ? (By using calculus to solve it))

If $a,b,c,d$ are positive integers with    $$a+b+c+d=63,$$   what is the maximum value of $$ab+bc+cd?$$   I treated this as an optimization problem and tried to solve it but I did not make any progress.


Can someone explain the meaning of $\setminus$ in operations with sets?

I have never faced with such operator... what does '$\setminus$' mean? Does this expression make any sense? $(A \cup B) \setminus C = A \cup (B \setminus C)$


Violation of energy conservation in retarded interaction of magnet and coil

If I move a magnet towards the coil then the magnet will experience a restive force because of . This way mechanical energy will convert into electrical energy.  But what if the magnet and the coil are a sufficiently large distance apart? The change in the magnetic field travels at the speed of light so the magnet will not feel any restive force instantly. Doesn't this violate the energy conservation law? Because we fix the magnet to a particular point before the restive force arrives at the magnet. And we will able to produce arbitrarily large energy in the coil.  If the magnet starts to move at time t=t1 and lets assume that t0 is the time taken for the flux linking the coil to change due to motion of the magnet.  t0 = (distance between the magnet and the coil/velocity of light)  the magnet will begin to experience resistance at time (t1+2t0). so the delay will be 2t0. In this time period (2t0), magnet is free without experiencing any resisting force. During this time period we can draw current arbitrarily large value by making arbitrarily large numbers of turns of the coil. If energy is conserved, then what mechanism stops us to draw any large amount of power from the coil ?


What's the difference between running a program as a daemon and forking it into background with '&'?

What are the practical differences from a sysadmin point of view when deploying services on a unix based system?


The limit of $(n!)^{1/n}/n$ as $n\to\infty$

(Proof necessary)   $$\lim_{n \to \infty}  \frac{(n!)^{\frac{1}{n}}}{n}$$  I don't have an answer yet, but I know it exists, and is less than $1$.  Edit. Winther's answer is the most correct I don't understand how he is jumping from (log(n!) - nlog( n )) to it equal to the Sum from k=1 to n of log(k/n). Don't presume, it's wrong, I need to go, and I'll keep looking at it when I get back  Any help is appreciated


Astrophotography picture with too much noise. How do I correct this in postprocessing?

This is the Milky Way above Kakadu National Park, Australia, and my first try at astrophotography.    Thirty second exposure, f/4.0 at 17mm with ISO 12800 (!!) which in hindsight probably was way too high and resulted in a lot of noise. I also used Picasa to increase contrast, but I probably went a bit overboard there as well.  , I am looking for input on how to better postprocess this picture to reduce noise.


I'm from the Philippines, and I'm going to Kish Island, Iran. I'm flying via Dubai, staying in the airport, and then catching a connecting flight to Kish.  What are the requirements for me for a transit visa for Dubai?


Refreshing Formula Fields Dynamically (without save)

I have an "invoice" custom object which has a couple of summarising formula fields in. I also have a complicated and dynamic visualforce page for building the invoice objects.  As the user is completing this form, different areas are dynamically updated to show "latest" values. This is all fine where I am copying data about or performing bespoke lookups and maths, but - in what is really the simplest case - a formula field, I can find no way to get the value to update, without performing some weird cyclic save + reload of the whole object.  This is inappropriate for a couple of reasons (the object should not be saved until the invoice is complete + accepted) and the other option I have found online is to spoof the value by duplicating my formula field maths into the custom controller and re-executing them there - also unacceptable from a code/logic location/duplication perspective.  Is there anyway to "force" an object/page to recalculate it's formula fields, either through standard or extended controllers?


It happens to me rather often that I look at a question such as "How to do whatever with Collections" and while that's what I'm looking for in Java, it's useless if the question refers to, for instance, C#.  So, this is purely a UI thing: how about putting the tags right under the question title, rather than arbitrarily far under the question text itself?  EDIT: here's what I mean


How to get calender date from a date field in Java in a particular time zone?

I have a date stored in a date variable(java.util.Date), (say 2015-4-4 15:30:26-0700) in yyyy-mm-dd hh:mm:ss timezone format. Now if I try to get the calendar day (i.e. 04 april 2015) it gets converted to my local timezone and prints the next day(i.e 05 april 2015). How do I get the calendar day in a particular time zone (say +1:30 GMT)? I am using the getdate()function from java.util.Date to get the calendar day.


Can stacking multiple exposure images in post-processing give the same effect as a long exposure?

I like to shoot daytime long exposures, where the exposure time is around two minutes. That shows the motion of the clouds in daylight.  I used a Hoya nd400 (which is 9 stops) stacked together with a cpl (around 1 or 2 more stops down) but i couldn't get the 2 minute exposure. So i would like to know can I get a final image with the  same result as 2 minutes exposure, by taking multiple exposures  and stacking them together in photoshop.  For example, I could shoot 6 images which have 20 seconds exposure each (a total of  of 2 minutes exposure) and stack them together in Photoshop.  I don't know much about Photoshop — how would I go about doing it? I want to get same effect of that 2 minute exposure photo by stacking multiple exposure shots with stacking or blending layers — but, how?


I want to write a recursive function p() that takes a list and returns a list of all permutations of the input list.  Ex.  >>>permutations([1, 2,3]) [[1, 2,3],[2, 1, 3],[2, 3, 1],[1, 3, 2],[3, 1, 2],[3, 2, 1]]   I want to recursively call on a sublist l[1:] for all permutations of all elements of the original input list except the first element, l[0], and then generate the permutations of the original list by adding l[0] to those permutations.  So far, I have  def p(list):     if len(list)==1 or 0:         return list     result = []     for i in list[1:]:         result.append(i + list[0])     result += [list]     return result   But I know something is wrong.... help please?


I have been trying to prove that the propositional formula $ \big( \alpha \rightarrow \lnot \beta \big) \rightarrow \big((\alpha \rightarrow \beta) \rightarrow \lnot \alpha \big)$ is a theorem in Hilbert's system, i.e., to prove $\vdash \big( \alpha \rightarrow \lnot \beta \big) \rightarrow \big((\alpha \rightarrow \beta) \rightarrow \lnot \alpha \big)$using the following three axioms and Modus Ponens.   $\alpha \rightarrow \big(\beta \rightarrow\alpha \big)$ $ \big({\alpha \rightarrow \big(\beta \rightarrow\gamma \big)}\big) \rightarrow  \big({\big(\alpha \rightarrow\beta \big) \rightarrow \big(\alpha \rightarrow\gamma \big)} \big)$ $\big( \lnot \beta \rightarrow \lnot \alpha \big) \rightarrow \big( (\lnot \beta \rightarrow\alpha) \rightarrow \beta \big)$    Deduction theorem can be used as well. I am getting into long winded derivations which don't lead anywhere. Hints will be highly appreciated.


Should I disclose my mental illness and medication in a PhD position interview?

While I was doing my PhD in my previous position I was diagnosed with a mental illness. I started medication however as a result I could not concentrate very well and it made me quit my previous position. I continued my medication and recently have reduced it. Now I think I am able to concentrate again.  Soon I will have an interview for a new PhD position. I was wondering if I should bring up the matter. On one hand, I think I should be honest to my future supervisor. On the other hand, I don't want to lose the chance by scaring them.  Would you please help me with your opinions?  If I shouldn't bring it up myself, what if they asked me about my previous position? Should I tell everything then?


I have a a bunch of li's that are a blog but i want to show them enlarged in a colorbox. Therefore I need to know which li I clicked so I can get that ID and use that in my query to get all the date for that post.  Now I thought that the best way is to retrieve the blog id with jQuery and then use that to add to my query in the footer.       <li id="<?php the_ID;?>">blog
     <li id="<?php the_ID;?>">blog
     <li id="<?php the_ID;?>">blog
     <li id="<?php the_ID;?>">blog
      //My colorbox inline frame     <?php query_posts( 'p="the_ID_of_clicked_li' ); ?>      etc etc   I think this can be done with AJAX but is there a more simple method and give me a clean URL?  I haven't AJAX in projects before, so I am a beginner with that.  Any thoughts would be appreciated


Watched screen recording but it's not saved to the desktop

I recently recorded a session with my dad. I stopped the recording after the session ended (with the setting set to save to Desktop), clicked the icon that appeared on the lower right corner to open the file, and played back a few minutes to make sure it worked. I then clicked Share to send it via AirDrop to my computer, which did not work; the status remained "cancelled" despite my efforts. I assumed I'd be able to access it through my phone by sending it through a third app, so I pressed cancel on the AirDrop pop-up window. The entire screen recording closed and (apparently) vanished forever after the action. I'm extremely frustrated because I can't seem to locate this video.


Get name of executable jar from within main() method

I've created an executable jar and using commons-cli to give the user the ability to specify command line parameters when he launches the client.  Everything works fine.  However, when I print the usage statement for the jar, I would like to show the following:  usage: java -jar myprog.jar <options> <file> --help Display the help message --debug Enable debugging ....   Printing of all the options is easily done with commons-cli.  However, the "usage" line is the head scratcher.  I cannot seem to figure out a way to get the "myprog.jar" name from the args[] that are passed to the application.  Is there any easy way of doing this?  I could use a pretty convoluted method to back trace from my class' classloader and figure out if it is contained within a jar, but that seems like a fairly ugly answer to what should be a pretty simple question.  private String getPath(Class cls) {     String cn = cls.getName();     String rn = cn.replace('.', '/') + ".class";     String path =             getClass().getClassLoader().getResource(rn).getPath();     int ix = path.indexOf("!");     if(ix >= 0) {         return path.substring(0, ix);     } else {         return path;     } }


Different version of the Hilbert basis theorem

How to prove the following version of the Hilbert basis theorem:     $R$ is Noetherian if and only if $R[|x|]$ is Noetherian.   Of course, in view of the isomorphism: $$\frac{R[|x|]}{(x)~R[|x|]} \simeq R$$ one direction follows. I'm struggling to come up with a proof for the converse. Any help is much appreicated.


"I know this question is like two years old but..."

While my code is compiling, I usually like to go through some reviewing and especially the late answers.  What I do see a lot in answers to old questions is the self-defense mechanism     ""   As if there is something fundamentally wrong with answering old questions. This leads me to two questions/thoughts:   Should we edit phrases like that out of the answer? (Given it's a good/valid answer to begin with, without any of the likely "old answer" problems. I realize the example linked to has its flaws.) Should we perhaps explicitly encourage answering old unanswered questions somewhere in the FAQ? (I'm unaware of any such recommendation, but might have read over it. Let me know if I did)


16.04 ubuntu single sign on 'wrong e-mail or password'

Apparantly, one needs an Ubuntu SSO account for installing Snaps in 16.04 through ubuntu software (see  link). That's fine with me, but it keeps telling me that my username or password is wrong although I've just changed my password (in fact, twice just to be sure).   So, what could I do to prevent Ubuntu software to tell me my password is wrong, please?


In what movie did the alien get its head cut off by a plane propeller?

I remember seeing this horror movie when I was a child.  There was an alien creature killing the cast in the area.  It disguised itself as other people. At the end of the movie, they had it trapped, and it was in the form of a black man. The man started talking like a girl to show that he was the alien.  The alien died when the planes propeller started and cut off its head.  Does anyone have any idea what movie I am talking about? This has been bothering me for so long. The year of the movie had to be early 2000s


Using plural and singular to refer to the same thing(s)

I often have trouble expressing myself when I want to talk about some things (plural) holistically as a single thing.  For example, "differential equations are a form of expression...".  It doesn't seem right to say that somethings (plural) are a something (singular), but I would like to say something like this if it can be done at all correctly.


I've been reading up on $p$-values, type 1 error rates, significance levels, power calculations, effect sizes and the Fisher vs Neyman-Pearson debate. This has left me feeling a bit overwhelmed. I apologise for the wall of text, but I felt it was necessary to provide an overview of my current understanding of these concepts, before I moved on to my actual questions.    From what I've gathered, a $p$-value is simply a measure of surprise, the probability of obtaining a result at least as extreme, given that the null hypothesis is true. Fisher originally intended for it to be a continuous measure.  In the Neyman-Pearson framework, you select a significance level in advance and use this as an (arbitrary) cut-off point. The significance level is equal to the type 1 error rate. It is defined by the long run frequency, i.e. if you were to repeat an experiment 1000 times and the null hypothesis is true, about 50 of those experiments would result in a significant effect, due to the sampling variability. By choosing a significance level, we are guarding ourselves against these false positives with a certain probability. $P$-values traditionally do not appear in this framework.  If we find a $p$-value of 0.01 this does not mean that the type 1 error rate is 0.01, the type 1 error is stated a priori. I believe this is one of the major arguments in the Fisher vs N-P debate, because $p$-values are often reported as 0.05*, 0.01**, 0.001***. This could mislead people into saying that the effect is significant at a certain $p$-value, instead of at a certain significance value.  I also realise that the $p$-value is a function of the sample size. Therefore, it cannot be used as an absolute measurement. A small $p$-value could point to a small, non-relevant effect in a large sample experiment. To counter this, it is important to perform an power/effect size calculation when determining the sample size for your experiment. $P$-values tell us whether there is an effect, not how large it is. See .  My question: How can I reconcile the facts that the $p$-value is a measure of surprise (smaller = more convincing) while at the same time it cannot be viewed as an absolute measurement?  What I am confused about, is the following: can we be more confident in a small $p$-value than a large one? In the Fisherian sense, I would say yes, we are more surprised. In the N-P framework, choosing a smaller significance level would imply we are guarding ourselves more strongly against false positives.   But on the other hand, $p$-values are dependent on sample size. They are not an absolute measure. Thus we cannot simply say 0.001593 is more significant than 0.0439. Yet this what would be implied in Fisher's framework: we would be more surprised to such an extreme value. There's even discussion about the term highly significant being a misnomer:   I've heard that $p$-values in some fields of science are only considered important when they are smaller than 0.0001, whereas in other fields values around 0.01 are already considered highly significant.  Related questions:         (as provided by @amoeba)


Create a Custom Distribution of Ubuntu 15.04

I want to make a custom distribution of my Ubuntu 15.04 i recently upgraded from 14.04 installed and configured lots of software i need and i want to make an install-able iso with all the apps i installed . Is there a way ? since remastersys don't work after Ubuntu 12.XX .it will be very helpful thanks for reading.


probability that broken sticks will not form a triangle.

A stick of unit length is broken into two at a point chosen at random. Then, the larger part of the stick is further divided into two parts in the ratio 4:3. What is the probability that the three sticks that are left CANNOT form a triangle? in this problem i am not getting how to proceed like  what is  sample space?it is quiet confusing to me. Please give any simple view for this problem.


Updating all links to user avatars to use HTTPS

I've recently been firing pull requests at Stack Exchange's  fixing mixed content warnings, and found that HTTPS is pretty well supported on i.stack.imgur.com, which is where user-uploaded profiles are.  I'm proposing that a dev goes through the databases for all Stack Exchange sites, and changes all of the [Users].[ProfileImageUrl] fields for all users to do the following changes:  http://i.stack.imgur.com  -> https://i.stack.imgur.com http://graph.facebook.com -> https://graph.facebook.com http://www.gravatar.com   -> https://www.gravatar.com   See  for more on plain avatar URLS.  Stackoverflow only:  https://lh3.googleu... -> 62590 https://i.stack.img... -> 4 https://lh4.googleu... -> 58269 https://www.gravata... -> 1491834 https://lh5.googleu... -> 58487 https://lh6.googleu... -> 58764 //i.stack.imgur.com... -> 4  -- Here onwards http://graph.facebo... -> 394107 http://i.stack.imgu... -> 274856 http://www.gravatar... -> 2685   This'd eliminate 90% of the mixed content warnings on Stack Exchange over HTTPS.  Script to run to fix this, for brevity:  update [Users] set [ProfileImageUrl] = Replace([ProfileImageUrl], '/http:/', '/https:/');   Normally I'd run on each domain specifically, but every single avatar host supported by Stack Exchange supports HTTPS.


How do I check what file $_FILES is? I've seen ways, where MIME-TYPE is used, but I've read that checking the MIME-TYPE is not a save method. I know how it works with images. There you can use Attributes like "IMAGE_JPG" or "IMAGE_PNG". But "TEXT_HTML" doesnt exist.  So please help me, i would like to use the only proper Way.


Salesforce1 navigation - how to go to a Visualforce page?

I've done a bit of tinkering with the Salesforce1 warehouse example (tutorial 6 ).  I've successfully adapted the code to work with my own custom object, and I've got records showing up as pins on a Google map.  Now I'm trying to change the links that show when you click the pushpins so that you go to a Visualforce page instead of the original Salesforce object (or default SF1 version of it in this case).  Here's the code I've tried most recently.  Nothing happens when you click on the link in the pushpin.  I've got this working on the non-salesforce1 side of things, but the methods of navigation are different.  if(sforce.one){     var apexstr =  '/apex/SimpleSiteProgram?id=';      warehouseNavUrl =                            'javascript:sforce.one.navigateToUrl(\''+ apexstr + warehouse.Id + '\')';   Below is the text that appears in the browser lower margin when you hover over the pushpin link in Salesforce1 mode.  Any ideas on what is wrong here? Do I need to spell out the whole Url?    edited to add  When I click on the pushpin the Salesforce1, I get the following error message in the javascript console.  "Uncaught TypeError: undefined is not a function"  which would appear to indicate the code shown wasn't being understood as a javascript function, but the following code works in Salesforce1:  warehouseNavUrl =                          javascript:sforce.one.navigateToSObject(\'' + warehouse.Id + '\')';   I'm not too experienced in javascript.  Any thoughts about where I've gone wrong?


For $5$ distinct integers $a_i$, $1\le i\le5$, $f(a_i)=2$. Find an integer b (if it exists) such that f(b) = $9$.

Here's an interesting question I came across.The person who gave it to me told me that it should not take more than $3$ minutes to solve this question. But I could not find any definite solution :( Maybe you guys could give me some help.Any hints would be appreciated.Here's the question:  Let $f(x)$ be a polynomial with integer coefficients. Suppose for $5$ distinct integers $a_i$, $1\le i\le5$, $f(a_i)=2$. Find an integer b (if it exists) such that f(b) = $9$.


How did Hermite calculate $e^{\pi\sqrt{163}}$ in 1859?

Pretend you are in 1859. What is a fast, efficient, and accurate way to numerically evaluate constants like that to, say, 20 decimal places, using ONLY pen and paper?


I was wondering, what single word could I use to describe the day before yesterday? E.g.     My birthday was the day before yesterday.


In a Tikz Figure, I'm doing some computation and want to print results as label of nodes. The problem is that I only need the integer part of the number to print.  I tried with round() function. It round the values correctly but they are printed with .0  \begin{tikzpicture}    \foreach \i in {1,2,3,4,5,6} {       \pgfmathparse{round(\i*100/3) }        \let\theIntINeed\pgfmathresult        \draw (\i,0) node {\theIntINeed};    }  \end{tikzpicture}  % Results: 33.0 67.0 100.0 133.0 167.0 200.0   Thank you in advance.


Measure time between two GPIO events in STM32

I want to measure the RPM of a motor that I am controlling using a STM32 and some driver chip.. My understanding is that I have to measure the time between 2 hall signal and calculate the speed (RPM).  The question is, how can I start a timer and restart it on each hall signal interrupt. I tried to study the timers but the amount of things to learn are huge...  I mean for my case, what mode should I run a timer? I think there are input direct capture, output captures, etc...  Here is my interrupt code:  void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {     if(GPIO_Pin == GPIO_PIN_4 || GPIO_Pin == GPIO_PIN_5 || GPIO_Pin == GPIO_PIN_6) {         commutate();     } }


I'm coding a small CMS to get a better understanding of how they work and to learn some new things about PHP. I have however come across a problem.  I want to use mod_rewrite (though if someone has a better solution I'm up for trying it) to produce nice clean URLs, so site.com/index.php?page=2 can instead be site.com/tools  By my understanding I need to alter my .htaccess file each time I add a new page and this is where I strike a problem, my PHP keeps telling me that I can't update it because it hasn't the permissions. A quick bit of chmod reveals that even with 777 permissions it can't do it, am I missing something?  My source for mod_rewrite instructions is currently  incase it is important/useful.


How do I create a div element in jQuery?


In a 2D top-down game, how can I create projectiles that have a height?

A 2D game called Deer Hunter has projectiles like this:    Are the projectiles 2D or 3D models? How could I implement something similar?


Prove that set of all finite subsets of N with n elements is denumerable

I need to prove that the set S of all finite subsets of ℕ with exactly  n elements (where  n is a natural number) is denumerable. I think I need to set up an injection from S to ℕ since ℕ is a countable set but am not sure how exactly to describe that 1-1 mapping? I understand the proof of the set of all finite sets being denumerable but I'm just struggling when you specify that the cardinality of the finite sets has to be  n.


Using tikz, How can I get the arrowhead in this example to be angled 'better'?   \draw [arrows=-{>[scale=2, length=3, width=3.5]},line width=0.7mm] (0,0) arc (90:-20:0.4);


Is Canonical Livepatch not supported on non-LTS release like Ubuntu 18.10?

Last night I thought to check whether Canonical Livepatch service is working fine after upgrading to Ubuntu 18.10 from Ubuntu 18.04. I know it was meaningless since it was working fine in Ubuntu 18.04. But to my surprise when I ran   sudo canonical-livepatch status --verbose   I got the error:   2018/11/03 23:11:05 error executing status: Livepatchd error: The platform Ubuntu 18.10 is not supported. exiting.   I am now confused, is the problem only on my system? OR Is Canonical Livepatch service not supported on Ubuntu 18.10?  I would therefore like to request my fellow Ubuntu 18.10 users to do the check and if someone knows the reason/solution please reply to this thread.


Differentiability using the limit definition?

(This follow question looks very much alike the one from .  they used the eplison function to prove but I'm wondering if there is another way to prove(just sticking to the definitions of limits/derivatives of functions and sequences.)) Problem: If a function $f$ is differentiable at some point $p$ in the real numbers, and suppose the sequences $\{s_n\}$ and $\{k_n\}$ have the properties $s_n < p < k_n $ and also $\lim s_n = p = \lim k_n$, How do I show that $\lim _{n \rightarrow+\infty} \frac{f\left(k_{n}\right)-f\left(s_{n}\right)}{k_{n}-s_{n}}=f^{\prime}\left(p\right)$? This looks very similar to the limit definition of a derivative but in here, its $n \to \infty$ instead of $x\to a$ Is there  some way to incorporate them together to prove it?


How to 3 triangle could generate hundred of fragments?

I am just watching the Shaders intro video from here where the Youtube is saying  3 vertices make up a triangle and Could generate a couple hundred fragments based on how much of the screen that triangle occupies  Its super easy to understand the first thing but the next thing fragment? What actually the fragment is? When we join the three vertices the face will appear which is called a fragment? then how 3 vertices colud generate hundred of fragments?


Use of "did" in an affirmative sentence before subject

I wrote the following sentence in an article:     Only in June it created repositories.   The editor corrected me:     Only in June did it create repositories.   What's the explanation for "did" in this case? It doesn't sound like emphasis, because the following word is not a verb.


Image under covering map of Hausdorff space is Hausdorff?

Let $\overline{X} \rightarrow X$ be a covering space, where $\overline{X}$ is a Hausdorff space. Does $X$ have to be Hausdorff?  I assume there is a counterexample, but I couldn't find one yet.


For our banking app, our team is trying to encourage our users to keep more money in their savings account. Specifically, to prevent more than 6 transfers per month, of any amount, from savings to checking.  The current (bad) method is to have a message before the "Submit" button with a paragraph of legal jargon that nobody reads.  My current plan is to have a natural-language message that tells the user that there are methods to save more money easily (citing some loss-aversion research), and maybe a call to action that brings them to another savings service. That's the idea I just came up with, and I'd like to have more.  We're just looking for a good way to help people spend less money, which I'm relatively new to.


No white space at beginning + allow space in the middle

I have this regex for detecting @xxx /(?:@)(.*[a-zA-Z0-9]*)/  it matches even when the @xxx is not separated from another string from the left (when it's typed in the middle of an input line). xxx@xxx will match too so i added \s to require a space in the begining .Now it's /\s(?:@)(.*[a-zA-Z0-9]*)/  But the problem is there isn't a match when the @xxx is typed in the begining of a  line (the white space is still required) and i need it match in that case. I tried to get inspired by  so i added ^[^-\s] in the begining of the regex to make it /^[^-\s](?:@)(.*[a-zA-Z0-9]*)/  But it didn't work neither.


Will Google punish me if I import a story from my own blog to content sharing sites such as Medium.com?

I've heard that Google punishes sites with duplicate content.   If I write an article on my blog then import it on Medium (basically a copy/paste) will Google regard it as a duplicate?   Medium.com is a blog platform (sort of).


Here's my code: It gives me an error that b is used before assignment.  from Tkinter import * mConsole=Tk() words=StringVar() b='_ I _ _ U _' def c():     if b=='_ I _ _ U _':         b='C I _ C U _'             words.set(b)  words.set(b) word=Label(textvariable=words, font='Jokerman 20').grid(row=1,column=3 ,columnspan=4)


Oracle SQL to get store branch and product category with maximum sales for branch

I have a schema for a store with multiple branches. I'm trying to get a list of branches and their one highest selling product category.    This is as far as I've gotten with the query:  select branch_name,prod_category,sum(p.prod_price*il.inv_line_qty) as  Category_Value from w_branches b  inner join w_products p on p.branch_id= b.branch_id  inner join w_inv_line il on il.prod_id= p.prod_id  inner join w_invoices i on i.inv_id=il.inv_id group by p.branch_id, b.branch_name,p.prod_category;   That returns a list of branch names, with each product category that the branch has and the total sales for the category.   BRANCH_NAME      PRODUCT CATEGORY        TOTAL SALES ---------------- ------------------------------------ BRANCHMALL       CPU                     41808 BRANCH_POS       Desktop                 62282 BRANCH_EAST      CPU                     51510 BRANCH_EAST      Networking              81600 BRANCH_POS       CPU                     22477 BRANCH_CENTRAL   Desktop                 126066 BRANCHMALL       SSD                     93154 BRANCH_NORTH     CPU                     217685   As you can see the branches are repeating. I'd like to get just the category with the maximum sales for the branch, as below.  BRANCH_NAME      PRODUCT CATEGORY        TOTAL SALES ---------------- ------------------------------------ BRANCH_POS       Desktop                 62282 BRANCH_EAST      Networking              81600 BRANCH_CENTRAL   Desktop                 126066 BRANCHMALL       SSD                     93154 BRANCH_NORTH     CPU                     217685   Thanks!


I am very new to electronics and hardware.  I want to know how can i convert 9v to 5v and 3.3v using only resistors ?  Basically, this is what i am trying to do -  I want to supply power (3.3v) to an . And, i want to supply power (5v) to a soil moisture sensor. (The soil moisture sensor will be connected to the esp module.)  But, i have only one 9v battery to supply power to both.  I want to do this using resisitors. Is it possible ? If yes, how ?  Thanks in advance.


The Probability $P_{[m]}$ that exactly $m$ among the $N$ events $A_1,\dots,A_N$ occur simultaneously

For $1\le i_1,i_2,...,i_k\le N$ denote    $$p_{i_1,...,i_k}=\Pr(A_{i_1}\cap A_{i_2}\cap\dots\cap A_{i_k}),$$   $$S_k=\sum\limits_{1\le i_1\le\dots\le i_k\le N}p_{i_1,\dots,i_k}.$$      Show that the probability $P_{[m]}$ that exactly $m$ among the $N$ events $A_1,\dots,A_N$ occur simultaneously is given by    $$P_{[m]}=S_m-\binom{m+1}{m}S_{m+1}+\binom{m+2}{m}S_{m+2}-\dots (-1)^{N-m}\binom{N}{m}S_{N}.$$   We've already proven the inclusion exclusion formula: $$\Pr\left(\bigcup\limits_{i=1}^NA_i\right)=S_1-S_2+S_3-\dots (-1)^{N-1}S_N,$$  but the problem is the factors $\binom{m+1}{m}...$ before $S_i$'s, I cannot really show that.


Accept Multiple Answers or Split Bounty among Several Users

Often more than one person contributes to the community coming up with the final accepted answer to a question. However, it is only possible to accept a single answer. Restricting to one final answer does make sense for the sake of referencing that answer later, but in many cases that answer is the product of the input from several individuals. I would like to be able to decide how much of a bounty goes to different users, or some other mechanism to recognize the contribution of multiple users. Of course I could always upvote their previous answers, but this is really incorrect if their previous answers aren't the complete, final answer I've accepted.  What think you metaSOrs?


Captions are not stick together with the figure in nature class

I am using nature class file. In that class, \includegraphics was not working. Which I solved with some modification in the .cls file. However, the captions and labels are not working. Could anyone suggest what is the problem?  Thanks


How can I protect my camera from the snow?

I'm about to go shoot outside and it is currently cold and slightly snowing. I know film cameras stop working when its too cold but I haven had issues with my digital camera. I've also gotten snow all over it before. Is there a way to keep my camera warm/weatherproof? I have a canon dslr.


What better way to Simulate this Popcorn in the Bucket?

I'm trying to simulate a lot of popcorn in a bucket, what's the best way to simulate them in the bucket? I know the method of Rigidy Body Simulation, creating several popcorn, is there a better way?


How to draw on top on an Image in Latex?

I have a Triangular grid on LaTeX, and I want to draw a shape on top of the triangular grid. To be more specific I want to draw the Koch Snowflake with exactly 3 iterations. How would I draw on top of the triangular grid?  This is the code for the triangular grid:  \begin{figure}   \includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{TriangularGrid} \end{figure}      You may have also realized that I drew a triangle at the end of the triangular grid and it appeared on the first page. why did that happen, shouldn't it create an extra page???  Any help would be greatly appreciated.


With newcommand I can define customized command like \ABC. Is there any way to define a command with arguments. For example I want \brat{A}{B} be the same as [\![A,B]\!].


Experiencing problems with installing device drivers on Ubuntu VM.

I am new to Ubuntu and am currently working with Ubuntu 14.04 LTS. I installed VirtualBox to create another Ubuntu VM. Initially I had problems with maximizing my Ubuntu VMscreen. I resolved the issue by installing the drivers. I rebooted the system and tried again, but the issue persists. Please excuse my layman terms.


I'm trying to get execute a cron job everyday at noon but i can't get it to run. To test it i even tried something like a simple create command but it never runs, it seems as if the file isn't even used. I also can't see anything going wrong in the log.  0 12 * * * mkdir /path/to/folder   So is there something wrong with this line or should i look elsewhere?  I created the crontab as root with crontab -e


Intuitive meaning of Globally Hyperbolic

I am been studying differential geometry and spacetime and I keep coming across the term . I am having a hard time coming up with an intuitive understanding of this idea. What is an intuitive meaning of globally hyperbolic.  My background is mostly mathematics at a higher undergraduate level.


Visual Studio ASP.Net expand and collapse issue in ashx generic handlers

I have Visual Studio 2008 Professional and I am having issues with expanding and collapsing method code blocks in ASP.Net Generic Handler pages (.ashx)  I would have thought you could do the same thing like in the code behind of .aspx web pages.  I have this same issue on other boxes even with VS 2008 Standard and VS 2005 Professional.  All boxes have been fully patched (OS and Visual Studio.)  Does anybody have any suggestions as to enabling this feature?


Password protected Visualforce Page rendered as PDF

Is it possible that a Visualforce page rendered as pdf can be password protected?  I am using Messaging.SingleEmailMessage to send mail with attachment, but I need the attachment password protected.


I am, like so many other graphic designers, very excited about the new MacBook 15" with retina display. But there is one thing that I really am concerned about. With 4 times the pixels as on ordinary screen, how can we be sure, that the preview of an image, is what we really get?  When images are optimized for web usage, how can we be sure that the optimized image, is what the end user (with a non-retina display) wil be seing?


Java code not waiting for input at scanner

I am creating a program written in Java using Eclipse, and JDK 8. I have created a Scanner using this code: Scanner input = new Scanner(System.in);  I then created a String using the code String command = "no";  I planned on using this string to control a while loop in my code, and a switch within the while loop. The loop starts with: while(command = "no") and within the while loop, I use the Scanner I created earlier to get the user to define values for a String and an int, which when the code is executed, works. After that (but still within the while loop, I put command = input.nextLine();, followed by input.close(); on the line below, to set the value of the command string, and close the Scanner. But when I execute the code, it seems to skip that, and the switch which I put directly after that (which should also be controlled by the command string), and go on to code after the while loop, even though command is still set to "no", which should make the while loop start again.  How do I make the code pause and wait for something to be entered at command = input.nextLine();, and how do i make the switch work like it should?  Here is the entire code:  `import java.util.Scanner;  class Human {     private String name;     private int age;      public void setName(String name) {         this.name = name;     }      public void setAge(int age) {         this.age = age;     }      public String getName() {         String name = this.name;         return name;     }      public int getAge() {         int age = this.age;         return age;     } }  public class Asdfghjkl {      public static void main(String[] args) {          Scanner input = new Scanner(System.in);          String command = "no";          int age;         String name;          while(command == "no") {             System.out.println("Welcome to HUMAN CREATOR");             System.out.println("What is the human's name?");             name = input.nextLine();             System.out.println("Okay, its name is " + name + ".");              System.out.println("What about its age?");             age = input.nextInt();             System.out.println(name + " is " + age + " years old.");             System.out.println("Is this correct?");             command = input.nextLine();              switch (command) {             case ("yes"):                 System.out.println("Great! Lets make the human!");                 Human h1 = new Human();                 h1.setAge(age);                 h1.setName(name);              case ("no"):                 System.out.println("Okay, lets start again.");             }         }         System.out.println("qwerty");             input.close();     } }


I’ve been trying to get handlatex () to work with miktex 2.9 and texnicCenter on windows 7.  I tried copying it in the miktex directories: tex/latex and tex/xelatex without success. Unfortunatly I was not successful finding any hints on google. The latex code I’m using right now is:  \documentclass[a4paper,11pt, titlepage,]{scrartcl}   \usepackage[T1]{fontenc} \usepackage[lowwordangle=-3,highwordangle=3]{hand} \usepackage{amssymb}  \begin{document}  \thispagestyle{empty}  \section*{\texttt{hand}\LaTeX\ Demo}  \vfill  \begin{handpar}  Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis ut libero et arcu interdum varius. Nam bibendum, mi sed consequat malesuada, nunc diam condimentum massa, sit amet egestas nibh ligula sit amet dui. Vestibulum eu urna. Etiam vestibulum. Aenean nisi nulla, fringilla at, laoreet eu, iaculis id, diam. Mauris aliquet vehicula lacus. Maecenas id nisl ac justo sodales dictum. Phasellus eget eros. In hac habitasse platea dictumst. Nam ut tortor vitae dui mollis egestas. Nullam sagittis libero quis nibh. Donec aliquam. Donec tincidunt. Aliquam eget nisl. Suspendisse mollis pellentesque nunc.  \end{handpar}  \vfill  \noindent $\blacksquare$  \end{document}   This is the error Message I’m getting:  ! LaTeX Error: File `hand.sty' not found.  Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)  Enter file name:  ! Emergency stop.   It would be great if somebody could tell me how to install handlatex correctly in miktex. Greetings betlor


I have this to split a file into smaller files with 200000 characters each.  $i = 1; $fp = fopen("styles.css",'r'); while(! feof($fp)) {     $contents = fread($fp,200000);     file_put_contents('styles'.$i.'.css',$contents);     $i++; }   However, splitting a css file requires more than that. I'll need to have each of them in correct css format. For example:  Original css:  .red {     color: red;     font-weight: bold;     font-size: 15px;     background: black; }  .blue {     color: blue; }   What might happen:  .red {     color: red;     font-weight: bold;     font-size: 15px;     background: black; -------------------split-------------------- }  .blue {     color: blue; }   What I expect  .red {     color: red;     font-weight: bold;     font-size: 15px;     background: black; } -------------------split--------------------  .blue {     color: blue; }   Is there a way to have PHP split file by number of character, but always make sure that every file ends with "}"? So some file has more than 200000 characters, and some file has less than 200000 characters.  This is not a duplicated question since I want to split file and keep all the pieces, not just cutting a string.


I plan to attend Colosseum next Sunday. How big queues shall we expect? We have ben there in august 2013 and the queue was at least 30 minutes long.  Similar question:


No Facebook log in for StackExchange Data Explorer

StackExchange Data Explorer allows login with about a dozen open IDs, but, unlike every other Stack Exchange site (in my understanding), Facebook isn't offered as one of the options.    Is there a reason for this?


Removing land based cells from sea surface temperature grid by using shoreline shapefile?

I am a second year Geo student.  I was tasked with creating a sea surface temperature grid from a colour profile, which I have completed, but I am required to drop the land based cells through the use of a shoreline shapefile.    I have dissolved the shoreline (which I am hoping is the right move), but can't seem to find a way to move forward.


Is there any point in quoting simple strings?

Is there any reason for doing something like:  a="abc"   or  a='abc'   The quotes seem completely superfluous, but then there might be some hideous corner case... I'm interested in Bash and Sh in particular, but answer about the other ones as well if you can and will.


I just started and finally caught my second Pokémon, as I noticed these steps on my close by Pokémon. What does it mean? It is probably related with how far the Pokémon is, but how far is far?


Is the undermentioned hardware configuration suitable for Ubuntu?Intel

Intel Core2 Quad:3ghz/12mbL2 cache. X48 chip 82x48 memory control. Mother board Two SSD 60GB. 8gb RAM 1334Mhz GPU Asus GTX 960. 4GD5 Sound M-audio firewire.   Quad monitors. Built assembled 2010. Win7.64 OS.  Now I intend to switch to Linux OS, with simple basic knowledge, at 73 years age. Please. please guide.


I'd like to get my gmail space down. Logically the way to do it would be to start with the largest messages first. ( reasoning - start with the things that give the largest benefit.)  My question is: Is there a way to list messages in gmail by descending order of size?


ASP.NET - Having a common script for both client-side and server-side?

I am working on a web application and I come to this calculation method that is going to take a string and returns the number of SMS messages.(It's a pure function and doesn't need any external resources to do its job)  I need this function to work both in client-side and server-side.While in client-side user can see the number of SMSs of his message so far and when in server-side i have to calculate how much does the message cost.  I thought that I had to have a C# version of this function for server-side and a javascript one for client-side but then I thought DRY - what if I could run javascript functions in server-side too ?  I am not sure if it's possible or not ?  So here's the question : can we run a javascript function in server-side (or in my case from a class library)?


JavaScript test if number variable is a number

I’m loading a JSON file a reading the values into an array using a for loop   I’m concerned that sometimes the JSON file might become corrupted ie the values Im reading in might become ASCII letters ie 1t3 where the value should of been 123   Is there a test case where you could say if values[a]  does not equal a number then set it to “   “ or blank   Thanks,  Ben


Getting ConcurrentException when working with list

I am working with below code :   List<String> layerDataList = new ArrayList<String>(); if (layerDataList.isEmpty()) {   layerDataList.add(layerData); }  Iterator<String> lir = layerDataList.iterator(); // Iterator created  while (lir.hasNext()) {   String layerD = lir.next();   if (layerD != layerData) {     layerDataList.add(layerData);   } }   I got exception : java.util.ArrayList$Itr.checkForComodification(Unknown Source)  What is the issue?


It's presently the 21st of December, and I've  on RPG.SE.  That seems to suggest I should get , which requires that I "post or comment on 12/21", but I'm not earning it. What's going on? Is there something I'm missing, or is the hat buggy?


Hello all Stacoverflow members!  I guess this question have been asked a lot in the past but when I searched at "C++ Books" I only got threads from 2008 and up to 2012... I also tried to filter my question to the newest thread but I didn't find a thread regarding books in 2020 so I'm now making this thread. And please, have in mind that this is my first day as a member on this site so I'm probably making a mistake asking this question. But try to be kind anyways, thanks! =)  Anyway, I have decided to learn C++. I'm an absolute beginner at programming, I have no experince at all with it. I have been looking aorund on the internet to see if C++ is a good language to start with and some people say yes and some people say that you can start with it but it can take some time. But thats okey, I have time atm.  Since I really want to learn programming and C++ I think reading a book or 2 will get me started more then looking at youtube tutorials, even tho they are good aswell I fell that books explain more in-depth.  A lot of people have been recommending C++ Primer 5th Edition. But I have one question... Is this book outdated (If that's possible) Since it's written for C++11 and there is C++20 now? Or is this book still very good for beginners that wanna learn C++ in 2020?  I really appreciate all the help I get, I really do!! Take care and stay safe!


First of all, Is it possible to install Ubuntu w/ dual boot without formatting my HDD? (Keep in mind partition already been made on HDD).  Also out of curiosity, I have Galaxy s8 and Galaxy Note 3, is it possible to port Ubuntu to these devices?   Any help would be appreciated with installing on Windows


With the dectection of gravitational waves, can it be assumed that gravity works in the same way as the other fields? If so, isn’t the gravitron a proven part of QFT? Because the wikipedia page says its “hypothetical”


how to have a ghost of previous photo on screen when taking a new photo?

I'm an art student and I'm working on a stop motion short video that I'm making and it would help a lot if a ghost like view of my previous frame that i took to show on the lcd of my camera when I'm taking the next frame on top of the live view , so i can change the composition with having the previous frame and live view at the same time. i want to know if there is such a feature for sony a7rii camera or what camera has such feature. thanks.


2000s Tabletop war game, hex terrain pieces, mix of science fiction and fantasy

I remember a friend of mine was trying to get me to implement this as a computer game. It came about around 2002-2006. Terrain pieces were stackable plastic hex pieces. Figures were similarly on hex pads, and had a series of stats. There were Ranged and melee attacks defined. Ranged attacks involved line of sight and measured distance from the tip of the weapon to a "vulnerable area" on the figure (shown in kind of a two color front and profile views on the associated chart). Characters had a mix of technology and magic (I remember one figure having a military rifle and a magic sword) and might have been drawn from different dimensions. There were some goblinoid characters also, I remember. And... that's most of what I remember at the moment, but it's bugging me.


Using a type from a List for excecution a generic method

Using a type from a List for a generic method, like this         Preparing data:       List<object> all = new List<object>();      all.Add(new CustomClass());      all.Add(new ...());   Excecution statements:     foreach (Type item in all)             {                 temp.GenerateDocument<typeof(item)>(item);             }   This should excecute my statement with different types.


Change capability type of post type registered by plugin

I'm using the plugin  which registers it's own post type but the capability is assigned to "post".   I want to change it to "manage_options".  Is there a correct way without altering the plugin to do that? Calling a hook, a function or whatever?   public function register_post_type() {      $labels = array (         'name'               => _x( 'Custom Code', 'post type general name' ),         'singular_name'      => _x( 'Custom Code', 'post type singular name' ),         'menu_name'          => _x( 'Custom CSS & JS', 'admin menu' ),         'name_admin_bar'     => _x( 'Custom Code', 'add new on admin bar' ),         'add_new'            => _x( 'Add Custom Code', 'add new' ),         'add_new_item'       => __( 'Add Custom Code' ),         'new_item'           => __( 'New Custom Code' ),         'edit_item'          => __( 'Edit Custom Code' ),         'view_item'          => __( 'View Custom Code' ),         'all_items'          => __( 'All Custom Code' ),         'search_items'       => __( 'Search Custom Code' ),         'parent_item_colon'  => __( 'Parent Custom Code:' ),         'not_found'          => __( 'No Custom Code found.' ),         'not_found_in_trash' => __( 'No Custom Code found in Trash.' ),     );     $args   = array (         'labels'              => $labels,         'description'         => __( 'Custom CSS and JS code' ),         'public'              => false,         'publicly_queryable'  => false,         'show_ui'             => true,         'show_in_menu'        => true,         'menu_position'       => 100,         'menu_icon'           => 'dashicons-plus-alt',         'query_var'           => false,         'rewrite'             => array ( 'slug' => 'custom-css-js' ),         'capability_type'     => 'post', // <--- I want to manipulate this         'has_archive'         => true,         'hierarchical'        => false,         'exclude_from_search' => true,         'menu_position'       => null,         'can_export'          => false,         'supports'            => array ( 'title' ),     );      register_post_type( 'custom-css-js', $args ); }   The above code is in custom-css-js.php lines 200-239.


Make my external SD card as my internal memory for apps

I have a CUBOT P7 phone with very little internal memory, so I installed an 8GB external SD card.   However, my apps will not download directly to there, and I have no more space on my internal memory.  How do I modify my phone so that apps download directly to my SD card? with out having to root my phone


Possessive case for a certain proper noun - ss apostrophe

In the case of the proper noun Ross, which of the following would be correct?   Ross's Ross'


How long does it take to be approved to the Dmoz directory?

In directories Dmoz has special preference for directory listing.   I had submitted 60 days back in dmoz still it not displaying my site, what is the problem with my site or still I have to wait?


Any option for mysqldump to ignore databases for backup?

We have 40 databases in our server.   We want to take 36 databases backup using mysqldump. How can i ignore remaining 4 databases in mysqldump command? Is there any option for mysqldump to ignore databases for backup in MySQL?  I know the general mysqldump command but it is very lengthy. I want to ignore only 4 databases and need to take remaining dbs backup.


Pgfplots bar chart - One plot, different colors

Is there a possibility to color bars of one plot in different colors?  \begin{tikzpicture} \begin{axis}[   xbar, xmin=0,   width=12cm, height=3.5cm, enlarge y limits=0.5,   xlabel={\#participants},   symbolic y coords={no,yes},   ytick=data,   nodes near coords, nodes near coords align={horizontal}, ]   \addplot coordinates {(3,no) (7,yes)}; \end{axis} \end{tikzpicture}     I want to color these bars e.g. in red and blue.


Calculate difference of two numbers on the 360 circle

How to formulate calculation to find if two numbers are with a difference of 10 units. B and C are within 10 units difference from A. D is not.  Find the difference between the other points and point A = 355.5.  On 360 degree circle A = 355.5 degree  B = 350 degrees #diff 5.5 C = 1 degree #diff 6.5 D = 320 degrees #diff 35.5 E = 348 degrees #diff 7.5   If the difference is less than 10 then it the correct answer. i.e. B, C, E. How to formulate this?


Do my past votes stay if I drop below the rep threshold for voting?

I'm pretty sure the answer is yes, but I couldn't find a dupe.  Let's say I have 60 rep. I upvote an answer. Then I get downvoted 25 times, and drop to 10 rep. Does the upvote I gave before dropping stay?  Or I have 150 rep. I downvote an answer. Then I give away 100 rep in a bounty. Does the downvote I gave earlier stay?


I've been in the SO community a little over a month now - and having a great time!  As I grow into a contributing citizen of stackoverflow, i'd like to ensure that i'm being responsible with my answers.   I've answered a few questions, some without upvotes, some voted on and some accepted.  I feel that after a certain period of time, 0 vote answers are probably providing more clutter than value.  Apparently, nobody has found them useful, so they probably aren't (or are poorly written). Tonight I went through and deleted my answers with 0 upvotes where some answer was accepted.  That was an easy decision.   I left my 0 vote answers where nothing was accepted yet, well, because I think they could provide the information that the OP requested.  But at some point, I think my answers might just be cluttering the issue.  So my question to you is: How do you know when it's time to delete your 0 vote answers?  Or even 1 vote answers for that matter?


Let $R$ be a ring such that every $x$ satisfying $x^n = x$ for some $n > 1$. Show that every prime ideal in $R$ is maximal.


Check if process is running Mac OS X then execute code

I am creating a script which clears the cache for Google Chrome. However, I would like to check if Chrome is open and if so not run the code but if it isn't then it will execute the code. I can see that the Process Name is Google Chrome but the code doesn't work.  This is what I have done so far. What am I doing wrong?  SERVICE='Google Chrome'  if ps ax | grep -v grep | grep $SERVICE then     RUNS THE CODE else     echo "PLEASE CLOSE GOOGLE CHROME" fi   Any help would be appreciated :)


Is there a way to use the same login session on a Selenium WebDriver already opened?

I have spent a while for the solution but couldn't find anything for my specific problem. I am automating a task with Selenium and need to log in a system. If I do it manually, the system will keep the user logged if a new browser tab or window is opened, but with Selenium, this doesn't happen if it is the second run of the program. It will open a new tab and won't even navigate to the url on the code. Is there any way to make the browser reuse the user session from the previous Selenium run? I'm using Java for the automation.  EDIT  Apologies, but I wasn't very clear. I looked for a way to use the opened browser before asking this question, as the question marked as a duplicate of mine asks, but as it doesn't seem feasible I asked about another approach. The thing is an opened browser is called session, but I mean a session when a user is logged in a system and opens a new browser tab or window and can navigate to the same system without logging in again. As I mentioned, on the second run of a Selenium Java program it won't navigate to the same system url nor use the same user session.


Does the "Be Nice" policy apply when you are referring to a group of people, without naming names?

Edit regarding duplicate: This question is not about SE users vs. people without an account on SE. Rather, it is about actual individuals that are named, vs. loosely defined groups of people defined by their views, ideas, etc. Thus, it does not matter whether this group consists of SE users or not, like in the question this one is now closed as a duplicate of.    This is related to a . All the relevant details of the particular case in question can be found in that post. This question is not, however, about that particular situation. It is more general in nature, and relates to the "Be Nice" policy.  A moderator referred to a group of people as "nutters". I flagged the comment, but it was declined. Normally, I believe calling someone a "nutter" would be a clear violation of the "Be Nice" policy, regardless of the views they held.  However, this situation is a bit different, as the user is not naming any given individual, but rather referring to a group of people who hold certain views, or propound certain ideas or arguments. Thus, I can see why some people would argue that this is not rude.  However, the user was clearly referring to someone. Thus, I personally tend to consider it rude.  This question is not about that particular situation, though.  Does the “Be Nice” policy apply when you are referring to a group of people, without naming names?  I would be interested in other people's views on this.   Related:


Proving $ \binom n 0 ^2 + \binom n 1 ^2 + \dots + \binom n n ^2 = \binom { 2n} n $ without induction

I have to prove that: $$ \binom n 0 ^2  + \binom n 1 ^2  + \dots + \binom n n ^2 = \binom { 2n} n $$  I don't want a complete solution, but only a hint.


Existence of well-order on an arbitrary infinite set $X$ without a largest element

I've already asked a similar question yesterday (is there a well-order such that $X$ has a largest element). Can one prove the existence of a well-order on an infinite set $X$ such that $\forall x \in X \exists y \in X: x \leq y$?


Is there any official command line (switches) reference for the different versions of Adobe (formerly Acrobat) Reader?  I didn't find anything on .  Especially I want to:   Start Reader and open a file Open a file at a specific position (page) Close Reader (or single file)


Sort files according to their extensions

I have made a script that will sort files according to their extension and place them in the proper folder. For example, place abc.jpg in the directory jpg.  #!/bin/bash #this script sorts files according to their extensions oldIFS=$IFS IFS=$'\n' (find . -type f) > /tmp/temp for var in `cat /tmp/temp` do name=`basename "$var"` ext=`echo $name | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2- | cut -d'.' -f2-` mkdir -p $ext mv "$var" $ext/ 2> /dev/null done IFS=$oldIFS   problem with this script:    it involves use of IFS, it is said to avoid use of IFS, as much as possible it does not sorts file without file extensions  it will sort files like abc.tar.bz in folder named bz, but however such a file should go in tar.bz folder see line 9 of my script; if any file contain more no. of dots(in its name) than no. of cut -d'.' -f2- in the script than if will result in file name taken in extension part. for example, a file named i.am.live.in.india.and.i.study.computer.science.txt will be placed in folder named study.computer.science.txt   you may also suggest any tweaks to make this script more smaller and neat.


Alternatives to "Sleep in the bed you made"

I seem to recall one having something to do with the "hole you dug" but maybe I made that up.  Either way, I'm interested in any other expressions of this form. And to clarify the expression means basically to deal with the situation you have created for yourself.


The  advertises "internal clock speeds exceeding 450 MHz," but the default clock pin is connected to a 100MHz oscillator. Is it possible to configure the Basys 3 to use a 450MHz clock?


I have two render layers. I want to change some properties, such as object visibility, material settings, etc between these layers. Is there any way for me to do this? I am not looking for a situation specific way to do this, I want a general way to change properties between layers.


I understand what the sentence The house is a full day’s journey from here means, but I’m wondering what day’s is short for in this expression. It doesn’t match any pattern I know.  A couple of examples:   He’s = he is Let’s = let us Mary’s car = the car belongs to Mary Day’s = it sounds to me like something belongs to a day and this is what I don’t understand. Shouldn’t it be The house is a full day of journey from here instead?


Is it possible to change country location?

I'm soon moving to a different country and am wondering if it is possible to change the country details in Stack Exchange, if so, how? The option doesn't seem to appear on my profile


What is the difference between the various Ubuntu flavours?

What is the main difference between Ubuntu, Kubuntu, Mythbuntu, Xubuntu, Edubuntu and Lubuntu?