Does an equivalent of ArcScripts exist?  I know of the the ArcGIS resource center and "Code Galleries" but does something that equates to ArcScripts where users share useful ArcGIS code exist? The new ArcGIS forums are not great for searching for code either.  It seems to me as through the ESRI replacement for ArcScripts are a poor replacement and I am wondering if something 3rd party exists.  I know we can still search ArcScripts but it does not appear to still be an active repository.

I will be writing scripts for ArcGIS Desktop in Python with ArcPy.   Is there a community or open source project where code and models can be shared?


I have tried installing ubuntu with Windows 10 , but I don't get the message Install alongside windows 10 and when I press something else , the free space I have made is said to be unusable.  I have seen other similar questions , but all of them require to go back to windows and change things, but I cannot access windows 10 now , after I restart my pc it only loads Ubuntu installation

I installed Windows on my computer, followed by an installation of Ubuntu. However, now I'm unable to boot into my Windows install.  What can I do to fix this?


As soon as I tab on a job offer on the start page (recommended jobs) the mobile app for Android of stack exchange crashes. "Crashes" in this case means that it just gets closed. No error message or something. Just like someone hit the "back" button. Is this a bug?

Clicking any Careers (or Jobs) ad in the Android app feed results in an instant crash for the Android App version 1.0.89.


I am using kubuntu 13.04 and accidentally I have deleted My important .pdf files by pressing shift+delete. It was in the home directory. Is there any way by which I could recover them back ?

Are there any tools, methods, incantations to recover recently deleted files on Ubuntu?  If it makes any difference, I want to recover a  2.x database file. But would be better to have a method/tool that works on any kind of file.


I'm looking for the image file where the logo for Vim is stored on my system. When I go to my bin, I can find "links to shared libraries". I run whereis vim  And I can find one of the paths it lists is in /usr/share/vim  I tried searching using the find command for file extensions .png, .jpg, .jpeg, but I could not find anything in that directory. Does anyone know where I can find the file? Even knowing the file type of the logo file might help me (assuming I have correctly identified the directory in which it is located).

I have a launcher on my desktop and want to add another one manually with the same icon.   When I go to the preferences of the existing launcher and click the icon, it doesn't take me to the folder where the icon is stored but just to my home folder.  How can I find out where the used icon of the launcher is located in my system?


I am new to PHP. I am developing a news website in different languages.I am using ML-TTKarthika font for malayalam. My problem is that this font is not supported in all browers (Chrome,Opera). How I solve this problem. In my site Hindi,Tamil fonts are also needed. Please  anyone give me an answer..Thanks in advance.

The collection of fonts available to a web developer is depressingly limited. I remember reading long ago about TrueDoc, as a way of shipping fonts alongside a website - but it seems to have languished. Has anybody used this, or something similar? Is it supported by enough browsers? Am I missing a good solution?  Note that a responsible web developer does not use fonts that are only available on Windows (and especially ones that are only available on Vista), nor do they use a technology that isn't supported by at least the majority of browsers.    Update: As several people have pointed out, there's nothing wrong with providing a list of fallback fonts for people who don't have the specific font you use. I do in fact always do this, and didn't mean to suggest that this was wrong.  While my question was badly phrased, what I meant was that a designer should not make too many assumptions about what the client will have available. You should plan for how all users will see your site, not just for people using your own preferred setup.


Say someone edited my question and I rolled back this edit. Then later, if I wish to use this edit after all, how do I go about doing it? How can I view the Revision history?

Possible Duplicate:          How do I view the changes made to a question, in the SO-style visual diff?  I'm sure I've seen this before, but the "history" button eludes me. Clicking "edit" gives me a drop down of the revisions, but not the actual diff.    Edit  This edit is a demonstration of the revision history functionality.


If I use inside the declaration of a tikz-pic the name of a previously defined coordinate, in \pgfpointanchor{}, I get Package pgf Error: No shape namedCOORDis known.  An example of this behavior can be seen below. Where I define two coordinates A and B and then I want to calculate the angle between this two points. But this fails, because in the pic definition latex doesn't know what the coord A or B are.  If I use the same code inside the tikzpicture, it works as expected. What can I do, to enable the defined coords also inside the pic-definition?  \documentclass{standalone} \RequirePackage{tikz} \RequirePackage{pgfplots} \pgfplotsset{compat=1.11} \usetikzlibrary{positioning,shapes,arrows,shadows,fit,calc,matrix,decorations.text,arrows.meta,shadows.blur,shapes.symbols,automata,fpu,intersections}  \tikzset{ Test/.pic = {     \coordinate (A) at (1, 1);     \coordinate (B) at (0, 0);     \pgfmathanglebetweenpoints{\pgfpointanchor{A}{center}}{\pgfpointanchor{B}{center}}      \draw[red] (B) arc[start angle=0, end angle=360, radius=5mm];     \draw[green] (B) arc[start angle=0, end angle=\pgfmathresult, radius=5mm]; } } \begin{document}  \begin{tikzpicture}     %original pic, which is not working     \pic[](test1) at (0, 12mm) {Test};      %this is the reference, which is working, but should be replaced by the pic     \coordinate (A) at (1, 1);     \coordinate (B) at (0, 0);     \pgfmathanglebetweenpoints{\pgfpointanchor{B}{center}}{\pgfpointanchor{A}{center}}      \draw[red] (B) arc[start angle=0, end angle=360, radius=5mm];     \draw[green] (B) arc[start angle=0, end angle=\pgfmathresult, radius=5mm];  \end{tikzpicture}  \end{document}

I read instruction how to use \pic in PGF 3.0.0 manual, but description how to give names to \pic are not clear to me and given example generate error:     "No shape named EmmaEmma-left is known."  Example in manual (pp. 255):  \documentclass[tikz,border=3mm]{standalone} \tikzset{ seagull/.pic={ % Code for a "seagull". Do you see it?... \coordinate (-left wing) at (-3mm,0); \coordinate (-head) at (0,0); \coordinate (-right wing) at (3mm,0); \draw (-left wing) to [bend left] (0,0) (-head) to [bend left] (-right wing); } }         \begin{document}     \begin{tikzpicture}%\small\sffamily \pic (Emma) {seagull}; \pic (Alexandra) at (0,1) {seagull}; \draw (Emma-left wing) -- (Alexandra-right wing);     \end{tikzpicture}         \end{document}   It's obvious that something is missing in above example. Please enlighten me, what I missed.


For the header of a document I'm using minipage to create two equally wide containers and then place an image (logo) in each of them. Unfortunately the minipages are too wide although I set them to .5\linewidth.  Check out the MWE that generates the output of the image below. The two images should be flush with the frame of the page and not be indented on the left and overlapping on the right.  Thanks for any help.    MWE  \documentclass{article}  \usepackage[demo]{graphicx} \usepackage[export]{adjustbox} \usepackage{geometry} \geometry{%     verbose,%     a4paper,%     tmargin=3cm,%     bmargin=3.5cm,%     lmargin=2.5cm,%     rmargin=2.5cm,%     nomarginpar,%     showframe=true% }  \begin{document}     \begin{minipage}[t]{0.5\linewidth}         \includegraphics[height=2cm, left]{fig1}     \end{minipage}%     \begin{minipage}[t]{0.5\linewidth}         \includegraphics[height=2cm, right]{fig1}     \end{minipage} \end{document}   Output

I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information.  The code works fine, but I cannot figure out why the left edge of the minipage is indented further than the section heading and text and which come below it.   Any ideas and help would be very appreciate.  Here is the code:   %------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS %------------------------------------------------------------------- \documentclass[10pt]{article} \usepackage{array, xcolor, lipsum, bibentry} \usepackage[     paper=letterpaper,     includefoot,            % Uncomment to put page number above margin     marginparwidth=1in,     % Length of section titles     marginparsep=.05in,     % Space between titles and text     margin=1in,         % 1 inch margins     ]{geometry}  \usepackage{showframe}    % Shrink spacing around section headings \usepackage{titlesec} \titleformat*{\section}{\large\bfseries} \titlespacing\section{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}  % Break tables across pages \usepackage{supertabular}  % Set column sizes and color \definecolor{lightgray}{gray}{0.8} \newcolumntype{L}{>{\raggedleft}p{0.1225\textwidth}} \newcolumntype{R}{p{0.81\textwidth}} \newcolumntype{X}{>{\raggedleft}p{0.05\textwidth}} \newcolumntype{Y}{p{0.9\textwidth}}  % Commands to simplify starting a table \newcommand\VRule{\color{lightgray}\vrule width 0.5pt} \newcommand\smalltab{\begin{supertabular}{L!{\VRule}R}} \newcommand\medtab{\begin{supertabular}{X!{\VRule}Y}} \newcommand\longtab{\begin{supertabular}{L!{\VRule}R}}  \begin{document} %-------------------------------------------------------------------  % NAME AND CONTACT INFO %-------------------------------------------------------------------  \begin{minipage}[b]{0.65\textwidth} \begin{flushleft}     \Huge{\textsc{Here is my name\\}}     \Large{Curriculum Vitae} \end{flushleft}  \end{minipage} \begin{minipage}[b]{0.35\textwidth}     \small{Street Address\\     City, State 12345\\     emailaddress@gmail.com\\     www.website.com\\     1-555-555-5551} \end{minipage}  %------------------------------------------------------------------- % EDUCATION %------------------------------------------------------------------- \section*{Education} \smalltab     2011--present & PhD in Stuff, Very Awesome School.\\[2.5pt]     2009--2011 & Masters in Stuff, Just OK School.\\[2.5pt]     2004--2008 & Bachelors in Things, Relatively Awesome School.\\ \end{supertabular}  \end{document}


I'm relatively new to Linux and all of these helpful community forums. I was curious about running a command from a terminal that would open another terminal and run the proceeding command without switching. I'm not sure how clear that sounds, what I'm trying to do is run   avahi-daemon  avahi-browse -a -t   but as you can tell avahi-browse -a -t would need to be run in a new terminal. How can I run this line of code in one terminal and have it run the code automatically in a new terminal?  gnome-terminal   is there even a work around to force a command into a terminal?  update:   avahi-daemon && gnome-terminal -x sh -c avahi-browse -a -t   Option “-x” is deprecated and might be removed in a later version of gnome-terminal.  Option “-e” is deprecated and might be removed in a later version of gnome-terminal.   Use “-- ” to terminate the options and put the command line to execute after it   nothing happens with   avahi-daemon && gnome-terminal -- sh -c avahi-browse -a -t

How to run any command in another terminal window?  Example: I opened one terminal window and if I run command like apropos editor, then it run and out-puts on that window. But I want to run same command on another terminal window (new window) instead on present window from first terminal.   Further clarification:  I need suggest-command <command> that open new terminal window and run mentioned <command> in that (newly opened) window. (where suggest-command is example of suggestion of command.)  How to do that?


I am new to the world of open source software. I'm a video enthusiast. I am used to using Sony Vegas - a professional editor so I want an open source editor with  professional capabilities for Vimeo, YouTube and personal use. I use Ubuntu 14.04. I searched Google and I have tried Openshot and Pitivi but they don't have the facilities offered by Sony Vegas. Can anyone recommend a video editor that might suit me?

I have recently moved onto Linux especially Ubuntu, and I'm a video freak, I love editing videos for my youtube channel, Vimeo, Plex, etc and since I'm new to this Open Source World, I cannot decide which one should I choose?  I had done a search on Google which presented me with Pitvi, Open Shot and such editors but is there any video editor in Linux World equivalent to Sony Vegas video editor? (For Professional Use)


import csv f = open('age.csv',encoding='utf8') data = csv.reader(f)  for row in data :     if '신도림' in row[0]:         for i in row[3:]:             print(i)   Hello, I just started python data analysis yesterday. csv file that I am using is about population survey based on ages and I got this question now. When I use row[3] it gives me something like this  3 2 6   but when I use row[3:] it gives me the correct answer.  326 457 345 . . .   What is different between these two? Thank you for your helping.

I need a good explanation (references are a plus) on Python's slice notation.   To me, this notation needs a bit of picking up.   It looks extremely powerful, but I haven't quite got my head around it.


I couldn't find some good textures for my Godot game, so I am  looking forward using Half-Life 2 assets. I have HL2 in my library on Steam.  Can I use those assets in my game?

Most games build on other games' successes and many are downright clones. Where is the limit of imitation before legal issues come into play? Is it down to literary or graphic work like characters and storyline that cause legal problems, or can someone actually claim to own gameplay mechanics?  There are so many similar clone games out there that the rules are probably very slack or nonexistent, but I'd like to hear the views of more experienced developers / designers.


Can I return to Austria in a few days to be with my daughter. I am a US citizen and have 2 yr leave to remain visa visa. My daughter needs me here in Austria.    May I just say that my 2 year leave to remain visa is for the UK.

I have searched the web a lot and could not find an answer that fits my situation. Here are two links that are quite contradictory:       My situation:  I've visited Portugal in December 2012 for 29 days on a Schengen visa valid from December 1st, 2012 to February 1st, 2013 for research purposes (I am a Ph.D. student). I want to visit Sweden from February 10th, 2013 to May 10th, 2013 (89 days). I have applied for a Schengen visa again (for research). How will the 90/180 rule work in my situation?


I have been struggling to provide a hyperlink to the author's name and year I have used in my bibliography file (doc.bib). Does anyone have a MWE to provide in this case or let me know what I am doing wrong? Thank you.  This is the code I have used so far:  doc.bib  @article{abcd:2006a,   author      = "Torben G. Andersen and Tim Bollerslev and                  Peter F. Christoffersen and Francis X.                  Diebold",   title       = "Volatility and correlation forecasting",   chapter     = 15,   pages       = "777--878",   editor      = "Graham Elliott and Clive W. J. Granger and                  Allan Timmermann",   booktitle   = "Handbook of Economic Forecasting,                  Volume~1",   publisher   = "Elsevier",   address     = "Amsterdam",   year        = 2006, }   doc.tex  \documentclass[11pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \newcommand{\doc}{F:/Datasets/KLIPS/data/wave_01_13/tex/1.Introduction/final} \usepackage[colorlinks=true,linkcolor=black, citecolor=blue, urlcolor=blue]{hyperref} \usepackage{cite} \begin{document} \section{A} Bla bla \cite{abcd:2006a}.  \bibliographystyle{plainnat} \bibliography{\doc} \end{document}

I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home page to get familiar with it. Instead of the citation number I get a question mark. I compile using Latex+Bibtex+Latex+Latex+PDFLatex+ViewPDF just as has been previously suggested and the problem persists.   \documentclass[11pt]{article} \usepackage{cite}  \begin{document}  \title{My Article} \author{Nobody Jr.} \date{Today} \maketitle  Blablabla said Nobody ~\cite{Nobody06}.  \bibliography{mybib} \bibliographystyle{plain} \end{document}   My bibliography (Bib.bbl)  @misc{ Nobody06, author = "Nobody Jr", title = "My Article", year = "2006" }    Looking at previous posts one thing that is concerning is that my .bbl looks empty as shown below. Further, I don't have a .blg  \begin{thebibliography}{}  \end{thebibliography}


Specifically this user:   His questions are coming quickly and have problems:   They require significant editing (which the SO community is stepping up, but it might just be a waste of time). Over half get closed or close votes. (Which is a sign that SO is self-cleansing) Some are duplicates of other questions (even his own). A large majority start with the same title: Require a code So far none of his questions have accepted answers.   For the most part SO is down-voting, editing, and closing the poor questions.  This is good, but if it keeps going is just a waste of time.  What can be done to help new poor users to learn to get better at asking questions?    Should they be limited to one question every 12 hours if previous questions are poor? (Poor could be determined by negative score)  Is there anything else that can be done to help them to learn to be better or at least stop the user from creating more editing work?

Stack Overflow has been wildly successful. And maybe in some ways too successful. I am concerned that Stack Overflow is being inundated by a stream of low-quality questions from users who are accidentally poisoning our well -- by turning off and turning away the core answerers who do all the real work in the system. In theory there is "no such thing as a stupid question" but in practice, there are:  users who can't be bothered to form sentences users who don't do the most basic kinds of research themselves users who barely even explain what it is they are trying to do  I mean a pattern of the above. Not an isolated incident, but 5-10 questions (or dozens or hundreds!) all showing the exact same negative characteristics over a period of days or weeks. Now, a few of these questions is no problem for our community -- that's why we have voting, reputation, question closing, community moderators, flagging, etc. I am happy to intervene if there is a pattern of negligent, irresponsible, failure-to-learn-anything-at-all questions from a particular user. It's easily the #1 reason I mete out timed suspensions at this point. All of these systems work, and have worked to date! That's the good news. That's why we have a community worth participating in, and a community worth visiting. But. I'm starting to see cracks in Stack Overflow as its popularity grows. At some point you have to face up to the hard reality: there are an infinite number of bad questions that can be asked in willful ignorance. However smart our software, however smart our users -- we can't scale enough to defeat a million monkeys randomly typing. Not possible. I worry that we're not doing enough to automatically filter out obviously bad / malicious / inept questions from the system, before the burden of having to deal with these questions lands on our talented audience of answerers. It's an explicit goal to make moderation easy and effortless. I can't in good conscience say we're doing that, if users have to face down a neverending flood of truly horrible, careless questions.. and hope for an occasional gem to float along. What can we do -- what do you suggest -- to detect and prevent these kinds of bottom-of-the-barrel questions from even entering our system in the first place? I am willing to sacrifice a small percentage of new questions (up to 10%) as collateral damage if necessary. (hint as a starting point: think new user / IP address restrictions, around question asking, perhaps based on history..) Now completed! See  below...


Basically, I want to break up an align environment with a line or two of comments and then continue with a new align, but I want to keep the alignment (aka the positioning of the & character) in the same horizontal space as the previous align. Is there any way to do that? Alternatively, is there any way to break out of the align environment for a comment in text mode and then break back in?

I try to reproduce the output that is generated by:  \begin{equation}     \begin{aligned}     (x-x_1)^2 + (y-y_1)^2 & = r_1^2 \\     (x-x_2)^2 + (y-y_2)^2 & = r_2^2 \\     (x-x_3)^2 + (y-y_3)^2 & = r_3^2 \\     \end{aligned}     \label{label a} \end{equation} Additional lines: \begin{equation}     \begin{aligned}     (x-x_k)^2 + (y-y_k)^2 & = r_k^2          \end{aligned}     \label{label b} \end{equation}   but make the two aligned blocks use the same alignment (as if it was just one align block. I tried to do this with just one align block + intertext for the line of text in the middle. But this gave me 4 lines of equation with 4 individual numbers which is not desired.   Thanks for your help and sorry for my bad english.


$M$ is metric space, $A\subset M, F$ is closed in $M$,  I'm asked to prove $A\cap F$ is closed in $A$.  First of all, what does "closed in $A$ mean"?   Does it mean that $A$ is now the metric space being considered?   If this is the case and a metric space is both open and closed, why can't I just say $A\cap F$ is closed because it is an intersection of two closed sets?

I have the following problem:      Let $(X,\tau)$ be a topological space and $(Y,\tau_y)$ be its    subspace, that is $Y\subset X$ and $\tau_y=\{\;A\;\cap\;Y\mid  A\in\tau\;\}$. Let also $F\subset Y$ and $H\subset X$, where $H$ is    closed in $X$. Show that $F=Y\;\cap\;H$ if and only if $F$ is closed   in $Y$.   I solved this problem by assuming that if $F$ is closed then $F=Y\;\cap\;H$, where $H$ is closed in $X$, but I got stuck proving this in the other direction, that is showing that if $F=Y\;\cap\;H$ then $F$ is closed in $Y$.  I tried to do something like this:   Assumption: $F=Y\;\cap\;H$, where $H$ is closed in $X$. If $H$ is closed in $X$ then $X\;\setminus\;H$ is open in $X$ and then $X\;\setminus\;H \in \tau$ which means that $B = (X\;\setminus\;H)\;\cap\;Y\in \tau_y$.  How should I proceed now? Should I investigate the set $B$ now more or what?


I installed Ubuntu in dual boot, so I have one partition for Windows, and another for Ubuntu. However, when I check the partitions I see that I have 6.3GB of space formatted as Linux swap. I do not know why I have that partition. Can I format it to use?

So I noticed this question has not been asked directly;  What is this "Swap Area" people keep referring to when it comes to installing Ubuntu?


Say, I worked for a Japanese bakery in 2010-2012. Now that I am going to tell the people in the new bakery shop about my experience. Shall I say: (1), "I have two years of experience in bakery", or (2), "I had two years of experience in bakery".  I pick (2) beacuse the two-year experience is past, but I am not sure if I am correct. Please help me.

Is it more natural to speak in simple past or past perfect when explaining past events to a friend? It seems like Americans use more simple past in everyday life than past perfect. I found this example online:     I had almost completed my essay when my computer suddenly crashed and I noticed that I had forgotten to save the document.   Is it wrong to say the following instead?     I was almost done with my essay when my computer suddenly crashed and I noticed that I forgot to save the document.   Maybe it's just my friends, but I rarely hear them speak in past perfect, so I'm really torn about using past perfect when it isn't necessary.


What is another way to rewrite this? This function is called when the user says their number is higher in the program virtual void higher() {    //dont go above high low = (getCurrentGuess() + 1 > high) ? high : getCurrentGuess() + 1; seed = time(NULL); }

I've always wondered how to write the "A ? B : C" syntax in a C++ compatible language.  I think it works something like: (Pseudo code)  If A > B    C = A Else    C = B   Will any veteran C++ programmer please help me out?


The comments and replies made on my own question/ answer or followed question go into my INBOX and the notification shows in the top right corner (right between the profile image and reputation image). Similar to this functionality, is there a way to get notified about unread "chat room" comments/ replies? The reason I ask this is because for questions (with too many conversations) on which it is recommended to continue via chat rooms, the members may not be online all the time or would respond as soon as they find time. As of now, unless I go into the chat room, there is no way I can know whether there was any response. Ideally, if there is an item in my inbox indicating that there are new comments/ replies in the specific chat room, it would be a lot easier. This would be a really nice feature to have from user experience point of view.

TL;DR: Chat should ping like comments do. If someone forgets to @mention me and we're the only two people with access to the room, I'd like to receive a notification. As a moderator, I increasingly find myself communicating with users for ad-hoc requests using the  feature in chat. A common use-case (one that recently happened, even) is where a user flags their post asking for it to be deleted, so I ping them in chat and ask if a disassociation would suffice. This is great and all, but I find it really difficult to keep on top of all these chatrooms floating out in space, especially for less frequent users, who may take a week to respond to me. The trouble is that these often-less-experienced users (who typically don't even have chat accounts in the first place) either don't know they can, or forget to @mention me. I try to check back every few days, but sometimes I forget, and sometimes a few days is just too long. This leads to conversations that go something like:  Matthew: Hey, I saw your flag. Would disassociation work? Other user: Yes, please do that. Other user: Yes Other user: Hello?  Which is, frankly, embarrassing. I don't want people feeling like their moderator team is ignoring them. I know I could theoretically keep on top of these, and I generally do, but I really don't like the fact that some could also slip through the cracks. I think this has happened twice for me, which seems like two times too many.  As a solution, I'd like to see chat notifications behave more like comment ones. In the process of a super ping like this, I always use private rooms. If the room is set up as private with only two users explicitly granted access (me, the owner and room creator, and the user as a writer), I want to be notified whether or not they include an @mention. I recognize that this may not be a one-size-fits-all solution, and there are lots of requests out there for subscribing to chatrooms and receiving notifications for every message posted, but I understand that's not a priority, and it would be overkill for this anyway.


I have a sql server which being monitor by Nagios. One day, i received some alerts from nagios come with some sensitive information like:  Critical Alert: dbi connect (Server name: ABC, Encrypted Password: 1, User:  Sa.......)   How can i hide this ?

I have a sql server which being monitor by Nagios through snmp string. One day, i received some alert from nagios come with some sensitive information like:  Critical Alert: dbi connect (Server name: ABC, Encrypted Password: 1, User:  Sa.......)   How can i hide this ?


How to remove browsers message "You need to upgrade your Flash Player" after 12 jan 2021 . according to this page :  we need patch for all versions of browsers . Thanks Saeed

I would like to use Flash Player to show web contents but since today (12 Jan 2021) Adobe is blocking it. Is there a way to use it? I've tried Firefox, Chrome, Safari and Brave browsers.


Using Weak Mathematical Induction, I have to show that, for all integers $n \geq 1$,  $8|3^{2n} -1$  I really don't know how to go about solving this problem. Currently I only have the base case and the Inductive Hypothesis:  Base Case: For $n = 1$ $$8|3^{2(1)}-1 = 8|8 = 0$$  Inductive Hypothesis: Assume true for $n = k$ $$8|3^{2k}-1$$  Inductive Step: I want to show that the statement is true for $n = k+1$ so $$8|3^{2(k+1)}-1$$  This is where I am currently stuck. Any help would be really helpful. Thanks

So I'm trying to use mathematical induction to show that for all integers $n \ge 1$ ,  $$ 8|(3^{2n} - 1)$$  (is divisible by 8)  I have my base case: [P(1)],  $3^2 - 1 = 9 - 1 = 8$, since $8|8$, the base case proves true  Assume [P(k)], $ 8 | (3^{2k} - 1)$.  I know that I need to show [P(k+1)], $ 8| (3^{2(k+1)}-1) $, but I'm not sure how to prove this. I've only been using induction for summation, so how could I prove divisibility?


I'm using a Linux USB to try and get into an old computer.   I've done so in the past with others by going into the Windows OS folder, however when I try to do it on this PC I can open other local folders but not the Windows OS folder. I get an input output error and it says that the HDD is mounted as Read only.   I have tried a mix of mount commands but nothing seems to work?

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount.  When I try to enter my Windows partition through Nautilus I get a message saying that this partition is hibernated and that I need to enter the file system and properly close it, something I have done with no problem so I don't know why this happens.    Here's my partition table, if any more data is needed please let me know.     Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    20000767     9999360   83  Linux /dev/sda2        20002814   478001151   228999169    5  Extended /dev/sda3   *   478001152   622532607    72265728    7  HPFS/NTFS/exFAT /dev/sda4       622532608   625141759     1304576   82  Linux swap / Solaris /dev/sda5        20002816   478001151   228999168   83  Linux


I am working on a plugin that would highlight selected features by changing its color. Can anyone help me regarding this? The plugin searches for required features and once found, I want that those features are highlighted with color different from the layer color. How to do this?  Here is the snippet:  def processResults(self, results):     if self.layer is None:         return     if self.selectBox.isChecked():         self.layer.setSelectedFeatures(results)         if len(results) == 0:             return          if self.panBox.isEnabled() and self.panBox.isChecked():             canvas = self.iface.mapCanvas()             rect = canvas.mapRenderer().layerExtentToOutputExtent(self.layer, self.layer.boundingBoxOfSelected())             if rect is not None:                 if self.scaleBox.isEnabled() and self.scaleBox.isChecked():                     rect.scale(1.5)                     canvas.setExtent(rect)                 else:                     canvas.setExtent(QgsRectangle(rect.center(), rect.center()))             canvas.refresh()   This code just scales the canvas 1.5 times, what I want is not zooming in it, but just highlight it on the same scale by either changing color or any other means. How to do it?

In QGIS there is an option to select features of a selected layer using a "identify feature" tool. Then the feature get highlighted in a different color and attribute dialog is poping up. like that i want to highlight the multiple features programatically.  Ex: I have a set of vector layers which consists of number of roads as features. I need to select few roads by looking at its attributes and highlight.  Is there any way of achieving this using python code?


I have simple enumeration (using enumitem package) with disabled hyphenation.  \documentclass[12pt, oneside]{extarticle} \usepackage[a4paper, left=3cm, right=1.5cm, top=2cm, bottom=2cm, bindingoffset=1cm ]{geometry}  \usepackage{enumitem, showframe} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,russian]{babel} \usepackage{blindtext}  \begin{document}      \begin{enumerate}[label={\arabic*}.]         \item \large{\textbf{Общие положения}}         \item \large{\textbf{Квалификационные требования}}          \begin{enumerate}[label*={\arabic*}.]             \item \textbf{Необходимые требования}             \begin{itemize}                 \item Опыт работы по основному направлению деятельности подразделения не менее 4 лет             \end{itemize}             \item \textbf{Специальные требования}             \begin{itemize}                 \item Глубокие знания и опыт организации технической поддержки                 \item Управленческая ответственность                 \item \blindtext             \end{itemize}          \end{enumerate}                \end{enumerate}  \end{document}   But text crosses the frame.     Why it could be? Thanks in advance. Ivan.

Often, TeX outputs underfull hbox and vbox warnings when running and in the generated log file. What are these and how can I get rid of them?


Mysite and OneDrive  shows the default theme, we need to change the color and the background   It looks ease of cake, I went to site setting, the change the look is not available, I clicked on the right gear icon it is not listed too!!  I checked this post   It helped me to change the look for mysite but for OneDrive it still shows the old theme?  What I am missing? Do I need to enable a feature ? Or there a configuration issue?

I cannot find the "Change the Look" option in a My Site site. Is theming possible in a My Site Host web application?


I have 500gb hard disk but full used, now i want to add an external hard disk and want to install an OS(windows 7) in this hard disk. Is it possible ? If YES then HOW?

Is it possible to install Windows OS to plug and play storage devices such as external hard drives, HDD enclosures (with SATA hard drives), USB flashdrives and the likes? What OS's? And if it's possible, can I boot on it after the installation/formatting?  I've read someone has tried this already using Windows XP but failed since XP reinitializes all attached USB devices before loading OS, thus disabling the External HDD that is attached via USB port.  What about other Windows OS: on Windows 7 or 8.... or Windows 10?  I'm asking this because I'm planning to create a portable OS. When I'm at my house, when I go to my grandmother's, or to a friend's place: I just simple plug that portable storage device, change the boot priority, and turn on the system and ta-da! I will only see one environment every time.


We are given the function:  $$f(x,y)=x^2+xy+x+y^2$$  On the set $S=\{(x,y):x^2+y^2 \leq 9\}$  I found the critical point on the interior of $S$ to be $(-2/3,1/3)$.  I am asked to parametrize the boundary of $S$ in terms of theta using sine and cosine, and write $f$ in terms of theta on the boundary. (don't forget restrictions on theta).  I'm not sure how to do this.  After we do that, we are asked to find the extrema of $f$ on $S$. I am also not sure how to do this.  Any help would be immensely appreciated!

$f(x,y)=x^2+x\cdot y+x+y^2$ on the set $S=\{(x,y) : x^2+y^2 \leq 9\}$.  I found the critical point on the interior of $S$ to be $\left(\frac{-2}{3},\frac{1}{3}\right)$.  I'm not sure how to parametrize the boundary of $S$ in terms of theta using sine and cosine and write $f$ in terms of theta on the boundary by putting restrictions on theta.  I also am not sure how to find the extrema of $f$ on $S$.


I'm creating a game where thats turn-based. In this game - I have a grid of N x N size.  I thought that it would be a great idea to use a 2D-boolean array to represent the binary states of all the cells in this grid.  Imagine:  // T = true | F = false --------------------- | F |   |   |   |   | --------------------- |   | T |   |   |   | ---------------------    // i.e. grid[0][0] = false |   |   |   |   |   | --------------------- |   |   |   |   |   | ---------------------   Each square can either be true or false. The rules of the game are not important... Just note that each cell can be true or false.  This is what I tried to implement:  public class Life {     Boolean[][] grid;      public Life(int x, int y, Boolean status) {         if(!this.grid[x][y]) {             this.grid = new Boolean[x][y];         }         this.grid[x][y] = status;     } }   Which I would instantiate like this:  new Life(0,0,false); new Life(2,1,true);   However, when I do this, my program crashes and I'm not sure as to what I'm doing wrong. Any help is appreciated.      Caused by: java.lang.NullPointerException       at Life.(Life.java:6)

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


Can I buy a Nikon camera body that already has autofocus, then purchase any non-autofocus Nikon lens and be able autofocus simply from the body itself?

I want to purchase a camera with a built in autofocus motor, but I want to know if lenses without autofocus will then focus automatically on that camera body.  In other words, can I buy a Nikon camera body that already has autofocus, then purchase any non-autofocus Nikon lens and be able autofocus simply from the body itself?


I'm taking a manual photography class, using my canon rebel t5. Any tips on how to calculate aperture and shutter speeds easily? (I know they have to be inverted).  After I meter my photo (set at -0-). And Set ISO at 200 (this is all set by the instructor) If my aperture is F11...and shutter speed is 1/60...and I am instructed to move my aperture to F22...how do I calculate the correct shutter speed to correspond? (My camera moves in thirds)

What is the math equation to calculate the difference between two different shutter speeds in stops?


I have been working on what I thought would just be a simple function for quite a while now. We are expected to use push_back(), but I haven't been able to get it to work. Here's what I have right now: void append(const vector<int>& v1, vector<int> v2) {     for (int x : v1)         v2.push_back(x); }  void println(const vector<int>& v) {     for (int x : v)         cout << x << ' ';     cout << endl; }  int main() {     vector <int> v1(3, 15);     vector <int> v2(3, 25);     append(v1, v2);     println(v1);     println(v2); }


This should be very straightforward but it's got me stumped!  Lets say i have a page: mysite.com/mypage.jsp  When it gets submitted to itself the url is: mysite.com/mypage.jsp?myvalue=blah  I've got the following code which never equates to true, what am i doing wrong?  String myvalue = request.getParameter("myvalue");  if ( myvalue == "blah" ) {  out.print("
You submitted the page, my value = " + myvalue + "
" );  } else {   out.print("
Page not submitted yet, my value = " + myvalue + "
" ); }

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


I have a cube and I want to cut along an edge so that I can move a face away from the cube.   Basically I want to make a cut along the orange selected closed line and at same time keeping all the faces (I just want to be able to move away faces without deforming the cube).  Note that my initial mesh is just a cube subdivided once, but seems the functions are a bit bugged:  Here's :    Attemp 1   Vertex Edit mode -> Edge Select -> Select ring to cut and press V   Don't work here's the result:     Attemp 2   Vertex Edit mode -> Vertex Select -> Select vertices to make a ring and press Y   Don't work either here's the result:

I don't know how to disconnect a face from the rest of the mesh in edit mode.  This isn't like pressing P to separate the selection into a completely different object. I just want to select a face and disconnect/rip it away from the rest of the mesh but keep it as a part of the original object.  One way to do it would be to duplicate the face with ShiftD and then delete the original face. But I suspect there is a "native" command for disconnecting selected faces and I would like to learn it.


I would like to give out a notification on screen by a script that is running by root on Ubuntu 14.04.  I tried this:  #!/bin/bash MAINUSER=$(cat /etc/passwd|grep 1000|sed "s/:.*$//g") su $MAINUSER -c 'notify-send "starting some scan... "' #.... su $MAINUSER -c 'notify-send "scan finished "'   which works fine and creates a notification, if you run it as root in a terminal, that was started in the desktop screen, but it doesn't if you change to another screen with Ctrl+Alt+F1 to start it from there as root.   I also tried it with export DISPLAY=:0; sudo -E -u rubo77 notify-send, but that didn't change the behaviour either.  I would like to add it here in my script to   relevant discussion:   I also tried to use  instead, but the same result

Following are other questions which I think I need to know:   From a non X Session? (meaning root isn't logged into X) If multiple people were logged in on X, could I auto-detect who was on which screen, and thus programmatically detect which screen I need to launch the app on? Can I launch the app as the user? ( ok I'm 99.999% sure this is a yes ) Can I detect if users of group X are logged in to X?


I am using Ubuntu 13.04 x86_64.  I wanted to own whole stuff in my home directory. So I executed these two commands.  sudo chown -RcH rootkea ~   sudo chown -RcL rootkea ~   Now due to those symbolic links linked to some other files in filesystem I have accidentally owned files which reside outside of my home directory. The immediate consequences which I noticed are:     sudo not working    $ sudo   sudo: effective uid is not 0, is sudo installed setuid root?  system has become so slow. It just gets hanged when I click on shutdown / reboot. Each time I have to manually power off the machine.   creates a log file /var/log/cups/error_log of indefinite size which consumes the last byte of my hard drive (after considerable time). Last time it was 17.8 GB! The content of the file was only these two lines repeated uncountably:   E [24/May/2013:02:27:52 +0530] File "/usr/lib/cups/notifier/dbus" has insecure permissions (0100755/uid=1000/gid=0).   W [24/May/2013:02:27:52 +0530] Notifier for subscription 531 (dbus://) went away, retrying!    So clearly cups program is screwed too.    Now I have no idea about how many other programs have gone to unusable state.    Is there any way to undo the effects of above mentioned two commands ? How can I restore the default permission settings to whole filesystem ?

I accidently ran  sudo chmod 755 -R /   instead of  sudo chmod 755 -R ./   I stopped it after few seconds, but now there is some problems such as  sudo: must be setuid root   How can I revert permissions back?


While browsing some physics websites, I saw that to make an object reach the speed of light, it requires infinite energy and talked about its relation with Einstein's famous equation $E=mc²$. However, they didn't show how they reached the conclusion that it requires infinite energy to reach the speed of light. I would like to know how it was proved.

I read somewhere that $E=mc^2$ shows that if something was to travel faster than the speed of light then they would have infinite mass and would have used infinite energy.   How does the equation show this?  The reason I think this is because of this quote from Hawking (I may be misinterpreting it):     Because of the equivalence of energy and mass, the energy which an object has due to its motion will add to its mass. This effect is only significant to objects moving at speeds close to the speed of light. At 10 per cent of the speed of light an objects mass is only 0.5 per cent more than normal, at 90 per cent of the speed of light it would be twice its normal mass. As an object approaches the speed of light its mass rises ever more quickly, so takes more energy to speed it up further. It cannot therefore reach the speed of light because its mass would be infinite, and by the equivalence of mass and energy, it would have taken an infinite amount of energy to get there.   The reason I think he's saying that this is as a result of $E = mc^2$ is because he's talking about the equivalence of $E$ and $c$ from the equation.


I have an image stabilizer in my 18-55mm kit lens that came with the Canon EOS 2000D DSLR. I recently tested it with the largest possible focal length of this lens. I saw that the viewfinder image vibrated far less with the stabilizer, so apparently it's doing something.  My 10 test shots with 1/5 second shutter and IS were occasionally shaken, even though I attempted to hold the camera steadily.  However, the 10 test shots with 1/10 second shutter speed were okay if I attempted to hold the camera steadily.  Then I tested with image stabilizer off, attempting to hold the camera steadily.  The 10 test shots with 1/20 second shutter and no IS were occasionally shaken.  The 10 test shots with 1/40 second shutter and no IS were basically okay.  Also, I have tested fast-moving subjects like cars to capture motion blur. As it's wet outside, I took the images through my small window so I have to be quick whenever I see a car driving past. My experience is that with 50mm fixed lens without IS, 1/80 second shutter will be fine even if I have to take the image really quickly and have no time to ensure my hands are steady. Also, my experience with 18-55mm kit lens with IS is that 1/20 second shutter is required with IS on, if I have to capture the image really quickly.  So, my experience is that trying to keep my hands steady, the IS helps only for 2 stops. Similarly, when taking the picture quickly, the IS also helps only for 2 stops.  However, the manufacturer claims the IS is a 4-stop IS. As the stops are exponential, the manufacturer is claiming 16-fold improvement whereas I'm observing only 4-fold improvement.  Can I trust the manufacturer's claims for IS improvement? Or is it just false marketing data?  Is the IS as effective with any focal length, or might it be the case that for this particular lens, the 4 stops advertised only works for a certain optimal focal length, and at the longest focal length, it's not 4 stops?  Note my results with steady hands somewhat contradict the 1/(focal length * crop factor) rule. 1/40 seconds was fine with steady hands even though the rule gives 1/88 seconds, with crop factor 1.6 and focal length 55 mm. However, the 1/(focal length * crop factor) rule seems to be valid for me if I have to capture the image really quickly. But perhaps that's the subject of another question...

I've been considering getting an L-series zoom lens, and the two that I am looking at are the Canon 24-105mm f/4L IS, and the 24-70mm f/2.8L.  Aside from the extra reach of the 24-105, the main difference is obviously the f/2.8 aperture versus the active Image Stabilisation.  Canon state that the IS on this lens "permits the use of shutter speeds up to three stops slower than normal". It's the "up to" in this statement that got me thinking about how image stabilisation is rated.  There is a general rule of thumb that your shots should be good (with a steady hand) at shutter speeds of up to 1/focal length, so clearly the focal length is a factor of image stability. Now, I can't imagine that Canon would publish anything but the best numbers for their spec sheets, so this leads me to assume that the "three stops" of IS they quote are at a focal length of 24mm. So my next question is, what does this mean at the 105mm end? I've done a few calculations, and I invite you to check my workings.  3 stops is a linear factor of 8 (2^3). I think this equates to a linear IS factor of 1.83 @105mm (8*24/105). Or, 0.87 stops. Less than 1 stop!  Using the same calculation but for a focal length of 70mm, the IS of the 24-105mm comes out at 1.46 stops.  Do I have my calculations correct?  PS: I know that the increased aperture of the f/2.8 will give greater background blur, better capture of moving subjects, blah, blah... so please don't feel that you have to lecture me on that. All I'm asking about is IS.


Tell me the full program software for drawing LaTeX diagrams and control systems schemes. For example:  I know TeXample and Overleaf, but I own it badly, because writing these schemes in the programming language for a long time and is enjoyable, but I want something in the type of Visio, naturally with the possibilities of LaTeX on editing and formatting formulas and plots. I would be grateful for the advice and help.

I found  to be a useful tool to help generate code for graphs. I suppose there must be other tools to help draw diagrams such as Sets/Venn Diagrams or Electrical Circuits (Logic Gates). Which ones would you suggest?


I have an odd situation. An Active Directory group was recently created for the sole purpose of being a securable in SQL Server. I created a login based on the AD group, a user based on the login, and granted permissions to the user. All pretty standard stuff. When I impersonate one of the group members (using execute as login='domain\username'), I'm able to perform the granted action. However, when the user himself tries it, he gets "permission denied". I'm at a loss to explain the behavior and subsequently fix it.

I am using Sql Server 2008 on Small Business Server 2003; client is using WinXP.   I added a user to my Active Directory Security Group; Why can't this user immediately access the database? It seems there is a delay before the user is recognized in Sql Server.   I am using AD Security Groups for permissions expressly so that I don't need to add individual users in Sql Server. So effectively I don't need to do anything but add the user to the AD Security Group in order to grant access.  But for some reason Sql Server doesn't immediately recognize the addition. I've seen this a number of times. I add the user to the group but that user can't access data until the next day. It seems that it doesn't query the Active Directory in real time. Can you confirm that is so?  What do I need to do so that Sql Server "refreshes" the list of users from Active Directory?


Let $\phi : G \to H$ be a group homomorphism. Is is it true that, there exists a subgroup $K$ of $G$ such that $K$ is isomorphic to the image of $\phi$?  Edit: How about for finite $G$?

If $H \trianglelefteq G$, need $G$ contain a subgroup isomorphic to $G/H$?  I worked out the isomorphism types of the quotient groups of $S_3, D_8, Q_8$.  For $S_3$:   $S_3/\{1\} \cong S_3$, $S_3/\langle (1\ 2\ 3)\rangle \cong \mathbb Z_2$, $S_3/S_3 \cong \{1\}$.   For $D_8$:   $D_8/\{1\} \cong D_8$, $D_8/\langle r\rangle \cong \mathbb Z_2$, $D_8/\langle s, r^2\rangle \cong \mathbb Z_2$, $D_8/\langle sr^3, r^2\rangle \cong \mathbb Z_2$, $D_8/\langle r^2\rangle \cong V_4$, $D_8/D_8 \cong \{1\}$.   For $Q_8$   $Q_8/\{1\} \cong Q_8$, $Q_8/\{1, -1\} \cong V_4$, $Q_8/\langle i \rangle \cong \mathbb Z_2$, $Q_8/\langle j \rangle \cong \mathbb Z_2$, $Q_8/\langle k \rangle \cong \mathbb Z_2$, $Q_8/Q_8 \cong \{1\}$.   So I'm guessing that the statement is true, but I don't know how to prove it. And if its not true, I haven't found a counter example. Can someone give me a proof or counterexample? Or a HINT :D  EDIT: Ahhh. I feel stupid now. Given $\{1, -1\}$ normal in $Q_8$ there is no subgroup of $Q_8$ isomorphic to $V_4$. Correct? So the statement is false?


According to Gelman, a weakly informative prior is defined in the following way:     We characterize a prior distribution as weakly informative if it is   proper but is set up so that the information it does provide is   intentionally weaker than whatever actual prior knowledge is available   I humbly consider this definition a bit misleading, Wouldn't more correct to say that a weakly informative prior is a proper prior which doesn't carry a lot of information before observing the data? Thank you.

Is there a precise definition of weakly informative prior?  How is it different from a subjective prior with broad support?


How do I copy a file/folder from a DVD to my hard drive using the Terminal?

I was offered a couple of DVDs from abroad that cannot be played on my player due to region filtering.  So I tried k9copy to copy the DVD (it removes the region automatically). But for some reasons the copy does not work well (followed the instructions  but the generated ISO file does not work / not even in media player - additionally there are many bugs in k9copy 2.3.5 (latest from Ubuntu) showing that it is not a reliable software, at least not on Gnome...).  My question is simple: how to copy a DVD on Ubuntu, the copy/ISO being as close to the original, but without the region code.


I don't know if this is the right place to ask this question, there may also be duplicates,  I just want to ask: Which will be the best DE for: Pentium 4 3.6 GHz (2007), 1GB DDR2 RAM, Intel 915G chipset. Basically I am limited in terms of graphics capabilities by that chipset. So, could you recommend a light weight DE to go with Ubuntu?

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


I have added a jar file to add a chart customizer class in my jasper report. But when compiling it gives the NoSuchMethodError. I have added enough libraries to the classpath and I am using jasperreports-6.5.1 and jfreechart-1.5.0.   Jasper exception:  java.lang.NoSuchMethodError: org.jfree.chart.title.LegendTitle.setItemLabelPadding(Lorg/jfree/chart/ui/RectangleInsets;)V null  java.lang.NoSuchMethodError: org.jfree.chart.title.LegendTitle.setItemLabelPadding(Lorg/jfree/chart/ui/RectangleInsets;)V   Source code in the jar file:  public class ChartCustomizer extends JRAbstractChartCustomizer { DecimalFormat twoPlaces = new DecimalFormat("0.00");  @Override public void customize(JFreeChart jFreeChart, JRChart jrChart) {     if (jFreeChart.getPlot().getClass().equals(PiePlot3D.class)) {         formatPiePlot3D((PiePlot3D) jFreeChart.getPlot());                 } else if (jFreeChart.getPlot().getClass().equals(PiePlot.class)) {         formatPiePlot((PiePlot) jFreeChart.getPlot());     }     LegendTitle legend = jFreeChart.getLegend();     legend.setItemLabelPadding(new RectangleInsets(2, 2, 2, 999999999)); }  private void formatPiePlot3D(PiePlot3D plot) {     PieSectionLabelGenerator labelGenerator = new StandardPieSectionLabelGenerator("{2}", new DecimalFormat("0"), new DecimalFormat("0.00%"));     PieSectionLabelGenerator legendGenerator = new StandardPieSectionLabelGenerator("{0} - {1}", new DecimalFormat("#,##0.00", new DecimalFormatSymbols(new Locale("en_US"))), new DecimalFormat("0%"));     plot.setLegendLabelGenerator(legendGenerator);     plot.setLabelGenerator(labelGenerator); }  private void formatPiePlot(PiePlot plot) {     PieSectionLabelGenerator labelGenerator = new StandardPieSectionLabelGenerator("{2}", new DecimalFormat("0"), new DecimalFormat("0.00%"));     PieSectionLabelGenerator legendGenerator = new StandardPieSectionLabelGenerator("{0} - {1}", new DecimalFormat("#,##0.00", new DecimalFormatSymbols(new Locale("en_US"))), new DecimalFormat("0%"));     plot.setLegendLabelGenerator(legendGenerator);     plot.setLabelGenerator(labelGenerator); }    }  Libraries imported to the jar file source and classpath:   jcommon-1.0.24   jfreechart-1.5.0   jasperreports-6.5.1   jfreesvg-3.3   The method exists in jfreechart-1.5.0 library

I'm getting a NoSuchMethodError error when running my Java program.  What's wrong and how do I fix it?


I enabled hibarnation by this article  but when after all I perform this command sudo systemctl hibernate  system seems want to hibernate, turned off network but that is all what actually happen, it keep working. What may prevent from hibernation?

I tried different options to enable hibernate in Ubuntu 20.04 but nothing is working. How can I enable hibernate option in Ubuntu 20.04?


I know the whole 200 400 800 is based on the speed of the film & say youre in a dark room with dim lighting, 800 would be a better choice to use.. But i have searched through flickr and i see most people using superia 200 film with their 35mm cameras . Why? The lower the number , the better the photo? It has been confusing me for a while now . I shoot with an olympus XA2 usually with a 400 roll & the right asa settings and a lot of my photos come out blurry or zoomed in for some reason. Im mostly concerned about technique and image quality . When i say quality i dont mean extremely sharp & clear either. I just dont want blurry photos & i dont mind the dreamy, light leaks either.     Sometimes the photos come out extremely highlighted & dark , unfocused , blurry .. I have half a roll that came out cluelessly out of focus & cropped even though i set the settings correctly .

Can someone please explain to me what ISO means in the camera settings?  In , I was told to use ISO 1600. What does that number really mean? When should I play with ISO settings, only on night pictures, or also during the day?  I get that it's the sensitivity of the sensor. What I don't understand is: why the higher ISO, the more noise? I am confused; if the sensor is more sensitive, shouldn't it get more color or more quality?


I could not get cannon lbp printer to work on ubuntu (14.04) after trying everything possible on the internet.  Packages intsalled - cndrvcups-capt_2.60-1_i386.deb and cndrvcups-common_2.60-1_i386.deb  The Printer adds job the queue and fails to print silently.  Here is the cups error log -   ipt@ipt-G41D3C:~$ tail -f /var/log/cups/error_log E [12/May/2014:11:33:22 +0000] [Client 19] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost/printers/Generic-text-only) from localhost E [12/May/2014:12:01:30 +0000] **Canon-LBP2900**: File "/usr/lib/cups/filter/pstocapt" not available: No such file or directory E [12/May/2014:12:01:30 +0000] Canon-LBP2900: File "/usr/lib/cups/filter/pstocapt" not available: No such file or directory E [12/May/2014:12:01:30 +0000] Canon-LBP2900: File "/usr/lib/cups/filter/pstocapt" not available: No such file or directory E [12/May/2014:13:59:53 +0000] [Job 13] Unable to send data to printer. E [12/May/2014:14:04:53 +0000] [Job 13] Stopping unresponsive job. E [12/May/2014:14:06:37 +0000] [Job 14] Unable to send data to printer.

I downloaded Linux CAPT driver V2.60 from Canon and installed both .deb packages, which were listed under the 64bit folder with Ubuntu Software-Center. My Canon printer still won't be recognized. Is there anything else I have to do? My printer is connected over USB.  Ubuntu would make a great replacment for my office, but unfortunately without printer support I will still rely on Windows.


Is it true that if $X$ is connected, then for every nonempty proper subset $A$ of $X$, we have $\mathbf{Bd} \ne \emptyset$? Does the converse hold?  I start by trying to understand what $\mathbf{Bd}$ means in "formal terms" (i.e. $\bar{A} \cap \overline{X-A}$ is the 'boundary' of $A \in X$)?  This means I'm supposed to figure out if the boundary of subset of a connected space is empty or not, right? I think that if a set is connected then it contains no partition into two sets, so there would exist points that are both in $A$ and in the complement of $A$ in $X$. This would be an informal definition of a boundary. (A boundary contains points in a set $A$ and points outside of it, right?)   What I mean is, if $X$ is connected, and $A \subset X$ is connected, then $A$ could have a boundary which means that technically, $X$ cannot be partitioned into $A$ and $A$-complement without making the boundary of $A$ an empty set.  Right?

Prove metric space $X$ is connected iff $\forall A\subset X,$ $\partial A\neq\emptyset$.   Attempt at a proof: $\rightarrow$ $X$ connected $\implies$ $\forall A\subset X$, $A$ is connected. Then, intuitively there should be no "space" between the sets because if there were, $X$ would not be connected. Not sure how to formalize it, though.  $\leftarrow$ If the boundary is nonempty $\forall A\subset X$, then suppose there exist $U, V$ open in $X$ such that $U,V$ disconnect $X$. Then, (1) $U\cap X\neq\emptyset$ and $V\cap X\neq\emptyset$, while (2) $(U\cap X)\cap (V\cap X)=\emptyset$ and (3) $(U\cap X)\cup (V\cap X)=X$. Then, let $U\cap X= A$. Clearly $A\subset X$ but by (2) $\partial A\cap A^c=\emptyset$. This is a contradiction. .


Yesterday, my friend and I were discussing the word "motivate"; she says it's only for the use of motivating yourself and other people but I say it's for that and for questions, e.g. why should you win? motivate your answer, motivate, why should we hire you? Instead, it should be discuss she says.   Which is correct?  I'm from Sweden so this is not my native language I can be wrong. In Swedish, though, you say motivate your answer so I thought it would be the same.

Me and a friend were having an argument recently over "Motivate your answer". He said this:     see it like this, motivate = force that drives you, okay? motivate your choices = arguments you considered that have driven you towards that choice   So it appears to be a more literal translation, like:      Give reason to your answer.   Is this the case, or is just simply wrong?


My mail server is set to server.mailtuner.com, but when i try sending to a hotmail user, it goes into the spam folder.  Results on mailtester show the following reverse DNS issue:   Your IP address 45.56.86.66 is associated with the domain mailtuner.com. Nevertheless your message appears to be sent from server.mailtuner.com.  You may want to change the host name of your server to mailtuner.com.  Here are the tested values for this check:      IP: 45.56.86.66     HELO: server.mailtuner.com     rDNS: mailtuner.com   I am using a linode VPS server if anyone is familiar with it and could help.

I started a new service and we need to send emails to our customers (new account confirms, etc).   My server is known as prod01.bidrodeo.com and resolves to 97.107.134.38 .  For reverse DNS, 97.107.134.38 resolves to prod01.bidrodeo.com . However, all our email addresses are in the form of user@bidrodeo.com. Should I make the reverse DNS point to bidrodeo.com instead?   My emails are getting delayed or rejected by certain systems and i am not sure if my reverse DNS is not set up correctly.


Content of file display.props, loaded via .xml  Xvfb Display Properties Wed Jul 27 18:31:50 CEST 2016 DISPLAY=\:20 XAUTHORITY=/tmp/Xvfb4443942380574278711.Xauthority   Now I want to read this file and get the disply number (20)      String xvfbPropsFile = System.getProperty("display.props");     Pattern p = Pattern.compile("DISPLAY.*([0-9][0-9])",             Pattern.MULTILINE|Pattern.DOTALL);     Matcher m=p.matcher(xvfbPropsFile);   However this match and all the others that I tried do not work, any ideas?

I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000020: Document 1 - Completed successfully  I'm trying to extract pieces from it using regex. In this case, I want to grab everything after Project Name up to the part where it says J0000011: (the 11 is going to be a different number every time). Here's the regex I've been playing with: Project name:\s+(.*)\s+J[0-9]{7}:  The problem is that it doesn't stop until it hits the J0000020: at the end. How do I make the regex stop at the first occurrence of J[0-9]{7}?


Sorry in advance for some extraneous info.   So I just got a new 3TB HDD and used ddrescue to copy files from a failing 2TB HDD to this new one. I knew the partition on my new 3TB HDD would be limited to the size of the old 2TB one but thought that I could use GParted to extend the partition once everything was copied.   And then... I tried to extend my partition size to the full 3TB and found out that I couldn't because of the msdos partition table imposed maximum which allows at largest 2TB. So while using this site I found the solution was to create a gpt partition table in GParted but looking into this it said it would delete all data on the drive.  Soooo the crux of the matter: Is it possible for me to change the partition table format on my hard drive to gpt without wiping the drive?

Long story short, I have an external USB hard drive formatted using a MBR partition table, and I want to install Ubuntu in UEFI mode in a ~23.40 GB unallocated space before a ~442.33 GB NTFS partition that I need to keep:    To install Ubuntu in UEFI mode I need the partition table of the drive to be formatted as gpt.  I don't think there's an easy / direct way to convert a MBR partition table to a gpt partition table, so I'm also looking for the complicated / indirect way.  For example I think something can be done by noting down the NTFS partition start, writing the new partition table and adding the NTFS partition to the new partition table, but I've never done this and I have no idea where to start; furthermore I don't wish to try this for the first time in this case, since I'm not really confident with this stuff and I can't afford losing the NTFS partition I need to keep.


Generally, there is not an icon for anaconda navigator in Linux. that's why every time I used the terminal to open anaconda navigator. And then if I close the terminal somehow then the total project got closed.


Supposing there are two objects on each side of a beam (at different distances), for the beam to be balanced the net torque must be 0. But how do we account for the beam's weight?

I've learned that the torque on an object is just $ \text{perpendicular force}\times\text{radius}$ and that has worked well for things like seesaws but it doesn't take into account the torque of the object itself!    In the picture the rod has a total mass of 5kg, and by definition the torque on the right is greater than that on the left.  $$T=Fr$$   I am supposed to solve the question     What distance to the left of the fulcrum (triangle supporting the rod) would I have to put a 3kg weight to balance the rod?     I've tried calculating the net torque $T_{net} = I\alpha$ but I don't really know how to approach this. I'm looking for an explanation more than an answer.


I'm a photographer, I usually edit photos through photoshop, lightroom. But when I try to scale the images it looks pixelated. I can't use the images for large banner or publishing. My camera model is Canon 1100D.

I have taken a picture whose resolution is less. I can resize the image easily (i.e I can scale to higher resolution) but the image quality goes for a toss, which is true because the image might not have enough pixels to scale properly.   Is resizing a means of increasing the resolution of the image ? Is it possible to increase the pixel density of the image and then resize, so that quality of the image is not affected much?   I mainly use GIMP and Picasa.


The following MWE displays the problem.  \documentclass{beamer}  \begin{document}  \begin{frame}{Frame 1}     \def\test{hello}     \test % prints hello \end{frame}  \begin{frame}{Frame 2}     \test % should print hello, but doesn't \end{frame}  \begin{frame}{Frame 3}     \def\test{something new}     \test % prints something new  \end{frame}  \begin{frame}{Frame 4}     \test % should print something new  \end{frame}  \end{document}   I am using \def simply because it came as part of an answer I found elsewhere on this site. It seems that the macro \test is only defined within the scope of the environment (in this case frame so perhaps the problem isn't beamer dependent). How can I have the command \test defined globally (from this point on)?

In  it came to the question about the difference between local and global in a TeX meaning.  In the liked question the babel shorthand ; should be deactivated inside a {tikzpicture}, which can be done with  \begin{tikzpicture}    \shorthandoff{;}    ... \end{tikzpicture}


I'm calculating the limit for the following equation, and would like some feedback on my solution. The answer is $-2$ although, I cannot seem to derive this whilst using l'hopitals rule. $\lim_{x \to 0}\frac{x-\tan(x)}{x-\sin(x)}$ my working out: $$\lim_{x \to 0}\frac{\frac{d}{dx}(x-\tan(x))}{\frac{d}{dx}(x-\sin(x))}=\frac{1-\sec^2(x)}{1-\cos(x)} = \frac{\tan^2(x)(1+\cos(x))}{1-\cos^2(x)}=0$$

I am trying to use L'Hopital's rule, but I'm not sure if I'm doing this correctly. In my textbook, the rule is stated as follows:  $(f(a) = g(a) = 0) \Rightarrow$ $\lim_{x \to a} \frac{f(a)}{g(a)} = \frac{f'(a)}{g'(a)}$ (given $\frac{f'(a)}{g'(a)}$ is defined)   So in this case, I have $f(x) = x - \tan(x)$ and $g(x) = x- \sin(x)$, both of which are $0$ at $x = 0$. Also, $f'(x) = 1 - \sec^2(x)$ and $g'(x) = 1 - \cos(x)$. However, wouldn't this mean the RHS isn't defined, since $\frac{f'(a)}{g'(a)} = \frac{0}{0}$? I am confused how to resolve this.


Using ArcMap 10.0  Trying to export a photo that has been taken with a device which is stored inside of a Feature class table. I have tried to export the data using "Right Click>Data>Export Data" This only exports the other data inside the table, such as the date taken and another attribute.  I am trying to export this layer into QGIS so that the raster layer is still available. So you can see the point, click on it and the photo will show, all in QGIS. Unsure on what needs to be done or if this is even possible.  The raster column is removed when exporting it to .dbf or .shp file extension. Something I am missing here?

ArcGIS 10 features the new ability to  to feature classes stored in a geodatabase. One use of this would be to add multiple pictures to a specific location,  seem to be a popular example (important to know if you're a dog on the internet in need of a pit stop I suppose).  In the database the structure of an attachment enabled feature class is trifold:     the feature class itself,  a table holding the attachments and associated metadata (filename, size, etc), and  a relationship class defining the 1-to-many relationship between the two.     My question is: how to export this data -- feature class, attachments, attachment metadata -- for consumption outside of Arcgis?*  Exporting the FC is easy, FeatureClassToFeatureClass works the same as on a non-attachment enabled FC. Exporting the table of attachments? Not so much. TableToTable to output.dbf extracts the attached file metadata only, to output.csv errors out with unsupported field type, and to output info table fails with a general field error.   This isn't all that surprising as those file types don't support a binary blob datatype. I was expecting/hoping to find a tool which would convert the attached binaries into their native format, e.g.    So, how about it? What do I need to do to get the data out?  * ironically my project of the moment which spawned this Q is to export for use within Arcgis, just not Arcgis Desktop...


Assume $U$ is some open set in $\Bbb{R}^n$. Let $f\in W^{1,p}(U)$ then we know $f^p \in L^1(U)$ ,can we further deduce $D(f^p) \in L^{1}(U)$ that is $f^p \in W^{1,1}(U)$? This may refer to the chian rule but $t\mapsto t^p$ does not has bounded derivative.If chain rule holds then easy to see $D(f^p) \in L^1(U)$ by Holder inequality I have found the solution

I believe the formula  $$\nabla |u|^p = p\ \text{sgn}(u)|u|^{p-1}\nabla u $$  to be true for $u\in W^{1,p}(\Omega)$, where $\Omega$ is an open domain with nice boundary, but failed to find a good reference for this.  I am sorry if this has been asked already.  The usual assumption that I usually see regarding the chain rule for Sobolev functions, i.e. $$ \nabla F(u) = F'(u)\nabla u, $$ is that $F\in C^1$ with bounded derivative (or perhaps a Lipschitz function). I want $F(t)=|t|^p$, which doesn't satisfy that assumption.  My idea of the proof goes as follow: I'd like to mimic the proof of the case $p=1$ so first we show a similar result for $$ F_\varepsilon(t) = (\varepsilon^2 + t^2)^{p/2} $$ by approximation with $F_\varepsilon(u_n)$, where $u_n\to u$ in $W^{1,p}$ and $u_n\in C_c^\infty(\Omega)$. Then we take $\varepsilon \to 0$ to approximate $|\cdot|^p$. While the usual argument using the Dominated Convergence Theorem wouldn't work, I think Vitali Convergence Theorem might do the trick.     Does anyone know a reference to this result? Also, if the formula doesn't hold in general spaces (i.e. $u\notin W^{1,p}$) then does anyone have a counterexample?   I have seen the proofs of the cases $p=1,2$. Finding a reference for a general $p\in [1,\infty)$ turns out to be a lot harder than I anticipated.


On my activity impact page, it says I have cast 45 votes:        However, when I click on the link, and go to my votes cast details, it says I have only cast 40 votes:        Why is there a difference between the number of votes?

On , there is the votes count on the "Summary" page, which shows my correct number of votes.    However, if I go to my  and select "Downvotes," it says I have casted 0 downvotes.    Am I doing something wrong?


I'm headed to Laos and Cambodia and I'm worried about the side effects of the Malarone anti-malaria medication. Is it necessary to take this? What is the likelihood of transmission of malaria in this country? I know this is not a high risk.

I'm from Belgium and I'll be visiting China (Beijing & Zhangjiajie) and Thailand (Chiang Mai, Bangkok & Ko Samui) in July. I've googled something on a website my doctor gave me a year ago where I can look up which vaccinations you need for certain areas.   When it comes a 3-day jungle trip in Chiang Mai, the website is very vague. I'm planning to do such a trip, but the websites says something vaguely about malaria there. Do you know for certain if I should or should not take any malaria pills when I'm there?


I have set a conditional rule so that if a specific cell equals "y" then the cell background is changed to green.  Is there a way to apply this rule so that it will change the background colour for the row the cell is on?

I'm trying to make a conditional formatting rule in Google Spreadsheet that would highlight a row green based on text in multiple cells.   If cells L2, M2, and N2 = APPROVED; and cell O2 = X; then row 2 = highlighted green.


I have just updated my system from 15.10 to 16.04 via sudo do-release-upgrade. During this process, it displayed a screen with the following message:  Your system has UEFI Secure Boot enabled. UEFI Secure Boot is not compatible with the use of third-party drivers. (...) Ubuntu will still be able to boot on your system but these third-party drivers will not be available for your hardware. Disable UEFI Secure Boot? (yes | no)  Since the only third-party drivers that I am using are the NVIDIA graphics drivers, and since they have been working fine with Ubuntu 15.10 and Secure Boot enabled, I chose the "no" option here. I don't see why I should disable this for no good reason, and I assumed I can just reinstall the third-party driver via the system settings GUI after the update. Alas, no. Upon reboot, my login screen appeared in very low resolution. When trying to log in it immediately throws me back to the login screen. I have tried the following to fix the situation: sudo apt-get purge nvidia* sudo reboot  This leads to a purple screen and no reaction to Ctrl-Alt-F1. Logging in via SSH, I then did: sudo apt-get install nvidia-current sudo reboot  which again brings me the former scenario, with a very low-res login screen, and no way to log on. This is a pretty bad upgrade experience. Did anyone else have this, and what can I do to fix this? (while keeping UEFI Secure Boot enabled) Thanks.

I installed or upgraded to Ubuntu 16.04, but I'm having some problems with my graphics card.   The display is blank The display flickers Items on the screen do not display correctly Certain programs complain of graphics issues The computer boots to low-graphics mode Your specific issue may not be here, but try the solutions described in the answers anyway.   This question is very broad, but each one of these issues likely has one solution.    If you are experiencing a login loop, check the last part of my answer.    If you experience one of the listed issues and have your own solution (mine didn't work, or there's a faster way), feel free to post another POLITE answer, describing your problem and how you fixed it.    Those attempting to install Ubuntu, please refer to the section titled: If you are unable to enter a TTY or are trying to install Ubuntu.


Is the below true? I have that \begin{equation} (x*h)(t) = \int\limits_{-\infty}^{\infty}x(u)h(t-u) \ du = \int\limits_{-\infty}^{\infty}x(t-u)h(u) \ du \tag{1} \end{equation} So my question is, if you change the shift in the functions, does it change the convolution? My reasoning is this. If we substitute $y=t-u$ in the left integral we get $u=t-y$ and $du=-dy$ so the integral becomes \begin{equation} -\int\limits_{-\infty}^{\infty}x(t-y)h(y) \ dy = -(x*h)(y) = -(x*h)(t-u) \tag{2} \end{equation} However i now have $-(x*h)(t-u)$ and not $(x*h)(t)$.

From any textbook on fourier analysis:   "It is easily shown that for $f$ and $g$, both $2 \pi$-periodic functions on $[-\pi,\pi]$, we have $$(f \ast g)(x) = \int_{-\pi}^{\pi}f(x-y)g(y)\;dy = \int_{-\pi}^{\pi}f(z)g(x-z)\;dz = (g \ast f)(x),$$ by using the substitution $z = x-y.$"   I don't doubt that this is true, but I cannot figure out what happened to the negative sign coming from $dy = -dz\;$ after the change of variable $z = x - y$.  In particular, after the change of variable $z = x-y,\;$ I am coming up with $ -\int_{-\pi}^{\pi}f(z)g(x-z)\;dz$. What am I missing here?


If one were to run/drive/fly along the earth's surface (by this I mean tangential to the Earth) at escape velocity (about 7 miles per second), would that person escape the gravitational pull? If not, at what speed would this happen?

We know the escape velocity from the Earth is 11.2km/s. Isn't it the velocity required to escape from earth if we go normal to the surface of earth? i.e while we derive the formula for the escape velocity from earth we never consider the slanted motion of the object. So when we launch a rocket we need to use very less value of velocity compare to escape velocity to escape from earth because rocket follows a slanted path so curvature of earth has an effect?  If what I said above is right, then how we can say escape velocity is 11.2 km/s?


Good morning, I would like to know whether someone can help me with this: I need to learn how can make style file archive.sty, because in the preamble of my source file I have to write all packages and options and this seems bad. I believe it is possible to have a .sty file and have latex compile this automatically, but I don't know how make this.

Since I am using (almost) the same set up for my tex documents, I wonder if there is a way to create a preamble with my default packages and to recall it anytime I want to create a tex document.  If yes, how I can call this "default" preamble?  Thanks in advance


I need a regular expression that allows english alphabets and numbers and "-" and not allow every thing else.  but recently I found out that my regular expression not stopping french language alphabets and numbers  My regular expression is as follow,  @"[^\w\d-]";   How can I change the above regular expression so only english alphabets, numbers and "-" can be allowed only?

I would like to have a regular expression that checks if a string contains only upper and lowercase letters, numbers, and underscores.


It’s an exercise in my textbook.     Let $G$ be a finite Abelian group, then determine   $$\prod\limits_{g\in G}g.$$   Actually, I do not quite get what it is asking. What does it mean by “determine”? What needs to be determined?  Moreover, there’s a following task asking me to show with the help of my first question that  $$(p−1)! \equiv −1~{\rm mod}~p~~ (p~{\rm prime}).$$ I’m then getting more confused...  Any help, hint or detail, would be greatly appreciated. Thanks!  PS: They are exercises from my textbook, on page 49 of  (page 62 of the pdf).

I'm trying to prove the following statements.  Let $G$ be a finite abelian group $G = \{a_{1}, a_{2}, ..., a_{n}\}$.   If there is no element $x \neq e$ in $G$ such that $x = x^{-1}$, then $a_{1}a_{2} \cdot \cdot \cdot a_{n} = e$.   Since the only element in $G$ that is an inverse of itself is the identity element $e$, for every other element $k$, it must have an inverse $a_{k}^{-1} = a_{j}$ where $k \neq j$. Thus $a_{1}a_{1}^{-1}a_{2}a_{2}^{-1} \cdot \cdot \cdot a_{n}a_{n}^{-1} = e$.   If there is exactly one $x \neq e$ in $G$ such that $x = x^{-1}$, then $a_{1}a_{2} \cdot \cdot \cdot a_{n} = x$.   This is stating that $x$ is not the identity element but is its own inverse. Then every other element $p$ must also have an inverse $a_{p}^{-1} = a_{w}$ where $p \neq w$. Similarly to the first question, a rearrangement can be done: $a_{1}a_{1}^{-1}a_{2}a_{2}^{-1} \cdot \cdot \cdot xx^{-1} \cdot \cdot \cdot  a_{n}a_{n}^{-1} = xx^{-1} = e$. And this is where I am stuck since I proved another statement.    Any comments would be appreciated for both problems.


I am trying to insert a list/enumerate(aligned with bullet points) in a tabular environment like this . However, my current code is only able to achieve .   My current code is:   \documentclass{article} \usepackage{multirow} \usepackage{siunitx} \usepackage{tabularx} \begin{document}    \begin{table}[htp] \centering \begin{tabular}{|c|c|} \hline  Date & Tuesday 21/01/2020 \\ \hline  Location & Fraser Noble building; Room FN112  \\ \hline  Start time & 10:00  \\ \hline  End time & 12:00  \\ \hline   \multirow{5}{*}{Present} & Samuel Panza (Scribe) \\           & David Agyeman \\            & Denzil Matthews \\           & Christopher Hyde \\           & Nay Htet Hein \\ \hline  Absent with apologies & Ifeanyichukwu Samuel Anene  \\ \hline Absent without apologies & - \\ \hline Agenda & Initiation of Development of dry base case \\ \hline  \multirow{5}{*}{Items of Discussion} & Identification of the design specifications of dry stream \\ & base case and the initiation of the development of a \\ & design that separates a  dry stream into a HP gas stream \\ & at 200 bara gas with a maximum cricondenbar of 110 bara, \\ & and an oil stream with a true vapour pressure 0.95 bara at 37.8\si{\celsius} \\ \hline  Actions undertaken & \\ \hline  Next meeting & Thursday 23/01/2020 16:30 - 19:00 \\ \hline \end{tabular}  \end{table}   \end{document}

I want to create a table like the picture below, and i wish to itemize the lamba_1 > lamba_2 > 0 using 'item style', which is the cell of each categories. Can someone help me?


Upgraded my system from an Radeon R5 - 240 to an RX-480. I had mint installed before (17.3) and it was running fine with the R5-240.  I installed the RX-480 and it would not boot, tried updating drivers, and no luck. After that I installed Ubuntu 16.04 fresh installed and downloaded drivers and it still does not work - I can't even boot to the desktop, stuck in console mode. Can anyone help?  Thanks Andy

I have 14.04.5/16.04 or newer and an AMD GPU. I'm not getting the performance I want, and some programs say they need things like OpenCL.  I've heard about fglrx, but if I try to install it on my machine, it breaks and I have no GUI.  Is there anything I can do to get my AMD card working to its full potential?


Could you please help me with the following? I think it is a Lebesgue Dominated Convergence Theorem but I am not sure.  Compute the following: For $1\leq p<\infty$ and $f\in L^p(\mathbb{R})$ $$\lim_{h\rightarrow \infty}\int_{-\infty}^\infty\left|f(x+h)-f(x)\right|^p \, dx$$

Let $f \in L^1(\mathbb{R})$, for $a\in \mathbb{R}$ let $f_a(x)=f(x-a)$, prove that: $$\lim_{a\rightarrow 0}\|f_a -f \|_1=0$$  I know that there exists $g\in C(\mathbb{R})$ s.t $\|f-g\|_1 \leq \epsilon$, this is also true for $f_a$ and $g_a$.  Now I have the next estimation:  \begin{align*} \|f_a-f\|_1 &= \int_{\mathbb{R}} |f(x)-f(x-a)| dx \\ &= \int |f(x)-g(x)+g(x)-g(x-a)+g(x-a)-f(x-a)| \\ &\leq \|f-g\|_1 + \|f_a-g_a\|_1 + \int |g(x)-g(x-a)| \end{align*} my question is: I can argue that $\lim_{a\to0} \int |g(x)-g(x-a)| = \lim_{a\to0} \lim_{T\to\infty} |g(x_0)-g(x_0-a)| 2T$, now I think that I can change the order of the limits here, but I am not sure why?  P.s $x_0$ is some point in $[-T,T]$, and the above is valid from the intermediate integral theorem for continuous functions, right?  Thanks.


I bought a new external hard drive to use with Time Machine: The Western Digital "My Passport for Mac" 1TB USB 3.0 Hard Disk Drive. This is the second hard drive Time Machine uses, the first one being my previous external disk. Therefore upon mounting my new disk, I did not receive the dialog box asking if I wanted Time Machine to make backups to this external disk (I believe you only get that dialog box if you haven't set up Time Machine before).  The icon for this new drive, both on the desktop and in the finder windows and sidebar, is the generic orange USB device. How do I get it to look like the hard drives seen in Time Machine preferences? I'm talking about the greenish-blue hard drive icon with the counter-clockwise arrow on it.  I thought when you set up a disk with Time Machine, it automatically changes its icon. Am I wrong about that?  [My first backup disk didn't have a traditional icon—it was a Toshiba disk and it came with its own red-and-black design, so I thought that overrode the Time Machine icon.]  System specs:   MacBookPro6,2 (mid-2010 version) 2.4 GHz Intel Core i5 processor OS X 10.8.2 Mountain Lion

My Time Machine in Finder shows the correct icon, however, on my Desktop, it shows the Yellow icon that is used for normal external hard drives. It only changes on the desktop to the time machine icon when I either eject the hard drive or in terminal use, killall Finder. But ejecting it is kinda useless as I can't use it then, and if I then reconnect it, it shows the yellow icon again.  I'm running the latest version of OS X El Capitan.  Anybody else have this issue or know how to fix this?


whether the recently published Bash/Apache problem posed a threat to operations.  In my Ubundu verion is Ubuntu 10.04.3 LTS if i need anything applying patches.  Regards, Ashok

Recently, there have been news going around regarding "CVE-2014-6271" (See ), which is a vulnerability in Bash. How do I know if I am affected by this, how can I fix it, and why should I care?  This is designed as a canonical answer for this vulnerability, due to its scope and severity.


Only allows select (if you hit 'manual' option) one disk for installation and do not see previously created mdadm raid array.

On the  there is a download link for ubuntu-18.04-live-server-amd64.iso, and on the  there is a download link for ubuntu-18.04-server-amd64.iso. Before 18.04, there is only a server version. What is the difference between these 2 images?


I was going through something, and I stumbled upon this weird behaviour.  if(true){   String var = 'GenePoint'; } Account acc = Database.query('Select ID,Name FROM Account where name=:var'); System.debug(acc);   If the above code snippet is executed in execute anonymous, logically it should throw an error, because the variable "var" is not in the scope, but anyway the code gets executed and the query returns the results too.  Again,  if(true){   String var = 'GenePoint'; } if(true){     String var = 'Express Logistics and Transport'; } Account acc = Database.query('Select ID,Name FROM Account where name=:var'); System.debug(acc);   If this code is executed, the query still returns the result, but this time it returns the account with the name "Express Logistics and Transport". In this case, it is considering the latest scope of variable "var".  if(true){   String var = 'GenePoint'; } else {   String var = 'Edge Communications'; } Account acc = Database.query('Select ID,Name FROM Account where name=:var'); System.debug(acc);   In this case, it throws an error saying "List has no rows for assignment". Logically, considering the weird behaviour, it should have executed the body of IF block and should have taken the value of variable within the scope of it, but it is not able to take it.   I want to know whether this behaviour is valid or invalid.

I was answering a question and this little inconsistency popped up.  Just wondering if anyone has come across it before, or if anyone knows why this happens.  A variable that is declared within some form of scoped element (if, for loop, etc.) shouldn't be available outside that scope.  i.e.  {     // accountNames variable is not available outside this scope     Set<String> accountNames = new Set<String> {'Test Account'}; }  system.debug(accountNames);   This debug statement fails with the message:      Variable does not exist: accountNames   However, if this is part of a query string being generated, the Database.query() call somehow has access to it.  String queryString = 'SELECT Id, Name FROM Account';  if(true) {     // accountNames variable is not available outside the `if` statement     Set<String> accountNames = new Set<String> {'Test Account'};     queryString += ' WHERE Name IN :accountNames'; }  // this debug will fail if you uncomment it // system.debug(accountNames);  // however the query somehow has access to it. // create an account called Test Account to prove it.  system.debug('queryString: ' + queryString); system.debug('queryString result: ' + database.query(queryString));   But, Salesforce is smart enough to know that it's not just some random string, so the following will fail:  // Alternatively, use a random string as the variable name, and salesforce  // is smart enough to know it's gibberish String queryString2 = 'SELECT Id, Name FROM Account';  if(true) {     queryString2 += ' WHERE Name IN :randomString'; }  try {     system.debug('queryString2 result: ' + database.query(queryString2));     system.assert(false); } catch (QueryException qe)  {     system.debug(':randomString is gibberish: ' + qe.getMessage()); }     Edit:  Interestingly, the :randomString is definitely calculated only when the query is executed.  String queryString3 = 'SELECT Id, Name FROM Account'; String queryString4 = 'SELECT Id, Name FROM Account';  if(true) {     // assign to query 3 before it has a value     queryString3 += ' WHERE Name IN :randomString';      // assign to query 4 after it has been declared     Set<String> randomString = new Set<String>{'Test Account'};     queryString4 += ' WHERE Name IN :randomString'; }  // both queries return correct results, regardless of when the variable was declared system.debug('queryString3 result: ' + database.query(queryString3)); system.debug('queryString4 result: ' + database.query(queryString4));   But it's not an open slather.  The following throws an error:  String queryString = 'SELECT Id, Name FROM Account WHERE Name = :someField'; someMethod(); system.debug('queryString result: ' + database.query(queryString));  void someMethod() {     String someField = 'Test Account';     system.debug('someField: ' + someField); }     Does anyone know why this is the case, or have an explanation why this would work?  As far as I can tell, at the time that the accountNames variable is in scope, no part of the code knows that it's anything other than a string.


On my news feed it shows these topics twice, like seen on the screenshot. It's nothing dramatic, however I don't think it should be like this.

I think the algorithms deciding what I should see in my feed have been changed recently. It used to work very well but for the last week or so I've been getting lots of duplicates (see screenshot attached). Please change it back!  Device: HTC 10  OS: Android 6.01


The weak interaction, in contrast to the strong and electromagnetic, is the mediator of the decay of the strange quark, purely because the weak interaction is 'allowed' to break conservation of flavour quantum numbers (in this case, strangeness number).   Why is the weak interaction endowed with this ability of not obeying flavour number conservation? Thanks!

I couldn't find a straight and clear answer to this question on the internet: Why is the weak interaction (charged), the only interaction which can change the flavours of the quarks?


New to Blender, trying to load an image texture into the Diffuse channel instead of a colour to learn to UV unwrap. Quite simply I do not have the button needed to the right of the colour bar in materials to open the drop down menu with the image texture option in it, why is that? Using 2.79  thanks

Complete beginner here.  I'm trying to follow  tutorial on Anisotropic shaders, but my property panel looks nothing like the property panel in the tutorial.  For example, when creating a material, this is what his property panel looks like:    But this is what mine looks like, if I follow the same path:    I'm sure I'm missing something obvious.  How can I see the property panel shown in the tutorial?


The distribution of sale price for new MacBook Air’s is approximately normally distributed with a mean of \$800 and a standard deviation of \$70. (a) Mr. Bean plans to spend between 700 and 850 on a new Apple MacBook Air. What proportion of the available MacBook Airs can Mr. Bean afford? (b) What is the 90th percentile of computers of this type? (c) Show that a MacBook Air priced at $1000 would be considered an outlier using the 1.5 × IQR rule. For a, I tried doing 700-850=-50 and -50/800=1/40, for b, I tried (m+(0.5×R)/y) for c, I tried 1.5×700−1.5×850+50

The distribution of sale price for new MacBook Air’s is approximately normally distributed with a mean of \$800 and a standard deviation of \$70. (a) Mr. Bob plans to spend between $700 \text{ and } $850 on a new Apple MacBook Air. What proportion of the available MacBook Airs can Mr. Bob afford? (b) What is the 90th percentile of computers of this type? (c) Show that a MacBook Air priced at \$1000 would be considered an outlier using the 1.5 × IQR rule. For a, I tried doing 850-700=50 and $\frac{50}{800} = \frac{1}{40}$, for b, I tried $m+(0.5 \times R)/y$ for c, I tried $1.5 \times 700 - 1.5 \times 850$


Does $\sum_{n=1}^{\infty} \frac{1}{n\sqrt[n]{n}}$ converges?  I said that:  $ \frac{1}{n\sqrt[n]{n}}$ = $ \frac{1}{n^{1+\frac{1}{n}}}$ = $ \frac{1}{n}$ and this is harmonic series which does not converge.  Question is: Is there another way with equation sum series? I thought about dividing it by $1/n$, what do you guys think?  edit: I just noticed that $n^{1+\frac{1}{n}}$ is bigger than one. Which means the series converging. and I was all wrong. is that right?  edit2: $\sum_{n=1}^{\infty} \frac{1}{n\sqrt[n]{n}}$ = Limit of $\frac{1}{n} + 1$. which means it does not converge because the sum of $\frac{1}{n}$ does not converge?

Does the following series converge? $$\sum_{n=1}^\infty \frac{1}{n\sqrt[n]{n}}$$   As $$\frac{1}{n\sqrt[n]{n}}=\frac{1}{n^{1+\frac{1}{n}}},$$ I was thinking that you may consider this as a p-series with $p>1$. But I'm not sure if this is correct, as with p-series, p is a fixed number, right ? On the other hand, $1+\frac{1}{n}>1$ for all $n$. Any hints ?


Can anyone help me to solve this integral problem: $$\int \sin (x^2)\,\mathrm dx$$ I have tried every method that I know, but still can't get any completion.

$u$ substitution doesnt work. I don't see any connection with the Weierstrass substitution either. integration by parts results in a infinite integral series.


The explanation of shear rate in laminar flow is straightforward: We imagine small layers of fluid that glide on each other. Now, in turbulent flow, this does not work as there are no layers. If I want to know the apparent viscosity of a shear thinning (or other non-Newtonian) liquid, I need to know the shear rate. I've asked about this before , and . However, I can't solve the Navier Stokes equation, so someone has to walk me through it or present me with an answer.  Fluid may be assumed to be a power-law fluid.

The explanation of shear rate in laminar flow is straightforward: We imagine small layers of fluid that glide on each other. Now, in turbulent flow, this does not work as there are no layers. I'm not even sure that shear rate is a meaningful concept in turbulent flow.  If I want to know the apparent viscosity of a shear thinning (or other non-Newtonian) liquid, I need to know the shear rate. How do I know the shear rate in turbulent flow?


I've been trying to work around this NullPointerException issue:  Exception in thread "main" java.lang.NullPointerException     at LinearSearcher.<init>(LinearSearcher.java:12)     at DemoSearches.main(DemoSearches.java:4)   through researching, I found that this exception occurs when you declare a reference type but don't create an object. In my case it is when I am trying to declare LinearSearcher  I've tried to understand this with my code but i'm having difficulties  Code for LinearSearcher:  public class LinearSearcher implements Searcher {  private int[] numbers;  public LinearSearcher() {    numbers[0] = 1; // Line 12 Here   numbers[1] = 10;   numbers[2] = 20;   numbers[3] = 30;   numbers[4] = 40;   numbers[5] = 50;   numbers[6] = 60;   numbers[7] = 70;   numbers[8] = 80;   numbers[9] = 90;  }   public int searchFor(int key) {   for (int i = 0; i < numbers.length; i++){     if (numbers[i] == key) {       return i;     }   }   return NOT_FOUND; }   public void display() {   for (int i = 0; i < numbers.length; i++){   }  } }   Class where LinearSearcher is declared:  public class DemoSearches {    public static void main(String args[]) {      LinearSearcher search = new LinearSearcher(); // Line 4 Here      search.display();       search.searchFor(50);     search.searchFor(100);   } }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?