What I remember is it's about a teen who has committed crime like drunk driving and is set to some sort of re-education center, meets a girl, has to drive fast a lot.  It was dystopian in nature and turned out that the kids were in a kind of an experiment in mind-control or conditioning due to their juvenile deliquency tendencies. I think the main character would drive at super high speeds on a track but then get shocked or some such.

I'm looking for a short story that I read in the late 1970s or early 1980s, English-language in the US, possibly part of a Scholastic-published offering or anthology.  The plot involves two teenage juvenile delinquent brothers who are unrepentant hovercar thieves and joyriders (I'm pretty sure it was hovercars, though it could have been regular cars).   They have been caught yet again, and the justice system, desperate for a solution to the problem of rampant hovercar joyriding, puts them into a program where they are forced to race hovercars on a track until they lose the desire, or die in the process. (The analogy used is similar to forcing kids caught smoking cigarettes to smoke a box of cigars until they get sick -- a form of aversion therapy.)  In the first race, the older brother chooses a car with a low-profile color for himself, and a high-profile color for his brother so he can keep an eye on him.  As the racing progresses, the brothers face dangers in the form of their fellow racers, as well as deadlier obstacles on the track itself (including at one point, a tank -- though as a barrier, not a weapon).


Is the Lorentz Force acting on a wire, that has current $I$ in a magnetic field $B$ ? Or non-conservative? I understand that all the fundamental forces are conservative, am I correct?

Can anybody please tell me if magnetism is a conservative force or if there is a field associated with it? How to reason? One thing I know is that the work done by a magnetic force is equal to $0$.


Trying to find some simple SQL Server PIVOT examples.  Most of the examples that I have found involve counting or summing up numbers.  I just want to pivot some string data.  For example, I have a query returning the following.  Action1 VIEW   Action1 EDIT   Action2 VIEW   Action3 VIEW   Action3 EDIT     I would like to use PIVOT (if even possible) to make the results like so:  Action1 VIEW EDIT   Action2 VIEW NULL   Action3 VIEW EDIT     Is this even possible with the PIVOT functionality?


It's my friends stag weekend this weekend, and he loves Fifa.  Between us, we have 2x PS4's and 8 controllers.  I know on one PS4 you can do 4 player, just wondering if we're able to do 4v4 with two PS4's, either by connecting them somehow or by playing online?

I've the following situation: My friends and I, we're 8 in total, want to play Fifa 15 4v4. I know that the Playstation 4 just supports 4 controllers and thats why we think about a 2 console + 2 TV's setup, so 4 players per console.   So my question is: Is it possible or is there a game mode available were we could play such a setup?  Update: After I got the first answer I've to add that I know that the only way to play on 2 consoles would be through the psn online features. So we did not plan to play on Lan. We just want to sit in the same room with 2 consoles and play against each other over psn.


How can I Remove the "Chapter 9" text and number in front on the chapters. see "chapter 9" below in the picture. I want to keep the numbering for the sections and subsections in the text and in the table of content.   I have seen methods to remove chapter number, however the section count will then continue from the past chapter. For instance 9.1 Chapter overview will be changed to "8.12 Chapter overview"    \documentclass[12pt,twoside]{report} %\documentclass[draft]{article} \usepackage{graphicx} \graphicspath{{images/}} \usepackage{caption} \usepackage{subcaption} \usepackage{textcomp} \usepackage{gensymb} \usepackage[utf8]{inputenc} \usepackage{nomencl} \makenomenclature  \begin{document}  \addcontentsline{toc}{chapter}{List of Tables}  \chapter{Results section overview \& Reservoir Characteristic} \input{chapters/Reservoir_Characteristic.tex}

Sorry for wrong question formatting, but I'm new here and I don't know the way around these tools. I would like to know if there is a way to remove the chapter number from the document (preferably without any preamble lines). For example, if I have:  \chapter{chap1} \chapter{chap2}    \section{sec1}        \subsection{subsec1}   Then, sec1 has number 2.1 and subsec1 has number 2.1.1. I would like the "2" removed, so I have 1.1 for subsec1 and 1 for sec1 in this particular chapter.


I am not a native English speaker , so I am sorry if there is any grammatical mistakes. I wanted to ask how correct the following sentence is      This game isn't good neither for children nor for adults.   I tried to find the answer on google but to no avail. Please if anybody has any idea about that sentence, don't hold back, help me.

Is this double/triple negative grammatically sound?  Ordered operations require that space on disk is allocated sequentially, so spatial ordering corresponds to chronology of operations, but actual disk writes need not to be neither atomic nor ordered.   Explanation:   Words neither and nor emphasize on the fact that both conditions are (independently) allowed to remain unsatisfied, that both are optional. To be more formal, "need not be atomic and need not be ordered". But then again, it becomes a concoction of two negations joined by a conjunction.


I Can't find out how to format my usb stick. Have read some guides but can't find "Format Device" anywhere.  Anyone got the same problem? Or have a solution to my problem?  Greatful for all answers.  SOULUTION  Go to Dash and find the program Disk, open it and Right Click on de device you want to format. Or you can use GParted.

In Windows there is a straightforward "Format" option in a flash drive's right-click pop-up menu. Where's that in Ubuntu?


I want to count the ammount of objects which have been created by using a certain constructor. I have done this in languages like C# before so I created a static int variable which I'm incrementing in the constructor.  Before I show you the code - here is the compilement error:     Severity  Code    Description Project File    Line    Suppression State   Error   LNK2001 unresolved external symbol "private: static int Bill::count_of_created_bills" (?count_of_created_bills@Bill@@0HA)   Ausgabenverwaltung  c:\Users\xy\documents\visual studio 2017\Projects\Ausgabenverwaltung\Ausgabenverwaltung\Ausgabenverwaltung.obj  1      Here is the code:  #pragma once class Bill { private:     static int count_of_created_bills;     int id;               // Unique Identification     double ammount;       // Ammount of bill         int month;            // Month of bill (January = 0, February = 1 ...)     int type_of_spending; // Type of spending (Food = 0 ...)  public:     Bill(int a, int m, int t):ammount(a), month(m), type_of_spending(t)     {         count_of_created_bills++;         id = count_of_created_bills;     } };   The compilement error occurrs if I'm including this line:  Bill b(1, 2, 3);

Very simply put:  I have a class that consists mostly of static public members, so I can group similar functions together that still have to be called from other classes/functions.  Anyway, I have defined two static unsigned char variables in my class public scope, when I try to modify these values in the same class' constructor, I am getting an "unresolved external symbol" error at compilation.  class test  { public:     static unsigned char X;     static unsigned char Y;      ...      test(); };  test::test()  {     X = 1;     Y = 2; }   I'm new to C++ so go easy on me. Why can't I do this?


I wrote my own java program, but I don't know how to distribute it. After making 'Clean and Build' (from Netbeans) a .jar file is created for me. Do I have to distribute that or do some procedure to create an .exe file?

If I have a Java source file (*.java) or a class file (*.class), how can I convert it to a .exe file?  I also need an installer for my program.


I will start by listing my system specs. Ryzen 5 1600 RX Vega 56 DDR4 16gb 3200mhz ASUS B450 Prime 750wat PSU My experience with Ubuntu is minimal. I used it back in the day for work, browsing the web, and played a few games here and there. So when it comes to using the terminal you could call me a noob. So here is my problem I currently have Windows 10 installed on an SSD partition style (GPT). I want to install Ubuntu on a separate SSD wich is also (GPT). However, when I go threw the setup process it does not give me the option to install alongside windows. So I choose "other". I set up my partition table as follows: /boot, /, /swap, /home. I set the bootloader to "/" After everything finishes up it has me restart the pc. Once the pc restarts it automatically boots up to Windows. It doesn't boot to grub and the only way to boot to Ubuntu is by changing the boot order in bios. So after searching for what seems like a day I find out that I could use os-prober and grub customizer. Both of which were unsuccessful in finding my Windows SSD. People have to said to disable csm and safe boot in my bios settings however I have no idea what that would do to help or even fix. If anyone here could help I would appreciate it. Thanks.

I have gotten as far as to create the bootable usb, booting into that bootable usb and getting to the install options however i quit because I had some concerns.  I currently have a Samsung 850 evo 1tb that has win 10ninstalled. I want to dual boot with Ubuntu 18.04 by installing it on a brand new unformatted uninitialized Samsung 860bevo 250gb. Should i format the brand new ssd as a new volume in win 10 and then proceed with the Ubuntu install on this volume. What else should i do? Im a first time Ubuntu user and installer.  Any and all help is appreciated.


NOTE: This is not a duplicate of . That question dealt with a system (running 15.04, kernel 3.19) that did not connect via wireless at all (but presumably could connect via ethernet). The present issue deals with a system that can connect via wifi and ethernet, but the internet connection drops randomly on both wireless and wired (when either is used). In addition, both answers (which recommended upgrading to kernel 4.2) on that previous question cannot be applied to solve this issue. 16.04 already uses kernel 4.4 out of the box.    QUESTIONS: Why does the internet drop from wired and wireless even though they appear to remain connected? Where can I look to begin figuring this out? What diagnostics can I run to probe the wired issue?  SUMMARY: Internet drops every 1-30 minutes when connected via wired or wireless (i.e., this is a problem on both wired and wireless) even though connection icon indicates the computer is still connected.   Disconnecting and reconnecting via the connection icon resets internet temporarily until the next random drop.  Dropped internet is discovered with "The site can't be reached" screens in Chromium, or error messages when downloading/updating in Terminal, or stalled syncing in Insync application.  Internet drops more frequently on wireless than on wired.  It seems to disconnect more frequently with heavier internet use (e.g., downloading multiple files, opening several webpages in quick succession).  This is on a fresh install (yesterday) of Ubuntu 16.04 on a Dell Inspiron 15 5567 (dual boot). The issue also occurs when running on Live CD.   Ethernet and WiFi both work without disconnecting in Windows 10 on the same machine, and ethernet and wifi work on other machines running Ubuntu and Windows with the same router, so it is not a hardware or router issue.  This change from this  did not work:  sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi disable_11n=1"   This change did not work either:  sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf   Output from   sudo lshw -class network    *-network                       description: Wireless interface        product: Wireless 3165        vendor: Intel Corporation        physical id: 0        bus info: pci@0000:02:00.0        logical name: wlp2s0        version: 79        serial: 58:fb:84:55:21:52        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless        configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-62-generic firmware=17.352738.0 latency=0 link=no multicast=yes wireless=IEEE 802.11abg        resources: irq:283 memory:df100000-df101fff   *-network        description: Ethernet interface        product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:03:00.0        logical name: enp3s0        version: 07        serial: 18:db:f2:3c:d5:37        size: 100Mbit/s        capacity: 100Mbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.1.13 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s        resources: irq:279 ioport:d000(size=256) memory:df000000-df000fff memory:d0300000-d0303fff   Output from:  lspci -knn | grep Net -A2  02:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 79)     Subsystem: Intel Corporation Wireless 3165 [8086:4410]     Kernel driver in use: iwlwifi   Wireless info script pasted .  I don't know what other diagnostics I can run for the wired connection.

I have installed Ubuntu 15.04 on my new Intel NUC   However the wifi does not work.  It complains (in dmesg) that the iwlwifi module was unable to load the firmware code because iwlwifi-3165-10.ucode could not be found.  I've tried installing newer versions of iwlwifi (from backports), but that seemed very complicated and didn't seem to help.


Let $(X,d)$ be a complete metric space, $r\in (0,1)$ and $(x_n)$ be a sequence in $X$ such that $d(x_{n+2},x_{n+1})≤rd(x_{n+1},x_n)$ for every $n\in N$. How can we show that $(x_n)$ is a convergent sequence?

Let $(X, d)$ be a complete metric space, $r∈ (0,1)$ and $\{x_n\}$ be a sequence in $X$ such that   $$d(x_{n+2}, x_{n+1})≤ rd(x_{n+1}, x_n),$$ for every $n∈ℕ$.  Show that $\{x_n\}$ is a convergent sequence.


I am interested in writing a program in C or Python and add information to my software just like in command line, maybe I'm not explaining so good but what I want looks like this:   Ex: myProgram -u "Hello World"   Then after pressing enter to show my message on screen

So I'm in Linux and I want to have a program accept arguments when you execute it from the command line.  For example,   ./myprogram 42 -b -s  So then the program would store that number 42 as an int and execute certain parts of code depending on what arguments it gets like -b or -s.


Apple Mail is producing multiple duplicate drafts on gmail.  After I send a message, there are multiple drafts of it left :-(.  That totally kills productivity and confidence. As I see the leftover draft, I'm never sure if I did actually send the message or not. Not having a draft == msg was sent, but not in this case.  I had a similar problem with my previous company IMAP server.  What is the cause and how can I fix it?  Are you guys/girls using Apple Mail with GMail?

Just now using MacOs Sierra's Mail client. Compared to what happened on El Cap, which worked fine. It seems that now Gmail is accumulating drafts, in other words, once the email is sent, there may be one or many drafts of the email in the drafts folder. Probably corresponding to how many autosaves happened.  Can I stop this from happening?


One of  was just edited, making the title longer in the process. Turns out it was too long, and the text doesn't wrap: it gets cut off.    On questions with  the wrap works, so I'm guessing it's just some small error in estimating the text length.

I just noticed that when a question's title is long enough that it would normally wrap around, it does so a tad late. If the title has a word in the right place, it gets cut off by the background(?!?) of the page.


I want to start Gardian Hunter from the start, but I can't delete my data. Is it possible to delete it? Please help me.  I'm using an iPhone 5.

I have one particular game that saves data through the game center. Somehow the saved game data got messed up which causes the game not to work properly when I a connected to the internet (I.e. When the game center is accessible).   Is there some way to delete all the data belonging to that game only?


I have a python list of 300+ elements. I am trying to limit the print of the elements from the list, in order to show only 10 at a time.  Here is an example with only 5 elements inside a list, and I want to show just 2:  items = ["one", "two", "three", "four", "five"]  max_num = 2  for item in items:  # here I am not sure how I restrict the number elements from items   # do something

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


I'm finding myself wondering about which of these you'd find more correct:  "I went to dinner last night with two young men neither of whom was correctly dressed for the occasion" "I went to dinner last night with two young men neither of whom were correctly dressed for the occasion"  The first one sounds right to me, but I don't know why.

Bob: "Can I set the font color? Can I customize the text?"  Frank: "Neither of these options is available. Sorry!"    Is "neither is" always correct or should one use "neither are" in some cases and what are the exact rules?  of this-is-why-stackexchange-exists :P


What's the difference between a relative adverb and relative pronoun ?  Like in a sentence This is the place where he was assaulted. how where is modifying the verb was assaulted. I have been reading Wren and Martin for grammar it just says that the adverb modifies the verb but not how. I have also watched videos regarding the relative adverbs and in one video by KHAN ACADEMY, David who is the tutor just says "technically the adverb where is modifying the verb" but does not explains.  I want like a complete description like in this way it is modifying a verb or something like that.

For example in a sentence like "This is the place where he was murdered", is where functioning as both a relative adverb and a relative pronoun?  Here where acts as pronoun as it refers back to its antecedent and also as relative adverb (according to Wren and Martin) but what i want to know is    Do they always work in this way? A lot of places I have seen that simply say that the word where modifies noun, a lot of grammar books say but How? Like it isn't adding something to the meaning of verb (was assaulted). Instead of telling me that this is a relative adverb I want an explanation or is it something that just needs to be classified as what renowned grammarians have classified because I haven't quite come up with any reason that proves it. One reason I could come up with was that where modifies the verb by relating a clause (this is the place) with it.


Suppose that $f : [a, b] \rightarrow \mathbb{R}$ is a strictly increasing continuous function which is twice differentiable at $c \in (a, b)$, with $f(c)$ not equal to $0$.  Show that the second derivative of the inverse function $g$ at $f(c)$ exists and find a formula for it.  Any help would be greatly appreciated. Thanks!!

I know that the derivative of the inverse function of $f(x)$ is $g'(y) = \frac{1}{f'(x)}$ But how to derive the formula for the second derivative of g(y) knowing that $\left[\frac{1}{f(x)}\right]' = -\frac{f'(x)}{(f(x))^2}$ ?  I just started studying this chapter, so please try to be as simple as possible ;-) Thank you.


I have upgraded python to version 3.7 and now my terminal is not opening up.  I followed this post   Commands I ran are as follows,  sudo apt-get install python3.7 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2 sudo update-alternatives --config python3   Entered 2 for python3.7  I can't open terminal and run commands.  My ubuntu version is, Ubuntu 18.04.2 LTS

I just tried to install python 3.6 on my Ubuntu 16.04 system, and now I can't run the terminal from the launcher or from Ctrl + Alt + T. I tried to run gnome-terminal from XTerm and got the following message:  Traceback (most recent call last):   File "/usr/bin/gnome-terminal", line 9, in <module>     from gi.repository import GLib, Gio   File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module>     from . import _gi ImportError: cannot import name '_gi' Error in sys.excepthook: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook     from apport.fileutils import likely_packaged, get_recent_crashes   File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>     from apport.report import Report   File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>     import apport.fileutils   File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>     from apport.packaging_impl import impl as packaging   File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>     import apt   File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>     import apt_pkg ModuleNotFoundError: No module named 'apt_pkg'  Original exception was: Traceback (most recent call last):   File "/usr/bin/gnome-terminal", line 9, in <module>     from gi.repository import GLib, Gio   File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in <module>     from . import _gi ImportError: cannot import name '_gi'   How can I fix this error?  It should also be noted that:   My gnome-terminal file is now a python script. The gnome-terminal.real file will open the terminal as expected. python3.5 gnome-terminal will open the terminal as expected.


I need a single-word to describe something good that (unexpectedly) resulted from something bad. This good thing could not have occurred without the bad event happening first, as a precursor.  Example sentence: "I got in a horrible car accident and broke my leg, but falling in love with my nurse at the hospital was the ____," (something like that).

I frequently find myself needing a word to express happiness that acknowledges a tragic or unfortunate circumstance underpinning that happiness. Preferably the word could have both adjective and verb forms. For example, "Gregory [verb-ed | felt adjective about] the balmy February day, suspecting it was yet another consequence of catastrophic and irreversible climate change."  "Bittersweet" is close, but not precisely right. It implies ambivalence rather than genuine gladness. "Schadenfreude" is also in the neighborhood, but I don't want to imply that the tragic part of the situation is what causes the pleasure. (Also, I recognize that the word may not quite exist in English, and I don't know if this is forbidden for this forum, but I'd welcome a loan word or phrase if there's a better one.)


I am trying to make $\hat \theta$ an unbiased estimator for a uniform distribution on $(0, \theta)$. So I am given the fact that $\hat \theta$ is the MLE for $\theta$, but I need to show that if I choose $c_1$, then the estimator becomes unbiased. What gets me stuck is the fact that $\hat \theta = \max(X_1, ..., X_n)$.   Basically, how do I deal with the "max" part of the problem given that I want to show that $\hat \theta$ can be unbiased if we choose $c_1$ such that $E[\hat\theta]$ = $\theta$.   ie. I need to find $c_1$ such that $\hat \theta = c_1 \max(X_1, ..., X_n)$ such that $\hat \theta$ is unbiased (aka $E(\hat \theta) = \theta)$  Thanks!

Let $ x_i $ be iid observations in a sample from a uniform distribution over $ \left[ 0, \theta \right] $.  Now I need to estimate $ \theta $ based on $N$ observations and I want the estimator to be unbiased.  I thought about simple estimator $ \hat{\theta} = \max \left( x_i \right) $.  Based on simulation it is not biased, yet I couldn't show it analytically.  Could anyone, please, show it is unbiased?  BTW, I could easily find another, easy to prove, unbiased estimator, $ \hat{\theta} = 2 \mathrm{mean} \left( {x}_{i} \right) $


I’m trying to make this animation, using particles from an emitter.   The problem is I’d like to shade the smoke as it was very much heated in the centre, where the particles flow is, so it looks pretty much like a lightning bolt.   I knew of a function named voxel data in the textures that would allow achieving this result, but I can’t find it in the new version of blender. Does anyone know what I should do, once I got the smoke from the particles emitter?

I’m trying to make this animation , I’m using particles from an emitter to create the smoke and force fields to give them the direction I want .   The problem is I’d like to shade the smoke as it was very much heated in the center , where the particles flows is , so it looks pretty much like a lighting bolt .   I knew of a function named voxel data in the textures that would allow to achieve this result , but I can’t find it in the new version of blender . Does anyone know what I should do , once I got the smoke from the particles emitter ?


Imagine a massless left-handed neutrino travelling along the x-axis with angular momentum 1/2. Now change to a reference frame of a rotating universe on the same axis.   Someone in this reference frame would feel a force outwards towards the edge of the Universe.  But... would they see the neutrino have spin 0 ? (Or 50% 1/2 and 50% -1/2 angular momentum?)   i.e. would the angular momentum of the reference frame cancel out the spn of the particle?

Rather predictably, I'm having a hard time understanding quantum spin. I know that it has units of angular momentum and relates to rotation, but that it can't be thought of as the actual spin of a particle with real size. Also, I understand that it's quantized.  What I'm wondering is, what happens to quantum spin in a rotating frame of reference?  Specifically, are there (rotating) frames of reference in which (for instance) an electron has spin that isn't half-integer? Is there a frame of reference rotating about a single electron such that that one electron acts like a spin-0 particle?


I built a trigger to insert a custom object record (NPSResponse__c) when the SurveyInvitation object is updated. The Developer Consloe did not point out any errors, however when I update a SurveyInvitation record the trigger is not fires. Can anybody help me? Here is the code: trigger crianpsresponsetrigger on SurveyInvitation (after insert, after update) {     if(trigger.isUpdate){          List<NPSResponse__c> NPSResponseList = new List<NPSResponse__c>();                   for(SurveyInvitation si : (list<SurveyInvitation>)trigger.new){             If (si.ResponseStatus == 'Completed' && si.Survey.Name == 'Net Promoter Score'){                                  List<SurveySubject> SurveySubjectList = new List<SurveySubject>([SELECT SubjectId, Survey.Name FROM SurveySubject WHERE (SubjectEntityType = 'Case' AND SurveyInvitationId =: si.Id)]);                 List<SurveyQuestionResponse> NPSSurveyQuestionResponse = new List<SurveyQuestionResponse>([SELECT Question.QuestionName,ResponseValue,CreatedDate FROM SurveyQuestionResponse WHERE (Question.QuestionType = 'NPS' AND InvitationId =: si.Id)]);                 List<SurveyQuestionResponse> CommentSurveyQuestionResponse = new List<SurveyQuestionResponse>([SELECT Question.QuestionName,ResponseValue,CreatedDate FROM SurveyQuestionResponse WHERE (Question.QuestionType = 'NPS' AND InvitationId =: si.Id)]);                  for(SurveySubject ss : SurveySubjectList){                     for(SurveyQuestionResponse npssqr : NPSSurveyQuestionResponse){                         for(SurveyQuestionResponse comsqr : CommentSurveyQuestionResponse){                                                     NPSResponseList.add(new NPSResponse__c(Survey_Name__c=ss.Survey.Name, Caso_relacionado__c=ss.SubjectId,NPS_Question__c=npssqr.Question.QuestionName,NPS_Response__c=npssqr.ResponseValue,Comment_Question__c=comsqr.Question.QuestionName,Comment__c=comsqr.ResponseValue));                         }                     }                 }                              }                      }                          insert NPSResponseList;     }         }

This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, navigate to the  tag. This question and answer is owned by the community! If you can improve it and make it more useful, you're welcome to edit it. I am building a trigger, a unit test, or other Apex code. I'm working with sObject records, and trying to access related record information. For example, I might have a structure like this: Account a = new Account(Name = 'Test'); insert a;  Opportunity o = new Opportunity(Name = 'Donation', AccountId = a.Id); insert o;  System.assertEquals(o.Account.Name, 'Test', 'Correct Account associated'); // Assertion fails!  Or, in a trigger, I might be aiming for something like this: trigger ContactTrigger on Contact (after insert) {     for (Contact c : Trigger.new) {         if (c.Account.Name == 'Test') {             // Take some action here         }      } }  Why doesn't this work? Why am I getting null values, or NullPointerExceptions?


This is my Event Website:  I have added the Json schema on the site in order to show events in google search. Crawled successfully on google webmaster too without any error.But events doesn't appear in google search on top   But when I search keyword "Whittier Events" on google, it doesn't show my events on top:     How this can be fixed?

I'm using the Rich Snippets with two of my websites:  and another one.  They both have the same two authors: Jordy and Jing. What is amazing is that the Google+ profile picture is shown for Jing but not for Jordy (which is me). I have NO CLUE why, it's beyond my understanding. And Jing is lucky because she didn't set a thing ;)  Please check this Google result:    Check the first page, the second, the third... basically, she has a badge for all her articles, but there are none for mine.  I have no idea what to check, everything seems to be in order. There could be something wrong with my Google+ account but what? I don't know. Google is full of mysteries.  Of course I tried the Rich Snippets Tool which works perfectly for every pages.


I have never been in a clan war before. I've tried, but it doesn't let me. How do I not be a spectator? I want to be in a war. Thank you!!

I am currently in a clan with three members. When we tried to initiate a clan war it said we had insufficient clan requirements. Does anyone know what the full requirements are? Is there a minimum clan member requirement?


When I try to install VLC media player this pops up:  The following packages have unmet dependencies:  vlc: Depends: vlc-nox (= 2.0.3-0ubuntu0.12.04.1) but 2.0.3-0ubuntu0.12.04.1 is to be installed      Depends: libavcodec-extra-53 (>= 4:0.8-1~) but 4:0.8.3ubuntu0.12.04.1 is to be installed      Depends: libavutil-extra-51 (>= 4:0.8-1~) but 4:0.8.3ubuntu0.12.04.1 is to be installed      Depends: libc6 (>= 2.15) but 2.15-0ubuntu10 is to be installed      Depends: libfreetype6 (>= 2.2.1) but 2.4.8-1ubuntu2 is to be installed      Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be installed      Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.1-0ubuntu4.2 is to be installed      Depends: libqtgui4 (>= 4:4.7.0~beta1) but 4:4.8.1-0ubuntu4.2 is to be installed      Depends: libstdc++6 (>= 4.6) but 4.6.3-1ubuntu5 is to be installed      Depends: libva-x11-1 (> 1.0.15~) but it is not going to be installed      Depends: libva1 (> 1.0.15~) but it is not going to be installed      Depends: libxcb-composite0 but it is not going to be installed      Depends: libxcb-randr0 (>= 1.1) but it is not going to be installed      Depends: libxcb-xv0 (>= 1.2) but it is not going to be installed      Depends: zlib1g (>= 1:1.2.3.3.dfsg) but 1:1.2.3.4.dfsg-3ubuntu4 is to be installed   Can someone please tell me what this means?  How can I get around it? (if possible)  P.S. I am also receiving similar pop ups when trying to install most programs.  I am using Ubuntu 12.04 64-bit.  Any help will be much appreciated.

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


hoping for some help!  I'm really struggling to change the text color of my navigation items on a pre-built template. It's the Jepson one.  The inspector tool reveals the css classes I need to change, and changing the font size works, but nothing I do seems to change the actual text color. I've included images. Someone please help me modify the CSS to actually make the color change. It's driving me absolutely nuts and I am sure it is a simple solution. Just want to change it to any color except black.

I want to custom restyle the default NAV MENU CSS of the Communities Customer Account Portal Theme to match my company branding.  How or whats the best location to over-write default out of box style but still keep the menu?  Has anyone ever successfully Re-styled the default Nav Menu with your own branding styles, font sizes and etc inside a Communities Theme?  Please let me know or point me to the correct direction. If there are concerns or if this is a limitation of Sales Force Theme branding, please let me know and advise accordingly. My management wants to re-customize the Default Nav Menu.  Thanks in Advance.


I have organized several times some international conferences on my field (computational chemistry), where accepted proceedings are afterwards evaluated again for it submission to a special issue of a journal. Now I am thinking that I could create a journal for all those submission, even if at the beginning we have no impact factor (ISI) or if people are not so interested, but I would like this idea very much.  So I wonder of you can point which steps should I follow for creating a journal. I think I could attract many submissions, and I have servers where I could host it, but do not know the other technical and/or legal details.

We have witnessed (heard or read) about the birth of new academic journals many times. I have a vague idea how that happens:   A scientist or a group of scientists recognize the need for an academic journal in a specific field or a new scientific society considers to publish a journal,  they choose a group of experts as founders and/or chief editors,  they determine a scope and some basic rules for the journal,  they decide about the number of issues in each year and similar things,  they find a publisher or decide to publish the journal entirely on web, they establish a web site for the journal,  and then they announce the new journal in the related scientific community.    Did I miss any stage? But I suspect there are lots of discussions, negotiations, arrangements and cooperations behind the curtain, which public (the rest of the related scientific community) doesn't know. So my questions are:   What is a typical procedure for establishing a respectful academic journal?  Do financial considerations play a key role?  Should the founders be top experts (to some degree) in the field?  Is it important the new journal be affiliated to a scientific society or be published by a recognized publisher?  Why are some new journals published only on-line?   What are the influential factors for the success of a new journal?  How do the founders choose the editors?  What else should one consider for initiating a new academic journal?   Please share your partial answers too if you don't have all the answers.  Disclaimer: I am just curious and I don't intend to initiate any new journals in the near future.;)


So, I want to write a huge X with the elements of an array in Java: X00000X 0X000X0 00X0X00 000X000 00X0X00 0X000X0 X00000X  I keep having the same result: Ljava.lang.String;@<randomNumbersAndLetters> package ejercicios;  import java.util.Arrays;  public class FigurasConArrays {      public static void main(String[] args) {         int n = 8;         String[][] myArr = new String[n][n];          for (int j = 0; j < myArr.length ; j++) {             for (int i = 0; i < myArr.length; i++) {                 myArr[i][j] = "0";                 if (i == j || i == myArr.length - 1) {                     myArr[i][j] = "x";                   }             }            }         System.out.println(Arrays.toString(myArr));     } }

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


When browsing with Firefox, some pieces of text will randomly render with bizarre glyphs, which immediately go away if selected or some other action happens on the page or even outside of it. For example, the simple fact of taking this snapshot triggered the numbers to render normally:              Note that this can happen on any character, even simple ascii ones like in the pictures, and the glitched glyphs which appear instead of the correct ones are not always the same.  I'm on an up to date Kubuntu 14.04 with noscript, flashblock, ghostery and adblock on Firefox. I had to install some fonts to display Korean characters previously, and I can't remember having this bug beforehand  As requested, here's the output of glxinfo | grep OpenGL:  OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.1.3 OpenGL core profile shading language version string: 1.40 OpenGL core profile context flags: (none) OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 10.1.3 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions:<nothing here>

To summarize the answer: switching to proprietary drivers should work, but the artifacts disappeared for me even on the free drivers now.  Update: since switching back to the proprietary AMD driver (fglrx), I haven't seen these artifacts.  Occasionally I see artifacts instead of correctly rendered characters:    For now I have only observed this in Firefox.  The characters become normal once I select the text.  What's the issue here and how can I solve it?  Graphics card:  AMD Radeon HD 7790 Driver: radeon (free) -> now I'm no fglrx and am not seeing the artifacts (see the update)


I have to use old pc and can't change/upgrade it. It mostly using for scanning & emailing. We use Google apps for domain as a mail server. Can I somehow scan and email doc from this PC in one simple easy step (preferably as pdf)?  Default Windows "Fax and Scan" software allows send scanned doc as email only via local client (I know how to configure IMAP, but looking for other simpler solution).  Any ideas?

How to set Gmail as the default system mail client on Windows 7?  This is not the same as setting the default client for mailto: hyperlinks. Gmail is my default for mailto links, but when I use Windows Photo Viewer (for example, other programs do the same) and select Email I get the error:     There is no email program associated to perform the requested action. Please   install an email program or, if one is already installed, create an   association in the Default Programs control panel.    As noted in a comment by @eselk to  The Google Notifier a.k.a  also doesn't work for this purpose: "GMail notifier only takes over mailto: URLs, it doesn't support "Simple MAPI". What this means ... is that any program that uses simple MAPI to send email (most that send file attachments use MAPI), will not use GMail and will continue to use your default email client. The mailto: URL is pretty much only used by email hyperlinks or typing mailto: in the Windows Run box, not any "send as attachment" options in apps."  The registry solution here  does not work on my machine. The same answer references a program called Affixa which does, by report, seem to work. I don't want to resort to installing a program for this unless there really is no other option. What says Super User?


I'm pretty sure this is a Riemann sum, but I can't solve it. I tried to write it as the integral of a function which equals the product of $\sin(2 \pi x)$ and something, but so far it didn't work.  $$\lim_{n \to \infty} \sum_{k=1}^{n} \sqrt{n^4+k}\sin \frac{2k \pi}{n}$$

$$ \lim_{n \rightarrow \infty} \sum_{k=1}^n \left( \sqrt{n^4+k}\ \sin\frac{2k\pi}{n} \right) = ? $$  I tried to transform it into a Riemann sum, to use Taylor-series of the sine function, to estimate, but nothing. Any help would be great.


I would like to color year and author with biblatex. When using natbib for citing, authors and year were blue, but after changing to biblatex only year is dyed in the desired color. Is there a way to make only Author(s) and year blue when cited in text, while (), page references and cf. remain black? I would like this to appear in the printed version as well. It might be a problem of translation, but I found nothing that has addressed this issue before. Thank you very much ahead! \documentclass[% ngerman,english,% toc=chapterentrywithdots, % Macht, dass auch bei den Chaptern Punkte im Inhaltsverzeichnis sind BCOR=6mm,cdgeometry=no,% DIV=13,cdfont=true, listof=totoc ]{tudscrreprt} \usepackage{filecontents} \begin{filecontents}{shortbib.bib}     @article{greenwade93,         author  = "George D. Greenwade",         title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",         year    = "1993",         journal = "TUGBoat",         volume  = "14",         number  = "3",         pages   = "342--351"     }     @article{petritan2010,         title = {Influence of different cutting types on growth of planted beech and Douglas fir saplings},         volume = {81},         issn = {0300-4112},         url = {http://doi.org/10.4432/0300-4112-81-40},         doi = {10.4432/0300-4112-81-40},         pages = {40--52},         number = {2},         journaltitle = {Forstarchiv},         author = {Petriţan, Ion Catalin and Lüpke, Burghard von and Petriţan, Any Mary},         date = {2010}     }     @article{stancioiu2006,         title = {Regeneration growth in different light environments of mixed species, multiaged, mountainous forests of Romania},         volume = {125},         issn = {1612-4669, 1612-4677},         url = {http://link.springer.com/10.1007/s10342-005-0069-3},         doi = {10.1007/s10342-005-0069-3},         pages = {151--162},         number = {2},         journaltitle = {European Journal of Forest Research},         author = {Stancioiu, Petru Tudor and O'Hara, Kevin L.},         date = {2006-05},         langid = {english}     } \end{filecontents}    %_______________Zitate__________________________%   \usepackage[ style =authoryear, natbib=true, sorting=nyt, maxcitenames=2, mincitenames=1, maxbibnames=30, minbibnames=30,  hyperref=true, dashed=false, abbreviate=false, uniquelist=false, % uniquename=false,  backend=biber ]{biblatex} \addbibresource{shortbib.bib} % To make et al italic: \renewbibmacro*{name:andothers}{% Based on name:andothers from biblatex.def     \ifboolexpr{         test {\ifnumequal{\value{listcount}}{\value{liststop}}}         and         test \ifmorenames     }     {\ifnumgreater{\value{liststop}}{1}         {\finalandcomma}         {}%         \andothersdelim\bibstring[\emph]{andothers}}     {}}  \AtEveryBibitem{%     \clearfield{note}% Delete all 'note' fields      \clearfield{day}% Delete all 'day' fields        \clearfield{month}% Delete all 'month' fields }  \renewcommand*{\nameyeardelim}{\addspace} %To remove comma between author and year  \ExecuteBibliographyOptions{url=false, doi=true} \renewcommand*{\mkbibnamelast}[1]{\textsc{#1}} \renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}  \renewcommand{\finalnamedelim}{ \& } % ampersand instead and    \usepackage{hyperref}  \hypersetup{                        colorlinks     ,citecolor=blue     ,linkcolor=yellow     ,urlcolor=red }   \ifpdftex{     \usepackage[T1]{fontenc}     \usepackage[ngerman=ngerman-x-latest]{hyphsubst} }{     \usepackage{fontspec}     %\setmainfont{Charis SIL} } \usepackage{babel}   \begin{document} As \textcite[p.~1]{greenwade93} already stated   \autocite[cf.][p.~2]{stancioiu2006}, this is just an example \parencite{petritan2010}.  %_______________Bibliography__________________________%  \renewcommand*{\mkbibnamefamily}[1]{\fontfamily{phv}\selectfont \textsc{\textbf{#1}}} \printbibliography[title={Index of sources}]  %_______________End__________________________%  \end{document}

I am using a custom \textcite macro that I found somewhere. It works nicely except that it makes the opening paren of "Author (year)" part of the link (also colouring it blue) which is not desired.  This is likely just a minor change to the definition of the macro, but the solution eludes me (I don't get where the opening paren is added at all).    Opening paranthesis should not be part of link and should not be coloured.  (M)WE:  \documentclass{scrartcl}  \usepackage{csquotes}  \usepackage[backend=biber,             bibencoding=utf8,             hyperref=true,             natbib=true,             minnames=1,     %% prevent truncation to year-only             backref=true, %% TODO REMOVE before final             bibstyle=apa,             citestyle=authoryear,             ]{biblatex} \DeclareLanguageMapping{english}{english-apa} \addbibresource{bib.bib}   \DeclareCiteCommand{\textcite}   {\boolfalse{cbx:parens}}   {\usebibmacro{citeindex}%    \printtext[bibhyperref]{\usebibmacro{textcite}}}   {\ifbool{cbx:parens}      {\bibcloseparen\global\boolfalse{cbx:parens}}      {}%    \multicitedelim}   {\usebibmacro{textcite:postnote}}   \usepackage[table,svgnames]{xcolor}  \definecolor{solblue}{HTML}{268BD2}  \usepackage[pdftex]{hyperref}  \hypersetup{    pdfhighlight = /P,    colorlinks=true,    urlcolor=solblue,    filecolor=solblue,    linkcolor=solblue,    citecolor=solblue,    raiselinks=true,    breaklinks,    unicode }   \begin{document}  foobar \textcite{thesis_pockrandt} foobar  \end{document}   bib.bib:  @phdthesis{thesis_pockrandt,     author = {Christopher Maximilian Pockrandt},     title = {{Approximate String Matching: Improving Data Structures and Algorithms}},     year = {2019} }


I submitted a mathematical paper to a good journal specialized in geometry and topology. By good I mean that there is no doubt whatsoever about its scientific standing (e.g. Scimago places it consistently in the first quartile within its subject category). Now, the problem is that I submitted the paper more than 19 months ago, and yet I have not received any feedback. The journal does not use an online submission system, so to inquire about the status of the submission I need to send an email to the journal's email address. Approximately six months ago I was informed, upon request, that both referee reports had been received, and that the paper was pending the handling editor's decision. Last week I emailed the journal again (putting the Editor-in-chief on copy) and asked again for news. I was informed that the status has not changed. I am wondering how long more I should keep waiting before withdrawing the paper. I do not want to withdraw it, knowing that a decision might be close, but at the same time I am getting really frustrated. What would you do in this situation?

I submitted a paper to a journal, and I suspect that it is handled too slowly.   How can I decide whether my suspicion is correct? What handling times should I expect? Given some expected handling times, when should I act? How much leeway should I give? How should I act? Whom should I contact and what should I (roughly) write?   Note that I am interested on how I should approach this situation in general, and do not seek specific numbers for my specific situation. I am therefore looking for general answers that are independent of such factors as the field or individual journal (but mention them if they are relevant factors).  This is a canonical question on this topic as per . Due to its nature, it is rather broad and not exemplary for a regular question on this site. Please feel free to improve this question.


Do I want to store the tempdb log files on the same drive as my user database log files, the same drive as the tempdb data file, or on a separate drive?

Currently we got TEMPDB Data (number of data files:2) and LOG file on same drive.  On monitoring we have found I/O issues on TempDB.  We got an extra drive available - should we move the TempDB Log file to new drive or should we move the second TEMPDb data file on the new drive to help us reduce I/O issue?


to  outlines a general rule for pluralising acronyms:     The general rule is that you should not use an apostrophe to form the plurals of nouns, abbreviations, or dates made up of numbers: just add -s (or -es, if the noun in question forms its plural with - es).    However, it is not clear from that answer what should be done if the noun in question uses does not end in either -s or -es.  What is the correct plural abbreviation for Curriculum Vitae?  I think the plural is Curriculum Vitarum (or possibly Curricula Vitae), which would make the plural abbreviation CV too. Use of the -s suffix suggests Curriculum Vitaes (or possibly Curriculums Vitae) which seems wrong.  What is correct?

When I was in high school back in the 1970s, I was taught that to make a plural of an acronym, a letter, or a number, one should add an apostrophe and "s". Like I would have written this sentence, "... back in the 1970's ..." I would write "one CD, two CD's". Etc. I followed this rule faithfully for years until a co-worker told me it was wrong. Now I can't find any source that agrees with what I was taught.  Is this a rule that has changed over time? Was the convention in the 70s that one should use an apostrophe but this has changed and now we do not? Or were my high school English teachers just confused?


I have some difficulties to resolve a problem.  Could you explain me why this sets:  $[a,b]=[c,d]$,where $a,b,c,d \in\mathbb{R}$ with $a<b$ and $c<d$  have the same cardinalities?  thanks

So here is this question I got stuck on:  Let $(a,b)$, $(c,d)$ be intervals (not sure if that's the correct term) on $\Bbb R$, so that $a<b$, $c<d$. Find an injective and surjective function $f:(a,b)\rightarrow(c,d)$.   Thanks in advance!   P.S. I get these question a lot. Is that some way of thinking, or some general method I should follow to make these question easier for me to solve?


The inspiration for my question is from ,      which operates under the assumption that Wolverine's head would not grow back.   Is this an accurate assumption to make?  Edit  I think it's apparent that if his head is destroyed in the way depicted, the adamantium skull would not regenerate, but there seems to be conflicting accepted answers within the two suggested questions this might be a duplicate of. In , the accepted answer is that     His head and body both stay alive but they are useless until someone puts them together then he will start healing.   If his head is destroyed, the body will not recover then? But in , the accepted answer is that     Wolverine recovers his memories and personality even after most of his brain is destroyed.   There is still no clear agreement on this speculation, thus my question.

In the situation where Wolverine has his head cut off (which I am sure would be no simple task, most likely requiring an adamantium weapon of some form) -   What would happen?   Would his head regrow a new body? Or would his body regrow a new head? This question specifically deals with what happens after the decapitation with Wolverine's regenerative abilities. Has this already been covered via comics?


Find all integers $n$ such that $x^3 + y^3 + z^3 -3xyz = n$ is solvable in positive integers. I have made the following observations; Use identity and rewrite the expression as $\frac{1}{2}(x+y+z)$ $([x-y]^2 + [y-z]^2 + [z-x]^2)$ but i am not sure how that helps. Also i noticed $ n \equiv x+y+z (mod 3)$. I think there'll be infinite $n$ and we need to essentially find (m,r) such that n = mk + r Any help is appreciated, cheers!

$$S=\{a^3+b^3+c^3-3abc|a,b,c\in\Bbb Z\}$$  Can we decide $S$? that is,  we want to find all integers of the form $a^3+b^3+c^3-3abc$.  obviously,    if $m,n\in S$, then $mn\in S$, so we only need to consider primes; if $n\in S$, then $-n\in S$.   Let $f(a,b,c)=a^3+b^3+c^3-3abc$. $f(0,0,0)=0$, $f(1,0,0)=1$, $f(1,1,0)=2$, we get that $0,1,2\in S$  p.s. I find a solution for $a,b,c \geq0$: $n=2^rp_1^{r_1}\dotsb p_s^{r_s}$, $p_1< p_2<...$ are odd primes, then a suficient and necessary condition for $n$ can be expressed as $a^3+b^3+c^3-3abc$($a,b,c \geq0$) is $p_1>3$ or $p_1=3$ with $r_1\geq2$


I have a string value in cs code from [Image] column of mytable in mydatabase that type is varbinary(Max), now want to set value to source of Image control.   I wrote this code, but not set image to source :  string strImage = "0xFFD8FFE000104A46494600010....."  static byte[] GetBytes(string str) {     byte[] bytes = new byte[str.Length * sizeof(char)];     System.Buffer.BlockCopy(str.ToCharArray(), 0, bytes, 0, bytes.Length);     return bytes; }   In constructor :  var bytes = GetBytes(strImage); var myImage = new MyImageModel {Content = bytes}; MyImg.DataContext = myImage;   In Xaml:   <Image x:Name="MyImg" Source="{Binding Path=Content}"/>           The above code does not work and is not an error.

How can you convert a byte array to a hexadecimal string, and vice versa?


The problem statement is:  Prove: If $f(x)$ is differentiable for x>0 and   $$\lim_{x \to \infty}  (f(x)+\frac {df}{dx}(x)) =0$$  and if   $$\lim_{x \to \infty} f(x)$$ exists, then    $$\lim_{x \to \infty} f(x) = \lim_{x \to \infty} \frac{df}{dx}(x)=0$$  My work:  I don't see how the differentiability assumption on f can be used (or is even needed?), but I have that, for every $\epsilon$>0, there exists M = $max(M_1,M_2)$, such that x>M implies that  $$|f(x)+ \frac{df}{dx}(x)| < \epsilon$$ $$\implies-\epsilon < f(x) +  \frac{df}{dx}(x)  < \epsilon$$ $$\implies -\frac{df}{dx}(x) -\epsilon < f(x)   < -\frac{df}{dx}(x) +\epsilon$$  and since by assumption we know that the limit at infinity for f(x) exists, then the limit must be $-\frac{df}{dx}$, by the last inequality above.    Now I think the goal is to just show that the limit at infinity of $|\frac{df}{dx}|=0.$  Then we would have the desired equality, by the Squeeze Theorem.  But what can I say about the limit of $|\frac{df}{dx}|$?  Thanks,

I want to prove or disprove this problem: If there exist $\lim\limits_{x\rightarrow \infty} (f'(x)+f(x))=L<\infty$ then $\lim\limits_{x\rightarrow\infty} f(x) =L$.  When I assume problem below:  If there exist $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x)) =L<\infty$, There exists $\lim\limits_{x\rightarrow\infty} f(x)$?  I can use mean-value theorem to show that.  So my question is:     If $\lim\limits_{x\rightarrow\infty} (f'(x)+f(x))=L<\infty$, does $\lim\limits_{x\rightarrow\infty} f(x)$ exist?


I forgot a password administrator account windows 10 but I can access to the other local accounts is there a way to restore or reset her from one of these local accounts?

I got a brand new Windows 7 machine, installed the operating system, created one account and forgot its password. What can I do?  There is no external CD, the operating system is loaded from somewhere inside the machine.  I already tried to remember passwords and tried all candidates with all possible combinations of caps lock, num lock etc.


I'm trying to create a horizontal bar plot with log axis. Adapting several examples I could get what I needed. However, the legend symbols are not being displayed the way I want.  Here's what I got so far:    But I want the legend to look like this:    I tried adding the \addlegendimage but it didn't work at all. In the code below, if I uncomment the commented lines, only the 'FEA' entry will get the correct symbol. Any ideas on what I'm doing wrong?  MWE:  \documentclass{article} \usepackage{pgfplots}  \begin{document}  \begin{tikzpicture} \begin{axis}[        xlabel=Time (sec),     legend style={     at={(0.95,-0.2)},     /tikz/every even column/.append style={column sep=0.2cm}},     legend columns=3,         xbar,     xmin=1,     xmode = log,     enlarge y limits=0.2,     height=8cm,     ytick=data, yticklabel style={text width=3cm,align=right},     bar width=10pt,     symbolic y coords={alg 1, alg 2, alg 3, alg 4}, ]  \addplot [fill=black!15!white] coordinates { (2.24e+000,alg 4) (1.91e+000,alg 3) (1.98e+000,alg 2)  (2.23e+000,alg 1)  }; %\addlegendimage{fill=black!15!white,area legend} \addlegendentry{Initialization}  \addplot [fill=black!45!white]  coordinates { (2.69e+003,alg 4) (1.08e+003,alg 3) (1.92e+003,alg 2)  (1.02e+003,alg 1) }; %\addlegendimage{fill=black!45!white,area legend} \addlegendentry{FEA}  \addplot [fill=black!70!white]  coordinates { (5.16e+000,alg 4) (5.18e+000,alg 3) (5.17e+000,alg 2) (5.81e+000,alg 1)  }; %\addlegendimage{fill=black!70!white,area legend} \addlegendentry{Optimization}  \end{axis} \end{tikzpicture}  \end{document}   Thanks!

I have the following code in Latex using gpfplot. The legend in the generated graph always looks like the image attached. There are two boxes instead of one for each entry. Why this is happening? How can I modify the legend so that is only one box for each entry.  (Also, how to make the y axis showing actual value instead of 3*10^6)  It looks like I can not post images. So the legend looks like this: [box1_blue] [box2_blue] entry1 [box1_red]  [box2_red]  entry2  \begin{tikzpicture} \begin{axis}[     ybar,     tick label style={font=\small},     tickpos=left,     xticklabels={double, 20 digits,7 digits, 6 digits, 5 digits},      xtick={1,2,3,4,5},     ymin=0,     legend entries={entry1,entry2}     ]     \addplot +[bar shift=-.2cm] coordinates {(1,3103533) (2,571651) (3,240729) (4,218595)     (5,207303)};      \addplot  +[bar shift=.2cm]coordinates {(1,519042) (2,86885) (3,46461) (4,44745) (5,43960)};  \end{axis} \end{tikzpicture}


Contents of file.txt (no weirdness, text file as defined by POSIX)  iguana gecko anole   Sample script:  #!/bin/sh  string="$(cat file.txt)"  printf '%s' "$string"   Sample output:  [coolguy@somemachine ~]$ ./script.sh iguana gecko anole[coolguy@somemachine ~]$   What happened to the last newline? Why are all are newlines except the last one preserved? It seems like we shouldn't have to use echo to add a newline if there should already be one there.

As per the following example, and as in  In bash, where has the trailing newline char gone?, I want to know "why" it happens    x="$(echo -ne "a\nb\n")" ; echo -n "$x" | xxd -p  # Output is: 610a62  # The trailing newline from the 'echo' command #   has been "deleted" by Command Substitution   I assume there must be some very significant reason for a shell action, namely Command Substitution, to actually delete some data from the command output it is substituting... but I can't get my head around this one, as it seems to be the antithesis of what it is supposed to do.. ie. to pass the output of a command back into the script process... Holding back one character seems weird to me, but I suppose there is a sensible reason for it...  I'm keen to find out what that reason is...


I have the following multiple linear regression model: Log(y) = B0 + B1X1 + B2X2 + B3x3 + e. X1 is a dummy that can take 0 = male and 1 = female and  X2 and X3 are continuous variables.   I am not entirely sure on how to interpret the coefficients for the variables.  The coefficient for the dummy variable is 0,20. Does that mean, that changing from male to female (male is baseline) the Y will increase by an average of 20%. Is it directly translated into percentage?  And for the continuous variables, the coefficient for X2 is 0,1. Does that mean that increasing X2 with 1 unit increases Y with an average of 10%? Again, is it directly translated into percentage?

I'm wondering if it makes a difference in interpretation whether only the dependent, both the dependent and independent, or only the independent variables are log transformed.  Consider the case of  log(DV) = Intercept + B1*IV + Error    I can interpret the IV as the percent increase but how does this change when I have   log(DV) = Intercept + B1*log(IV) + Error   or when I have   DV = Intercept + B1*log(IV) + Error   ?


I have two tables.   Table A:  Company_name ------------------------------- Tata consultancy  Infosys tech Atm service Air force firm  Table B:   Company1_name                    |  Id --------------------------------   ----- Atm and service.                 |   1 Honey tech.                      |   2 Tata & consultancy.              |   3 Graft soft.                      |   4 Atm, service.                    |   5    I want this result:  Id ---- 1 3 5   Description:     For each Company_name in table A, find a row in table B whose company1_name value has all the words from table A's value, and return the matching row's Id.   How to design a query for this in MySQL?


On all my pages, I have the logo in the top left corner. As is consistent with most sites online, it links back to the homepage.  However, I need to decide between one of two things:   Have the link apply on the homepage which links to the homepage (itself). This could cause redirection to the page they are on - which is unnecessary, but it would be more consistent. Don't link the icon back to the home page on the home page. This would avoid unnecessary redirection, but causes consistency issues.   Each is as easy to implement as the other.

I'm developing a web app to be used on mobile devices.  I use a home button in our status bar to return to our "home" page.  When on this page however, the button will have no function.  My question then is what is the best way to handle this now unusable home button?  A few options I've considered:    making the home button invisible or removing it on this screen, though I don't like the idea of something that's there 95% of the time magically disappearing on users. Changing the appearance of the button to have some sort of indication that it's disabled, perhaps an X through it or have it greyed out. Just leaving it there, and letting users realize that when they are already on the home screen, this button has no function.   EDIT: I'm aware that the common convention now is to use the site/company logo as a "home" button.  Without diving into specifics, this simply doesn't make sense for my application.  Thanks for all of the input so far.


I read that Austria is out of Schengen for a while because of the international situation.    What does that mean?    Can European citizens still travel there with their valid EU IDs or do we need more documents, such as a visa?

I'm an Italian citizen. Next Sunday I'm going to Austria. I have a national ID card but no passport. Recently Austria suspended Schengen. So can I enter Austria?


If $a<b<c<d$ and $x\in\mathbb R$ then what is the least value of the function $$f(x)=|x-a|+|x-b|+|x-c|+|x-d|\ ?$$  $f(x)= \begin{cases}        a-x+b-x+c-x+d-x & x\leq a \\       x-a+b-x+c-x+d-x & a< x\leq b \\       x-a+x-b+c-x+d-x & b< x\leq c \\       x-a+x-b+x-c+d-x & c< x\leq d \\       x-a+x-b+x-c+x-d & x> d    \end{cases}$  then $f'(x)=\begin{cases}        -4 & x\leq a \\       -2 & a< x\leq b \\       0 & b< x\leq c \\       2 & c< x\leq d \\       4 & x> d    \end{cases}$  From here on,i am stuck.Help me out

Suppose we have a set $S$ of real numbers. Show that   $$\sum_{s\in S}|s-x| $$   is minimal if $x$ is equal to the median.    This is a sample exam question of one of the exams that I need to take and I don't know how to proceed.


The term "ginger" is often used as a slang term for someone with bright red hair.  But ginger (the spice) is   Where does this term come from, then?

I'd like to know the etymology of the word "ginger" in reference to red-headed people.  In particular, if "ginger" in this context is related to the plant root used in cooking, I'd like to know how the color red became associated with it. I am only familiar with ginger roots that do not possess any red coloring.  A quick google search yields vague and somewhat conflicting results. An authoritative answer with references would be appreciated.  Edit: Although an answer has pointed out a distinction between the term "ginger" and "red-head" in terms of physical features, there is certainly a tendency to see the term applied to people with hair that is any shade of red. I would be interested to trace the usage history of how the word ginger has been applied in that more broad sense.


How can I make a turnstile operator which can lengthen when it has a subscript?  The turnstile package doesn't work with my LaTeX editor. Besides, I don't want to lengthen the vertical bar, only the horizontal bar.  Example :   \vdash :   |-   What I'm looking for :   |----   K

I am fairly new to TeX, so I may be missing something simple, but I can't seem to adjust the height of the turnstile objects produced by the turnstile package. In particular, if the symbol appears as a subscript it does not adjust to match the surrounding text. Does anyone know of a solution?


It seems that whenever I setup materials in the node editor it becomes washed out and pale and gutless compared to the image in the texture viewport. It's happening so often that I am always adding either a Mix Shader or MixRGB Darken node and even then the colour is not saturated or dark enough.   Please help I am losing my mind.  Texture on the left, material view on the right (same as in render view):     Something must be fundamentally wrong with my simple node setup or some setting. Node setup uses albedo colour map, roughness map and Normal map:

So i am trying to texture my mesh with cycles render and im wondering why does my mesh look better on render view than in material view with the textures? In material view it is so mutch lighter. Is there a way to fix it? or is there anything to fix it and its just like it is?  Also tips and tricks for texturing is appreciated  Here is an image:


Given that the SE community is so fragmented (specific sites for specific topics or collections thereof), it can be a bit of a pain  to visit each of a number of specific sites' about/help page(s) to see if the question in mind is a good fit for that site. Is there one page (or collection thereof) on stackexchange.com that has a list of sites that is an aggregate of that information? (Id est, is there a page that has something similar to a site title as a toggleable drop down that gives the "about" and on-topic/off-topic information, rather than ?)  If not, would it be feasible to create it or update the current page to provide a popup/modal via a "see more" link? Is that a "herding cats" type of endeavor to keep track of all the sites (changes to their help pages, etc) not possible to perform by some sort of aggregating algorithm/bot?  Update: I think my question is actually a duplicate of  in terms of the difficulty (inconvenience, really) and workable method to use in finding the right site for the question.

I frequent many of the SE sites, but sometimes I have a question on a topic that doesn't fit into any of the sites I've already used.  I find it difficult to find the right site (if one exists at all) for my new question. For example, I have a question about ipod functionality.  I'm not sure where to post it, so I looked at all the sites on the bottom, but didn't see anything.  I was on fitness.stackexchange.com at the time, and all of the links for different sites are blue, and they are in no order (or at least no order that I can tell) so it's very hard to parse.  I was looking for something like "apple" or "iOS" but didn't see it. Then I went to the main "directory" (or what I think of as the main directory) -  - again, this is very difficult to parse.  "Bubbles" are different sizes, and again in no specific order.  The only thing I could think to do was to actually do a text search on the web page for "apple", and it wasn't there so I gave up and came here to ask. The worst part is that once I came here (meta), I glanced at the bottom of the page and immediate saw "apple"!  This link wasn't on the main directory, and wasn't in the collection of links on the other SE site (fitness).  So it was completely luck that I came to meta to ask this question, and the apple site happened to be in the links at the bottom of this page. Am I missing something?  Is there an easier way to find the list of SE sites?  And in general if I have a question, what's the best way to figure out what site to post it in?


I have a shiny new Debian server running in an Amazon EC2 instance. I've spent a while setting it up and it now works nicely. However, because it's a cloud server, if I (or someone else) presses the wrong button then its virtual hard disk will go pop and I have to do it all over again. So, I want to make backups.  But I'm paying by the byte for storage, so I want to make a small backup.  It should be possible to backup a complete Debian server by recording the set of currently installed packages (which I can do via dpkg --get-selections), the state of the debconf database (which I can do via debconf-get-selections), and then only backing up files that cannot be trivially replaced from the packages --- i.e., everything else. Then restoring the backup should be a matter of reinstalling the packages and dropping the files on top.  This is precisely the sort of thing I don't want to do myself because I'll get it wrong. Are there any tools to allow me to do this?  (Note: I'm not looking for an incremental backup solution. I want to take a complete snapshot.)

(This was originally asked on SuperUser --- they pointed me here as being more appropriate.)  I have a shiny new Debian server running in an Amazon EC2 instance. I've spent a while setting it up and it now works nicely. However, because it's a cloud server, if I (or someone else) presses the wrong button then its virtual hard disk will go pop and I have to do it all over again. So, I want to make backups.  But I'm paying by the byte for storage, so I want to make a small backup.  It should be possible to backup a complete Debian server by recording the set of currently installed packages (which I can do via dpkg --get-selections), the state of the debconf database (which I can do via debconf-get-selections), and then only backing up files that cannot be trivially replaced from the packages --- i.e., everything else. Then restoring the backup should be a matter of reinstalling the packages and dropping the files on top.  The tricky part is determining which files belong to a package and which files don't. Having a static list of subdirectories to backup isn't really good enough due to cruft creep. I need a way to automatically determine whether a particular file needs backing up or not.  This is precisely the sort of thing I don't want to do myself because I'll get it wrong. Are there any tools to allow me to do this?  (Note: I'm not looking for an incremental backup solution. I want to take a complete snapshot.)


I am trying to back up my cloud [desktop application] [sugar sync, dropbox] to a western digital [i have 500gb,1T and 2T] Somewhere i can't continue as it says that the file name is too long!? I can skip and go further but i discovered that many thousands of files may not be backed up this way. The suggestion of western digital to change the file name is nearly silly as this would mean to find every file and may take whole days if not weeks. Do you have any suggestion?? May it be in not to technical language? thanks a lot

Dropbox tells me many of my files are not syncing because their name exceeds the max character length       Max character length      Windows only allows file and folder names of 260 characters or less.   Note that Windows counts the file path as part of the name, so a file   like C:\Users\Panda\My Documents\Dropbox\Creative Nonfiction\My   Autobiography\Favorite Things\Favorite Foods\Bamboo\Family   Recipes\Fresh Leaves.doc would be 142 characters, not 16. If the   entire file path and name exceed 260 characters, shorten the name or   move the file or folder to a higher-level folder within your Dropbox.   How do I find all the files under a directory whose file and folder names are greater than 250 characters?  (Note: the "Check bad files" tool on that page doesn't find them either.)  Update: there are two suggestions so far, one using powershell that ironically, died when a filename grew too large, the other using cygwin's find and xargs, which may work, but is still running (several minutes later.)  I did solve my immediate problem.  In an emacs shell window, I ran a very simple find  $ find . -type f -print >> ../files.log  Then I opened that in emacs and typed m-x list-matching-lines ^ ESC 230 . RETURN  Which displays lines that match a regular expression, and the regular expression here is that the line contain at least 230 characters, where 230 was just a rough guess for lines that might be problematical. And that showed me two files that were too long.  For about 20,000 files that regular expression filter turned out to be almost instantaneous.


I have two date fields which are represented in a text field, code is shown below.    $(function() { $( "#Start_Date" ).datepicker({ dateFormat: 'dd-M-yy',    showOn: "button",    buttonImage: "../I/dateimg.png",     buttonImageOnly: true,    firstDay:1,    minDate: -0,    beforeShowDay: checkDisabled,    changeMonth: true,    changeYear: true,    beforeShow: function(input, inst)    {  inst.dpDiv.css({marginTop: -input.offsetHeight + 'px', marginLeft: input.offsetWidth-210 + 'px'});   }});   $( "#End_Date" ).datepicker({ dateFormat: 'dd-M-yy',    showOn: "button",    buttonImage: "../I/dateimg.png",     buttonImageOnly: true,    firstDay:1,    minDate: -0,    beforeShowDay: checkDisabled,    changeMonth: true,    changeYear: true,    beforeShow: function(input, inst)    {  inst.dpDiv.css({marginTop: -input.offsetHeight + 'px', marginLeft: input.offsetWidth-210 + 'px'});   }});    });   I also have a function used to compare the dates and return true whenever the start date is lesser than the end date. The function is shown below.     function CompairLeaveDate() {    var BlockStartDate = $('#Start_Date').val(); var ExplodeStartDate=BlockStartDate.split('-'); var dt1   = ExplodeStartDate[0]; var mon1  = ExplodeStartDate[1]; var yr1   = ExplodeStartDate[2];  var totalLength=js_MonthArray.length; var i=0;  var BlockEndDate = $('#End_Date').val(); var ExplodeEndDate=BlockEndDate.split('-'); var dt2   = ExplodeEndDate[0]; var mon2  = ExplodeEndDate[1]; var yr2  = ExplodeEndDate[2]; var y=document.getElementById("End_Date");  if(dt2 < dt1) {       document.getElementById('End_Date').focus();     y.style.border = '1px solid #ff6000';     document.getElementById("div_End_DateError").innerHTML=getErrorMsg(1100986);     document.getElementById("div_End_DateError").style.display = "";     return false; } else {     y.style.border = '';     document.getElementById("div_End_DateError").innerHTML ='';     document.getElementById("div_End_DateError").style.display = "none";         return true; } return true;     }   But i am not getting any output errors .Any help appreciated.

Can someone suggest a way to compare the values of two dates greater than, less than, and not in the past using JavaScript? The values will be coming from text boxes.


I just want to make sure what I know is correct. Let me explain and if there is anything wrong (any simple detail) with what I said, please, correct me.  When the particle crosses the event horizon, it falls off to the black hole with almost the speed of light. However, the space near the black hole is almost completely vacuumed, its shape will not be altered. When particle sucked into a black hole, the particle divide into the matter and antimatter. Antimatter is sucked into the black hole, causing pair annihilation, emitting gamma ray and slightly losing its mass, and evaporate. Matter, however, is emitted outside, just like I spit the watermelon seeds when I eat watermelon. Particles that are emitted are radiation that only contains heat but no information. Because the information is stored upon the surface of the black hole, we are not able to gather up the information of the particle back. This theory automatically disproved the white hole and wormhole theory, which was shown in the movie, Interstellar.

My understanding is that  isn't really radiated from a black hole, but rather occurs when a particle anti-particle pair spontaneously pop into existence, and before they can annihilate each other, the antiparticle gets sucked into the black hole while the particle escapes. In this way it appears that matter has escaped the black hole because it has lost some mass and that amount of mass is now zipping away from it.  Is this correct? If so, wouldn't it be equally likely that the particle be trapped in the black hole and the antiparticle go zipping away, appearing as if the black hole is spontaneously growing and emitting antimatter?  How is it that this process can become unbalanced and cause a black hole to eventually emerge from its event horizon and evaporate into cosmic soup over eons?


START /high /d "./files" "Program Name.exe"     This doesn't work, it works if "Program Name" wasn't in quotation marks, but in this scenario i don't have control over the file name and where the batch file gets executed. How would i solve this using Batch?

I need to create a batch file which starts multiple console applications in a Windows .cmd file.  This can be done using the start command.  However, the command has a path in it.  I also need to pass paramaters which have spaces as well.  How to do this?  E.g. batch file  start "c:\path with spaces\app.exe" param1 "param with spaces"


I am trying to add a number to an array .  code:  var year = mm[2].value+1;   but it results undefined.  can you guys how to do this?

How do I append an object (such as a string or number) to an array in JavaScript?


Why do we ignore squares of infinitesimal quantities in differential calculus , doesn’t that cause error when we require very accurate measurements.?

I've been interested in non-standard analysis recently. I was reading up on it and noticed the following interesting comment on the , right after giving an example of a nonstandard differentiation:     The use of the standard part in the definition of the derivative is a rigorous alternative to the traditional practice of neglecting the square of an infinitesimal quantity... the typical method from Newton through the 19th century would have been simply to discard the $dx^2$ term.   I've never heard anything like this before, and really find it fascinating that Newton's method was to define the relation $dx^2 = 0$. If we actually formalize the above structure by taking $\mathbb{R}$ and adjoining an element $dx^2 = 0$ to it, we get the "dual numbers," isomorphic to the quotient ring $\mathbb{R}[x]/x^2$. I'd seen some things about how this algebra plays into automated differentiation algorithms for some computer software systems, but I've never heard anything about Newton directly working in this algebra. So I have a few questions:   Does anyone have more historical information on the way that Newton performed differentiation, and its relation to the dual numbers? Does anyone know how effectively real analysis can be formalized with the dual numbers? Does the resulting system play nice enough to develop all of the important modern results? If we start with $\mathbb{C}[x]/x^2$ instead, can we likewise develop complex analysis?   Since this idea is so simple, I'm very curious how powerful it is. I'm also curious if it has any major drawbacks too, since I'm not sure why anyone would mess with the foundational baggage involved in defining the hyperreals if this simple 2-dimensional real algebra could really do the trick.


I am unable to use regex in the Find All. I have turned regex on but it is not finding any results I am looking for code that is: returnValue = !$(someClass.someVariable).isDisplayed();  with the part someClass.someVariable being the wild card in my case and I am trying to use the regex: returnValue = !$(.*)isDisplayed();

I am tired of always trying to guess, if I should escape special characters like '()[]{}|' etc. when using many implementations of regexps.  It is different with, for example, Python, sed, grep, awk, Perl, rename, Apache, find and so on. Is there any rule set which tells when I should, and when I should not, escape special characters? Does it depend on the regexp type, like PCRE, POSIX or extended regexps?


I followed along with a tutorial to texture the earth in cycles. Everything worked well and looked nice until I changed the sample rate. The planes I used for lighting turned black and my renders are without lights.   I tried to add a normal light, no better results. Is there a setting that I could have enabled that could be the cause of this?  Here you can see a screenshot of the rendered view with the light emitting plane.

There are several techniques to do a 3 point lighting system.   How do you properly light a scene while using mesh planes as emission light sources?   I'm following , however despite setting up planes to act a lighting sources, the scene is still very dark.      Actual Blender file here:


So I ran two regressions with the exact same regressors and regressand but in one of them I took the log(y) because according to the RESET test there was some non-linearity and after applying the test I no longer rejected that the specifications should require higher orders. My question is with regards to comparing the r squares of both regressors, I actually expected that given that the $log(y) vs X $ is a better specification it would have a higher R'2 but it was the opposite. Is the R^2 scale sensitive, or? Summary:  Model1: $y = X$ , $R^2_1$ , RESET H_0 rejected Model2: $log(y) = X$, $R^2_2$, RESET H_0 not rejected $ R^2_1 > R^2_2 $

I am trying to run a linear regression model (ideally) to see whether age (continuous variable) affects levels of stress hormone (also continuous, dependent variable), i.e. hypothesis testing. My hormone level results are right-skewed and non-normal, and the residuals of a simple linear model have a similar distribution (see plots of residuals below). Age is normally distributed.  Scatter of raw data (has a couple outliers):  Histogram of residuals:    I have also tried various transformations of my dependent variable (hormone levels) to improve the outcome of the model. The best normality plots came from the Tukey transformation. See plots below.  Scatter of transformed hormone level on age:  Histogram of residuals:    However, the transformation yields a lower multiple R-squared and adjusted R-sqaured value than the original.  Further to this post (), I tried a model where the hormone level is log transformed and fitted with the exponent of age to correct for the log transformation. This is because I didn't know what the opposite of Tukey transformation would be and log seems to be the next best transformation for my data. The normality of residuals is good but the R2 values are even lower.  Given this information, which model is best - the one with best normality of residuals and lowest R2 or worst normality of residuals and highest R2?  Alternatively, is there another form of regression better suited to this data, given that it is continuous and has non-normal residuals?


When I go to change background I can select system pictures.    How do I add to those pictures, e.g. pick from my computer? I see that pictures are in /usr/share/backgrounds But I don't have privs to paste an image in their (i am an admin btw)

How to change the desktop wallpaper to a photo of my own selection in Ubuntu 18.04? I'm not interested in downloading some wallpaper changer application, nor am I interested in coding something up. There has to be an easy way to select a photo as a custom wallpaper in Ubuntu 18.04.


Sometimes, while watching a NBA game, I see a "bonus" tag text over the telecast scoreboard.  What does it means? Which rule or set of rules influence this?

I was looking at pictures of scoreboards today, and I noticed that some of them have 'B's on the boards:    The same thing appears on NBA games, often in the broadcast scoreboard as well:   I've never noticed those before. What do they mean?


I read that when an EM wave enters a dielectric material, it keeps the same frequency, while its wavelength is reduced, so that their product is a quantity less than c = 3 × 10^8 m/s.  Why does it keep the frequency and not the wavelength?

When light passes from one medium to another its velocity and wavelength change. Why doesn't frequency change in this phenomenon?


Can you please tell me the screenshot tool in Ubuntu 16.04 which could be as similar as Snipping tool in Windows.

I have noticed that many people use images in their Ask Ubuntu answers. What software are people using?


I have a bib file with most words in the title all capitalized. For instance:  @article{ekstrom2013family,     Author = {Ekstr{\"o}m, Mats and {\"O}stman, Johan},     Date-Added = {2019-03-06 17:27:29 -0800},     Date-Modified = {2019-03-06 17:48:19 -0800},     Journal = {European Journal of Communication},     Number = {3},     Pages = {294-308},     Publisher = {Sage Publications Sage UK: London, England},     Title = {Family Talk, Peer Talk and Young People's Civic Orientation},     Volume = {28},     Year = {2013}}   However, the pdf output does not show these capitals -- the article titles are all turned to lowercase. What would be causing this issue?  In the preamble, I have:  \documentclass[12pt, letterpaper]{article} \usepackage{natbib} \usepackage{graphicx}  \usepackage{lipsum} \usepackage{filecontents} \usepackage{setspace}  \usepackage{booktabs} \usepackage[utf8]{inputenc} \usepackage{threeparttable}  \usepackage{rotating}  \usepackage{amsmath}  \usepackage[margin = .75in]{geometry}  \usepackage{url}  \usepackage{subfig} \captionsetup[subfloat]{position = top, font = large} \usepackage{float}  \usepackage[dvipsnames]{xcolor} \usepackage{hyperref} \usepackage{cite} \usepackage{etoolbox} \usepackage{cleveref} \usepackage{lscape}  \hypersetup{   colorlinks,   citecolor=Violet,   linkcolor=Red,   urlcolor=Blue}

Titles of articles I'm about to cite contain upper case letters and when using BibTeX it converts them to lower case ones. This happens only in the title and only the first letter conserves its case. For example, when I cite an article about HF, the reader won't know if it is about Hafnium (Hf) or fluorine acid (HF).  I know that I can fix it manually in the .bbl file but I would like to avoid it, or fix it automatically.


e.g I am able to add mydomain.force.com/detail but not able to add mydomain.force.com/detail/something/anything

How can I add a second or 3rd custom url under on site ( and ) When clicking the button to add a custom url I don't have an option to choose the mysite.secure.salesforce.com domain.  I'm trying to avoid adding multiple sites just to have /pageone and /pagetwo


I'm now installing Ubuntu from a USB. I just clicked "Install Ubuntu" and the screen went black. I can't turn it off. It's a new Asus laptop with windows 10. What should I do?

I want to install the latest ubuntu (12.04.2 LTS) in my ultrabook asus S56C.  I tried to boot with USB & CD, but both stuck in black screen after choosing "Try Ubuntu..." or "Install Ubuntu"...  Need some help.  Thanks


I was trying to install BioShock Infinite on my external hard drive, but Steam said it couldn't use my hard drive because it uses the FAT32 filesystem which I'm assuming is because it has a 4GB per file limit. But since I'm using ExFAT which doesn't have this limitation, this shouldn't be an issue. I read an answer to a similar question with the answer being that Steam checks for a 'FAT' name string for the volume format and since ExFAT has FAT in the name, it picks it up as FAT32. The same answer also suggested that I could possibly inject a .dll file into it, which seemed a bit shady but I don't know.   Does anyone know a way I can get around this limitation? In addition, the answer I referenced before can be found

My steam library is on an external drive that I had to format as exFAT to be able to write on OS X. Note that I play on Windows 7 64-bit, I just use this drive on both.  Steam, along with way other programs and softwares, were happy with this unless suddenly during uninstall process of one of the games via Steam, it wiped all the Steam library. I could not even recover it, have no idea what have happened.  So I went to install some of my games and upon installing of big ones like XCOM 2, Steam said that the drive can't be FAT32 and has to be NTFS. As explained, the drive is exFAT and NOT FAT32. I contacted Valve about this and they said they can't do anything about it.  So is there a way to make the Steam think that the drive is NTFS? Like with linking files or something.  Thanks.  EDIT: Obviously format to NTFS is not an option because I don't have 2TiB empty space somewhere to move data from this drive and to my knowledge there is no conversion from exFAT to NTFS without formatting.


Prove that A×(B∩C) = (A×B)∩(A×C) by using the set builder notations.  I know how to prove this using containment proof but am lost on how to prove it using set builder notations. What would a proof like this look like?  Can anyone help me with this or give me a clue on how to start with this notation?

Given sets $A$, $B$, and $C$, prove $A\times (B\cap C)=(A \times B)\cap (A\times C)$.   It is an assignment and we have to submit it tomorrow. We are really get stuck on this and need some help.  Thanks in advance.


I'm working on a student database managing program, and am working on the login phase. I query the database for the students id and password and try and match an entry to what the student enters. When a match is found login should be set to true, and it should go to the next page, but for some reason its never passing my if then statement. I'm not entire sure whats wrong,the code for this is below. You'll notice the system.out.println statements, those are there so I can see if it is actually going through the database correctly, and as far as I can tell it does, but login next gets set to true. I would really appreciate any help.   public void actionPerformed(ActionEvent e)     {         //int i;         //String name;          if(e.getSource()==logInButton)         {             String name="";             String password="";              name=inputField.getText();             password=inputField2.getText();              System.out.println(name);             System.out.println(password);              boolean login = false;              try {                 connection = DriverManager.getConnection(connectionString, username, pass);                 PreparedStatement statement = (PreparedStatement) connection.prepareStatement("SELECT * FROM students");                 data = statement.executeQuery();                 while(data.next()){                     System.out.println(data.getObject("student_id"));                     System.out.println(data.getObject("password"));                     if (data.getObject("student_id") == name && data.getObject("password") == password){                         login = true;                      }                 }             } catch (SQLException e1) {                 // TODO Auto-generated catch block                 e1.printStackTrace();             }             if(login == true){                 System.out.println("login = true");                 logInPanel.setVisible(false);                 postLogInPanel.setVisible(true);             }         }

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?


For example on:    In the drop-down at the top of the page:    If you switch between the sites, many of the times it reverts back to the top item.  Not fully tested but it seems to work for full domain sites, but the subdomain sites it won't find itself in the list and will default to StackOverflow (first result).   This means you cannot actually then navigate to StackOverflow stats.  Repro:   visit  observe StackOverflow is selected in the list not Mathematics select SuperUser observe it loads and selects itself correctly in that drop down select Blender observe it selects StackOverflow

In the , if I select any site in the site switcher it will be set as Stack Overflow or some random site in the drop down list's selected site name.  For the Stack Overflow, Super User, Server Fault and Meta Stack Exchange, the site switcher is set to the selected site name, but the remaining do not retain the selected site name. For English Language and Usage, it changes to Physical Fitness for some reason. All the others I've tried  switch to Stack Overflow.  It can be replicated in Chrome and Firefox.  GIF for the same:


I would like to do some stuff with the new particle nodes, indroduced in Blender 2.91alpha. Now Blender 2.91 is official released and I can't find it anywhere. Not in the experimental section in the properties and also not as an experimental branche. In the blender 2.92alpha there is an simulation window and you can find the Point Cloud-Object, but you can't add any nodes, and I wasn't able to find an old blender 2.91aplha. I thought it could be part of the Geometry-Nodes, but in the Geometry-Nodes branche I also couldn't find it. Has someone informations about the courent state and where to find the paticle nodes? Thank you very much!!!

Was the experimental Particle Nodes Feature removed in 2.91.0 Beta? (Nov 8, 00:34:11) I’m Trying to access it via Preferences > Experimental but there is nothing there but “Debugging”-Features. Interface > Developer Tools is checked. Did search for it excessively, but couldn’t find anything about that problem. Also I wasn’t able to find a branch. And I got the same problem in 2.9 and 2.92 Alpha. Maybe it’s a bug in my install? Factory Reset doesn’t change anything, sadly.


Consider a rational curve of degree $d$ in the complex projective space $\mathbb{P}^n$, which is given by a map $$f: \mathbb{P}^1 \to \mathbb{P}^n, \quad [x_0,x_1] \mapsto [f_0(x_0,x_1), \dots, f_n(x_0,x_1)],$$ where each $f_i$ is a homogeneous polynomial of degree $d$.   Then we have a pushforward in the second homology groups $$f_*: H_2(\mathbb{P}^1) \to H_2(\mathbb{P}^n).$$  Let $[\mathbb{P}^1]$ denote the fundamental class of $\mathbb{P}^1$ and $[L]$ the homology class of a line in $\mathbb{P}^n$, which generates $H_2(\mathbb{P}^n)$. It's known that   $$f_*[\mathbb{P}^1] = d[L].$$  How to prove the above formula?  Note that $f_*[\mathbb{P}^1]$ is not the homology class of the image curve $f(\mathbb{P}^1)$ in general. For example, consider $f: \mathbb{P}^1 \to \mathbb{P}^1, \ [x_0,x_1] \mapsto [x_0^d, x_1^d]$. Then $f_*[\mathbb{P}^1] = d[\mathbb{P}^1]$, but $[f(\mathbb{P}^1)]=[\mathbb{P}^1]$.

Consider a holomoprhic map from a Riemann surface $$ f: \Sigma_g \to \mathbb{CP}^n. $$ This is given by some homogeneous polynomials in some variables.  How can we show that the homogeneous degree $d$ of these polynomials coincides with the definition of degree from fundamental homology class, namely $d = f_* ([\Sigma_g]) \in H_2(\mathbb{CP}^n;\mathbb{Z})$?


I want to make a generic container class that can contain one object of some other class. I thought this might be a reasonable approach:   class Container <T> {     private T thing;      public void Store(T obj) {         thing = obj;     }      public T ReturnIt() {         return thing;     } }   When I try this together with let's say a Book class, I get the following error message:  "Note: GenericContainer.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details."  Could it be that the public T ReturnIt() { return thing; } is the cause of the error, and is this the wrong way to go about returning object that is contained in the Container-class?  I did not get any further information when I tried to compile it with -Xlint:unchecked.  What do I make of the error message?    Code that caused the error:  class GenericContainer {      public static void main(String[] args) {         Container BookStorage = new Container <Book>();         Book thejavabook = new Book("The Java book");            BookStorage.Store(thejavabook);     }        }  class Book {     private String title;     Book(String title) {         this.title = title;     } }  class Container <T> {     private T thing;      public void Store(T obj) {         thing = obj;     }      public T ReturnIt() {         return thing;     } }

For example:  javac Foo.java Note: Foo.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.


My friend asked me if $\displaystyle \lim_{n \to \infty}\frac{2}{n(n+1)}=-12$ and burst into laughter.  I'm a little bit confused because I thought the limit is $0$.  Is this a joke or something?

$\displaystyle\sum_{n=1}^\infty \frac{1}{n^s}$ only converges to $\zeta(s)$ if $\text{Re}(s) > 1$.  Why should analytically continuing to $\zeta(-1)$ give the right answer?