The situation:  Writing a function in php with PHPMailer for sending account activation mails for a website.  The problem:  All my mails goes straight into the spam folder instead of inbox. Only gmail-adresses recieve my mails correctly.   My code:  <?php   /******************************************************************************************************************************** File:   sendmail.php Author: Burtscher Florian Date:   02.02.2017 Description:     This file contains the sendmail functions for mailing noreply messages to EmailClients. ***************************************************************************************************************************/  require 'PHPMailer-master/PHPMailerAutoload.php';   $result = sendmail('asdf','asdf','asdf','asdf');  if(!$result){    echo $result; }   function sendmail($to,$subject,$message,$name){   $mail = new PHPMailer;    //$mail->SMTPDebug = 3;    $mail->isSMTP();    // Set mailer to use SMTP   $mail->Host = 'smtp.world4you.com';                //'smtp1.example.com;smtp2.example.com';      // Specifay main and backup SMTP server    $mail->SMTPAuth = true;                                                                    // Enable SMTP authentication   $mail->Username = 'activation@scritex.com';   $mail->Password = '*************';   $mail->SMTPSecure = 'tls';   $mail->Port = 587;                                                                   // TCP port to connect    $mail->setFrom('activation@scritex.com', 'Activation');   $mail->addAddress('mytestmail1111@dkimvalidator.com', 'Florian Burtscher');         // Add a recipient   $mail->addReplyTo('activation@scritex.com', 'Office');                              // Add Reply To    $mail->isHTML(true);    $mail->Subject = 'Here is a Subject';   $mail->Body = 'This is the HTML message body <b>in bold!</b>';   $mail->AltBody = 'This is the body in plain text for non-HTML mail clients';    $mail->DKIM_domain = 'scritex.com';   $mail->DKIM_private = '.htkeyprivate';   $mail->DKIM_selector = 'dkim11';   $mail->DKIM_passphrase = '1486107933';    if(!$mail->send()){     return $mail->ErrorInfo;   }else{     return true;   } } ?>   Result:    I don´t have any idea what to do. Anyone who knows this problem?  All my mails goes at hotmail, outlook, yahoo, gmx, aon, msn to spam!

This is a tricky one and I've always relied on techniques, such as permission-based emails (i.e. only sending to people you have permission to send to) and not using blatantly spamish terminology.  Of late, some of the emails I send out programmatically have started being shuffled into people's spam folder automatically and I'm wondering what I can do about it.  This is despite the fact that these particular emails are not ones that humans would mark as spam, specifically, they are emails that contain license keys that people have paid good money for, so I don't think they're going to consider them spam  I figure this is a big topic in which I am essentially an ignorant simpleton.


Let $a$ and $x_{0}$ be positive numbers, and define the sequence $\{x_{n}\}$ recursively $$x_{n}=\frac{1}{2}(x_{n-1}+\frac{a}{x_{n-1}}).$$  How to prove that the sequence converges and how to find its limit ? Actually i am thinking to prove that the sequence is monotone and bounded then limit can be find by solving the equation $x^{2}-x-a=0.$ But monotone part is dependent on the real number $a.$ Please give me simplest way to handle the problem. Thanks a lot.

I have been looking at this for hours and it isn't making anymore sense than it did in the first hour.   If $a$ und ${x_{0}}$ are positive real numbers and ${x_{k}}$ defined as follows, prove that ${x_{k}}$ is monotone decreasing and bounded, then calculate the limit.  ${x_{k}} = \frac{1}{2}\left({x_{k-1}+\frac{a}{{x_{k-1}}}}\right)$  What I though I had to do was pick an ${x_{0}}$ and solve for ${x_{k}}$, so I picked ${x_{0}}$. Then I wanted to put the result back into the function to get ${x_{k+1}}$, which I still believe is what I'm supposed to be doing, but I don't understand what I am getting as a result.  I get that I should prove it is decreasing, then that it is bounded,  then address the limit, but the how is missing.


show that if $$f(x, y, z)=0$$ then $$\left ( \partial x \over \partial y \right )_{z}\left ( \partial y \over \partial z \right )_{x}\left ( \partial z \over \partial x \right )_{y}=-1$$  I don't know  how   to tackle this problem although I've tried.

In particular, when $x=y=z$ isn't the above expression equal to 1 and not -1?


Using my iPhone I am taking pictures of nature, heritage buildings and wildlife animals and things. Do anyone know how I can improve the picture quality of iPhone so I got a picture similar to clicked by SLR?

I know cell phone cameras are the lowest rung, but when reading reviews of phones, the reviewers always have sample shots that are much better than what I can manage.  What are some ways to take decent shots with a cell phone camera?  (I'm thinking of the higher end Android or iPhone cameras).


I have searched a lot and every where found that java is pass by value but still I am not satisfied with the answers. Below is the code. Here if i am passing the object of HashMap then I am getting its updated value while in case of integer it is not like that. What is the difference between these both. How pass by value is working in both cases-  public static void main(String[] args) {     HashMap hm = new HashMap();     System.out.println(hm.size()); //Print 0      operation(hm);     System.out.println(hm.size()); //Print 1 ; Why it's updating the HashMap.      Integer c = new Integer(3);     System.out.println(c); //Print 3      getVal(c);     System.out.println(c); //Print 3: Why it's not updating the integer like HashMap. }  public static void operation(HashMap h) {     h.put(“key”, “java”); }  public static void getVal(Integer x) {     x = x + 2;     System.out.println(x); }

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


For some inexplicable reason, when I run the following code (minimalized, obviously) a file called "0" is created.    Could somebody please explain why this happens, and how to avoid it?     Thanks very much  #!/bin/bash while [ 1 > 0 ]      do         exit     done

I have a script as below:  #!/bin/bash df -k | tr -s " " "," | awk 'BEGIN {FS=","} {print $1,$5}'|sed 1d > file1.txt while read partition percentUsed do if [ $percentUsed > 75 ] then echo Partition: ${partition} space is ${percentUsed} else echo Pration: $partition: OK!! fi done < file1.txt   The script is executing properly, however, it is creating a zero byte file by the name 75. Any ideas why this is happening?  $ sh diskUsed.sh Partition: C:/Users/Public/Documents/CYGWIN/bin space is 75% Partition: C:/Users/Public/Documents/CYGWIN/lib space is 75% Partition: C:/Users/Public/Documents/CYGWIN space is 75% Partition: C: space is 75% Partition: H: space is 91%   $ ls -lrt total 2 -rwxrwxrwx 1 diwvibh Domain Users 284 Nov 21 04:17 diskUsed.sh -rw-r--r-- 1 diwvibh Domain Users 133 Nov 21 04:29 file1.txt -rw-r--r-- 1 diwvibh Domain Users   0 Nov 21 04:29 75


As I understand, keeping prepositions from the end of a sentence is a cardinal rule with no exceptions.  However, "To whose dog does this ball belong?" does not seem correct to me at all.  How should this sentence be structured?

Is this sentence grammatically correct?     Who do I need to send product information to?


I am working on an existant web page and I modify the DOM with jQuery.  In my script, a POST Ajax call sends to a php file the parameter registration_id, which is only composed of numbers (for example 310). This parameter is passed in a SQL request which returns 3 elements (id, context_id, time_spent from trackings table)  So, I have implemented some security in my php code:   I check if the POST Parameter is set I check if the length is < 5 I check if the parameter is only composed of numbers with ctype_digit() 4th security: the access to the database is strict: I created a user which can only SELECT on trackings table the fields id, context_id, time_spent.   What do you think about that ? Do you think I have to make prepared requets ?  Thank you in advance for your advices  Thomas

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I applied some pending updates this morning, and after restarting all the icons (desktop and file explorer) were huge:   I tried changing the zoom settings in the file explorer to small, but that only makes them a bit smaller (still huge), I also tried messing with the dconf Editor, but that does nothing.  I also tried   DISPLAY=:0 dconf reset -f /org/compiz/  unity --reset-icons  setsid unity   but no luck, still the same.  How can I set everything back to normal?  I'm using Ubuntu GNOME Metacity desktop and arc dark theme

In the newest Nautilus 3.18 the smallest folder/icon size is really too big. Is there some way to hack (or something) this program and set a smaller one?


I don't understand the conversion between the frequency and wavelength forms of the Rayleigh-Jeans equation for spectral radiance. According to the :     However, if λ=c/f and we substitute c/f for lambda in the left side of the equation it does not come out to be the same as the right side of the equation. In other words:    Which seems to be different than the right side of the first equation above.

I am drawing a blank when it comes to equation transformation. Wikipedia  for the spectral radiance of black body:   First as a function of frequency $\nu$: $$I(\nu, T) = \frac{2 h \nu^3}{c^2}\cdot\frac{1}{e^\frac{h \nu}{k T} - 1}$$ Then as a function of wavelength $\lambda$ : $$I'(\lambda, T) = \frac{2hc^2}{\lambda^5}\cdot\frac{1}{e^\frac{h c}{\lambda k T}-1}$$   And I don't see how they get $\lambda^5$ term. I'm assuming that the transformation is just $\nu \rightarrow c/\lambda$, but that gives $$ \frac{2 h \nu^3}{c^2} \Rightarrow \frac{2 hc}{\lambda^3} \neq \frac{2hc^2}{\lambda^5} $$  Similar transformation happens at other parts in the article also. I'm obviously missing something, likely completely trivial.


I have the plugins which I need but it doesn't play after all. My DVDs are new and I tried more than one and none of them work. I can play self-created DVDs with no problems.  I tried different players like Dragon, VLC, SMPlayer; the ones everyone says are good. I don't doubt it and SMPlayer is good but, you know, no DVDs!   If I try Dragon it displays all black. If I try VLC it jumps from one data to another but it doesn't play. If I try SMPlayer it shows me that it was played... but it didn't play at all.

My machine can't play encrypted DVDs on a fresh install.  How do I add this capability?  Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so.  See the .  Will I be able to play DVD movies from ?


$ cat /etc/os-release  NAME="Ubuntu" VERSION="20.10 (Groovy Gorilla)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.10" VERSION_ID="20.10" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=groovy UBUNTU_CODENAME=groovy  $ cat /etc/update-manager/release-upgrades # Default behavior for the release upgrader.  [DEFAULT] # Default prompting and upgrade behavior, valid options: # #  never  - Never check for, or allow upgrading to, a new release. #  normal - Check to see if a new release is available.  If more than one new #           release is found, the release upgrader will attempt to upgrade to #           the supported release that immediately succeeds the #           currently-running release. #  lts    - Check to see if a new LTS release is available.  The upgrader #           will attempt to upgrade to the first LTS release available after #           the currently-running one.  Note that if this option is used and #           the currently-running release is not itself an LTS release the #           upgrader will assume prompt was meant to be normal. Prompt=normal  $ sudo do-release-upgrade -m DESKTOP Checking for a new Ubuntu release No new release found.  Am I missing something? I thought it would become available @ 22.04.2021, but apparently not for everyone?

Today is the release of Ubuntu 21.04 (Hirsute Hippo). And I can't update to this version. And also I selected ‘Notify me of a new Ubuntu version’ and changed it to ‘For any new version' on the Updates tab on Software & Update, but it's still not working. In addition, in the terminal, I've written: sudo do-release-upgrade -c  And output was: Checking for a new Ubuntu release No new release found.  What should I do?


My teacher taught me and my classmate to use cross-method to deal with quadratic polynomial, it is good if it involved smaller numbers like this: $$x^2+4x+3$$ after factorization, $$(x+3)(x+1)$$ If it involved a bigger number, it often wasted time to factorize it and I want to know if there is any faster method to factorize quadratic polynomial.

I am a student in calculus II. I'm now failing tests solely because I cannot factor; I understand everything else. This is compounded by the fact it seems to exceedingly hard to find anything comprehensive online. This is a long-running problem I've been facing; I can't be the only one.  I know some methods, but I always run into more problems I can't factor. I know about synthetic/long division, binomial/perfect square trinomial factoring, difference and sum of cubes and squares, the grouping method, the quadratic formula (unsure how to use for factoring), guess and check, and some trinomial methods. I only know the difference/sum of squares/cubes well. For example, I can't factor $4x^2 - 4x - 3$.  It would be dandy if I could get a comprehensive list or a universal solution to all these factoring questions, but that's unlikely to happen (and would be too broad). I'll narrow this down to something more tangible: What are the methods I should know to factor trinomials?


I know in most of the cases, PhD seekers do not have many options and we must stick to what is offered. However, it happened that I initiated connection with two advisors from different institutes which almost have the same reputation. However, one of them is a lecturer (equivalent to assistant professor in north America) and the other is full professor. Nothing is guaranteed yet, so I won't give up on any of them. Yet, before I delve deeper, I would like to know is it better to work with advisor who is still at the beginning of his academic career but with less experience and maybe more demanding. Or it is better to work with full professor who has long experience but might be too busy for you or not really pushing you to work.   The answer that I am looking for is from two parts, during PhD study and the future career:  PhD period: I know PhD student is independent researcher and should not rely much on his advisor in many aspects. However, I have this fear due to what I faced during my Master, whereby my supervisor was just looking for the quantity of papers not the quality. I assumed from my conversations with him that the number of publications was main criterion to become full professor in that institute. One the other hand, other colleagues complained about their advisors (full professors) that they really do not allocate enough time for them and even do not encourage them to publish saying that you are master student and this number of publications is enough.  Future career: I assume recommendation letter from full professor outweigh the one from assistant professor. Do you agree? why?

While accepting an offer to grad school, one is basically entering into a lasting relationship with one's adviser - most likely, someone whom the applicant has never met before, and the only exposure has been through the potential adviser's website/publications. It is in the interest of both parties to ensure (to the greatest possible extent) that there are no personal/professional traits of either that hamper the formation of a pleasant working relationship - no-one would want to go through the ordeal of having to change advisers midway!  While the faculty has a chance to have a good look at the applicant's profile as well as his motivations (through his grades and SOP), the applicant doesn't have a similar opportunity. So, I'm interested to know what parameters can be used to gauge a potential fit. I've thought of the following:   Past students:  Did anyone ever drop out/change advisers midway, and if so, for what reasons? These would be a bit hard to find though, as I don't expect the faculty concerned would list them on their website. It would be great if anyone could let me know how to find out the list of incoming students to a department for any year. Publication rate, taking into account the venues where they were accepted. Time taken to graduate - though I accept this is more dependent on the student, a median figure should be telling ... What they did post Ph.D. - did anyone get tenure if they went into academia, or is almost everyone unable to break out of being a post-doc?  Tenure status: I'm a bit unsure about this, so wanted the community's opinions about it. Just so that I'm clear, I'm only trying to calibrate the applicant's expectations about the working style of his potential adviser - and hence need to know to what extent are the following "typical" assumptions valid.  Tenured professor  A full professor is more likely to get grant funding, hence less time spent on TAship - but could also mean less time/effort spent on interactions with students (either being busy with other projects/talks, or due to more commitments to family at that age).  Tenure-track faculty (Assistant profs)  More likely to be young and energetic, and could translate to more time spent on one-to-one discussions with grad students - but funding may prove to be an issue, and may have to be on TA for a longer period.   What other factors would be relevant in this matter, and to what extent am I correct/incorrect in either the factors considered, or for undertaking this exercise at all?


I use Ubuntu 18.04, and I can't reinstall CodeBlocks, it does not work. I installed Codeblocks 16.04 earlier but, then I uninstalled it, because I would like to use a new version like 17.12.Now, when I try to install it again, it shows me this error message:  The following packages have unmet dependencies:  codeblocks : Depends: codeblocks-common (= 16.01+dfsg-2.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.   Can you help me with this? ....Thank you!

After upgrading from 10.04 to 12.04 I am trying to install different packages.  For instance ia32-libs and skype (4.0).  When trying to install these, I am getting the 'Unable to correct problems, you have held broken packages' error message.   Output of commands:  sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   After running this:  sudo dpkg --configure -a foo@foo:~$ sudo apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I'm working on a project where I have to use the last created file.  For example, when I run the application I have only file1 so the application uses only this file and when I create a new file2 I want that the application moves from using file1 to file2 automatically.  I hope that you help me.

Does anybody have a snippet of Java that can return the newest file in a directory (or knowledge of a library that simplifies this sort of thing)?


I want to have main project file main.tex and import other sections in it. I used to put everything in one file but I am trying now to use elegant way using either include or input commands. I chose include because it does not produce pdf of sections (Only I want main.tex is the one is compiled and then pdf is generated from it). I do the following:  main.tex  \documentclass[10pt, conference, compsocconf]{IEEE_format/IEEEtran}  % Paper Title goes here \title{Later \vspace{-0.5cm} }  \begin{document} \maketitle  \include{sections/Intro} \include{sections/Background} \include{sections/Problem_statement}   \end{document}   However, every section goes to a new page! how can I avoid that (i.e.,  every section follows the previous one)? The command input does that but it generates pdf of each section which I don't want that.   Thank you

There are two different commands to incorporate another file into the source of some document, \input and \include. When should I use one or the other? What are the differences between them? Are there more things like them to be aware of?


Do "I'm through it" and "I'm done" have the same meaning?

What is the difference between when we say "I am done" and "I am through"? Please give examples to make the difference clear.


In the 125th paragraph of "The Gay Science", Nietzsche announces the death of God but I have some doubts. Why God is dead? What is the reason of it? And why did Nietzsche announce it in front of an atheistic public?

What does German Philosopher Nietzsche mean when he says : "God is dead"? In one of the books of an Indian Mystic Osho, I read this reply from Osho: "Nietzsche is wrong because God has never been born". What is Nietzsche trying to imply from his statement?  Does Nietzsche also deny spirituality -- the idea of eternal soul, meditation, enlightenment (in the sense of Buddhism and Hinduism)? Some of your comments imply that he denies. But I have read a story (that sort of contradicts these implications, I think) about him in a book: One night he was found dancing on a street in Germany at night keeping a book on his head. Asked what he was really doing, he said: "I read many books in life. But throughout this long journey, I never encountered a book as beautiful as Geeta. After I read this book, I could not hide my happiness." As someone with some knowledge in Hinduism, I can tell that Geeta is perhaps the most important scripture in the religion.   I however have no references for this story as I read it long time back, and don't remember the book where I found it. If this really was a truth, Nietzsche certainly cannot deny spiritualism.


I'm migrating a huge site from an old proprietary CMS to WordPress and need to redirect the old URL structure.  The old system has all kinds of whacky URLs, but the one thing common to them all is that they contain a number which identifies the post, like this:  example.com/something/else/123456/another/thing.html example.com/something/98765/thing.html example.com/something/2468/.html   (The third one is not a typo!)  What htaccess rewrite rule will redirect any of these to a URL of the form example.com?oid=1234, where oid is the number extracted from the old URL?  So far I've come up with this, which is not working:  RewriteRule ^/.*([0-9]+)/.*\.html /?oid=$1

This is a  about Apache's mod_rewrite.   Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as:   Changing HTTP to HTTPS (or the other way around) Changing a request to a page which no longer exist to a new replacement. Modifying a URL format (such as ?id=3433 to /id/3433 ) Presenting a different page based on the browser, based on the referrer, based on anything possible under the moon and sun. Anything you want to mess around with URL   Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask!  How can I become an expert at writing mod_rewrite rules?   What is the fundamental format and structure of mod_rewrite rules? What form/flavor of regular expressions do I need to have a solid grasp of? What are the most common mistakes/pitfalls when writing rewrite rules? What is a good method for testing and verifying mod_rewrite rules? Are there SEO or performance implications of mod_rewrite rules I should be aware of? Are there common situations where mod_rewrite might seem like the right tool for the job but isn't? What are some common examples?   A place to test your rules  The  web site is a great place to play around with your rules and test them. It even shows the debug output so you can see what matched and what did not.


I'm looking for a collection class that will automatically insert elements in sorted order based on a property (namely "Priority"), so that when I iterate over it later, I'll get back the elements in this order.     seems to sort by keys, which is not what I want.

I'm looking for a container that keeps all its items in order.  I looked at SortedList, but that requires a separate key, and does not allow duplicate keys.  I could also just use an unsorted container and explicitly sort it after each insert.  Usage:   Occasional insert Frequent traversal in order Ideally not working with keys separate from the actual object, using a compare function to sort. Stable sorting for equivalent objects is desired, but not required.  Random access is not required.   I realize I can just build myself a balanced tree structure, I was just wondering if the framework already contains such a beast.


I looked at  and saw that I lost -2 rep with the explanation User was removed. I searched around and found .  But then, something doesn't fit in. According to  up-votes of any kind can give me rep by multiples of 5 - but I lost 2 rep. How?

Message appearing when a user was removed.     It seems I lost 1765 reputation points on Stack Overflow yesterday. The reason given in my history is "removed", with the description of "User was removed ()". I don't understand what that means. What caused this?


We are looking for a way to remove the list of previously logged on users from the shutdown menu in Ubuntu 14.04 LTS running Gnome Classic Desktop. We have lots of computers in a lab environment where we do not want other users to know login names of previous users that have used that particular machine.  Any help on removing this list would be appreciated.  Note, this is after a user logs into Ubuntu 14.04 LTS and when you click on the little gear icon in the upper right-hand corner to shutdown|Logout|Suspend|Restart it also displays Lock/Switch Account along with a list of user names.  Thank you!

We are looking for a way to permanently remove the Switch User Account function from our install of Ubuntu Unity. Note, this function appears when you right or left click on the user name in the upper right-hand corner. It then displays a list of 5-10 users that have logged in along with the option to Switch User Account. We know that we can do this by defaulting to gnome, but we would like the option of using Unity as well, but without the Switch User Account option.  We have already tried dconf-editor, gsettings and several other options to remove the users name list, Switch User Account option from appearing in the drop-down list. We know this can be done for one user at a time, but we are wanting to do this for all users on roughly 160 workstations.  Some options that we have already tried are:       This is a visual of what we are trying to remove:


I recently got involved with someone Over the internet and I asked him if he wanted me to be his sugar baby. Long story short he agreed and sent me money to be his sugar baby. I told him I was going to go and see him but I lied because I didn’t know this man. So he said he contacted the fbi and said if I didn’t send the money back he was coming after me. But then he tells me you can still come see me if you want. So we started talking and I told him I was 17 which I’m not I’m 18 but he said he would let me keep the money and that we were ok. Now he’s saying oh the FBI contacted me and you need to send it back before they take action because what you did was illegal. So I asked him for screenshots and the email and he won’t give it to me. I seriously don’t know what to do. Should I send it back or keep it. I’ve already invested time into him and all. Also with me telling him I was 17 he was ok with it and he’s like 42 years older than me. He also told me he liked younger women and was ok with me being younger. What should I do?

I met a guy on a sugar daddy dating site and we talked, I told him my situation and he said he would help.   He asked for my bank account information and I told him you can use cash app or PayPal to go through. He said his account manager deals with his finances. So I set up an account with a bank that I don’t use so that my primary account isn’t used.  Eventually he was in the process of sending me money and we had agreed on a amount that wasn't crazy. But then he asked for my address and I asked why and he said just wondering. Then said he wanted to send me a surprise for being his baby. Which I didn’t give.  Then later on he sent the money and said he sent me a bonus and that I was supposed to use that to pay his mothers caregiver, which he didn’t mention until after.  I kept questioning him and he was saying that he works in construction and he’s trusting me to carry out the errand. Then he said don’t let him down and I asked him if he was threatening me and he kept saying I need this done but didn’t really answer my question.  Am I being scammed? I’m about to change my password but is this a scam?


I am 26 and beginning to learn about investing. I currently have no investments other than some schemes through my employer, which I've already maxed-out. I've read that  is a long-term, low-risk option, and a good choice for beginners. What I want to understand is under what circumstances would I lose money investing in this. One possibility I can see is that I cash out at the wrong time. But I am not in a hurry to get my money back, so I'm comfortable with this risk. Another possibility is that the value falls and never goes back up. But in this scenario, surely we're talking about world-ending cataclysm? In which case all bets are off, and my savings and pensions will also lose value. So I'm comfortable with this risk as well. Am I understanding these two risks correctly? Are there other risks which I haven't understood?

It is a common assumption (and, as far as historical stock market data goes, also proven) that the stock market is always growing if you enlarge the time window long enough . In other words: The stock market always goes up in the long term. Is, therefore, the conclusion valid that you can totally invest as much as you want at any point in time you want and you can never go wrong, if  You diversify strong enough (invest "in the world") You do not need to urgently sell your assets at any point in time  If yes, all that strategies that rely also on diversified, long-term investments (Dollar-Cost-Averaging & Rebalancing, .. what others do you know?) are just to optimize the yiels, but you'd make profit even without those strategies. Is that correct?


Recent Notepad++ started to come with spell checking which puts "red lines that appear under misspelled words" (ms office help terminology) mainly in txt files. I'd like to disable it everywhere.  motivation  I would like to disable this feature for several reasons:   (usability-obstacle) (eye-strain) the red lines get in the way while reading text. (In particular if you suffer from vision impairment, dyslexia or other reading difficulties, you may want this to be off.) (unwelcome feature) arguably, it can be considered ill-positioned/unnecessary to make it a mandatory feature I do not need it (privacy) I'm not comfortable with the idea that yet-another piece of code is reading my writings (diary, anyone?) - you can call me paranoid but in today's word I wanna keep this at minimum.  edit: actually, .   what I've tried  I've tried looking around in (menu bar) -> settings -> preferences... but the option, should it exist, eluded me.  I've also tried going to (menu bar) -> plugins -> plugin manager -> show plugin manager -> (tabs) -> installed, search spell-Checker and uninstall (Remove) it. But the lines are still underlined with red. :(  How do I disable spell-checking in Notepad++?

Notepad++ recently added built-in support for spell checking, and it is enabled by default.  Where can I turn it off?


Is it true that a human body is like a bar magnet? Say our head is north pole while the legs are south pole, or vice versa? If so, can we confirm it by experiment say with the 360 Pro compass etc?

The human brain is said to produce a magnetic field resulting from the action potentials released inside the brain. What's the nature of such a field in terms of size and strength, and what is the potential for manipulation of brain functions by interfering with it by means of electromagnetic radiation?


I recently upgraded to 16.04 from 14.04. Somehow, this is the first time I've ever even noticed tracker, though it seems complaints have been forthcoming for years now.  Ever since the upgrade, a process called tracker-miner-fs is constantly eating CPU.  At this moment, from top :   top - 16:49:45 up 1 day,  3:20,  4 users,  load average: 1.28, 1.85, 2.27 Tasks: 288 total,   2 running, 285 sleeping,   0 stopped,   1 zombie %Cpu(s):  2.3 us,  8.6 sy, 23.5 ni, 65.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st KiB Mem :  3737272 total,   179160 free,  2017372 used,  1540740 buff/cache KiB Swap:  9764860 total,  8125228 free,  1639632 used.  1148728 avail Mem     PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                   7189 chintal   39  19  566244   9596   3884 R 104.9  0.3   1004:52 tracker-miner-f           8764 chintal   20   0 2387948 986.3m  68600 S   4.6 27.0 370:59.00 firefox        However, tracker itself claims it's not doing anything.  $ tracker status Currently indexed: 4119 files, 135 folders Remaining space on database partition: 111.4 GB (56.61%) All data miners are idle, indexing complete   This CPU usage is more or less constant. System performance has been horrible, with persistently high load averages. This is, by the way, on an Intel i7.  This is also exacerbating an overheating issue which I began to see over the last three weeks of my use of 14.04 (Seen only on Ubuntu, not on Windows, and after over a year of constant and regular use had no issues), and the reason for my upgrade.   $ sensors acpitz-virtual-0 Adapter: Virtual device temp1:        +85.0°C  (crit = +108.0°C)  coretemp-isa-0000 Adapter: ISA adapter Physical id 0:  +86.0°C  (high = +87.0°C, crit = +105.0°C) Core 0:         +82.0°C  (high = +87.0°C, crit = +105.0°C) Core 1:         +82.0°C  (high = +87.0°C, crit = +105.0°C)  asus-isa-0000 Adapter: ISA adapter cpu_fan:     25500 RPM temp1:        +85.0°C

Whenever I start my laptop the process tracker-store and tracker-miner-fs eats up my CPU between 30-40% for 10-15 minutes. I am on ubuntu 12.04.  What does these processes do? How to get rid of  processes?


Let $A$ be a Cardinate product of 2 non-countable sets $C$ and $D$. $$A=C \times D$$ According to the well-ordering theorem, we can define a well-order on the non-countable set $A$. We define a lexicographical order. Take a minimum non-countable subset $B$ of $A$.$ B$ exists because in the interval $[0,x)$ of $A$, we can both find the $x$ such that $[0,x)$ countable or non-countable. Use the supremum and infimum principle(which can be proved in a well-ordered set), we can find a minimum $x$ and $[0,x)$ non-countable. Is this kind of set compact with the order topology?

Any ordinal number can be turned into a topological space by using the order topology. The topological space $\omega_1$ is sequentially compact but not compact.  Why is $\omega_1$ not compact ?


Starting VM instance "xxx" failed. Error: The zone 'xxxxxxxxxxx/zones/europe-west2-c' does not have enough resources available to fulfill the request. Try a different zone, or try again later. it has been like this everyday since Friday 22/1/2021. Can anyone help? Thank you very much!

This is a  about a temporary shortage of available resources in Google Cloud services.   I'm a Brazilian user of Google Cloud's Compute Engine for a while and I managed to use it fine for quite some months. Unfortunately, in the last one month or so, I've been facing difficulties starting my instances (around 9 AM) due to the problem "the zone does not have enough resources available to fulfill the request".    At the start, it happened once or twice and then I was able to start my instance. But now it's almost impossible to start it even after dozens of attempts! Following the message's suggestion, I tried to create other instances in southamerica-east1-a nd c (mine was in b) only to find out the same problem happening there. The impression I get from this is that Google has saturated their physical capacities in South America and are doing nothing to increase it.  So what can I do about it? I can't move my server to the USA or something because it's ping sensitive (stock market applications) and, as someone still using the free trial period, I certainly won't start paying for GC if Google may handle me a product I can't use and will take weeks or months to fix.


Running a server with Ubuntu 18.04 I am attempting to run this command every 10 minutes in crontab on the directory /var/www/html:   find . -type f -name "*.maintenance" -delete  Is this the correct syntax to accomplish this?   */10 * * * * /var/www/html find . -type f -name "*.maintenance" -delete

This is a  about using cron & crontab.   You have been directed here because the community is fairly sure that the answer to your question can be found below. If your question is not answered below then the answers will help you gather information that will help the community help you. This information should be edited into your original question.  The answer for 'Why is my crontab not working, and how can I troubleshoot it?' can be seen below.  This addresses the cron system with the crontab highlighted.


I'm trying to insert data into a mysql database using php. Seems like a simple task.  While using dummy data (just strings of text), it was working perfectly fine. And when I replaced the dummy data with the actual variables, I get this error:  ERROR: Could not able to execute INSERT INTO tbl_users (id, timestamp, testid, email, wants_newsletter, ip, country) VALUES (NULL, CURRENT_TIMESTAMP, , , , , ). You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' , , , )' at line 1   Below is the script that I'm using. I am 100% sure that all the variables are working. I currently have them spitting out dummy data as well.  $testid = 1; $email = 'test@yahoo.com' $wants_newsletter = true; //get $ip if (!empty($_SERVER['HTTP_CLIENT_IP'])) {     $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {     $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else {     $ip = $_SERVER['REMOTE_ADDR']; } $country = 'US';  $user_id = 100;  $question = 14 $answer = 14      function saveToDB() {  /* Attempt MySQL server connection. */ $link = mysqli_connect("localhost", "$user", "$pass", "$db");  // Check connection if($link === false){     die("ERROR: Could not connect. " . mysqli_connect_error()); }  // Attempt insert query execution $sql = "INSERT INTO tbl_users (id, timestamp, testid, email, wants_newsletter, ip, country) VALUES (NULL, CURRENT_TIMESTAMP, $testid, $useremail, $newsletter, $ip, $country)";  if(mysqli_query($link, $sql)){     echo "Records inserted successfully.";     $user_id = $link->insert_id; } else{     echo "ERROR: Could not able to execute $sql. " . mysqli_error($link); }  // Attempt insert query execution $sql = "INSERT INTO tbl_answers (id, user_id, question_id, answer) VALUES (NULL, $user_id, $question, $answer)";  if(mysqli_query($link, $sql)){     echo "Records inserted successfully."; } else{     echo "ERROR: Could not able to execute $sql. " . mysqli_error($link); }  // Close connection mysqli_close($link);   }//end saveToDB  saveToDB(); //Call saveToDB()   I've been busting my head for hours trying to figure out this error. It might be something small that I'm overlooking and perhaps I need a fresh pair of eyes on it.  Any help would be greatly appreciated.

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I have tried to search if someone has already posted a question like this. Not having found anything I try to ask my second question on Meta.  It is possible to have a button (like the All Questions button) that shows only the questions marked with (the current user) favorite tags?  For example, if I have marked as favorite the tags C#, VB.NET, WinForms, Net etc... I really wish to have a single button (possibly between the Questions and Tags header buttons that shows the questions that have these tags.

Why don't we have a Tab that shows only questions for our favorite tags, showing recent first?  I keep having to scroll down the page to find the questions I'm interested in.  It'd be like the Unanswered Questions -> My Tags tab, but for all questions with my favorite tags.


So I've mirrored the faces to make a mouth, but can't select any of the mirrored faces, it's as if they are ghost faces.  I've tried selecting faces, going into edit mode and object mode, But I'm new to this app so I don't ave a lot of knowledge about it:

I have on the mirror modifier and I only need to select a point one side without deleting the mirror modifier.  How does one accomplish such a task?


I am currently working on a project that writes to a file based on your input. This works perfectly fine on my localhost, but when I try this project on my college server - it just doesn't work.  $ret = file_put_contents('paameldinger.dat', $data, FILE_APPEND | LOCK_EX);   This line is supposted to return true, but returns false on the college server.     Warning: file_put_contents(paameldinger.dat): failed to open stream: Permission denied   This is the message I am getting through my browser.

Sorry for the basic question - I'm a .NET developer and don't have much experience with LAMP setups.  I have a PHP site that will allow uploads to a specific folder. I have been told that this folder needs to be owned by the webserver user for the upload process to work, so I created the folder and then set permissions as such:  chown apache:apache -R uploads/ chmod 755 -R uploads/   The only problem now is that the FTP user can not modify the uploaded files at all.  Is there a permission setting that will allow me to still upload files and then modify them later as a user other than the webserver user?


I am trying to communicate between 2 programs but I can’t find out how.  Process p = Process.Start(Secondprogram.exe, "number = " + number); p.WaitForExit(); this.Close();   I want to receive the number in my second program and use it there.  Or something like:  Process p = Process.Start(Secondprogram.exe); Parameter number = 1200; p.WaitForExit(); this.Close();   And then in my second program:  txtSomething.Text = number;

Should I use Named Pipes, or .NET Remoting to communicate with a running process on my machine?


I have a sony xperia zr and the lower screen recently smashed. Touch screen capability has also gone. Does anyone know of an app or a method for connecting it to my laptop and gaining full control of the phone through the laptop?  PS: I reformat my phone!

I have a sony xperia z and the screen recently smashed.  Touch screen capability has also gone.  As such I can't even unlock the phone.  Does anyone know of an app or a method for connecting it to my laptop and gaining full control of the phone through the laptop?  I need to unlock it and access an app that's installed.  I've been through the folders on it using the laptop but need access to the app itself to get the data I need.


I have a situation to check if a LINK made of "a href" is hidden or not. All good.  But we use same javascript in many other pages. So some pages might not have this element (I mean ID). How do I make a null or undefined check so that it doesn't through null error when it evaluates below if condition.  I want to check for this specific ID "AgeCheckbox". The way we usually check for null in C# and then evaluate condition. Please help me.   function Handle(err) {     if ($('#AgeCheckbox').is(":hidden") == false)     {         CalMedicine();         ShowTotal();     }    }   I read some articles, I want it to be strong, using 3 equals or so.

How can I check the existence of an element in jQuery?  The current code that I have is this:  if ($(selector).length > 0) {     // Do something }   Is there a more elegant way to approach this? Perhaps a plugin or a function?


I'm trying to understand a complexity someone showed me in JavaScript. Consider the following simple function:  function myFunction(p) {     p.property = 1; }  var obj = {property: 0}; console.log(obj); // {property: 0} myFuncton(obj); console.log(obj); // {property: 1}   Let's repeat this, but instead of overwriting one part of the object, let's overwrite the whole object:  function myFunction(p) {     p = {property: 1}; }  var obj = {property: 0}; console.log(obj); // {property: 0} myFuncton(obj); console.log(obj); // {property: 0}   Why does obj not get replaced here as expected?

The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself).  Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this?


My Question reads:         Prove: if $A$ is denumerable, then $A\setminus\{x\}$ is denumerable.    I have proposed this:  Let $f:\mathbb{N}\to A$ be a bijection. Let $g:\mathbb{N}\to A\setminus\{x\}$ be a function defined by:  $$ g(y)= \begin{cases}  y, &y=1\\  y+1, &y\geq 2 \end{cases} $$ I just wanted to see if the answer I have provided is a reasonable choice for a bijection. This is an answer I have come up with myself. I want a verification of my answer and/or clarification.

How is it proved that if $$A \subset B\ \text{with}\ B\ \text{countable} $$ then $A$ is either countable, finite, or empty? I think the proof involves a $1-1$ correspondence between $\mathbb{N}$ and $A$ but other than that I do not know how to proceed.  EDIT: I have checked the solution and it advises me to proceed as follows. " As a start to a definition of $$g: \mathbb{N} \rightarrow A$$ set $$g(1)=f(n_1) $$ Then show how to inductively continue this process to produce a $1-1$ function $g$ from $\mathbb{N}$ onto $A$."  So the proof according to my book involves induction.


So when I'm extruding inwards, there comes this weird shadow.    But it's only when in smooth shading, if I put the object to flat shading it looks fine.    There isn't any modifications and I tried the offset edge slide, but it didn't work.  So, what is it and where does it come from, and is there a way around it with smooth shading on?

I'm currently working on a model of an X-wing that I'm intending for use in a game and running into a bit of trouble with the shading of the mesh. The upper nose is rounded off where the sensor cone attaches, but at the point it reaches the canopy frame it flattens out and meets at a corner.  Everything is fine and dandy when the sides are modeled:    but once I close it off and add the top of the nose, the shading goes to hell:    As you can see, the smoothing gets confused at the lip of the cockpit.  I've tried a couple different means of getting around this, none of which looks right while maintaining the correct shape. The transition from the rounded to flat is a fairly important part of the ship's character, so I don't want to discard the contours, either.  Any tips or suggestions on modeling this area?  Addendum:  If I eliminate that second angle where the canopy frame meets the fuselage as marked in red:    this also fixes the smoothing. However this is not a solution, as the angle is a part of the design. It DOES give me another thought on fixing, but I won't be able to test it until I get home.


I've been studying OOP in C++ and there are different ways to instantiate a class either through the use of the new keyword or the standard way (which doesn't use new).   Either this using new  Class *object = new Class();   or using the standard way  Class object;   I'm confused on when to use either ways. Can someone clarify on when to use or which is the preferred way to instantiate?

I've searched, but I've not understood very well these three concepts. When do I have to use dynamic allocation (in the heap) and what's its real advantage? What are the problems of static and stack? Could I write an entire application without allocating variables in the heap?     I heard that others languages incorporate a "garbage collector" so you don't have to worry about memory. What does the garbage collector do?    What could you do manipulating the memory by yourself that you couldn't do using this garbage collector?  Once someone said to me that with this declaration:  int * asafe=new int;   I have a "pointer to a pointer". What does it mean? It is different of:  asafe=new int;   ?


I've looked everywhere and all I can find is how to make realistic grass using hair particles. What I'm trying to do is create a sort of low poly scene using grass that I modelled myself. I put it into the particle system, but it's all just lying on it's side even though the Initial Orientation is set to Object Z, in fact, non of the orientation settings will make the grass go right side up. The grass models that the particles are referencing are right side up. Some of them are even floating in the air.  How do I make them face right side up? How do I stop them from floating? It would also be good to have them be angled towards the direction that the ground faces are facing.  EDIT  Okay, I figured out how to get them the right direction... sort of. However, now they are appearing on the wrong side of the mesh. I checked the Normals and they are the right direction, and when I flip them to the wrong direction, the grass appears on top, but upside down.

I made a hair particle system and set the Dupli Group to a group of 3 objects. Each of the 3 objects has:   it's origin set to be touching the XY plane (on layer 2) it's Scale applied to 1 and it's Rotation applied to 0     I am trying to get each of the objects to sit directly on top of the ground, but instead, they are centered in the plane, half above the plane and half below the plane:      What am I doing wrong? Here is .


I consider the ideal $I \subseteq \Bbb Z$ with $I=\{n \in \Bbb Z \mid n \times \sqrt{2} \in \Bbb Z\}$. I do not manage to prove that this ideal is trivial. Can you help me ? Thanks.

How can I prove that $\sqrt{2}$ is irrational with the ideal $$\{n \in \mathbb{Z} \mid n\times \sqrt{2} \in \mathbb Z\}?$$


I brought my P.C from a shop here in kochi.I asked them to install ubuntu 13.04. After i brought system to home I understood that they didnt gave me User password to login.(They had created a user named USER during installation).So i set new password by typing commands in to terminal in recovery mode.(Activated root user and set new password for the USER).but later while using some applications it is asking for login keyring.My new password doesn't. matches the keyring password.Help me

I am on Ubuntu and I have forgotten the password for my Gnome Keyring (yes, stupid me, I know). Any way I can get it back? I have already looked at , but it says it's not possible if my home directory is encrypted and unfortunately my home directory is encrypted.


I have got my new PC with Windows 10 installed on it. I am now trying to install Ubuntu which is the main OS I need, However since I have paid for Windows license, I do not want lose it! Will this happen if I Erase the disk and install Ubuntu? If yes, how much space is enough to give to the Windows partition in order to just keep it.  Will I be able to change the partition size later after installation?  While I'm installing Ubuntu it says:      This computer currently has no detected operating systems.   Why doesn't it detect the Windows? :(

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


I am debugging a problem with one of our systems. Every Sunday, it stops communicating with another server. If we reboot both servers, communication works again.   I was wondering if there are any small footprint apps that monitor TCP port availability and network connectivity, possibly logging any downtime. I'd also like it to be open source if possible, but if there is another solution that is proprietary, I'd like to hear about it also.

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


Is there any known preference for users between putting the "Close button" on the top right or top left of a window? Does it simply matter?  Mac users should be used to the top left and windows' ones to the top right and you can find this button randomly placed around the web.

In most windows desktops the minimize, maximize and restore buttons for a window are placed in the windows decoration on the top right. However, MacOS and now Gnome in Ubuntu have placed those buttons on the left.  What is the important aspect when deciding where to place them? Is user expectation from previous experience the most important aspect, or are there other independent aspects that relate to where the user would first look automatically? Is there a difference for localizations where the letters are written from left to right, or from right to left?


Putting a syntax highlighting hint before a code block works:  $code = "syntax highlight works"; return $code;   But putting it before a quoted code block fails:   $code_in_quote = "syntax highlight fails"; return $code;    The same goes for putting it inside the quote block:     $code_in_quote = "syntax highlight fails"; return $code;    Putting <!-- language: php --> both before quote block and inside it changes nothing.  I'm not saying that "off by default" in quote block is a bug - it may be design feature I will not argue either way. Not being able to turn highlight on when I know source has it on looks like bug to me.  Screenshot from main site:    Note that rendered HTML does contain <code> element all right:

In  I tried to add  for syntax formatting to code blocks quoted from the question. However, it seems they won't be honoured if I write them as a comment in my own part of the post, and if I include the hint in the qutotation as well then I have some ugly empty space before the code block. There should be a way to write these things properly.


It's pretty natural how they stand for the phrases "For ∀ll" and "There ∃xists", but I was wondering who was the first to use these symbols, and if they had any related meaning before this use.

I imagine that these symbols originated in one of the following ways:  "I will declare a symbol for "for all." I will just use the letter "A" flipped upside-down. Yes, let $\forall$ represent "for all."  Hmmm, now I need a similar notation for "there exists." Well, I will do the same thing with the letter "E". But wait! The letter "E" has horizontal symmetry, so this won't work! I must flip it backwards instead. $\exists$ it is!"  OR  "I will declare a symbol for "there exists." I will just use the letter "E" flipped backwards. Yes, let $\exists$ represent "there exists."  Hmmm, now I need a similar notation for "for all." Well, I will do the same thing with the letter "A". But wait! The letter "A" has vertical symmetry, so this won't work! I must flip it upside-down instead. $\forall$ it is!"  So which is it? Did we flip our A's or our E's first?


MS-Word strikes again: In the following test, it has green underlined the phrase "number who have" and suggested either:   numbers who have number who has   Here is what I've written (slightly paraphrased for you non-statistics experts     So if you want to find Probability that "a subject tests positive" or   "subject uses" by adding the column and row totals, you have counted   the 44 people in the top left twice. So, to get the correct number who   have tested positive or used drugs, you have to subtract the ones you   counted twice. The total number of subjects who use or have tested   positive is 50+134-44=140 (same number as before).   See, there's only one number: the number of people who test positive or used drugs. So clearly the first choice above is wrong.  The second choice just sounds plain wrong (but I can't put my finger on it).  Who's right? Me or MS-Word's fine grammarian?

Formally, is it correct to write:     A number of questions has been asked here.   or:     A number of questions have been asked here.   As a non-native speaker of English, I would prefer the former: the subject seems to be "number", therefore the verb ought to be singular, I'd say. However, the latter seems more common, and therefore I believe that my gut feeling is just plain wrong — but I would really like to have a definite answer.  Moreover, is it the same for "a myriad of", "a plethora of", and so on?


Suppose $n^2 +1$ people are lined up shoulder to shoulder is a straight line. Then it is always possible to choose $n+1$ of the people to take one step forward so that going from left to right their heights are increasing (or decreasing).  I know my teacher wants us to use the pigeonhole principle on this and so you know its not a difficult proofs class, but please explain the calculus if your using summation as it's my hardest thing to grasp, my teacher forgets to show us the calculus or explain it sometimes.

The sequence 7, 2, 4, 1, 4, 8 has an increasing subsequence length four (2, 4, 4, 8) and a decreasing subsequence length three (7, 4, 1). It has other monotonic (increasing or decreasing) subsequences too, but none longer than four.  How long does a sequence need to be to be guaranteed to have a monotonic subsequence length k?


For some reason, my Sony VIAO laptop won't boot Ubuntu. I tried pressing the F2, F11, F12, and Del Key to see if that will bring up the BIOS, but it didn't work. I tried going to advanced startup on Windows 8 and tried booting it from my USB Drive (EFI USB DISK :E) which I am assuming it's my since I named the USB drive :E. When I tried starting up there, it will stay on the VAIO splash screen for a couple minutes, and boot up Windows 8.


I am new to SharePoint 2016 and am being asked to make a approval process at the folder level. Each folder has to follow a different workflow, because they are managed by different teams.  Once the workflow is set, it does't work as the similar for the list.  I mean, the new uploaded documents don't follow any approval path: no assigned tasks, no confirmation email. Just directly published.  Does anyone know how to fix this issue?  Are there issue in working in folders in SharePoint?  Thanks.

I'm working on implementing a workflow which will start automatically on change/creation (which is working). The issue is that there are a few folders which need cross-department approval. Is there a way for a workflow to check which folder in the document library the file is in before assigning Approval tasks?   Ex) In the below structure, I would need File A to be approved by Ann, Bob, and Chris. Meanwhile, File B would need to be approved by Dan, Eric, and Fred.  Dept 1 | |- Folder 1 |  | |  |- File A | |- Folder 2 |  | |  |- File B


I have downloaded some samples for Google maps API 3 and I can see some code like bellow:   (function (i, marker) {     google.maps.event.addListener(marker, 'click', function () {         if (!infowindow) {             infowindow = new google.maps.InfoWindow();         }         infowindow.setContent("Message" + i);         infowindow.open(map, marker);     }); })(i, marker);   Could some one explain me what this means?  Or can we re-write the above code in different ways? I am bit new to JavaScript and don't know what exactly the above code does?  here  is the full script  function markicons() {      InitializeMap();      var ltlng = [];      ltlng.push(new google.maps.LatLng(17.22, 78.28));     ltlng.push(new google.maps.LatLng(13.5, 79.2));     ltlng.push(new google.maps.LatLng(15.24, 77.16));      map.setCenter(ltlng[0]);        for (var i = 0; i <= ltlng.length; i++) {         marker = new google.maps.Marker({             map: map,             position: ltlng[i]         });          (function (i, marker) {              google.maps.event.addListener(marker, 'click', function () {                  if (!infowindow) {                     infowindow = new google.maps.InfoWindow();                 }                  infowindow.setContent("Message" + i);                  infowindow.open(map, marker);              });          })(i, marker);      }  }

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


I've been asked to take a look at an old web server (Ubuntu 12.04) which has been running very slow recently.  After a quick check I found a process constantly topping the cpu:  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 26331 root      20   0  413m 1728 1188 S  400  0.0 740:47.17 Welcom   It was running from the /tmp directory where I found these 3 files  /tmp -rw-rw-rw-  1 root         root            11624 Dec 29 14:50 tmplog -rwxrwxrwx  1 root         root                0 Jan  9 04:12 Wel* -rwxrwxrwx  1 root         root          1659720 Jan  6 22:18 Welcom*   the tmplog file kinda suggested it was a cryptocurrency miner:  tmplog top line CMD: /bin/wipefs -B -o stratum+tcp://pool.minexmr.com:443 -u 45WnHu.......   I immediately removed the files from /tmp /bin and /etc/init.d which were linked to these executables, stopped the process and disabled root ssh login.  A minute or so later the Welcom file was back in /tmp and the process was up and running again.  I did some research and found these:      But I only managed to locate the templog wipefs from the list of files. The templog is no longer updated but the Welcom executable gets recreated in both /tmp and /bin  How can I get rid of this without thrashing the box? Any help would be much appreciated.

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


I am trying to initialize a list of numpy arrays in the following way  import numpy as np sol=[np.zeros(5)]*4   But when I try to modify one of the list members like this,  sol[0][2:4]=[1,1]   It changes all the list members instead of only the first one  [array([ 0.,  0.,  1.,  1.,  0.]), array([ 0.,  0.,  1.,  1.,  0.]), array([ 0.,  0.,  1.,  1.,  0.]), array([ 0.,  0.,  1.,  1.,  0.])]   I guess it is old story about mutable and inmutable objects, but I simply don't know how to solve it.   I tried using copy and deepcopy, but not successful.  Sorry if it is duplicated entry, but I couldn't find any similar question  Thanks

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


I just passed the 10k threshold on SO.  Unfortunately though, I can't view deleted questions in the app! I get the standard "... this question make have been deleted" popup.  Even if it's not considered worth it to allow actually viewing the questions in the app, it would be nice if it instead opened the link in a browser or something, or gave a more appropriate error message.

When using the Android app, I am unable to view deleted questions on any site. I simply get, "Loading the question failed." However, I can view these sites normally in the browser using the same account, so I don't see why I would be restricted access to them via the dedicated app.  Questions attempted:    (20k+ on this site)  (9k+ on this site, but it's a beta site)   Both questions fully load in the browser on my computer or my Android device, but when opening them via the app, as mentioned, I receive the error that, "Loading the question failed." If I'm already looking at a question pre-deletion, and it is deleted, refreshing it gives an, "Unable to refresh" error.  I don't know if we're just not intended to look at deleted questions on the Android app (yet?), but I figured this would just be a provided feature, so that makes me think this is probably a bug.


I need to type the group    in GAP. Is it correct if I type as, "SemidirectProduct(ZmodnZ(3),AbelianGroup([7,7]));"? Will it recognize that AbelianGroup([7,7]) is the normal subgroup?

I'm wondering how to specify to GAP which homomorphism to use when constructing a semidirect product. I'm trying to have it construct $\left(\mathbb{Z}_p\times\mathbb{Z}_p\right)\rtimes_\varphi S_3$. Since $\mathrm{Aut}\left(\mathbb{Z}_p\times\mathbb{Z}_p\right)\cong GL_2(\mathbb{F}_p)$, I want to specify $\varphi:S_3\rightarrow\mathrm{Aut}\left(\mathbb{Z}_p\times\mathbb{Z}_p\right)$ as $\varphi:S_3\rightarrow GL_2(\mathbb{F}_p)$ element by element (i.e. give a 2x2 matrix for each element of $S_3$).  I want to do this just to do group element multiplications quickly. I'll obviously specify $p$ when necessary.  I'm fairly new to GAP so a low-level answer (or reference) would be appreciated.


If a topological space is Hausdorff then arbitrary intersection of compact sets is compact.  How to find examples of compact  subsets $A,B$ of a topological space $X$ such that $A\cap B$ is not compact

Is the the intersection of a finite number of compact sets is compact? If not please give a counter example to demonstrate this is not true.  I said that this is true because the intersection of finite number of compact sets are closed. Which therefore means that it will be bounded because the intersection is contained by every set. I am not sure if this is correct.  Thank you for the help


For a parent, how do we best control the content of the ENTIRE household's Internet in a centralized manner?  This settings of parent controls for individual network-based devices is maddening and often incomplete in terms of time-limit and content-limit.

This question was inspired by this one:  which was deemed off topic.  Hopefully this is more on topic as I'm not interested in the specifics of how to monitor what my kids do on the internet.  But what general approach I should take, and what approaches others have used?


I am reading High Speed Digital Design: A Handbook of Black Magic. It was mentioned that if length of transmission line (Microstrip or stripline) is less than 1/10th of the wavelength of highest frequency component, then transmission line matching is not important. I am trying to visualize the phenomenon which will make matching insignificant for shorter transmission lines. I still think mismatch will cause reflection at the point of mismatch.   Can someone help me in understanding it? I am not sure if my question requires a detailed explanation and may be unsuited as a question over here. If this is the case, then please help me with finding relevant reading sources and some terms to google.

Why are characteristic impedances of traces not considered when the traces are shorter than half a wavelength? I've had the same issue with light diffraction, which happens when pinholes are smaller than half a wavelength - it sort of makes sense somehow, but I can't "see" it, I don't understand how wavelengths are related to reflections (which I assume are the only reasons why we care about impedance matching). I'm trying to make the ocean wave analogy work but... Well, the fact that I'm asking this says it all.


I just reinstalled Windows 10 from stratch on my PC. Previous versions of Windows would usually come preinstalled with a generic video driver, and the first thing I would do after install would be to go the Nvidia website to download and install the latest official driver for my card. This time, I noticed that Windows automatically installed what already appears to be the official Nvidia driver (including all the usual Nvidia apps and menus). Should I trust this to be the correct and latest version of the driver? Or should I still manually download and install the one from the Nvidia website in any case?

Today I see that there's an update to my graphics card driver (NVidia GT 220) available on Windows Update. Should I install that, or stick to the drivers provided by the manufacturer?  (Re-asked here after asking on gaming.stackexchange).


When we derive the mirror equation of concave mirror, i.e.,$\frac{1}{u}+\frac{1}{v}=\frac{1}{f},$ we've already used the sign conventions. Then why to use the sign conventions again while solving a problem?   Say the object is at $5~\text{cm}$ from pole.Then we take $u$ as $-5.$ We've used signs while deriving the formula and yet again while solving the problem. In that case I think that we are not at all using the sign convention.

I have just started learning optics at school and my teacher derived the lens and mirror formulas. While doing so, she applied the sign convention for $u$, $v$ and $f$ and arrived at the final expression. However, while solving problems using the mirror formula why do we again apply sign convention for the given values of $u$, $v$ or $f$?


This question is particularly aimed to target researchers with many years experience in this field.I have done bachelors in Bioinformatics and got an unofficial/voluntary opportunity to work with United nations on a research via local government organization.Although I would be doing the work myself and even document the paper but my superviser says that as I am not affiliated with any institution right now so I cant be put into authors section.But I have heard people work and write papers even after graduation.I want to know how is that done and what am I supposed to write in affiliation part if I want to get the research published.please tell the process in detail.Also, is it possible if I can be associated with thay phd scholar or something without being affiliated with institution?Any information regarding it will be helpful with details please.

Recently my paper is reviewed (by a professor from independent third party) and accepted by a journal. But, my employer allows me to publish this paper only without its name there.  Publishing house is expecting affiliation for each author, i.e. I can not leave affiliation as blank.   What should I write as the affiliation?


The course descriptions is : A theoretical course in calculus; emphasizing proofs and techniques. Trigonometric identities. Limits and continuity; least upper bounds, intermediate and extreme value theorems. Derivatives, mean value and inverse function theorems. Integrals; fundamental theorem; elementary transcendental functions. Techniques of integration. Taylor's theorem; sequences and series; uniform convergence and power series.  This course is using Spivak's calculus, but I'm also looking for another proof based book accompany with Spivak, thx

This question is a  of the common question asking for calculus references. It is here to  away the repetition, and give a canonical resource for calculus references.      I'm looking for a resources to learn single-variable calculus.


Some friends and I bought the Humble Bundle with Sims 3 (and expansions).  And we want to know if possible to play in a "cooperative mode". I mean, share the same neighbourhood, to interact between our sims...  Is this possible?  How would we do this?

Is there any way that my girlfriend and I can interact between our Sim characters/families? Is it possible to share neighborhoods online or play the same family change by change? We have both Origin accounts with Sims 3.


I'm writing up my final-year dissertation and I'm required to give, as part of the introduction, an analysis of all the equations (and their terms) of which I use. Embarrassingly, whilst of course understanding  the principle of mass continuity, I'm not quite sure about the physical interpretation of each of the terms, $A$ and $B$.  $$\underbrace{\frac{\partial \rho}{\partial t}}_{\text{A}} + \underbrace{\nabla \cdot (\rho \textbf{v})}_{\text{B}} = 0$$  I mean, I know $A$ is the change in density w\r\t time and $B$ is the  divergence (flux density) of the density $\times$ the velocity, but I don't think that's quite enough, if you follow. Any help/guidance or reading resources would be greatly appreciated.

The  in fluid mechanics states that  $$ \frac{\partial\rho}{\partial t} + \nabla\cdot(ρ\mathbf u)=0 $$ Can you explain to me what is the physical meaning of each term of the equation and what are the direct outcomes?  Keep in mind that i do not have much knowledge about differential calculus. Thank you! EDIT: After receiving some answers(for those who want to find out the answer,check the comments),i have only one question left.If the density gets bigger and bigger as time passes,then the first term of the equation is positive.What happens with the second term?What changes in that control volume?I mean,the density in the CV gets bigger,so what happens to velocity(intuitively)?I think that the velocity must get bigger in order to the fluid to get out of the CV.But that means that the second term is also positive and the equation is not  right.So what is wrong with my thinking?


I am trying to show that  $$\sum_{i=1}^ne_i = 0$$  I have two hints, so to speak:  $$ HX = X$$ where $H$ is the hat matrix, and that $$\sum_{i=1}^ne_i = e'1$$  My solution is as follows:  $$e'1 = Y'(I-H)1=[(X\beta)' - (X\beta)'H]1=(\beta'X' - \beta'X'X(X'X)^{-1}X')1 $$ $$=(\beta'X' - \beta'X')1 = 01 = 0 $$  Seems simple enough but this implies that $e'$ and by extension $e$ is always a vector of zeros, which seems counter-intuitive.

I am trying to show that $$\sum_{i=1}^ne_i = 0$$  using matrices (or vectors).  I have two hints, so to speak:  $$ HX = X$$ where $H$ is the hat matrix, and that $$\sum_{i=1}^ne_i = e'1$$  My previous solution, , is wrong since I expanded $Y =X\beta$, leaving out the error term. If I include it I end up with a tautology.


I tried to quit vim  "/etc/sysconfig/network-scripts" "/etc/sysconfig/network-scripts" E212: Can't open file for writing Press ENTER or type command to continue   When I press Enter, it returns to edit mode. I tried   !q  Press ENTER or type command to continue [No write since last change] /bin/bash: q: command not found  shell returned 127  Press ENTER or type command to continue   I press Enter, it returns to the previous editor mode again.  How can I quit vim in this situation?

I know this is more of a general linux question but w/e. So when I enter a program like vim in the command prompt it displays all the text in the file and I can edit it etc. But I can't figure out how to close or save the file and get back to the command prompt without killing the process. Any help is appreciated.


Let $G = {5, 15, 25, 35}$. Prove that G is a group under multiplication modulo $40$. I know how to solve for associativity and closure but  I don't know how to find the identity for the set. All the answers that I've seen are using the Cayley Table but I haven't learned that in school yet. Can someone please help me with another way to solve this? Any help will be appreciated.

Show that the set $\{5,15,25,35\}$ is a group under multiplication modulo $40$. What is the identity element of this group. Can you see any relationship between this group and $\mathbb U(8)$?   I am very stuck on this question and I think my knowledge of abstract algebra is my liability at the moment. Right now I'm most confused by the fact that I learned: An element of a group of this nature must be relatively prime with the working mod.  Obviously here this is not the case, so I don't really know where to begin.  Do I need a Cayley Table?  Thanks.


I got hold of this computer and I am wondering if anyone would enlighten me as to whether it will be able to run ubuntu . I am new to the linux world and need advice.  I have a Dell Precision M4500 Core i7 M640  15.6"  2.8GHz  8GB RAM 500GB  HDD  1920 x 1080    I think The Unit is probably older than Alabama if it can run a proper version of Linux Ubuntu I down with it.  Thankyou good neighbors Cad Willager  Cad

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?


Find Minimum value of Minimum value of $$S=\frac{3a}{b+c}+\frac{4b}{a+c}+\frac{5c}{a+b}$$  My Try:  we have $$S=3 \times \left (\frac{a}{b+c}+\frac{b}{a+c}+\frac{c}{a+b}\right)+\frac{b}{a+c}+\frac{2c}{a+b}$$  By Standard $AM$ $GM$ inequality we know that  $$\frac{a}{b+c}+\frac{b}{a+c}+\frac{c}{a+b} \ge \frac{3}{2}$$  Is it possible to proceed here?

Find the least value of $\dfrac {3a}{b+c} + \dfrac{4b}{a+c}+ \dfrac{5c}{a+b}$ for positive $a, b, c$.    I tried using the Cauchy-Schwarz inequality, but could not proceed after a bad equation which couldn't be further solved .


I want to install Windows-based software on Ubuntu 18.04, specifically Wordsearch Basic, Bible study software.

Can .exe and .msi files (Windows software) be installed in Ubuntu?


I've googled off and on for years, but I can't seem to find it.  It's set a little bit into the future.  Most humans have been wiped out by a virus, but there are three (or four?) cities left.  Every time a new section of land opens up that can actually be lived on, the cities have a virtual competition (war), to decide who gets it.    I remember that the kids that play the simulations are bred for it (take athletic genes and mix them in), and I remember that one of the kids is deformed, but in the simulation they make him seem normal.  The players aren't supposed to ever meet, but one of the players is a hacker, and set everything up.  I think I read it as a teen - maybe 15 years ago?  I started reading at a college level really early, so it's hard for me to judge.  I don't remember how old it is or anything.  I remember I got it from a library at school, and loved it.  Even though it will probably ruin my memory, I would love to find it again!  Thanks!

Some sort of battle school (no, not Ender's Game), where teens are being trained as military commanders.   The control system for their army hinges around some sort of system that requires extremely fine motor control -- being able to "push" around digital representations of military units using a special interface that interprets minute finger movements.  The boy protagonist eventually meets a girl in the battle school, and is astonished to learn that most people do not live as well as he does -- for instance, he gets a fresh jumpsuit outfit every day and disposes of the old one; this is a luxury.  One scene I recall is them kissing for a moment in some sort of underground passageway; the boy protagonist notes the exact length of the kiss, as he has been trained to have heightened time perception.  I don't recall much about other commander characters; I think they have different special abilities, and one other major character might have physical deformities, possibly because of postwar-radiation-related birth defects.  They have been training for an upcoming, prearranged final battle between all the existing national governments; the military units are very possibly robotic or entirely digital in nature, so as to avoid wasting materiel / human life.    They ultimately win the battle, just barely; I think the girl protagonist gives them an edge in the competition by hacking the timing / control system in favor of their team, causing a discrepancy which only the boy protagonist notices due to his heightened perceptions.  It was agreed that the winning government gets dominion over one of the few islands of land left that was not irradiated in some previous war; the protagonists get to live there as a reward for their victory.  I believe the boy protagonist later realizes he's gradually losing his ability to exactly quantify the passage of time.  Published no later than 2004, likely somewhere between 1980-2000, probably sometime in the '90s.


Previously I created a login system which used a HashMap, but no database. I then ran into the problem of not being able to change the passwords of the system, as they would be reset everytime I booted up the program. It was like this:  HashMap<String, String> credentials = new HashMap<String, String>();      UserData() {         credentials.put("Manager", "adminpass");         credentials.put("Employee", "employeepass");         credentials.put("Customer", "customerpass");      }  I then realised I want to use text files to store the passwords, so I could edit them and the changes would take effect. So I created 3 text files. adminpass.txt, employeepass.txt, customerpass.txt They all contain the passwords which are 'adminpass', 'employeepass', 'customerpass' With the previous system, I used .equals to compare the password of user input and the real password as it was a string. Now it's a variable, so I am using ==. Here is my code for logging in: public void actionPerformed(ActionEvent ae) {                  if (ae.getSource() == authenticateButton) {                      String roleID = usernameField.getText();                     String password = String.valueOf(((JPasswordField) passwordField).getPassword());                      if (credentials.containsKey(roleID)) {                         if (credentials.get(roleID) == password) {                             messageLabel.setForeground(Color.green);                             messageLabel.setText("Login successful");                             frame.dispose();                             m.launch(roleID);                          } else {                             messageLabel.setForeground(Color.red);                             messageLabel.setText("Incorrect password");                                                      }                      } else {                         messageLabel.setForeground(Color.red);                         messageLabel.setText("Incorrect username");                     }                 }             }         });  I also have read from the text files on startup, assigning what the system has read from the files to the adminpass, employeepass, and customerpass variables. Everytime I login I get 'incorrect password' even though they're correct. So I decided to do System.out.println(credentials.get(roleID))  And it just returns null. I'm completely confused here, I am grateful if anyone can help or point me in the right direction! Thanks! EDIT: when i use .equals(password), i get Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "java.util.HashMap.get(Object)" is null

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?


Find all polynomials $f(x)$, for which $f(x)f(2x^2)=f(2x^3+x)$.   I have no idea how to do it.

The full question is to solve $f(x)f(2x^2) = f(2x^3+x)$, prove there are at most one solution per degree of $f(x)$ and then find all the solutions. (Here $f(x)$ is assumed to be polynomial.)  So far I have proven that $(x^2+1)^n$ works for even degree polynomials, and I'm pretty near certain there are no odd solutions.  Is the following a valid argument for there only being at most 1 solution per degree? Let $K$ be the degree of $f(x)$ then $f(x)f(2x^2) = f(2x^3+x)$ produces $3k+1$ linearly independent equations with only $k+1$ independent variables. Therefore for any degree $K$ polynomial there can be at most 1 solution.  Finally, is there any elegant way to prove that no odd solutions exist?


So I've always assumed that data and information are the same thing, however, someone I know told me that there is a difference between them, but neglected to tell me said difference. Could someone please tell me the difference Thanks. (PS. Sorry for asking a stupid question)

I know it may be dumb but what is the difference between the following words?   information  data  knowledge science   Especially the difference between data and information? I know it but cannot explain it well to my teacher.


i try to using Eclipse Maven to build jar with dependencies but when i execute   java -jar App.jar   got the error : "no main method found"  My pom.xml looks like this:  <project xmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">     <modelVersion>4.0.0</modelVersion>     <groupId>com.maventest</groupId>     <artifactId>aproject</artifactId>     <version>0.0.1-SNAPSHOT</version>     <packaging>jar</packaging>     <name>aproject</name>     <url>http://maven.apache.org</url>     <properties>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>     </properties>     <dependencies>         <dependency>             <groupId>junit</groupId>             <artifactId>junit</artifactId>             <version>3.8.1</version>             <scope>test</scope>         </dependency>      </dependencies> </project>   it's just a simple java code:  package com.maventest.aproject;  public class App {     public static void main( String[] args ) {         System.out.println( "Hello World!" );     } }   eclipse version: 4.5.2  Can anyone help me with this? Thanks.

I want to package my project in a single executable JAR for distribution.  How can I make a Maven project package all dependency JARs into my output JAR?


I have a mesh with armature modifier. Is there any efficient way to read its vertices coordinates with modifiers accounted in Blender 2.80?  So far the only way I found is to duplicate the object, apply modifier, read vertices and remove duplicated object:  def extract_vertices(my_object):     # Duplicate object     for obj in bpy.data.objects: obj.select_set(False)     my_object.select_set(True)     bpy.ops.object.duplicate_move()      # Apply modificators     duplicated_object = bpy.context.scene.objects[-1]     bpy.context.view_layer.objects.active = duplicated_object     duplicated_object.select_set(True)     bpy.ops.object.modifier_apply(apply_as='DATA', modifier="RIG")      # Read vertices     vertices = [v.co for v in duplicated_object.data.vertices]      # Remove duplicated object     my_object.select_set(False)     bpy.ops.object.delete()      return vertices   It works, but very slow. I need to run this thing thousands of times in the loop, adjusting modifier every iteration.  It seems that Object.to_mesh()  could be exactly what I need, but it's  and there's no apply_modifiers parameter anymore.

I'm trying to update an exporter to work with Blender 2.8 but can't seem to get a mesh data-block modified by modifiers or shape keys. It always gives me the base mesh.  I'm currently using Object.to_mesh(). But reading Object.data or bmesh.from_mesh(obj) all returns only the base mesh. So what is the new function to call for getting a mesh data-block with the modifiers and shape keys applied?


ValidationErrors: CaseSensitiveSalesforceID: 99 Required Field: 7 Invalid Field Count: 1  I'm trying to data load a .csv files, everything matches accordingly, trying to troubleshoot what this error means, any help appreciated.

I tried uploading non-English text to my Data Extensions but the system is throwing error named "Invalid Field Count".


I have worked with my old advisor for 1+ year to produce my senior thesis. I'd say that our relationship was good when I left to do my masters (and he did write me a reference the first time around). I'd say he was satisfied with my studies if not terribly impressed.   I was fairly confident that he would write a letter this time around for my PhD application (1 year after our departure) but now I've sent him two emails without getting a reply. I feel that there is really no reason he would decline other than he is too busy or getting too many letter requests--this may be why he just didn't reply to my email without an outright refusal.   I cannot "ambush" him in person since my visa has expired. I do have contact info to one of his phd students and his phone number. Should I call him or contact his PhD student? Or keep sending more emails? What should I say in the emails? I really need his reference.

I have written an email to a professor asking him for a letter of recommendation. It's been almost a week and he didn't answer back.  I have already seen questions on this topic here, saying that when a professor doesn't answer is probably because he forgot or he overlooked it. However my question is: what is the best thing to do next? Send him another email? Or try and see him in person?


Suppose $x > 0$. Prove that $$\frac{\sqrt{x}}{x+1} \leq \frac{1}{2}$$  Hey everyone, here is a simple math prove question, but I had a hard to start this proving, please give me some ideas to deal with this. Thanks

I have a math homework where it's being asked to prove that :  $$\forall a \geq 0,\sqrt{a}\leq\frac{1+a}{2}$$  However, I don't have any idea how I should start this one...  Any idea ?


tl;dr  Want to make a SOQL to return all Users and there (custom) permissions    Hi there  I've just started using SF, so bare with me if this is very basic.  One of the usages of salesforce we're trying to do is to manage the permissions and policies of what some departments can do in our internal BO (backoffice).  So I manage to find that we can do that by making the PermissionSet with CustomPermissions, and it is going forward kindly of ok. But now from our BO we need to query SF for users and their permissions.  So, for those who know SQL, this was kind of what I wanted to do:  SELECT    User.Id,   User.Email,   User.Username,   PermissionSet.Id,   CustomPermission.* FROM User   JOIN PermissionSetAssignment      ON PermissionSetAssignment.AssigneeId = User.Id   JOIN PermissionSet     ON PermissionSet.Id = PermissionSetAssignment.PermissionSetId   JOIN CustomPermission      ON CustomPermission ON CustomPermission.??? = PermissionSet.Id   But on SF they use SOQL, which already understood that it takes an object way of querying. Already did a couple of tests, and  helped to understand the properties of each object, but failed of explaining how do the objects interact and which alias they have when interacting. I mean from the POV of PermissionSetAssignments, users are called Assignee. Where can I find these alias? Where can I find the object relations map?  But going back to the topic, I've manage to go till here:  SELECT Id, Email,   (SELECT     PermissionSet.Id     PermissionSet.Label   FROM PermissionSetAssignments) FROM User   Which I already have Users, PermissionSetAssignments and PermissionSet, I was able to find this by some examples and the  (end of the page)  But I'm completely lost in going from there to CustomPermissions. Any idea?    edit  With the help of @adrian-larson so far I've manage to get the users, their permission sets, and the SetupEntityAccessItems SetupEntityId and ParentId, however I still miss the DeveloperName from CustomPermissions that would need to be attached to  SetupEntityAccess. The @adrian-larson answer would be correct if I wanted to do a query (in that case 3) per each user.  The idea is to map the CustomPermissions DeveloperName into our application specific policy, so I intend to from time to time to fetch that Users > PermissionSet > CustomPermissions and update all users permissions on our application.  what I have so far:   get all users and their permission sets  SELECT Id, Email,    (     SELECT PermissionSet.Id, PermissionSet.Label      FROM PermissionSetAssignments   )  FROM User   get all setup entity access items that are custom and the parent id (permission set)  SELECT Label, Name, (   SELECT      Parent.Name,     SetupEntityId,      SetupEntityType   FROM SetupEntityAccessItems   WHERE      SetupEntityType = 'CustomPermission' ) FROM PermissionSet  [STILL MISSING] a way to map setup entity access to the custom permission name     edit  Solution found. On the  doesn't mention an ID, but noticed that @adrian-larson made a match through the ID, so with the simple:       SELECT Id, DeveloperName     FROM CustomPermission   It was possible to get the missing data part. Ideally 1 query would be the best, but this will work also. Thanks @adrian-larson

Does anyone know a basic way that I can run a  SOQL query to see which permission sets are attached to users?  We have a rather large issue where a button needs to be on a page layout for a few important users but the rest of the people on the profile should not have visibility or use of this.  I have pushed the idea to have a new profile, but my company is rather large and wont allow it... so I was going to use .js in a button to show the button to the users whom should be able to see it and hide hide it for those who should not be able to see it..  Other ideas are welcome :)