So, I’ve had many sous vide successes over the years but yesterday suffered what feels like a big failure and I’ve no idea why. Long story short, I had a 2kg beef topside joint which I seasoned with plenty of salt and pepper then cooked for four hours at 56C. When I took it out of the water it felt deliciously soft- even delicate. I cooled it immediately in a cold water bath and then left it in the fridge overnight. The next day I blasted it in the air fryer on as hot as it gets until the fat left on it browned and caramelised. At this point it looked and smelled fantastic. The problem is that when sliced and served the meat is extremely chewy and not nice at all to eat. Parts of it that were not chewy were absolutely delightful and tasted great but so far the majority of it has needed prolonged chewing then spit out what’s left of that mouthful. It breaks my heart to see a mountain of chewed meat left on a plate! So I’m wondering what I did wrong? Most recipes online suggested 56C and 4hrs were the correct choices. At this point I’m stumped. Could it just be as simple as a tough piece of meat? What can I do to save it, since I’m not really looking forward to eating any more of it right now?

How do I stop my sous vide steak drying out? I have tried various temperatures and times from 55°C to 60°C and from 40 minutes to 4 hours. The colour and texture changes but the meat is always too dry to enjoy.  My mother eats steak well done conventionally and it is much more moist than this sous vide medium rare. The meat is still very red, so it's not over cooked.  I am using sirloin, about 20mm thick. It's 28 day aged, according to the packet. When cooked in a pan it is very nice, as it should be at £22/kg. I have tried presearing plus postsearing and postsearing only. Sealed in Sous Vide Supreme vacuum pouches. They then go into a 30l water bath heated by a Vac-Star Sous Vide Chef 2. The temperature is totally accurate according to my certified thermapen and does not vary at all.   I also tried cooking chicken breast with garlic butter potatoes and carrots, as per Douglas Baldwin's book. Carrots were delicious. Potatoes were hard and bland. Chicken was downright weird. Very unpleasant texture and very dry. I invited a couple of friends who are keen to try sous vide over during the whole process. All 4 of us agreed. The machine is going back.


I have K8 the other player has K9 K on the board and A comes on the river, who wins the hand

In Texas Hold'em poker, there are some cases where a particular card, often called kicker, acts as a tiebreaker between players to determine who wins the pot, or if the pot has to be shared.  For some combinations such as three or four of a kind, there is no doubt: the kicker is the 5th card of the chosen combination, and determines the winner.  Example     Alice has 7 and 10   Bob has 7 and K   On the board are 7, 7, 2, 3, 4   In that case, both have a three of a kind. But because Bob has a king and Alice only a 10, he wins.  Most of poker websites explaining the rules clearly mention the role of the kicker applying to three of a kind and double pairs. But much fewer say something about colors, straights and full houses, and I found many contradicting answers. I also asked the question to some used online poker players and they also gave me contradicting answers.  I have tried to search for official tournament rules, but most of them only explain what happens with bad behaviors, bad deals, incorrect or confusing betting, showing cards when you shouldn't, acting when it's not your turn, etc. without mentioning subtleties about combinations at all.  To simplify my question, I will take three examples; I think it's better to start with examples before getting to the general answer if one exists. So, what's happening in the following 3 examples? Could you give a more generalized answer?  Example 1 - Flushes     Alice has 2♣ and 3♣   Bob has 4♣ and 5♣   On the board are 6♣, 8♣, 10♣, 2♥, 5♦   Contradicting answer 1: it's a tie, because the highest card included in the flush is the 10, which everybody chooses to include in their 5 showdown cards. Contradicting answer 2: Bob wins, because he has the greatest private card that is part of the flush  Example 2 - Straight     Alice has 6 and K   Bob has 6 and J   On the board are 4, 5, 7, 8, 10   Contradicting answer 1: it's a tie, because the greatest card in the straight is the 8 for both Alice and Bob Contradicting answer 2: Alice wins, because she owns an extra king, compared to the jack of Bob  Example 3 - Full house     Alice has 3 and 7   Bob has 3 and 6   On the board are 3, 3, 2, 2, 5   Contradicting answer 1: it's a tie, because one is supposed to choose only five cards to make a combination, and a full house is already five cards. There couldn't be any kicker, and thus their showdowns are strictly equals. Contradicting answer 2: Alice wins because of her extra 7, compared to the 6 of Bob  Thank you very much for your answers.  Note: I'm unable to post next to you, so I edit my own post; strange not be able to answer to an answer.  Ok, So if I summarize what you are saying :   In the flush case, Bob wins because at some point, their hand differs. Technically, I can continue comparing the highest private card to decide who wins. I had it correct. In the straight case, if the highest card of the straight is public, then it's technically always a tie, no matter what the players had as second private card (asuming that only one of the two cards was part of the straight). In a full house if both players have the same triplet and the same pair, it's always a tie, no matter what the players had as second private card (assuming again that only one of the two was part of the full house).   Please confirm me that what I summarized is correct.  Thank you for your answer.


I have just used dried yeast for a bread in the bread maker but there is still a lot left how long will it still be good to use after opening it and closing it properly because the booklet of the bread maker says once opened throw it away  up I find that a waste

I purchased a 25 gm active dry yeast. It says to use it with 500 ml flour. However I just want to make a couple of pizza bases, 100 gm each max. So can I use 40% of it today, and use the rest later? How to store the open pack, do I need to seal it and pack?


What are the existing collaborative webmapping systems/platforms?  I am looking for some information like on , but specific to out-of-the-box on-line geographical data capture systems.  These systems should not necessarily be open-source but should remain highly customisable for specific purposes. I am specifically interested in systems that could be made private, with a capture tool usable on mobile devices.  So far, I am aware of the systems  and . I am sure you know others!  Precision: I am not looking for existing collaborative cartography projects like in  but rather in the background systems for these projects. Wikipedia's system for example has been released as the MediWiki system - maybe there are comparable initiatives in collaborative webmapping.

I am looking at collecting spatial information from a range of stakeholders to identify opportunities within a landscape.  However, the data that we are collecting are not presently mapped and so we wish to use an interactive method to get this information onto a map.  Which online websites/methods would people recommend for circulating to a non-technical audience to try and get them to map what they know?    Where the emphasis is on ease of use by the stakeholder.


I'm having a Macbook pro 15" 2012 model here and I remember the past when I gamed on my Macbook- specifically World of Warcraft. When I played this game my Macbook went from a passive ~55 degrees C to the maximum of 105 degrees C. This also (of course) drains the battery which usually last 4 hours to a mere 30-40 minutes (with a full charge). Of course, I did gave the machine room to 'breathe'.  This was one of the reasons I stopped playing games in general on my Macbook.  But I'm quite curious whether having a machine running on it's maximum temperature is bad for the machine itself- and having the battery drain as crazy is bad for the battery itself.  One might say "yes", but I could think of an answer such as "If it doesn't shuts itself down (precaution) it isn't bad". What is true?

Will higher temperatures damage a computer over time, even when not reaching the maximum temperature? For example, if the maximum is 105 degrees celcius, will the computer break faster when continually having it on 80 degrees celsius instead of, for example, 60 degrees celcius.


I'm trying to make a new command in LaTeX to put a matrix like that  and i expect that at the end it stands something like this: \newmatrixcommand{#1}{#2}{#3}{#4}. I got close using a composition of commands as follows \begin{document}    \newenvironment{spmatrix}[1] {\def\mysubscript{#1}\mathop\bgroup\begin{pmatrix}} {\end{pmatrix}\egroup_{\textstyle\mathstrut\mysubscript}}  \begin{eqnarray} \begin{matrix} a_{1j}\\  a_{2j}\\ a_{3j} \end{matrix} \begin{spmatrix}{\;a_{i1} \;\;\; a_{i2} \;\;\; a_{i3}} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{spmatrix} \begin{matrix} a_{1j}\\ a_{2j}\\ a_{3j} \end{matrix} \end{eqnarray}  That is the result  even trying to change anyhow, i can't get what i supposed to. Any help, will be welcome.

How to add label to index the rows and columns of the matrix ? because I want to number the line outside the matrix       \[     \begin{array}{lc}       \ Mat_{\varPhi to M} & \left(\begin{array}{@{}ccccc@{}}             1 & 1 & 1 & 1 & 1 \\             0 & 1 & 0 & 0 & 1 \\             0 & 0 & 1 & 0 & 1 \\             0 & 0 & 0 & 1 & 1 \\             0 & 0 & 0 & 0 & 1               \end{array}\right) \\[15pt]     \end{array}     \]


In my interpretation it will encourage posting noise questions here. Is there some legitimate reason for putting this hat in Winter Bash?

Is there any concern that , due to their time-limited nature, will encourage mass spamming of posts? Cosmopolitan, for example, can only be achieved by posting to Meta. There are over one million users on Stack Overflow who may want this hat, and have only until January 4th to get it, and their only means of doing so is to invent some reason to post to Meta.


I have an XML string from a web service, that might be lacking some child nodes.   Before parsing the XML, i want to check if all the nodes are there and correct.  Example:  <fields>     <field RandomAttribute="True">  //these attributes should not make a difference        <name>Test1</name>        <type>Text</type>        <id>123</id>     </field>     <field>        <name>Test2</name> //THIS field node lacks the "type" child node        <id>114</id>     </field> </fields>   What is the best way, to take the whole XML, and check whether all the nodes comply to a predefined xml schema/structure?  Notice that I added a RandomAttribute to the first FIELD node, which shouldn't have any effect on the functionality.

The following code helps me validate an XML file with an XSD schema.  XmlReaderSettings settings = new XmlReaderSettings(); settings.Schemas.Add(null, xsdFilePath); settings.ValidationType = ValidationType.Schema; settings.ValidationEventHandler += new System.Xml.Schema.ValidationEventHandler(settings_ValidationEventHandler); XmlDocument document = new XmlDocument(); document.Load(xmlFilePath); XmlReader rdr = XmlReader.Create(new StringReader(document.InnerXml), settings);  while (rdr.Read()) {  } isValid = true;   The ValidationEventHandler also tells me what the errors are, but doesn't tell me on 'where' or 'on which line' they are located. Is there any way to get the line number where the XML fails to be validated?


I need to replace existing sshd config on the remote PC and restart sshd, so I try to use this:  cat /sshd_cfg | ssh user@192.168.0.47 "cat > /etc/ssh/sshd_config && service sshd restart"   but I get bash: /etc/ssh/sshd_config: Permission Denied   So to use sudo I try "echo pass | sudo -S" like that: cat /sshd_cfg | ssh user@192.168.0.47 "echo pass | sudo -S cat > /etc/ssh/sshd_config && service sshd restart" but getting the same output - Permission Denied, may be because of pipes collision? What shall I do?  Linux 190 4.3.0-2-generic #11-Ubuntu SMP Fri Dec 4 20:36:35 UTC 2015 i686 i686 i686 GNU/Linux   **   upd   As I found, the problem is in user privileges.  If I connect directly to PC and try to execute sudo cat /dev/null > /etc/ssh/sshd_config, I get Permission Denied, but it' okay If I try sudo -H -u root bash -c 'cat /dev/null > /etc/ssh/sshd_config'.  So I tried that from remote: cat /sshd_cfg | ssh user@IP "echo password | sudo -S -H -u root bash -c 'cat > /etc/ssh/sshd_config'"  And this time no errors appeares. And the file was changed, but it became ...blank. Instead cating /sshd_cfg in it.  Why?

I'm trying to do the following but it's not quite right.  cat ~/Desktop/blah.png | ssh -t -t trusktr@50.116.4.56 "cat | sudo -i 'cat | /path/to/blah.png'"   I have my public ssh key in the trusktr@50.116.4.56 user's .ssh folder, so no initial password is needed. When the sudo -i command finally starts, it prompts me for the root password, but immediately fails as if I had pressed enter but I didn't even touch the keyboard. I have a feeling maybe the cat command is being catted into the password prompt. The output looks like this:  trusktr@LENOVO-PC ~ $ cat ~/Desktop/win-8.1-missing-lockscreen-setting.png | ssh -t -t trusktr@50.116.4.56 "cat | sudo -i 'cat > /srv/http/default/htdocs/~/img/win-8.1-missing-lockscreen-setting.png'" tcgetattr: Not a character device [sudo] password for root: You type like i drive. [sudo] password for root: Your mind just hasn't been the same since the electro-shock, has it? [sudo] password for root: Maybe if you used more than just two fingers... sudo: 3 incorrect password attempts Connection to 50.116.4.56 closed.   I don't have direct ssh access through the root user, only through a normal user with access to sudo using the root password.  How might I cat the image through ssh, through the non-root user, into the root location all in a single command?


We were on holiday and got bitten by (most probably) bed bugs. We then carried them home, and I also saw a typical one: 4mm, flat, round, black. I thought it was pretty clear we had bed bugs. I smashed one:    Currently (2 weeks later) we have a lot of small insects in the house, like shown in the picture. But they don't really seem like bed bugs, do they? The big ones look like bed bugs, but the small ones don't?  What is it? It's around 2mm (others are much smaller, very tiny, less than 1mm). They can jump (or run really fast) 2cm if I try to squash them with a finger.    Update:  The small one is very similar to a ?!    Update 2:  They have wings.. I think they're psocids. What I also realized, I probably have two different larves. I take some more probes..

This bug was found on a couch in . The couch, and the two beds in the room show no signs of other bugs. Is this a bed bug that I should worry about or something harmless? It was slightly larger than a common tick.


We'll I have a 5 Kilometer egg and I've walked the distance 1 thing I can't hatch it i dont know what's wrong but someone please help I've tried tons but no it says 5/5Km

I have a 2km egg that is all filled up but I'm not getting the "oh" popping up? Is there a reason for this and how do I get the egg to hatch?


let $f: J \to \mathbb{R}$ be differential function . let $x_n < c <y_n$ be such that $(y_n-x_n) \to0$  show that     $$\lim _ {n \to \infty}  \frac{f(y_n)-f(x_n)}{y_n-x_n}=f'(c)$$   i am trying to apply Mean value theorem on $f$ on the interval $[y_n,x_n]$.this gives   $$\frac{f(y_n)-f(x_n)}{y_n-x_n}=f'(\theta_n)$$  Now as $n$ goes to infinity $\theta_n \to c$. but $f'$ is not given to be continuous.if that was given then  we had done.  But how to approach this problem  since $f'$ is not given to be continous . Any Hint.

Let $f$ be differentiable at $x=a$.   Prove that if $x_n \to a^+$ and $y_n \to a^-$ then:  $$\lim_{n\to \infty} \frac{f(x_n)-f(y_n)}{x_n-y_n}=f'(a).$$  Every option that I think about seems to my very trivial, so I believe that I am doing something wrong.  Both numerator and denominator approach zero as $n\to\infty$ as the case of the formal definition of derivative, but it isn't guaranteed that the limits are equal (“$\frac{0}{0}$”).   Any direction?


I went to the U.S. on a business trip for 3 days. After reaching there, I purchased a laptop to do my business work. However, the very next day, my company provided me a new work laptop, and I had no idea that the company would provide me another laptop. Therefore, I have two laptops.  Upon my return to India, will I be allowed at the customs there to take both laptops or will I have to pay duty? I need to take both laptops and I won't be carrying the boxes in which the new laptops were provided.

I will be landing at New Delhi airport. The worth of new laptop  (Lenovo Yoga Idea Pad 13) is about $1000 and old one (Macbook Pro) is > 1 lakh INR. I want to leave the new laptop in India. I have a copy of bill with me but not the original bill. I want to know if I have risk of being charged with custom duty.


I know getting something down has many different meanings in different contexts. I think I am familiar will most of them, if not all.   What does it mean in this context?      I told him where he should place his foot, but the rest is all down to him. He has got it down to a tee    Reference article :    This is not the first time I have come across this phrasal verb being used in this context. Although I could figure out the meaning from the context (that the said soccer player has perfected his ability), I want to know what Get something down in this context means.   I tried looking it up in many reputed online dictionaries, but none of the explanations seemed to match the meaning of Get sth down in this context. If possible, please refer to how an online dictionary explains the meaning of this phrasal verb in this context. Thanks

Convincing the CFO often requires speaking the same   language—an area of growth for most CIOs. Driving change will   partially rely on being able to sell to your primary investors (CFO,   CEO, COO, and Board). Get the pitch down. Practice and refine.    I think it means fail and then stand. is it true.


I need to add a roman page number on the page with table of contents. My table of contents is long and has two pages but a page number appears only for the second page. Is it possible to enforce page number for the first page too?  Tereza

How can I show double numbers (for example iii, 5/229) as in this  book


I want to turn off bluetooth. It seems to be turned off already, but every boot it appears at the panel again.  Here is how it looks at Settings.

How can I deactivate Bluetooth on system startup?


This is my first question on this forum. My MacBook has been turning off randomly when left unplugged. It shuts down before the battery indicator reaches 0%. I have reset the SMC and PRAM several times before. It starts up and i've cycled the battery 2 or 3 times after a reset. So it does start up without being connected and has let me cycle the battery from 100% to 0% Since it's actually letting me cycle the battery, i'm under the impression that it's working again. But out of no where it's shuts off on me randomly.   I thought maybe it could be the thermal paste on the heatsink just getting old, but why doesn't it shut down when connected to power? Could the battery be bad? The indicator is showing that it has charge. Could it be possible that the SMC chip has gone bad? I have had this MacBook since 2012. I've put some work into it. Increasing the RAM, replacing the optical drive with an SSD, reapplication of thermal paste to both the CPU and GPU. Could it be a one of my hardware monitoring programs forcing a shut down? I get no warning prior to the machine turning off. I can start it right back up after but it isn't log before it does it again. The more I start it up after the shut down, the less time it takes to shut down again the next time.  MacBook info:    MacBook Pro (15-inch, Mid 2012, Unibody) 2.6 GHz Intel Core i7 processor 16GB 1600 MHz DDR3 RAM NVIDIA GeForce GT 650M 1 GB / Intel HD Graphics 4000 1536 MB 500GB SSD 1TB HDD   UPDATE:  I used different battery health apps and they show that my battery is good. Using the system_profiler SPPowerDataType command showed that the amperage was zero which according to the  post meant that the battery is bad. I'm guessing this doesn't alway prove to be true, at least not in my case. I am currently running my MacBook without the charger plugged in and it isn't shutting down right away after unplugging it.

I have a MacBook Air, 2009, with a recently replaced Apple battery in December 2012. Recently, when power cord comes off, the computer shuts down. Also, it usually will not restart unless power cord is attached.


Here is what my book says about the different ways implications are worded     I am struggling with how "if p, then q" is logically equivalent to "p only if q"  The example I came up with   With "if p, then q" - If Russell plays in the NFL, he plays football.  With "p only if q" - Russell plays in the NFL only if he plays football.  Say Russell plays in the NFL, plays football and plays soccer.   With regards to that statement, my thought would be that "If Russell plays in the NFL, he plays football" implication would evaluate to true because Russell plays in the NFL and he plays football. However, with regards to "Russell plays in the NFL only if he plays football", wouldn't this evaluate to false because it says that the only way for Russell to play in the NFL is if he plays football. That means that playing football and soccer would not be a path for Russell to play in the NFL because it is not the  defined only way, only playing football.   Can someone clarify this?

Every lecture that I watched on mathematical logic and my textbook say that $P \Rightarrow Q$ has the same meaning  as $\text{"If $P$ then $Q$"}$ which has the same meaning as $\text{$Q$ only if $P$}$.   How does " $\text{if $P$ then $Q$}$ " have the same meaning as " $\text{$Q$ only if $P$}$  ?   i think that is not true. For instance, let $P = \text{a human $x$ killed human $y$}$  and $Q = \text{the human $x$ will be arrested}$.   Then $P \Rightarrow Q$ means $(\text{a human $x$ killed human $y$})  \Rightarrow (\text{the human $x$ will be arrested})$ which means  $$\text{if a human $x$ killed human $y$, then the human $x$ will be arrested} \quad (1)$$  but if we say ,   $$\text{a human $x$ will be arrested, only if the human $x$ killed human $y$} \quad (2)$$  then the meaning of (1) differs from (2). Statement (2) says that the human $x$ will be arrested in only one case which is killing $y$.


Which one is correct and why?     If you knew how bad things were, you would not go on vacation right now.   or     If you knew how bad things are, you would not go on vacation right now.   This is assuming that "things" are actually bad right now (that's not up for discussion).

I have a basic grammar question about the past tense. If I met a guy yesterday, which tense should I use about his name today?  For example,     "Yesterday I met a guy, his name is/was John."


I am running this code on Python (both 2.7, 3.x):  >>> 1.1 + 2.2 3.3000000000000003 >>> 1.1 + 2.3 3.4   Could someone explain how does it work and what is happening?

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


Sometimes VLC may open a small window. But sometimes it will open a window that is like 90% of the entire screen making clicking the controls very hard.  Is there a way to set a consistent size for VLC to always open in?

In a case of mine a very high (compared to the video stream) resolution graphical frame (saying "access denied" (when my IP changes)) can appear instead of a video stream, which makes VLC window to resize, getting bigger than my screen is. This annoys me. Can I set up VLC to never resize its window when I don't do it myself and resize content instead?


Let $A\in M_n(\mathbb{C})$ be a matirx. Consider the subspace  $$C(A)=\{X\in M_n(\mathbb{C})\text{ }|\text{ }AX=XA\}$$  How to prove that the dimension of $C(A)$ is at least $n$?  The only idea I could get was that the dimension is at least $d$ where $d$ is the degree of the minimal polynomial of $A$.

Let $M_n(\mathbb{C})$ denote the vector space over $\mathbb{C}$ of all $n\times n$ complex matrices. Prove that if $M$ is a complex $n\times n$ matrix then $C(M)=\{A\in M_n(\mathbb{C}) \mid AM=MA\}$ is a subspace of dimension at least $n$.   My Try:  I proved that $C(M)$ is a subspace. But how can I show that it is of dimension at least $n$. No idea how to do it. I found similar questions posted in MSE but could not find a clear answer. So, please do not mark this as duplicate.  Can somebody please help me how to find this?   EDIT: Non of the given answers were clear to me. I would appreciate if somebody check my try below:  If $J$ is a Jordan Canonical form of $A$, then they are similar. Similar matrices have same rank. $J$ has dimension at least $n$. So does $A$. Am I correct?


Recently, me and my friend have purchased a . the goal was using it in a mini-project as a new door lock system. we are connecting it to a Raspberry Pi to run the software on it. raspberry pi runs Raspbian, a spin-off of Debian.   After receiving the Scanner, we realized that not any type of SDK or software libraries came with it, and buying the SDK or development bundle costs like 2.5K/7K$  However,the driver and a small demo file came with it. it's closed-source so we cannot add any modification to it. all we need is to add few lines of codes, so we send a small electrical signal to the door lock to open it. anyway, this seems to not be possible.  The demo file updates a small Excel spreadsheet every time someone uses the scanner. it adds a new raw that have the time, and whether the access has been granted or denied.  Can i use this in anyway possible? i was thinking of finding a way to run a .py file (that sends the signal to the door lock) every time the excel gets updated with ACCESS GRANTED.  or an easier way, a small .wav file gets loaded when access is granted! can i find a way to activate the .py file every time the .wav file gets played?  using bash scripts maybe?  Generally, in Linux,  how to make a certain file auto-execute when another audio file or image are opened or played?

I want a script to sleep unless a certain file is modifed/deleted (or a file created in a certain directory, or ...). Can this be achieved in some elegant way? The simplest thing that comes to my mind is a loop that sleeps for some time before checking the status again, but maybe there is a more elegant way?


Me and a friend had a discussion about Linux and Unix today and my friend kept saying that the first version of the Linux kernel was based on [parts] of the Unix kernel.  This really surprised me because I always thought that the architecture of Linux is just similar to Unix — since the very first version. So, is it really true that the first Linux version was based on parts of Unix?

So, there are lots of different versions of Unix out there: HP-UX, AIX, BSD, etc. Linux is considered a Unix clone rather than an implementation of Unix. Are all the "real" Unices actual descendants of the original? If not, what separates Linux from Unix?


I have two files:  file01:  line1 line2 line3   file02:  A B C   And I want to get  line1 A line2 B line3 C   I could possibly write a Perl script but it is better if I don't need to.   I have tried using the obvious  grep -o  '^' file02  >> file01   But this produces   line1 line2 line3 A B C   It should be a simple thing to do, but have not found it in the "man grep" (manual for grep).

I am searching for a nice method of merging two or more files line by line using the zipper method (also called late merge). Assuming we have three files, the result should look like this:  line1 file1 line1 file2 line1 file3 line2 file1 line2 file2 line2 file3 ...   EDIT  I wrote a little python script capable of doing this:  #!/usr/bin/python  import sys, itertools  fileList = [] for file in sys.argv[1:]:     f = open(file, "r")     fileList.append(f.read().split("\n"))  for z in itertools.izip_longest(*fileList):     print "\n".join([i for i in z if i is not None])   I still wonder if there is any standard tool or a clever combination of them doing the same thing.


I have been trying to install Office on Ubuntu 18.04 but none of the previous methods work.   specifically does not work.  Here are the steps to the problem:    New ubuntu 18.04 install on Thinkpad X1 carbon - fully updated and working  sudo apt-get install playonlinux winbind -y  In PlayonLinux I start a new Office 2010 install.  The software installs wine and then hangs on creating the virtual drive - "Please wait while the virtual drive is being created..."    I would be grateful if someone could help with this.

I am trying to install MS Office 2010 32bit on my Ubuntu 18.04.   Following is my Wine version:   wine --version     wine-3.0 (Ubuntu 3.0-1ubuntu1)   When I run setup.exe I am getting following in the log. And installation stops. Can I get some tip, how can I make it work? Should I re-install Wine?  0094:err:mscoree:LoadLibraryShim error reading registry key for installroot 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot 0094:err:msi:ITERATE_WriteRegistryValues Could not create key L"SOFTWARE\\Microsoft\\CTF\\TIP\\{70FAF614-E0B1-11D3-8F5C-00C04F9CF4AC}\\Category\\Category\\{70FAF615-E0B1-11D3-8F5C-00C04F9CF4AC}\\{A8BA876D-E619-11D3-8F5D-00C04F9CF4A0}" 0094:err:msi:ITERATE_Actions Execution halted, action L"WriteRegistryValues" returned 1627 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot 0094:err:mscoree:LoadLibraryShim error reading registry key for installroot 0094:err:rpc:RpcAssoc_BindConnection rejected bind for reason 0 008c:err:rpc:RpcAssoc_BindConnection rejected bind for reason 0


The  came with a driver CD for Mac OS and windows but not ubuntu(linux). I recently switched from Windows to linux and  . I did as the instructions were given AND the printer seems to work, but scanning doesn't work. The error message says "USB can't connect" in the PC and "Can't connect to PC" in the scanner's LCD display. What should I do?  I would have contacted their support but their form keeps popping error messages and I can't even register, but I seriously need to use the scanner.

I am not able to configure the scanner of my Brother DCP-7030.    After following all the steps mentioned on  Also, I implemented the solution provided in     When I try to scan the documents, the printer shows the display "Connecting to PC", but does not scan the document. I am however able to print the documents.  Any solution is much appreciated.


This is now my homepage and my articles there is with full text this look bad e.g.:      How i can edit this to look like from this photo so with images and e.g. some of text and after write ''read more'' or just ''...'' which redirect on articles      Thanks

I've install the new Twenty Fourteen theme for WordPress. I don't know how add summary text of posts on my front page.  All old tutorials like  does not work with new theme.  Any suggestions on how to solve this


Trying to install Oracle Java 6 SDK to Debian Lenny. I have downloaded rpm file. After executing command  rpm -ivh jdk-6u45-linux-i586.rpm sun-javadb-core-10.6.2-1.1.i386.rpm sun-javadb-demo-10.6.2-1.1.i386.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm sun-javadb-client-10.6.2-1.1.i386.rpm   got output:  /bin/basename is needed by jdk-1.6.0_45-fcs.i586 /bin/cat is needed by jdk-1.6.0_45-fcs.i586 /bin/cp is needed by jdk-1.6.0_45-fcs.i586 /bin/gawk is needed by jdk-1.6.0_45-fcs.i586 /bin/grep is needed by jdk-1.6.0_45-fcs.i586 /bin/ln is needed by jdk-1.6.0_45-fcs.i586 /bin/ls is needed by jdk-1.6.0_45-fcs.i586 /bin/mkdir is needed by jdk-1.6.0_45-fcs.i586 /bin/mv is needed by jdk-1.6.0_45-fcs.i586 /bin/pwd is needed by jdk-1.6.0_45-fcs.i586 /bin/rm is needed by jdk-1.6.0_45-fcs.i586 /bin/sed is needed by jdk-1.6.0_45-fcs.i586 /bin/sort is needed by jdk-1.6.0_45-fcs.i586 /bin/touch is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/cut is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/dirname is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/expr is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/find is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/tail is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/tr is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/wc is needed by jdk-1.6.0_45-fcs.i586 /bin/sh is needed by jdk-1.6.0_45-fcs.i586 sun-javadb-common is needed by sun-javadb-core-10.6.2-1.1.i386 /bin/sh is needed by sun-javadb-core-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-demo-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-docs-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-javadoc-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-client-10.6.2-1.1.i386   Why I got such strange dependencies? For example   /bin/ls is needed by jdk-1.6.0_45-fcs.i586   I definitely have ls command on my system why Java install complains about it?

Since Java 6 is not available in Debian 5 I decided to take it from Oracle. I have downloaded Java 6 SDK in file jdk-6u45-linux-i586-rpm.bin. But how to install it?  I executed jdk-6u45-linux-i586-rpm.bin and got several files:  jdk-6u45-linux-i586.rpm                 sun-javadb-core-10.6.2-1.1.i386.rpm sun-javadb-demo-10.6.2-1.1.i386.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm sun-javadb-client-10.6.2-1.1.i386.rpm   What I should do next?  UPD  After executing:  rpm -ivh jdk-6u45-linux-i586.rpm sun-javadb-core-10.6.2-1.1.i386.rpm sun-javadb-demo-10.6.2-1.1.i386.rpm sun-javadb-docs-10.6.2-1.1.i386.rpm sun-javadb-javadoc-10.6.2-1.1.i386.rpm sun-javadb-client-10.6.2-1.1.i386.rpm   got output:  /bin/basename is needed by jdk-1.6.0_45-fcs.i586 /bin/cat is needed by jdk-1.6.0_45-fcs.i586 /bin/cp is needed by jdk-1.6.0_45-fcs.i586 /bin/gawk is needed by jdk-1.6.0_45-fcs.i586 /bin/grep is needed by jdk-1.6.0_45-fcs.i586 /bin/ln is needed by jdk-1.6.0_45-fcs.i586 /bin/ls is needed by jdk-1.6.0_45-fcs.i586 /bin/mkdir is needed by jdk-1.6.0_45-fcs.i586 /bin/mv is needed by jdk-1.6.0_45-fcs.i586 /bin/pwd is needed by jdk-1.6.0_45-fcs.i586 /bin/rm is needed by jdk-1.6.0_45-fcs.i586 /bin/sed is needed by jdk-1.6.0_45-fcs.i586 /bin/sort is needed by jdk-1.6.0_45-fcs.i586 /bin/touch is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/cut is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/dirname is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/expr is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/find is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/tail is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/tr is needed by jdk-1.6.0_45-fcs.i586 /usr/bin/wc is needed by jdk-1.6.0_45-fcs.i586 /bin/sh is needed by jdk-1.6.0_45-fcs.i586 sun-javadb-common is needed by sun-javadb-core-10.6.2-1.1.i386 /bin/sh is needed by sun-javadb-core-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-demo-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-docs-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-javadoc-10.6.2-1.1.i386 sun-javadb-common is needed by sun-javadb-client-10.6.2-1.1.i386


I'm trying to see witch packages I've installed, but when I dpkg -l I got a big list of packages and their packages dependencies.  There's a way to get only the list of packages explicitly installed?  Ex:  apt-get install mysql-server   Thats also installs mysql-common  I want that when i list my packages only the mysql-server is showed.

I'd like to get a list of packages installed manually by apt or aptitude and be able to find out whether a foobar package was installed manually or automatically. Is there any neat way of doing that from the command line?


I'm looking for way to open registry editor and show some specific key or value. For example, if I pass "HKLM\\SOFTWARE\\Skype\\Installer" I want to get such a result:   All suggestions except system() calls are welcome.

How do I launch Windows'  with certain path located, like "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0", so I don't have to do the clicking?  What's the command line argument to do this? Or is there a place to find the explanation of RegEdit's switches?


I am working with an align environment and would like to add some hints at the equality signs by specifying the used equation number at some steps. However, if I do that the equality signs don't align anymore. Is there a way to get the equality signs to align instead of the whole stack relation? See below for a minimal example. \documentclass{book}  \usepackage{amsmath}  \begin{document}  \chapter{Test align equality}    \begin{equation}\label{eq::ac}     a=c   \end{equation}    \begin{align*}     a &= b \\     &\stackrel{(\ref{eq::ac})}{=} c   \end{align*} \end{document}

Look at the following example  \begin{align}      & x \\      \overset{\text{some long explanation}}= & foo \\      & = bar \end{align}   what is the best way to get the equal signs aligned? Now I have seen different solution such as adding \overset{\hphantom{\ţext{some long explanation}}}= to the beginning of every line, but I don't really think that is the best solution. Any better ideas?    UPDATE  I guess what i am actually after is   aligning the first column of the align environment right aligning the equal sign under the overset text right


Does Ubuntu come with a free Anti-Virus? I can not seem to find one. Does it have one or does it not? When I looked on the website and on searches it said nothing about this.

What antivirus programs are available for Ubuntu?  We previously used Symantec Endpoint Protection but it does not work in Ubuntu.


How to share the internet (first checkbox) from the command prompt?

I can do it manually by right-clicking on a network connection, opening the Sharing tab and clicking on the "Allow other network users to connect through this computer's Internet connection" check box.  Now I need to automate this task. Is there a command-line tool or a Powershell cmdlet to accomplish this?


Im trying to restore my database on my server, but i got the following error:     The database was backed up on a server running version 12.00.2269.   That version is incompatible with this server, which is running   version 11.00.2100. Either restore the database on a server that   supports the backup, or use a backup that is compatible with this   server.   So I need to downgrade my backup file, but how can I do it? Do I need to install a new instance of SQL Server 2014? With the option "Tasks -> Backup" there is no option to select the version for the backup.  Thanks!

What are my options if I need to move a database from SQL Server 2012(32bit) to SQL Server 2005(64bit)?  I know I cannot:   restore a backup of the database on SQL Server 2005 detach & attach   I know I can:   use import data wizard, and I tried it on one database, but it only moves data, and even that was troublesome as I needed to do a lot of work creating temp tables to maintain identity columns, recreating all FKs, indexes etc.    Is there an easier option?


prove this identity : $$\sin(x+y)\sin(x-y)=\sin^2 x - \sin^2 y$$  I tried solving it with additional formulas but I can't get the right answer. I get  $$\sin^2 x \cos^2 y-\cos^2 x \sin^2 y$$

How would I verify the following double angle identity. $$ \sin(A+B)\sin(A-B)=\sin^2A-\sin^2B $$ So far I have done this. $$ (\sin A\cos B+\cos A\sin B)(\sin A\cos B-\cos A\sin B)  $$But I am not sure how to proceed.


I have been facing this problem since the time of purchase.  I think the shocks go away once it's fully charged.  I experience shocks regardless of whether  I sit directly on the tiled floor at my home, or on a chair with my feet on the ground, or with my shoes on at my workplace. I use the official two pin charger that came with the box. I reside in India.  I have gone through the following posts          Please help me. Many of my friends are also facing the same problem.   This question also asks what could be done by apple about it? and as to why apple is seemingly ignorant of its widespread prevalence?

Every time I plug my MagSafe 2 power supply into an power outlet, this Mac's aluminum body gives me a mild vibrating sensation and sometimes an electric shock. After searching for info about my problem on many forums, they believe there's some problem with my grounding.  My country's electricity is about 220v. If I plug it into a 110v power outlet should it solve the problem?  I'm not an electrician so I don't really know what to do.


If I purchase a scenic photo from Shutterstock that says 5586px x 3724px, and 18.6" x 12.4" @ 300 dpi, can this photo be enlarged to a huge 40ft x 6ft banner without appearing extremely pixelated? This banner will be used outdoor and will mostly be viewed from a 10ft to 15ft distance.   I asked the actual printer, they told me to open photoshop and insert the photos at 50 dpi and view it at 100%, if that is acceptable then that's how it would print on the banner.   Since this is not a graphic design, I'm assuming a photo can not be vectorized, so What is the general rule for enlarging photos to extreme large sizes? what are the formulas to calculate how big can you enlarge without loosing the pixilation too much?

For wall-sized graphics and large banners (e.g. 3m × 5m), what is an acceptable PPI for print? As I understand it 300 ppi is the typical for 'small' artworks (esp. for clean text resolution). However, for small artworks, the audience usually engages at a much closer distance. Therefore, in the interests of keeping a bitmap file down to a reasonable size, can you get away with a much-reduced PPI for a large format/banner print?


I have a model following the PDF $$f_\theta(x) = \theta^2 x \exp(-\theta x)\delta_{[0, +\infty)}(x)$$ where $\theta > 0$ is the parameter and $\delta_\mathcal{S}$ denotes the indicator function of the set $\mathcal{S}$.  I am ask to prove that this model is regular, for which I have to prove that it is dominated. How should I do that?  Below is the definition of "dominated" that I found the the book Theory of Point Estimation by E.L. Lehmann and George Casella:     Statistical problems are concerned not with single probability   distributions but with families of such distributions $$\mathcal{P} = \{P_\theta, \theta\in\Omega\}$$ defined over a common measurable space   $(\mathcal{X}, \mathcal{A})$. When all the distributions of   $\mathcal{P}$ are absolutely continuous with respect to a common   measure $\mu$, as will usually be the case, the family $\mathcal{P}$   is said to be dominated (by $\mu$).      Most of the examples with which we shall deal belong to one or the   other of the following two cases.      (i) The discrete case. Here, $\mathcal{X}$ is a countable set,   $\mathcal{A}$ is the class of subsets of $\mathcal{X}$, and the   distributions of $\mathcal{P}$ are dominated by counting measure.      (ii) The absolutely continuous case. Here, $\mathcal{X}$ is a Borel   subset of a Euclidean space, $\mathcal{A}$ is the class of Borel   subsets of $\mathcal{X}$, and the distributions of $\mathcal{P}$ are   dominated by Lebesgue measure over $(\mathcal{X}, \mathcal{A})$.   Thank you in advance for any help!

In the book Limit Theorems of Probability Theory by Valentin V. Petrov, I saw a distinction between the definitions of a distribution being "continuous" and "absolutely continuous", which is stated as follows:  "...The distribution of the random variable $X$ is said to be continuous if $P\left(X \in B\right)=0$ for any finite or countable set $B$ of points of the real line. It is said to be absolutely continuous if $P\left(X \in B\right)=0$ for all Borel sets $B$ of Lebesgue measure zero..."  The concept I am familiar with is:  "If a random variable has a continuous Cumulative Distribution Function, then it is absolutely continuous."  My questions are: are the two descriptions about "absolute continuity" in (1) and (2) talking about the same thing? If yes, how can I translate one explanation into the other one?


If I'm not sure about the gender of Brown may I write:     Brown was merry and their cat was sad.   ... ? I met such a construction in "Harry Potter", but I don't know whether native speakers are happy with it.  In particular, is it ok to use they after we have actually used the name of a specific individual and it is clear that the case in point is a single person?

Is there a pronoun I can use as a gender-neutral pronoun when referring back to a singular noun phrase?  Each student should save his questions until the end. Each student should save her questions until the end.


Show that $(n-1)^2\vert n^k-1$ if and only if $n-1\vert k$, for naturals $n,k$.  I couldn't go much further, the only thing that i could conclude is that $n-1\vert n^k-1$, since it is true that $a-b\vert a^k-b^k$ for all natural $k$. Now i can't proceed from here.  Any hints on this question?

I need help!  I need to prove that for any $2 \le n,k$ positive integers $(n - 1)^2 \mid n^k -1$ if and only if $(n - 1) \mid k$  Thanks!


I'm trying to add a "previous question" button on a quiz I'm making. After the user answers the first question, I add in a <button class="prevquestion">, however, when I have the jquery event $(.prevquestion).onClick..., the code isn't triggered (using chrome javascript debugger) even when the prev class button is added.   I assume this is because jQuery only notices elements on the page when the page loads, so how should I go about allowing the prevquestion button to trigger an onClick event?  This is pseudocode so some syntax may be off, the button click is working for nextquestion, just not prevquestion.  Thanks!

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I thought that piping from echo was equivalent to here strings, but the REPLY variable of the read builtin command is only set (or in scope I guess) when using here strings:  echo foo | read;echo $REPLY    # prints empty line read <<<bar;echo $REPLY        # prints "bar"   As sh also only seems to keep read's return variables in scope when using a block such as while, I assume that this is specified by POSIX? What's the motivation for giving different behavior to here strings and how does the shell detect that something is different about the STDIN contents?

With ksh I'm using read as a convenient way to separate values: $ echo 1 2 3 4 5 | read a b dump $ echo $b $a  2 1 $  But it fails in Bash: $ echo 1 2 3 4 5 | read a b dump $ echo $b $a     $  I didn't find a reason in the man page why it fails, any idea?


I have a friend from a foreign country who for years has used "I've" in a way that sounds funny to me. He often writes sentences like "I've an exam tomorrow." Is he correct in this usage?  I have always used "I've" but only when speaking in the past. For example: "I've never seen someone like that." Basically, I don't use "have" as the lone verb in the sentence. Thanks!

I feel uncomfortable saying sentences like the following:    "I've a car" instead of "I have a car" "They've a great time" instead of "They have a great time" "He's a pen" instead of "He has a pen" etc   I ask this because I read this sort of thing in a book.  Are they correct? And what is the rule? Can you use such forms in a formal setting?


Bouncing droplets on a fluid surface show many weird behaviors of the quantum world. Look at this for example:    They can show tunneling, double-slit interference patterns, and even particle-antiparticle creation (when two solitary waves meet, according to the aforementioned reference). Some people take this as an approval of the pilot-wave interpretation.  What is the reason for this similarity of behavior between bouncing droplets and quantum particles? Is there any difference, where this analogy no longer works and droplets CANNOT mimic quantum particles? And, is this a hint that quantum behaviors might have a classical underlying reason, similar to what happens to the droplets?

Recent fluid-mechanical experiments by the groups of Couder in Paris and Bush at MIT, mimic a surprisingly wide range of quantum effects. The essential ingredient of these fluid-mechanical systems is a background or pilot-wave that guides the droplets.  Now, surprisingly, a simple analysis of a Bell-type experiment shows that, in the presence of a background field, one of the premises of the Bell inequality, namely measurement independence (MI), is violated. See the paper  (available ). Therefore such classical droplet experiments could violate a Bell inequality. More importantly, if this analysis is correct, background-based hidden-variable theories are admissible, even if they are local (in the sense of ‘involving only (sub)luminal interactions’) and even if they are compatible with free will.   My question: to me the analysis seems fully sound, but maybe there is still an unphysical hypothesis that slipped in ?


I'm trying to figure out with the most minimal part count how to convert an input of a digital IC to an edge-triggered input.  I am using the 82C55 IC and the input on it I want to make negative edge-triggered is the WR input. This is because I want to control both WR and the clock of an external latch (74HC574) with only one GPIO pin of a microcontroller.  I am able to pull this off by using a multivibrator (CD4538) and connecting the output of it to WR but the thing with that is I have to add a capacitor and resistor to create my own timing.  Is there a simpler way to convert a level-based input (where an output happens based on what level the input is at) to an edge-triggered input without introducing unnecessary long timings (which could happen with my multivibrator approach) and without using too many extra parts?

I am designing a hobby project that will run on a battery so I am trying to reduce power consumption. The SoC I am using has the ability to go into a deep sleep mode where it consumes very little power, and then can be interrupted by a falling edge on a pin.  I want to generate a high-low-high pulse when the state of a reed switch changes in either direction. I have been reading a lot and it seems that a one-shot monostable circuit can be built from a couple of transistors and an RC circuit to generate an output pulse when an edge is detected. I understand how that works. However, I can't figure out the best way to also pulse on the opposite edge.  One thought, was to just combine two one-shots that are configured to trigger on rising and falling edges respectively, and use the transistors at the output to pull the common pull-up low (kind of like a NOR gate).  Since I am a hobbyist, I am mostly using passive components. What is the "real" way of doing this in a low-power configuration using logic devices?  Edit: I figure I should mention something about the timing requirements. Normally the reed switch will be either open or closed for many seconds at minimum before changing states.  Edit: Here is an example of the circuit I was using for detecting only the falling edge:    And here is the ~20ms pulse it was producing for ~200ms button press simulating the reed switch (Channel 1 is Vbe for T1 and Channel 2 is measured at RST):


When Voldemort created Horcruxes, he divided the soul into it. Once he died only soul was present.  Then from where exactly his body came from? Peter Pettigrew used Harry's Blood but whose flesh he used to bring back Voldemort?

From a link from the question  to the HP Wikia, I started mulling over something I read about Voldemort and the "regeneration" potion (not a canon potion, but I'll use it for lack of a better way of describing it. . .) and would really like to know:  How did Voldemort drink the regeneration potion to turn his body into the grotesque childlike form we see in Goblet of Fire while he was still in a "mangled spectral state"?  Spectres (i.e. spirits or ghosts) are non-corporeal; they obviously can't consume food or drink liquids. So, how did Voldemort overcome this difficulty and manage to drink the regeneration potion?


Just like the title, is there a subsequence of $(\sin(n))_{n \in \mathbb{N}}$ that converge to 1 ? If it is, how to prove it? If it's possible, how to construct this subsequence? If it is not exist, how to prove it?

We know that the sine function takes it values between $[-1,1]$. So is the set $$A = \{ \sin{n} \ : \ n \in \mathbb{N}\}$$ dense in $[-1,1]$. Generally, for showing the set is dense, one proceeds, by finding out what is $\overline{A}$ of this given set. And if $\overline{A} = [-1,1]$, we are through with the proof, but i having trouble here!  Similarly can one do this with cosine function also, that is proving $B= \{ \cos{n} \ : \ n \in \mathbb{N}\}$ being dense in $[-1,1]$


After some research, I ended up with few methods. The most logical one is,  muyustan@muyustan-ubuntu:~/Downloads$ find . -name "*.srt"   But the output of this command also includes the files on subdirectories of the working directory , which I don't intend to do.  ./The.Walking.Dead.S10E11.Morning.Star.720p.AMZN.WEB-DL.DD+5.1.H.264.srt ./the.walking.dead.s10e12.web.h264-xlf.srt ./The.Walking.Dead.S10E11.1080p.WEB.H264-XLF.srt ./fs9s/Friends - [9x04] - The One with the Sharks.srt ./fs9s/Friends - [9x16] - The One with the Boob Job.srt ./fs9s/Friends - [9x17] - The One with the Memorial Service.srt ./fs9s/Friends - [9x03] - The One with the Pediatrician.srt ./fs9s/Friends - [9x02] - The One Where Emma Cries.srt ./fs9s/Friends - [9x21] - The One with the Fertility Test.srt ./fs9s/Friends - [9x01] - The One Where No One Proposes.srt ./fs9s/Friends - [9x18] - The One with the Lottery.srt ./fs9s/Friends - [9x12] - The One with Phoebe's Rats.srt ./fs9s/Friends - [9x11] - The One Where Rachel Goes Back to Work.srt ./fs9s/Friends - [9x15] - The One with the Mugging.srt ./fs9s/Friends - [9x09] - The One with Rachel's Phone Number.srt ./fs9s/Friends - [9x07] - The One with Ross's Inappropriate Song.srt ./fs9s/Friends - [9x05] - The One with Phoebe's Birthday Dinner.srt ./fs9s/Friends - [9x08] - The One with Rachel's Other Sister.srt ./fs9s/Friends - [9x14] - The One with the Blind Dates.srt ./fs9s/Friends - [9x13] - The One Where Monica Sings.srt ./fs9s/Friends - [9x19] - The One with Rachel's Dream.srt ./fs9s/Friends - [9x20] - The One with the Soap Opera Party.srt ./fs9s/Friends - [9x06] - The One with the Male Nanny.srt ./fs9s/Friends - [9x22] - The One With The Donor.srt ./fs9s/Friends - [9x10] - The One with Christmas in Tulsa.srt muyustan@muyustan-ubuntu:~/Downloads$    So, I would be thankful if anyone supplies me with a neat method to do this.

Using /bin/find /root -name '*.csv' returns:  /root/small_devices.csv /root/locating/located_201606291341.csv /root/locating/located_201606301411.csv /root/locating/g_cache.csv /root/locating/located_201606291747.csv /root/locating/located_201607031511.csv /root/locating/located_201606291746.csv /root/locating/located_201607031510.csv /root/locating/located_201606301412.csv /root/locating/located_201606301415.csv /root/locating/located_201607031512.csv   I don't actually want all the files under /root/locating/, so the expected output is simply /root/small_devices.csv.  Is there an efficient way of using `find' non-recursively?  I'm using CentOS if it matters.


We know the definition of ED only assume that the existence of an Euclidean function in which Euclidean algorithm works.   My question is: Could we request the Euclidean function is multiplicative in addition?

Does there exist an Euclidean domain with no multiplicative Euclidean function?     An Euclidean domain, denoted $R$, is an integral domain  with an Euclidean function $d : R\setminus \{0\} \to \mathbb{N}$ such that  $1)\quad d(a) \leq d(ab)$, and  $2)\quad a = bq + r$ with either $r = 0$ or $d(r) < d(b)$.   I am interested in multiplicative Euclidean functions. That is, $d(ab) = d(a)d(b)$.  For example, one can choose  $\mathbb{Z}$ with $d(n) = |n|, \quad \mathbb{Z}[i]$ with $d(\alpha) = N(\alpha), \quad F[X]$ with $d(f) = 2^{\deg(f)}$ for a field $F$,  or, kind of a stupid example, any field $F$ with $d(a) = 1$.  I am new here. Thank you in advance.


I am estimating the whether floods affect electoral outcomes and I am using a difference-in-difference estimator. I have run my probit model with reelected party as the dependent variable (1 if reelected, 0 if not) and I have my group variable (1 if flooded), time variable (before and after) and the treatment effect. When I run this regression everything is fine, however as soon as I try to add any other independent variable STATA says it omits it due to collinearity. I have quite a few dummy variables in my sample, for example when I try to interact large or small flood with the treatment effect it says there's collinearity but it also says this for other variables that are not dummy variable such as the total area flooded. How do I fix this? It happens everytime I try to interact anything with the treatment effect but I think I need to interact my other independent variables with it becuase, for example flood size only affects the treatment group. Pleae help!

I found a reference in an article that goes like:     According to Tabachnick & Fidell (1996) the independent variables with   a bivariate correlation more than .70 should not be included in   multiple regression analysis.   Problem: I used in a multiple regression design 3 variables correlated >.80, VIF's at about .2 - .3, Tolerance ~ 4- 5. I cannot exclude any of them (important predictors and outcome). When I regressed the outcome on the 2 predictors which correlated at .80, they remained both significant, each predicted important variances, and these same two variables have   the largest part and semipartial correlation coefficients amongst all 10 variables included (5 controls).   Question: Is my model valid despite high correlations? Any references greatly welcomed!    Thank you for the answers!  I did not use Tabachnick and Fidell as a guideline, I found this reference in an article dealing with high collinearity amongst predictors.   So, basically, I have too few cases for the number of predictors in the model (many categorical, dummy coded control variables- age, tenure, gender, etc) - 13 variables for 72 cases. The Condition Index is ~ 29 with all the controls in and ~23 without them (5 variables).   I cannot drop any variable or use factorial analysis to combine them because theoretically they have sense on their own. It is too late to get more data. Since I am conducting the analysis in SPSS perhaps it would be best to find a syntax for ridge regression (although I haven't done this before and interpreting the results would be new to me).   If it matters, when I conducted stepwise regression, the same 2 highly correlated variables remained the single significant predictors of the outcome.  And I still do not understand if the partial correlations which are high for each of these variables matter as an explanation for why I have kept them in the model (in case ridge regression can't be performed).   Would you say the "Regression diagnostic: identifying influential data and sources of collinearity / David A. Belsley, Edwin Kuh and Roy E. Welsch, 1980" would be helpful in understanding multicollinearity? Or might other references be useful?


I use biblatex with IEEE-style. For \cite{key1, key2} I now get      [1], [2]   How can I override this (so that only this behaviour changes) to get as output      [1,2]   EDIT: The nicest solution (in my opinion) is mentioned in the link posted by Joseph (using citestyle):  Change (in case of class):  \RequirePackage[(...),style=ieee]{biblatex}    to:  \RequirePackage[(...),style=ieee,citestyle=numeric-comp]{biblatex}

I'm using the ieee style for biblatex and when inserting citations I want     [1,2,6-10]   Right now I'm getting     [1],[2],[6-10].   How can I change this?


Below is my code:  class Demo{ public static void main(String[] args) {     Integer i = new Integer(12);      System.out.println(i);      modify(i);      System.out.println(i);  } private static void modify(Integer i) {      i= i + 1;     System.out.println(i); }   }  The OUTPUT of the above CODE is  12 12 but as  I know, we are passing the wrapper object "i", it means it should be "Call by reference",Then the value should change to 13.but its 12. Any one has proper explanation for this?

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


I was editing grammar on a number of old posts when suddenly the edit button began to be grayed out. When I hover over the edit button it gives the message "Account has the maximum amount of pending edit suggestions." I have never gotten this message before... so my question is, What is the maximum number of pending edits allowed?

We need a hard rate limit on suggested edits, to limit the damage someone can do with blasting the review queue with minor edit suggestions.  Case in point:  peppered the site with a whopping 133 tag-only edit suggestions in 2 hours and 15 minutes. That's one edit every minute on average, but towards the end he was entering a new suggestion every 20 seconds. He only stopped because a  drew enough rejections to have him banned from entering more.  If there was a limit to the number of suggested edits you can enter in a time period we could have stopped this guy earlier. No <2k user needs to edit hundreds of tags across that many questions in 2 hours time.  Considerations   There are cases where a retag drive or tag burninate justifies editing a larger number of posts, but I'd be fine if such tasks were limited to people with 2k+ reputation. A retag or burninate job requires a minimal engagement with the community to know when they are justified anyway. The suggested edit review process, by itself, was clearly not enough to stop this barrage. It cannot be seen as a rate limiting measure, at least not as a sufficiently efficient one.  The vast majority of the edits made in the above example were too minor, leaving spelling, grammar and formatting mistakes in the post untouched. The user was going too fast to pay attention to such details anyway. Yet this user has 98 approved edit suggestions, but all but 6 or 7 I'd have rejected as too minor, so the review process itself is broken.   What should be limited   The number of review votes reviewers have is already limited; I burned through 20 reviews in short order just reviewing the suggestions from just this one user. Certainly the number of unreviewed suggestions should be limited to let reviewers catch up with a user like this. I'd say having 20 outstanding suggested edits pending review is plenty. Suggested edits should be made with some consideration; we don't want minor edits, so if you are suggesting more than 20 in an hour (that's 1 every 3 minutes) you are not improving posts anymore, you are gaming the system to gain reputation.


The title says it all. But to further describe my scenario. I've created a poly that has the right side of a human. Now that the right side of the face, arms, legs, feet, etc are all the same size and shape, I'd like to "apply" the mirror such that the left side keeps the point in time shape from when I apply the mirror - but I can then move the left side around independently of the right (and vice versa). Am I doing this wrong? I'm new, so pointing to documentation that I've missed could help me. I found this, but unfortunately, it looks like the UI of Blender has been updated in 2.8 to not have the "Apply" button in the same place:  So far I've read these documentation articles, but they don't describe this functionality:

Why I can't apply mirror modifier? Here's screen


Why do adjectives and some nouns in English not have gender? Is there a history beyond that?  Don't this cause some ambiguity in the language itself?

English nouns — other than those with natural gender, e.g. people or animals — do not generally have , and so are referred to as 'it' rather than 'he' or 'she'.  However, modern English has its roots in  and , both of which used grammatical gender for their nouns. In addition, other modern languages related to these continue to use grammatical gender today.  So, how come English doesn't?


This is my structure and I want to know the allocated size of my struct object.  struct toCheckSize {     int a;     char b; };  struct toCheckSize v,w,z;   So what's the size of the allocated memory to v,w,z?  As per the compiler, it says the size of v,w,z is 8.

Why does the sizeof operator return a size larger for a structure than the total sizes of the structure's members?


given the 2 PDE  $$ \Delta u-au_{tt}+u_{t}=0$$  and $$ \Delta u + Du*Df=0 $$  here $ \Delta u $ is the Laplacian $ Du= grau$ and * means scalar product $u_{t} = \frac{\partial u}{\partial t}$  my doubt is what term should i include to get the linear part of the equations $ u_{t} $ and $Du*Df $ from the Euler Lagrange equations in $ R^{n} $ thanks

given the 2 PDE  $$ \Delta u-au_{tt}+u_{t}=0$$  and $$ \Delta u + Du*Df=0 $$  here $ \Delta u $ is the Laplacian $ Du= grad(u) $ is the gradient and * means scalar product $u_{t} = \frac{\partial u}{\partial t}$  my doubt is what term should i include to get the linear part of the equations $ u_{t} $ and $Du*Df $ from the Euler Lagrange equations in $ R^{n} $ thanks


Is it possible to add a colour code on a print statement so that I can output coloured text? Is there anything in the standard Python libraries that lets me do something like:  print "Hello, world!", #f3f3f3

How can I output colored text to the terminal in Python?


I found the following sentences as some of the sentences that confuse a lot of ELL, and I, as a part of them, would like to understand them correctly.      "He didn't do nothing."   Means that he did something (minus+minus=plus). Correct?  Vs.      "He did nothing".   Means that he didn't do something. This a correct sentence?      "He didn't do something at all."   Simply understood that it is the same as saying "he did 0".   Vs.      "He didn't do anything."   Here I have another big confusion. Once I've been told that it means that the man didn't do anything in world but something he did. But in other time I was told that the meaning is as the same as He didn't do something at all. This sentence can be said when someone suspected but we say about him that "He didn't do anything." or alternatively when complaining about someone that he didn't work at all.

Usually when I want to deny something I will say I didn't do anything  However, lately I watched some movies in which the people sometimes said  I didn't do nothing    They use no instead of any, like I don't have no problem. I think this sounds cool.  Can I use it in my daily chatting?


JavaScript   async connectedCallback() {     this.isLoaded=true;     await this.ScrollToTop();     let result = await getLocationwithKeys({});     this.LocationAllData =await this.filterCountData(result);     console.log('this.LocationAllData....' + JSON.stringify(this.LocationAllData));     this.isLoaded=false; }  async filterCountData(result) {     for (let i = 0; i < result.length; i++) {         let count = 0;         if (result[i].VFD_Datas__r)             count = count + result[i].VFD_Datas__r.length;         if (result[i].Existing_Keys__r)             count = count + result[i].Existing_Keys__r.length;         if (result[i].Refrigeration_Data_Tables__r)             count = count + result[i].Refrigeration_Data_Tables__r.length;         if (result[i].Add_Sensors_Data__r)         count = count + result[i].Add_Sensors_Data__r.length;         result[i].count = count;         if(count>0){             result[i].showrecordy =true;         }     }     return result; }   error is coming on count and showrecordy as i am adding into array how can i resolve it.

Am not doing anything fancy, just trying to update a field on Contact in JS of LWC but getting this exception.  Uncaught TypeError: 'set' on proxy: trap returned falsish for property 'Name' throws at mydomain/auraFW/javascript/mhontaYdOya4Y_lBu7v9yg/aura_prod.js:2:27687  HTML Code:   <template>      <template if:true={wiredContact}>          {wiredContact.Name}          <lightning-input value={wiredContact.Name} onchange={updateName}></lightning-input>     </template>  </template>   JS:   import { LightningElement ,wire,track,api } from 'lwc'; import myContact from "@salesforce/apex/ContactController.fetchContact";  export default class Myrefreshapextest extends LightningElement {    @track wiredContact;   @wire (myContact)         fetchedContact({error, data}){             if(data){                 console.log(JSON.stringify(data));                 this.wiredContact = data;             }else if (error){                 console.log(error);             }     }      updateName (event){         console.log(JSON.stringify(event.detail.value));         console.log(JSON.stringify(this.wiredContact));         this.wiredContact.Name = event.detail.value;     }  }   Apex:  public class ContactController {      @AuraEnabled(cacheable=true)     public static Contact fetchContact(){         return [SELECT Id,Name FROM COntact LIMIT  1];     } }   On top of my head, am not doing anything wrong, anyone has idea what's wrong with my code?  When I print console.log(JSON.stringify(this.wiredContact)); I get old values so am pretty sure it exists.  I tried with @track and @api, but same response. Can anyone shed some light?


Let $T,N:V\to V$ such that $N$ is a normal operator and $TN=NT$.   Prove that $T^*N=NT^*$ and $N^*T=TN^*$.   I'd be glad for help because I don't even have an idea how to approach this

Let $A$ is a normal matrix: $A^*\! A = A A^*\!\!$,$\,$ and $AB = BA$. Prove that $A^*\!B=BA^*\!\!$.  I can prove that if $\det A\ne 0$ by multiplication $AB=BA$ by $A^*$ left and right and using some manipulation. But I have no idea what to do if $\det A = 0$.


Represent the following as a product: $1 + 2\cos\alpha$ Please help if someone can solve this?

I was working on a problem that involved turning $1+2\cos(a)$ into a product of two or more expressions. I tried using every possible trigonometric identity to solve it, but I ended up nowhere. Is there a way to solve this?


I have 2 arrays   array:2 [▼          0 => "folder1/first"          1 => "folder2/second" ]  array:2 [▼          0 => "scheme.pdf"          1 => "example.pdf" ]   I have to merge these arrays, so I get 1 array with such construction:  array:2 [▼          "folder1/first" => "scheme.pdf"          "folder2/second" => "example.pdf" ]   I assume, that I have to use these commands array_map, array_merge_recursive As I understood, second command is functional only with non-numeric keys. Then, all numeric keys in both arrays have to be converted to strings.  Can someone tell me or even show a part of code how can I merge these two arrays according to my needs.  The example is simple, but I never did this one before. I did search for the answer, but all of them were too complicated to understand.

I've got two arrays of the same size.  I'd like to merge the two so the values of one are the key indexes of the new array, and the values of the new array are the values of the other.  Right now I'm just looping through the arrays and creating the new array manually, but I have a feeling there is a much more elegant way to go about this.  I don't see any array functions for this purpose, but maybe I missed something?  Is there a simple way to this along these lines?  $mapped_array = mapkeys($array_with_keys, $array_with_values);


I already know how to expand the distance with a normal camera view. But how do I expand it, with the work camera? Or whatever it's called.

I have created a simple model here   When rendering it the end of it is cut off   How can I get the camera to render a longer distance?


Last week plumber installed new vanity faucet, supply lines in small hall bath.  Now the shower in that bathroom and the one in master bath do not have water until the sink is turned on...when sink is turned off the showers go off and there is no hot water...HELP!!

We observed a really weird behavior this morning.   While showering, if any sink faucet is turned on anywhere in the house, the shower continues without any problem. However, when that sink is turned off, water flow in the shower drops by over 90% to a trickle. Turning off the shower and back on restores water flow to normal.   We've never had this problem with the shower before. (The shower plumbing was all completely replaced 6 months ago as a part of a remodel)  Is there any explanation for this?


EDIT: This is not a duplicate of . I have followed those instructions to update grub, and the problem persists.  I'm having no luck getting HDMI audio to work. I've searched around and read many many suggestions on how to fix this issue, but none have solved the problem.   Running Ubuntu 13.10 AMD Radeon Richland integrated APU Onboard audio works fine HDMI audio doesn't make a peep   Details:  $ lspci -nn | grep VGA  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Richland [1002:999c]  $ aplay -l  **** List of PLAYBACK Hardware Devices **** card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]   Subdevices: 0/1   Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]   Subdevices: 1/1   Subdevice #0: subdevice #0`  $ cat /proc/asound/version  Advanced Linux Sound Architecture Driver Version k3.11.0-15-generic  $ sudo lshw -c video   *-display                       description: VGA compatible controller        product: Richland        vendor: Advanced Micro Devices, Inc. [AMD/ATI]        physical id: 1        bus info: pci@0000:00:01.0        version: 00        width: 32 bits        clock: 33MHz        capabilities: pm pciexpress msi vga_controller bus_master cap_list rom        configuration: driver=fglrx_pci latency=0        resources: irq:53 memory:c0000000-cfffffff ioport:f000(size=256) memory:ff700000-ff73ffff   Things I've already tried:   Ensure HDMI is unmuted in alsamixer Update alsa to latest daily build. Running oem-audio-hda-daily-dkms - 0.201402110705~ubuntu13.10.1 Update video driver from radeon to fglrx (catalyst 13.12). Initially HDMI audio was not listed among outputs under Sound Settings (although it was shown in aplay -l), but after installing fglrx driver, now HDMI audio is listed in Sound Settings. Checked volume and settings in PulseAudio Volume Control - set HDMI audio to be the fallback output.   I'm at a loss what to try next.  Maybe the most telling error related to this is the one from speaker-test:  $ speaker-test -c2 -D hw:0,3 -r48000  speaker-test 1.0.27.1  Playback device is hw:0,3 Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384 Period size range from 32 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384  0 - Front Left Write error: -5,Input/output error xrun_recovery failed: -5,Input/output error Transfer failed: Input/output error   Any help is greatly appreciated!  Thanks

My PC has a build-in VT1828S chip. The connection between PC and monitor (which has built-in speakers) is through an HDMI cable.  Audio preferences shows 2 devices for audio output: analog stereo and RS880 Audio Device [Radeon HD 4200] digital stereo (HDMI).  When I plug a headphone in the rear jack and I choose the former device, everything works. When I choose the latter device, instead, no sound is heard, and video playback is too fast. It is as if video frames want to synchronise with the audio timing, but the audio timing information is wrong.  HDMI audio worked perfectly with Ubuntu 11.04, but stopped after 11.10 upgrade.


From point 2 I have marked , If the 4 persons are sitting in a round table, then they can be shifted four times. You can see by looking at figure a,b,c and d. Now , I understand that by making ABCD sit in a row and changing their positions . It looks like their arrangements are different . Like CDAB , BCDA but also they have written only 4 orders for this. In real , isn’t it that there will be total 4! Arrangements for it and not 4. Also , from the round table perspective. If you keeping Changing the angle you’re looking at the ABCD. You can see different arrangements but they are also same right. So their total arrangements should be equal to 1. I didn’t understand for 2 , No of linear arrangements is n? I think it should be n!. Also , how did we get 1/n in 4 and n! For 3.

Well if one looks at the formula of circular permutations $Pc = (n-1)!$  But as we come to that formula, I need a concrete example and an explanation.  Another thing, I have seen that when working with a bracelet, the formula changes. A concrete example please along with an explanation  Finally how the formula is worked when there are repeated elements that are permuted.  Thank you


-Ive cut out the main code as it seems unnecessary, the issue seems with this, The code runs once then even if i type 'yes' as an answer to the scanner, the loop stops. It only loops once.   String bool = "yes";     while (bool == "yes") {         int e1 = whichExam();         printinfo(pp, csn, isa, fwt, lds, afl, oop, e1);         Scanner scanner = new Scanner(System.in);         System.out.println("Do you want to check another exam ('yes' or 'no')?");         bool = scanner.nextLine();     }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I am fairly new to linux and trying to learn the terminal commands.  I want to see the list of users who logged in since last 5 minutes.  I searched the internet but almost every place solution uses a shell-script. But I want to see this using just a command.  I tried  last -t -5min   Is it right? I cannot know for sure since I am the only user on my system.

I am trying to display the user name of the accounts that have logged in during the past month using the last command.  At the moment I have this  last | awk '{print $1, $4 ,$5 ,$6}' | grep -B 10 Jul | sort -u -t' ' -k1,1   As the users who have logged in most recently are displayed higher in the list, I am trying to grep for the month, then display that line and the lines above it and delete duplicate usernames. But it doesn't seem to be working. Any ideas?


I have no idea how to solve the following task:  Prove or disprove that:  If $ (a_n)_{n \in \mathbb{N}} $ converges and $ \pi : \mathbb{N} \mapsto \mathbb{N} $ is a bijective function, then $$ lim_{n \to \infty} a_n = lim_{n \to \infty} a_{\pi(n)}. $$  Since this is my homework, I'm not asking for a solution. Could you just give me some hints how to solve this? I think I should use the properties of a bijective function here, but I have no idea, how... Any help would be appreciated!   Regards, Lena

Is it true that every real sequence that converges to zero has the property that every rearrangement of it also converges to zero?  I have a proof in mind, but I'm not 100% sure it's correct (although I'm pretty sure), so I just want a yes/no answer.


There is one Stack Exchange site, , where every question on any Unix-like operating system, including Linux, is welcome. So why a separate site, ?  Ubuntu is based on Linux and the questions there are on topic on Unix & Linux. Also there is another . But Android is also a Linux as well. So why these three sites? Questions on Ask Ubuntu and Android Enthusiasts are perfectly on topic for Unix & Linux. Shouldn't they be merged with the Unix & Linux Stack Exchange site?

A question about Linux could belong on these sites on the StackExchange network:   unix.stackexchange.com superuser.com, if it is about using software rather than programming AskUbuntu.com, if it is about Ubuntu serverfault.com, if it is about professional infrastructure maintenance stackoverflow.com, if it is about   a tool mainly used for programming OR shell scripting    So technically, a question about simple shell scripting to create a firewall on Ubuntu could belong on any of those 5 sites.  This is likely to lead to many questions being asked on multiple sites, and scattering of questions amongst these sites, making it harder to find questions that already exist when searching one of those sites.  What can/should we do about this?  In particular, should we comment on questions that seem to be unlikely to be answered, to suggest that they should be deleted by the asker and reposted on what we think is "the most appropriate site"? Should we flag them for migration? Should we allow questions to appear on multiple sites (a perennial proposal)?


Can somebody give mi idea, how to solve this integral?  $$\int_{0}^{\pi/4} \frac{\sin x}{\sin x + \cos x} \, dx$$

I'm having trouble computing the integral: $$\int \frac{\sin(x)}{\sin(x)+\cos(x)}\mathrm dx.$$ I hope that it can be expressed in terms of elementary functions. I've tried simple substitutions such as $u=\sin(x)$ and $u=\cos(x)$, but it was not very effective.  Any suggestions are welcome. Thanks.


Since upgrading to 12.04 from 8.04->10.04 I can no longer upgrade or install new packages.  I do get a large number of errors, but the first is the resyslog:   root@sub:~# apt-get -f install  Reading package lists... Done  Building dependency tree  Reading state information... Done  0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.  9 not fully installed or removed.  After this operation, 0 B of additional disk space will be used.  Setting up rsyslog (5.8.6-1ubuntu8.6) ...  dpkg: error processing rsyslog (--configure):   subprocess installed post-installation script returned error exit status 10  dpkg: dependency problems prevent configuration of ubuntu-minimal:   ubuntu-minimal depends on rsyslog; however:  Package rsyslog is not configured yet.   So I try to reinstalling everything:  apt-get install --reinstall dpkg   This throws up:  Processing triggers for man-db ... Setting up dpkg (1.16.1.2ubuntu7.5) ... Setting up rsyslog (5.8.6-1ubuntu8.6) ... dpkg: error processing rsyslog (--configure):  subprocess installed post-installation script returned error exit status 10 No apport report written because MaxReports is reached dpkg: dependency     problems prevent configuration of ubuntu-minimal:  ubuntu-minimal depends on rsyslog; however: Package rsyslog is not configured yet.   So I believe if I can fix the rsyslog we'll be getting somewhere :/

While attempting to upgrade (sudo apt-get upgrade) Ubuntu 12.04, I had a pair of packages that would throw the following apt-get install errors for the dbus dependency:  dpkg: error processing dbus (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of accountsservice:  accountsservice depends on dbus; however:   Package dbus is not configured yet. dpkg: error processing accountsservice (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                Errors were encountered while processing:  dbus  accountsservice E: Sub-process /usr/bin/dpkg returned an error code (1)


I use ubuntu 16.04 LTS and have 2 GB RAM and 320 GB hard disk space in which the allocated space for OS usage is 100 GB and swap space  and other for partitions. recently after updates while doing multitasking my screen freezes and I have to manually reboot my system from the start. any suggestions?  terminal output:  $ free -h                total        used       free      shared  buff/cache   available Mem:           1.8G        977M        157M        201M        746M        467M Swap:            0B          0B          0B   swapon  $ swapon   df:  $ df Filesystem     1K-blocks     Used Available Use% Mounted on udev              942524        0    942524   0% /dev tmpfs             192584     6120    186464   4% /run /dev/sda6      103936232 10980932  87652568  12% / tmpfs             962904    18980    943924   2% /dev/shm tmpfs               5120        4      5116   1% /run/lock tmpfs             962904        0    962904   0% /sys/fs/cgroup cgmfs                100        0       100   0% /run/cgmanager/fs tmpfs             192584       56    192528   1% /run/user/1000     blkid:  :~$ sudo blkid /dev/sda1: UUID="7C7E5116262411BD" TYPE="ntfs" PARTUUID="01468a4c-01" /dev/sda5: UUID="eed0dfa4-6e24-47fe-84bc-c598b144b116" TYPE="swap"  PARTUUID="01468a4c-05" /dev/sda6: UUID="14a87b2f-9da8-487c-a6f5-03ddcea8bb25" TYPE="ext4"  PARTUUID="01468a4c-06"   cat /etc/fstab:  ~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name  devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point>   <type>  <options>       <dump>  <pass> # / was on /dev/sda6 during installation UUID=14a87b2f-9da8-487c-a6f5-03ddcea8bb25 /               ext4     errors=remount-ro 0       1 # swap was on /dev/sda5 during installation UUID=4acee253-61f3-4f36-857e-9cb045346e7b none            swap    sw               0       0   after doing the mentioned step 2  step 2:  $ swapon -a $ swapon NAME      TYPE      SIZE  USED PRIO /dev/sda5 partition   2G 67.6M   -1 ~$ free -h      total        used        free      shared  buff/cache   available Mem: 1.8G        1.1G        297M        159M        468M      367M Swap:1.9G         67M        1.9G

All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when...   just one program stops responding? nothing at all responds to mouse clicks or key presses? the mouse stops moving entirely? I have an    In what order should I try various solutions before deciding to pull the power plug?  What should I do when starting up Ubuntu fails?  Is there a diagnostic procedure I can follow?


I just have a simple glass shader and that is it, is there anything i need to add so that light penetrates it? I'm using HDRI lighting and I have a sun lamp pointing directly at the glass.

My model has a clear plastic (or glass) dome with objects inside.  The objects appear dark.  I've tried the glass shader with color 100% RGB, with very small IOR, and using just a refraction shader.    I know Cycles has problems with caustics, but I just want broad illumination to fall clean through the glass.  The light-to-column path can ignore refraction, but is blocked or tremendously attenuated. The camera-column path needs refraction, and seems to work fine anyway.  This demo image offers all optical paths of interest:   light upon object, seen directly light upon object, seen through glass (looks okay) light through glass onto object, seen directly. This is the shadow on the lit side of the column just below the glass tubing.  I expect full illumination, but there is shadow.  There is some light, but it's diffuse light from the floor. light through glass onto object, seen through glass. This     I did at one point try non-progressive rendering, and find extremely coarse light where there shouldn't be shadow, but this is not a practical way to make nice images. I've even tried cranking up certain sampling settings to many thousands, but still get bad noise though less, at the cost of long render times. I  would like to finish my creations sometime before "Star Trek, the Generation After the Next" becomes real life, if you know what I mean.  The next image is an example. I think Transmission in Sampling was 5000, but not sure.    I'm using Cycles in Blender 2.67 on a quad core Linux machine, 16GB RAM. Machine limits have never been a problem for 3D rendering.  Possibly, I screwed up some setting when I made my startup file, and just need to fix it. OTOH maybe this is just a limitation of path tracing, or of the way Cycles does it. If that's the case, what to real-world Blender artists do when they need to produce images on a budget and schedule?  What is the practical real-world fix?


I'm developing a tool that looks at a person's resume and skill set. One of the features is to estimate how much experience a person has based on the length of time on a project and associated skills/tools used in that time (we've had extensive talks about the limitations of this, but that's not really relevant to this question). At the end of the day, I'd like to be able to say "Bob has 4 years experience with C#," but the correct way to show that is unclear to me:    Bob has 4 years experience with C# Bob has 4 year's experience with C# Bob has 4 years' experience with C#    I'm writing documentation and the phrase "number of years experience" has shown up a few times, but I think that's the same situation as above (Word grammar checker does not like this phrase).

I’ve always understood that the phrase two weeks usually turns into two weeks’ when used as a modifier as in   I’m giving my two weeks’ notice.  I get two weeks’ vacation. (“two weeks’ holiday” for Brits)   with an apostrophe on the word weeks’, indicating that the vacation “belongs” to the weeks.   One way to explain this is the phrase “two weeks of vacation” being contracted to “two weeks’ vacation” – the vacation is “of” the weeks; that is, it is possessed by them.  But I’ve seen a lot of people omit the apostrophe in casual writing, and thinking about it, it seems plausible that the noun vacation would be plainly modified by the adjectival phrase two weeks.  But on the other hand, shouldn’t adjectival phrases be hypenated, namely two-weeks vacation?  Yet that seems wrong, too: the hyphenate should be singular, two-week vacation (like two-tone shoes) because .   touches on this (and references a good ) but doesn’t explain why the plural must be possessive in this case.   suggests that two weeks might be adverbial rather than adjectival, and thus resists being used attributively. But that still doesn’t quite explain this particular muddle of pluralization, possession, and attribution.  Given all this, why should “two weeks vacation” be written “two weeks’ vacation” with a possessive apostrophe?


Today with the installation of handbrake I found out this method is not very reliable (command line was "ghb" noway I could have guessed that) is there a way for me to find out program launcher command lines the easy way without first doing a google search or guessing.  Second question: Is there any way for me to hardsub/"burned in" subs from. mkv files in handbrake ( .srt )  to .mp4 (suitable for youtube ) or a simmmilar application that would do ( tried MKVGUI/Extractor )

I want to use some applications shown on the Unity Launcher in a terminal, but I need to know the appropriate command to run them. How can I achieve that?


Let $$m = 2 \cdot 3 \cdot\cdots\cdot p_n$$ be the product of the fist $n$ primes. How can we prove that $m+1$ is not a perfect square ? My attempt was maybe to proof by contradiction that for example: $m+1=x^2$ $m=x^2-1$ $m=(x+1)(x-1)$ But then I got stuck, how to continue ?

how to prove $\forall n$  : $p_1p_2...p_n +1$ isn't the perfect square. $p_i$ is $i$th prime number.


From what I understand, this is how to prove that modus ponens is a valid argument: An argument form is valid iff its corresponding conditional is a Tautology [(P→Q)∧P]→Q is a Tautology ∴ modus ponens is a valid argument form But how do we know that the above argument is valid? It seems to me that modus ponens is valid because modus ponens itself is valid.

Out of curiosity I wanted to translate modus ponens into a logical statement and condense/solve it in some way, and I ended up getting True:  $p \land (p \rightarrow q) \rightarrow q$  $=p \land (\lnot p \lor q) \rightarrow q$  $=\lnot(p \land (\lnot p \lor q)) \lor q$  $=\lnot((p \land \lnot p) \lor (p \land q)) \lor q$  $=\lnot(\text{False} \lor (p \land q)) \lor q$  $=\lnot(p \land q) \lor q$  $=\lnot p \lor \lnot q \lor q$  $=\lnot p \lor \text{True}$  $=\text{True}$  I'm not really sure what to make of this. Is modus ponens a tautology? How is it useful in practice if it's not really saying anything?


Let $f(x)=x^4+ax^3+3x^2+bx+1$, where $a,b \in \mathbb{R}$. If $f(x) \ge 0$ for all $x \in \mathbb{R}$, what is the maximum possible value of $a^2+b^2$?  I don't know how to proceed. Hints or help will be appreciated.

If $x^4+ax^3+3x^2+bx+1 \ge 0$ for all real $x$ where $a,b \in R$. Find the maximum value of $(a^2+b^2)$.                                                                        I tried setting up inequalities in $a$ and $b$ but in the end had a hideous two variable expression whose maxima I had to calculate using Partial Derivatives. There must be a better way of doing it. Thanks!


I'm often faced with exporting data as  CSV. The nature of the outpu is comparable of the PIvotTable feature in excel.   There are sample code to produce simple Pivot in C#. But as you have 2 or more column then things get pretty complicated. I can imagine someone would suggest to use Reporting service or other BI tools but these are no options for our small team.  Could it be that someone had an idea of how to produce pivot outpu of more then 2 columns and one segregated row?  Thanks  B


'Six generals propose locking a safe containing top secret information with a number of different locks. Each general will be given keys to certain of these locks. How many locks are required and how many keys must each general have so that, unless at least four generals are present, the safe cannot be opened?'  I suspect this question is more complicated than my interpretation of the language. To me the answer seems to be that if each general is given n keys, there must be 3n+1 locks. This is because in the 'worst-case' scenario where each has n distinct keys, 3 generals can open 3n locks. Perhaps this is a gross simplification, but if anyone cares to comment that would be a great help!

6 generals propose locking a safe containing secret stuff with a number of different locks. Each general will get a certain set of keys to these locks. How many locks are required and how many keys must each general have so that, unless 4 generals are present, the safe can't be opened. Generalize to $n$ generals and $m$ minimum number of generals required.   Here's where I've gotten to so far. Define a function $$f(n,m)=k$$  where $n$ and $m$ are as defined above and $k$ is the number of locks required. I've figured out $f(1,1)$, $f(2,1)$, $f(2,2)$ and so on until $f(4,4)$. I've noticed that if I arrange these values in a Pascal-like triangle, I can get the values in the lower row by summing the 2 numbers above it (I can't figure out how to display it using LaTeX). Doing this, I get the number of locks required as $24$ but I'm still working on the key distribution.  My question is whether I'm on the right track, and if so, how do I go about proving my solution. Thanks for your help.  [EDIT] To make it clear, the arrangement must be such that the safe can be opened when any $4$ generals are present and not if the number of generals is $3$ or less.


When we have a sentence like      I can identify with a company's products   Does the plural form of the "a" depend on the "company's" or on the "products"? The latter would mean that it had to be a "the" instead but I am simply unsure what word to refer to here.  Bonus points if anyone could recommend me accurate terms to describe this problem because I simply didn't know what to search for

I'm quite sure that I can say the Onegin's score meaning the opera “Eugene Onegin”. However, i feel that it's wrong to say the Onegin's leg meaning the character Eugene Onegin and that the correct form is Onegin's leg. Do I understand correct? Does that mean, that we can use the + possessive only if we talk about inanimated concepts?


i got several tables/figures and sections like this:  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{...}\label{sec:...} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  \begin{table}[H]     \renewcommand{\tabcolsep}{3mm}     \renewcommand{\arraystretch}{1.5}     \begin{center}         \begin{tabular}{ll}             ...         \end{tabular}         \caption{...}         \label{...}     \end{center} \end{table}   After e.g. this definition I got a complete blank page within my PDF. I think it is something about the [H] parameter but i am not able to fix it, because without [H] the table does not appear below the section headline.  Any ideas how to fix this?

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?


Classes that use other classes (as members, or as arguments to methods) need instances that behave properly for unit test. If you have these classes available and they introduce no additional dependencies, isn't it better to use the real thing instead of a mock?

I have a basic understanding of mock and fake objects, but I'm not sure I have a feeling about when/where to use mocking - especially as it would apply to this scenario .