This profile  got almost 100 reputation points & 30 votes casted & no upvoted questions.  So there is no way to achieve 100 reputation points.  It only joined in movies community only.  please explain me how this profile got this many reputations with no upvoted post?

I was just awarded +100 reputation on all of my Stack Exchange accounts.  What is this bonus for? It simply says "Association Bonus" on my reputation overview.  Also:   What privileges does the association bonus grant users? Can I lose the association bonus? Does it make my reputation 101 everywhere? Can I earn the association bonus on sites I haven't joined yet? Does it matter which site I earn the 200 reputation on? Will I get an association bonus every time my reputation on a site crosses 200 points? Does the association bonus allow me to answer protected questions? Does the association bonus count towards the reputation cap? Can I get the association bonus if I only have a profile on one site? What else is there to know about the association bonus?


The built in SA login on a server has full access too all databases. Is there a way to have a login, that has read-only access to all databases, current and future databases? So like sa, but with readonly access?

When I setup my database I create a sql user that my application runs as.  The sql user gets read only access to all the databases on the server. The problem is the user won’t have read only access to any new created databases in the future. There is another app that creates these new databases for users and I don’t have a way to add my user script into the templates database created.  Is there a way to automatically update the sql user for read only for the future ones?  SQL server 2014.


Such as hearing about people's personal life problems or watching the news due to all the sad stories in it. Emphasis on the word avoid rather than just be "upset by".  I prefer not to talk politics or share my problems with people who are ____ because most people are empaths who end up feeling sad if they hear any topic of conversation they deem to be negative or unfortunate. It ruins their day, they become sadenned and they say it burdens them.  The words snowflake, empath of sensitive is not suitable.

I am looking for a term for someone who is purposefully not learning information - usually bad information. Goes hand in hand with people who want to "hide their head in the sand" or have the "wool pulled over their eyes"


I'm looking for a good indicators to tell a user something is draggable, and to some extent, to tell the user (once they are dragging), that they can drop something "here".  What have you used as indicators for these action? I'm looking for a little more than "make the cursor="move" when they mouse over it. I'm also thinking more along the lines of persistent, not things that only show on mouse over. In a sense the indicator must be strong yet subtle.  Thoughts?

My web application contains a list of elements, which can be sorted by drag'n'drop. How should this feature be visually represented to users?


Let f be a continuous strictly increasing function from $[0,\infty) \rightarrow [0,\infty)$ and $g=f^-1$ (i.e.$f(x)=y \iff g(y)=x$). Let $a,b>0$ and $a\neq b$.Then $ \int\limits_{0}^{a}f(x)dx$+$\int\limits_{0}^{b}g(y)dy$ is (A) greater than or equal to ab (B) less than ab (C) always equal to ab

Let $f:[0,\infty)\rightarrow [0,\infty) $ be a continuous strictly increasing function and $g=f^{-1}$. Let $a,b>0$ and $a\neq b$. Then how $\displaystyle\int_{0}^af(x)dx+\int_0^bg(y)dy\geq ab.$ Any hint will be appreciated.


Suppose a satellite is orbiting the Earth. The gravitational and centripetal force supposedly point towards the Earth. Therefore, the net force is towards the Earth. Since the satellite doesn't fall immediately towards the earth, what's the third force holding the satellite in orbit? First impression tells me its the elusive "centrifugal force", but I was told to use this with caution as it's often a misnomer. What's the correct line of reasoning behind this?

Why doesn't the Moon fall onto the Earth? For that matter, why doesn't anything rotating a larger body ever fall onto the larger body?


Suppose $g$ is a continuous function on $[a,b]$ and that $g(t)\ge0$ for all $t\in[a,b]$. Show that if $\int_{a}^{b}g(t)dt=0$ then $g(t)=0$ for all $t\in[a,b]$  I know that there exists some function $G(x)= \int_{a}^{b}g(t)dt$ where $G(x)$ is differentialable at any $c$ in the interval where $G'(c)=g(c)$. Now since $g(t)$ is always positive it should follow that $G'(x)$ is always positive therefore $G(x)$ would be increasing.  Now given $G(x)= \int_{a}^{b}g(t)dt =0$ would mean that $G(b)-G(a)=0$ thus $G(b)=G(a)$ now since $G(x)$ is increasing that would mean that $g(t)=0$ for all $t$ in the interval.

If $f$ is continuous on $[a,b]$, $f(x)≥0$ on $[a,b]$ and $$\int_{a}^{b} f(x) =0$$   then prove that $f(x)=0$ for all $x \in [a,b]$.  I tried with Riemann's definite integral definition but couldn't proceed


How can I make a keyboard shortcut for "Open a terminal here" in Nemo?  I am finding the "Files" manager formerly known as nautilus that comes with Ubuntu 13.04 to be too crippled to bother using anymore, and I have switched to Nemo file manager with good results so far.  There's just one thing I'm missing, a customisable keyboard shortcut to Open in Terminal in the current location.   doesn't work any longer because I have no key for can-change-accels related to nemo, and neither do I see "Open in Terminal" in the File Menu drop down.  It is, however in the right click menu in Nemo.

I'm on Ubuntu 13.04 and ran through the steps outlined on .  I understand that Nemo is a cloned-fork off of Nautilus and was hoping that I'd be able to adjust the keyboard shortcuts for it in the same way... For Nautilus  we can edit the "accels" file at ~/.config/nautilus/accels.  Does Nemo not have this ability?  The version of Nemo on my system is 1.8.2.


I am looking for how I could place an image outside a block and control its position. For example, a flow chart outside between two blocks on a page. Another example would be placing several logos around the title on the poster.  There appears to not be a way to do this.

When making a poster with tikzposter, is there a method by which one can put a figure outside of a block, or even just some text? For example, a university logo in the corner.


I am trying to convert the following query into SQL Server from MySQL:  SELECT name, GROUP_CONCAT(DISTINCT language) FROM table GROUP BY name   It seems like STRING_AGG() is the related function name in SQL Server, but I haven't yet been able to write the correct query.  How would this be properly be done?  Update: I believe I may not have access to that function (pre 2017). How would I then do something like:  SELECT name, (select language from table ??) FROM table GROUP BY name

I'm trying to migrate a MySQL-based app over to Microsoft SQL Server 2005 (not by choice, but that's life).  In the original app, we used almost entirely ANSI-SQL compliant statements, with one significant exception -- we used MySQL's group_concat function fairly frequently.  group_concat, by the way, does this: given a table of, say, employee names and projects...  SELECT empName, projID FROM project_members;   returns:  ANDY   |  A100 ANDY   |  B391 ANDY   |  X010 TOM    |  A100 TOM    |  A510   ... and here's what you get with group_concat:  SELECT      empName, group_concat(projID SEPARATOR ' / ')  FROM      project_members  GROUP BY      empName;   returns:  ANDY   |  A100 / B391 / X010 TOM    |  A100 / A510   So what I'd like to know is: Is it possible to write, say, a user-defined function in SQL Server which emulates the functionality of group_concat?   I have almost no experience using UDFs, stored procedures, or anything like that, just straight-up SQL, so please err on the side of too much explanation :)


$$\Big(\exists x \in X, (p(x) \rightarrow q(x))\Big) \iff \Big((\exists x \in X, p(x)) \rightarrow (\exists x \in X, q(x))\Big)$$  How do I prove this is wrong using examples (not law)

Does $\exists$ distribute over an implication? ie. Is $\exists x \in \mathbb{R}, (p(x) \rightarrow q(x))$ logically equivalent to $(\exists x \in \mathbb{R}, p(x)) \rightarrow (\exists x \in \mathbb{R}, q(x))$. If so, can you give an example of $p(x)$ and $q(x)$ to demonstrate?  Thanks very much for any help in advance.


My web server has configuration 16 GB RAM 8vCPU (Hexcore). Apache version 2.4.  There will be massive site visit. So what will be the best and recommended Apache tuning configuration ? I am using worker MPM.  My current configuration:  <IfModule mpm_worker_module>     ServerLimit             550     StartServers             8     MinSpareThreads          90     MaxSpareThreads         350     ThreadLimit              80     ThreadsPerChild          64     MaxRequestWorkers        512     #MaxClients             448     MaxRequestsPerChild   10000 </IfModule>   Hoping for you quick and genuine response. :-)

This is a  about capacity planning for web sites. Related:      What are some recommended tools and methods of capacity planning for web sites and web-applications? Please feel free to describe different tools and techniques for different web-servers, frameworks, etc., as well as best-practices that apply to web servers in general.


Is it useful to know something about tensor algebra or tensor calculus if one is interested in deeplearning?  My question relates to both ML practice, and ML theory (but perhaps more to ML theory).  EDIT: the existence of n-index arrays in ML is what motivates my question, but I am asking about the tools of tensor algebra/calculus. (Tensors can be represented by n index arrays, but the analysis is more abstract).

I've noticed lately that a lot of people are developing tensor equivalents of many methods (tensor factorization, tensor kernels, tensors for topic modeling, etc) I'm wondering, why is the world suddenly fascinated with tensors? Are there recent papers/ standard results that are particularly surprising, that brought about this? Is it computationally a lot cheaper than previously suspected?  I'm not being glib, I sincerely am interested, and if there are any pointers to papers about this, I'd love to read them.


After reading the instructions guide I need some support .  A-in step 3 ,ALLOCTE DRIVE SPACE .enclosed link    I can not see the screen which indicate how to choose installation alongside    window 7 .do I choose the option:    -something eles ,or  -erase disk and install ububtu ?Is this option will not erase my  windows       system operation ?  B- In the installation procedure .Could I to  choose the zise of the     partation ?or I have to make it before the ubuntu  installation .  C- After the installation could I choose select to operate in ubuntu or windows     with seperate icons or I have to select it in another way?  Thanks for reply.

I would like to see a full how-to guide on how to install Ubuntu.


What is the best way to completely remove the default apps that came with the xoom? Since android apps are self contain packages is it enough just to remove the application package on the device through adk?

I'm using a Samsung I9000 and I have some annoying apps that came pre installed by the phone vendor, like a music store, a custom web browser and other memory leaking apps.  Those crappy apps can't be uninstalled neither by Manage applications tool, nor by editing the apps tiles in the front menu.  I guess I have to be a root user or something to get rid of those apps, but I don't know how.


I have got a ten-year old HP Pavilion dv6397ea running under Vista SP2, Intel Core2 CPU-t7200 2.00ghz with 2G RAM. My video adapter model is NVidia GEForce GO 7400. I have got many hardware problems such as my computer running ultra-slow, overheating (I have removed my battery ages ago). I have cleaned my laptop a year ago and replaced the cooling gel on the processor.   I'm considering reformatting my hard drive and installing Ubuntu v.12 to reduce usage of my slowly-dying machine. I haven't got much use for games or specialized software (I already use open-source software for most of my daily tasks), Ubuntu seems like a logical choice.  However I have talked to my entourage and they told me that there might a be a problem installing Ubuntu because my HP might be "tattooed" and some of my hardware might not be recognized under Ubuntu. I have tried finding documentation on this, it's like searching for a needle inside a haystack...  Is there any guide available or links on the Ubuntu website that would help me decide?  Thank you for any help in advance, Marylene

I want to buy a laptop at some point in the near future, but not knowing beforehand whether it works with Ubuntu makes the whole operation risky and tiresome. I would like to know if there is some kind of official hardware database where I can enter the name of the laptop I'm interested in and see if it's 100% compatible out of the box, or in case it isn't what is it exactly that doesn't work (ideally also if there is a way to fix it).  Does Canonical have a project along these lines?


Logged in user is a system admin. When I try to post on chatter tab using @communityUser I am not getting user suggestion. Cant we access Community user @mention?   I tried to find an answer here - ()   First of all, The answer to above question is related to record post/feed. But i am not posting feed on any record to make it view with the Community base URL. I am trying to post from Chatter tab. Secondly, the answer suggests the visibility of the Chatter post from the internal user must be set to Everyone. The default is internal users. - I didn't find any way mentioned in the answer to achieve this(how to set this visibility?)   Please suggest if I am missing some customization setting to do

I have a usecase wherein a Partner user creates a Case which gets assigned to internal Salesforce user. The agent resolves the case and wanted to collaborate with the partner user with @mention tags but unfortunately, its not coming up. Is this a bug or work as designed . However, the inverse works, from a partner community chatter feed I am able to @mention salesforce internal user.  Any inputs are welcome  Thanks JJ


I know the architecture, how we can implement abstraction using the interface and an abstract class. But from whom we are hiding the implementation? As a developer, anyone can click on that method and can see the classes which are giving implementations for those abstract methods. As a user, he will be only facing UI, so he is not going to see the code anyway. Then my question from whom we are hiding the implementation?

I have seen this mentioned a few times and I am not clear on what it means. When and why would you do this?   I know what interfaces do, but the fact I am not clear on this makes me think I am missing out on using them correctly.   Is it just so if you were to do:  IInterface classRef = new ObjectWhatever()   You could use any class that implements IInterface? When would you need to do that? The only thing I can think of is if you have a method and you are unsure of what object will be passed except for it implementing IInterface. I cannot think how often you would need to do that.   Also, how could you write a method that takes in an object that implements an interface? Is that possible?


I am trying to remove an element from an array and return it. I am using a temporary variable to store the element before I make it null. However I get a null pointer exception. The array is used to store the key and the value of a Hashmap, map      if (map[location].getKey().equals(k)) {          V temp = map[location].getValue();         map[location]=null;         return temp;       }

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


So I'm trying to exit the pygame using a function but its not working. It's definitely entering the function block but for some reason is not quitting after the keypress. Pls help. import pygame from pygame import mixer from random import * from math import *  pygame.init()  screen = pygame.display.set_mode((1280, 720)) pygame.display.set_caption("The Rake Game") font = pygame.font.Font('freesansbold.ttf',32)  running = True  class Paths:     def __init__(self):         self.game_state = 'intro'      def intro(self):         screen.fill((120,120,120))          for event in pygame.event.get():             if event.type == pygame.QUIT:                 running = False          pygame.display.update()      def state_manager(self):         if self.game_state == 'intro':             self.intro()  a = Paths()  while running:     a.state_manager()

How can I create or use a global variable in a function?  If I create a global variable in one function, how can I use that global variable in another function? Do I need to store the global variable in a local variable of the function which needs its access?


When I compile the example below I get Hailey et al. 2018 in the pdf. When I uncomment the second citation I get "Hailey, Mori, et al. (2018)Hailey and Mori (2017)."  Why did the first reference change when I un-commented the second one ? I don't want this behavior.  I understand biblatex sometimes adds authors to disambiguate citations but that seems unneccessary in this case...  \documentclass{article} \usepackage{filecontents} \begin{filecontents}{mwe.bib} @InProceedings{hailey&mori2017,   Title                    = {{NuSTAR observations of black hole binary candidates in  the Galactic Center and its environs}},   Author                   = {Hailey, C.~J. and Mori, K.},   Booktitle                = {AAS/High Energy Astrophysics Division},   Year                     = {2017},   Month                    = aug,   Pages                    = {109.12},   Series                   = {AAS/High Energy Astrophysics Division},   Volume                   = {16},    Adsnote                  = {Provided by the SAO/NASA Astrophysics Data System},   Adsurl                   = {http://adsabs.harvard.edu/abs/2017HEAD...1610912H},   Eid                      = {109.12},   Owner                    = {aleksey},   Timestamp                = {2017.10.13} }  @Article{hailey+2018,   Title                    = {A density cusp of quiescent X-ray binaries in the central  parsec of the Galaxy},   Author                   = {Hailey, C.~J. and Mori, K. and Bauer, F.~E. and Berkowitz, M.~E. and Hong, J. and Hord, B.~J.},   Journal                  = {Nature},   Year                     = {2018},    Month                    = apr,   Pages                    = {70--},   Volume                   = {556},    Owner                    = {aleksey},   Publisher                = {Macmillan Publishers Limited, part of Springer Nature. All  rights reserved.},   Timestamp                = {2018.04.07},   Url                      = {http://dx.doi.org/10.1038/nature25029} } \end{filecontents}  \usepackage[backend=biber, natbib=true, minnames=1, maxnames=2, style=authoryear]{biblatex} \addbibresource{mwe.bib}   \begin{document} \citet{hailey+2018}%\citet{hailey&mori2017} \end{document}

In the header of my document I set the maximal author names to 2:  \usepackage[style=authoryear-icomp, maxbibnames=9, maxcitenames=2, backend=biber]{biblatex}   Now, when I cite texts with two authors, LaTeX gives me the following:     (Author_A/ Author_B 2012: 232)   When I have three authors or more, LaTeX makes it:     (Author_A/ Author_B et al. 2012: 232)   But I want LaTeX to just name the first author if there are more than two authors ... like this:     (Author_A et al. 2012: 232)   Any tips on how to achieve this ?


After following endless guides and running the bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi command from windows, dual boot works!   Alas, it only works while the USB is plugged in, otherwise we get the Grub2 bash.    How can I finish the job so that the Grub2 bootloader is installed on the Win8 side of things? Is that how I want to finish the job?

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


It is possible to use chmod numerically to set all the rights of a file:  chmod 644 file   Is it possible to set the rights numerically only to user's rights?  I work on Fedora Linux but the question is interesting in general to POSIX systems.

I'm having some trouble trying to remove write permission from the owning group (g), and to add read permission to others (o) at the same time.   How would I remove some permission from the owning group and add some permission for others in the same line?


Which one of these examples is correct?  Types of metal Types of metals  Do they have different meanings?

There are different types of problem.   or      There are different types of problems.   I easily get confused when I make such sentence(s). Look, still I am not sure whether I should use sentence or sentences.


Let $X$ be a normed space and let $Y \neq X$ be its vector subspace. Prove that Y does not contain any nonempty open set in X.  Could someone help please with the proof? Thanks in advance! :)

There is a conjecture: "The only subspace of a normed vector space $V$ that has a non-empty interior, is $V$ itself." (here, the topology is the obvious set of all open sets generated by the metric $||\cdot||$).  I have a proof for the case $V$ is finite dimensional. Because, let $V$ have dimension $n$ and a subspace $S$ of $V$ have dimension $m < n$. Let $\{v_1,v_2,\ldots,v_m\}$ be a basis for $S$, extended to the basis $\{v_1,\ldots,v_m,\ldots,v_n\}$ of $V$. Now, suppose that $p = b_1v_1+\cdots+b_mv_m$ is an interior point of $S$. Now, consider the norm $N(a_1v_1 +\cdots+a_nv_n)=\max(|a_1|,\ldots,|a_n|)$. Then, there is an $r>0$, such that $||x-p||<r$ and $x$ is in $V$ $\implies$ $x$ is in $S$, since on a finite dim. space, all norms are equivalent. Let $m<k\leq n$,and chose $v$ in $V$ as:  $$v=\left(b_1+\frac{r}{2}\right)v_1+\left(b_2+\frac{r}{2}\right)v_2+\cdots+\left(b_m+\frac{r}{m}\right)v_m+\frac{r}{2}v_k$$  Then, $N(v-p)\leq\frac{r}{2}<r$, so $v$ is in $S$ and by the subspace property of $S$, $v_k$ is in $S$ too, a contradiction to $m<n$.    I have primarily 2 questions:  (1) Is there a simpler method to proof the conjecture for the finite dimensional case?  (2) Is the conjecture true for the infinite dimensional case?  Sorry, if the question admits a very trivial answer. The motivation behind my question , is the fact that an open interval in $\mathbb{R}$ is not open in $\mathbb{R}\times\mathbb{R}$, etc.


I am able to log in with my user id but when I do I get only the desktop background. Unity apparently doesn't load.  I get no Launcher down the left side of my screen and no Panel across the top.  I get only a mouse arrow.  I'm able to bring up various windows by right-clicking my mouse or pressing a windows key on my keyboard.  I would think there would be a way to boot Unity, but I don't see anything in the windows that I'm able to open.  Also, I can't figure out anyway to get a command line.  There doesn't even seem to be a way from the screen to shut down the computer.  I have to use the button on my console.  I have just installed 14.04 in parallel to 10.04 in a dual boot arrangement with Windows 7.  I have Windows and Linux running on separate hard drives.  Things were working ok for the first few days after the install, but today this problem occurred.  Thank you for any help.  Bob Wetmore

When I login, nothing happens.   I am presented with my desktop wallpaper.    No Dash, no Launcher, nothing.


I'm trying to read each file in a directory that contains 4000 json.gz files. I'm running out of heap space during execution. I'm unsure how to solve this.         File folder = new File(directoryPath);         String [] files = folder.list();          assert files != null;          for (String file: files) {             String filePath = directoryPath + "/" + file;              if (filePath.substring(filePath.length() - 2).equalsIgnoreCase("gz")) {                                  try (GZIPInputStream gzipInputStream = new GZIPInputStream(new FileInputStream(filePath))) {                     InputStreamReader reader = new InputStreamReader(gzipInputStream);                      Object obj = jsonParser.parse(reader);                      TextFileModel textFileModel = processObject(obj, controller);                     textFileModelList.add(textFileModel);                                      } catch (IOException | ParseException e) {                     e.printStackTrace();                 }           }   UPDATE: I've tried a few of the suggestions but I'm still getting the same error try (InputStreamReader reader = new InputStreamReader(new GZIPInputStream(new FileInputStream(filePath)))){                      Object obj = jsonParser.parse(reader);                      reader.close();                      TextFileModel textFileModel = processObject(obj, controller);                     obj = null;                     textFileModelList.add(textFileModel);                  } catch (IOException | ParseException e) {                     e.printStackTrace();                 }  Error Message: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space     at org.json.simple.parser.Yylex.yylex(Yylex.java:668)     at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269)     at org.json.simple.parser.JSONParser.parse(JSONParser.java:118)     at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)     at com.sbl.Main.main(Main.java:45)

I am writing a client-side Swing application (graphical font designer) on Java 5. Recently, I am running into java.lang.OutOfMemoryError: Java heap space error because I am not being conservative on memory usage. The user can open unlimited number of files, and the program keeps the opened objects in the memory. After a quick research I found  and others saying on Windows machine the JVM defaults max heap size as 64MB.  Given this situation, how should I deal with this constraint?  I could increase the max heap size using command line option to java, but that would require figuring out available RAM and writing some launching program or script. Besides, increasing to some finite max does not ultimately get rid of the issue.  I could rewrite some of my code to persist objects to file system frequently (using database is the same thing) to free up the memory. It could work, but it's probably a lot work too.  If you could point me to details of above ideas or some alternatives like automatic virtual memory, extending heap size dynamically, that will be great.


I have a big problem. I'm a beginner Ubuntu user. My laptop is a Lenovo Legion Y530 (Intel Core i7 8th Gen - 16 GB RAM - NVIDIA GTX1050). I'm running Ubuntu 20.04 LTS on it, and I had a problem with the Wi-Fi. When I turn on Ubuntu, the Wi-Fi doesn't find a modem. I tried lspci -knn | grep Net -A3, rfkill list and this is the output:   Subsystem: Lenovo ThinkPad E595 [17aa:b023]     Kernel modules: rtwpci 08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) 3: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no   Output of sudo lshw -C network:     description: Network controller        product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:07:00.0        version: 00        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: latency=0        resources: iomemory:ffffffff0-fffffffef ioport:4000(size=256) memory:a4300000-a430ffff   *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:08:00.0        logical name: enp8s0        version: 15        serial: e8:6a:64:ce:c7:7c        size: 1Gbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.208 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s        resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff   And when I tied ip addr show:  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp8s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000     link/ether e8:6a:64:ce:c7:7c brd ff:ff:ff:ff:ff:ff 3: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000     link/ether 48:5f:99:56:f1:a1 brd ff:ff:ff:ff:ff:ff     inet 192.168.1.41/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp7s0        valid_lft 3466sec preferred_lft 3466sec     inet6 fe80::3ba0:6306:9d97:c72a/64 scope link noprefixroute         valid_lft forever preferred_lft forever   Thank you very much!

My laptop is Lenovo Legion Y530 (i7 8th - 16GB ram - GTX1050). I'm running Ubuntu 20.04 for it and I was had a trouble with Wi-Fi. When I turn on Ubuntu, Wi-Fi doesn't found any modem.  I tried:  lspci -knn | grep Net -A3; rfkill list   This outputs:  07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]     Subsystem: Lenovo ThinkPad E595 [17aa:b023]     Kernel modules: rtwpci 08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) 3: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no   The output of sudo lshw -C network is:  *-network UNCLAIMED               description: Network controller        product: RTL8822BE 802.11a/b/g/n/ac WiFi adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:07:00.0        version: 00        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: latency=0        resources: iomemory:ffffffff0-fffffffef ioport:4000(size=256) memory:a4300000-a430ffff   *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:08:00.0        logical name: enp8s0        version: 15        serial: e8:6a:64:ce:c7:7c        size: 1Gbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.208 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s        resources: irq:17 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff


Given $x, y$ are acute angles such that $\sin y= 3\cos(x+y)\sin x$. Find the maximum value of $\tan y$.  Attempt at a solution:  $$(\sin y = 3(\cos x \cos y - \sin x \sin y) \sin x) \frac{1}{\cos y}$$  $$\tan y = (3 \cos x - 3 \sin x \tan y) \sin x$$  $$\tan y + 3 \sin^2 x + \tan y = 3 \sin x \cos x$$  $$\tan y = \frac{3 \sin x \cos x}{1 + 3 \sin^2 x}$$  I have also tried substituting $0$, $30$, $45$, $60$, $90$ to the values of $x$.

Given $x, y$ are acute angles such that $\sin y= 3\cos(x+y)\sin x$. Find the maximum value of $\tan y$.  Attempt at a solution:  $[sin y = 3(cos x cos y - sin x sin y) sin x] 1/cos y$  $tan y = (3 cos x - 3 sin x tan y) sin x$  $tan y + 3 sin^2 x + tan y = 3 sin x cos x$  $tan y = (3 sin x cos x) / (1 + 3 sin x)$     I'm stuck here...


Let $P(z)$ and $Q(z)$ be two polynomials such that $deg(Q) ≥ 2 + deg(P)$. Suppose {$z_{1}, . . . , z_{n}$} is the set of all distinct poles of $\frac{P(z)}{Q(z)}$. Show that $\sum{Res(\frac{P(z)}{Q(z)}; z_{j})} = 0$. I know we can take a contour that contains all the poles and use $Res(\frac{P(z)}{Q(z)},\infty)=0$ to show the sum of Res above is zero. I just wonder if there is another to prove it?

Let $f$ be a rational function mapping to $\mathbb{C}$, $$f(z)=\frac{P(z)}{Q(z)}$$ with $\deg P\leq \deg Q -2$. I want to show that the sum over all residues is zero.  What am I asked to show? I think: The only singularities are in the zeros of $Q$. So if $N_Q$ is the set of zeros of $Q$ I have to show $$\sum_{q\in N_Q} Res(f,q)=0,$$haven't I? Since there are max. $\deg Q$ many zeros of $Q$, the sum is finite.  In order to show the statement - how can I use the $\deg$ condition?


Browsing StackOverflow, I've found out, that not all resources are loaded over HTTPS (if using that protocol)  Looking into code, I've found out, it's related to Imgur addresses:     view-source:

0

votes

0

answers

7

views

OnUpgrade Android SQLite Database from Assets Folder

        android database sqlite assets

             55m ago             LukeG224 10

   Also related links, are not using the same protocol:  eg. Hot Network Questions

                      Hot Network Questions

                     Is it better to have light come from the left side?
   or main noscript
Stack Overflow works best with JavaScript enabled

Stack Overflow has HTTPS in some places! However, this breaks most existing image links. Could those be made protocol-relative, or react to the requesting protocol, or just always use HTTPS?  The same applies to .sponsor-tag-img.


So, if there are $N$ data points in my sample space of any randomly distributed variable $X$. The standard deviation, $\sigma$, (from my understanding) is the root mean squared of the error (from the mean, $\bar{X}$,) which leads to the formula shown below $$\sigma = \sqrt{\frac{\sum_{i=1}^N\left(X_i-\bar{X}\right)^2}{N}}$$  But, in certain cases, the deviation is shown using the formula  $$\sigma = \sqrt{\frac{\sum_{i=1}^N\left(X_i-\bar{X}\right)^2}{N-1}}$$  For example, in this link (). I do not really understand how this helps to reduce bias, as said in the above link.

According to the Wikipedia article on  the sample SD   $$s = \sqrt{\frac{1}{n-1} \sum_{i=1}^n (x_i - \overline{x})^2}$$  is a biased estimator of the SD of the population. It states that $E(\sqrt{s^2}) \neq \sqrt{E(s^2)}$.   NB. Random variables are independent and each $x_{i} \sim N(\mu,\sigma^{2})$   My question is two-fold:   What is the proof of the biasedness? How does one compute the expectation of the sample standard deviation    My knowledge of maths/stats is only intermediate.


The  spell specifies that you may only store "a spell of 5th level or lower" with it. However, it does not specify what spell slot level it must be cast through.  RAW, would it be possible to cast, for example, a 9th-level , seeing as how the spell itself is only 3rd level?

As the title says: Is a 1st-level spell cast using a 4th-level slot a 1st-level spell, or a 4th-level spell?


Pouillet's law, $R = \rho \frac{\ell}{A}$, is useful when dealing with a "column" (cylinder) of a conducting material, with cross section $A$ and height $\ell$. Using this equation has an underlying assumption: the contribution to the conductance from the surrounding environment of the cylinder is zero.  But how do I calculate the resistance (or conductance) between two given points (electrodes) that are embedded into a general shape object (for example submerged in water), assuming the surrounding environment is infinite in all directions?

Let's imagine that we have a tridimensional metal object of infinite size, and decide to calculate the resistance between two arbitrary points. How would we go about doing this?  I have thought of two possibilities for calculating this, the first one being an adaptation of the conductivity (S/m) using the Pythagorean theorem to find a distance and isolating the resistance from there, treating it like we would treat an electrolytic liquid.  The second possibility I have been thinking about would be a 3-dimentional adaptation of the infinite-resistors problem (which I have only seen in 2d).  Would one of these methods result in giving a decent approximation, or would another method give better results?


This properties bar:    disappeared when I accidentally opened the Grease pencil bar. Now the area where the properties bar looks like this:    I cannot collapse it, and I cannot get the properties toolbar back! How would I do it?

When I start Blender, I am shown the Outliner on the right side:    Somehow I very often manage to hide it. I think it happens when I unwrap and have the "UV Edit" window shown on the left side of Blender.  Can anybody tell me how to restore / show it again?  Thank you.


I don't know whether this is a foolish question or not. Is there a way to make two separate dual-core systems to run as a single quad-core system under a single operating system?

Here are a few questions, I wish you could enlighten me.   Is it possible to combine processing power of 2 computers? How do I do it?


I would like to find a different solution to closing these windows without having to do the click and drag.

I downloaded a blender file from online, and all the menues like "view" "select" "pose" options are at the bottom, when they were normally at the top. Is there a way to reset all these UIs? Thanks


In Java, setting a variable to a value based on a condition could be done in one line  like so:  variable = (!true) ? 1 : 2   This would result to '2'.  Is there python equivalent to this code?  Thank you.

If Python does not have a ternary conditional operator, is it possible to simulate one using other language constructs?


Let $V$ be a finite dimensional inner product space and $T: V \to V$ be a linear operator. Show that the range of $T^*$ is the ortogonal complement of the null space of $T$.  Since $V$ is finite dimensional I know that $T^*$ exists.  Now let $\alpha \in Im (T^*)$. Then $\alpha =T^*(\beta)$ for some $\beta \in V$. Let $\gamma \in ker(T)$ be arbitrary. It follows that $T(\gamma)=0$. Now  $0=\left<T(\gamma),\beta\right>=\left<\gamma,T^*(\beta)\right>=\left<\gamma,\alpha\right>$. Hence $\alpha \in (ker (T))^{\bot}$ and $Im(T^*)\subseteq (ker (T))^{\bot}$  I'm having trouble proving the other inclusion.

How can I prove that, if $V$ is a finite-dimensional vector space with inner product and $T$ a linear operator in $V$, then the range of $T^*$ is the orthogonal complement of the null space of $T$?  I know what I must do (for a $v$ in the range of $T^*$, I have to show that $v\perp w$ for every $w$ in $\ker(T)$ and then do the opposite), but I don't know how to show that this inner product is zero.


Possible Duplicates:         Is there a way to associate a scheme, like cms:// to a Windows program?  So when an user types cms://user:password@server.com, it opens the program and can automatically connect using the given credentials.

How do I register a custom protocol with Windows so that when clicking a link in an email or on a web page my application is opened and the parameters from the URL are passed to it?


Update Manager is asking me to update to 11.10 which is old.  I wanted to upgrade my Old Ubuntu Desktop(installed in 2011) to Current stable version. Old configuration is really very stable and there are no more updates available for this version. This is the only reason, I am looking forward for updating same to current version.   Please suggest my options. Thank you.

I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?


I want to re-style the subscription center that exact target puts in every email. Are there ways to do this? I don't want to have to recode an entire sub center if the logic is the same as the one provided.  Thanks!

Has anyone implemented a custom subscription center using landing pages? The example one from the documentation doesn't seem to be working. I would really like to just customized the out of the box one but the amp script is hidden when I view source. Does anyone have and tips/tricks for creating a sub center?  Thanks!


I invested in Ayalon Extreme S&P 500 which is leveraged S&P. But its graphic does not follow the graphic of S&P. This is S&P which recently improved historic maximum:  And this is the leveraged ETF which did not even reach the level of the last year yet:  I expected it to grow 3x the original index.

I'm 23, and in addition to my 401k at work, I have a few thousand saved in an IRA. Right now I have it sitting in Treasurys earning around 3%.  Over the past 50 years the S&P has averaged around 11% per year in total returns. I'm perfectly willing to invest it in an index (like the S&P) or in a few bellwether-style single stocks (think Warren Buffet: KO, BAC, JNJ, etc). Most mutual funds underperform the market, so I'm not really interested in trying to pick those out at this point (unless you have a convincing argument).  I'm looking for feedback on the idea of investing the IRA balance in a 3x leveraged S&P ETF, specifically UPRO. My thinking: If the S&P averages 11%, this should average ~33%, minus fees of about 1%. The balance of the IRA is about $5k, and I'm not drawing retirement for another 40 years, so if somehow I "lose everything" it's not going to ruin my life. My future contributions to this IRA will probably be put in something safer, but I'm willing to take a risk now.  Is my thinking on how this 3x leveraged ETF works correct, or am I missing something?


We were studying Nouns today and certain words related to different subjects came which seem to be plural but are actually singular like Mathematics, Ethics, Physics etc and so, we must a singular verb with them..   But then came one sentence,      His mathematics are weak.    Anyone who can clear whether this sentence is correct or not? And if it is then what possibly is the reason?

I always say "mathematics is funny" (ok, maybe many of you disagree about the adjective), but then I noticed that "mathematics" seems to be a plural, like the Greek word from which it derives.   Am I correct in using the verb in singular form? And are there other words like this one?


question, to my surprise, was closed. I honestly have no idea why. The question fits perfectly within the FAQ, is not particularly subjective (nor is the answer), and it's generally good content. From the FAQ:  [I]f your question generally covers practical, answerable problems that are unique to the programming profession, then you’re in the right place to ask your question!  Here's the kicker though:  [I]f your motivation is “I would like others to explain ______ to me”, then you are probably OK.  And I think that question fits very reasonably within "I would like others to explain the difference between [blank] and [blank] to me." It's also definitely not . So, why was it closed? I removed the subjective-sounding bits at the end before it had enough close votes, but that apparently didn't do much. If good content like that is being closed because of the "rules," then shouldn't that be an indication that something else is wrong?

Sometimes I want to learn about a new programming related issue—topics such as DB ORM, search indexer, identity providers, logging, etc.  When I don't know anything about a subject, I ask for benchmarks or comparisons. I got some serious answers like links to tests, pros/cons, and Gartner's reviews. I found these very constructive and helpful. But then the question was blocked or deleted. Sometimes this happens even before I get an answer.  So where would it be more appropriate to ask questions about third party products and/or open source frameworks with which I am completely unfamiliar?


Let $F:\mathcal{C} \longrightarrow \mathcal{D}$ be a functor between two categories and $d$ be an object of  $\mathcal{D}$. Does the following hold:  $(F \downarrow d)^{op} \cong (d \downarrow F^{op})$  If yes, how can I prove this?

The coslice category $C/\bf{C}$ under an object $C \in \bf{C}$ has as objects arrows $f$ in $\bf{C}$ such that $\textbf{dom}(f) = C$ and as arrows, arrows $a: f \to g$ which are arrows $a$ in $ \bf{C}$ such that $af = g$.  So I want to construct this coslice category from the slice category $\textbf{C}/C$ and the $\textbf{op}$ operator (opposite or "dual" categories).  $\textbf{C}/C$ is the same thing as $C/\bf{C}$ except in the definition $\textbf{cod}(f) = C$ and $f = ga$.  So my guess is that $\textbf{C}^{\text{op}}/C = C/\textbf{C}$ since $(\textbf{C}/C)^{\text{op}}$ would first discard some arrows, namely those strictly coming from $C$ (not going to).  But intuitively we need take the $\textbf{op}$ of the whole thing: $(\textbf{C}^{\text{op}}/C)^{\text{op}}$ since otherwise all of our objects would be arrows pointing at $C$ not under $C$.  Therefore that is my final guess.  Now what would suffice as a proof that the two are equal: $(\textbf{C}^{\text{op}}/C)^{\text{op}} = C/\bf{C}$?


I have flash, which seems to have dead ended at 11.2.  I have the latest chrome 23.xxx.x..x, but neither of those allow me to watch Amazon Instant video.  I can disable pepper, but then the 11.2 on my system is out of date.   Is there any way I can get Amazon Instant video to work?

Today I upgraded from Ubuntu 12.04 to Ubuntu 13.10. I am not able to watch any videos in Amazon Prime Instant Video. I am getting this message:   An error occurred and your player could not be updated.   This is likely because your Flash Player or Browser needs to be updated. This update is required to play back this video.


English is not my first language. I live, and work, among people who do not have English as their first language. I notice many instances where grammar has been abused. Sometimes, I am not sure whether English has been abused. Here us an example. There is a tendency for some people to say, at the end of a task, "I am finished"? To me, this sounds grammatically incorrect. Please assist me.

I was trying to say the following and got bewildered with the different choices.     I have "To Kill a Mockingbird" on my list. I will write you about it when I am finished reading it.      I have "To Kill a Mockingbird" on my list. I will write you about it when I have finished reading it.      I have "To Kill a Mockingbird" on my list. I will write you about it when I am done reading it.      I have "To Kill a Mockingbird" on my list. I will write you about it when I finish reading it.   I am not sure which one to pick. I am confused with the exact meanings of these various choices. Could someone also shed some light on what meanings the different tenses convey in a context like this.


In   it was repeatedly suggested that Arcanine was intended to be a Legendary, hence being included in the tablet with the birds and the weird Pokedex entries. The only hint of this in Gen 1 is it's category ("Legendary") but these appear to be more like descriptors of the Pokemon, rather than classifications (the other Gen 1 Legendaries do not have the category "Legendary"). The Pokedex entries up to Stadium are as follows.  Red and Blue: A Pokémon that has been admired since the past for its beauty. It runs agilely as if on wings. Yellow: A legendary Pokémon in China. Many people are charmed by its grace and beauty while running. Stadium: A Pokémon whose beauty is legendary in China. It is said to run gracefully and lightly, as if it were flying.  It seems like there are two possible explanations.  It was not intended to be Legendary, but the makers of the anime misunderstood the category and so included Arcanine in with the actual Legendaries (the Birds and Mew/two). In Yellow onwards GameFreak made sure to clarify that it was more like a historically worshiped/popular Pokemon in China, rather than an actual Legendary. It was originally intended to be Legendary, but this was removed from Gen 1 at the last minute and remnants of this can be seen in the anime.  Do we have any confirmation of either of these explanations from GameFreak/Nintendo/the makers of the anime? Or is there another explanation that has evidentiary support?  This question is about the original intent of Arcanine, not . The accepted answer to that question simply points to an earlier shot of the anime, says "to match this" (which is technically correct) and then reiterates the claim that my question is asking about. My question is about the claim itself and whether any support for it exists.

In Pokémon Origins, Red sees a image with the three legendary birds and Arcanine.     Why was Arcanine there? I mean, he's 'The Legendary Pokemon' but not a legendary Pokémon. In , there is a comment by  on the answer that Arcanine was originally a legendary Pokémon:     "...Nintendo first gave Zapdos, Articuno and Arcanine as the legendary trio. But they removed Arcanine as it would have been awkward. Two birds and a dog, huh!..."   This still does not add up because Pokémon Origins was created a while after they removed Arcanine. Any thoughts?


I chowned -R username /usr/lib and now i cannot sudo or do any thing really due to sudoers.so belonging to username.  How do i fix this and make /usr/lib owned by root again?

Recently I had to change the folder permissions of /usr folder. Now the whole sudo is not working. If I try to update my system using this command:  sudo apt-get update   I get the following message:  sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins   So I tried to change the folder permissions by opening Nautilus as root by using this command  gksudo nautilus   But nothing happened. Nautilus didn't open. This is an emergency as the whole of sudo is not working. when I tried searching the solution from Google many suggested re-installation. I don't prefer re-installation. so is there any other solution?


I'm very interested in macrophotography and I'd like to take photos to the human eye. I have the Canon EOS 80D body and I'm also considering buying the  Canon EF 100mm f/2.8L IS USM Macro Lens. I'd like to take images as the one I have linked below. So, my question is whether I could achieve such results with this gear? Is 1:1 magnification enough for this? (Or do i need greater than life size) and what other considerations should I consider for macro photography?

I came across some really cool  today. How did he manage to get these photos? I couldn't find any EXIF information anywhere, and I don't have enough experience with macro to figure out how he did it.  It's obvious that the light has a lot to do with the result. How and what kind have been used? And what kind of camera equipment?


I tried to suggest an edit on  to retag it. I clicked the edit button, added my tags, and hit submit to get... this strange error.    This didn't make much sense to me. "I know it would have to be," I thought. "That's why I'm here, right? All my edits are only suggested edits at this point." I hit Save Edits again to receive the same error. I had no idea what was going on, why I was getting an error, and what it was trying to tell me.  It was only once I went back to the question that I found out what was going on: someone else had suggested an edit on this question. I suppose that's what the error was about.    This error doesn't make much sense. Can its wording be changed?

A couple of times recently when I attempted to edit a post while reviewing it from the "First Posts" queue, I received the following message when I tried to submit the form:  This edit would have to be a suggested edit. (x)   This is a rather cryptic message, considering that edits made from a review are suggested edits, subject to the same peer review process. There was no indication of how the edit would have to be submitted differently, much less why. I searched both help and meta for more information about this message, but came up empty.  The first time it happened, after I cancelled out I saw that someone else had just edited the post, so I thought maybe that's why I couldn't submit an edit from the review (and wondered why, if that's the case, the error message didn't just say that instead of telling me something that doesn't make any sense - that the edit I'm trying to suggest can't be submitted because it would have to be a suggested edit). However, the second time I received this message (last night, for this question: ), there was no other edit. So, I clicked the No action needed button and tried to edit the post outside the review process, only to discover that the edit link was grayed out.   I see several explanations of possible causes for graying out the edit link here: . However, there was no tooltip when I hovered over the disabled link, and the edit queue was in the single digits.  A few minutes later, I noticed that the edit link was no longer grayed out, so I edited the post and my edit was accepted.   My best hypothesis based on my experience with the error so far and the explanations I've read here at meta is that someone submitted a suggested edit while I was reviewing the post, which (a) caused me to get the cryptic error message and (b) caused the edit link to be grayed out when I accessed the post the normal way. Then a few minutes later, the suggested edit was rejected, opening up the question for new edit suggestions.  Rather than speculating about it and trying to determine the answer scientifically, it would be helpful if someone could give me the answer (as Seinfeld fans might put it, "Why don't you just tell me why I can't edit the post?"). It would be even more helpful if the error message itself provided the explanation, or if the message were defined somewhere in the help pages. But, at the very least, hopefully there will soon be an answer on meta to enlighten people who scratch their chins over this in the future. :)


I am reading about variational auto encoders, and there is the below loss function:  $$l_i(\Theta,\phi) = - {\mathbb{E}}_{z\sim q} \left[\log p_\phi(x_i|z)\right] + KL(q_{\phi}(z_i|x)||p(z))$$  What does the notation $z\sim q$ under $\mathbb{E}$ mean? I just have seen notations like $E(X)$ or $ \langle X\rangle $ for expected value, $\mathbb{E}$.  What does this notation generally mean when using $\mathbb{E}_{x\sim y}$ for some $x$ and some $y$?

I am reading Goodfellow's original  on GANs.  What I struggle to understand is his notation of the subscript in expected values.  $\mathbb{E}_{\boldsymbol{x} \sim p_{data}(\boldsymbol{x})}$ ....  If I understand it correctly then $\boldsymbol{x}$ is a realization of some random variable $\mathbf{x}$, but how can there be an expectation wrt. $\boldsymbol{x}$?  Or is $\boldsymbol{x}$ a random variable?  Thank you.  Edit: I do not think this is duplicate, as the referenced question does not answer what $\boldsymbol{x}$ means.


In the main.cpp I have   #include "helper.h" #include <list> using namespace std; int main(int argc, const char * argv[]) {      //switch between list and vector     list<int> a = {0, 1};     list<char> b = {'a', 'b'};      func(a, b);      return 0; }   My helper.h looks like  template <class C1, class C2> void func(C1 &a, C2 &b)   and my helper.cpp looks like  #include <list> #include "helper.h"  template <class C1, class C2> void func (C1 &a, C2 &b) {     //do stuff }   Then building it in Terminal on Mac with g++ main.cpp mysort.cpp -o sorting -std=c++11 generates the error "function func has internal linkage but is not defined" and Undefined symbols for architecture x86_64:   "void func<std::__1::list<char, std::__1::allocator<char> >, std::__1::list<int, std::__1::allocator<int> >, main::$_0>(std::__1::list<char, std::__1::allocator<char> >&, std::__1::list<int, std::__1::allocator<int> >&, main::$_0)", referenced from:       _main in main-202a16.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.)


I have a task to create three arrays of random sizes filled with random values, then create a two dimensional array and fill it with those three arrays.  I tried going for this sort of code:  int[] tab1 = new int[(int)(Math.random() * 10)]; for(int i = 0; i<tab1.length; i++){   tab1[i] = (int)(Math.random() * 10); } int[] tab2 = new int[(int)(Math.random() * 10)]; for(int i = 0; i<tab2.length; i++){   tab2[i] = (int)(Math.random() * 10); } int[] tab3 = new int[(int)(Math.random() * 10)]; for(int i = 0; i<tab3.length; i++){   tab3[i] = (int)(Math.random() * 10); } int[][] multiTab = new int[3][];  for(int a=0; a<tab1.length; a++){   multiTab[0][a] = tab1[a]; } for(int b=0; b<tab2.length; b++){   multiTab[1][b] = tab2[b]; } for(int c=0; c<tab3.length; c++){   multiTab[2][c] = tab3[c]; }   but the environment throws a NullPointerException, most likely because I was unable to declare the size of the second dimension of the array. How do I do this? Thanks for help in advance

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


Background -  One of the external application (in Java) calls Salesforce resources. Integration user generates OAUTH token through Username-Password flow and uses it to access SF resources. In salesforce ,it shows this user is exceeding the login limit of 3600 per user per hour. However, in the log of the external application it shows , user logs in very less around 100 times per hour.  Investigation so far  - I looked into the connected app ,configuration looks fine.However in the connected app OAUTH usage - Integration user doesn't appear for that connected app. Also on the user record,  related record - 'Oauth connected app' doesn't show the connected app name.  I tried with refresh token flow , instead of username-password, then it seems to be working fine.  Question - 1) Why connected app name doesn't appear for that user record OR neither user name appears at the OAUTH usage of the connected app ? Though Username - Password flow uses client id and secret from that connected app. Why its working for refresh token and web server flow.  2)Will it be fair to say in above case, integration user is not using the connected app? Though it's using it's client id and client secret.  3) Does my login limit issue seem to be related with above? (Integration user not using connected app)  EDIT 1 - To add more context   All the calls to the Salesforce are routed through certain proxy servers.   In the Login history, login type shows - Remote Access 2.0 , and under Application it shows the connected app name. But still, OAUTH Usage in the connected app , doesn't show this user in the list.   4) Can these many calls be happening from the intermediate routing/proxy server?   Lastly, I am trying to understand and fix why SF login events shows such a huge number of login per hour, but external application log shows very few logins to SF?

Just want to get clarification on something we're noticing in our org. Its regarding a new integration user we've created for an external application to connect to Salesforce. We also created a Connected App for this application to authenticate using OAuth. All of this is setup and working up to this point.   But one thing that we don't understand is there is a related list on the integration user detail page named "OAuth Connected Apps". We're concerned because although we are connecting fine and data is getting return to the external application no records are showing up in this "OAuth Connected Apps" related list. Should we expect to see Authorization or Access tokens in this list?   We just want to make sure we aren't bypassing the connected app in anyway, which we assume not, but just want to run it by the community and see. All comments are appreciated. Thanks ahead of time for the support.


I've been a couple of days looking for an answer, but without much success. I was wondering if I can connect a 30V audio device to the +15V and -15V of a PSU (+15V / GND / -15V)? Or is it preferred to have a PSU (+30V / GND / -30V) and only using +30V and GND? I've read online that I should use the second option but couldn't find why this is better. The audio device in question is a TSA8498 rated for 14V to 39V. The PSU is a switching power supply with +15 / GND / -15V (10A). I want to run it on ~30V.

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


# df -h Filesystem                    Size  Used Avail Use% Mounted on /dev/mapper/vg_bgsvn-lv_root   28G   26G  416M  99% / tmpfs                         495M     0  495M   0% /dev/shm /dev/sda1                     485M   54M  407M  12% /boot /dev/sdb1                     126G  3.3G  116G   3% /r1_72k_data2 \\xx2\repositories            106G  8.4G   97G   8% /mnt/repositories   # du -h --max-depth=1 / 16K     /lost+found 3.1G    /r1_72k_data2  <---Mounted Directory/Drive in there 0       /proc 0       /sys 43M     /boot 4.0K    /srv 26M     /etc 14M     /sbin 25M     /lib64 4.0K    /media 172K    /dev 239M    /lib 41M     /var 346M    /mnt 4.0K    /selinux 806M    /usr 3.3G    /opt    <----Mounted directory/drive in there 33M     /tmp 6.0M    /bin 76K     /home 64K     /root 7.9G    /   There should be over 20GB of file space left!  It seems I am missing something big but don't know what. Could swap be taking this?

I have a fileserver where df reports 94% of / full. But according to du, much less is used:  # df -h / Filesystem            Size  Used Avail Use% Mounted on /dev/sda3             270G  240G   17G  94% / # du -hxs / 124G    /   I read that open but deleted files could be responsible for it but a reboot did not fix this.  This is Linux, ext3.  regards


I have typeset some chat app messages, like Facebook or QQ, but iwant some beautiful chat bubbles like this, could someone use tikz or tcolorbox make it

I've had a plain chat conversation and need display them similarly to how they are designed in Messenger. Since this is a long conversation, I need a method to do it at once. I know this might be impossible to have all, so I just need to mimic it as close as possible.  Left-aligned gray bubbles (103, 184, 104) with black text; Right-aligned green bubbles (241, 240, 240) with white text Bubbles are only split after a paragraph (equivalent to an enter press when chatting). Long message with multiple lines will be kept in one bubble. Left and right edges are half circle Margins between same color bubbles are small, margins between different color bubbles are large.    FYI:  in Graphic Design  in Super User


I understand the simple distinction between "due to" ("adjectival") and "because of" (adverbial), but I get a little confused when the sentence includes modal or complex verbs. For example, could one write: "Participants may be excluded due to any of the following transgressions....."? ("due to follows "may be + excluded")  Or should one stick to a more strict "Participant exclusion may be due to any of the following transgressions...."?  Or is that even wrong, and they should both be "because of"?  This is NOT a duplicate of any other question because it addresses a particular use of "due to" that at least one response suggests is acceptable - but for reasons that actually add confusion!

I usually meet "due to" usage in a document or conversation, but in different ways. I did some research and found out that "due to" is adjectival.  Thus, the correct sentence should be:     The cancellation was due to rain   Instead of:     It was cancelled due to rain   But when I looked it up in Longman Dictionary, I found:     She has been absent from work due to illness   Can anybody tell me why the above sentence is correct?


I call ffmpeg command to generate mp4 using input of mp3 and folder of images   my problem is running 3 instance of ffmpeg cause 8 GB 6 core to be full with 100% cpu this is the command I use , any idea or anything wron with the command i use   ffmpeg.exe -r 25 -start_number 1 -i D:\%d.Jpeg -i D:\yyyyy.m4a -c:v libx264 -r 30 -pix_fmt yuv420p D:\xxxx.mp4"

I am using an old laptop and doing heavy processing that needs high CPU usage for a long time (~30mins - 2hours). When the process puts heavy load on CPU for a long time, CPU overheats and computer shuts down. I don't want to use a cooler/stand because I am carrying this laptop around and working outside home.  Is there a way/application that I can limit CPU usage of a process in Windows?  Note: Setting the priority of the process from task manager does not work.  Note 2: Fans are clean.


Assume I have two disks, $p_1$ and $p_2$, of radius $r$, with their own velocities (preferably in $(x,y)$ form, but $(m, \theta)$ works too) and masses (unit-less, but same unit) collide in two dimensions, how can I compute their resulting velocities?  I was looking around on the internet and it seems like every calculation assumes that one of them is at rest, but both of mine will be moving.  Wikipedia has , but it assumes that I know how to calculate the angle of deflection of the system, $\theta$, but that's even more confusing.  I'm pretty lost. What do I do?

I'm developing a 2D game including collisions between many disks. I would like to know how I can get the angle corresponding to the new direction of each disk.  For every disk I have this information : direction (integer), speed (float), and position ($x$;$y$, which are both integers).  Of course I know that the new direction will be the opposite of where the collision happens (disk hit on the bottom-left will go to the top-right), but I don't know how to calculate exactly the new angle.


When is it appropriate to use "for which" instead of "which .. for"?  e.g. (talking about webpages)     This method is useful for deprecated pages for which users have made bookmarks   vs     This method is useful for deprecated pages which users have made bookmarks for   My instinct is that both sentences are semantically the same. The first example seems a little archaic, and it seems to clash with my prior use of "for". However, the second example doesn't seem to emphasis that the bookmark is for the deprecated page.  Is there any meaningful difference? Which should I prefer, and it what other circumstances should I use one over the other?  Thanks for reading

Like many others, I commonly find myself ending a sentence with a preposition.  Yes, it makes me cringe.  I usually rewrite the sentence, but sometimes (in emails) I just live with it.  To, with... you know who you are.  Should I keep fighting myself on this one, or is it okay in some circumstances?


It would be nice to have an easy way to link to user profiles from answers. It is common to give credit to helpful comments within answers.  Although it's possible to embed links to comments, that's not really useful because comments are meant to be ephemeral, and by making them part of the answer, they have fulfilled their purpose and could be deleted.  Simply mentioning the author of the comment, as in @HelpfulJoe, is not good enough, because if a reader wants to check out the profile of the user for more words of wisdom, he would have to search by name, which is tedious, error-prone, and may not even work, for example if the user has changed his display name in the meantime.  To make this really easy, it would be great to implement this with similar auto-completion as it works in comments. The auto-completion candidates should be limited to users who commented on the answer, and authors of other answers.  This feature-request is different from these similar previous questions:    -- that question is asking for magic links like [opa] and [opq] and with a more limited scope. I'm asking for auto-completion + linking by typing usernames prefixed with @, as it works in comments.  -- that question is asking for linking to other answers. That would be nice too, but I'm asking for linking to user profiles, as it works in comments.   My current workaround is to manually add the @username with a link to the profile. With minimal typing and mouse clicks:   Right-click on user link, copy URL Click in the answer's text area where you want to insert the username reference, and press Controll to bring up the Insert Hyperlink pop-up Press Controlv to paste the copied URL, and before closing the pop-up, press Right to jump to the end of the pasted URL, ControlShiftLeft to select the last word, hopefully the entire username, if not then adjust the selection, press Controlc to copy the username, and press Enter to close the pop-up Type @ and press Controlv to paste the username

It would be nice if the @username autocomplete idea for comments could be extended to answer posts. Although, what I'd really like to see is a faster way to reference other people's answers to a given question, within your own answer. Say user 'foo' already posted an answer. I would like to provide a link/credit to foo's answer within my own answer. As it is right now, the only way (that I know of) to do this is by copying the link to their answer and creating a link within my answer. It would be a small time-saver if the @username notation could be used to do this instead, such that @foo would be automatically expanded to a link to foo's first answer in the current question.


We know that the temperature in space (which has vacuum) is low. If I go to space will I feel sweaty and hot or chilly? I think I will feel sweaty and hot because the radiation (UV, IR, etc) of the sun is hitting me directly. This question is just theoretical so assume I go to vacuum without a space suit.

Temperature is a measure of kinetic energy transferred to particles, henceforth,  being vacuum, temperature cannot be measured. But then, there is cosmic background radiation. It is the leftover heat from the Big Bang, but then heat in space doesn't make sense, how does this radiation, heat up space time when it technically cannot be heated up? Moreover why is it referred to as heat when it is approximately just $2.5$ Kelvin, which is just above absolute zero?


If $A$ is an $n\times n$ matrix such that $\|A\|<1$,   show that $(I-A)$ is invertible and    $$ \frac{1}{1+\|A\|}  < \|(I-A)^{-1}\| <\frac{1}{1-\|A\|} $$   My trial:  First  to show $I-A$ is invertible: if not, then there exists nonzero vector $x$ such that  $(I-A)x =0 $ Hence  $Ax=x$ So $\|x\|=\|Ax\|\le\|A\| \|x\|$ and since $x$ is a non zero vector we get $\|A\|\ge\|x\|$ which contradicts the assumption.  To prove the second part, by the triangle inequality we have $$ \|I\|-\|A\| \le \|I-A\|\le\|I\|+\|A\| $$ But the norm of the identity is equal to 1.  I stopped here since I know $\|(I-A)^{-1}\|$ doesn't equal $\|I-A\|^{-1}$  Any help?  The norm here is the spectral norm or the operator norm.

Prove that if $\|A\| < 1$, then $I-A$ is invertible. Here, $\|\cdot\|$ is a matrix norm induced by a vector norm.  This lemma is referred to as Neumann Lemma.  Any ideas on how to go ahead with this?  Thanks.


I've taken over a site, and have found the from address for the emails (eg password reminders) are coming from the wrong address.    How can I change the from address to the correct email?  The correct address is set in the settings -> General -> Email Address  The email address that the emails are coming from is one of the administrators.

How do I change notification emails address from WordPress @mydomain.net to something else.  I want to do this because WordPress @mydomain.net ends up getting flagged as junk mail.  Thanks  Daniel


I ve just installed ubuntu 13.10 and I've installed my local language keyboard and I can't find a way to simply change from one to another for example with the "traditional" keys Alt+Shift!

I recently upgraded to Ubuntu 13.10, with the new keyboard handling system. The little "switch keyboard" option does not let me set it to Alt+Shift. How can I get this keyboard binding, as I have absolutely no interest in using the Mac-esque Super+Space combo?


:)      So. How do I correctly calculate the power consumption of this circuit? :) I don't have an oscilloscope or an DMM that measures I. My DMM is an Extech EX330, which is quite good for it's price.    Here are the measurements: It is drawing 9.21 mA DC and 6.48 mA AC in series with the battery. It shows 1.364 VDC and 0.010 VAC in parallel with the battery. Output on the LED is 2.572 VDC and 0.011 VAC with no measurable frequency. (with my DMM at least) All measurements are taken with the same configuration and voltage  . Please note that I put 20.000 µF electrolytic, a bit metal film and a tiny ceramic capacitor in parallel with the LED (for no particular reason. just more smoothing) while measuring the above stated data points! Also, I switched both 3-pin TO22 dual schottky-diode packages, of which I bridged pin 1 and 3 to put diodes in parallel, (shown as weird schottky-diode things in the schematic) with regular 1N4007 diodes, because they work more efficient for some weird reason. (Reverse leakage current in the schottky packages maybe?? BTW, does it get worse when two are in parallel?)    Sorry I couldn't update the schematic, but thank you for your help! :)    . . Why is it different from the other question, you ask? My two questions of the same kind were ignored in the other thread. Also it is totally different question. So keep it, please.

The circuit is an altered Joule Thief of my design that is driven by an AA or AAA battery. I’m observing the current at the battery anode with my DMM in series. (Extech EX330) This circuit is extremely efficient (In relation to other Joule Thief I've build.) and does some weird stuff - like, it needs a pushbutton sometimes.    Measurements: It is drawing 9.21 mA DC and 6.48 mA AC in series with the battery. It shows 1.364 VDC and 0.010 VAC in parallel with the battery. Output on the LED is 2.572 VDC and 0.011 VAC with no measurable frequency. (with my DMM at least) All measurements are taken with the same configuration and voltage.    But how is it drawing AC and DC and how do I calculate power consumption? --> Could it be because the emitter pin of the NPN is directly connected to ground? --> Or is the circuit just "switching on and off"?     Download schematic:  (I tried to simulate the circuit in LTspice. Thanks for making me aware of this amazing program, Sredni Vashtar!)     What the pushbutton is used for: The pushbutton is used to "kickstart" the oscillation when it wont start by itself. For example: I have to manually "oscillate" using this button to start the circuit if the capacitor is too big and battery voltage is low. Pushing the button releases the energy in the transformer into the capacitor. If it reaches LED forward voltage the circuit keeps oscillating on it's own. It does work without manual intervention when then capacitor in parallel with the LED is not too big, like <5000 µF, and it's a fresh battery.    . Thank you for your answers! I'm learning so much! :D


I need to check if the node->next != NULL and I do not know if I can write:  if(node!= NULL && node->next!= NULL)

Does the ANSI standard mandate the logical operators to be short-circuited, in either C or C++?  I'm confused for I recall the K&R book saying your code shouldn't depend on these operations being short circuited, for they may not. Could someone please point out where in the standard it's said logic ops are always short-circuited? I'm mostly interested on C++, an answer also for C would be great.  I also remember reading (can't remember where) that evaluation order isn't strictly defined, so your code shouldn't depend or assume functions within an expression would be executed in a specific order: by the end of a statement all referenced functions will have been called, but the compiler has freedom in selecting the most efficient order.  Does the standard indicate the evaluation order of this expression?  if( functionA() && functionB() && functionC() ) cout<<"Hello world";


user prompt:  user - / :   up/down keys to locate historical commands.   user - / : historical command   clear the "historical command" :  user - / :hist   No matter how many times I hit BackSpace.. unable to delete "hist" part.  technically it is not even there. but on the screen it simply wont clear out until I hit "enter"  user - / :hist user - / :   what causes it ?   The problem is probably due to the colors I used here. but how can It be corrected ?  PS1="\[\033[38;5;190m\]\u - \W : \e[m"

Often when I start looking at history of commands some of the characters from a command displayed aren't erased, for example:  What's happening:  prompt$ some_command prompt$ some_commanother_command   What should have happened:  prompt$ some_command prompt$ another_command   I can't erase those characters and bash ignores them when executing the command. They also disappear when a new prompt is being displayed (after pressing Enter for example).  I asked other people who work on Linux at my workplace and they said that they have that problem sometimes too, but they didn't have an idea on how solve that issue.  I have Ubuntu 11.10 and I'm using guake. Here is my PS1:  \e[0;31m\u \A ${PWD##*/}\e[0;32m$(parse_git_branch)\e[0;31m$\e[m   where parse_git_branch is  parse_git_branch () {     git name-rev HEAD 2> /dev/null | sed 's#HEAD\ \(.*\)# (\1)#' }   As far as I know my colleagues have that problem even with less "fancy" PS1.


When the point estimator is relatively small numbers, a confidence interval is likely to contain zero, be fairly wide and include both positive and negative values.  Basically, when CI contains zero we would say that we cannot reject null hypothesis, but is there another conclusions that we can get from CI? In that case what additional information (interpretation) can provide us the confidence interval?

It seems that through various related questions here, there is consensus that the "95%" part of what we call a "95% confidence interval" refers to the fact that if we were to exactly replicate our sampling and CI-computation procedures  many times, 95% of thusly computed CIs would contain the population mean. It also seems to be the consensus that this definition does not permit one to conclude from a single 95%CI that there is a 95% chance that the mean falls somewhere within the CI. However, I don't understand how the former doesn't imply the latter insofar as, having imagined many CIs 95% of which contain the population mean, shouldn't our uncertainty (with regards to whether our actually-computed CI contains the population mean or not) force us to use the base-rate of the imagined cases (95%) as our estimate of the probability that our actual case contains the CI?   I've seen posts argue along the lines of "the actually-computed CI either contains the population mean or it doesn't, so its probability is either 1 or 0", but this seems to imply a strange definition of probability that is dependent on unknown states (i.e. a friend flips fair coin, hides the result, and I am disallowed from saying there is a 50% chance that it's heads).  Surely I'm wrong, but I don't see where my logic has gone awry...


I am trying to use BibLaTeX with the Windy City style to produce Chicago author–date citations and a bibliography. I have a TeX document: %!TEX encoding = UTF-8 Unicode  \documentclass[12pt]{article} \usepackage{letltxmacro}  \usepackage[reflist=true,style=windycity]{biblatex} \addbibresource{refs.bib}  \begin{document}  \section{Scenario}  Here is a claim I am citing \parencite{latexcompanion1993}.  \printbibliography  \end{document}    And I have the following file saved as refs.bib in the same directory: @article{einstein,     author =       "Albert Einstein",     title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})         [{On} the electrodynamics of moving bodies]",     journal =      "Annalen der Physik",     volume =       "322",     number =       "10",     pages =        "891--921",     year =         "1905",     DOI =          "http://dx.doi.org/10.1002/andp.19053221004" }  @book{latexcompanion1993},     author    = "Michel Goossens and Frank Mittelbach and Alexander Samarin",     title     = "The \LaTeX\ Companion",     year      = "1993",     publisher = "Addison-Wesley",     address   = "Reading, Massachusetts" }  @misc{knuthwebsite,     author    = "Donald Knuth",     title     = "Knuth: Computers and Typesetting",     url       = "http://www-cs-faculty.stanford.edu/\~{}uno/abcde.html" }  I open the TeX document in TeXworks, press compile with the default settings, and this is the output:  No bibliography is generated, and the citation just prints the identifier string instead of formatting it. It seems the problem is that BibLaTeX cannot "find" refs.bib. How can I fix this?

Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools


I understand an addon can do virtually anything the browser API allows, but wouldn't this be treated by some browser setting? I've been skimming through about:config but didn't see anything like that.

I have lots of Firefox addons installed and sometimes, when one addon is updating itself, at the next start of Firefox it'll open a new tab with update info (e.g. NoScript does that).  Is there a way to prevent this? I don't mind update notifications but opening some webpage is too much intervention imho.


I no longer have the original three prong extension cord for my MBP, and am experiencing the shock issue described by many other users.  I purchased a three prong travel plug and tried that, but it did not solve the problem.  Is there anything else I can do to solve the problem? I don't have access to an Apple Store, and can't modify the electrical outlets (if there is a grounding problem, for example).  Thanks.

I have no idea why. But apple have not earthed the stubbly plug for the macbook pro transformer. So on the short lead the only way the charger is earthed is when I touch it or the macs unibody which gives you a sort of vibrating feeling on your palms.  When I went to the genius bar to complain about it they said that it was completely 'normal'. Where their definition of normal is that every MacBook does it. I have had 4 MacBooks and all have done it.    The genius did say that he though he has seen a few earthed 3pin plugs. So my question is where can I pick one up? or how could we force apple to earth the stubby plugs and recall them?


This is not a duplicate of  -- that question deals with a dual-boot situation.  I have a completely stock install of Ubuntu 20.04 (on a Thinkpad p1 gen 2) on my main hard drive / boot device, and no other operating systems. When I power on the laptop and do nothing else, it boots to a grub menu, where the default option is to boot Ubuntu. I would like to skip the grub menu and boot Ubuntu directly. My (stock) /etc/default/grub file looks like: # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""

Recently I decided to use only Ubuntu and there is no Windows in my laptop. When I turn on my laptop the GRUB menu is showing but I don't need to choose OS anymore.   How can I remove or hide this? And after removing this how could I access to recovery mode?


I regularly see blink praised as a particularly good defensive third-level spell because, unlike many spells with persistent effects, it does not require concentration.  It does, however, state that "you can only affect and be affected by other creatures in the Material Plane."  I am uncertain about what exactly this means for concentration spells that are cast before the caster begins to blink.  So here are some specific questions:   If I cast hold person and then blink, is the target still affected by hold person while I am on the Ethereal Plane?  (I believe the answer is no.) Targets can save from hold person at the end of their turn.  If the answer to the previous question is no, can the target save while they're not technically affected by the spell?  (I believe the answer is no, but this seems to be getting into weird territory, since they can only save when I fail to blink?)

If I have cast something like Animated Objects or Bigby's Hand and then follow up the next round with casting Etherealness, can I still command/control those spells?


I have some questions on the Kernel mapping of a Linux process' higher virtual address:   Is that maps to the kernel text segment which is stored in the RAM(I read the vmlinuz will be extracted to the RAM)? What is the use of it? The pmap of a process shows it's mapping to the exe's segments, shared memory,stack,heap. Can I see the higher address kernel mapped also?

During process execution, when the memory map of a process is like so:    This might be a silly question, but what is responsible for reserving the Kernel space in the address space? Are user processes responsible for this? privileged processes? all processes?  From my understanding, the kernel memory space is reserved by the process running but it is only accessible by the CPU when instructed to execute under ring 0. Is this correct ?


I have a page that I receive donations with on my site. My bank's API requires that I generate a unique order id for each transaction. How can i implement this in my code using javascript?  The code I'm using is shown below.  Please enter the amount you wish to donate and click on the pay button. Thank you  <form id="&quot;form1”">   <div>    Amount:<input id="txtAmt" type="text" />    </div> </form> <script src="https://cipg.diamondbank.com/cipg/MerchantServices/UPaybutton.ashx?mercId=xxxxx&amp;CurrencyCode=566" type="text/javascript"> </script> <script type="text/javascript">   upay_settings.setAmountField('txtAmt');   upay_settings.setOrderId('31-Augdd-2014'); // This is the id I'd want to randomize   upay_settings.setProduct('Donation');   upay_settings.setEmail('xxx@xxx.org'); </script>

I'm trying to create globally-unique identifiers in JavaScript.  I'm not sure what routines are available on all browsers, how "random" and seeded the built-in random number generator is, etc. The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble when passing them around.


Prove that $$a^ab^bc^c\ge (abc)^{(a+b+c)/3}$$  My attempt: $$a^ab^bc^c\ge (abc)^{(a+b+c)/{3}}\implies \bigg(\dfrac{a}{b}\bigg)^{(a-b)/{3}}\bigg(\dfrac{b}{c}\bigg)^{(b-c)/{3}}\bigg(\dfrac{c}{a}\bigg)^{(c-a)/{3}}\ge 1$$    I have a slightest hint that symmetry might be helpful here, but wondering how. Please help.  I know that this question has been asked before, but I could not see any soltuion having my approach, so I am wondering if any solution is possible using my approach or it is a dead end.

Prove that the following inequality holds   $$a^a b^b c^c\ge (abc)^{\frac{a+b+c}{3}}$$   if $a,b,c$ are positive.   I'm not sure how to handle these kinds of powers. Are there any "famous" but not so advanced inequalities that involve this kinds of expressions?  I was trying to do something like ordering them without lost of generality because it's symmetric, but I get nowhere and I just make the thing even more complicated.  I'm asking for solution rather than hints since this is my first time encountering these kinds of problems.


I am using regular expression for preventing any html tags to be entered in text box on client side. It is:  [RegularExpression("^(?!.*<[^>]+>).*"   But when I want to have new line by enter key, it also triggers notification. Any idea how to make it accept multi line input?

For example, this regex  (.*)<FooBar>   will match:  abcde<FooBar>   But how do I get it to match across multiple lines?  abcde fghij<FooBar>


In his first lesson (transcripted in "Tips on Physics"), Feynman talks about math for physicists in a very cool and practical way. And at the end of the section he talks something like "so the first thing to do is to learn to learn derivative, integral and algebra" (I don't know how much precise I'm being because I've read it in Portuguese). I would to know if there is some book that deals with math as Feynman did it in this lesson (respecting formalities, but teaching how to use the practical rules)? Also, someone have any recommendations for algebra book (college level)?

What are the best textbooks to read for the mathematical background you need for modern physics, such as, string theory?  Some subjects off the top of my head that probably need covering:   Differential geometry, Manifolds, etc. Lie groups, Lie algebras and their representation theory. Algebraic topology.


I would like to ask how many well-ordering of set $\mathbb N$ exist. And they shouldn't be isomorphic to each other. I found out that the set of well ordering of set $A$ is the subset of $A \times A$. And that the set can be always well-ordered, because it is enough to do an injection between these set and ordinal numbers. But how should I find out how many well-ordering of the set $\mathbb N$ exist? :))

Let be the next equivalence relation on $B= \{R \subseteq \mathbb{N}\times\mathbb{N} \ | \ R \ is \ a \ well-order \ on \  \mathbb{N}\}$ : $$"R \equiv R' \leftrightarrow \ (\mathbb{N},R) \cong (\mathbb{N},R') \ are \ well-ordering \ sets \  isomorphic" $$  Which is the cardinality of $B/\equiv$?  Firstly, we can notice that each well-ordering set is isomorphic to an ordinal $\alpha \ $such that $\alpha < \aleph_{1}$, and so it is enough to count how many ordinals are isomorphic to a subset of $\mathbb{N}$. For example, if we consider $A$ the set of the even numbers and $B$ the set of odd numbers with the usual order relation, $A \oplus B$ is isomorphic to $\omega + \omega$. Another example could be: if we consider the order of $\mathbb{N}$ that we use in Sharkowski Theorem, that order is isomorphic to $ \omega^{2} + \omega$. Working with prime numbers we could build also $\omega^{n} \ \forall n \in \mathbb{N}$, and so $\omega^{\omega}$ and maybe something bigger. However, we know that each countable ordinal is isomorphic to a subset of $\mathbb{Q}$, but I bet that the same result is not true for $\mathbb{N}$ because it is "too small".  What can I do?


The room of requirement is supposed to fulfill the seeker's needs. Voldemort needed to hide his Hocrux where none could reach. Now how come Harry Potter could find the Hocrux hidden in the room of requirement?. Is the magic of the room limited to time?  Suppose someone says I need a place to hide where none could reach before hiding. If another person enters the room and after saying I need that particular thing to be found. What would happen then ?

Can the Room of Requirement provide anything if needed? For example:   James Potter wanted to hide from Voldemort, it would have served as a perfect hiding place. Harry Potter wanted all the Hocruxes, he should have gone straight to the room of requirement where he would have found all the Hocruxes along with the Sword. All the muggle borns of the wizarding community could have taken refuge in the room of requirement. Can someone meet a dead person in the room of Requirement if needed? Would it have been possible for Harry to go in past in order to see Dumbledore for the explanation of many things? Can the room duplicate something? For instance, Harry needed the Elder wand; with Voldemort having it, could he still get it? Someone wishes to be knowledgeable than Dumbledore, would the seeker find his desired wish by finding books and things?   Who created the room of requirement (surely not Salazar)? Was it beyond Dumbledore's magic to create such a place?


I've been riding CitiBike for a couple years to ride to work in NYC (7mi commute) and am looking to purchase my own bike.  Are there any standard suggestions on what to look for in a commuter bike?  Note that I love CitiBike.  I love the convenience of fenders, chain guards, easy gears that never come off, lights built in, etc.  The only thing I don't like is it is big, bulky, and heavy.  Would like something that is lighter and faster that has the convenient attributes of CitiBike.

I live in Queens, NYC. I am thinking of buying a bike for casual ride probably during weekends and sometime for commuting to the city.   Can anyone recommend which and what type of bike should I buy with budget of around $500?


How do you solve $7^{60} \pmod{77}$?  For $5^{60} \pmod{77}$, it's equal to $1$ because I think the $\gcd(5,77) = 1$ and using the FLT we can find that $5^{(7-1)(11-1)} = 1 \pmod{7*11}$. But how do you get $56$ from $7^{60} \pmod{77}$?

Calculate the remainder of the division of $1160^{602}$ by $35$. What I thought of doing right away is to factor out $602$ until I get to a point where I can apply Fermat's theorem. However, $35$ is not a prime number. How to proceed in this case?


Following , I would like to know what exactly it means for a tag to be marked as blocked (formerly blacklisted) on a Stack Exchange site.  Does it mean I can't use that tag on my question? What are the reasons for blocking a tag? Who can block tags? Why am I being prompted to remove a tag from a question I'm editing?

Based on my answer , I would like to propose the implementation of a tag black list.  The black list should contain a list of tags that should NOT be used on the site and disallow people with tagging rights to use these tags, for example the case of using the belongs-on tags.  I would also suggest increasing the tagging rep limit however this was previously covered .   Additional Options  As mentioned by  the list should only be accessible by moderators and possibly 10K moderators to ensure that the list is kept tidy. However for 10k moderators a voting process will be put in place to add a tag to the blacklist.  The list should also be updated when moderators merge tags. The removed tag should automatically be added to the black list.  Blacklisted tags can appear as strikethroughs on the tag field when editing or adding a new question, and be validated accordingly.  Additional Nice to Have  When tags are edited they should not bump questions, as this ends up creating a lot of noise on the homepage.


Do both "The books have sold" and "The books have been sold" natural and appropriate in English? "The books have sold" sounds as if the book can sell themselves. Can they?  List of best-selling books - Wikipediaen.wikipedia.org › wiki › List_of_best-selling_books The books have sold more than 150 million copies and have spawned two film adaptations, with a third one slated for release next year." (4 February 2018)

Selling for $40, the gadget will give you great value.      Selling for $40, the gadget may seem expensive at first sight.   In the context of the sentences, there is no particular item that has been sold.  Could sold be used in place of selling?  I'd appreciate your help.


In this novel humans live in an almost jungle like sealed in environment providing for their needs. A few of the inhabitants begin to question where they are and begin to more carefully explore. Eventually a control deck is discovered and they realize where they are at nearly the exact time of the arrival of the star ship at it's destination. If I remember correctly as the ship enters orbit around a planet, it begins to separate into segments in preparation for some sort of transfer to the planet's surface and the story ends there. There were no references to marital status that I remember tho that should not rule it out. I also remember a possible mention of the size of the surviving travelers having deminished over time tho given how much sci fi I read over the years that fact could be bleeding across from another story but maybe not.

The story starts with a tribesman going on a exploratory voyage around the land, meeting other progressively more and more distant tribes, learning about the world. Gradually he or she discovers that the "world" is actually a giant spaceship flying through space.  The story climaxes by the hero ascending to the commanding deck and learning who actually pilots the ship and to what purpose.