In the attached , I have a representation of a airplane/jet fighter (cube scaled at one end to indicate direction of flight). I am using torque to steer, and adding Linear Velocity along a local axis for thrust/brakes. What I want to know is how to clamp the velocity along the plane's local axis so when the plane steers, it does not simply keep flying in the direction that is was before it turned. I would prefer a solution with logic bricks, but if that is not possible, python would be acceptable. (it just needs to keep a speed relative to how long the thrust/breaks have been held no mater which direction it is pointing.)


Is building a DC-DC PSU PWM controller from discrete components a terrible idea?

I am building a 1kW PSU that is controlled with DSP MCU. It requires a lot of features such as synchronous rectification, bidirectionality, current regulation. Those features make the PSU very exotic and I was unable to find any suitable PWM control IC. My current problem is that the PSU is unable to regulate current quickly enough and I need to find a solution for that.   It is quite easy to build an analog CMC PWM controller model using ideal analog components and switches. But  I've never seen anyone do that in practice and that suggests me that it might be a terrible idea. There might be complicated problems such as noise pickup or timings mismatches.   Does anyone knows if it is a useful practice to build a PWM controller from discrete components or not and why?


Is there a shortcut command in Windows command prompt to get to the current user's home directory like there is in Linux?

I am used to using   cd ~   to get right into my home directory. In Windows command prompt I have to do  cd Users\username   to get there. Is there a shortcut like the Linux one? It would be nice if I could get there by doing  cd username   Is something like this possible in Windows Vista?


Possible to programmatically decompile stored procedures using C#

When most of us want to see the definition of a SQL Server stored procedure, we fire up SSMS, find the object, right-click and select Modify or one of the other scripting options. This works fine, manually.   Some people also have the good fortune to get licensed for Redgate products that let you search, compare, and analyze the compiled database objects.  But supposing I would like to write desktop utilities that analyze stored procedures or other objects compiled on a SQL Server instance. There seems to be very little in the mainstream that is designed to accommodate that kind of software design.   So my question is: is it even possible, using C# and readily available NuGet packages, to connect to a SQL database and return the same DDL script that would be rendered into a query window using SSMS?  I know that there are lots of utilities already out there to cover almost anything I could want, but this is a programming question, not a request for a product recommendation.


These are two words that have baffled me for long. Dependency is given as 'excessive dependence' in Chambers, but I would love to know how the spoken usage is. My guess is dependency has a political touch to it. In addition, there is an independency as well in the dictionaries, though it does not sound popular.


I need to cast a string to a byte array in hex representation. For example: Value: 06000002 What I need is: 30 36 30 30 30 30 30 32  I tried to implicit convert all chars to byte as following: byte[] bytes = new byte[daten.Length]; for (int i = 0; i < daten.Length; i++) {     int value = Convert.ToInt32(daten[i]);          bytes[i] = (byte)daten[i]; }  However I always get this result: 48 54 48 48 48 48 48 50  I do not need the result as string! I need it as byte array! How do achive this?


apt-get does not always ask for confirmation

I have noticed that when installing software through sudo apt-get install <packagename> it does not always give me the:  Do you want to continue? [Y/n]   Why is this so? I don't think that this has got anything to do with the size of the package as it has sometimes prompted me for a really small package, and then has not for a really large one.    OS Information:  Description:    Ubuntu 14.10 Release:    14.10   Package Information:  apt:   Installed: 1.0.9.2ubuntu2   Candidate: 1.0.9.2ubuntu2   Version table:  *** 1.0.9.2ubuntu2 0         500 http://gb.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages         100 /var/lib/dpkg/status


When is it appropriate to use the idiom "various and sundry"

To my ears the term "various and sundry" sounds redundant. What is the proper use of this idiom?


Agreeing with negative sentences - "Me neither" or "Me too"?

How do we agree with a negative sentence?  What is the choice? 'me neither' or 'me too'?  Say,     Andy:  I don't like my teacher.   Bob:   Me, neither.   OR     Andy:  I don't like my teacher.   Bob:   Me, too.


How to install comands ./configure, make, install in an offline ubuntu 20.04 server

I am in a location where I can only use my mobile wifi tethering & hotspot. I downloaded and installed linux 20.04 server but unfortunately those titled commands are not included. And to get them i have to have internet using the apt and that is not possible for me now. 1- I am not sure why such commands are not included in the ISO files. 2- in such case I need your help a- How to download,install and configure drivers for a USB wifi adapter. b- How to configure the USB wifi network. c- How to download and install and configure the installation commands. only I can reach the internet through tethering between my mobile and my laptop.


Why is my gaming desktop relatively slow at complex animation playback?

I’ve been working on an animation. Due to the large quantity of animated objects (plus a keyframed cloth simulaion), I noticed that when I played through the animation, it went slow. Really slow - about 1 frame/second.  I figured this was just my computer being old and relatively small, so I went to Best Buy and got a liquid-cooled gaming desktop for $1300. I figured it would speed up things.  However, after setting everything up and running the same file through my new PC, I noticed very little change. While the Cycles rendering time is a bit faster now, the amount of time to bake a simulation or even play through the animation has shown little to no improvement on this fabled new desktop.   Is there something I’m missing? It couldn't just be that the animation is too complicated, because it shows no improvement from my old PC. If this is really all it can do, why is it $1100 more than my regular old laptop which functions exactly the same? Is it just not the right kind of computer for the stuff I'm doing?  Here’s a link to the .blend file (it’s kind of big):  2  Here are the PC specifications:  Operating System: Windows 10 Home 64-bit (10.0, Build 16299) Brand: iBuyPower  Chip type: GeForce GTX 1060 3GB  Graphics card: NVIDIA GeForce GTX 1060 3GB  Processor: Intel® Core™ i7-8700 CPU @ 3.20GHz (12 CPUs), ~3.2GHz  Memory: 16384MB RAM  Display Memory: 11138 MB  Available OS Memory: 16300MB RAM  Microsoft Graphics Hybrid: Not Supported  HDR: Not Supported  Any help would be greatly appreciated. Thanks in advance!


When should I use a unique constraint instead of a unique index?

When I want a column to have distinct values, I can either use a constraint  create table t1( id int primary key, code varchar(10) unique NULL ); go   or I can use a unique index  create table t2( id int primary key, code varchar(10) NULL ); go  create unique index I_t2 on t2(code);   Columns with unique constraints seem to be good candidates for unique indexes.  Are there any known reasons to use unique constraints and not to use unique indexes instead?


Why do verbs end with "oke" while their corresponding nouns are written with "c"?

I was wondering about this for a while now. Could anyone explain this phenomenon or is it just "English quirks"?  Examples:   invoke/invocation provoke/provocation revoke/revocation


Timeline not working on deleted questions?

Over on Programmers, we had a troll .  I tried taking a look at  but received a 404 not-found.  I'm a 10k+ user there, so I can see deleted questions and thought I was supposed to be able to see timelines for deleted questions.  This  was asked in 2012 and was closed as a duplicate of  from 2010: with the implied answer of "yes, 10k users can see deleted question timelines."  But the 2010 question doesn't have a resolution to it, and it's not clear what the resolution should be.  Looking in the , the  has been removed along with a comment indicating the functionality may have never worked even though other comments indicate it should have worked.   My question - Should I be able to see the timeline on deleted questions or is the current timeline functionality (still) broken?  Or did something magical happen because that question was closed and deleted so quickly?


biblatex .blg file not created on Windows

The following MWE does not compile a proper bibliography using biblatex with either biber or bibtex backends in TeXstudio (version info below) - but only on Windows 10; none of the following give any errors on my Ubuntu boot:  \documentclass{article} \usepackage[backend=bibtex]{biblatex} % also tried backend=biber \bibliography{tmp} \begin{filecontents}{tmp.bib}   @Article{Ashburner2005,     author   = {Ashburner, John and Friston, Karl J},     title    = {{Unified segmentation.}},     journal  = {NeuroImage},     year     = {2005}   } \end{filecontents} \begin{document}   \cite{Ashburner2005}   \printbibliography \end{document}   The error messages I receive are  bibtex:   Process started: bibtex.exe "tmp" I couldn't open file name `tmp.blg' Process exited normally   biber:  Can't open tmp.blg (Permission denied) at C:\Users\Jesse\AppData\Local\Temp\par-4a65737365\cache-02947398048c143181ebb9c4e483433d2665ac35\inc\lib/Log/Log4perl/Appender/File.pm line 151.   and in both cases the PDF is the unformatted [Ashburner2005], nothing else.  Every time I compile, I clean all files except the .tex files from this directory. I've tried compiling from the command line and via TeXstudio.  Some other possibly useful info from the .log file  ... file 'biblatex-dm.cfg' not found. ... Package biblatex Info: ... file 'tmp.bbl' not found. ...   This seems to be a recent issue. I haven't used Windows in a while ... I'm completely stumped. I suspect it is from a MikTeX update? Questions:   Why is this behavior different with OS? Can you compile my MWE without issue? What is the problem / how can I fix it?   Seems to be related to .  Versions:  TeXstudio 2.12.6 (hg 6632:7777b2b8a906) Using Qt Version 5.9.1, compiled with Qt 5.9.1 R  MiKTeX-pdfTeX 2.9.6499 (1.40.18) (MiKTeX 2.9.6500 64-bit)


Can I extend a class using more than 1 class in PHP?

If I have several classes with functions that I need but want to store separately for organisation, can I extend a class to have both?  i.e. class a extends b extends c  edit: I know how to extend classes one at a time, but I'm looking for a method to instantly extend a class using multiple base classes - AFAIK you can't do this in PHP but there should be ways around it without resorting to class c extends b, class b extends a


How to get user-ip, location, country name, currency and time in PHP

I want the smallest possible code for this question. I never want to follow other questions as they never helped me and given me back to back errors


Where can I ask for help with web design?

I've been designing the website for my software company for weeks now and I just can't seem to get the front page to look right. Is there a website by StackExchange where I can ask for advice and ideas for a my front page? I've looked at ProWebmasters and GraphicDesign but I wasn't sure about either of them.  Alternatively, if there isn't a stack exchange website that is suitable does anybody know any website at all where I could get this kind of help. The faster the better!


Don't show questions with ignored tags on Hot Network Questions

There are some types of questions I don’t want to see, and so I . However, I've found that questions with these tags can still show up in Hot Network Questions.   For example, I've ignored the tag for the latest Star Wars movie on Scifi/Fantasy Stack Exchange, but questions for that movie from that site show up in Hot Network Questions.  Would it be possible to make it so that Hot Network Questions does not show questions that contain tags I am ignoring on the site that the question originates from?


I am having trouble installing steam and other applications

When I install steam on ubuntu it works then at the end of the steam installation process it gives me the error message missing the following 32 bit libraries: libgl.so.1 the closes. How can i fix this? There is no information on the steam support page to help. I fixed the initial problem but now i am missing new libraries.


Is there an open source alternative to "Adobe Digital Editions"?

For the moment I run Adobe Digital Editions under Wine to download ebooks burdened with ditigal restriction management. I only use it to open .acsm files supplied by ebook-shops, which contain authentication information required to download the actual DRM'ed ebook files, which I then transfer to my reader-device with calibre. My question is, if there exist open source alternatives to Adobe Digital Editions. They don't need much functionality. I just want to put the .acsm-file in and get the .epub out (no, I don't want to remove the drm, that'd be illegal afaik).


Overleaf V2 does not seem to have a way to get the BBL file for arxiv, how do I get it?


How to transfer files from Ubuntu to Android via Wi-Fi?

How can I transfer my files from Ubuntu desktop to my Android phone using Wi-Fi network?


Is there any way to automatically print en dashes whenever an em dash (the UTF character, not threes dashes ---) is used?


How can I compare two strings from different tables in same SQLite database?

I tought it would be something like this:  Cursor c = contactDBHelper.listOne(id);     Cursor d = contactDBHelper.listOneText();      if(c.moveToFirst()){         do{             if(c.getString(5).toString() == d.getString(1).toString()){                 txt.setText(d.getString(1));              }else{                 customR.setChecked(true);                 txt.setText(c.getString(5));                     standardR.setChecked(false);             }           }while(c.moveToNext());     }   But apperently its not. Anyone got any tips on how to accomplish this?


“John Doe”, “Jane Doe” - Why are they used many times?

I posted a question (  ) and they told me to post that question here. So I'm doing it.   I received answer that John doe is used as anyonymous person (victim in most cases) as placeholder for name.  Is there reason why it's "John Doe"?


If $A$ commutes with $B$ and $B$ commutes with $C$, then $A$ commutes with $C$

Let $A,B,C \in \ M(3,\mathbb{R})$ be such that $A$ commutes with $B $and $B$ commutes with $C$. $B$ is not scalar matrix. Then, $A$ commutes with $C$.   Is this true or false? I think it is not true, but cannot think of a counterexample. Any suggestions?


What does f/4.5-5.6G stand for on a Nikon Lens?

Can you please explain me what is 4.5 - 5.6G in a lense description.And how it is different from other generation of like 3.5G or 6.5.  "Nikon AF-S DX NIKKOR 55 - 300 mm f/4.5-5.6G ED VR Lens"


Do i need a canadian visa for a connecting flight to bogota colombia?

I have a Venezuelan passport. I am flying from US to Bogota, Colombia and will be changing flights in Toronto. I will not be leaving the airport and my layover in Toronto is for 2 hours. I have a L1 visa for the US. My passport is from Venezuela. Airline: Air Canada. Thank you.


Initial conditions of the origin of the universe

I'm not quite sure this question fits the format of this site but I try to word it the best I can to comply the rules.  The question is simple: How far can we go talking about the origin of the universe before admitting that the initial conditions cannot be explained without postulating some kind of god-like, physics-unexplainable, force/whatever?  I'm interested to know if there's a mainstream physics theory that aims to prove this.


"The problem is who can we get to replace her" vs. "The problem is who we can get to replace her" Which one is correct and why?


I was doing 'articles' exercise on the web. I found this sentence,     Ben has a terrible headache.   Why 'a' is used here. The terrible headache is not a countable noun. Thus, 'a' should not be used here. I feel the correct sentence is "Ben has terrible headache." However, the correct answer is the following: "Ben has a terrible headache."  I am confused. Please do help me.   Can I say, "I had headache."?


Weird capacitor looking things shows up in altium when I zoom into the pcb layout

I am using altium for first time for my little circuit project. My layout start showing these weird capacitor looking things in PCB layout. What exactly are they and what are they used for and how do I disable them to show up on layout?


What is the shortest way to create post form and submit it using jQuery?

I have a button with attributes data-url and data-parameter and need to post that to controller. Thing is, that controller will return a redirect, so $.post not really helpful here, I'm thinking about creating form on the fly and submitting it. I think that is quite common task, but I couldn't find any shortcut on jQuery to do this, what would be the shortest/best way to do it?


How can I keep track of anonymous users?

I'm developing a module based on commerce that keeps track of certain user product selections by writing them to a database table. To keep track of who selected what I use the user id for registered users and the session id for unregistered ones. Or at least I would if it weren't for the fact that Drupal keeps changing the session id for every request.  Why is it doing that and how do I make it stop? Or is there a Drupal way of tracking anonymous users that does not involve session_id()?


Principal Components, Canonical Correlation and Eigenvalue problems

It is well known that the solution to the optimization problems proposed in Principal Components and Canonical Correlation Analysis are given by the solution to eigenvalue problems and generalized eigenvalue problems respectively. My linear algebra is quite rusty and I wanted to know if anyone could give me a semi-formal, albeit intuitive explanation on why this is so.


Progress bar position issue in android app

Progress bar position isn't proper in Feed screen.  App version: 1.0.21


Use cement blocks for egress window well surrounding

I need to make an egress window and the depth below grade is 24".  However, most egress window wells at home improvement stores are 20" in height and I need to buy 2 of them which made the cost double.    I am thinking about using cement blocks to make the well like so    It may cost me only $200 vs $800.  My questions: 1. Is this allow by code (in general)? I am in Washington State   How to prevent water leakage inside the well? Basically do I need to seal it (like bathroom)?   Thanks.


Organize figures in two columns and one above the other

I would like to organize 3 figures as it's shown in the figure below:    Can anyone help?


Need and best way to determine normality of data

I believe there are many ways to determine if data is normal or not:    histogram shape QQ plot skewness kurtosis shapiro test.    Which of the above is the best way to determine if data is normal and one can proceed with parametric tests?   Edit:  After going through this thread () as suggested in comments by @Luca, I am inclined to conclude that:   Formal tests can be misleading (may show non-normal distribution in large sample sizes, even if data is largely normal); hence can be avoided.  Non-parametric tests should be used for small samples. They are reasonably good even for normal data. Parametric tests should be for large samples. They are reasonably good even for non-normal large data. qqnorm(vect) & hist(vect) (R commands) plots may be best for graphic / visual assessment.


How to see that $\lim \frac{k}{\sqrt[k]{k!}}=e$?

There is a way to see that $\lim \frac{k}{\sqrt[k]{k!}}=e$ from these definitions?  $$e=\lim\left(1+\frac1k\right)^{\frac1k};\quad e=\sum\frac1{k!}$$  If it is not possible, how to deal with the limit of the title to get it limit? Thank you.


I will use the notation and language of Stichtenoth, Algebraic Function Fields and Codes.  Let $F$ be a function field over a finite field $\mathbb F_q$, $S$ a non empty set of places (possibly infinite) and $O_S$ the holomorphy ring of $S$, i.e., $O_S:=\bigcap_{P\in S} O_P$ (being $O_P$ the valuation ring of the place $P$).  Give necessary and sufficient conditions for $O_S$ to be a Principal Ideal Domain.  Many thanks in advance!  G.


How do I format an usb to ext4 to use it on Ubuntu without without sudo permisions?

I use Ubuntu in a machine I own and in a machine I only have standard user permissions ( not admin). Is there any way to format a usb to ext4 and make it work (file ownership problems) if I cannot run sudo commands on the second machine? Ideally the solution would work on any other Ubuntu/Linux with whatever kind of account.


How to determine the cut-off per day in StackOverFlow?

I just want to know if SO has some sort of cutoff time per day? Is it fixed in one time (e.g. 00:00) or has some sort of related to when you have registered? (Scenario: For example I registered at exactly 2pm then the next day 2pm would be the cutoff and count as one day when I login). If not, what time is it? Is it applied to all SE Network?  Thank you.


I use . I love .  How do I replace Notepad with Notepad2 in Windows 7, so I never use the old version of Notepad again?


Optimal algorithm for finding the odd sphere with a balance scale

Say we have $N$ spheres indexed as $1,2,3,\dotsc, N$ such that all of them have identical weight apart from one, and we don't know if that one is heavier or lighter. We have to determine which sphere has the odd weight using just a balance scale.  We could solve this problem by weighing repeatedly, but I am interested in a solution involving weighing as few times as possible, so my question is what is the optimal algorithm for this task?


Is there any benefit to removing the X-Mas tree from my land?

I noticed with the holiday patch that there are new trees and shrubs that spawn on my land.  One popped up today, being specifically an X-Mas tree - which costs 25,000 gold to remove.   Is there any benefit to removing this X-Mas tree?  Is there any benefit to leaving it there?    It is noticeably the most expensive obstacle to remove yet.


I wish to add the same thing which is 'select service' by clicking the add button and want to have the same functionality. I've been trying this..I also add the 'select service' by clicking the add button which is obtained through the cloning of the individual div(s). But I found that, through cloning I can't get the job done as the functionality won't work for the clone(i.e I can't get the div(s) for shirt,pant,suit by clicking the buttons). I also attach the cloning part coding but it commented. So, rather than cloning, is there any possible way to do this with the help of jquery?    $(function() {   $('#selectService').change(function() {     $('.hidden-fields').hide();     var $target = $(this).val();     $('#' + $target).show();   });   $("#add").click(function() {      var $orderClone  = $("#orderClone:last");      var $clone = $orderClone.clone();      $clone.find('*').val('');      $orderClone.after($clone);    });  }); .hidden-fields {   display: none; }

         Service

                    <select id="selectService" name="service[]" class="form-controlservice">             <option disabled="" selected="">Select Service</option>             <option id="one" value="shirt">Shirt</option>             <option value="pant">Pant</option>             <option value="suit">Suit</option>           </select>

Shirt

 Body     <input type="text" class="form-control" name="body" />

     Shoulder     <input type="text" class="form-control" name="shoulder" />

     Neck     <input type="text" class="form-control" name="neck" />

Pant

 Length     <input type="text" class="form-control" name="length" />

     Thigh     <input type="text" class="form-control" name="thigh" />

Suit

 Name     <input type="text" class="form-control" name="length" />

     Name     <input type="text" class="form-control" name="thigh" />

 <button type="button" id="add" name="add" class="btn btn-success" >Add</button>


Couldn't return papers to border officials last time. Should I be afraid when going back to USA?

Three years ago I was on holidays in Canada and visited the Niagara Falls. I also went to the American side of the falls and got something like a "short-term visa". I also got a green paper with all my information (name, passport number, etc.) which I should give back at the border when leaving USA again.  When I got back from the USA side of the falls, the border was abandoned. Therefore I couldn't give the green paper back to the officials. Now I'm really a bit afraid that in their computer system I still haven't left the USA.  Next summer I plan to visit USA again. Can I get into trouble at the border?


Given a DateTime object, how do I get an ISO 8601 date in string format?

Given:  DateTime.UtcNow   How do I get a string which represents the same value in an -compliant format?  Note that ISO 8601 defines a number of similar formats. The specific format I am looking for is:  yyyy-MM-ddTHH:mm:ssZ


Travel in schengen countries without carrying passport for non EU citizen

I am an Indian student in France on a 6 month visa for an Internship. Currently I don't have my passport with me as I have applied for UK visa and am not hoping to receive it back in next 10 days. I was wondering if I can travel to Germany without my passport in hand.   The documents I can carry are a photocopy of my passport's identity page, Residence proof here, proof of Internship in France,Indian national identity card, receipt from UK embassy stating my visa application.   Please note that I do NOT have a photocopy of French visa page.


Edit: I figured it out!  Answer is posted below. Thanks JSD!  I must be missing something because I thought this was a fairly simple process.  I have already copied the font over to my project folder.  I am trying to use the font in a UILabel on a Table Cell with this code:  UILabel *cellTitle = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 300, 40)]; cellTitle.font = [UIFont fontWithName:@"Source Sans Pro Black" size:50]; [cell.contentView addSubview:cellTitle];   It doesn't seem to be working.  The text appears but not with the custom font.  What am I missing?  EDIT:  Apparently if I use this code instead   cellTitle.font = [UIFont fontWithName:@"Source Sans Pro" size:50];   This works but it's only using the last font in my array of my pList file, which is only the Regular version of the font.  Has anyone ever had this issue before?  None of these codes work either:  cellTitle.font = [UIFont fontWithName:@"Source Sans Pro Bold" size:50]; cellTitle.font = [UIFont fontWithName:@"Source Sans Pro Regular" size:50];   This is the font in my font book:    PList file:


Installing IE8 in wine - error rename/sha1sum mismatch winetest.cat

Please note, this is an informative QA post rather than a question specific, due to this issue popping up many a time.  QUESTION / ISSUE  How to solve the issue of installing IE8 (Internet Explorer) in wine (any version - to my knowledge).  Related Wine Errors:  Terminal install method  Installing IE8:  winetricks -q ie8   should give you a similar error:  Executing w_do_call ie8 Executing load_ie8 Executing wine iexplore -unregserver Executing w_do_call msls31 msls31 already installed, skipping Using native,builtin override for following DLLs: iexplore.exe itircl itss jscript msctf mshtml shdoclc shdocvw shlwapi urlmon wininet xmllite Executing winetricks_early_wine regedit /S C:\windows\Temp\_ie8\override-dll.reg Using builtin override for following DLLs: updspapi Executing winetricks_early_wine regedit /S C:\windows\Temp\_ie8\override-dll.reg Downloading http://winezeug.googlecode.com/svn/trunk/winetricks_files/winetest.cat to /home/user/.cache/winetricks/ie8 --2016-09-08 23:03:12--  http://winezeug.googlecode.com/svn/trunk/winetricks_files/winetest.cat Resolving winezeug.googlecode.com (winezeug.googlecode.com)... 66.102.1.82, 2a00:1450:400c:c06::52 Connecting to winezeug.googlecode.com (winezeug.googlecode.com)|66.102.1.82|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2016-09-08 23:03:13 ERROR 404: Not Found.  ------------------------------------------------------ Downloading http://winezeug.googlecode.com/svn/trunk/winetricks_files/winetest.cat failed ------------------------------------------------------   GUI Install via Winetricks GUI method  or using the GUI method, you should see a error dialog similar to this:


Customize author and affiliation using authblk

I have some problems when customizing author and affiliation using authblk.    The above picture shows the author and affiliation format generated by my MWE.  I want to:   typeset the author names bold face. I use the command \renewcommand*{\Authfont}{\bfseries}. However, it will turn both author names and affiliation boldface. I do not know what the problem is. I want to put XXXXX in affiliation 1 together with 200021 in a new line. How can I achieve this? Thanks.   The following is my MWE:  \documentclass{article} \usepackage[left=3.00cm, right=3.00cm, top=2.00cm, bottom=2.00cm]{geometry} \usepackage{authblk}  \renewcommand*{\Authsep}{, } \renewcommand*{\Authand}{, } \renewcommand*{\Authands}{, } \renewcommand*{\Affilfont}{\normalsize} %\renewcommand*{\Authfont}{\bfseries}    % make author names boldface     \setlength{\affilsep}{2em}   % set the space between author and affiliation  \title{Aa Article Title} \author[1]{Aaaaaa Aa} \author[1*]{Bbbbb Bb} \author[2]{Ccccccc Ccc} \affil[1]{Department of Chemical Engineering, University of AAAAA BBBBBB, CCCCC road, XXXXX 200021, Y Country}  \affil[2]{AAAAAA Laboratory, University of AAAAA BBBBBB, XXXXX 303939, Z Country} \date{}      \begin{document} \maketitle  This is an article. \end{document}


I am trying to prevent Recordtype from being changed for Account. when I use ISCHANGED(   RecordType.Name   ) in validation rule, the following error appears:  Error: The ISCHANGED function cannot reference the RecordType.Name field. I have tried using different fields with the same error. I noted that the record type is another object. if this is the reason why I cannot, is there a suggestion as to how I can do this?


Is the operator $T$ defined by $(Tx)(t)=tx(t)$ $(0<t<1)$ a compact operator in $L^2(0,1)$ ? We have know the compact set in $C[a,b]$ by Arzelà–Ascoli theorem, but I don’t know how to show the compactness in $L^p$ space.


Prove a function is constant. (complex analysis)

Suppose function $f$ is holomorphic on $\mathbb C-\{0\}$ and satisfies $$|f(z)| \le \sqrt {|z|} + \frac{1}{\sqrt {|z|}}.$$ Prove that $f$ is a constant function. I think it's related to Laurent series representation and ML inequality but I have no idea how to prove it. Can anyone give me some hints? Thanks in advance!


Can the differences of a 18MP and 24MP camera be spotted?

Can the differences of an 18MP and 24MP camera be spotted? I have a 500d, old, but still decent for the use I give to it...


Is it possible to change Unity 3D to 2D and will I gain any performance boost after that?

How to change Unity 3D to 2D on Ubuntu 14.04? And, will I get any improvements in performance if do that? What software utilities will I lose if I switch to from Unity 3D to 2D?


I have three UIBarButtonItem created as below. They align left and I'd like to align center so there isn't a gap on the right side. I don't see an align property on UIToolBar. Is there another way to accomplish this?  //create some buttons UIBarButtonItem *aboutButton = [[UIBarButtonItem alloc] initWithTitle:@"About" style:UIBarButtonItemStyleBordered target:self action:@selector(showAbout:)]; [toolbar setItems:[NSArray arrayWithObjects:settingsButton,deleteButton,aboutButton,nil]]; //Add the toolbar as a subview to the navigation controller. [self.navigationController.view addSubview:toolbar];


I'm trying to do a login in my Ubuntu, but I can't:   I read Q&A about enabling root user, but how I can do it without a sudoer user? How can I add a sudoer user without having root access? I think it is a loop!


What do I use in this instance? Suffering or suffer?

I enjoy watching people suffering. I enjoy watching people suffer.   I feel more comfortable using the second one, but I also think that the first one is right... so which one should I use?


Why don't non-Hermitian operators with all real-eigenvalues correspond to observables?

Suppose you could construct an operator that was non-Hermitian but had all real eigenvalues or could at least be restricted in a way to create only real eigenvalues, why would this operator not correspond to an observable quantity?


Our production environment just froze* this morning for a while when altering a table, adding a column actually.   Offending SQL:ALTER TABLE cliente ADD COLUMN topicos character varying(20)[];  * Login into our system requires a select from that very same table, so no one could login during the alter table. We actually had to kill the process to allow the system resume normal operations.    Table Structure:   CREATE TABLE cliente (   rut character varying(30) NOT NULL,   nombre character varying(150) NOT NULL,   razon_social character varying(150) NOT NULL,   direccion character varying(200) NOT NULL,   comuna character varying(100) NOT NULL,   ciudad character varying(100) NOT NULL,   codigo_pais character varying(3) NOT NULL,   activo boolean DEFAULT true,   id serial NOT NULL,   stock boolean DEFAULT false,   vigente boolean DEFAULT true,   clase integer DEFAULT 1,   plan integer DEFAULT 1,   plantilla character varying(15) DEFAULT 'WAYPOINT'::character varying,   facturable integer DEFAULT 1,   toolkit integer DEFAULT 0,   propietario integer DEFAULT 0,   creacion timestamp without time zone DEFAULT now(),   codelco boolean NOT NULL DEFAULT false,   familia integer DEFAULT 0,   enabled_machines boolean DEFAULT false,   enabled_canbus boolean DEFAULT false,   enabled_horometro boolean DEFAULT false,   enabled_comap boolean DEFAULT false,   enabled_frio boolean DEFAULT false,   enabled_panico boolean DEFAULT false,   enabled_puerta boolean DEFAULT false,   enabled_rpm boolean DEFAULT false,   enabled_supervisor integer DEFAULT 0,   demo boolean,   interno boolean,   mqtt_enable boolean NOT NULL DEFAULT false,   topicos character varying(20)[],   CONSTRAINT pk_cliente PRIMARY KEY (rut),   CONSTRAINT fk_cliente_familiaid FOREIGN KEY (familia)       REFERENCES cliente_familia (id) MATCH SIMPLE       ON UPDATE NO ACTION ON DELETE NO ACTION,   CONSTRAINT pk_pais FOREIGN KEY (codigo_pais)       REFERENCES pais (codigo) MATCH SIMPLE       ON UPDATE NO ACTION ON DELETE NO ACTION,   CONSTRAINT unique_id_cliente UNIQUE (id) ) WITH (   OIDS=FALSE ); ALTER TABLE cliente   OWNER TO waypoint; GRANT ALL ON TABLE cliente TO waypoint; GRANT ALL ON TABLE cliente TO waypointtx; GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE cliente TO waypointtomcat; GRANT SELECT ON TABLE cliente TO waypointphp; GRANT SELECT ON TABLE cliente TO waypointpphppublic; GRANT ALL ON TABLE cliente TO waypointsoporte; GRANT SELECT, INSERT ON TABLE cliente TO waypointsalesforce; GRANT SELECT ON TABLE cliente TO waypointadminuser; GRANT SELECT ON TABLE cliente TO waypointagenda; GRANT SELECT ON TABLE cliente TO waypointmachines; GRANT SELECT ON TABLE cliente TO waypointreports; GRANT SELECT ON TABLE cliente TO readonly;  CREATE INDEX index_cliente   ON cliente   USING btree   (rut COLLATE pg_catalog."default");  CREATE INDEX index_cliente_activo   ON cliente   USING btree   (activo);  CREATE INDEX index_cliente_id_activo   ON cliente   USING btree   (id, activo);  CREATE INDEX index_cliente_rut_activo   ON cliente   USING btree   (rut COLLATE pg_catalog."default", activo);   CREATE TRIGGER trigger_default_admin   AFTER INSERT   ON cliente   FOR EACH ROW   EXECUTE PROCEDURE crea_default_admin();  CREATE TRIGGER trigger_default_grupo   AFTER INSERT   ON cliente   FOR EACH ROW   EXECUTE PROCEDURE crea_default_clientegrupo();     Should I disable CONSTRAINTS, TRIGGERS, or something else?  Perhaps any DB Tuning?  What else should I provide for further analysis?  Version: PostgreSQL 9.4.5 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit


Differentiating $\mbox{tr} (ABA^TC)$ w.r.t. $A$

Why is $\nabla_A \mbox{tr} (ABA^TC) = CAB + C^TAB^T$?   Here $A, B, C, D$ are all $n \times n$ matrices.  $$\nabla_A f(A) = \left[\begin{matrix} \frac{\partial f}{\partial A_{11}}... \frac{\partial f}{\partial A_{1n}}\\ ...\\ \frac{\partial f}{\partial A_{n1}}... \frac{\partial f}{\partial A_{nn}}\\ \end{matrix}\right]$$      I tried to prove it in this way:  $$\begin{align} \nabla_A \mbox{tr} (ABA^TC) &= \nabla_Atr (BA^TC)A\\ &= \nabla_A \mbox{tr} DA ......let  \ D=BA^TC\\ &= \nabla_A \mbox{tr} AD\\ &=D^T\\ &=B^TAC^T\end{align}$$  Since $B^TAC^T \neq CAB + C^TAB^T$, there must be something wrong in my derivation. How to prove this property?


Java is always pass by value so why am I getting reference when using Array.get(index)?

I was working on this bug in my application and saw something very weird:      selectedService = dataResponse.getServices().get(position);     selectedService.setPrice(3000);     dataResponse.getServices().get(position).getPrice(); // Returns 3000 which should be 0   Shouldn't the get method copy the object into selectedService? If not how to copy it?


Proxy setting in terminal but my password consist '@'

I was googling about proxy setting in terminal. Example answer:  For your apt-get to work, you should edit your apt config file: sudo gedit /etc/apt/apt.conf  And add Acquire::http::Proxy "http://username:password@proxyhost:port/"; The syntax shown above should be strictly followed. This configuration may fail if your username or password has an '@' in it. You can also add proxy configuration for other protocols such as FTP.  My problem is how when my password consist '@' character, but not change my password Thanks.


Proving $(A\times C)\cup(B\times D)\subseteq(A\cup B)\times(C\cup D)$

I have been trying to prove the following for a while now, but I can't get to the solution:  $$(A\times C)\cup(B\times D)\subseteq(A\cup B)\times(C\cup D)$$  Can anyone help me?


Partition of Naturals in Arithmetic Progression

In Stein and Shakarchi's Complex Analysis, Problem 22 of Chapter 1 reads     Problem. Let $\mathbf N=\{1, 2, 3, \ldots \}$.   A subset $S$ of $\mathbf N$ is said to be in arithmetic progression is there exists $a$ and $d$ in $\mathbf N$ such that $S=\{a, a+d, a+2d, \ldots\}$.   The number $d$ is called the step size of $S$.   Show that $\mathbf N$ cannot be partitioned into arithmetic progressions with pairwise distinct step sizes (except for the trivial case when there is only one AP).   First I would like to say that it is quite frustrating to not be able to solve this problem by an elementary combinatorial kind of argument. I tried for a long time and made a little bit of progress but am nowhere close to a solution. If you have an elementary proof then please share it.  After some time I read the hint, which essentially asked to consider the power series $\sum_{n\in \mathbf N} z^n$.  Following the hint, suppose $A_1, \ldots, A_n$ be APs with pairwise distinct step sizes which partition $\mathbf N$. Say $A_i=\{a_i, a_i+d_i, a_i+2d_i, \ldots\}$. Then we have $$\frac{z}{1-z}  = \frac{z^{a_1}}{1-z^{d_1}}+\cdots + \frac{z^{a_n}}{1-z^{d_n}}$$  in the interior of the closed unit disc.  But even from here I am not able to finish the argument.


Anorgasmia with SSRI and SNRI prescriptions

I am adding to the beginning of this question the caveat that I am not asking this for me or anyone in particular.  I am studying counselling and have come across this issue whilst researching and it lead me to try and work out what options are available when helping those who come to me with sexual dysfunctions. Whilst Higgins, et al. (2010) highlights the problem with sexual dysfunctions whilst prescribed Selective Serotonin Reuptake Inhibitors (SSRIs) and Serotonin Norepinephrine Reuptake Inhibitors (SNRIs), I am going to split my question in parts for easier answering. This question will be concerning .  Sexual dysfunction is a common side effect of antidepressants and can have significant impact on the person’s quality of life, relationships, mental health, and recovery. Higgins et al points out that  The sexual problems reported range from decreased sexual desire, decreased sexual excitement, diminished or delayed orgasm, to erection or delayed ejaculation problems. There are a number of case reports of sexual side effects, such as priapism, painful ejaculation, penile anesthesia, loss of sensation in the vagina and nipples, persistent genital arousal and nonpuerperal lactation in women.  The addition of sildenafil (Viagra) will improve erectile dysfunction in men (Rudkin, et al., 2004)  but what about anorgasmia? The side effects don't seem to be rare from my research online and many patients are not even told to look for it. If a man has premature ejaculations, the side effect of anorgasmia usually helps that nicely, but if it already takes long enough, it might take even longer. Higgins et al. also points out that with adjunct treatment (introducing another drug to counteract side-effects), clients treated with bupropion SR showed a significantly greater improvement in desire and frequency of engaging in sexual activity; and in a systematic review of medication switching strategies for managing sexual dysfunction, switching from SSRI to non-SSRI antidepressants may produce varying individual responses, and although the sexual dysfunction may recede, the depressive illness may reassert itself. So has there been any studies which anyone knows of which definitively help with the problem of anorgasmia whilst taking SSRI or SNRI medication?  References Higgins, A., Nash, M., and Lynch, A. M. (2010). Antidepressant-associated sexual dysfunction: impact, effects, and treatment In:  Drug, Healthcare and Patient Safety Vol.2: pp 141-150PMCID:  DOI:  Rudkin L, Taylor M, Hawton K. (2004). Strategies for managing sexual dysfunction induced by antidepressant medication In: Cochrane Database of Systematic reviews 18(4): pp 1465-1858PMID:   DOI:


I have this code where i have two fixed navbars at the top and bottom.  I want the box to be of the size between the two navbars and to change it with the size of the nav changing with the size of the screen to always see the margin and the text of the cards.    body, html{   width:100%;   height:100%;   margin:0; }    .nav{   padding:5px;   margin:0;   position:fixed;   width:100%;   background-color:#84a9ca;   font-size:5vh; } .bas{   opacity:0.5;   bottom:0; } .box{   width:100%;   height:100%;   background-color:#6ec6e1;   display:flex;   justify-content:space-around;    } .element{   background-color:#488a45;   width:100px;   margin:5px; }
nav

element

element

element

nav


What is the command for the Weierstrass p function, ℘?

I'd like to write the following equation:    I don't know which symbol is used for the P in the numerator. I have tried \mathcal{}, \mathfrak{}, and \mathsrc{}, but it wasn't any of these.  Could someone also recommend notation to describe the power density vector?


Please evaluate the limit L given below.

$$ L = \lim_{n \to \infty}\prod_{i = 1}^{n}\left(\, 1 + {i \over n^{2}}\,\right) $$  Consider, $$ L_{1} = \prod_{i = 1}^{n}\lim_{n \to \infty}\left(\,1 + {i \over n^{2}}\,\right) $$ Q1. Is $L = L_{1}$ ?. Probably not but why can't I distribute the limit over product ?.  Q2. As I see it, each term in $L_{1}$ is individually $1$, therefore $L_{1} = 1\cdot 1\cdots \infty$ times $ = 1$. But if I write $L_{2} = \lim_{n \to \infty}\left(\, 1 + {1 \over n}\,\right)^{n}$ as $$ \lim_{n \to \infty}\left(\,1 + {1 \over n}\,\right)\cdot \lim_{n \to \infty}\left(\, 1 + {1 \over n}\,\right)\cdots \infty\ \mbox{times,} $$ I get $1$ again because each term goes to $1$. However, it is equal to $\,\mathrm{e}$. The mistake lies in the distribution of limit part. What is the mistake ?.  Please be elaborate because I can't get it ?.


Nginx Re-write: Different URL based on incoming URL format

I have a server that will have 2 different types/formats of requests coming in. Both request URL's will start with: http://myredirect.mycompany.com/browse/. After '/browse/' it will either be a number:  http://myredirect.mycompany.com/browse/12345, it can be any number  or it will be 2 to 4 capital letters followed by a '-' followed by a number:   http://myredirect.mycompany.com/browse/QA-12345  What I want to do redirect to a different URL that's based on the incoming URL. For example:  http://myredirect.mycompany.com/browse/12345 would redirect to http://serverA.mycompany.com/show_item.cgi?12345   and  http://myredirect.mycompany.com/browse/QA-12345 would redirect to http://serverB.mycompany.com/browse/QA-12345   I think what I want is to use an nginx rewrite but I'm not sure how to form. From what I've googled, you can use regex in rewrites so I could use something like  ^(/browse/[0-9])?   for the first one. But how do I actually pull that number into the redirect URL? Thanks!


Which is the largest power of natural number that can be evaluated by computers? For example if we take a very large power of 7: $7^{120000000000}$. Can a computer calculate this number?


Identify the contents a file through a program in python

I have a file . To me it appears it is a binary file. This is raw file and I believe that it has the stock information in OHLCV (Open, High, Low, Close, Volume). Besides it may also have some text.  One of the entries that I could possibly have for OHLCV is  464.95, 468.3, 460, 465.65, 3957854   This is the code that I have tried. I dont fully understand about ASCII and Unicode.  input_file = "00063181.dat" # tata motors with open(input_file, "rb") as fh:     buf = fh.read() output_l = list(map(int , buf)) print (output_l)   My Doubt: How do I decode this file and make sense out of it? Is there any way for me to read this file through a program written in python and separate the text from int/float? I am using Python 3 and Win 10 64 bit.


Why was the Star Destroyer flying over Tatooine in A New Hope?

I know it was chasing the Tantive IV, but had it already been there before the Tantive IV arrived or did it chase the Tantive IV to Tatooine? Did it have something to do with Vader ordering the execution of Owen and Beru Lars? Does anyone think that this question will be answered in Rogue One?


Why doesn't the Mos Eisley Cantina allow droids?

"We don't serve their kind here."  The bartender at the Mos Eisley Cantina makes it clear to Luke that Threepio and Artoo have to wait outside. With such upstanding citizens as the Jawas around, I know I wouldn't feel safe leaving my droids unattended.  Why then does the bartender (or possibly his employer) think it's okay to make potential customers leave their droids outside? What is the rationale?


My grub has the following versions which I want to remove.   Ubuntu, with Linux 4.1.0-rc5-next-20150529 Ubuntu, with Linux 4.1.0-rc5-next-20150529.old Ubuntu, with Linux 4.1.0-rc4-next-20150525 Ubuntu, with Linux 4.0.0-rc6-next-20150402+ Ubuntu, with Linux 4.0.0-rc6-next-20150402+.old   I tried the following methods to remove:  Using Synaptic tool and I have typed the following commands:   uname -r     dpkg --list | grep linux-image      sudo apt-get purge linux-image-x.x.x.x-xyz   sudo update-grub2   Both of the methods failed to remove the kernel versions.


The direction of frictional force in smooth rolling motion

I want to ask about the direction of frictional force in smooth rolling motion which means the rolling object doesn't slide on the surface.  Here is the first case, the wheel rolls to the right so the rotation is clockwise. At the point P, velocity is zero. To make the wheel rolls faster, it bottom must rotate to the left faster and the frictional force direct to the right to oppose its tendency to slide as to keep v=0     However, in this case it's also smooth rolling motion but the direction is different. It is explained in the book that if the object slide, it will slide down the ramp so the frictional force must be up to the ramp    So, in the first case the frictional force have the same direction with the acceleration of the center of mass but it's not in the latter one. Can someone explain the difference between those 2.   If the object want to slide, it first must rolls faster with very big acceleration. I can understand the first case, the force act ton the point P direct to the left to make the wheel rolling faster so the frictional force must direct to the right. In the second case, the object rolls to the left so the force acting on P must direct to the right so why the frictional force direct to the right. Isn't its direction must be to the left.   Also, in both cases above, considering accelerating object but not considering object which move very fast. If the object is rolling very fast at a direction, to which direction will the frictional force be?


Please help me find the value of the following integral: $$\frac{(5050)\int^1_0(1-x^{50})^{100} dx}{\int^1_0(1-x^{50})^{101} dx}$$ I tried solving both numerator and denominator via by-parts but it isn't giving me a conclusive solution. Any other suggestions?


How to calculate the distance between this two houses?

A narrow street is lined with tall buildings. An $x$ foot long ladder is rested at the base of the building on the right side of the street and leans on the building on the left side. A $y$ foot long ladder is rested at the base of the building on the left side of the street and leans on the building on the right side. The point where the two ladders cross is exactly $c$ feet from the ground. How wide is the street?


How do I /testfor more than 1 item in an inventory without a need to use the /scoreboard command?

I would like to test for more than 1 item in one's inventory. However, I'm having some difficulties.  I have tried the /testfor @p[r=2] {Inventory [{id:"minecraft:gold_nugget"}]} command, but it doesn't work. It says "UUID incorrect". I would rather not use scoreboards, because I don't really get along too well with it.  Can someone please put the command to set the amount? (I.E. Of the gold nuggets). If it matters, I would like it in command block form.  Thanks in advance.


Pullback of locally free sheaves is locally free

states that if $f:X \rightarrow Y$ is a morphism of ringed space, $G$ is a locally free $O_Y$-module, then $f^*G$ is a locally free $O_X$ module.     Suppose that $G$ is a locally free $O_Y$ module, hence it is a free $O_Y|_U=O_U$ module. We have an induced map  $$f^{-1}(U) \rightarrow U$$ given by restriction of morphism of ringed spaces.   Hence, as $\bigoplus O_U \simeq G|_U$, $f^*:Mod(O_U) \rightarrow Mod(O_{f^{-1}(U)})$ is functorial, $f^*(G|_U) = (f^*G)|_{f^{-1}(U)}$, we have isomoprhism,  $$ \bigoplus O_{f^{-1}(U)} \simeq (f^*G)|_{f^{-1}(U)} $$


By default my Windows PowerShell starts in C:\Users\Santosh, my XAMPP installation is in D:\ so the htdocs folder is located at D:\xampp\htdocs. If I have to edit something in htdocs folder then I have to type full cd D:\xampp\htdocs\ (autocompletion is not so kind) then edit that file.  If this PowerShell were a Bash I would do this in .bash_aliases file:  alias htdocs='cd D:\xampp\htdocs'  Is it possible to maintain Bash aliases like file and alias any command in PowerShell?


$S = \sum_{m=1}^{\infty} \frac{1}{2m+s}\frac{1}{2m+r}$  $r>s>0$ and both $r,s$ integers.  write $x=2m+s$ and $y=r-s$. \begin{align} &S = \sum_{m=1}^{\infty} \frac{1}{2m+s}\frac{1}{2m+r} =  \sum_{x=s+2}^{\infty} \frac{1}{x}\frac{1}{x+y} =  \sum_{x=s+2}^{\infty} \left( \frac{1}{xy} - \frac{1}{y(x+y)} \right)=\\  &\frac{1}{y}\sum_{x=s+2}^{\infty} \left( \frac{1}{x} - \frac{1}{x+y} \right) = \frac{1}{r-s}\sum_{x=s+2}^{\infty} \left( \frac{1}{x} - \frac{1}{x+r-s} \right) \end{align}  From this post   \begin{align} S = \frac{1}{r-s}\sum_{x=s+2}^{\infty} \left( \frac{1}{x} - \frac{1}{x+r-s} \right) =\frac{1}{r-s} \left( \frac{1}{s+2} + \frac{1}{s+3} \cdots + \frac{1}{r}\right) \end{align}  Is the above correct? I asked this another day but I could understand nothing of the answers.   Another thing is: I assumed that both $r,s$ are integers, but, If I assumed to be both odd numbers, would something change?  I did some tests in Wolfram, and it seems that for both $r,s$ odd integers and $r>s>0$, the sum $S$ will be a rational number.  This is a follow up question to:    The answer in the link use the Digamma function. I wanted to know If the answer in the current post is correct.


Related:    I would like to use Ctrl+Alt+F4 for a program instead of Ubuntu's TTYs.  The previous question, I saw suggested command xmodmap -pke | sed -n 's/ = .*VT_4.*/ = /p' | xmodmap - which did not work for me. I ran it with Alt+F2.


Can I modify and resubmit my suggested edit before it is peer reviewed?

Recently I made a suggested edit, and then after submitting the edit, I realized that I removed a keyword from the original title. Sometimes, I felt that I could have suggested a better edit than I just submitted. I don't know if I am the only one or there are more people who sometimes feel this way.  Is there a way I can cancel and re-submit or edit my own suggested edit after submitting the suggested edit, but before it is acted upon (either approved or rejected)?


I was in Germany last September, my visa said I had 14 days to stay in the Schengen area.  When I was leaving back for Egypt the passport control officer noticed that I was leaving on the 15th day. I didn't even realise that as I had written previously in my visa application that I was staying for 15 days and the embassy in Cairo had my complete airline ticket with specific dates.  Anyway the officer just filed a report on the incident but didn't stamp my passport with my exit date from the Schengen area.  Do any of you guys know if that would make it harder for me to be granted a visa in the future?


Is this internal rearrangement of charges in a circuit a current and is this current different from the “normal” current of the circuit?

In the figure, the circuit is physically isolated from Earth (The black line at the bottom). The red capacitors are parasitic capacitors.  Under switching conditions the node voltages relative to the zero reference swing in such a way that the internal charge in the circuit stays the same. This is understandable because the circuit is isolated from ground and cannot get more charge or lose any charge. So the charges internally rearrange themselves in a way that leads to the node voltages being what they are.  How is this possible. Is this internal rearrangement of the charges a current? Is this current different from the “normal” current of the circuit (The 1mA)?  I think that Electric fields that change and exist between charged bodies will cause something like current flow, called displacement current, such that a change in the electric field on one body affects the electric field on a nearby body. But how does this affect the 1mA current that appears in the circuit?


Consider the following code:   #include<stdio.h> #define k 0.7 #define p 0.5 int main() {     float a=k,b=p;     double aa=k;     if(a<k)     {          if(b<p) printf("2 is right");              else      printf("1 is right");     }     else printf("0 is right");     printf("\n");     if(a>k)     {          if(b<p) printf("2 is right");              else      printf("1 is right");     }     else printf("0 is right");     return 0; }   Consider this as part II of  question, here the understanding was that the double precision values of floating point constants (doubles when represented as numeric constants) was lost when it was converted to their corresponding floating point values. The exceptional values were X.5 and X.0. But I observed the following results:  Input           Output K=0.1 to 0.4        0 is right                     1 is right  K=0.5               0 is right                     1 is right  K=0.6               0 is right                     1 is right  K=0.7               1 is right                     0 is right  K=0.8               0 is right                     1 is right  K=0.9               1 is right                     0 is right  K=8.4               1 is right                     0 is right   Why is this queer behavior? How come only few floating point values are displaying this property? Can't we assume that float precision values are always less than double precision values?? How do we explain this behavior?


Firefox: Any way to specify white or black lists for the history tracker?

I use Firefox very intensively, and from time to time I clear the browser history. But unfortunately the history is being filled very fast and it always keeps the history I'm not interested in:   Some sites does not make any interest for me at all, and I would like never include them to the history tracker. Other web applications, like Google Reader, use #-links to navigate through the application content, and e.g. for Google Reader the old URLs simply become obsolete because I use "Mark as read". So I don't even see any reason of tracking the #-links in history.   Is there any way/extension/etc to support the features to support either white-lists or black-lists, or particular URL tracking for Firefox? Thanks in advance.


I am asked:     Let $F_{i}$ denote the $i$-th Fibonacci number.   Prove that $$\sum^{n}_{i=0}\binom{n}{i}F_{i}=F_{2n}$$   I have the base case and the inductive hypothesis, but I'm not sure what identity I need to make the jump from   $\sum^{n+1}_{i=0}\binom{n+1}{i}F_{i}=F_{2n}+F_{n+1}$ to $F_{2n+2}$, where $F_{2n+2}$ is the n+1 term.   Any tips?


How to detect how an intruder is gaining access to my server?

I previous asked  on StackOverflow. I was recommended here for help. There are some more details on that question. Someone has somehow gained unauthorized access to my website. They have been changing the PHP source code of the site to inject Google ads. My database and other sites on the hosting plan seem unaffected, though I have everything backed up just in case they are able to get deeper access. The site is hosted on a shared hosting, It's coded in PHP (version 7.4) and running under Apache. The hosting provider was not helpful. The recommended changing my passwords (which I had already done: FTP, CPanel, and hosting account passwords). They claim they don't have any logs on the system to check. The ads are still being re-inserted into the code every time I remove them. The injected code is different every time, and does not appear to be computer-generated, so I am certain the changes are being made by an actual human with access to the system, not malware. At the recommendation of one of the StackOverflow answers, I am scanning the site for vulnerabilities with Arachni. That scan has been running for about an hour and a half and is still going, but so far nothing helpful has surfaced there. I need to figure out how the attacker is gaining access to change my source code. I'm out of ideas for places to look. How can I detect how the attacker is accessing the server so I can shut them out?


Tag merge request: [webstart] and [java-web-start]

There are two Java Web Start tags:  : x 239 : x 320   Both tags refer to the same technology  refers to  both wiki point to  all questions tagged with  clearly relate to Java Web Start   I suggest they be merged into  (which appears in the auto-complete list if one types "webstart" in the Tags box when asking a new question).


How to solve fifth-degree equations by elliptic functions?

From F. Klein's books, It seems that one can find the roots of a quintic equation $$z^5+az^4+bz^3+cz^2+dz+e=0$$ (where $a,b,c,d,e\in\Bbb C$)  by elliptic  functions.  How to get that? Update:


How to gain sudo access after powerwashing (factory resetting) my computer?

I just powerwashed (that's a factory reset on chromebooks) my computer so that it would be be 'brand new,' however now I don't have sudo access anymore. I used to not need a password to use sudo, however now a password is required and I have no idea what it is. I tried my login password, however that didn't work. Any advice?


Searching an array list of objects for an object with a certain field value

I have an array list of book objects where one of the class fields is title. I want to search through the array for a book with a specific title value.   public void getBook(String bookTitle) throws SQLException {      ArrayList<Book> books = getAllBooks();      for (int i = 0; i < books.size(); i++) {         Book b = books.get(i);         if (b.getTitle() == bookTitle) {             System.out.println(b.getTitle());         }       }  }    As far as I can tell the code above should search through the array list for book objects and compare their title field with the string passed into the function. If the strings match then the book title will be printed to console. However nothing happens. Help :(


Bill thought of the problem. vs. Bill thought about the problem

Bill thought of the problem carefully.   Bill thought about the problem carefully.  Any difference could be? Only difference is 'of' and 'about'. This means the answer is the difference between 'of' and 'about'.  of : a friend of mine, the leg of the table, sth consist of sth, remind A of B give hint, i.e., 'of' needs precedent before of and object after of, which means 'of' provides connection between specific two things and narrows sth down to specific information: A of B. So "think of sth" means think of specific B, the existance of B   about : about 10 mins gives hint, hid money about myself gives hint. about means scattered, i.e., not a fixed point. so 'think about X' means 'X' has some attrubutes around X and you think some of the attributes or the attributes.


I want to make a USB Stick with a stand-alone LaTeX for OS X devices.   Is there any possibility to doing that?   If yes, how can i do it? All versions for LaTeX on Mac i found needed a system library to install.


How dangerous is `sudo apt-get autoremove package*`?

I was deleting all previous Eclipse versions , so I used sudo apt-get autoremove eclipse*. It said it would be about 40 Mb of files to uninstall, so I agreed believing it would work on the intended scope.  The expected behavior is that it removes the application itself and also its dependencies. In my case, it's begun to delete some linux-headers, python packages, etc. which I don't think are related to Eclipse, and it's got me worried. Help?


Is the entire second half of the original Naruto series just fillers?

I've been told that the entire second half of Naruto is fillers, if this is true then I wasted 3 months of my life


How do I completely ignore a wireless connection?

I've removed a wifi ssid from the remembered connections list, but I would like to go one further and disable it from appearing in the wifi drop down list (after clicking on the wireless icon on the menu bar).  Can this be done? I don't want the computer user to be able to click it and switch to it again (this particular connection doesn't require a password and it is not connected to the internet). Thanks!


How does Limit order book works in the following hypothetical scenarios?

I’m a beginner to trading and reading some stuff about Limit & Market orders. I’ve thought up some scenarios and I would like to confirm on how the underlying order book mechanism deals with them. Let’s take Bitcoin, Current price is $45,000 Highest bid is $44,990 Lowest ask is $45,010  I placed a bid at $45,005. Means I get to “jump ahead of the queue” and any fresh Sell market orders will fill my bid. Am I correct in assuming that?  I placed a bid at $45,020 (more than the lowest ask). There’s also a sell limit order at the same price. Does my order only execute against the matching ask order? Or does it execute against the lowest ask order?  If the former is true, will the price jump from $45,000 to $45,020? And If the latter is true, can I say that my buy limit order (bid) worked in the same way as a market buy order?    Also, it’s only today that I started reading about this and I’m already fascinated with these ideas. Can anybody please suggest a book that explains the market phenomena and strategies from the order book perspective?


What would happen if you put your hand in front of the 7 TeV beam at LHC?

Some speculation here:   Is there a possibility it would pass 'undetected' through your hand, or is it certain death?  Can you conclude it to be vital, or only loose your hand?  Would it simply make a small cylindrical hole through your hand, or is there some sort of explosion-effect?  Assume your hand has a cross section of 50cm², and a thickness of 2cm, how much of the beam's energy would be transferred to your hand?


Is it possible to add attributes to an existing class using .NET reflection?

I have the following class generated by EntityFramework,  public partial class Person {     public string FirstName { get; set; }     public string Lastname { get; set; } }   Now I would like to add custom Attributes before using it or modifying the above class dynamically using reflection. Something like below,  public partial class Person {     [SomeCustomAttribute]     public string FirstName { get; set; }     [SomeCustomAttribute]     public string Lastname { get; set; } }   Is it possible to add custom attributes using reflection?


Random songs appearing in my iTunes music library after activating iTunes Match

After enabling iTunes match, my library is cluttered with hundreds of tracks which I don't own / haven't downloaded. They have the "cloud" icon on them which makes me think they are either from iTunes Match - or maybe Genius.   How can I get rid of these tracks from my library, they are driving me nuts.  P.S. using iTunes 11


Finding particles in the classically forbidden regions

Have particles ever been found in the classically forbidden regions of potentials?  For example, in a square well: has an experiment been able to find an electron outside the rectangular well (i.e. in the exponential fall-off regions) ?  And more importantly, has anyone ever observed a particle while tunnelling?


"I live on beans and rice" vs. "I live off beans and rice"

I wanted to refocus a  towards a possible deeper and direct relationship to "on vs. off".  Consider the following two phrases:   I   (Approx 94,000 results Google Search)   I   (Approx 67,000 results Google Search)   In addition to the subtle difference in meaning, I'm particularly interested in where the semantics of the differences might come from.  Can we trace the semantic difference between "live on" and "live off" to a fundamental, "definitional" aspect of "on vs. off"?     Below, I've answered my own question as an afterthought.  It was additional thoughts that needed to be moved to an answer, and is in no way intended to be definitive.


I was wondering if someone could critique my argument here. The problem is to find the probability where exactly 2 people in a room full of 23 people share the same birthday.  My argument is that there are 23 choose 2 ways times $\displaystyle \frac{1}{365^{2}}$ for 2 people to share the same birthday. But, we also have to consider the case involving 21 people who don't share the same birthday. This is just 365 permute 21 times $\displaystyle \frac{1}{365^{21}}$. To summarize:  $$\binom{23}{2} \frac{1}{365^2} \frac{1}{365^{21}} P\binom{365}{21}$$


'She was shot by police yesterday' or 'She was shot yesterday by police'

I am writing a test about passive constructions and I have the following questions: Where do I have to put the by-agent. For example:  Sarah wrote the email yesterday.     A: The email was written by Sarah yesterday.      B: The email was written yesterday by Sarah.   Which of them is correct? Are both correct?  Thank you for your help!


Was Chirrut Îmwe a Jedi, Force-sensitive, lucky, or something else?

Chirrut was awesome. Both for his humor, and his action scenes. So what exactly is this guy? I know from the movie that he was part of some Jedi-affiliated religion which protected the Kyber crystals, but what exactly does that mean? Was he ever using the Force, even a little bit? If so, did his connection start to fail later on? Or was he just an old Daredevil?


Why can microwave (in microwave oven) heat the food but wifi can't?

As far as i know, microwave (used in microwave oven) and wifi all operate on the same frequency, but why microwave can heat the foods while wifi wave can't?


Does Sql Server maintain the free space defined by fillfactor?

I'm new to concept of what fillfactor is and why it is used. So far, reading , I've learned that by setting the fillfactor configuration of an index, we specify how much space on each page should remain free, so that whenever a new record needs to be added to a page, there will be some free space for it. My question is that:  Is that free space on each page, intended to remain free? I can guess that, that free space is used when an insert happens, but later the database engine, moves data, so that again we have some free space in each page. Is this what happens in a DBMS?


Find a vector function that represents the curve of intersection of two surfaces and the tangent vector

Consider the curve $C$ obtained by intersecting the surfaces defined by $$x^2+y^2 + z^2=3$$ and $$x^2-y^2+z^2 =1$$ At the point $(1,1,1)$, which of the following is a tangent vector to the curve? The answer to this question is $(2, 0, -2)$ , but I don't understand why that is the case. I've tried finding the curve to the two surfaces, but I don't know how to properly do so in this case because I end up with $\pm$ square roots and I'm not sure you need to find it in this case. I know how to find the tangent vector given a vector equation, just take the derivative and substitute in the point, but I'm missing the vector equation.


how to evaluate the quality of scientific journal?

Hope that the question is not a duplicate, I could not find anything similar.   I am doing a PhD in mathematical economics but I usually look at math journals and I am trying to adapt some technical methods from there to economics when it is necessary.   What I am always curious about, as I am not familiar at all with mathematics journals, I don't know which journal is a good quality journal in mathematics (as there exists a huge bunch of journal in mathematics, if I am not wrong)  I don't know if the paper published in the journal is a really credible reference.  Besides Google Scholar citations, what are the best ways to understand if a journal (in the field of mathematics or other) is a well ranked journal ?


The legs of a right triangle with given hypotenuse and radius of inscribed circle

Triangle $\triangle ABC$ is a right triangle with $\measuredangle ACB=90^\circ$. Let $AB=c$ and the radius of the inscribed circle be $r$. Find the catheti and the area of the triangle $\triangle ABC$.    Let $P,N$ and $M$ be the tangent points with $AB,BC$ and $CA$, respectively. The quadrilateral $MINC$ is a square. Therefore, $MI=IN=NC=CM=r.$ We have $AM=AP=c_1$ and $BN=BP=c_2$ as tangent segments. Now we have: $$\begin{cases} (c_1+r)^2+(c_2+r)^2=(c_1+c_2)^2 \\ c_1+c_2=c \Rightarrow c_2=c-c_1 \end{cases}.$$ After simplifying the first equation I got $r^2+c_1r+c_2r=c_1c_2$ and now let us plug $c_2=c-c_1$. We get the quadratic equation $c_1^2-cc_1+r^2+cr=0$ which has roots $c_1=\dfrac{c\pm\sqrt{c^2-4r^2-4cr}}{2}$. I am not sure I understand what to do next and why we got two expressions for the same segment. What does that mean? If use use both the results in $c_2=c-c_1=\dfrac{c\pm\sqrt{c^2-4r^2-4cr}}{2}$. What does mean?


Is There A Term For The Old Maps That Had Lines Connecting Pin-Wheels?

Many old maps have lines like below. Is there a term for a map with that type of lines?   (from )  My best hypothesis is that the lines may be related to  and therefore Mercator projections.  .


$n$ points are picked uniformly and independently on the unit circle. What is the probability the convex hull does not contain the origin?

We place $n$ points on the unit circle uniformly and independently . What is the probability that their convex hull does not contain the origin?  I came up with this:      If the convex hull does not contain the origin then there is one point $x$ such that the next point $y$ in clockwise order forms an angle $xOy$ larger than $\pi$. Therefore we just need to calculate the probaility that this happens at least once, but notice that this cannot happen more than once . Suppose that $x_1,x_2,\dots x_n$ are the points that are to be placed independently, then the probability that the next point after $x_i$ forms an angle larger than $\pi$ is $\frac{1}{2^{n-1}}$. Therefore the probability the hull does not contain the origin is $\frac{n}{2^{n-1}}$   I would greatly appreciate a proof verification, alternative proofs and insight as to whether this can be generalized to higher dimensions, when there are $d+2$ points it is possible, as is shown .


Is it physically possible to build a long zoom (17-300 mm for example) at an aperture value of around 1.4 or 1.2?

I'm curious if the physics allow a company to build such a lens of course with good IQ, minimal color aberration, maximum sharpness, and little to none lens vignetting or edge softness


Two men have to populate a planet by themselves

I'm trying to identify a short story that was probably written in the 1970s or 1980s—at least, well before today's more accepting attitude towards human sexuality and gender roles. It must have in part aimed for a shock value that has mostly dissipated today, leaving behind a sense of anger at the violation—at least in my memory.  Unfortunately, I don't recall if I read it in a magazine or an anthology. Here's what I do remember:  A woman is trying to get her domestic chores done, cooking, dishes, laundry, garden. There may be small children running around. But something is wrong. She is lonely and sad. Her husband pays no attention to her and she feels unloved. She is also very groggy, almost drugged.   Her husband tells her that she has emotional problems and that, other than her feelings, everything is fine. But as time goes on, it turns out that she is being drugged by her husband. Somehow, she finds a way to avoid the drugs without alerting him.  Spoilers below:      She realizes that she is actually a man and her "husband," perhaps a fellow crewman, has, without consent, surgically altered him with a uterus in order to bring to term frozen embryos.   As I remember it:      Their ship has crashed, with only the two of them left alive, and that their original mission had been the settlement of a habitable planet. I don't remember if they are on the same planet. Their ship had been stocked with the frozen embryos. The fellow crewman is trying to complete the mission the only way he knows how, but despises both of them as a result.     "She" realizes that her life has been changed forever and finds the only solution available to her. She drugs her fellow crewman into believing that the two of them are actually husband and wife, happily married. Thanks to WhatRoughBeast for suggesting: Her final act is to drug herself.   I'm not sure how much I got right and how much my memory has strayed, but I'm hoping there's enough here to help someone ID the story.


Keyboard layout/language changes in every boot

I have Ubuntu installed in my laptop, with Catalan language support and I have properly set up my keyboard to the Spanish layout. However, every time I start Ubuntu, the keyboard language/layout has switched to English (I think) and I have to select the correct disposition again ("Es"). The tray icon, though, always shows "Es" as the input language, which, by the way, is the only option available.   Is there a way to tell Ubuntu to properly configure the keyboard?  Edit: Once I login, I always change the language using the top-left button on the tray (see the "[Es]" icon in the picture below:)


Can a non-resident US dual national drive on foreign drivers license in California

Suppose someone was born to a US-national parent in a foreign country and is thus a United States dual citizen. If that person (resident in their other country of citizenship) were to visit the USA for a few weeks, would it be legal for them to drive on their foreign drivers license since they wouldn't have an American one?


How to install Ubuntu without losing data?

Currently I have ubuntu 13.04 64bit installed on my 320gb partition. All of my work, music and videos are stored in the video and music folders. Is there any way to reinstall Ubuntu 13.04 again without losing my data?


My understanding of how density functions work in R is that they are calculations of the absolute probability (continuous) or probability mass (discrete) of something occurring, instead of the cumulative probability distribution functions. For example, dbinom and pbinom. The cumulative dbinom is 'equivalent' to pbinom. > dbinom(0:6, 6, .2) [1] 0.262144 0.393216 0.245760 0.081920 0.015360 0.001536 0.000064 > cumsum(dbinom(0:6, 6, .2)) [1] 0.262144 0.655360 0.901120 0.983040 0.998400 0.999936 1.000000 > pbinom(0:6, 6, .2) [1] 0.262144 0.655360 0.901120 0.983040 0.998400 0.999936 1.000000  I'm trying to adapt some code that uses binomial distribution to use the beta distribution. But dbeta output doesn't follow the same pattern as dbinom output. I know the area under the curve must sum to 1, hence the larger outputs (see ), but what information does dbeta output give, if not a probability? > dbeta(0:6/6, 6*.2, 6*.8) [1] 0.000000000 2.560925578 1.259925621 0.457926694 0.103905114 0.007800186 0.000000000 > cumsum(dbeta(0:6/6, 6*.2, 6*.8)) [1] 0.000000 2.560926 3.820851 4.278778 4.382683 4.390483 4.390483 > pbeta(0:6/6, 6*.2, 6*.8) [1] 0.0000000 0.5019590 0.8149543 0.9508137 0.9926665 0.9997273 1.0000000  I've seen some other analyses use qbeta output as input to pbeta. Questions My question is how is dbeta output to be interpretted? And what way could I obtain 'absolute' probabilities from a beta distribution?


Empty curly braces and semicolon in bash

What does  {} \;   string mean in bash?  I've seen it a couple of times, for example, to find and delete all files by name one must execute  find . -name "FILE-TO-FIND" -exec rm -rf {} \;   What does this string do?


Number of preimages of a group element under a homomorphism.

I was reading the first chapter of Robert Gilmore's "Lie groups, physics and geometry" and I came across a brief statement regarding the number of preimages of an element under an homomorphism which I can't seem to prove. Here's the whole paragraph:  "The group $H$ is called a homomorphic image of $G$. Several different group elements in $G$ may map to a single group element $H$. Every element $h_i \in H $ has the same number of inverse images $g_i \in G$."  Anyone knows why is it that this is the case? I've been trying to construct a proof but getting nowhere.  Thanks in advance.


What Files Should I Set Up for Clean Apache Configuration

I am not new to Apache but nor am I an expert (by any means). I've run sveral versions of WAMP and XAMP server set-ups. Most of my Apache configurations are simple. I usually run a default master configuration file (httpd.conf or apache.conf) and one or two includes (with a different port, for example) and some site-specific virtual host files.  Recently, I set up a server to use HTTPS. I bought certificate and set it up. It wasn't too bad, but it got me thinking. Each Apache configuration I set up seems to be a bit different. I don't apply any best practices; just bits and pieces built up from a default installation using only those changes to make my application run.  This is now bothering me. I run Apache 2.2 currently and I would like to adopt a convention for myself with which I can keep consistent, one that I could more easily deploy to more servers in a quicker fashion.  So my question is, what files should I use and how should they interact? For example, I think most people agree that loading up your main Apache configuration with tweaks is a bad idea. So should you strip it down to the bare minimum and implement multiple includes? How do you properly set up the sites-available directory (sites-enabled filled with symlinks)? Because there are many ways to do things and since Apache allows for directives to be used in multiple places with the same affect, I find that bits and pieces get spread out over all these files, including using something like mod_rewrite in an .htaccess file (which I'm starting to believe is a bad idea unless you are on shared hosting where that's the only way).  For SSL, do you set up a default-ssl file or project-ssl. How many virtual hosts do I run on one server?  I understand that my question is somewhat subjective. There is probably not an objective answer. But my my goal is to get as close to an objective answer as possible.  Then there is WSGI. If you deploy Django sites, this further complicates things. Should I use /home/user/project/project/wsgi.py or /var/www/project/index.wsgi? How do these files interact with the Apache configuration?  Here is a list of files that I'm concerned with:  /etc/apache2/apache.conf /etc/apache2/httpd.conf /etc/apache2/ports.conf /etc/apache2/envvars (mostly self explanatory) /etc/apache2/conf.d/project.conf /etc/apache2/conf.d/security /etc/apache2/sites-available/default /etc/apache2/sites-available/default-ssl /etc/apache2/sites-available/project /etc/apache2/sites-available/project-ssl   Why do some Apache installations have an Apache main configuration with modules included and others have mods-available and mods-enabled?  Like I said above, there seems to be a lot of overlap so I'm not surprised that this is a tricky topic to master.  Alternatively, if anyone knows a good reference that steps through this, I'd be interested in seeing it. I have a couple older Apache books and they just don't break it down. They assume you are complete beginner and that you leave the default alone. The Apache docs are pretty good and I go to them often, but a comprehensive source for what I'm looking for doesn't seem to exist (or, I haven't found the best search terms to find it).


When does the Shocking Grasp spell actually start preventing the target from taking reactions?

I have now asked my "real" question (one whose answer effectively answers this question) here ("").  The  spell's description states:  On a hit, the target takes 1d8 lightning damage, and it can't take reactions until the start of its next turn.  It is unclear to me when the reaction prevention actually occurs (on being hit or on taking damage). I have found this Q/A ("") where a comment from @DavidCoffron says:  [shocking grasp] interrupts the damage taking (which is the trigger), not the hit (which causes the reaction-block)  And then there is this Q/A ("") where the following sentence exists in @chaoticgeek's answer:  In addition you take damage and can't take reactions together so if you can prevent the first you have to prevent the other since it is a chain linked by 'and' in this situation... [T]he reaction prevention only comes with the damage that is dealt  Does the 'and' in shocking grasp really link the clauses enough to make them simultaneous? Are the hit and the damage happening at the same time? Does shocking grasp prevents the target from taking reactions once the spell hits them or once the spell damages them?  I do not believe that this Q/A ("") is a duplicate of mine because I am specifically wondering when you are prevented from taking reactions, which (as the quotes above show) does not seem to be entirely agreed upon.


$\sum \limits_{n=1}^{\infty}{a_n^2}$ converges $\implies \sum \limits_{n=1}^{\infty}{\frac{a_n}{n}}$

I need some help to solve the following problem:  *Show that if $\sum \limits_{n=1}^{\infty}{a_n^2}$ converges, then $\sum \limits_{n=1}^{\infty}{\dfrac{a_n}{n}}$ converges.  I tried to solve it by using the Ratio Test, but got anything. Regards and thanks a lot.


I came across the following code structure in C++:  uint32_t AClass::Action(....) { ..       status = ::Action(...); .. }   I am not sure what ::Action() means. Which class does it belongs to? NOTE: the argument list of ::Action(...) is different from AClass::Action(...).


Can I \lstset to define both Matlab code and Python code? or will last one override the first one? or does listings know the difference when there is a .m or .py extension and use the correct \lstset?


I had a dual boot system with Ubuntu and Windows 7 ultimate. Windows 7 got corrupted so I had to reinstall Windows 7.   When I had the system dual booting when Windows wasn't corrupted, it used to ask me what OS to boot.  Before reinstalling Windows 7 I installed Ubuntu and moved my important files from windows to Ubuntu. I made a bootable windows 7 USB.   I inserted the USB into the machine, and I started reinstalling Windows 7. I formatted the partitions (didn't format Ubuntu's) and installed it from USB.  After reinstalling Windows 7, I restarted the computer so I can choose which OS to boot, but the boot options never showed up -- it only boots up from Windows.  How can I boot back into Ubuntu so I can move the files back or at least take them out?


A partition of the unit interval into uncountably many dense uncountable subsets

The title says it all: Is there a partition of $[0,1]$ into uncountably many dense uncountable subsets ?


I want to build a Linux system from scratch, and i want the most basic Ubuntu package. If possible only the command line and that's it. What should i download for it?


How do I echo a line with linebreak at the end at window border?

I would like to echo a list all in one line, TAB separated (like ls does with files in one folder)  for i in one two some_are_very_long_stuff b c; do echo $i; done   will print one line per word:  one two some_are_very_long_stuff b c   instead I would like to break it, like ls without options does:  mkdir /tmp/test cd /tmp/test for i in one two some_are_very_long_stuff b c z; do touch $i; done ls   will output  b  one                       two c  some_are_very_long_stuff  z


My high school English teacher taught us to never start a sentence with conjunctions, but throughout the years I have seen a lot of such usage in academic writings and novels. I have also read various articles, saying that such usage is now acceptable. Is it merely a preference of style or is it grammatically wrong? Does it otherwise imply different semantics from the usage that follows a comma(,)?  For example, are the following sentences acceptable in terms of grammar/formality?   "The organization should have taken the blame. Or, its leader can sacrifice himself for the well-being of all." "She is one of a kind – she displays high empathy on each and every strangers she meets. But, she lives in a fiction." "The city is wondrous, in spite of its proximity to my hometown. And, a highly regarded culture resides there."   Thanks in advance.


I have Ubuntu 14.04 and I cannot install numpy.  here is my attempt:  ohad@ohad-Vostro-3300:~$ sudo apt-get install python-numpy [sudo] password for ohad:  Reading package lists... Done Building dependency tree        Reading state information... Done 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:  python-numpy : Depends: liblapack3 but it is not going to be installed or                          liblapack.so.3 E: Unable to correct problems, you have held broken packages. ohad@ohad-Vostro-3300:~$ sudo apt-get install liblapack3 Reading package lists... Done Building dependency tree        Reading state information... Done 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:  liblapack3 : Depends: libgfortran3 (>= 4.6) but it is not going to be installed E: Unable to correct problems, you have held broken packages. ohad@ohad-Vostro-3300:~$    Thanks,


Can the wave function of a particle be any function?

Can a wave function be anything? such as a parabola. I know it is used to measure the probability of where a particle is (or so i think) in a 1 dimensional plane. What is an example of a wave function that can be graphed?


Can the act of having certain thoughts be unethical?

On the basis of Western morality, the Greco-Roman Judeo-Christian one, behaviors like killing, betraying, cursing are considered immoral. Christianity imposes that thoughts can be corrupt, therefore immoral; and there is logic, since thought represents - before desire and/or intention - the conception, the consideration that a given alternative is possible, and even plausible.  However, if the mind can have immoral productions, can it also arouse something unethical? In particular, can thoughts — internal mental processes in which no one is harmed other than possibly the thinker itself — possibly be unjustifiable in a typical society's set of principles?   Reflecting on killing someone can certainly be immoral, but can it be unethical, even when the act has not been perpetrated yet?  For short: jumping a queue is immoral, because it goes against society's informal rules, but ethical if you are in a hurry for an urgent meeting, since the act is justifiable in this circumstances. Can immoral thoughts be seen in such a light?  EDIT:  Terminology used:   Immoral: an act, reasoning, behaviour or reaction deemed improper by the modi operandi of a given society respective. Ethical: as in Applied Ethics, but used in a more abstract manner; the act, ... that: even when judged immoral, may and should be carried out when it represents a greater good done than bad be it concerning individuals or groups, shall be permitted given the circumstances of an individual in an alarming situation, or is justifiable in the sense that the agent of such act should not be judged guilty when the context is avaluated. E.g.: homicide in legitimate defense; thus homicide is (unconditionally) immoral, but ethical in this situation.


What is the grammar on Your honor/My lord?

Your honor, My lord, Your highness, My lady all refer to another person. What are the rules behind that? The striked-out questions are answered by  . Thank you guys! Why do we use "Your" while sometimes use "My"? First, let's say, Tom is my friend. I would say "My friend, would you like a coffee?" It would be weird if I say "Your friend, would you like a coffee?" Why don't we use "Your friend" like "Your honor"? Second, I feel it looks like Apposition if I interpret "Your honor" as "You, honor". Why do we use the possessive form? Third, say I'm a loser. I would like to coin an honorable form for other people to call me. Which is more correct, "Your loser" or "My loser"? I'm particularly interested in the usage in the United States if there's any difference.


How do I create a Twig override for server 500 error?

How do I override the template used for a 500 error? Is there any way to achieve this from a module?


Late 90's or early 00's graphic novel with a girl and an airship

I'm trying to remember the name of a graphic novel from the late 90's or early 00's. I've done a bunch of searching online but can't find anything. I don't have much to go off of. It was beautifully drawn series of comics or compiled into a graphic novel.   EDIT: Okay so after obsessing all night and reading the guide I might have a wee bit more to identify it.    It was mostly if not only B/W and a serial comic that were collected into several books.  Each book was some grand adventure in a new place (maybe) one of which was on a ship, or air ship, or balloon ship. The central character was this young girl who is looking for her parents or her parents died or something. She has tube like hair and giant eyes. She has been thrown into this fantasy world and is exploring/looking running from... haha. I think she has a crew of weird creature friends that are helping her. There's all these strange creatures, big and small and strange and beautiful landscapes. More on the girl: She looked a little like  and she acted young and would get angry a lot. The drawings were ornate and detailed, but who wouldn't be if you were thrown into a fantasy world.   The drawing style was almost like the style of Bone, or the Arrival.    It was so long ago, and I have this vivid memory of reading it, but I've even gone back to search through all the graphic novels at my old library where it was and it's not there... ha. I wonder if it was like a small publishing company or something.   Thanks Fuzzy for the edits!


In sketchup you can move an object based on two points. This makes it very easy to align a vertex in one object to vertex in another object. Here is an example:    I want to know how to do this in Blender. It seems that Translate can't align vertexs


How to Configure Launcher Placement in Multi-monitor Setup

I use a large monitor as primary and laptop screen as secondary. Is it possible to move the launcher to my big monitor or do I have to turn off my laptop monitor?   "Monitor Preferences" (Launcher search -> "Monitors") does not have a way to set the default/primary monitor. nvidia-settings which I just installed says "You do not appear to be using the NVDIA X driver. Please edit your X configuration file (just run nvidia-xconfig as root), and restart the X server.  sudo nvidia-xconfig says sudo: nvidia-xconfig: command not found.  I guess I don't have an AMD driver because I don't have "AMD Catylist Control Center" in the launcher search.


Subtile misunderstanding about Recognizable vs Decidable

I think I understand the definition of Turing-recognizable and Turing-decidable, but still there's few subtle details I did not catch so far. Can you explain in details why all decidable languages are also Turing-acceptable languages? Why in details the he reverse is not true? EDIT For a language decidable, if $x \in T^c$, does it have to terminate in a finite number of step? Is that the major difference between a Turing-recognizable and Turing-decidable? In other word, the language is decidable iff there a Turing-Machine which accepts a word of $L$ in finite number of steps and reject a word of $L^c$ in a finite number of steps.


Evaluate  the integral $\int_{|z|=1} \frac{|dz|}{z}$  My idea:  Let $z=e^{i\theta}$  then $dz=ie^{i\theta}d\theta$  therefore $\int_{|z|=1} \frac{|dz|}{z}=\int ^{2\pi}_{0} e^{-i \theta}|d\theta|$  from here how to we processed


how many different equivalence relations

My question is:  How many different equivalence relations can we define on the set $A = \{x,y,z\}$?  I know that an equivalence relation is a relation that is symmetric, reflexive, and transitive, so how many I go about considering these possible relations?  I am particularly curious about this relation: $\{(x,x), (y,y), (z,z)\}$ Is it one possibility?


How to place an appendix table under the appendix section?

I have <Table 2> which I want to place under Appendix. However, when I try the code below: \documentclass[letterpaper,12pt,titlepage,oneside,final]{article} \usepackage{geometry}                % See geometry.pdf to learn the layout options. There are lots. \geometry{letterpaper}                   % ... or a4paper or a5paper or ...  %\geometry{landscape}                % Activate for for rotated page geometry %\usepackage[parfill]{parskip}    % Activate to begin paragraphs with an empty line rather than an indent \usepackage{graphicx} \usepackage{amssymb} \usepackage{epstopdf} \usepackage{hyperref} \usepackage{multicol} \usepackage{natbib} \usepackage{amsmath} \usepackage{lmodern} \usepackage{array} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx}  \setlength{\marginparwidth}{0pt}  \setlength{\marginparsep}{0pt}  \setlength{\evensidemargin}{0.125in} \setlength{\oddsidemargin}{0.125in}  \setlength{\textwidth}{6.375in}  \raggedbottom \renewcommand{\baselinestretch}{1}  \setlength{\parskip}{\medskipamount}   \title{\bf STAT 900:  PhD Research Skills \\ Fall 2020} \author{The Author} \date{}     \begin{document} \maketitle  .... %sections 1,2,3,4    \section{Conclusions} \label{sec:section5}      I have already used a page.   \appendix \section{Appendix} \label{sec:appendix}   \begin{table}[t] \centering \begin{tabular}{crSSS}  &        &             & \multicolumn{2}{c}{Average$\Big(\min\limits_{j = 1,\cdots, t}{C_i(h_j)}\Big)$} \\   \cmidrule{4-5}  & {$t$}  & {$P_{win}$} & {Random Search} & {Grid Search}  \\   \toprule   \multirow{4}{*}{$C_1$}  & $10$   & 0.005 & 0.005 & 0.000 \\  & $50$   & 0.005 & 0.000 & 0.000 \\  & $100$  & 0.003 & 0.000 & 0.000 \\  & $500$  & 0.003 & 0.000 & 0.000 \\   \midrule   \multirow{4}{*}{$C_2$}  & $10$   & 0.005 & 1.871 & 0.000 \\  & $50$   & 0.005 & 0.918 & 0.000 \\  & $100$  & 0.003 & 0.611 & 0.000 \\  & $500$  & 0.005 & 0.174 & 0.000 \\   \midrule   \multirow{4}{*}{$C_3$}  & $10$   & 0.005 & 0.001 & 0.000 \\  & $50$   & 0.005 & 0.000 & 0.000 \\  & $100$  & 0.005 & 0.000 & 0.000 \\  & $500$  & 0.004 & 0.000 & 0.000 \\   \bottomrule \end{tabular} \caption{Table of Monte Carlo standard error for our simulation statistics.} \label{tab:table2} \end{table}  \bibliographystyle{chicago} \bibliography{STAT900bib}  \end{document}  It generates the following output:  Notice that the <Table 2> is not placed under the Appendix header. How can I force the table to be placed under the Appendix header? Thank you,