I'd like to buy a small netebook with long battery life, and found .   I looked at  but did not find whether this is compatible so appreciate if someone share experience about it.
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?
Django templates offer the builtin tag cycle for alternating between several values at different points in a template (or for loop in a template) but this tag does not reset when it is accessed in a scope outside of the cycles definition.  I.e., if you have two or more lists in your template, the rows of all of which you'd like to use some css definitions odd and even, the first row of a list will pick up where the last left off, not with a fresh iteration from the choices (odd and even)  E.g., in the following code, if the first blog has an odd number of entries, then the first entry in a second blog will start as even, when I want it to start at odd.  {% for blog in blogs %}   {% for entry in blog.entries %}     &lt;div class="{% cycle 'odd' 'even' %}" id="{{entry.id}}"&gt;       {{entry.text}}     &lt;/div&gt;   {% endfor %} {% endfor %}   I've tried obviating this by patching with the resetcycle tag offered here:    to no avail.  (The code didn't work for me.)  I've also tried moving my inner loop into a custom tag, but this also did not work, perhaps because the compile/render cycle moves the loop back into the outer loop?  (Regardless of why, it didn't work for me.)  How can I accomplish this simple task!?  I'd prefer not to create a data structure in my view with this information pre-compiled; that seems unnecessary.  Thanks in advance. How do I tail a log file and keep tailing it when the latest one changes date? Time limit on accepting an answer Why is there a 15 minute time limit on accepting an answer in StackOverflow? Unable to correctly install pip3 using apt-get I am using Ubuntu 16.04, and was experiencing issues with my pip3. Specifically, when I attempted to uninstall a package via  sudo pip3 uninstall   I encountered   Traceback (most recent call last):   File "/usr/bin/pip3", line 9, in &lt;module&gt;     from pip import main ImportError: cannot import name 'main'   I attempted to resolve this issue by reinstalling pip3, specifically   sudo python3 -m pip uninstall pip &amp;&amp; sudo apt install python3-pip --reinstall   which succeeded. However, I no longer have a local version of pip3 at all  bash: /home/kurt/.local/bin/pip3: No such file or directory   Using which pip3 in a new terminal I find,  $ which pip3 /usr/bin/pip3   and attempting to use pip3 at all brings me  $ pip3 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 33, in vendored     __import__(vendored_name, globals(), locals(), level=0) ImportError: No module named 'pip._vendor.pkg_resources'  During handling of the above exception, another exception occurred:  Traceback (most recent call last): File "/usr/bin/pip3", line 9, in &lt;module&gt;     from pip import main File "/usr/lib/python3/dist-packages/pip/__init__.py", line 13, in &lt;module&gt;     from pip.exceptions import InstallationError, CommandError, PipError File "/usr/lib/python3/dist-packages/pip/exceptions.py", line 6, in &lt;module&gt;     from pip._vendor.six import iteritems File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 75, in &lt;module&gt;     vendored("pkg_resources") File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 36, in vendored     __import__(modulename, globals(), locals(), level=0) File "&lt;frozen importlib._bootstrap&gt;", line 969, in _find_and_load File "&lt;frozen importlib._bootstrap&gt;", line 958, in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 664, in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 634, in _load_backward_compatible File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2927, in &lt;module&gt; File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2913, in _call_aside File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2952, in _initialize_master_working_set File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 956, in subscribe File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2952, in &lt;lambda&gt; File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2515, in activate File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2097, in declare_namespace File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2047, in _handle_ns File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2066, in _rebuild_mod_path AttributeError: '_NamespacePath' object has no attribute 'sort'   However, I am able to execute without incident when typing sudo -H pip3 -v. Reinstalling pip3 from apt, e.g.  sudo apt-get install python3-pip --reinstall   has no effect. If anyone has any insight, or has encountered a similar problem, I would greatly appreciate any input on how to approach this problem. I have recently installed ubuntu 11.10. But when i try to install a software it tries to 'updating cache' but after a while, it stops, showing:                            Failed to download repository information                           Check your internet connection   so, now i am totally unable to install any software in my ubuntu.  Please,let me know how to solve the problem. $\gcd(a,b)\!=\!1\!=\!\gcd(a,c)\Rightarrow\gcd(a,bc)\!=\!1$ [coprimes to $\,a\,$ are product closed] How do I go about proving this?  If $\gcd(a,b)=1$ and $\gcd(a,c)=1$, then $\gcd(a,bc)=1$. I'm very confused with gcd proofs. javax.faces.application.ViewExpiredException: View could not be restored How to create batch file in Windows using "start" with a path and command with spaces I need to create a batch file which starts multiple console applications in a Windows .cmd file.  This can be done using the start command.  However, the command has a path in it.  I also need to pass paramaters which have spaces as well.  How to do this?  E.g. batch file  start "c:\path with spaces\app.exe" param1 "param with spaces" I want to draw a perfect rectangle. How can I do that with QGIS v.3+?  .  Is there a similar solution for the latest QGIS version? Cycles settings missing This particular blend file is messed up. I'm not sure what I did or pressed. If I open a new blend file everything works fine but in this one the materials tab is missing and the render properties is also missing some things. I don't want to start over my project. I have tried a day and a half to figure this out. I have a set of aerial images which I am trying to clip by their overlapping areas, for use in a more involved program I am writing.  Is there a command line based tool out there with an easy method for extracting the overlapping areas from a pair of images?  The images themselves do not have georeferencing, but they DO come with a shapefile containing bounding boxes of the image collects, as well as IMU data from image collection.  I know this may be difficult since the images will have slight perspective differences, but I was hoping it would still be possible--especially since I am trying to maintain and utilize these perspective differences for something else. I have been developing in the windows space with Visual Studio for a while now with work, but I have also been using Ubuntu for a while and am keen to get into some software development for linux.  I should also note. I am not looking for .NET and I am aware of mono. I am also familiar with c++ development and some python, so the language isn't so much relevant as the "all in one" aspect.  I was interested to know if there is a useful all in one code/debug/design(gui) IDE similar to something like Visual Studio but for linux? LWC URL reading parameters I am trying to authorize another sandbox/production to create connection. When I first time authorize the connected app, it is returning the Auhorization Code in the URL, however when it gets redirected to LWC app, code is disappeared because the parameter is 'code' not like 'c__code'. So, pagereference state is unable to read the param value. It was working till the previous release, with Spring release it started behaving differently.  Original URL: not working    I tested with adding 'c__' to the param manually and it worked fine.  Modified URL: Working    is there a way we can rename the redirected URL params dynamically?  'code' to 'c__code' I'm writing up some notes that will be displayed on an overhead projector. The standard time-derivative \dot{x} produces a dot that is hard to see. Does anyone know of a package or have a macro that produces a (nice looking) larger dot? Similarly with \ddot{x}.  At the moment, I've been supplied with some ugly code that produces an ugly output:  \def\dt#1{{\buildrel  {\hbox{\LARGE . }} \over {#1}}}    % dot-over  \def\ddt#1{{\buildrel {\hbox{\LARGE ..}} \over {#1}}}    % double dot Notepad++ auto indent html code while writing I have seen many plugins in Notepad++ for indenting html code after you write the code, but is there a plugin or other method to auto intent html while you are writing the code?  Many of the other programming languages Notepad++ supports automatically indent while you are writing but html doesn't seem to have the same support.  Any ideas? Dropping articles in the title (of an article or a section) or in the caption (of a figure or a table)? What's the general rule? It is said that "To give added punch, articles are often dropped in the titles"  Source:   Is there any general rule or reference about dropping articles, especially in academic research papers? Storage disk format to use to be utilised by all OS This is a repost with additional info of an older question that was never answered. I have stumbled upon this old question while also trying to find the name of the book series myself, as I dearly wish to read it again but for the life of me, I can't remember the name of it.      This is a long shot but I'm really in need of help for this because      it was an amazing book. It was either a kid's or YA book. A guess      from what year it was published would be 90s-mid 2000s, as I read it      around 2008-2011.         The book cover was in first person view, with the main character   holding a weapon, and was a 3D rendered image inside a dungeon or   cave (that was very reminiscent of early 90s CGI animation), though   there may be variants.    It would have been set around when computer   games were mainstream (maybe around the same time as when it might've   been published) It's about a teenage boy who is bored at home, so he   looks through an old family computer to play a game and finds one   that he has never seen before. When he plays it he gets transported   into the game which is a fantasy-medieval setting.    All that I can   remember about the game and story is that the main character is on a   quest, he rides horses a lot, (to the point where he can ride horses   perfectly in real life), at one point he eats food at an ingame   tavern/restaurant? and he tosses the ingame coin currency at the   server because he's in a hurry, (don't know why I remember that bit   specifically haha), and he meets a gnome/dwarf character who is   helping him on his journey, who has a home in an ingame mountain, and   that time goes faster in the game. (For example, if he spent 5   minutes in the real world, 3 in-game days would have passed)   Sometimes as he's playing something stops him from being able the   play the game for a few weeks, maybe a concerned parent because he's   playing too much or there's a family vacation. I remember during the   time when he's not playing the game he's on a farm and knew how to   ride the horses there.    There was a character in the real world who   was the main character's sibling, relative or friend. They were like   a rival and was also very whiny (to some extent). They were on the   farm as well with him and questioned how the main character knew how   to ride a horse when he had never done it in real life.   This is all I can remember but if you need more specific information I can try and answer. It is definitely not Space Demons or Demons Don't Dream. If anyone knows anything remotely similar please mention it, I would really appreciate it. Thank you!!            Additional info:    It is not an online game or virtual reality game. It was a normal PC game, and all other characters are (I think), just NPCs.  He woke up for the first time in a field/farm and was super confused about what happened and where he was, as he had never played the game before. He is asked a super serious question before starting the game up for the first time, like "are you sure you wish to play ___?", and then he is transported into the game.  He frequently exited the game, to continue his IRL life. And sometimes, he would lose access to the family desktop PC for a couple of days at a time, and when he went back everyone in the game (NPCs), thought he had disappeared because he was gone for ages. I think once, his family when on holidays and he couldn't take the PC, for example.  It was a book series, not a single book. In later books he would play the game again months later in the real world, and years and years would have passed in the game world.  The plot involved 2 main warring sides/factions/countries of humans, but there were fantasy/magical races and characters involved. I vaguely remember something about each side having official colours, one red and one blue. I think the main character was on the blue side.   The original question was never correctly answered, so I'm posting again to see if anyone can remember.   Books that were ruled out in original post: Eden's Gate &amp; Heir Apparent. How to identify multiple USB-serial adapters under Ubuntu 10.1 I'm self-studying a bit of complex analysis, and I'm attempting to figure out the following.   Suppose $\lim_{n\to\infty}z_n=A$. How can I show that $$ \lim_{n\to\infty}\frac{1}{n}(z_1+\cdots+z_n)=A. $$  Is there a clever way to write the limit to make it more approachable? Thank you.