I would love to use this font, it really looks great but I have no idea which one it is. Could someone guess which font is used to write this  ? Any help is precious for me.

Is it possible to identify the font used in a specific document/picture?  Answers to this question should identify:   Possible methods to do this (perhaps one answer per method) and adequately describe how to use it (as opposed to merely stating it); Ways of finding the identified fonts, if possible (free or not); and Any prerequisites associated with the method used, if required (for example, "In order to use method X, your document has to be in format Y").   This question is meant as an FAQ, based on an . Its aim is to facilitate the community with the general procedures involved in font identification. Similar cases are solved on a per-usage basis on 's  tag.


This isn't to change to the current rejection process or review queue in any way.      There was recently a  on one of my answers.  It was correct to reject from the reviewer's point of view, because variable names in code were changed, however, the edit would have been beneficial to the post in this case, and I would have liked the suggested edit to have been accepted.  I edited my answer and manually added the rejected suggested changes myself. On this occasion it was a small edit, but this would be quite time consuming if it was a more substantial edit.    It would be useful if we had a feature where a user can approve/improve an edit on their own question or answer which was previously rejected by community review.  Ideally, there would also be the option to Edit & Approve so we can change any bits if necessary.    Perhaps (for example) an option in the Suggested Edits history where only the OP, and maybe moderators, can select to approve or improve a rejected edit.   OPs can currently approve suggested edits, overruling the review queue, so this would just be an extension of that - being able to approve after 3 users have rejected.

A nice user suggested  to . The edit, though very good and desirable, was rejected. I do not understand the reasons, and I did not find a way to contact those people who rejected it. What can I do to re-approve the edit?


This works:  $ touch abcdefg $ mv -v abcdefg abc[de]fg ‘abcdefg’ -> ‘abc[de]fg’   But this doesn't work:  $ touch abcdefg $ mv -v abcdefg abc[d]efg mv: ‘abcdefg’ and ‘abcdefg’ are the same file   Why?


How do I write x like this (left-hand side of the equation)?  As you see it must be a notation for a vector in linear algebra. Is this notation commonly used? Or it's author's preference to use this notation?

To make Latin-letter variables bold I can use e.g. \mathbf{a}, but while putting Greek letters or symbols such as \nabla inside \mathbf doesn't cause any errors or warnings, it also doesn't do anything else.  What is the best way to make bold math symbols, in particular Greek letters and \nabla?


I want to know one thing about a fused disconnect. If it's fused for a certain amount of current, would you be ok with not adding additional fuses to protect your loads?   If you have a 30 A fused disconnect and you have 2-5 hp motors and 1-3 hp motor it sounds to me like you might need to add fuses to protect each motor?   I know that for my application since my hp total is less then the 20 hp max that you can have for that disconnect at 480 V. I'm not in any trouble of tripping that breaker.   But would the motors need fusing still?

so i have a 30A disconnect available for use at a customer site for running 2 5HP motors ( at 480V)  the only question i have though is if the line is sized for a 10HP motor would both the 5HP motors need additional fuse protection?   Or could i get away without having addtional fuses protecting the motors ?


I've noticed that users (including myself a time or two) tend to focus on solving problems within the OP's code rather than answering the original question. This know can lead to confusing results when searching for answers since the chosen answer often solves the OP's problem yet doesnt  answer the actual question. Although this can be great help to the OP, it doesn't provide an archived answer as a Q/A is meant. I think promoting suggestions within the comments area would help guide this assistance away from the answers section.  For example, say an OP noticed that a UPD service was dropping packets and asked how to prevent the loss. A likely answer would be to use TCP, even thought this doesn't answer the underlying issue of preventing a UDP service from losing packets. TCP is a very good suggestion and in most cases the right choice - often leading to a solution - but is technically off-topic for a UDP related issue, and ultimately wrong for an answer as there are reliable UDP solutions. In such a case an individual developing a gaming or messaging system will have to wade through many questions with "just use TCP" as an answer.  I think another way to help guide suggestions away from answers would be an option where the OP can mark a comment as a 'solution' allowing users to receive similar points and badges as providing an answer.

Question: What if the author of a question can accept a comment?   The problem:  Time and time again, answers are posted as a comment.  Usually, the person who commented has the best of intention (e.g. it was a trivial answer [to the answerer], and they weren't sure if the OP would immediately edit the question after the comment).  But this leaves the frustrating situation of an unanswered question with a perfectly good answer.  This problem accumulates over the years.     Candidate solution:  The OP can just "accept" the comment, after which a duplicate of the comment is made an accepted CW answer, with a preface indicating that it was originally a comment, e.g. This answer was originally a comment posted by [[blah]] that has been accepted by the author of the question.   Comments on this scheme:   The author of the comment has indicated they're not interested in gaining/losing reputation through their comment (thus CW answer). The original comment is still there. If desirable, the "author" of the accepted question could be a "bot", so the answer is not attributed to a genuine account.  (I suppose it would already be technically possible for Joe Blow to create a script for a bot that creates an answer from a comment in the proposed way.)     A similar question was asked before  (over 3 years ago), and in numerous other questions which have been deemed "duplicates" (,  and ; see also ), so there seems to be demand for such a feature.  The answers to these questions seem (to me, at least) quite weak:   "ask the commenter to add the comment as an answer"   The OP already did this by asking the question in the first place.  And what if the author of the comment doesn't respond (or takes a long time to respond)?  This also adds more chit-chat irrelevant to the question.   "add an answer of your own, referring to the comment, and accept it."   A hacky workaround.  How could this possibly be better than accepting a comment?  (Yet, this is the most up-voted response.)  Moreover, this adds to the user's list of "answers" (thus making the user's page harder to look through).   "When i leave a comment, i do so because i want to leave a comment."   Great; now what about everyone else?  In the immortal words of the FAQ: "Other people can edit my posts?!"  And it's not even an edit, it's copying the post from one box to another (a more hacky version of which is regarded as the "accepted" method).


I have a table in database where I am trying to update some data.  Table1  Uname   Password   Email          SpecialID  A      qwh2       abc@xyz.com    23243  B      rt4f       aafj@xyz.com   56343   I am trying to change the SpecialID from this query:  Update Table1 SET SpecialID='24152' where Uname=(select Uname from Table1 where Email='abc@xyz.com');   But I am getting this error :  ERROR 1093 (HY000): You can't specify target table 'Table1' for update in FROM clause   Please help me and tell me what is wrong I am doing in this query...!!! I searched but didn't get proper solution..

I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries:  SELECT *  FROM  story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category INNER JOIN         story_category ON category_id=category.id);   I tried to delete them executing:  DELETE FROM story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category        INNER JOIN story_category ON category_id=category.id);   But I get the next error:      #1093 - You can't specify target table 'story_category' for update in FROM clause    How can I overcome this?


Given is a set M and a function $d: M \times M \rightarrow  \mathbb{R}$ such that : $$d(x,y)=0 \iff x=y$$ $$d(x,y) \leq d(x,z) + d(y,z)$$ To Prove: d is a metric Thus we need to prove that : $$d(x,y) \geq 0$$ $$d(x,y)=d(y,x)$$  Any tips on how to go about this?

Let S be a set and d a function from $S \times S$ into $\mathbb{R}$ such that $d(x,y)=0$ if and only if $x=y$ and $d(x,z) \leq d(x,y) + d(z,y)$ for all $x,y,z \in S$. Show that d is a metric.  Here, we are (seemingly) given only 2 of the axioms necessary to show that d is a metric, but are asked to make the conclusion anyway. I suppose that $d(x,y)=d(y,x)$ is hidden within the second given (Wikipedia backs that up), but I can't see how to get to it.


I work with QGIS 2.10.1 on Windows 7 (x64). I have dissolved polygons from an attribute value and the polygons geometries being not perfectly joined together, I get some 'garbage' nodes I need to delete. I have tried to edit the layer and using nodes tool, selecting and deleting the nodes, but it seems impossible to do (nodes are not deleted at all!). Any idea on how to process this kind of clean-up?  EDIT : you can  for testing.

I'm trying to obtain the boundaries of shapefile, thus to clean the inside as a matter of speaking. While I had expected that dissolve while get me a proper polygon, unfortunately it still has some remainders. How could I get rid of them?  Does QGIS have a tool similar to Repair Geometry?  Here's the source    Result below:


I started to get this error message, when I run my 20.04 Ubuntu.  When I run sudo apt-get update + sudo apt-get upgrade, I get 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded - but still showing the same error message when I restart. How do I fix this?

i am a beginner in Ubuntu and currently using Ubuntu 19.10 in terminal i used   apt-get update   and this error showed up  Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)   how to solve this issue? i am using Ubuntu 19.10 on VMware Workstation 15 Pro and updated it at first lunch by using the "Software Update"


I have an HTML element that looks like this:
…
   Now at some point I need to edit the margin attribute through Javascript. The code looks something like this:   document.getElementsByTagName('div')[3].getElementsByTagName('p')[0].style.margin='0' document.getElementsByTagName('div')[3].getElementsByTagName('p')[0].style.marginLeft = '150px'   However, this isn't working. After I check the value of 'margin' and 'marginLeft' before and after the code, the values remain the same. If I use Google developer tools and manually change the Javascript then the issue is resolved. Can anyone tell me why the code above is not changing the value of the style? I also tried using setAttribute but that did not work either.

Title pretty much sums it up.  The external style sheet has the following code:  td.EvenRow a {   display: none !important; }   I have tried using:  element.style.display = "inline";   and  element.style.display = "inline !important";   but neither works. Is it possible to override an !important style using javascript.  This is for a greasemonkey extension, if that makes a difference.


What are the advantages and disadvantages of creating tag synonyms?  For example, when I was viewing the tag information, I came across with a synonym for a tag. The difference was just making it singular form.   Example:    tag selectors synonym selector   So are there any advantages and/or disadvantages to the community for a tag synonym?

What are tag synonyms? How can tag synonyms be distinguished from "real" tags? How are new tag synonyms created? Who can create tag synonyms? How can I delete/reverse/undo bad tag synonyms? What are merged tags?


I am using the glossaries package and when trying to avoid linebreaks in long descriptions with the listdotted style I noticed that the vertical space between the entries is not equal for all of them.    The red line is always the same size and as you can see, sometimes the distance between entries is smaller (blue rectangle), sometimes equal. This is present in the printed page too.  Is there a specific cause for this and is there a way to fix this?

I would like an acronym list with equal vertical space between each acronym. My list is grouping acronyms that start with the same letter. How is this avoided?  Here is the code for a  with this "problem":  \documentclass[11pt,a4paper,openany,oneside]{book}  \usepackage[acronym,nonumberlist,toc]{glossaries} \usepackage{glossary-superragged} \makeglossaries  \renewcommand*{\acronymname}{List of Acronyms and Abbreviations} \renewcommand*{\glspostdescription}{} % remove trailing dot \renewcommand{\glsnamefont}[1]{\textbf{#1}} \newacronym[longplural={Affinity Diagrams}]{ad}{AD}{Affinity Diagram} \newacronym{dom}{DOM}{Document Object Model} \newacronym{svg}{SVG}{Scalable Vector Graphics} \newacronym{spa}{SPA}{Single Page Application}  \begin{document}  \tableofcontents \printglossary[style=super, type=\acronymtype]  \section{First section}  Here we go... \gls{ad}, \gls{dom}, \gls{svg} and \gls{spa}! \end{document}   I get the following output:


If you have five groups and you wish to know if there is a significant difference between any of the group means, you would have to do 10 pairwise comparisons to test all possible pairs of means.  You would have to test    Mean for group 1 vs. mean for group 2    Mean for group 1 vs. mean for group 3    Mean for group 1 vs. mean for group 4    Mean for group 1 vs. mean for group 5    Mean for group 2 vs. mean for group 3    Mean for group 2 vs. mean for group 4    Mean for group 2 vs. mean for group 5    Mean for group 3 vs. mean for group 4    Mean for group 3 vs. mean for group 5    Mean for group 4 vs. mean for group 5   If you do each of these tests at the alpha = .05 level, you have 5 chances in a hundred of concluding the difference is significant when it is really just due to chance.  If you 10 such tests you have             10 times .05 = .50 or  a 50/50 chance that one will be significant just by chance.  This is an unacceptable error rate. We could use a Bonferroni correction to adjust the significance levels we're hoping to detect such that we won't have a false Type I error being alerted.  Alternatively, we could also use ANOVA to compare all of these groups.   Aside from computational limitations, what advantage does ANOVA have over pairwise Bonferroni corrected t-tests?

says     Methods which rely on an omnibus test before proceeding to   multiple comparisons. Typically these methods require a significant ANOVA/Tukey's range test before proceeding to multiple   comparisons. These methods have "weak" control of Type I error.        The F-test in ANOVA is an example of an omnibus test, which tests the   overall significance of the model. Significant F test means that among   the tested means, at least two of the means are significantly   different, but this result doesn't specify exactly what means are   different one from the other. Actually, testing means' differences has   been made by the quadratic rational F statistic ( F=MSB/MSW). In order   to determine which mean differ from another mean or which contrast of   means are significantly different, Post Hoc tests (Multiple Comparison   tests) or planned tests should be conducted after obtaining a   significant omnibus F test. It may be consider using the simple   Bonferroni correction or other suitable correction.   So an omnibus test is used to test the overall significance, while multiple comparison is to find which differences are significant.  But if I understand correctly, the main purpose of multiple comparison is to test the overall significance, and it can also find which differences are significant. In other words, multiple comparison can do what an omnibus can do. Then why do we need an omnibus test?


I have access to a pair of plaintexts and their corresponding encrypted texts. Would I be able to decrypt a third message encrypted provided they use the same key? From my little understanding of cryptography I cannot get the key but I would be able to get something out of the reusing of the key (by XORing the message and its cipher?).  Thank you very much and I'm sorry if the question is not well-asked, I'm new.

At least it's my understanding that AES isn't affected by known-plaintext. Is it immune to such an attack, or just resistant? Does this vary for chosen-plaintext?


I am going home. I am going to home.  Irrelevantly I should mention here that I perfectly know what the difference between to and towards is. My concern has to do with the meaning when we make the sentence without to or towards

I know these sentences are correct:     I am going home.      I am coming home.      I went home.   Please let me know, are these sentences also correct or not:     I am going to her home.      I am coming to your home.      I went to his home/house.   Or these are correct:     I went her home.      I am going her home.   Thanks in advance.


I'm trying to write a program that gets a really long number So at first I keep it as a string and am supposed to perform simple operators But I do not know how I'm supposed to store such a long number to do these things  Here's what I did, Header:      class BigInteger { private:     string number;  public:     BigInteger();     BigInteger(int);     BigInteger(const char*);     BigInteger(const BigInteger&);     BigInteger(const BigInteger&&);     //~BigInteger();      void setValue(int);     void setValue(const char*);     //void setValue(const BigInteger&);      string getnum();      static BigInteger fromString(const char*);      const BigInteger operator+(const BigInteger&) const;     const BigInteger operator-(const BigInteger&) const;     const BigInteger operator*(const BigInteger&) const;     const BigInteger operator/(const BigInteger&) const; }   main:      #include "BigInteger.h"  using namespace std;  int main() {     BigInteger a("2837456897658923563425345");      BigInteger b("23784623874623874682736478236");      BigInteger c = a + b;       c /= "4237467864237846";       BigInteger d = a * b - c;   }   thats the main and how i would like it to run, In the implementation of the functions, I managed to get all the constractors to work, but i dont know how to build the operators to work because there is no type that can contain that long numbers... what can i do?

I'd like to implement a big int class in C++ as a programming exercise—a class that can handle numbers bigger than a long int.  I know that there are several open source implementations out there already, but I'd like to write my own.  I'm trying to get a feel for what the right approach is.  I understand that the general strategy is get the number as a string, and then break it up into smaller numbers (single digits for example), and place them in an array.  At this point it should be relatively simple to implement the various comparison operators.  My main concern is how I would implement things like addition and multiplication.  I'm looking for a general approach and advice as opposed to actual working code.


When I remote into my Windows 8 desktop with Windows 7 it works fine but when try with Windows 8 I get an empty screen after it connects. Keyboard commands work despite the screen being black; I can open Explorer etc. using them and they persist when I reconnect with Windows 7.  Any ideas on what is wrong?

After connecting from my home via remote desktop, both my screens are black when I arrive at work. The only thing I can see is a mouse pointer on one of the screens. I then seem to have only two choices: rebooting or working from a remote desktop connection, which works fine.  It did happen every time I tried last week.  However, I did the same from my laptop in a meeting room today, and I didn't have any problem.


Is it possible to get the group number inside the views-view-grouping.html.twig? So the first group gets the number 1, the second number 2 etc. Something like: <div class='group-nr-{{ group_number }}'>     {{ title }}     {{ content }} </div>  I need this to make three columns out of my groups.

I want to be able to determine what group number is currently being processed to that I can treat the output of the first group differently than subsequent groups. Unlike rows, I do not see a way to find the current count of groups or loops through the view such that I could, for instance, do something like the following (i.e., classing group content by group iteration) -

{{ title }}

     {% for row in rows %}
         {{- row.content -}}
     {% endfor %}

{{ title }}

     {% for row in rows %}
         {{- row.content -}}
     {% endfor %}

 ...

{{ title }}

     {% for row in rows %}
         {{- row.content -}}
     {% endfor %}


I'm trying a bit with polymorphism with the following code snippet:  #include <iostream> #include <vector>  using namespace std;  struct Foo {     virtual void f() {         cout << "f from Foo" << endl;     } };  struct Bar : public Foo {     void f() {         cout << "f from Bar" << endl;     } };  int main() {     Foo foo;     Bar bar;     vector<Foo> fooV;     fooV.push_back(foo);     fooV.push_back(bar);     for(auto it = fooV.begin(); it != fooV.end(); ++it)         it->f(); }   I expected that since f() is overridden, one of them would print "f from Foo" and the other "f from Bar". However, the output of the program is  f from Foo f from Foo   I should also note that I also tried adding the keyword override to the declaration of f() in Bar, since I'm using C++11. It didn't have any effect.

Someone mentioned it in the IRC as the slicing problem.


I need to test some hardware on Ubuntu 14.04 which are all working on Mac and Windows 8.1. But Ubuntu 14.04 old Google Chrome is available via apt-get   How do I get the Google Chrome Canary or nightly developer versions via apt-get? I need to test lot of hardware with Canary version which were resolved for Mac and Windows but untested still for Linux because of Ubuntu 14.04 not shifting the latest Canary.  Can anyone please send me quick way to get the full Canary?


How to let the review rating appear in Google Search as follows?

I need to add star rating to my site for showing the star image rating in search results. I did a search on the internet and read a few articles on it. It is basically Microformats and the related tags. I'm still confused about the review. What if I need to use the tripadvisor review and rating on the search results. How can I do that or can anybody tell me about the code that I need to put in to my pages. I'm sorry for not being sound to this question.


I was trying to write a script for normalizing permissions in Linux:  for f in $(find . -type f); do     file "$f" | grep -e "ELF 64-bit LSB executable" -e "ELF 32-bit MSB executable" > /dev/null     if [ $? = 0 ]; then         chmod -c u=rwx,g=rx,o=rx "$f"     else         chmod -c u=rw,g=r,o=r "$f"     fi; done   Obviously, I'm trying to pass file paths to chmod and I'm using double quotes as in "$f" but somehow still getting No such file or directory errors:  chmod: './FreeDesktop_integration/nautilus-scripts/Archiving/PeaZip/Extract''e erişilemedi: Böyle bir dosya ya da dizin yok chmod: 'Archive''e erişilemedi: Böyle bir dosya ya da dizin yok   It seems ./FreeDesktop_integration/nautilus-scripts/Archiving/PeaZip/Extract Archive gets treated as 2 files by chmod (and this is rather unexpected).  So what's causing this and how do I solve this (passing args properly) ?  Bonus question: Is there a better way of doing what I'm trying to achieve with the script ?

I have a bash shell script that loops through all child directories (but not files) of a certain directory.  The problem is that some of the directory names contain spaces.    Here are the contents of my test directory:  $ls -F test Baltimore/  Cherry Hill/  Edison/  New York City/  Philadelphia/  cities.txt   And the code that loops through the directories:  for f in `find test/* -type d`; do   echo $f done   Here's the output:   test/Baltimore test/Cherry Hill test/Edison  test/New York City test/Philadelphia   Cherry Hill and New York City are treated as 2 or 3 separate entries.  I tried quoting the filenames, like so:  for f in `find test/* -type d | sed -e 's/^/\"/' | sed -e 's/$/\"/'`; do   echo $f done   but to no avail.  There's got to be a simple way to do this.    The answers below are great.  But to make this more complicated - I don't always want to use the directories listed in my test directory.  Sometimes I want to pass in the directory names as command-line parameters instead.  I took Charles' suggestion of setting the IFS and came up with the following:  dirlist="${@}" (   [[ -z "$dirlist" ]] && dirlist=`find test -mindepth 1 -type d` && IFS=$'\n'   for d in $dirlist; do     echo $d   done )   and this works just fine unless there are spaces in the command line arguments (even if those arguments are quoted).  For example, calling the script like this: test.sh "Cherry Hill" "New York City" produces the following output:   Cherry Hill New York City


If velocity of contact point of a rigid body performing rolling motion w.r.t road is zero then how the point gets delocalised from its initial position after some time?  My textbook says, At any instant a rolling sphere may be considered to be in pure rotation about an axis through the point of contact.This axis translates forward with the speed equal to the speed of its centre.  The above statement makes me more confused as my same textbook says that $v_{contact,road}$ is zero and simultaneously it says that the axis passing through the contact point translates forward.  EDIT  My question is somewhat different from  as I also want to know that how the axis passing through the point of contact translates forward if the  $v_{contact,road}$ is zero.

In my book the following statement was written and I didn't understand it well. Can anyone explain it in a more simple way?      Figure 11-6 suggests another way to look at the rolling motion of a wheel - namely as pure rotation about an axis that always extends through the point,P where the wheel contacts the street as the wheel moves. We consider the rolling motion to be pure rotation about an axis passing through point P and perpendicular to the plane of the figure.   I don't understand how the rolling motion of wheel which is the combination of translational and rotational motion of wheel can be expressed as pure rotation about an axis that always extends through the point,P where the wheel contacts the street as the wheel moves?


I've created a Baidu account to submit my sitemap.xml file to Baidu Search Console. I've also verified my phone number & email address. But when I try to submit my sitemap, they want the name as Chinese characters & QQ account number.  I'm not from China, how can I submit my sitemap to Baidu?

I've some pages in my site in Chinese but I don't understand Chinese (it's some GIS data).  Is there any way to submit sitemap to Baidu?


Hey if i want sculpt something, there is one problem that i can't sculpt the left,right,front and back but top and bottom is going normal. Can someone help?

I am currently sculpting and for some reason I can't add detail to the side of my mesh; it only works for the front and back.   If I grab my nose, its axis is locked to X and Z. It can't move on the Y axis but can be moved on the X and Z axes. I can only sculpt on the front and back of the mesh, I can't sculpt on the right or left.


So, I'm an absolute beginner at LTSpice(I just started today). I want to know how to add the model of transistor(say model ZTX300 or BC108) to my schematic. I can't find the model in the standard.bjt file. So is there any way how to use them in LTSpice?

I'm trying to add the mmbt3904lt1g model to LTspice. - I've copied its data from the MMBT3904LT1.LIB.txt in the standard.bjt library. - I've added an NPN to my schematic then I've changed its value to mmbt3904lt1g  - through the Edit->spice directive I've pasted the path to this library I thought it was all to use this device but no simulation is achieved.. I get only: Can't find definition of model "MMBT3904LT1g"  where I'm doing wrong ?


Since upgrading Whatsapp to version 2.18.52 contact names do not appear on whatsapp lock screen notifications. For example, if I get a message from Mom, whatsapp only displays the whatsapp logo and “message”, without displaying the sender. I used to be able to see just the contact name (“Mom has sent you a message”), but now, no Names are displayed. This just happened as I updated to ios 11.3.1. Anyone having a similar problem? Please advise how I can fix this issue.   Thank you

Today I updated to version 2.18.52 & I can’t see the names of the people who send me a message. The only thing I see is the WhatsApp logo and the word “message”.    I can’t also see the status my friends posts, they all look black. I uninstalled the app, reset my phone & nothing seems to work so far.


I just want to see files and folders (sorted/grouped by their name) in a list that does NOT separate files and folders.  I also don't want to order by date modified like .  I already tried several solutions. But unfortunaletly non worked. And I don't want to use grouped by that splits it up into A-G... and so on.  Antelope[dir] Antelope.txt Badger[dir] Badger.txt .... Zebra[dir] Zebra.doc   Questions that also didn't help me out:

Is there a way to sort folders and files by their name all mixed together in Windows 7?  It would be easier to understand if you .  I want my folders and files arranged like the BEFORE situation of the first screenshot.  If there is no way to do that with Windows Explorer, is there any file management programs that I should try?  I've already tried Total Commander.


I have a very long url to show in the references, I am using BibTex and the package url, but I still the url breaks once and not twice as it should.

The image above is for a reference in double-column IEEEtran class.   One potential solution is mentioned in , but this works when there are no single extremely long words in the link. The link above contains a long PDF file name  PGLowSCRWindGenerationInstabilityIdentificationandMitigation.pdf  The name is too long that it cannot fit in one column, but LaTeX still does not hyphenate it.  The solution in  yields    Thus, further decrease in the link size is needed.   Is there a way to force it to stay within the column width while maintain an intact hyperlink?  \begin{filecontents*}{sample.bib} @online{lovelace2015low,     author = {{Lovelace, Will}},     title = {{Low SCR Wind Integration and Mitigation}},     url = {http://www.cce.umn.edu/documents/CPE-Conferences/MIPSYCON-PowerPoints/2015/PGLowSCRWindGenerationInstabilityIdentificationandMitigation.pdf},     organization = {Minnkota Power Cooperative},     date = {2015-11-11},     urldate = {2019-05-20} } \end{filecontents*}  \documentclass[]{IEEEtran}  \usepackage[square,numbers]{natbib}  \begin{document}  \cite{lovelace2015low}  \bibliographystyle{IEEEtran} \bibliography{sample}  \end{document}


Suppose a linear model for Y in a single predictor var, X. If the residuals show a pattern of increasing variance (wrt X), sometimes a transformation of Y, Y'=f(Y) is considered (where f is sq rt, log, etc), which we can express in the general form Y' = Y$^\alpha$, for $\alpha \in (0,1)$  My question is the following: has anyone ever researched the method for finding the best value of the parameter $\alpha$?   I don't see many references to this topic in my texts, yet it seems like such a simple question, that someone must have worked on it. Any references or something to point me in the right direction would be greatly appreciated.

Mboxcox in Stata suggests transforming my variables using a power of 0.1 for the independent variable, and 0.4 for the dependent variable.  I have run the model, and it fixes problems associated with the assumptions of OLS. But certainly, it complicates matters in terms of interpretations.  Please outline possible interpretations and solutions.  Dependent variable is in millions of dollars, and independent variables are number of years.  and a number of dummies which do not require transformation.


I submitted an article to one of the OMICS journals and also paid for it only to find out they are a predatory journal. article not yet publish. Any advice what I should do?

Call it stupidity or bad luck but I am guilty of submitting my research article to a journal which is listed in .  It is my first article and I don't have much experience publishing articles. I was searching for a top impact factor journal and found this one on Google and in excitement sent my article (word and pdf files) in this journal a few days ago, only to discover later that this might be a bogus journal.  Now I am worried about that what will happen to my article. What if they plagiarize my paper, or send it to another journal not giving me credit?   My question is that what should I do now? Should I send my article to a reputable journal now? What should be the process? What if it is flagged for fraud by that journal? What are my options?  Any help would be appreciated.


Gamer points are what you get when you unlock an achievement but I don't know what you can do with them. Are they just to brag or can you cash them in or can you buy a game?

So, I have been playing Xbox 360 for a while now, and have collected quite a few points towards my Gamerscore. It seems like each player has their own points, and they are cumulative across all games. Is there anything I can actually do with them, or are they just for bragging rights?


Doctor asked me how much did I weigh.  Should I say it is "50 kg" or "500 N" ? Though the unit of weight is Newton, I have seen people mentioning their weight only in terms of Kilogram. Why is it so?

What is the difference between the weight of an object and the mass of an object?


Is there some graphical tool to search for a particular file or all files of that format from a folder and many sub-folders and which takes a query like *.txt and the path of the partition on which the folder with many sub-folders is located and output the result?

When I use the search function in  it only returns files with matching file names. It doesn't even support wildcards. For example, "*.txt" doesn't return anything. I would expect it to return all .txt files.  Anyway, is there a way, without using the command line, to search the contents of files, including all plain text files (.txt, .html, .css, .js, .c, .csv, .sh, .py, ...), archives (.zip, .7z, .rar, .tar, ...), office/libreoffice files (.doc, .docx, pptx, .odf, .ods, ...), and media (.mp3, .mp4, ...) meta data? The search should also have the option of setting file size, date, type, and being case insensitive.


I have replication setup that has been working great. We have a master (prod) and a slave (reporting) that have been running for several weeks. We are changing the slave database through replication and that has been running well. That is until an ALTER TABLE statement was replicated.   As you can see in the error statement, it looks like the --replicate-rewrite-db option was not applied and that caused the failure. But why would this work for months and fail with just the ALTER TABLE statement. Also what do I need to do with the replication options so this will work properly?  Slave SQL: Error 'Table 'prod.user' doesn't exist' on query.  Default database: 'reporting'. Query: 'ALTER TABLE `prod`.`user` ADD COLUMN `new_col` TINYINT(1) NOT NULL DEFAULT '0'', Error_code: 1146   replication settings from my.cnf:   replicate-wild-ignore-table = mysql.% replicate-rewrite-db = prod->reporting replicate-do-db = reporting replicate-ignore-table = reporting.user

I have a production database called "master" that I want to replicate on another server under another name (call it "slave").   All worked fine until an ALTER TABLE statement was performed on the master server. Since then, the replication hung up and I get this error in the slave log:  [ERROR] Slave SQL: Error 'Table 'master.students' doesn't exist' on query. Default database: ''. Query: 'ALTER TABLE `master`.`students`   Well of course it does not exists since I told MySQL to rename "master" to "slave"! But it seems like MySQL decided not to rename the database in ALTER TABLE statements.  Here is an excerpt from my slave config.  server-id   = 2 relay-log   = /var/log/mysql/mysql-relay-bin.log log_bin     = /var/log/mysql/mysql-bin.log binlog_do_db   = slave replicate-rewrite-db="master->slave"


I'm trying to get the path of the script that I'm sourcing. I'm doing the following:   DIR="$(dirname "$(readlink -f "$0")")"   Nevertheless I get  readlink: invalid option -- 'b'   I'm on a RedHat 6 machine using bash. Not sure if I'm suppose to do this in a different way.

Is there a way for a sourced shell script to find out the path to itself? I'm mainly concerned with bash, though I have some coworkers who use tcsh.  I'm guessing I may not have a ton of luck here, since sourcing causes commands to be executed in the current shell, so $0 is still the current shell's invocation, not the sourced script. My best thought currently is to do source $script $script, so that the first positional parameter contains the necessary information. Anyone have a better way?  To be clear, I am sourcing the script, not running it:  source foo.bash


AT-ATs managed to get to the surface of Hoth - during the Battle of Hoth.   Why didn't the Empire send other forces in alongside the AT-ATs?     Two reasons to land the other troops:   Pretty much all modern Earth militaries learned early on that armored vehicles themselves are less effective than combined assaults (support by artillery, infantey and air).  As it was, rebel air force (groundspeeders) very effectively opposed the AT-ATs, without being hindered by Imperial air support.  And Luke took down AT-AT because there were no Imperial stormtroopers to cover his approach on foot. If you land all your troops - some of them could take the shield down during the course of AT-AT attack.  As such, sending in only AT-ATs first gives rebel forces more time to escape.

(This question is related to , and was originally posted as an answer there, but it's not the same)    In , the Empire attacks Rebel Echo Base located in Hoth. The Rebels are alerted before the attack, and raise some sort of shield to prevent orbital bombardment of their base. The Empire is then forced to deploy land forces to first disable the shield generator, before destroying the base. Presumably, the Imperial forces are deployed using dropships.  My question is about how the Rebel shield generator works, and how the Imperials manage to bypass it.  I think the shield generator is something of a plot hole. At first I incorrectly thought it was a planetary shield (i.e. a shield around all of Hoth) preventing orbital bombardment, and also preventing any dropships (with their AT-AT payload) from landing, but I think : the  states it is an energy field around just an area of Hoth, presumably Echo Base:     VEERS: My lord, the fleet has moved out of light-speed. Com-Scan has   detected an energy field protecting an area around the sixth planet of   the Hoth system. The field is strong enough to deflect any   bombardment.   So my initial objection ("how did the Imperial dropships bypass the shield?") has been answered: they didn't. They landed outside the energy field to deliver the AT-ATs. But now I have another question: does an AT-AT have to walk inside the field to fire at the generator, or can it fire into the field from outside?  Maybe the field simply cannot stop matter, only energy weapons (therefore preventing orbital bombardment), in which case the AT-ATs would be able to just walk inside. However, the script also states:     LEIA: All troop carriers will assemble at the north entrance. The   heavy transport ships will leave as soon as they're loaded. Only two   fighter escorts per ship. The energy shield can only be opened for a   short time, so you'll have to stay very close to your transports.   So it's clear that the energy field is also capable of stopping matter, in this case troop transports and fighters. It follows that it should also prevent AT-ATs from walking through it. So the only way I can see the walkers disabling the generator is by firing into the energy field!  This would mean the field is strong enough to stop matter such as ships and fighters, and energy weapons used for orbital bombardment (and also the Ion Cannon the Rebels use as an anti-orbit battery: Leia also states they must lower the shield to use it), but not able to stop whatever energy weapons the AT-ATs use!  So how on Earth did Imperial Walkers manage to disable the shield generator?


It’s established that you need to mean the Unforgivable Curses in order to use them to full potential.  In the 4th book, FakeMoody tells the class that all the students there could point their wands at him and say “Avada Kedavra,” and he wouldn’t get so much as a nosebleed.  Similarly, Crucio doesn’t work on Bellatrix when Harry tries it. At the end of the 6th book, Snape kills Dumbledore with the Killing Curse.  Snape says “Avada Kedavra” and hits Dumbledore with the curse, causing him to fall backwards off the tower.  Afterwards, Snape and the other Death Eaters flee quickly as the Order is active and fighting their way up. It was probably difficult for Snape to compartmentalize his feelings enough to correctly use the Killing Curse on Dumbledore.  Why didn’t Snape mean it less so Dumbledore would be injured (à la nosebleed) but still alive? My proposal: Dumbledore could have still fallen off the tower (maybe with some magic like arresto momentum so he didn’t hit the ground*), as the Death Eaters don’t check if he died.  The Death Eaters (and Voldemort) would believe Dumbledore was dead.  Even if the Death Eaters wanted to take a peek at the corpse, Dumbledore could just act dead. Then, maybe Fawkes could have come and magicked his body away so no one would know.  Everyone would think he was dead, but he would still secretly be alive and fighting the good fight against old Voldy. I know his life was shortened because of the curse from the ring, but why shorten his life like that unnecessarily when he could have kept living at least a little longer? *I know Dumbledore didn’t have his wand on him then, as Malfoy disarmed him, but he was prepared to die when this went down.  If he had plans to only secretly die, he could have planned ahead of time, prepping for a fall from the tower.

So has JKR ever mentioned, or is it indicated anywhere in canon why Fawkes did not come to save Dumbledore when he was confronted by Draco and the four other Death Eaters on the Astronomy Tower on that fateful night in Chapter 27 of the Half-Blood Prince?  There are several instances where Fawkes was timely in saving his master and Harry.  I know there's an out-of-universe answer to every question on books (Dumbledore had to die so that Harry can continue on this path alone, albeit aided by Ron and Hermione). I'm not looking for any of that please.  Was Dumbledore simply prepared to die that night?


A section of our website uses a database table called 'description'. Its collation value is set in the database as 'utf8_czech_ci' (and type as 'VARCHAR') and the PHP itself is set to utf8 too. The title and other content written outside of the description area is rendered using the Czech alphabet. It shows � for Czech specific letters when drawing content from the description table.   For example, original text in the database from an input form on the site:  ...naší skladbu níže...   Is output as:  ...na�� skladbu n��e...   Can you think of anything I may have missed for the page to show Czech characters correctly?

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


As the topic, how to prove that the only set in $\mathbb{R^1}$ which are both open and close are the $\mathbb{R^1}$ and $\emptyset$. I tried to prove by contradiction, but i can't really show that the assumption implies the contrary.

In other words, are $\emptyset$ and $\mathbb{R}$ the only open and closed sets in $\mathbb{R}$? Why/Why not?  I tried by assuming a set is equal to its interior points and contains its limit points.  A bounded set will not do since stuff like $[1,4]$ and $\{5\}$ will not work, though that is not really proof. Help please?  Anyway, it must then be unbounded.  If $a$ is a real number then $(a,\infty)$, $(-\infty,a)$, $[a,\infty)$ and $(-\infty,a]$ don't seem to cut it so it must be $\mathbb{R}$.


so I'm finishing up with my project and realized that I have to change the style of my citations to something like this:  % Biblatex {{{ \usepackage[     style=alphabetic,     backend=biber,     %backref=true     ]{biblatex}               % Biblatex mit alphabetischem Style und biber. \addbibresource{\jobname.bib} % Dateiname der bib-Datei. \DeclareFieldFormat*{title}{     \mkbibemph{#1}}         % Make titles italics % }}}   Which should produce something like this in the text:    Now I have been apparently working with a complete different solution which looks like this:  \documentclass[   fontsize=12pt,   headings=small,   parskip=half,      % Ersetzt manuelles setzten von parskip/parindent.   bibliography=totoc,   numbers=noenddot,    % Entfernt den letzten Punkt der Kapitelnummern.   %open=any,        % Kapitel kann auf jeder Seite beginnen. %  final          % Entfernt alle todonotes und den Entwurfstempel.   ]{scrreprt} \usepackage[   a4paper,   margin=2.54cm,   marginparwidth=2.0cm,   footskip=1.0cm   ]{geometry}   \usepackage[utf8]{inputenc} \usepackage[german,ngerman]{babel}  %%gegen möchliche Warnmeldungen bezüglich underfull \hbox wenn in der *.bbl file zu lange URLs sind \usepackage{etoolbox} \apptocmd{\thebibliography}{\raggedright}{}{}  %   % fuer Literaturverweise \usepackage[numbers,square]{natbib} \bibpunct{[}{]}{;}{a}{}{;} % Natbib konfigurieren, so da� im text [M�ller 2006] erscheint und keine runden Klammern o.�.     \renewcommand{\cite}{\citep} % \cite zu \citep umwandeln, so dass im Text \cite{Mueller.2006} f�r Referenzen verwendet werden kann. % %   %% Verhindert, dass im Literaturverzeichnis nach der Nennung von [Mueller 2006] die Seite umgebrochen wird und die Autoren + Buchtitel etc. auf der n�chsten Seite landen %   %% Es wurde daher \noparagraphbreak in der natdin.bst bei der Ausgabe der Elemente erg�nzt %   %% siehe http://groups.google.de/group/de.comp.text.tex/browse_thread/thread/9ca4c681e2063fbd/f7eb3eec044b058e     \makeatletter     \def\noparagraphbreak{\interlinepenalty10000      \@itempenalty-\@highpenalty}     \makeatother    \begin{document} \newpage \begin{singlespace} \chapter{Einleitung} \label{chap:Einleitung} \end{singlespace}   Some text \citep[S.27-29{Magnusson2007}.   \phantomsection % benötigt für korrekte pdf-darstellung \addcontentsline{toc}{chapter}{Literaturverzeichnis} \bibliographystyle{natdin} % Din 1505 nach Lorenzen (Das konkrete Aussehen des Litverzeichnisses ist im header festgelegt) \interlinepenalty=10000 %sorgt dafür, dass Liteinträge nicht Seiten übergreifend sind \bibliography{bibliography/library} % Pfad zur *.bib-Datei (Dateiendung wird weggelassen)  \end{document}   Which gives me citations in the text looking like this:    My problem is that I have tried to change it and simply use biblatex....but unfortunately I'm getting only errors....what am I missing? Maybe its important to mention that I've been using the \citep[S.27-29]{some citation} command like this and have tried to include the pages where to find specific citations....  Any help is appreciated :)

Because of the great answers posted around in the site, I'm finally considering to do the switch and move to biblatex. So, the question is what do I have to do?  To give the question some focus, assume that I already have a somewhat largish .bib file and a bunch of documents using natbib for my references. What do I have to change in my existing .bib and .tex files?  And what about coauthors? Would it be reasonably simple to instruct them how to work with the new documents using biblatex? Do they have to install new software/packages as well?


I typed the passwd command, then input the new password.  ~$ sudo passwd Enter new UNIX password:  Retype new UNIX password:  passwd: password updated successfully   I closed this terminal and open a new one. When I was prompted to input password again, the new password was not accepted, instead the old one was accepted.  $ sudo apt [sudo] password for user:  Sorry, try again. [sudo] password for user:  apt 1.2.24 (amd64) Usage: apt [options] command ...   What did I do wrong? How can I view my current password?

If I change the password for the root user is that going to automatically change the password for the user account?   I found this link for root:    How do I change the user account password?


The solution to the OP's problem was pretty simple, I posted my suggestion in the comment section and it worked out for them (I just didn't expect it to be so simple, that's why I commented instead of answering).  The question is, should I post my suggestion as an answer now so it would be more visible (and so I would hopefully get some reputation, heheh), or is it a bad practice and I should leave it as-is?

I have come across this scenario on several occasions where a user posts a comment that answers the question. When they receive positive feedback, they post it as an answer. Is this bad practice? In my own case, if I am not 100% sure I will comment first and see if that worked for the OP. Sometimes there are more than one problem and that is why I don't post an answer immediately. Here is an example  that illustrates the issue. Should the first commenter get the credit, or the first answerer?


I want to find the value of $\int_1^2\ln{(\Gamma{(x)})}dx$.  Wolfram alpha can compute that $\int_1^2\ln{(\Gamma{(x)})}dx = \frac{\ln(2\pi)-2}{2}$.    How can I prove it ?  Thank you.

Hi I am trying to prove$$ I:=\int_0^1 \log\left(\,\Gamma\left(x+\alpha\right)\,\right)\,{\rm d}x =\frac{\log\left(2\pi\right)}{2}+\alpha \log\left(\alpha\right) -\alpha\,,\qquad \alpha \geq 0. $$ I am not sure whether to use an integral representation or to somehow use the Euler reflection formula $$ \Gamma(z)\Gamma(1-z)=\frac{\pi}{\sin \pi z} $$ since a previous post used  that to solve  this kind of integral.  Other than this method, we can use the integral representation  $$ \Gamma(t)=\int_0^\infty x^{t-1} e^{-x}\, dx. $$  Also note $\Gamma(n)=(n-1)!$.


I remember when I was in junior high school,  my English teacher taught me that     When the subject is not human nor animal, use Y of X to indicate Y belongs to X instead of X's Y.   for example     Use the book of the library instead of library's book.   But I can find many counter examples, apparently they are not constrained by this rule, so is this rule I was taught in junior high school really a thing? Is there any condition banning Y of X or X's Y?

Sometimes when I write, for example, "the boundaries of segments", I am suggested to use "segments' boundaries" or even "segment boundaries".   Or "the page's content" vs. "the content of the page" vs. "the page content". Then I would like to know is it always preferred to use phrases with apostrophe or adjective?  For example      In our terms, they are mainly textual elements within the page content, which serve as the starting point  of a data region (or a data region's starting point ?)  or a distinctive feature within it


I have a working Xubuntu release 14.04 on my MacBook late 2007. The system suggests upgrading to release 16.04 LTS, but upgrading seems to not be working. My Mac has 4GB of RAM. Should I upgrade and how?

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


Working with the appleseed render engine and we are working on integrating AOV’s.  I’d like to import those AOV’s into custom render passes but I’m having trouble decoding how to create those passes as there are three different options in the RenderEngine types relating to it but no clear explanation on when they should be used (update_passes, register_passes and add_pass)

I am developing an addon for an external renderer and want to register custom render passes. Last time I implemented this feature I had to resort to images because Blender only had hardcoded render passes.  Nowadays the RenderEngine class offers several methods that seem to allow the registration of custom passes:        However, I could not find any explanation or examples of how to use these methods. Looking at the Cycles source code also did not help much.   Cycles implements the update_render_passes method:   But I could not find out how or when this method is ever called.  When I implement this method in my addon, it is never called. In this implementation, it uses the register_pass method:    Where I currently am  I have managed to add a custom pass with the following code, which is currently executed in the constructor of my RenderEngine implementation:  self.add_pass("Samplecount", 1, "X")  It shows up in the image editor:    Problems/Questions   The custom pass is always available in the image editor dropdown, even if it is not used in the current rendering It seems there is no method to remove or unregister a custom pass - how does Cycles do this? The custom pass does not show up in the compositor:


i am trying to create a vpc but the ip i am providing is not accepted which is 192.168.1.1/16 but aws says i can use the following range if i set to 192.168.0.0/16 it works , i guess to an extent still some clarity would be great  When you create a VPC, we recommend that you specify a CIDR block (of /16 or smaller) from the private IPv4 address ranges as specified in RFC 1918:  10.0.0.0 - 10.255.255.255 (10/8 prefix)  172.16.0.0 - 172.31.255.255 (172.16/12 prefix)  192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

I have been creating AWS VPCs and I am wondering if there is a recommended CIDR value when creating VPCs. What are the factors that I must consider when choosing a CIDR and does the CIDR value affect the performance of the network?


Show that if, for the ring $(A, \bigtriangleup, \bot)$, $\bot^2x=x$ then $(A, \bigtriangleup, \bot)$ is a commutative ring.   Since no elements of $A$ is provided and no operation is given, I am not sure how to proceed with this problem.  I have tried applying the simetric element $x^{\bigtriangleup}$ to the expanded equation:  $$ \bot^2x=x \\ x \bot x \bot x = x $$  But it is not working out. How do I proceed?

Let $R$ be a ring, where $a^{3} = a$ for all $a\in R$. Prove that $R$ must be a commutative ring.


In quantum mechanics, we assume wavefunctions are complex valued, and that probability amplitudes are given by the modulus of the wavefunction squared. This formalism can correctly explain interference effects, e.g. the double-slit experiment. I understand all of this.  Now, let's consider classical optics. If we have a linearly polarized EM wave, the electric field is defined in all space by a single real number. If we want to find intensity of light at any given point, we time-average the square of the electric field at that point. Alternatively, instead of representing the electric field with a time-varying real number at every point, we can also represent the electric field by a complex phasor which rotates in time. Then then intensity of the light at any point is (up to a factor of $\sqrt{2}$) just the modulus of the phasor squared. And if the light interferes with itself (e.g. in an interferometer) the new phasor at the point of interference is simply the sum of the old phasors, identical to interference in quantum mechanics.  So my question is: if, instead of assuming we have a complex valued wavefunction, we assume we have a REAL wavefunction (which is just the real part of our normal wavefunction), and all our probability measurements are inherently time-averaged (like our intensity measurements for an EM wave), would we run into any contradictions with logic/experiment?  (I realize this wouldn't be a particularly USEFUL formulation of quantum mechanics. Complex numbers are obviously more elegant--we invented phasors for a reason, after all. I just want to know if it's equivalent.)  Edit: I realize complex numbers can be thought of as simply two real numbers. I'm interested in the case of representing the wavefunction as a SINGLE real number. I guess what I'm looking for is a concrete difference between wavefunctions and electric fields.

I am trying to understand how complex numbers made their way into QM. Can we have a theory of the same physics without complex numbers? If so, is the theory using complex numbers easier?


QML at the moment lacks the ability to execute basic system commands. What libraries or functions can be imported to add this functionality to a .qml file?

I want to run a system command from inside my application. It's suppose to run a command on a remote server using SSH. But that's not really the point. The point is that I don't know how to run any kind of command from the app. I asked in the mail list and they referred me to build a QML extension using C++. But I don't know C++ and it seems that I have to learn so much only to run a simple command.  In Python (as in PHP) it's easy to run a system command. Is there any other way of doing it in my Touch app, or is there someone that could help me even more? Or perhaps have a better solution to my problem?


I rendered my animation as an image sequence. I can't find the images so I can render them into a video. How do I find them so I can make them an image strip?

I'm using the Blender Video Editor. I finished, rendered it, and went to open the file, but I do not know where my file saved to!  I want it to be saved as a video file and I would like to know where it is, but I do not. I've already tried to look through all my folders, but I don't know if I'm checking the right place.


When i try to display a pdf file containg a easy jet flight ticket using linux debian evince 3.12.1 rending displays overlapped characters various places of ticket and on console i got many message lines like this :  Syntax Warning: font matrix not invertible<0a>  I tried to do it through the browser but this is even worse, browser complains it does not support filling of forms ( this is a french message so i translated it ) and page is fully blank.  Is there a way to fix it, what other pdf viewer can i use to get it right ?  I tried to get a acrobat reader on site but there is not more linux version ( only windows, mac & android ). Since i might not be the only one to print flight tickets with linux, i guess there is an easy solution.

One of my collegues is trying to print a PDF that our designer has sent him, created using Adobe InDesign CS4 (6.0.4).  When he opens it up using Evince (version 2.28 on Ubuntu 9.10 thin client) it displays exactly how we expect it to, however when he prints it's not rendering correctly, for example:   Missing one logo, the other dozen display perfectly Missing a white box with 30% opacity (without this the blue text sits on a light blue background) The dotted border of a box is screwed up (missing dots in the corners, but fine on the straights) Finally the font quality is slightly poorer than a print out we've done on a working machine.   I have tried it on my Ubuntu dev box (Evince version 2.22 on Ubuntu 8.04 server) and it displays and prints perfectly.  Can anyone offer an explanation as to why this might be happening, I find it hard to understand how an older version of Evince is displaying it better than a newer version.  Thanks!  EDIT  Just for anyone surfing in, it's likely yo be a CUPS problem on our server, cheers ;-)


I recently uninstalled LibreOffice to install OpenOffice and experienced no problems in using Open Office. Later, I installed a file preview software known as Sushi. When trying to view .odp files, Sushi stated that it needed additional software to preview those files. I went ahead with the download, and it installed packages relating to Libreoffice which are in conflict with the OpenOffice packages. When I try to install software, I cannot download anything; this is the error message that I get:  Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:  libreoffice-core : Depends: libreoffice-common (> 1:4.2.6.3) but it is not installed  libreoffice-help-en-us : Depends: libreoffice-l10n-en-us  libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed  libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed E: Unmet dependencies. Try using -f.   I've tried using -f both before and after the install in terminal as well as unchecking all options in the "other software" section of "software & updates." (getting error messages which I could post here for clarification if asked) I've tried clearing the software cache out using "clean" and "autoclean" as well as purging OpenOffice and the libreoffice-core to no avail.  Any suggestions as to what to do? Everything else on the system works very smoothly. I just can't do updates.  I'm fairly new to Ubuntu and command line, very much a rookie. With that being said, is there a way to uninstall recent updates (as shown in "History" in Software Center)? I have little data on the computer and wouldn't mind wiping it either as a last resort and doing a fresh install. (but I don't know how to while keeping it as a dual boot machine with Win 8)

Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this?


I just installed Linux Mint on my computer and I'm having a problem with the Lyx application which I never had with Windows. I downloaded it via the software manager, so I was hoping that there wouldn't be any complications during the installation, yet I'm unable to view my document in .pdf format or even save it as one. Also, under Documents->Settings->Document Class, all classes are grayed out and marked as unavailable.  I searched around a little, but I could only find solutions concerning the WIndows and Mac environments, and being a Linux noob, I thought I should ask here since I can't find a solution for the life of me. Is there a way I can solve this?

I had this problem a week or two ago and I posted here but nothing from the suggested solutions seemed to work. I have managed to get some more details on it, in case anyone can help me, because this issue is causing me huge productivity problems and I really want it solved.  So I'm using Linux mint distribution, and I've installed Lyx via the software manager. Every time that I open a new document, I get an error claiming that some files are missing, and until they are installed, compiling the files or exporting them as pdfs is not possible. The file in question is called "extarticle.cls". Additionally, under Document->Settings->Document Class, every document class is marked as unavailable.  Here is the thing though.. this file is not missing... I have located it inside a folder associated with Lyx. It's definitely not missing.  I really need help with this one guys... It's been weeks since the problem came up and I really just want to be rid of it.. Why does this thing not work? Any help?


I need to move the contents of a div to another location on click, then allow a user to click another button to move it back. The use case is expanding a map from a sidebar (to become full width), then optionally return the map to the sidebar. Due to the complexity of the code inside the div, I am trying to relocate the contents of the div rather than duplicate it and show/hide. I have a  set up, which successfully moves the contents to the 2nd location, but I'm not able to toggle it back to its original location.   $('.location-1 .toggle').on('click', function () {    $(".moveable").appendTo(".location-2"); });  $('.location-2 .toggle').on('click', function () {    $(".moveable").appendTo(".location-1"); }); .location-1, .location-2 {   padding: 1em;   margin: 1em; }  .location-1 {   border: solid 1px red; }  .location-2 {   border: solid 1px blue; }  .button {   background: #eee;   border: solid 1px #ccc;   cursor: pointer;   display: inline-flex;   padding: 0.5em; }

This content needs to move between two divs

move it

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 have a Canon EF 17-40L, and I am seeking to buy a UV filter solely intended for the protection of the front glass of the lens. I know that I have a hood for protection, but it makes the equipment bulky and it doesn’t fit my current bag, so I think that a UV filter is also a good solution.  I have seen lots of cheap and expensive UV filters, but I don’t understand the difference between them. What would be the possible downside of using a cheap UV filter in this case? Does it cause the lens flares, and/or reduces the light? I have read some related posts from SE, but they are more general, rather than explaining the differences between filters.

I like to use UV filters to protect the front side of my lenses. I have always used the cheap Tiffen filters, around US$5.00 each, depending on the diameter.  My question is, should I spend some more money on my UV filters? Like a , (or other equivalents from B+W, Hoya, etc) for around US$20.00-US$30.00)  My lenses are:   Nikon 50mm f/1.8D Nikon 35mm f/1.8G  Nikon 18-200mm f/3.5-5.6G


I've such a file:  name: xxx --- time: 5.4 seconds name: yyy --- time: 3.2 seconds name: zzz --- time: 6.4 seconds ...   Now I want to sort this file by these float numbers to generate a new file as below:  name: yyy --- time: 3.2 seconds name: xxx --- time: 5.4 seconds name: zzz --- time: 6.4 seconds ...   I've tried the command awk '{print $5}' myfile | sort -g but this will show me ONLY the float numbers.


I have this function:        function ddd(object) {         if (object.id !== null) {             //do something...         }      }   But I get this error:  Cannot read property 'id' of null   How can I check if object has property and to check the property value??

How do I check if an object has a specific property in JavaScript?  Consider:  x = {'key': 1}; if ( x.hasOwnProperty('key') ) {     //Do this }   Is that the best way to do it?


Given the situation shown in the figure below. A thin disk with mass m and radius r is rigidly connected to one end of a massless rod with length l at its centre, with the other end of the rod connected to a fixed point O and able to pivot freely around the fixed point, without friction. The disk is lifted to a certain $\theta_0$, and then released from rest.  I'm wondering how, given this setup, one might calculate the kinetic energy of the disk when the centre of the disk is at its lowest point (or perhaps how to retrieve velocities using laws of energy). Namely, I was taught the kinetic energy of a simple system or body may be described as  $$E_k=E_{k,translational}+E_{k,rotational}=\frac{1}{2}m||\vec v||^2+\frac{1}{2}I_O||\vec\omega||^2$$  where:  $m$ is the mass of the body,  $\vec v$ is the linear velocity vector of the centre of mass,  $I_O$ is the moment of inertia around the axis of rotation,  $\vec \omega$ is the angular velocity vector.  One could perhaps use some simple trigonometry to express the initial potential gravitational energy (with the lowest height of the centre of mass set to a height of 0, for example), and use conservation of mechanical energy to then equate said amount of potential energy to the amount of kinetic energy when at lowest height.  All that seems to make sense when the disk is rotating around its centre, and translating at the same time. However, I'm having a hard time deciding whether or not this system would be describing "linear motion" with a linear velocity, when the centre of mass is at its lowest point. By the parallel axis theorem, we can say that for this disk, $I_O=I_C+m\:d^2=\frac{1}{2}m\:r^2+m\:d^2$, where d is the perpendicular distance between the axis of rotation through the centre of mass parallel to the axis of rotation, and the actual axis of rotation through O.   Thus, from what I understand, the disk is just rotating around an axis through O, but ... wouldn't that mean this is pure rotation, without translation? This seems counter-intuitive to me, but at the same time, if this isn't pure rotation, then I would say it is pure translation, as if the centre of mass were moving along a circular and frictionless rail. Both interpretations give different results, which cannot be correct. For all I know, the disk's kinetic energy could be a combination of both!   As a follow-up: say the disk were able to spin freely around its centre as well, and it were given a certain angular velocity $\omega_0$ before being released. How would the rotational kinetic energy differ, in that case? Both the disk's rotation and revolution would have to be taken into account, but here also, it doesn't seem obvious how exactly.

I am a bit confused about the kinetic energy of a rotating object when the axis of rotation does not pass through the center of mass. For example, consider a thin hoop of mass $m$ and radius $R$ that is hanging from a pivot and is free to rotate about that pivot. If the hoop were rotating about it's center of mass, the kinetic energy would just be  $$K = \frac{1}{2}I\omega^2 = \frac{1}{2} m R^2 \omega^2,$$ because the center of mass of the hoop is not moving (i.e. the translational kinetic energy is zero). However, when the hoop is rotating about the pivot, the center of mass is no longer stationary. Is this compensated for in the change in the moment of inertia, or does this translational piece need to be added? In other words, do we have $$ K_{tot}= K_{trans}+K_{rot}=\frac{1}{2} m v^2+\frac{1}{2}I\omega^2=\frac{1}{2}m(R\omega)^2+\frac{1}{2}(2mR^2)\omega^2 = \frac{3}{2} m R^2 \omega^2 $$ or $$ K_{tot}= K_{trans}+K_{rot}=0+\frac{1}{2}I\omega^2=\frac{1}{2}(2mR^2)\omega^2 = m R^2 \omega^2 $$ I am fairly certain that the latter is the correct answer but I just wanted to make sure I am thinking about this correctly.


These two codes have only one difference in them. The first one has a * in it and the second one dosen't. The first code runs properly and the second code gives this error:  TypeError: argument should be a string or a Rational instance  Code 1: The correct code.  from fractions import Fraction  fracs = [] for _ in range(int(input())):     fracs.append(Fraction(*map(int, input().split())))  print(fracs)   Code2 : The errorneous code.  from fractions import Fraction  fracs = [] for _ in range(int(input())):     fracs.append(Fraction(map(int, input().split())))  print(fracs)   I had learn python from Multiple sites like 'GeeksForGeeks' and 'Tutorial Point'. I checked and they don't tell what does this * does apart from being used as a multiplier,string-repeater and passing multiple argument.  Link to the page:   Also, searched for this in stackoverrflow's previously asked question but it doesn't give any satisfying result.  Thanks in advance.

Does * have a special meaning in Python as it does in C? I saw a function like this in the Python Cookbook:  def get(self, *a, **kw)   Would you please explain it to me or point out where I can find an answer (Google interprets the * as wild card character and thus I cannot find a satisfactory answer).


Someone of our team wanted to recursively change the user permissions on all hidden directories in a users home directory. To do so he executed the following command:  cd /home/username chown -R username:groupname .*   We were pretty surprised when we realized, that he actually recursively changed the permissions of all user directories in /home, because .* equals to .. as well. Would you have expected this behavior in Linux though?

Is the behavior of .* to include . and .. defined in LSB or POSIX or some other specification?


I have Sony VAIO computer having Windows 8 64-bit installed (in UEFI mode) on it. I want to install Ubuntu alongside Windows 8.  Steps I followed:   Disabled Fast-Startup Disabled Secure Boot Inserted Ubuntu Live DVD Reboot   RESULT:  Windows 8 loads without detecting the DVD  I checked this link:   But all the solutions it showed are after the DVD has been detected.  My problem is my computer is not detecting the DVD as long as the UEFI mode is enabled. It only detects the DVD in LEGACY mode. If I install Ubuntu in Legacy mode, it works but then Windows 8 doesn't load.  Please HELP!

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


I am trying to get a figure and a table next to eachother but they aren't staying together. In my document the figure ends up somewehere else but the table stays where I want it to be, as if the h in the \begin{figure}[h] isnt working.  The caption for the table has to be above the table and the caption for the figure has to be under the figure.  My code as of now:  \begin{figure}[h]  \parbox{7cm}{  \centering   \includegraphics[height=3.5cm, width=6.5cm{Kapitler/Metode/Linersammenhang.png}  \caption{Lineærsammenhæng mellem erstatningsgrad og cementindhold}  \label{fig:linersammenhang}  }  \begin{table}[h]  \parbox{7cm}{  \centering  \caption{Tabel over cementindhold for hver erstatningsgrad udregnet vha. den lineærsammenhæng}  \label{tab:cementindhold}  \begin{tabular}{cc}  \hline  \begin{tabular}[c]{@{}c@{}}Erstatningsgrad\\ {[}\%{]}\end{tabular} & \begin{tabular}[c]{@{}c@{}}Cementindhold\\ $[\frac{kg}{m^3}]$\end{tabular} \\  \hline  0 (REF)                                                            & 222,4                                                                      \\ 10                                                                 & 227,8                                                                      \\ 30                                                                 & 238,8                                                                      \\ 100                                                                & 277,0                                                                      \\ \hline  \end{tabular}  }  \end{table}  \end{figure}   Hope someone is able to find a solution :)

Looking to put a table and a figure side by side so that the table and figure have their own captions. A crude sketch    ------------              -----------------     TABLE    | a |  b |                     FIGURE   | c |  d |  ------------              Table 2: Caption           -----------------                            Figure 7: Caption   The closest I've gotten is:  \begin{table}% \centering \parbox{0.4\textwidth}{ \begin{footnotesize} \begin{tabular}{| l | r |} \hline some & table\\ \end{tabular} \end{footnotesize} \caption{Table} \label{tab:table} } \qquad \begin{minipage}[c]{0.53\textwidth}% \centering     \includegraphics[width=1\textwidth]{awesome} \caption{Figure} \label{fig:figure} \end{minipage} \end{table}   But that gives two Table X: Caption captions. I didn't find anything in subfig.  Help?


I am a new Ubuntu 18.04 user. I installed python in terminal and closed the terminal (sudo apt-get install python3.6). After that, terminal can't open from favorites, although it opens with right-click from desktop.  When I run sudo apt update I get output like:  sh: 1: /usr/lib/cnf-update-db: not found            Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' E: Sub-process returned an error code

The terminal gave me these errors when updating the software with sudo apt update.    Hit:1 http://it.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                Hit:3 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease                                      Hit:5 http://archive.canonical.com/ubuntu bionic InRelease                 Traceback (most recent call last):                       File "/usr/lib/cnf-update-db", line 8, in <module>     from CommandNotFound.db.creator import DbCreator ModuleNotFoundError: No module named 'CommandNotFound' Reading packages list... Done E: Problem executing scripts APT::Update::Post-Invoke-Success     'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db;       then /usr/lib/cnf-update-db > /dev/null; fi'   E: Sub-process returned an error code     These are the results of sudo apt install --reinstall command-not-found  Reading package lists... Done  Building dependency tree         Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/5.188 B of archives After this operation, 0 B of additional disk space will be used. (Reading the database ... 225797 files and directories currently installed.) Preparations for extracting ... / command-not-found_18.04.4_all.deb ... Extracting command-not-found (18.04.4) on (18.04.4) ... Configuring command-not-found (18.04.4) ... libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing...   When I tried the command sudo apt update again after reinstalling command-not-found, the results were the same as described in the first text block.


I am running Lubuntu on my laptop and would like to write French accents with a US keyboard. I find the compose key solution ([Alt]+[accent] at the same time, followed by a [letter]) not that handy...  On Windows, there is a better solution: switch the keyboard layout to US-international and then type [`] followed by [a] to display [à]. Still on Windows, the software  makes it even easier: press once [e] to get [e], twice [e] to get [é], three times [e] to get [è]...  Is there a way to achieve that on lubuntu? With a script or something?  PS: My keyboard is Vietnamese, but exactly corresponds to the US keyboard.

Currently I use the character palette applet in gnome panel to put special characters into text.  This is okay, but I have to stop typing, select the character I want from the applet and then copy and paste.  Is there a way to simply type special characters with different key combinations? If so, how do I do it?


Not able to get any clue. can you tell me how to do this:  If $R$ is a ring with unity , suppose $x \neq 0\in R, \exists $a unique $y \in R$ such that $xyx = x$, then show that $xy = yx = 1$

Let $\left(A,+, \cdot\right)$ be a ring with $1$  that satisfies the following condition:  For any nonzero $a\in A$, there exists a unique $b\in A$ such that $aba = a$.  Show that $b$ also satisfies $bab = b$, and that all nonzero elements of $A$ are invertible.


I created the following reusable code to get the value from a single database field using dynamic input:  function query_column($columnName,$tableName,$whereColumn,$whereValue) {    global $db;    $query = $db->prepare("SELECT :columnName FROM " . htmlspecialchars($tableName) . " WHERE :whereColumn = :whereValue LIMIT 1");    $query->execute(array(':columnName' => $columnName, ':whereColumn' => $whereColumn, ':whereValue' => $whereValue));    if($query->rowCount() > 0) {       while($result = $query->fetch(PDO::FETCH_ASSOC)) {          return $result['$columName'];       }    } else {       return Null;    } }   I call it like this:  $this->author = query_column("name","author","authorid",$authorId);   I already figured out that you can't bind the table name to a parameter with PDO, but what else could I be doing wrong? It keeps returning Null even though it should be returning data.

Why can't I pass the table name to a prepared PDO statement?  $stmt = $dbh->prepare('SELECT * FROM :table WHERE 1'); if ($stmt->execute(array(':table' => 'users'))) {     var_dump($stmt->fetchAll()); }   Is there another safe way to insert a table name into a SQL query? With safe, I mean that I don't want to do  $sql = "SELECT * FROM $table WHERE 1"


Out of nowhere (i.e, it was working fine last time I used it and shut it down) the computer wont start.   It apparently tries to boot, but it remains stuck on a black screen and 2 lines:  /dev/sda4 recovering journal /dev/sda4: clean, xxxx/xxxxx files xxxx/xxxxx blocks (x are numbers, obviously)   I left it overnight, and it has been the same for the last 10+ hours. No progress in the numbers either, it is just stuck and useless.  Is there a way to fix this without a fresh reinstall?  Computer is a a Macbook pro 2011, running Ubuntu Gnome 17.04

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


Do anyone know how programatically add an [XmlIgnore] attribute to a class property in c#?  I'd like to do this to have just one class with one or two fields to be serialized as I'd need at run time.  Many thanks in advance.

Is it possible to add attributes at runtime or to change the value of an attribute at runtime?


I asked a duplicate question and the community flagged it as duplicate. So I accepted it as duplicate. Now what? Am I supposed to delete it? I ask this because even after accepting that it is a duplicate, people are down voting.

Let's say I'm a good Stack Overflow citizen: I have a question, I search on SO and on google to see if someone's asked the same thing, and I can't find anything that shows up, so I go ahead and post a well-written question on SO. Then later it gets closed, because it's a duplicate question for something that I wasn't able to find on my initial search. Great, the system worked.  Is there ever a case where I should delete the question I posted? Why or why not? Do duplicate questions cause much resource bloat for the site?


is there is any application in software center to  connect android phone to Ubuntu for connectivity just like  for windows

Do you know if there is an Ubuntu program (possibly a Nautilus plugin) to transfer files from/to an Android device?  What is my mind is a program which does adb push, adb pull, and adb shell ls in the background and has a GUI.  Note that ADB allows for broader filesystem access than MTP and UMS.


I set up, ubuntu linux on virtual box. Then I installed postgresql and node.js  So basically I made a clean installation and i want that  ubuntu handles my requests.  When i run node server.js , a Sequelize.js error occurred.   Unhandled rejection SequelizeConnetionRefusedError: connect ECONNREFUSED 127.0.0.1:5433  PostgreSQL is listening on port 5432, and once i run node server.js,tables are created with no problem.  I think is a problem with my client, and I don't know why.  postgres.conf listen_addresses='*'.  pg_hba.conf  host all all 0.0.0.0/0 trust.  I have little bit experience with Linux Ubuntu and configuration So a big hug and thanks for who will help me

This is a  about Connection Refused    We see a lot of questions to the effect      When I try to connect to a system I get a message      Connection refused      Why is this ?


so I have been playing around with cloth simulation, and was doing a low-poly bend and made a blanket on top. and then used cloth simulation on the plane and collision on the cube. first, I had a subdivision surface modifier on the cube and when I played the simulation, the cloth would go inside the cube and rest in the middle of the cube, then I used a cube of similar proportion but did not subdivide it, and the result was the same. then I made a new plane way bigger than the cube, applied the cloth physics property but the result was the same.      note: when I try this in a new file all the result is normal but only on this file, there is a problem.

I was following a , and the presenter said that he did not change the default options other than enabling self-collision and increasing the collision object's friction from 5 to 10. His looks like the first image below, but when I tried that, the cloth goes down past the top surface and stops at the bottom surface (second and third images below). Why is it so?   I had a previous problem with cloth, and it was due to the objects' small size. This time, I made sure that both the cloth and the cube are large enough. (Cloth=7.68*8.22*1.99m, cube = 7.68*7.68*0.897m)  The project file can be .


I currently work on a subcontracting tool in which I have to register a direct client (billing) and a final client (work) with the address of the final client (work place).  The direct client is just here in case we don't work directly with the final client (it's only a remimder).    What is the best way to display this fields in my form?  I've already thought to:   Ask the user to enter the client twice if the direct and final client are the same Leave the direct client field empty if the direct and final client are the same   But I have no idea how to do this to be clear for the user.  EDIT: After reading the "possible duplicate", the way suggest to solve my problem is to add a "Set a different direct client" checkbox to toggle the "direct client" field display. But I have only one field ("direct client") to work with, so I am not sure that a checkbox is appropriate to toggle only one field.

In the order process we ask the visitor the address he want us to ship the ordered products and the address he want us to send the invoice  Most of the time, both are the same. We don't want the visitor to type the address twice in that case. after the shipping address, should we put:  ☑ Send invoice to the same address   or   ☐ Send invoice to another address   In both case the default is to no do anything if the address is the same. but is one better than the other? I think I like the second better but I can't figure if I'm right or why  -- edit:  in each case (shipping and invoice address), the user is presented with a dropdown to select an existing address, when one is selected, the complete address is displayed underneath. there is also an option to add a new address in which case, the block displaying the address is replaced by a a form where the user have to type it's address  but most of the time, there will be no form


I'm trying to accept a query string of the form  ?param[key1]=value1&param[key2]=value2   and convert it into a Dictionary in C# MVC 4. This is trivial to do in PHP, but I haven't been able to find any method of reproducing this in C#.  I know I can take an array via  ?param=value1&param=value2   but that leaves issues of ordering and isn't nearly as useful for my purposes.  In the hopes that this isn't a limitation of the framework, how might I implement a dictionary-style conversion in C#?     To clarify: I'm not looking to convert a query string into an NVC, but rather to convert query string parameters into their own NVCs. This is NOT as simple as ParseQueryString() or the Request.QueryString object.

I would like to parse a string such as p1=6&p2=7&p3=8 into a NameValueCollection.  What is the most elegant way of doing this when you don't have access to the Page.Request object?


I was recently asked why I used the word notoriety in a sentence about Alex Honnold. In this case - I believe the sentence was "Alex Honnold achieved increasing notoriety after the 60 Minutes interview with footage of his free solo of Half-Dome.  I meant to use notoriety in a totally positive way - and I don't know of any better alternative.  Is there a more appropriate term than notoriety? Is  notoriety incorrect?

I'm trying to say:       He probably gained some __________ [good notoriety] from this picture.   I was thinking publicity, but that connotes some kind of negative to me as well (like the stuff you see in gossip magazines at the checkout line).  I want a word as powerfully positive as notoriety is powerfully negative.


I am using ASP.NET Webforms to get the data of client. till now I figured out the IP address of client and the city & country of the client. I am trying to find a way of how to retrieve the time zone by using its IP Address or country name or city name. I have googled and couldn't find any appropriate answer as everyone talks about injecting javascript to get timezone. My question is: Is there any way to find timezone of the client? If so then how?`

When I use DateTime.Now I get the date and time from the server point of view. Is there any way to get the client date and time in ASP.NET?


If $\big\{n(k);k\in \mathbb{N}\big\}$ be set of all natural numbers none of whose digits is $6$, does $$\frac1{n(1)}+\frac1{n(2)}+\ldots+\frac1{n(k)}+\ldots$$ converge?   Actually,  I have tried of using comparison test to show that it does converge or diverge, but I don't even know it converges or not, and as it is a sub-series of  $$1+\frac 12+ \frac 13+\frac14+....$$  which diverges very slowly, hence calculators are not helpful to determine it's nature.

I know that the harmonic series $1 + \frac12 + \frac13 + \frac14 + \cdots$ diverges. I also know that the sum of the inverse of prime numbers $\frac12 + \frac13 + \frac15 + \frac17 + \frac1{11} + \cdots$ diverges too, even if really slowly since it's $O(\log \log n)$.  But I think I read that if we consider the numbers whose decimal representation does not have a certain digit (say, 7) and sum the inverse of these numbers, the sum is finite (usually between 19 and 20, it depends from the missing digit). Does anybody know the result, and some way to prove that the sum is finite?


If you look at a profile of a user who is , you get the text: "This account is temporarily suspended network-wide. The suspension period ends on..."   However, if you click on "Meta user" and look at the profile of the same user on the corresponding meta, you see just: "This account is temporarily suspended. The suspension period ends on..." (The part that the suspension is network-wide is omitted.)  This is probably a minor thing but still - I suppose it is not supposed to work this way. (Maybe sometimes it might lead to confusion. For example, if I remember see that some user was suspended network-wide and then I notice on meta the text which is used for per-site suspensions - it's quite natural that I might be wondering what is going on and whether the network-wide suspension has been revoked.)

I recently discovered that there was a high-rep user suspended on Arqade, so that they could calm down a bit. When I was looking at their profile, I noticed that the suspension reason was shown on their main profile, but not on their meta profile.  Main:   Meta:


I have a .bash_profile script that uses FFMPEG to create a ProRes file from an image sequence. The name of the FFMPEG output file is taken from the current working directory. I'm fine taking the name from the parent directory because After Effects is set to create a folder for each image sequence render that has the same the name as the sequence.  This works fine if there's no spaces in the name. Example: My_Movie/My_Movie_00001.tif, etc gives me My_Movie_ProRes.mov  But I'd like to have it also work for folders with spaces in the name. I've tried adding quotes to various places but it just either fails or outputs as _ProRes.mov with no folder name at all.  pro () {  OUTPUT_NAME=${PWD##*/}  local fps=24; local filename="${OUTPUT_NAME}"_ProRes.mov; local ext=tif;  while test $# -gt 0; do     case "$1" in         -fps)             shift             fps=$1             shift             ;;         -filename)             shift             filename=$1             shift             ;;         -quality)             shift             quality=$1             shift             ;;         *)             echo "$1 is not a recognized flag!"             return 0;             ;;     esac done       /usr/local/bin/ffmpeg -r $fps \     -f image2 -pattern_type glob \     -i "*?$ext" \     -codec:v prores_ks \     -pix_fmt yuva444p10le \     -vf scale=out_color_matrix=bt709 \     -profile:v 4444 \     $filename }   SUCCESS! Thanks for your insight, especially John1024 and Jesse_b!   pro () {  OUTPUT_NAME="${PWD##*/}"  local fps=24; local filename="${OUTPUT_NAME}"_ProRes.mov; local ext=tif;  while test $# -gt 0; do            case "$1" in                 -fps)                     shift                     fps=$1                     shift                     ;;                 -filename)                     shift             filename=$1                     shift                     ;;                 *)                    echo "$1 is not a recognized flag!"                    return 0;                    ;;           esac   done        /usr/local/bin/ffmpeg -r $fps \     -f image2 -pattern_type glob \     -i "*?$ext" \     -codec:v prores_ks \     -pix_fmt yuva444p10le \     -vf scale=out_color_matrix=bt709 \     -profile:v 4444 \     "$filename" }

Or, an introductory guide to robust filename handling and other string passing in shell scripts.  I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on some file names).  I encountered a problem such as the following:   I have a file name containing a space hello world, and it was treated as two separate files hello and world. I have an input line with two consecutive spaces and they shrank to one in the input. Leading and trailing whitespace disappears from input lines. Sometimes, when the input contains one of the characters \[*?, they are replaced by some text which is is actually the name of files. There is an apostrophe ' (or a double quote ") in the input and things got weird after that point. There is a backslash in the input (or: I am using Cygwin and some of my file names have Windows-style \ separators).   What is going on and how do I fix it?


Is there a standalone monitoring software that reports cpu usage, memory usage and network traffic for a linux server? I just switched vps providers and although much better the new one doesn't provide these stats like these   Thanks!

For a more comprehensive list of monitoring tools and their features, check out .   As the question states, what are the most commonly used tools used for this task and what are their strengths and weaknesses?


I have a generic list e.g:  public class Person {        public string Name {get;set;}        public string loginId {get;set;}        public string ContactNo {get;set;}        public string City {get;set;}        public string Country {get;set;}   }   After filling the list, I bound the list to Repeater control. In HeaderTemplate of my repeater control I have defined LinkButton as:  <HeaderTemplate>
                     <asp:LinkButton ID="lnk1" runat="server" CommandName="Sort" CommandArgument="Name" Text="Name"></asp:LinkButton>         	                      <asp:LinkButton ID="lnk2" runat="server" CommandName="Sort" CommandArgument="loginId" Text="loginId"></asp:LinkButton>         	                          <asp:LinkButton ID="lnk3" runat="server" CommandName="Sort" CommandArgument="City" Text="City"></asp:LinkButton>
 </HeaderTemplate>   When user click any of the link, it fires ItemCommand event. In my ItemCommand method, I check for the command and if its a sort then Sort the list based on the CommandArgument.   Here is my command event:  protected void Repeater1_ItemCommand(object sender, RepeaterCommandEventArgs e)    {       if (e.CommandName == "Sort")       {          string str= e.CommandArgument.ToString();          //var lst=ListPerson.OrderBy(c=>c.[PropertyName from CommandArgument ????]);          var lst=ListPerson.OrderBy(?????)        }    }  NOTE:ListPerson is my previously populated list of type Person.   Any help is appreciated.

I have the name of the "sort by property" in a string. I will need to use Lambda/Linq to sort the list of objects.  Ex:  public class Employee {   public string FirstName {set; get;}   public string LastName {set; get;}   public DateTime DOB {set; get;} }   public void Sort(ref List<Employee> list, string sortBy, string sortDirection) {   //Example data:   //sortBy = "FirstName"   //sortDirection = "ASC" or "DESC"    if (sortBy == "FirstName")   {     list = list.OrderBy(x => x.FirstName).toList();       }  }    Instead of using a bunch of ifs to check the fieldname (sortBy), is there a cleaner way of doing the sorting Is sort aware of datatype?