Can I use a Schengen multiple-entry business visa for tourism?

I have a valid multiple entry schengen business visa issued by the norwegian embassy for a duration of 1 year.  I was supposed to travel at the beginning of February to Norway and use this visa but unfortunately my business trip got cancelled. Therefore, I have not used this visa so far.  I wanted to know if I can use this visa for tourism and now can I enter Germany through this visa as it is valid for a year and is multiple entry visa for all schengen states ?


Is there a programmatic way to print the definition of a dynamically created function in python?

I was studying about inner functions. One of its uses is in closure and factory functions.  Consider the following example I found   def generate_power(number):     """     Examples of use:      >>> raise_two = generate_power(2)     >>> raise_three = generate_power(3)     >>> print(raise_two(7))     128     >>> print(raise_three(5))     243     """      # define the inner function ...     def nth_power(power):         return number ** power     # ... which is returned by the factory function      return nth_power   If I were to run the use case from this example, it would create a new function raise_two.  Can we print function definition of raise_two? (making it easier to understand the whole concept)  edit:  This question requires an answer that is different from the ones found at  as I've explained in the comment section.


I have been looking on the net for a textbook that only is about "Generating Functions" but did not found much. Is there any textbook just about "Generating Functions"?


Cardinality of Vitali sets: countably or uncountably infinite?

I am a bit confused about the cardinality of the Vitali sets.  Just a quick background on what I gather about their construction so far:  We divide the real interval $[0,1]$ into an uncountable number of disjoint classes in such a way that two numbers $x$ and $y$ are in the same class if their difference x-y is a rational number. Therefore the equivalence relation on the real numbers would be: $x\sim y\iff x-y\in\mathbb Q$.   The cardinality of our classes is equivalent to the cardinality of $\mathbb Q$, so the classes have countably infinite elements.  How many of these classes are there? As each only has countably infinite elements, but each element of $[0,1]$ lies in one class, there are uncountably infinite classes.  Now, using the axiom of choice, we take one element out of each class and put it in the set V. This is a Vitali set.  Hopefully this is all good at this point.  So each Vitali set should have uncountably many elements (because we have uncountably many classes), but there should be countably many Vitali sets (because each class has countably many elements) correct?  But then why does  state that "There are uncountably many Vitali sets..."?


Electrical wiring 14-2 wire connect 12-2 wire

My outlets are 14-2 NM wire, wired into the attic, is it ok to connect a  12-2 NM wire to the 14-2 wires and connect them to the panel box w a 15amp breaker???


This is with ref to my previous question .  \documentclass[11pt,table,a4paper]{article} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \usepackage{CJKutf8} \usepackage[english,russian]{babel}  \newenvironment{SChinese}{%  \CJKfamily{gbsn}%  \CJKtilde  \CJKnospace}{}   \begin{document}  \selectlanguage{russian}   Это мой первый многоязычный докладе.   Инфантильный гипертрофический стеноз привратника - это серьёзное   \selectlanguage{english}   This is my first multilingual report.   \begin{CJK}{UTF8}{}   \begin{SChinese}     这是我的第一个多语种的报告。   \end{SChinese}   \end{CJK}    \end{document}   when I try to compile it, I get following error message.  LaTeX Warning: Unused global option(s):     [table].  (./data.aux (/usr/local/texlive/2011/texmf-dist/tex/latex/cyrillic/t2acmr.fd)) (/usr/local/texlive/2011/texmf-dist/tex/latex/lm/t1lmr.fd)  LaTeX Font Warning: Font shape `T2A/lmr/m/n' undefined (Font)          using `T2A/cmr/m/n' instead on input line 15.   ! Package inputenc Error: Unicode char \u8:  not set up for use with LaTeX.  See the inputenc package documentation for explanation. Type  H <return>  for immediate help.  ...                                      l.18 ...�ный гипертрофический стеноз привра...   How can I avoid such error message.


At what stage should acknowledgements be inserted into the paper if review is not double-blind?

When the review process is double-blind, I guess (although I have not read this anywhere) that acknowledgements should not be written in the submitted paper, as this might break anonimity. They should only be inserted into the camera-ready version, after the paper is accepted.  What is the custom when the review process is not double-blind? Should I write the acknowledgements in the submitted version, or wait to the camera-ready version?


Inclusion of ideal in a finite union of ideals

Say $R$ is a ring, and $I_1,...,I_n,J\subseteq R$ ideals, s.t $J\subseteq\bigcup_{i=1}^nI_i$. If there exists $\phi:K\rightarrow R$ homomorphism where $K$ is an infinite field, then there exists an $i$ s.t $J\subseteq I_i$. I split it into two cases: Since $\phi$ is an homomorphism and $K$ is a field, then $\phi^{-1}(J)=\langle0 \rangle $ or $\phi^{-1}(J)=K$. If it's the first case, then since $\phi$ is injective (since $K$ is a field) we then get that $J=\langle 0 \rangle$ and obviously for every $i$, $J\subseteq I_i$. Now, if $\phi^{-1}(J)=K$, then there must be at least one index $i$ s.t $\phi^{-1}(I_i)=K$ - otherwise the union is $\bigcup_{i=1}^n I_i=\langle 0 \rangle$ - contradiction since $J\neq\langle 0 \rangle$. So I can see that $\phi(\phi^{-1}(J))\subseteq \phi(\phi^{-1}(I_i))$, but this doesn't immediately mean that $J\subseteq I_i$ - even with $\phi$ being an injection. What am I missing here? Any help would be appreciated.


In  some users pointed out that the Hulk cannot age or ages really slow in relationship with normal people, which makes him an immortal.  But my question is this: Can he die in a battle?


Share first ssh connection to user@host opportunisitically  using ControlMaster

I see from the ssh_config man page that you can share connections to host@user using ControlPath and ControlMaster. Is there any way to do this opportunistically for each combination of local user, remote user, and remote host? So that the first connection to testuser@remotelaptop is shared when you ssh into it the second time and the first is still running?   (I use ssh keys. I'm not sure if that would make it easier or harder).


If we have this string (): 192.168.1.1  How can I derive the () from this string, so it will be shown like 1.1.168.192.in-addr.arpa using a shell script?


Why can't I plot (x+2)^{1/3} properly using pgfplots?

I'm using the code   \documentclass{book} \usepackage{pgfplots} \begin{document}  \begin{tikzpicture} \begin{axis}[         xmin=-5,         xmax=5,         ymin=-5,         ymax=5,         axis x line=middle,         axis y line=middle,         samples=100,         domain=-5:5,     ]         \addplot[thick](x,{(x+2)^(1/3)}); \end{axis}  \end{tikzpicture}  \end{document}   to plot y= (x+2)^{1/3} which gives me this graph:   but it is not complete, because the right graph is:      How can I plot it like the second screenshot?


i run ubuntu 15.04 64 bit on a lenovo y50 and am trying to figure out how to perform a system cleanup. i have very frequently received messages from the OS that there are software updates required, but the latest software update is unable to be installed bc theres not enough space on the disk, which is weird bc i hardly download files on this laptop. i have looked into a few different details, like computer janitor, but the ubuntu software center says the program doesnt exist. and whenever i try downloading ubuntu tweak it says that some files failed to download and i see a wall of error messages


Things to watch out when applying FCC CE

I have a bluetooth remote control device that uses 2 AA batteries. Due to positive feedback and responses, I'm thinking to sell it to mass market. Thus I need FCC certification.  After reading many articles including all the FCC related questions in this site, I'm still confused.   There are many of wireless products in US market that don't have FCC / CE certification. Many of imported products sold in Amazon don't have the certification.  With such a high cost ($10,000-$20,000), I don't think many small company can afford to get this certification.  What is consequences if you sell the product without FCC certification? Before I apply for FCC, what are the things that I need to watch out, especially my PCB. Do I have to care about the box(enclosure)?  I mean, my product uses 2 batteries, I don't think it will cause a fire hazard or short circuit. Or if I have to watch out for fire hazard, what component should I add? The bluetooth module is already certified by FCC and CE. So I will be exempted for the Bluetooth test. But I guess they still need test the product as a whole. What if you failed for the first test, do you have to redo all over again and pay another $10,000?   Thank you.  Dan  Additional info: Q:  I’m a retailer, why should I care about FCC regulations? A:  It is illegal to import, sell, or operate covered equipment that has not undergone the required equipment authorization procedure. Illegal merchandise can be subject to forfeiture, and you may be subject to fine. Imported merchandise that does not have FCC may be held at customs. Also lack of FCC compliance means the merchandise has never been evaluated for electronic compatibility. This is a sign of bad quality. What other safety or chemical regulatory requirements might not have been evaluated?  FCC enforcement action is often levied against retailers and end users, especially where the manufacturer is located outside US jurisdiction.


Counting problem about pirates and gold coins

Five pirates find a cache of 500 gold coins. They decide that the shortest pirate will serve as the bursar and determine a distribution of the coins however he sees fit, and then they all will vote. If at least half of the pirates (including the bursar) agree on the distribution, it will be accepted; otherwise, the bursar will walk the plank, the next-shortest pirate will become the new bursar, and the process will continue.   Assume that each pirate is super-intelligent and always acts so as to maximize his wealth, and also that each pirate is vindictive: he would like to see someone walk the plank, as long as it does not hurt him financially.   How many coins will the shortest pirate get?  How would I start and what strategy/method would I use to solve this problem?


I took many pictures of the lunar eclipse from last week with a stationary camera and now I want to merge them so I get something like .  What is a good (and free) Mac OS X application for doing this?  Can I also get an explanation of how to use the application if its not primarily for that usage?


I was up late working with my red LED headlamp on and when I was looking at the black part of my LCD (Apple Retina Macbook Pro) screen I noticed this interesting diffraction pattern. I'm confused because all I can think of that would cause this are Fourier and Fraunhofer patterns which I thought required more advanced optics the light to be collimated. One friend suggested it might be the polarizer. Any thoughts?  Unfortunately, the picture doesn't show this, but along the x and y axes there were discrete points not a continuous streak. Sorry for the horrible photo quality.


Why should we convert degree to radian while differentiating?

While graphing the sine function, it is always assumed that x is in radians.Similarly while differentiating the sinx function x is always in radians and we have to multiply by a constant if x is given to us in degrees, before differentiating. Is radian just a convention for trigonometric functions or is there some other reason?Why are we able to differentiate a function directly when x is in radians and not when it is in degrees?


I have asked before and am still trying to find a decent accounting program for Linux/Ubuntu.  Not a checkbook program but something for small business accounting.  I need to generate year end tax reports and things like a P&L  I have been struggling with Gnucash for years.  The program is generally OK but the transactions importer is a nightmare.  It adds hours of work to balancing accounts, due to things like mis-categorized transactions, transactions not being imported, and erasing already cleared transactions.  And support is difficult to get, the mailing list is only occasionally helpful.  I have searched multiple times and the list of software only reflects Checkbook programs.  I am looking for an alternative, not cloud based.  If someone has a suggestion of ANY kind, I would appreciate it.


When A and B are positively related variables, can they have opposite effect on their outcome variable C?

A is positively related to B.  C is the outcome of A and B, but the effect of A on C is negative and the effect of B on C is positive.  Can this happen?


How can I know if there is any journal interested in my proposed topic?

After doing research for a while, I figured out a topic (1) that nobody has done it before (2) and I think It's pretty cool and valuable (3) to the community in my field. So, I proposed the idea to my professor with some drafts. But, my professor told me to find out if there is any interest in the topic in the publishing industry (journals) If no one cares about that It's not worth it.  It's like I created a paradox. How can I find out the interests in the topic if nobody has done it before?  If you guys have any ideas or tips that can help me I would be really appreciated!  Thanks  (1) I'm working on Fault Management Framework for Network Function Virtualization.  (2) I cannot find any relevant paper that employs it. They're mostly about Fault Management for SDN or cloud or on a specific problem whereas I want to design a complete solution.  (3) I think it is valuable because It will save time for the deployer/implementor by including all the best practices.  There'are several reasons why this question is different than the one at  because of:   It's not about selecting a journal to publish, It's about whether the journals are interested in my topic. I've already known which ones I want to publish to. It's just that I'm not sure if they're interested in my idea. The question in which mine was marked as duplicated with is much broader than mine I think.


I remember quite a bit, but can't seem to find the title or (female) author.   A girl accompanies her father as he captains a mission to travel at near-light speed in order to experience the effects of time dilation and return to Earth 100 years into its future. She leaves behind her boyfriend (Tal or Tel or something), who promises he'll find a way to stay with her despite the time travel that will render him, well, dead before her return. She's accompanied by a close friend who is deaf but lip-reads and speaks so well as to occasionally fool others into believing she is hearing. They spend a lot of time in the ship's garden. I believe he ends up either getting on a different ship to survive into the future via time dilation, or else having himself frozen. Either way, if I recall correctly, Earth isn't doing well at all by the time the mission with the girl returns. There's been a war or some other disaster. There's an extended period of vague, ambiguous, existential crap in which the girl (now a woman) eventually ends up transferring her consciousness into her own daughter, presumably in order to go on living. Everything wraps up somehow and the girl and her boyfriend walk together hand in hand on a desolate planet into the sunset near the end of time.   It was all really rather trashy and silly, I remember, and took itself entirely way too seriously, but I'd like to at least know what it was so I could read it again. Either it'll be worth a laugh, or it'll turn out to be surprisingly good.


If I write a comment, make a typo, submit the comment, and then notice the mistake and want to correct it by editing the comment, I can't do that as a keyboard-only user.  If I try to tab to the "edit" button, the focus goes from the timestamp of the comment, straight to the () delete button, skipping right over the "edit" button.  Could we please be able to tab to "edit"?  If you're confused as to why it's important that things be accessible without the mouse, please read up on . While I thankfully don't have any physical problems with using  a mouse, I'm using my time with a broken mouse to give accessibility feedback so that people who need it can get a better site experience.


Story where humans fight aliens that were advanced in space travel technology but behind in warfare technology

I'm looking for a story where humans fight against aliens. The plot is, the aliens discovered gravitational space travel early in their history, and although being very advanced in space travel technology, the aliens are really late against human warfare technology.


After El Capitan update, TeX doesn't compile

I get this error when clicking "typeset" on TeXShop:  "/usr/texbin/pdflatex does not exist. TeXShop is  a front end for TeX, but you also need a TeX distribution. Perhaps such a distribution was not installed or was removed during a system upgrade. If so, go to  and follow the instructions to (re)install MacTeX. A less likely possibility is that a tool path is incorrectly configured in TeXShop preferences. This can happen if you are using the macports or fink distributions."  How do I fix this issue? (I apologize if the tag below is incorrect.)


Word when two people use two different languages in a conversation

Is there a word that describes or denotes a type of conversation in which two speakers speak two different languages. In our country, Pakistan, there are approximately 75 languages, from which Urdu, Punjabi and Sindhi are common, excluding English. So today I found two women speaking two different languages. For example: Speaker 1 has Urdu as their mother tongue. Speaker 2 has Sindhi as their mother tongue. Speaker 1 and 2 spoke their own mother tongue, which are different (Urdu and Sindhi) but both can understand each other's language. I thought that this is known as "," or a "code switching." In my opinion, we can't use such words because code-switching refers "shifting completely to the other language for a word, a phrase or sentence, and then revert back to the base language." Example sentences:   They were in a bus and had [adjective] conversation.  They were in a bus and had [noun or noun-phrase for such conversation].     I agree that the  (which is suspected as a duplicate one to this question) is really a duplicate, but its single answer still doesn't satisfy all. In that question, the phrase "bilingual dialogue" was suggested, which I (and others may) think that this refers to the code switching as well, which I don't want here. Some words confuse the readers which sense do they mean. I would also love to quote the comment of @Lambie regarding the term "bilingual" over here:  "Bilingual refers to one person. Not two people each of whom has a passive knowledge of the other's language but do not speak it well enough to use it actively."


When merging questions, leave the duplicate one as a placeholder

It's been stated previously that duplicates have their uses. They sometimes indicate that a particular question couldn't be found with however the user searched for it.  Now while merging is often useful it seems like it destroys the duplicate, which to me seems to diminish the "wide net" aspect.  At moderator's discretion, it might be worth merging the answers but leaving the duplicate as a locked, empty question that points to where the answers have gone. The original question wouldn't need a link back to the empty, locked version. But this way you still get that linkage.


How to read this state in quantum physics?

I am having a little trouble understanding this state:  $$ \,^3D\left[3/2\right]_{1/2} $$  What does the $[3/2]$ indicate here?


Wubi "could not retrieve the required disk image"

I tried to download Ubuntu 12.04 through Windows Installer (Wubi), but I get this error message:     An error occurred: Could not retrieve the required disk image For more information, please see the log file: c:\user(username)\adddata\local\temp\wubi-12.04-rev266.log   I tried to locate the file, but I can't find it, it's probably hidden. I know there's already a similar question asked, but I don't understand proxy thing     Downloading error "Could not retrieve the required disk image "   I was wondering will I get this same problem if I download via USB stick or CD?  I'm running Windows 7 on a laptop. I'm not tech-savvy, so I need clear answer please.


How to automatically grant admin rights to a certain application?

I have this application and it needs admin rights (I am an admin already), but I need to run it very often and it's becoming quite annoying have to click "Yes" every time. Is there a way to prevent the popup and automatically grant the permission for this specific program?


Why there are so many great/famous questions which does not even satisfy the SO 'ask a question'criteria

Referring to question like   I wonder how could it be accepted as it satisfy none of criteria mentioned in SO. I should be able to flag it off-topic as it falls under Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. And also   Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist  I don't doubt about the quality and importance of the questions but to me the rule supposed to be same for all. And the very first line in the  clearly says      First, make sure that your question is on-topic for this site.You should only ask practical, answerable questions based on actual problems that you face. Chatty, open-ended questions diminish the usefulness of our site and push other questions off the front page.   How to Ask     Is your question about programming?      We prefer questions that can be answered, not just discussed.      Provide details. Share your research.   I don't understand how these are justified in these cases?  Some more similar entried I could find (And this list could go on)


I am trying to solve the integral: $$I=\int_0^{\pi/2}\frac{1}{1+\tan^{n}x}dx$$ I have tried several methods shown below: $$I(n)=\int_0^{\pi/2}\frac{1}{1+\tan^nx}dx$$ $x=\arctan(u)$ $$I(n)=\int_0^\infty\frac{1}{1+u^n}\frac{1}{1+u^2}du$$ but this does not seem to lead anywhere. I also tried: $$I(a)=\int_0^{\pi/2}\frac{1}{1+\tan^ax}dx$$ $$I'(a)=\int_0^{\pi/2}\frac{\ln(\tan x)}{\left(1+\tan^ax\right)^2}dx$$ but this just seems to complicate it more.  I also see that it can be expressed as: $$I(b)=\int_0^{\pi/2}\frac{1}{1+\tan^b(x)}dx=\int_0^{\pi/2}\frac{\cos^b(x)}{\cos^b(x)+\sin^b(x)}dx$$ a final thought is using the identity: $$\int_a^bf(x)dx=\int_a^bf(a+b-x)dx$$ so: $$\int_0^{\pi/2}\frac{\cos^b(x)}{\cos^b(x)+\sin^b(x)}dx=\int_0^{\pi/2}\frac{\sin^b(x)}{\sin^b(x)+\cos^b(x)}$$ and therefore: $$2I(b)=\int_0^{\pi/2}1dx=\pi/2$$ $$I(b)=\pi/4$$ $$I=\pi/4$$ does this work? Thanks


Test for convergence of the series $\sum_{n=2}^\infty\frac{1}{(\ln n)^{\ln n}}$

Could I have a hint for testing the convergence of the following series please?  $$\sum_{n=2}^\infty\frac{1}{(\ln n)^{\ln n}}$$  Edit  The integral test does not work because $\int_1^n\frac{1}{(\ln x)^{\ln x}}dx$ has not an elementary primitive.  Thank You.


I have been having some issues on my computer for a while, and in an attempt to fix it, I decided to run chkdsk C: /f /x /r to see if anything there was causing problems. I started this when I arrived in the morning assuming it would be done by home time, but it is still running. It is currently at 24% and has been for several hours (in the past, it has done similar things, but at different percentages), the HDD activity light is constantly on, and the spinner is spinning away. But thanks to some bright spark at Microsoft, Windows 8 chkdsk does not give you any verbose output except for scanning and repairing drive  As its running on C:, the system had to reboot, and then run the tool.  So, now that make-a-move time is approaching, I am unsure as to whether I should leave the laptop here and let it run overnight, or take it back with me tonight and leave it running at home. But, my concern is, while the disk is so active, would it be risky to move the laptop (via a backpack) during this time?  ** EDIT **  As luck would have it, 2 minutes before I left, it completed. Jumped straight to 100% and booted straight up, total time: 6 hours 30 minutes


If the full stop doesn't belong to the quotation, which punctuation option is preferred in British English?   He said, 'I've finished.'  He said, 'I've finished'.


Intercepting stdout of a subprocess while it is running

If this is my subprocess:  import time, sys for i in range(200):     sys.stdout.write( 'reading %i\n'%i )     time.sleep(.02)   And this is the script controlling and modifying the output of the subprocess:  import subprocess, time, sys  print 'starting'  proc = subprocess.Popen(     'c:/test_apps/testcr.py',     shell=True,     stdin=subprocess.PIPE,     stdout=subprocess.PIPE  )  print 'process created'  while True:     #next_line = proc.communicate()[0]     next_line = proc.stdout.readline()     if next_line == '' and proc.poll() != None:         break     sys.stdout.write(next_line)     sys.stdout.flush()  print 'done'   Why is readline and communicate waiting until the process is done running?  Is there a simple way to pass (and modify) the subprocess' stdout real-time?  BTW, I've seen , but I don't need the logging features (and havn't bothered understand much of it).  I'm on Windows XP.


Is there any way to connect Salesforce Marketing Cloud Calendar using API's? Has any one tried to access Calender using API's?


I initially received a notice of an error and to please run package manager to resole the issue. The error message was, error broken count > 0 and warned of installed packages having unmet dependencies. (Note that I was not able to post Get:3, 4, 5,) I thank you very much in advance for your very much needed help.   sudo apt-get install -f  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following additional packages will be installed:   cups-filters linux-image-4.4.0-51-generic linux-image-4.4.0-53-generic Suggested packages:   antiword docx2txt fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools   linux-headers-4.4.0-53-generic The following packages will be REMOVED:   linux-image-extra-4.4.0-52-generic The following NEW packages will be installed:   cups-filters linux-image-4.4.0-51-generic linux-image-4.4.0-53-generic 0 upgraded, 3 newly installed, 1 to remove and 114 not upgraded. 6 not fully installed or removed. Need to get 116 MB of archives. After this operation, 38.0 MB disk space will be freed. Do you want to continue? [Y/n] Y Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-4.4.0-51-generic amd64 4.4.0-51.72 [19.2 MB] Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-image-extra-4.4.0-51-generic amd64 4.4.0-51.72 [38.6 MB]  (Reading database ... 501080 files and directories currently installed.) Removing linux-image-extra-4.4.0-52-generic (4.4.0-52.73) ... depmod: FATAL: could not load /boot/System.map-4.4.0-52-generic: No such file or directory run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-52-generic /boot/vmlinuz-4.4.0-52-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-52-generic /boot/vmlinuz-4.4.0-52-generic update-initramfs: Generating /boot/initrd.img-4.4.0-52-generic WARNING: missing /lib/modules/4.4.0-52-generic Ensure all necessary drivers are built into the linux image! depmod: ERROR: could not open directory /lib/modules/4.4.0-52-generic: No such file or directory depmod: FATAL: could not search modules: No such file or directory depmod: WARNING: could not open /var/tmp/mkinitramfs_ptvcbr/lib/modules/4.4.0-52-generic/modules.order: No such file or directory depmod: WARNING: could not open /var/tmp/mkinitramfs_ptvcbr/lib/modules/4.4.0-52-generic/modules.builtin: No such file or directory  gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.4.0-52-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-4.4.0-52-generic (--remove):  subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing:  linux-image-extra-4.4.0-52-generic E: Sub-process /usr/bin/dpkg returned an error code (1)


Is editing wikipedia tax-deductible in the U.S.?

I spend a fair amount of time editing Wikipedia and am wondering if the time I spend is considered a tax-deductible donation in the U.S. Furthermore:   If it is, how do I decide the amount of value for the time I spend working on Wikipedia articles? Should this vary with respect to the article and the content? For example, suppose I write a technical article which requires significant amounts of knowledge and background. I expect this to be worth more than say spending time correcting errors, misprints, adding citations, etc.


Why is $\int \sec x\,dx$ equal to $\ln | \sec x + \tan x |$?

Everyone knows that $\int \sec x\,dx = \ln | \sec x + \tan x |$?  But how to reach it through a conscious deduction, through a clear and objective way?


I want to get the data within BBOX and form the CQL query URL as following:  http://[localhost]:8080/geoserver/mymap/ows?service=WFS&version=1.0.0&request=GetFeatur e&typeName=layer:layername&outputFormat=json&BBOX=-70.95699,50.89799,-71.17946,52.04493,EPSG:4326&cql_filter=(name+like+%27%25h%25%27%29


Number of zeros of the derivatives of a function

I'm trying to prove that a function $ f \in C^{\infty}(\mathbb{R}, \mathbb{R})$ that is strictly positive on $]-1,1[$ and equals $0$ everywhere else verifies the following statement : there exists $ m \in \mathbb{N}^*$ such that $f^{(m)} $ has strictly more than $m$ zeros in $]-1,1[$.  I tried some things that doesn't give me much information, for instance I know that there is a decreasing sequence $(x_p)_{p\geq2} \in ]-1,1[^{\mathbb{N}}$ so that $x_p \longrightarrow_{p \rightarrow \infty} x \in ]-1,1[$ and $\forall p \geq 2, f^{(p)}(x_p) = 0$.  Thanks for help.


【Re-question】Is it possible to call future from batch?

I tried to answer it below.  The program is as follows.  ** BatchUpdateUser **  global without sharing class BatchUpdateUser implements Database.Batchable , Database.Stateful {  global String NAME = 'User';  global BatchUpdateUser() { }  global Database.QueryLocator start(Database.BatchableContext BC) {     return Database.getQueryLocator([             SELECT                     Id                     , UserId__c                     , UserRoleId__c                     , ProfileId__c                     , Group__c                     , IsActive__c             FROM Work__c             WHERE                     Name = :NAME     ]); }  global void execute(Database.BatchableContext BC, List<sObject> scope) {      List<Work__c> works = (List<Work__c>) scope;      List<String> userIds = new List<String>();     for (Work__c w : works) {         userIds.add(w.UserId__c);     }      List<User> users = [             SELECT                     Id                     , UserRoleId                     , ProfileId                     , Group__c                     , IsActive             FROM User             WHERE                     Id = :userIds     ];     Map<Id, User> userMap = new Map<Id, User>(users);      for (Work__c w : works) {         userMap.get(w.UserId__c).UserRoleId = w.UserRoleId__c;         userMap.get(w.UserId__c).ProfileId = w.ProfileId__c;         userMap.get(w.UserId__c).Group__c = w.Group__c;         userMap.get(w.UserId__c).IsActive = w.IsActive__c;     }      update userMap.values();  }  global void finish(Database.BatchableContext BC) { } }   ** UserTrigger **  trigger UserTrigger on User (after insert, after update) {  Set<ID> trueIds = new SET<ID>(); for(User u : Trigger.new) {     if(u.LandingGoalFlg__c == true) {         trueIds.add(u.Id);     } } if(Trigger.isInsert && Trigger.isAfter){     if(trueIds.size() != 0) {         LandingBusinessConditionHandler.OnAfterUpsertAsync(trueIds);     } } else if(Trigger.isUpdate && Trigger.isAfter){     if(trueIds.size() != 0) {         LandingBusinessConditionHandler.OnAfterUpsertAsync(trueIds);     }     } }   ** LandingBusinessConditionHandler **  Public class LandingBusinessConditionHandler {      @future     Public static void OnAfterUpsertAsync (Set <Id> newUserIds) {         OnAfterUpsertAsync(newUserIds);     }      Public static void OnAfterUpsertSync(Set <ID> newUserIDs) {         // do something     } }   However, I got an simller error  I would be pleased if you could point out the wrong part.  BatchUpdateUser bc = new BatchUpdateUser(); Database.executeBatch(bc);


Why can't I update my Nexus 4 to Lollipop?

As I understand it, Android Lollipop (5.0) is now generally available over-the-air. My Nexus 4 briefly offered for an hour or two to install it. I said yes, and watched it start to download. When I next went to unlock my phone, it obviously wasn't installed. Now, when I go into the Settings app, and manually check for updates, it says my phone is up-to-date. It's still on Android 4.4.4.  I don't particularly want to install the developer image, as that'll wipe all the data from my phone. Is there any way I can encourage it to update?  I'm in the UK, if it's relevant.


Have python program print out all combinations of coin flips

I am working on a python program that involves coin flips. How can I get a python program to list out all possibly combinations of 4 coin flips?  So I want the program to output:  HHHH,  HHHT,  HHTT, etc.  Thanks in advance!


I am a new user of Ubuntu Is there a way to see all installed programs in Ubuntu 14.04 and also install/uninstall programs from there, like in windows there is programs and features in control panel.


Show that there's no continuous function that takes each of its values $f(x)$ exactly twice.

I need to prove the following:  There's no continuous function $f:[a,b]\to \mathbb{R}$ that takes each of its values $f(x)$, $x\in [a,b]$  exactly twice.  First of all, I didn't understand the question. For example $x^2$ takes $1$ twice, in the interval $[-1,1]$. Is it saying that it does not occur for all $x$ in the interval? But what about $f(x) = c$? Is it saying that it does not occur only exactly $2$ times, then? I have no idea about how to prove it. I know that for $f(x)$ such that $f(a)<f(x)<f(b)$, if $f$ is continuous then there is a $c\in [a,b]$ such that $f(c) = f(x)$.  Now, there's the following proof in my book and I really wanted to understand it, instead of just getting a new proof  Since the interval $[a,b]$ has only $2$ extreme points, then the maximum or minimum of $f$ must be in a point $c\in int([a,b])$ and and in another point $d\in [a,b]$. Then, there exists $\delta>0$ such that in the intervals $[c-\delta, c), (c,c+\delta)$ (and if $d$ is not extreme of $[a,b]$, $[d-\delta, d]$) the function takes values that are less than $f(c) = f(d)$. Let $A$ be the greatest of the numbers $f(c-\delta), f(c+\delta), f(d-\delta)$. By the intermediate value theorem, there are $x\in [c-\delta, c), y\in (c, c+\delta]$ and $z\in [d-\delta, d)$ such that $f(x)=f(y)=f(z)=A$. Contradiction.   Well, why the last part? Why is it that I can apply the intermediate value theorem to these values? For example, $<f(c-\delta)<p<f(c)$, then by the theorem I know that there exists $m\in [c-\delta, c)$ such that $f(m) = p$. Same for the other intervals. But what guarantees thhat the greatest of the values between  $x\in [c-\delta, c), y\in (c, c+\delta]$ will be inside the intervals $[c-\delta), c), (c,c+\delta), [d-\delta, d)$?


This is the script I use:  find /path/backups/ -type f -mtime -2 -printf '%P\n' | rsync -avz --progress --delete --exclude-from=- -e "ssh -p 512" /path/backups/ me@host:/remote/path/server-backups/   This is from the log:  > Jan 21 15:32:01 servername CRON[14654]: (serveruser) CMD (find /path/backups/ -type f -mtime -2 -printf ')   I've tried using cron.d, crontab -e and cron.daily. Both putting the script directly in the crontab file as well as calling a .sh script file. Any ideas how I would go about solving this?


Always allow commenting on posts I have previously commented, irrespective of current rep

I propose allowing posting new comments on any post I already have comments on, even if I drop below the rep threshold for the comment-privilege (50 rep) later.  And maybe also always allow responding to any ping (editors, dupe-hammer-wielders and mod-closers can be pinged even if they never commented).    Background: I recently made  on a post. Shortly thereafter, I put bounty on another one of my questions, which brought my reputation below 50. Then, when  was posted, I was unable to respond because of the requirement that I have at least 50 reputation to comment.


"Attribution Required" link to a blog post on the bottom of every page is giving a 404

gives a 404, and doesn't seem to exist anymore.


Why does snapping your fingers activate the Infinity Gauntlet?

In Avengers: Infinity War, up until Thanos      gets all six Stones   in order to use the Gauntlet he needs to close his fist, as we see in the fight scene on Titan.     Doctor Strange: "Don't let him close his fist!"   So why later does snapping work?


i am having some trouble trying to understand this simple formula:  $\frac{n!}{\left(n-r!\right)r!}$   Even though i am able to solve exercises easily using this formula i can't understand it. How was this formula derived? Is it possible to understand the formula or is it just the result of some certain mathematical work?  The part that i don't understant is how does diving the possible combinations by the redundancies result in the possible number of arragements of something ignoring order.


i have little php site. I add to header this;  <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   but still site doesn't show some UTF-8 characters here is example         altb�l�m   what can i do ?


What is a word for someone without allegiance?

I am looking for an adjective akin to "loyal" and "disloyal" in that it describes someone's exact null association with both words. Someone or something with no allegiances whatsoever, a goes-with-the-highest-bidder kind of person. Someone or something that can be the perfect model companion or machine or tool or concept, and then without warning he/she/it may whimsically and deliberately, yet completely uncomprehendingly, do something utterly devastating or infuriating to you, and have no idea that you may have considered it wrong, or even may have legitimately believed they were going out of their way to act in your favor.  Benevolent, though perhaps unwittingly and unpredictably deleterious.  The words I am looking for are not these: "non-partisan", "ambivalent", "apathetic".


How do I change the default program to open a file on Mac? For example, I want docx-files to be opened with Word 2011 instead of Word 2019.


Is it possible to level grind in Normal Mode?

So in Awakening, we can use Reeking Boxes... but what of Three Houses? I'm not far off from the beginning of the game- I have just recently finished the mock battle, actually, but I noticed this calendar mechanic in the game (and in extension, the activity points stuffs). Apparently, the days just... jump.  With this info, I assume there's only a limited number of days before reaching the so-called War Phase... so this brings me back to the question: are there maps or battles that I can replay again and again so that I can level grind the characters, or are there only a limited amount of maps/battles that I can participate in?


How to calculate number of days between two given dates?

If I have two dates (ex. '8/18/2008' and '9/26/2008'), what is the best way to get the number of days between these two dates?


Calculate power of the Kruskal-walis test

I think this has been asked before on here but it didn't get a straight answer. I would prefer to do it in R if possible.


Suppose that $f:[a,b] \to \mathbb{R}$ is differentiable. Show that if $f(a)=f(b)=0$, then $|f'(c)|\ge \frac{4}{(b-a)^2}\int_a^b f(x)dx$.

I have tried to solve the below problem, and think I went very close to getting the answer but have been unsuccessful so far. Below is the problem and my proof.  Suppose that $f:[a,b] \to \mathbb{R}$ is differentiable. Show that if $f(a)=f(b)=0$, then   $$|f'(c)|\ge \frac{4}{(b-a)^2}\int_a^b f(x)dx$$ for some $c\in (a,b)$.  Proof: Let $M=sup\{|f'(x)|:x\in (a,b)\}$. THen if $M=\infty$, the inequality clearly holds for some $c\in (a,b)$. So assume $M$ is finite.  Then for any $x\in [a,\frac{a+b}{2}]$, by the Mean Value Theorem, there is some $c_x\in (a,x)$ such that   $$f(x)=f(x)-f(a)=f'(c_x)(x-a)\le M(x-a)$$.  Also for any $x\in [\frac{a+b}{2},b]$ by the Mean Value Theorem, there is some $d_x\in (x,b)$ such that   $$f(x)=f(x)-f(b)=f'(d_x)(x-b)=-f'(d_x)(b-x)\le M(b-x)$$.  So we have $\int_a^b f(x)dx=\int_a^{(a+b)/2}f(x)dx+\int_{(a+b)/2}^b f(x)dx\le M\int_a^{(a+b)/2}(x-a)dx+M\int_{(a+b)/2}^b(b-x)dx=\frac{M}{2}(\frac{b-a}{2})^2+\frac{M}{2}(\frac{b-a}{2})^2=M(\frac{b-a}{2})^2.$  Hence, we have $M\ge \frac{4}{(b-a)^2}\int_a^b f(x)dx$.  However, since $M$ is only the supremum of the set $\{|f'(x)|:x\in (a,b)\}$, this does not guarantee that there is some $c\in (a,b)$ which satisfies the inequality.  How can I solve this problem? I would greatly appreciate any suggestions or solutions.


How do I get better control over screen brightness

I bought a Dell Inspiron (which runs Windows 7) and they seem to have done something to the brightness controls because it seems to be more coarse than I remember from my previous HP Pavilion (EDIT: yep. I can only change the brightness in jumps of 6). I wish to get a better control of the screen brightness to tune it to the specific sweet spot I'm interested in.   The model is N5110.  Is there a program or setting that can do this for me?


Instead of relying on my host to send an email, I was thinking of sending the email messages using my Gmail account. The emails are personalized emails to the bands I play on my show.   Is it possible to do it?


How to group the field in 1 line in MS SQL

I'm using this MS SQL Script:       select NumberId, ART_No, InkColor       from INK_STOCK   and I have an output like this:       NumberId         ART_No          InkColor      ------------------------------------------      0010             23003             BLUE      0010             23003             RED      0010             23003             GREEN      0013             23004             ORANGE      0013             23004             PINK      0013             23004             WHITE      0015             23007             GREEN      0015             23007             PINK   How can I make the output should be like this:       NumberId         ART_No          InkColor      ------------------------------------------      0010             23003             BLUE, RED, GREEN      0013             23004             ORANGE, PINK, WHITE      0015             23007             GREEN, PINK   Thanks


Is there any software out there which can use the cable broadband, which is going into my computer and make it go out wireless with my wifi, so I can use laptops throughout the house?


Can I bind a (large) block of addresses to an interface?

I know that the ip tool lets you bind multiple addresses to an interface (eg, ). Right now, though, I'm trying to build something on top of IPv6, and it would be really useful to have an entire block of addresses (say, a /64) available, so that programs could pick any address from the range and bind to that. Needless to say, attaching every IP from this range to an interface would take a while.  Does Linux support binding a whole block of addresses to an interface?


The question asks to evaluate the limit and discuss the continuity of the function. I think I made steps in the right direction, but I'm not sure how to go from there  $$\lim_{x, y\to(0, 0)} \frac{x^2y}{x^4+y^2}?$$  I divided the numerator and the denominator by $x^2y$ and got $$\lim_{x, y \to(0, 0)} \frac{1}{\frac{x^2}{y}+\frac{y}{x^2}}?$$  I was thinking of setting $a=\dfrac{x^2}{y}$ and $\dfrac 1a=\dfrac{y}{x^2}$. However, I'm not sure what $\lim_{x, y\to(0, 0)} a$ is. I suspect it's $0$, but I'm not sure. I'm also not sure if I even have to use the epsilon delta definition of a limit to prove that it exists before solving it.


How to use Euler formula to prove the following conclusion？

I thought about it for a long time $$\prod_{k=1}^{n}\sin(\frac{k\pi}{2n})=\frac{\sqrt{n}}{2^{n-1}}$$


How to check if a list contains a string in javascript?

How can I test if the string "Orange" without quotes, exists in a list such as the one below, using javascript?  var suggestionList = ["Apple", "Orange", "Kiwi"];


This is an exercise out of Herstein which seems pretty straightforward but is eluding me.  Let $R,R'$ be rings and let $\phi:R\to R'$ be a mapping such that, for every $x,y\in R$: $${\rm 1.}\qquad\phi(x+y)=\phi(x)+\phi(y)$$ $${\rm 2.}\qquad\phi(xy)=\phi(x)\phi(y)\qquad{\rm or}\qquad\phi(xy)=\phi(y)\phi(x)$$ I'm to show that one of the conditions holds uniformly. That is, for all $x,y\in R$, $\phi(xy)=\phi(x)\phi(y)$ or, for all $x,y\in R$, $\phi(xy)=\phi(y)\phi(x)$. Of course, this doesn't exclude the possibility that both conditions hold uniformly (which happens when e.g. $R'$ is commutative).  Herstein hints to fix $a\in R$ and to consider the sets $$W_a=\{x\in R\mid\phi(ax)=\phi(a)\phi(x)\},$$ $$V_a=\{x\in R\mid\phi(ax)=\phi(x)\phi(a)\}.$$ I have shown that one of $W_a$ or $V_a$ must be the entire ring $R$. I think I'm missing something simple to complete the argument. Any hints?  Edit  I forgot to mention that in my copy of the text, the condition to be shown is stated as "$\phi(xy)=\phi(x)\phi(y)$ or $\phi(x)=\phi(y)\phi(x)$". I am pretty confident that it's a typo, but maybe not?


Create a script to add delimited text layer in QGIS

I'm trying to use QgsVectorLayer() function to add delimited text layer in QGIS. So I have a txt file (T_1999_1_2.txt) in path: "D:\PATRICIA\DOCUMENTOS\ESTACOES METEOROLOGICAS\DADOS METEOROLOGICOS\T" and I want to create a shapefile named: T_1999_1_2.shp. The txt file structure is:     par;num;ano;mes;dia;D;btq   3;705;1999;1;2;-999,9;S;40,43885833;-8,43994167   3;619;1999;1;2;25,0;A;41,70972;-8,02699   3;718;1999;1;2;104,0;A;39,78055278;-8,82096667   3;766;1999;1;2;28,0;A;38,76620278;-9,12749444   3;560;1999;1;2;333,0;A;40,71492778;-7,89591667   3;669;1999;1;2;-999,9;S;39,83950000;-7,47866944   3;848;1999;1;2;-999,9;S;38,48486667;-7,47291667   3;555;1999;1;2;8,0;A;41,70655556;-8,80210833   I have tried to run the script but appears the same window error ("Error in file. File cannot be opened or delimiter parameters are not valid") My sript is the following one:  uri = "D:\PATRICIA\DOCUMENTOS\ESTACOES METEOROLOGICAS\DADOS METEOROLOGICOS\T\T_1999_1_2.txt?delimiter=%s&xField=%s&yField=%s" % (";", "x", "y")  vlayer = QgsVectorLayer(uri, "D:\PATRICIA\IG\QGIS\FWI\T\T_1999_1_2.shp", "delimitedtext")   I don't understand, why it doesn't work.


Prove that $\alpha$ is algebraic over $K$.

Let $\alpha$ be a transcendental element over a field $E$, and $F=E(\alpha)$. Prove that for any subfield $K$ of $F$ containing $E$ as a proper subset, $\alpha$ is algebraic over $K$.  Can anyone give me some hint? I have no idea how to start.


is there any 100% working method to update openssl to the non vulnerable version on Debian Wheezy. I do not want to upgrade the whole OS, nor would I like to install a non official package.  Is there any solution right now ?  Thanks


Can one explain the different distributions of the Saxon and the analytic (Norman) (periphrastic, 'of') genitive

I gave a quick answer to part of  which had not been covered by previous answers, trying to clarify the reason you would say time of decoding but not decoding’s time. I said it was ’s usually indicates possession, but of course there were several counterexamples that would have occurred to me after a moment’s consideration, and these where helpfully supplied:   Britain’s climate two days’ time  a day’s work  the sun’s rays   I am still of a mind to say that possession of some sort is what allows the ’s. Even though the sun does not have title to its rays, they do belong to the sun. Now, at the risk of duplicating the original question and/or being pigheaded, I am curious as to why time of decoding but not decoding’s time is correct, if not for the reason I gave.


When is a language considered a scripting language?

What makes a language a scripting language? I've heard some people say "when it gets interpreted instead of compiled". That would make PHP (for example) a scripting language. Is that the only criterion? Or are there other criteria? See also:


I've created a module called hotel_reviews.  I've created the route node/{node}/reviews using .   hotel_reviews.content:   path: '/node/{node}/reviews'   defaults:     _controller: '\Drupal\hotel_reviews\Controller\ReviewsController::content'     _title: 'Reviews'   requirements:     _permission: 'access content'   I then tried to add a local task using .  hotel_reviews.content:   route_name: hotel_reviews.content   title: 'Reviews'   base_route: node.view   weight: 100   I can now access the content defined by my controller at node/1/reviews, however when I go to node/1 I don't see a reviews tab.  What am I doing wrong?  I've been using the following documentation so far:


What happens when auto number reaches its pre-set max?

I have a standard field that I have assigned the following Display format "A-{0000}". What happens when it reaches A-9999? I'm not able to find the answer online and I want to make sure it does not restart. I need this to be a unique field.


Where does Kyogre respawn after beating the Elite Four?

In Alpha Sapphire I fainted Kyogre in order to carry on with the story (and I forgot to get Pokeballs) and now I've defeated the Elite Four and can't find it anywhere! I've checked the Cave of Origin and the Seafloor Cavern and still can't find it. Please help.


Does it sound weird to say " I hope I can be of any use (help) to you" in a cover letter?

Which one is better? Are they acceptable or do they sound weird in English?


I am building a loop to fetch all the rows from my database and output them into rows for a table.  I am adding a select all checkbox at the header of the table when checked, it selects all, when unchecked, it deselects all.  I cant get it to work for some reason if someone can show me support.

<input type="checkbox" id="selectall">Select all</input>

ID

Avatar

Username

Email

Active

Level

Modify

          <?php $request = mysql_query('SELECT * FROM users');  while ($table = mysql_fetch_array($request)) {     echo '
';     echo '
<input type="checkbox" class="selectedId" name="selectedId" value="' . $table['id'] . '" onclick="resetSelectAll();" />
';     echo '
' . $table['id'] . '
';     echo '

';     echo '
' . $table['username'] . '
';     echo '
' . $table['email'] . '
';     echo '
' . $table['active'] . '
';     echo '
' . $table['user_level'] . '
';     echo '

';     echo '
';  }         ?>
   my javascript:      does anyone notice a problem?  here is a js fiddle


unable to printout arrayOfInt initialised within the class constructor

I'm new to Java and is trying to learn the concept of constructor. I tried to print out the value of arrayOfInts in the main method using (to test whether the constructor was initialised the way I expected)         System.out.println(ds.arrayOfInts);   However, instead of printing out the values, the output is:  [I@15db9742   Why am I getting the wrong result and how I can print out the correct result? (i.e. the value stored in arrayOfInts).   public class DataStructure {      public static void main(String[] args) {         DataStructure ds = new DataStructure();         //System.out.println(ds.arrayOfInts); Doesnt work as expected      }      private final static int SIZE = 15;     private int[] arrayOfInts = new int[SIZE];      public DataStructure() {         int arrayValue = 0;         for (int i = 0; i < SIZE; i++) {             arrayOfInts[i] = ++arrayValue;         }     } }


Image of $L=\{z\in\Bbb C \mid a\operatorname{Re}(z)+b\operatorname{Im}(z)+c=0; a^2+b^2\neq0; a,b,c\in \Bbb R \}$ under the function $e^z$

I'm trying to find out what is the image of the group $L=\{z\in\Bbb C\mid a\operatorname{Re}(z)+b \operatorname{Im}(z)+c=0\,; a^2+b^2\neq0\,; a,b,c\in \Bbb R \}$ under the function $e^z$ in the Imaginary-real plane. In other words, find $\{e^z\mid z\in L\}$.  Correct me if something is not good in the question.  I understand it should be something like a spiral, but I don't really understand how to show it.


where symbols there are and what they are saying?

I am used a command as service --status-all  oot@frank-Jai:~#  service --status-all   [ ? ]  acpi-support  [ ? ]  acpid  [ ? ]  alsa-restore  [ ? ]  alsa-store  [ ? ]  anacron  [ + ]  apache2  [ + ]  apparmor  [ ? ]  apport  [ ? ]  avahi-cups-reload  [ ? ]  avahi-daemon  [ ? ]  binfmt-support  [ ? ]  bluetooth  [ - ]  bootlogd  [ - ]  brltty  [ ? ]  console-font  [ ? ]  console-setup  [ ? ]  cron  [ ? ]  cups  [ ? ]  cups-browsed  [ ? ]  dbus  [ ? ]  dmesg  [ ? ]  dns-clean  [ - ]  dnsmasq  [ ? ]  failsafe-x  [ ? ]  friendly-recovery  [ - ]  grub-common  [ - ]  hostapd  [ ? ]  hostname  [ ? ]  hwclock  [ ? ]  hwclock-save  [ ? ]  irqbalance  [ ? ]  kdm  [ - ]  kerneloops  [ ? ]  killprocs  [ ? ]  kmod  [ ? ]  lightdm  [ ? ]  modemmanager  [ ? ]  mysql  [ ? ]  network-interface  [ ? ]  network-interface-container  [ ? ]  network-interface-security  [ ? ]  network-manager  [ ? ]  networking  [ ? ]  networking.dpkg-new  [ ? ]  ondemand  [ ? ]  plymouth  [ ? ]  plymouth-log  [ ? ]  plymouth-ready  [ ? ]  plymouth-splash  [ ? ]  plymouth-stop  [ ? ]  plymouth-upstart-bridge  [ ? ]  powernap  [ ? ]  pppd-dns  [ ? ]  procps  [ ? ]  pulseaudio  [ ? ]  rc.local  [ ? ]  resolvconf  [ ? ]  rfkill-restore  [ ? ]  rfkill-store  [ - ]  rsync  [ ? ]  rsyslog  [ + ]  saned  [ ? ]  sendsigs  [ ? ]  setvtrgb  [ ? ]  speech-dispatcher  [ - ]  stop-bootlogd  [ - ]  stop-bootlogd-single  [ - ]  sudo  [ ? ]  udev  [ ? ]  udev-fallback-graphics  [ ? ]  udev-finish  [ ? ]  udevmonitor  [ ? ]  udevtrigger  [ ? ]  ufw  [ ? ]  umountfs  [ ? ]  umountnfs.sh  [ ? ]  umountroot  [ - ]  unattended-upgrades  [ - ]  urandom  [ ? ]  vboxautostart-service  [ ? ]  vboxballoonctrl-service  [ ? ]  vboxdrv  [ ? ]  vboxweb-service  [ + ]  vmware  [ ? ]  vmware-USBArbitrator  [ + ]  vmware-workstation-server  [ ? ]  whoopsie  [ - ]  x11-common root@frank-Jai:~#    what's they are exactly trying to convey from those ?,+,- ?


Proof of linearity for expectation given random variables are dependent

The proof of linearity for expectation given random variables are independent is intuitive. What is the proof given there they are dependent?  Formally, $$ E(X+Y)=E(X)+E(Y)$$ where $X$ and $Y$ are dependent random variables.  The proof below assumes that $X$ and $Y$ belong to the sample space. That is, they map from the sample space to a real number line. Is that also a condition for linearity of expectation?  Proof: $$E(X+Y) =\sum\limits_{s}(X+Y)(s) P({s})    $$ $$E(X+Y) =\sum\limits_{s}(X(s)+Y(s)) P({s})    $$ $$E(X+Y) =\sum\limits_{s} X(s)P({s}+ \sum\limits_{s} Y(s)P({s})     $$ $$E(X+Y) =E(X)+E(Y)$$ Here $S$ is the sample space and $s$ is an event in the sample space.   for proof.  Also, more reasoning for step 2 would be helpful. I don't understand it completely.


Why can't high current substitute low voltage

I know this look stupid, but why high current can't substitute low voltage.   I read many articles about the difference between the two, and asked my professors, but still have some doubts and blind spots to differentiate between them.   let's say a diode, I need 0.7V to make it operate, why if I decrease the voltage below that and significantly increase the current it still doesn't operate?    I tried to visualize the current as an army (quantity) and the voltage as the power of the that army. And thought even if the power is low if I increase the number of my army I would substitute the low power.   I know this is not true, but why?


Why does the value of x not change, and how would you change it? -Understanding Methods

static void number(int x){         x=42;     }    public static void main(String[] args) {      int x =17;     number(x);     System.out.println(x);   why is the value printed out still 17 and not 42? Thanks!


How to do a bias-variance analysis on a machine learning modelling process

I searched on topics of the bias and variance trade-off and got back lots of questions with different levels of response. The information is scattering too much and unsystematic to answer my own question which stuck me. So I open a new question here and would like to hackle how I generally run a machine learning modelling process and ask for help on the issue of bias-variance assessment where I was confused or had no idea. If anyone noticed any useful posts to my questions please help point out the links and many thanks.  I execute the process basically according to the instruction below:    Question 1: When I start at step one, I try to think an issue that all my following analysis will be based on this train-test split. How about another split and is it possible to cause an obvious change in analysis results (final models, performance metrics, important features etc.)? If so, that means the analysis was split-dependent.   I have some thoughts here: assuming there exists an unknown underlying distribution of the domain set X (the whole dataset except the target class y), if the sample distribution of training set S was approximately similar to that of test set T, then the learning process should reach a good performance. Otherwise, if the two sample distributions differed in some non-trivial way, then the learner/classifier from training set S may not probably do a good job on test set T.     I made a trial to execute a 10-fold cross validation on the whole dataset and to see how variable the ROC AUC score was. In my particular dataset, I got a set of 10 scores with large variation (from maximum 0.85 to minimum 0.59). This led to my worry whether the current split I adopted for analysis was poor one.  To expand Question 1, I would like to ask further: what is the topic of this issue in machine learning theory? Is it the model stability or model variance?  I tuned the hyper-parameter/parameters in step 2 via cross validation. I try to use validation curve (refer to ) as below to choose the parameter value and avoid under/over-fitting problems.     Question 2: If this curve worked well in detecting under/over-fitting problems, what metric should be used: accuracy score/error rate, presicion, recall, f1 or roc_auc? (My current project was a classification problem with an imbalanced binary target class.)  According to the definition of bias, average error rate could be the measure of bias, so accuracy score/error rate seemed more reasonable in bias/variance issue. In fact, I concerned roc_auc score more than accuracy itself.   Question 3: how can we measure the variance? I saw a plot  and the gap was said to be able to indicate the potential variance (poorer performance on validation set than that on training set). Any other (better) way/metric can be used for this point?    In my analysis, the bias/variance check was run in the parameter tuning stage which seemed to return me a candidate model with a balanced bias/variance combination.  Question 4: does my bias/variance analysis miss some steps and how do I adjust it?  many ensemble learning methods have their own way to reduce variance or bias and  I hope to objectively evaluate the bias/variance for each candidate model.   Thanks for reading my long question but it really help for me to deliver a professional practice in my daily work. Many thanks again.


Change table numbering style to use roman numerals

I am interested in using Roman numerals for the table numbers in a report I am creating, however have run into an issue as I am using the report document class.  MWE:  \documentclass{report} \renewcommand{\thetable}{\Roman{table}}  \begin{document}  \listoftables \newpage  \chapter{Chapter 1} \begin{table}[htb]     \centering     \caption{This table is captioned with roman numerals, and is table number 1 in chapter 1} %This is Table 1.1     \label{tbl:ch1t1} \end{table}  \chapter{Chapter 2} \begin{table}[htb]     \centering     \caption{This table is captioned with roman numerals, and is table number 1 in chapter 2} %so this is Table 2.1     \label{tbl:ch2t1} \end{table} \end{document}   Previously, my table numbering convention (by the default that LaTeX uses) was that Tables 1,2,3... in chapter 1 would have table numbers 1.1, 1.2, 1.3,...  Tables in chapter 2 would have table numbers 2.1, 2.2, 2.3,...  However, with the \renewcommand{\thetable}{\Roman{table}} line, it gives the tables in sections 1 and 2 the same table number - I (because it resets the counter in between chapters). How can I generate a continuous set of table numbers so that the second table in the MWE has a table number of II?


I had 2 SSDs installed on my machine.I had installed both OS on my 2nd SSD. At that time everything boot ok from my grub menu. But once, I removed first SSD, my grub menu broke, nothing booted. After applying boot-repair with live USB drive now I only can find ubuntu on my grub menu. My sudo os-prober command showing my windows partition: user@hp-elitebook-8470p:~$ sudo os-prober [sudo] password for user:  /dev/sda1:Windows 10:Windows:chain  But running sudo update-grub not adding my partition into GRUB menu at startup. I had tried boot-repair. But, it didn't work. I can also see my win partion in gparted marked boot.   I had tried this  from  and rebooted and GRUB menu is unchanged. grub-customizer screenshot:  Anything I am missing? Thanks In Advance.


Groups by definition are associative, and may sometimes by commutative as is the case with abelian groups.   My question is the following: is there an algebraic structure or example where the operation is commutative, but not associative?


Apply license on data used from answers on Stack Exchange sites

I have used some answers from Stack Exchange sites, with desire to republish it. I have prepared some work (something similar to blogpost) from answers of different 3-4 users. How can I properly apply SE license (cc) , how I will attribute all those users, from whom answers the post was created? Do I have to make list of all those users, and also list of links to the answers?


Is it grammatically correct to say "John, good morning to you"

Two hosts on the Today Show constantly say "John, good morning to you" when starting to speak with someone on air. The others usually stick with "John, good morning".  Adding the "to you" seems to double up on who they already directed the good morning to at the beginning.  It just sounds very weird.  Thanks!


Is an Otyugh's grapple different from a standard grapple?

In 5e to escape a Grapple check, I know you roll athletics (str) or acrobatics (dex) opposed by an athletics (str) check.  In the Otyugh entry in the Monster Manual it doesn't say there's any check, instead it assigns a set DC for an "escape" (DC 13... which is a str check with a 10 assigned as the "roll").    So the question is:    Does the Otyugh actually make a roll in this instance (like the general rule) or does it have a set DC (for the specific case) OR is it just a poorly communicated version of the GENERAL rule being played out?   A little clarification on this would be AWESOME. In the event of a "specific vs general" scenario, what actually is the "escape" roll?  What modifier is applied? None?


See . PHP syntax highlight is clueless about namespaces:    First letter of a class name in a root namespace should not be black. Could this be updated? I know namespaces aren't most popular feature of PHP, but they are quite important one.


Make an object invisible to a specific camera? (Cycles)

I'm trying to set up multiple cameras for a scene set in a room. Is there a way to link object visibility to a specific camera? Ideally, a wall or ceiling would not render if it were in the way of the specified camera.  I've tried to get around this by keyframing Restrict Rendering, but that gets difficult to keep track of. I've also tried adjusting the clipping plane, but that clips too much and would also need to be keyframed if the camera moves.   Thanks!


I have SSD disk 30GB with Ubuntu installation. It is too small, because I have there some servers and projects. Currently, there is about 800MB free space.  I already bought new SSD disk with 120GB. I Would like to clone my disk with Ubuntu live CD.  sudo dd if=/dev/"30GBDISK" of=/dev/"120GBDISK"   Then I would like to enlarge disk partition, but I am not sure how to do it. I remember that I used gparted in past, but there where some problems with mounting. Should be the gparted run from CD or cloned disk?  Pls, could anyone tell me correct step by step process?


Why should I use exFAT over NTFS on removable media?

So, basically I always format my removable mass storage devices as NTFS by default, but someone told me I was better off using exFAT. Now I've been looking around google, but can't find any good reasons why I should.  Is there anything that exFAT does (better) which NTFS doesn't which is useful when using it for (>4GB) removable mass storage?


How can I add a new audio track to an x265 MP4 video without re-encoding it?

I would've tried MKVMerge or MakeMKV but they won't work on MP4 files. Does anyone have a way to just add the track? Cause adding it via Handbrake or something would take too much time.  Thanks.


Cannot delete files, nothing seems to work

I am on Windows 7.  I have some files on my computer leftover from an old version of Photoshop.  (I think... I don't remember exactly where they came from, but they seem to be Adobe files.)  There are 124 of them in a folder, which I have named "KILL."  (I don't remember what the original name of this folder is, it's been on my comptuer a long time.)  These files seem to be absolutely undeletable, as far as I can tell.  I can move them around and change the name of the folder, but deleting them is out of the question.  I also can't move them onto a different hard drive or flash drive, I've tried that.  So, let me list the things I've tried first:   A whole bunch of different "unlocking programs."  Including: IObit Unlocker, Lock Hunter, FileAssassin, and Project Kill box.  What I use LockHunter I am told: "No processes locking this file or folder have been found."  All of the other programs I've tried give me similar messages, telling me that nothing is locking the files.  Yet when I try to delete the files using LockHunter, I am simply told "Cannot delete x."  No reason is given. Tried using cmd.exe.  Even when I run a command window under administrator, it won't even let me access the KILL folder, much less delete anything.  I also tried killing explorer.exe from the task manager, and then using the cmd window.  Still can't even access that folder. Tried using safe mode in combination with these other options, doesn't change a thing. Tried changing permissions of the files using the security tab under properties.  It simply says "not inherited."  It will not allow me to change a thing. I am definitely the administrator of this computer. Tried Disk Cleanup and Defrag.  I suspected that some files must be damaged or something, but Disk Cleanup wasn't able to find any errors.  Defrag didn't help.   So, let me just say that I am not a computer expert.  But based on all the things I've tried, I suspect that this might be some hardware problem?  It seems strange that these files don't seem to be used by any processes, and yet are absolutely undeletable no matter what I do.  Is there anything else I can try?  Has anyone had any similar experience, and have any idea why this might have happened?  EDIT: Interesting recent development.  As I have toyed with moving the folder around, I moved it to the Program Files folder.  Now that it's there, it suddenly CANNOT be moved nor renamed.  It is stuck there, apparently permanently, as a folder called "KILL."  How irritating.


Nonlinear function continuous but not bounded

I would like an example of a map $f:H\rightarrow R$, where $H$ is a (infinite dimensional) Hilbert space, and $R$ is the real numbers, such that $f$ is continuous, but $f$ is not bounded on the close unit ball $\{ x\in H : \|x\| \leq 1\}$.  Actually, $H$ could be replaced by any Banach space (but not just a normed space-- that's too easy).  My motivation is that if $f$ is linear, this is impossible; but I have next to no intuition about non-linear functions.  Edit: Here's an example for $c_0$ which is even differentiable (disclaimer: I found it here: ).  Define $f:c_0\rightarrow F$ (where F is your field, real or complex) by $$ f(x) = \sum_{n=1}^\infty x_n^n \qquad (x=(x_n)). $$  You can estimate the sum by a geometric progression, so it does converge.  A bit of checking shows that f is Frechet differentible (so certainly continuous).  But $f(1,1,\cdots,1,0,\cdots)=n$ (if there are $n$ ones) so $f$ is not bounded on the closed unit ball.  What I don't immediately see is how to adapt this to $\ell^2$, say.


Why we say an SSA when it is Software Statement Assertion in long term?

We say obtain a Software Statement Assertion but when it is abbreviated as SSA, we say an SSA.   Can someone explain why?


The question is : "Let $A$ and $B$ be two fixed points in $\mathbb{R}^{2}$. Given $L>$ length of $AB$. Show that the curve $\alpha$ joining A and B, with length $L$, which together with AB forms a Jordan curve (i.e. a simple closed curve), bounds the largest possible area is an arc of a circle passing through $A$ and $B$." This is an homework question from a Differential Geometry Course. It seems that it is related to isoperimetric inequality but I don't have any idea to prove it.


For $n \in \mathbb{N}$ be $a_n=b_n=\frac {(-1)^n}{\sqrt{n+1}}$ and $c_n=\sum\limits_{k=0}^{n}a_kb_{n-k} $ Show that the series $\sum\limits_{n=0}^{\infty}a_n$, $\sum\limits_{n=0}^{\infty}b_n$ converge, but their cauchy produkt $\sum\limits_{n=0}^{\infty}c_n$ diverges.   I've showed so far, that $\frac {(-1)^n}{\sqrt{n+1}}$ converges, but how can i show that their cauchy product $\sum\limits_{n=0}^{\infty}c_n$ diverges?


Inject a text above a div centered horizontally and vertically

I have a div on my page and I would like to superpose a text above this div thanks to jQuery. This text must be  centered horizontally and vertically. I need this to show to the user this zone is allowed to drop a file in it.  <div class="dropzone" style="width: 300px; height: 200px; background-color: gray">     Lorem ipsum blah blah... Lorem ipsum blah blah... Lorem ipsum blah blah... Lorem ipsum blah blah... Lorem ipsum blah blah... Lorem ipsum blah blah...  </div>   JsFiddle:   I have no idea how to proceed to inject a text above my div. I know we have the append jQuery function but no idea how to proceed.  Any help is greathly appreciated.


How to add List<Dictionary<string, byte[]> object to Dictionary<string, byte[]>  public static async void PostUploadtoCloud( List<Dictionary<string, byte[]>> _commonFileCollection) {     Dictionary<string, Byte[]> _dickeyValuePairs = new Dictionary<string, byte[]>();      foreach (var item in _commonFileCollection)     {         _dickeyValuePairs.add(item.key,item.value); // i want this but I am getting         //_dickeyValuePairs.Add(item.Keys, item.Values); so I am not able to add it dictionary local variable _dickeyValuePairs      } }   In foreach loop I am getting item.KEYS and item.VALUES so how I can add to it  _dickeyValuePairs


Are there any good online dicerollers similar to the now mostly defunct Invisible Castle?

I used to use Invisible Castle's roller which was based off of OpenRPG.  Worked great, but it looks like the site has been pretty much gutted and is mostly defunct.  The roller still works but I'm not sure how well the site would hold up to actually building a good proper campaign anymore.  Is there anything that's still in good condition that has a similar sort of function?  Dice roller, records each roll made, can link to the rolls, etc?  The  asked more about using pregenerated ID's and most of the answers directly relate to that strategy.  And Invisible Castle is specifically listed as well but as I stated the site is mostly defunct.  The roller still functions, but the rest of the site is empty.  Others listed were using emails, which I may not be able to use for what I intended.  Invisible Castle was pretty much unique in its features and I haven't found anything like it in years.  The closest thing listed in that question to what I needed is RPOL.net but its dicerollers are only accessible to people with an account and listed as part of the campaign.  For what I was looking for there was a possibility of many people coming and going and as long as they have the campaign name I can check the logs well and Invisible Castle worked great for that but is no longer being maintained it seems.  Invisible Castle's features, as I know them, include the following.   Trackable dice rolls first and foremost Ability for anyone to jump in and make a roll for the campaign as long as they have an account Trackable by character name Rather decent rolling mechanics (allowed for drop lowest/highest, exploding, etc) No account needed if you're cool with not tagging the Campaign Comments could be added into the rolls


What is the difference between "gksudo nautilus" and "sudo nautilus"?

I've been using gksudo nautilus and sudo nautilus through Alt+F2.   What's the difference? They look very similar!


Integration of $\int \frac{x^2+20}{(x \sin x+5 \cos x)^2}dx$

How do we integrate  $$\int \frac{x^2+20}{(x \sin x+5 \cos x)^2}dx$$  Could someone give me some hint for this question?


If I have incense active is there a difference in standing still or actively moving around? Would moving around make the incense ineffective or increase its effectiveness in any way?


I was trying to stop the need to login every time my screen went to sleep using Windows 10. I did not succeed, what I did do however was to delete my main user profile that contained all of my documents and pictures. Is there any way to recover or gain access to those files?


Sum of N random variables from the same distributions

Given $n$ independent random variables from the same distribution, how to obtain the distribution of their sum? For example, the distribution of $n$ normal distribution is $N(n\mu, n\delta^2)$. Similarly, the sum of exponential distribution is gamma distribution.   Is there any possible way to obtain the distribution of their sum? For example, the sum of $n$ Pareto distribution.


How to create a Caesar's encryption disk using LaTeX

How can I create a Caesar's encryption disk with LaTeX?     I guess, the ultimate solution would take a arbitrary list of letters and calculate the spaces and angles for each letter automatically. So if I pass 4 letters to it, each space should have 90 degrees.


Your local grocery store just received a large shipment of apples, oranges, pears, and bananas---there are only 5 of each fruit.  You are shopping at the store and will purchase your fruit for the week.  How many ways can you select $10$ pieces of fruit from your store's supply of apples, oranges, pears, and bananas, if you need at least $2$ oranges and $1$ apple?  I understand that there are 17 spots to choose from because 3 have been chosen and there are a total of 20 fruits. Would I use the combination by repetition formula? I can't quite wrap my head around what to do. Any help would be appreciated.


Prove that every positive integer $n$ has a unique expression of the form: $2^{r}m$ where $r\ge 0$ and $m$ is an odd positive integer  if $n$ is odd then $n=2^{0}n$, but I dont know what to do when $n$ is even  and to prove that this expression is unique is it a good choice to  use the fundamental theorem of arithmetic?  I would really appreciate your help


Convex function supremum of countable affine function

Let $I\subset\mathbb{R}$ be an interval and $\varphi:I\to\mathbb{R}$ a convex function. I know that then $\varphi(x)=\sup\{f(x):f\leq\varphi \;\;\text{and}\;\;f(y)=ay+b,\;\; a,b\in\mathbb{R}\}$. In lecture notes im reading it says that we even have (given that $\varphi$ is not affine) $\varphi(x)=\sup\{f(x):f\leq\varphi \;\;\text{and}\;\;f(y)=ay+b,\;\; a,b\in\mathbb{Q}\}$.I was wondering how to show that second statement.


Continuity of $\frac{2xy}{x^2+y^2}$ at $(0,0)$

Given a Heaviside function  $$f(x,y)=\begin{cases}\frac{2xy}{x^2+y^2}, &x^2+y^2 \neq 0\\0 ,&x^2+y^2=0 \end{cases}$$       Letting $a$ and $b$ be fixed constants, show that for all values of $a$ and $b$, including $0$, the one variable functions $g(x)=f(x,b)$ and $h(y)=f(a,y)$ are both continuous on the entire real line. And how to determine whether the function is continuous at $(0,0)$.  What I did was: substitute $x=b$ and $y=a$ in the function $f(x,y)$ to get   $f(x,b)=\frac{2xb}{x^2+b^2}$ $f(a,y)=\frac{2ay}{a^2+y^2}$   But I am unsure how to proceed from here. How should I take the limit of the function $f(x,y)$? How do I take care of the $x^2+y^2 \neq 0$?


How to change internal field name(column name) of sharepoint list?

Can we direct change it from sql database? if yes then how?  or  any other solution?


How to create an HDRi environment map with Blender 2.8?

I'd like to create a scene in Blender 2.8 and render an HDRi environment texture from it. Is that possible? I expect I'd create a sphere, texture it appropriately, add some distant objects, put the camera at 0,0,0... but how to set up a camera type to record the 360-degree view as a properly formatted HDRi (e.g. equirectangular float EXR)?


Result of terminal command as a command line arguments for a c++ file

For example if i have a terminal command like this  $ hostname -I this will as a result print your ip as a string to the terminal. I want to use the result of this command as the argv[1] argument for my c++ executable. Is there any way I can do that


I'm Planning to upgrade to 14.04 . so what are the precautions i need to do . and is there a way to go back if things goes bad . i would appreciate if some one tells me a check list to follow to do this upgrade successfully


add a character before a line with matching pattern

I have an array that contains  line number 1 line number 2 line number 3 line number 4 line number 5   Then I ask for the user input:  read userInput echo $userInput   And then I try to match the user input, which is a number to my array  for i in "${!array[@]}";do if [["${array[$i]}"="$userInput"]] then     echo "~"     echo " $i" fi done   But this doesn't work.  The desire output is this:  4 line number 1 line number 2 line number 3 ~line number 4 line number 5   Can anyone help me please?


How to derive a formula for the period of a simple pendulum?

The following formula is given in our lab manual: $$ T = 2 \pi \sqrt{\frac{L}{g}} \left( 1 + \frac{1}{4}\sin^2 \frac{\theta}{2} + \frac{9}{64}\sin^4 \frac{\theta}{2}+\cdots \right) $$ for the period of a simple  with length $L$ under the influence of gravitational acceleration with magnitude $g$. We ignore friction. I understand the solution of Newton's Equation via the small angle approximation $\sin \theta \approxeq \theta$ and why that gives the usual elementary formula $T = 2 \pi \sqrt{\frac{L}{g}}$. What I don't understand is how one derives the above formula for higher-order corrections to the period. I think the $\theta$ in the formula is the maximum angle to which the pendulum in question is swinging.  Any insight into the origin or derivation of this formula is appreciated.


I'm a newbie to Ubuntu. When I was trying to install Ubuntu 12.04 on my laptop, I chose one of major partitions (60G) which contains lots of important files as a swap space. After completing the system installation, I found I had no access to all my files in that partition. That really makes me frustrated. Can someone tell how to copy or recover my files from that partition. Thank you very much!


How can I recursively clear the "Hidden" file flag on Windows Vista?

A friend's computer was recently infected with a virus.  I hope the virus has been removed successfully. But, it appears that the virus set the "Hidden" flag on most directories and files on the system.   What's the most convenient way to clear this flag from selected directories and their contents?


How to pause Blender or reduce its priority on Mac OS X

I am rendering an animation in Blender that should take about two days. I am using the CPU to render it because Blender does not support my GPU. After one day non-stop of rendering I have noticed that my iMac (2013 edition, intel core i5 CPU) was getting hot (about 85 degrees) and I do not want it to get harmed. Unfortunately I have chosen to render the whole animation to a video sequence directly and not to a set of images, so I cannot allow myself to stop the whole process. So is there any way to pause or reduce Blender's activity so that my computer can cool itself before restarting?  I have already tried the commands renice and killall -s STOP but with no result.


"suggestd quit unexpectedly" means what?

What does the alert box statement "suggestd quit unexpectedly" mean?  It turned up on my iMac , OS Sierra 10.12.  I have attached a screenshot.


What is the difference between wine versions: stable, staging, devel, development?

I tried to install wine using these commands: sudo apt-get install -y wine  And: sudo apt-get install wine  But terminal says that: Reading package lists... Done Building dependency tree        Reading state information... Done Package wine is a virtual package provided by:   winehq-staging 2.16.0~zesty   winehq-stable 2.0.2~zesty   winehq-devel 2.16.0~zesty   wine-development 2.0-3ubuntu1 You should explicitly select one to install.  E: Package 'wine' has no installation candidate  So there are 4 different version of wine. What is the difference between these versions. Which one is better? I wanted to install Internet Explorer from it and I installed winehq-stable. But I couldn't see that among applications in Winetricks. Do the other versions of wine have more applications to install? What is the difference?


I'm currently working on some maps, but I always find myself lost when I'm trying to find a specific item in a slot in my inventory.  This time it's the head, which is 103b. Currently, I don't have any way to check for it, so all I'm doing is checking for a skull, which makes it easy to bypass.  Here is an example:  /scoreboard players set @a Hulk 1 {Inventory:[{Slot:103b,id:"minecraft:skull"}]}   This is an easy way to find the skull, but I want it to be more specific. For example, a skull with a name, enchantments, etc.  This is the specific item I'm looking for:   /give @p minecraft:skull 1 3 {HideFlags:1,display:{Name:"The Hulk",Lore:[The head of the Hulk]},SkullOwner:Oconna,ench:[{id:0,lvl:10}]}   But since I can't copy  {HideFlags:1,display:{Name:"The Hulk",Lore:[The head of the Hulk]},SkullOwner:Oconna,ench:[{id:0,lvl:10}]} into the other command (which would result in this):   /scoreboard players set @a Hulk 1 {HideFlags:1,display:{Name:"The Hulk",Lore:[The head of the Hulk]},SkullOwner:Oconna,ench:[{id:0,lvl:10}]}   I can't find it easily.  Is there any way to easily find a head with specific attributes, or do I need to type it all down?


Why does changing the bibliography style to "agsm" randomly bold the journal volume numbers?

I'm using the natbib package for the bibliography, and initially had the plainnat style but have since been told that I've got to use Harvard referencing only. So I tried changing the bibliography styles to ones I've found on online reference sheets - e.g. agsm.bst, but the only ones I find that work and put the bibliography references in the order they need to be ('Author;Year;Title;Journal;Volume;Pages') will bold the volume number like this:     JR Krebs. 1980. Optimal foraging, predation risk and territory defence. Ardea, 68:83-90   It looks very odd and I would like to remove this but I don't know how - do I need to change the code, or is there a style package that I should be using?  Here's the code I have set up:   \documentclass[12pt]{article}  \usepackage{fontspec} \setmainfont{Arial}  \usepackage{natbib} \usepackage{graphicx}  \usepackage{listings} \lstset{frame=single,breaklines=true} \setcounter{secnumdepth}{4} \sloppy  \usepackage{geometry} \geometry{margin=1in}   \title{PAPER TITLE} \date{}  \begin{document} TEXT HERE \bibliographystyle{plainnat} \bibliography{bibliography.bib}   and the bibliography entries are being entered like this:  @article{krebs1980optimal,   title={Optimal foraging, predation risk and territory defence},   author={Krebs, JR},   journal={Ardea},   volume={68},   pages={83--90},   year={1980},   publisher={BioOne} }


does undying servitude add animate dead to the warlock spell list?

does the invocation undying servitude add animate dead to the warlock spell list? it says you may cast it without spending a spell slot once a day, however, does "once a day" apply to the casting or casting without a spell slot?


would like to find out what kind of frame I have

Can you please help me on identifying this frame has no logo or marks no decals all it has is s serial number


Add link referenced to ItemID to displayform.aspx

Is there any way to add version history link (bellow code) on displayform.aspx as a content webpart?  version history


How to Highlight Words with Quotation Marks?

When we highlight words with quotation marks, should the periods and commas be within or outside of them?  Examples:  Question 1  A) He is such a "good guy."  or  B) He is such a "good guy".  Question 2  A) This smartphone is the "smartest," you should get it.  or  B) This smartphone is the "smartest", you should get it.  If possible, kindly explain why are you picking those choices.  Thank you.


Can someone tell me how to add a ArcGIS FeatureServer to a QGIS plugin? I've found a post here on how to add maplayers which is simple enough but I can't find an description on how to do the same for FeatureServer layers. I'm trying to build a plugin to load a large number of various WMS, WFS, maplayer, featureserver datasets in QGIS without having to manually load them.   example:   maplayer syntax that works:  iface.addRasterLayer("url='my_featuere_layer_url' layer='0'", "mylayer", "arcgismapserver")


clamav - ERROR: /var/log/clamav/freshclam.log is locked by another process?

I have installed clamav and I want to to update the files that it uses to identify viruses:  $ sudo freshclam  ERROR: /var/log/clamav/freshclam.log is locked by another process ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).   What should I do with this error?  EDIT:  $ sudo lsof /var/log/clamav/freshclam.log  COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF     NODE NAME freshclam 866 clamav    3wW  REG  259,1   100134 10486045 /var/log/clamav/freshclam.log


I'm trying to delete  from the , because I don't think this network is suited for it. Then again when I go to:     I don't want to receive any messages from this network again and I don't want to add Stack Exchange to my  or as spam.  What can I do?  UPDATE  The question is different to the delete my acount one because the option to remove my profile wasn't there and I was getting a page with a 404 code.


Virtual socket vs core per socket Best practise

Is this right way of assigning 8 Cpu's on Vmware?  I have research but couldn't find a right answer. What is the difference between virtual socket and core per socket.


How do I install pillow in Ubuntu 16.04 LTS?

I went to  for installing Pillow since the original PIL is a discontinued project and so now not so good to use. But, in the table support for Ubuntu 16.04 LTS is unmentioned. It appears neither in , or in .     Further, just installing pillow is said to be not enough. There are some dependencies that should be installed first which is also unmentioned for Ubuntu 16.04 LTS. Would the installation steps for Pillow for python 3 given for 14.04 LTS be OK for Ubuntu 16.04 LTS?  If not, How do I install pillow in 16.04 LTS for Python 3.6? (There is support for Python 2.)


How many integer nonnegative solutions are there to the pair of equations: $ x_1 + x_2 + x_3...+ x_6 = 20 $ and $ x_1 + x_2 + x_3 = 7$.

This is for my combinatorics class so I took the  approach that we've been taught in class, though we haven't been showed how to do it for a pair of equations. So the second question can be solved by $${7 + 2\choose 2}$$, given that I can substitute back into my first question so $$(x_1 + x_2 + x_3 ) + x_4 + x_5 + x_6 = 20 $$ Treating the second equation as one we can solve the first equation through $${13 + 2\choose 2} $$ Since both equations are indep. of each other, we need to multiply them. Is this right or have I completely butchered it? Thank you in advance for your time


Verifying that $d(x,y)= \sum_{i=1}^n (x-y)^2%$ satisfies the triangle inequality

How can I prove that the function $d(x,y) = \displaystyle\sum_{i=1}^n (x_i-y_i)^2$ satisfies the triangle inequality $$ d(x,z) \leq d(x,y)+d(y,z)?$$ The book from which this problem came suggests that the Cauchy-Schwarz inequality of the form $$\displaystyle\sum_{i=1}^n (x_iy_i) \leq (\displaystyle\sum_{i=1}^n x_i^2 \displaystyle\sum_{i=1}^n y_i^2)^{1/2}$$ may be helpful. Also, $d: \mathbb{R} \times \mathbb{R} \rightarrow \mathbb{R}$.


My laptop operates on ubuntu 16.04. when I enter the command on the terminal window to install a new software, it gives the following error:  ashutosh@ashutosh-HP-Pavilion-g4-Notebook-PC:~$ sudo apt-get install arduino [sudo] password for ashutosh:  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   can you please tell me the reason for this..??


Can someone give me an example of a simple ring that is not semi-simple ?


Orthogonal tranformation over invariant subspace

let $V$ be a  euclidean space. $T:V\to V$ be an orthogonal  linear transformation. $W\subset V$ is a $T$-invariant subspace.  I need to prove 2 things:  A. $T\bigl|_W$ is orthogonal  so I said that if $T$ is an orthogonal  linear transformation, then it preserves inner products and for every $v,u$ that belong to $V$, $\langle\, Tv,Tu\,\rangle$ = $\langle\, u,v\,\rangle$.   so if $W\subset V$, then for every $w_1, w_2$ belonging to $W$,  $\langle\,Tw_1,Tw_2\,\rangle=\langle\, w_1,w_2\,\rangle$.  but it feels wrong, I'm not sure whether it is right.  B. Show that $W^\perp$ is $T$-invariant. which I have no idea.


I use zxing to encode a qr code and store it as a bitmap and then show it in ImageView. Since the image generation time is significant I'm planning to move it to a separate thread (AsyncTaskLoader will be fine I think).  The problem is - it's an image and I know that to avoid memory leaks one should never store a strong reference to it in an Activity.  So how would you do it? How to cache an image to survive config changes (phone rotation) and generally avoid generating it onCreate()?  Just point me in the right direction, please.  EDIT: Or maybe, if I use AsyncTaskLoader anyway, I should let it do its job and keep the Bitmap there? I mean, it's supposed to return the data it's loaded (generated in this case) and return it when needed, isn't it?


How come $\lambda(\mathbb{Q})= \inf\left\{\sum_{n \ge 1} \lambda([a_n,b_n)) : \mathbb{Q} \subset \bigcup_{n \ge 1} [a_n,b_n)\right\} = 0$?

I have an intuition problem regarding a certain claim.  I've learned that since $\mathbb{Q}$ is measurable than  $$\lambda(\mathbb{Q})= \inf\left\{\sum_{n \ge 1} \lambda([a_n,b_n)) : \mathbb{Q} \subset \bigcup_{n \ge 1} [a_n,b_n)\right\}$$  This is because Lebesgue measure is the Caratheodory extension over the semiring whose elements are $[a,b)$.  But it seems so false, since as we know $\lambda(\mathbb{Q}) = 0$, But I can't even imagine a countable family of sets such that $\mathbb{Q} \subset \bigcup_{n \ge 1} [a_n,b_n)$ and  $\sum_{n \ge 1} \lambda([a_n,b_n)) < \infty$.  How can the infimum of the above set be $0$?


I wrote this code to print out the dictionary items that are sorted in alphabetical order of the 'Keys' but i want to sort the 'Items' according to increasing/decreasing order of the numerical values of 'Dictionary Values'  Note: The result must contain item tuples of the form (key, Values) and the sorted order should be according to increasing/decreasing order of numerical 'Values'  def calculate(sentence): sentence = sentence.lower() d = {} for characters in sentence:     d[characters] = d.get(characters, 0) + 1 return sorted(d.items())   print(calculate("The quick brown fox jumps over the lazy dog"))   How can this be done? Please help me with this and if the solution is complex try explaining it as simple as possible. I'm only a beginner  For example: input = 'zzzzoopq' output = [('z', 4), ('o', 2), ('p', 1), ('q', 1)] (The output is sorted according to descending order of 'values')


How does the phone detect if 3.5 mm jack circuit is closed?

I have an android phone to which i have plugged an earphones. So at the top of the phone, I get the headphone symbol which indicates that the earphone is connected (In other words, the circuit at the 3.5 mm jack is closed).   Then I cut the two earphones (transducers) from it, and still the headphone symbol shows. When I later cut this cable, below where it branches out, even then it shows circuit completion.   So my question is this:   How does the phone detect circuit completion at the 3.5 mm jack and thus trigger all sound and music to be directed through the 3.5mm jack?


I'm looking for a a finitely generated module with submodules that are not finitely generated. I know about $\Bbb R$ and $\Bbb Z$, but I need another example.  Could anyone help me? I'm new in algebra.


I read that I can use \int_a^b or \int\limits_a^b. With \limits, the equation looks more compact horizontally, but a little bigger vertically.  Is there some design rule to it, or just personal preference?


How does comment voting and flagging work?

Comments can now be upvoted and flagged. How do those features work? Do users get rep for their upvoted comments? Do upvoted comments have any effect on comment sorting? And can users see their own comment upvote number somewhere?  Related:  The  about comments


what is the zsh equivalent of bash's export -f

So I started using zsh. I like it all right. It seems very cool and slick, and the fact that the current working directory and actual command line are on different lines is nice, but at the same time, I'm noticing that zsh can be a bit slower than bash, especially when printing text to the screen.   The thing I liked best was the fact that zsh was 'backward compatible' with all of the functions I defined in my .bashrc.  One gripe though. The functions all work perfectly, but I can't figure out how the exporting system works.  I had some of those .bashrc functions exported so that I could use them elsewhere, such as in scripts and external programs, with export -f.  In zsh, exporting doesn't seem to even be talked about. Is it autoloading? Are those two things the same? I'm having a seriously hard time figuring that out.


Find the value of $\int_{-\infty}^{\infty} \frac{e^{-x^2}}{1+x^2} dx$ .

Find the value of $\int_{-\infty}^{\infty} \frac{e^{-x^2}}{1+x^2} dx$     My attempt  First, I know the existence of this integral since $$ \mid \int_{-a}^{a} \frac{e^{-x^2}}{1+x^2} dx \mid \;\; \leq\;\;  \mid \int_{-a}^{a} \frac{1}{1+x^2} dx \mid$$  Next, let $R >0 $ be an arbitrary and $\gamma_1(t) = -R(1-t) + Rt , \;\; 0 \leq t \leq1$ and $\gamma_2(t)= Re^{i\pi (t-1)}, \;\; 1 \leq t \leq 2 $.  So, take $f(z) = \frac{e^{-z^2}}{1+z^2}$.   I tried to find the value or upper bound of norm of $$\int_{\gamma_2} \frac{e^{-z^2}}{1+z^2} dz$$.  However, $$ \lvert\int_{\gamma_2} \frac{e^{-z^2}}{1+z^2} dz\rvert \leq  \frac{\text{max}\lvert e^{-z^2}\rvert}{R^2-1}\pi R = \frac{e^{R^2}}{R^2-1}\pi R $$ So, I can't proceed this.  May I ask you how to solve this?


I have a problem with setting up a mixed material for a bottle label I need.  The label will need some different surfaces; - Diffuse (the base paper) preferably with a normal map for adding the paper feel to it. - Glossy (the golden text and details), preferably with a normal map for adding a bevelled feeling.  I have all parts isolated in different PNGs/TIFFs.  Now, is it possible or even a good idea to set this up in the same material? Or should I go for different materials on the same object (and if so, please guide me)?      Very nice results with your setup @bstnhnsl! I think it produces exactly what I need. (sorry for answering my own question, but I didn't know how to post an image sample otherwise).    One question, though: You mentioned that one can use an unlimited amount of material this way, and I've tried but I don't think I get it; should I use one more Mix shader to add for instance one more texture image?