QGIS Atlas export produces map in smaller scale then in composer I've loaded in QGIS 2.1, OSM map with OpenLayers plugin and I've created two rectangles representing coverage layer for Atlas. Then I've set Atlas in composer, first picture below. This preview should correspond to final page of the exported map. However, when I export Atlas in any format the scale of the picture is much smaller, see the second picture.  Did I miss anything or is this normal behaviour?
OpenLayers low resolution and/or shifts in QGIS print composer? I'm having trouble with the OpenLayers Plugin of Qgis and the map composer:  If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal qgis program window. But in the map composer and after export the layer has shifted relatively to my other shape layers (EPSG:32633 - WGS 84 / UTM zone 33N).  The second thing is that the output resolution of the exported osm-layer is very, very poor.   A really bad way of getting around this whole trouble would be to increase the screen resolution and make a screenshot of the map composition window of qgis. But I don't think this would be very professional. It also would cause a lot of pain :)   I'm using Qgis 1.8.0-Lisboa under Linux. The openlayers plugin is version 0.92.
Is there a way to know when a systemd timer will run next? I am testing a systemd timer and trying to override its default timeout, but without success. I'm wondering whether there is a way to ask systemd to tell us when the service is going to be run next.  Normal file (/lib/systemd/system/snapbackend.timer):  # Documentation available at: # https://www.freedesktop.org/software/systemd/man/systemd.timer.html  [Unit] Description=Run the snapbackend service once every 5 minutes.  [Timer] # You must have an OnBootSec (or OnStartupSec) otherwise it does not auto-start OnBootSec=5min OnUnitActiveSec=5min # The default accuracy is 1 minute. I'm not too sure that either way # will affect us. I am thinking that since our computers will be # permanently running, it probably won't be that inaccurate anyway. # See also: # http://stackoverflow.com/questions/39176514/is-it-correct-that-systemd-timer-accuracysec-parameter-make-the-ticks-slip #AccuracySec=1  [Install] WantedBy=timers.target  # vim: syntax=dosini   The override file (/etc/systemd/system/snapbackend.timer.d/override.conf):  # This file was auto-generated by snapmanager.cgi # Feel free to do additional modifications here as # snapmanager.cgi will be aware of them as expected. [Timer] OnUnitActiveSec=30min   I ran the following commands and the timer still ticks once every 5 minutes. Could there be a bug in systemd?  sudo systemctl stop snapbackend.timer sudo systemctl daemon-reload sudo systemctl start snapbackend.timer   So I was also wondering, how can I know when the timer will tick next? Because that would immediately tell me whether it's in 5 min. or 30 min. but from the systemctl status snapbackend.timer says nothing about that. Just wondering whether there is a command that would tell me the delay currently used.  For those interested, there is the service file too (/lib/systemd/system/snapbackend.service), although I would imagine that this should have no effect on the timer ticks...  # Documentation available at: # https://www.freedesktop.org/software/systemd/man/systemd.service.html  [Unit] Description=Snap! Websites snapbackend CRON daemon After=snapbase.service snapcommunicator.service snapfirewall.service snaplock.service snapdbproxy.service  [Service] # See also the snapbackend.timer file Type=simple WorkingDirectory=~ ProtectHome=true NoNewPrivileges=true ExecStart=/usr/bin/snapbackend ExecStop=/usr/bin/snapstop --timeout 300 $MAINPID User=snapwebsites Group=snapwebsites # No auto-restart, we use the timer to start once in a while # We also want to make systemd think that exit(1) is fine SuccessExitStatus=1 Nice=5 LimitNPROC=1000 # For developers and administrators to get console output #StandardOutput=tty #StandardError=tty #TTYPath=/dev/console # Enter a size to get a core dump in case of a crash #LimitCORE=10G  [Install] WantedBy=multi-user.target  # vim: syntax=dosini I use my DSLR (Nikon D500) for both photography and video, and I prefer autofocus for photography and manual focus for video (to get rid of autofocus noise).  There is an option for changing between the two on both the body and the lens, and obviously it is very annoying to have to keep flicking 2 switches to do the same thing all of the time.  Do you only have to change one of them, and would doing this cause any damage to the camera and/or the lens?  (I am aware that a similar question has already been asked before, however the answers said more what is "best practice" and not so much if there are any consequences to only changing one of them)  Thanks! Bravo for allowing comment editing, but what's the explanation for enforcing a five-minute window?  I think this might be over-engineering. If I have a spelling mistake or an inaccuracy I'd like to fix, I don't think the fact that five minutes has elapsed should prevent me from fixing it.  Further, if you are worried people will edit their comments in a way that makes the comment thread nonsensical, they can already do this by deleting their comment. So, limiting the ability to edit isn't really helping much in that regard.  Update  If people don't like this idea, I'm definitely open to hearing your reasons. For now, it seems like an unnecessary limitation of a quite awesome feature.  Update 2  Regarding John's scenario...     Me: Obama is cool!   You: You are right, man!      My edit: Obama is an idiot!   You: You are right, man!   ...this problem can still occur with deletions...     user1: Obama is cool!   user2: No, McCain is cool!   you: You are right, man!        user1: Obama is cool!   ---- deleted -----   you: You are right, man!     So, yes, editing could be abused as you suggest, but discontinuities can occur already because of deletions (and as someone else mentioned, because upvoted comments get prioritized upward).  As for Jeff's argument about rate limiting, I agree that is important, but I don't understand why you can't just use a CAPTCHA to prevent too many edits in a short period of time. Is liquid cooling necessary for high CPU performance over extended periods? I'm planning on building a system for high CPU and memory performance.  Graphics performance is not a major concern, as I do not plan to use it for gaming.  I noticed that liquid cooling seems to have become common since my last build, and I am wondering if it is needed in my case.  I do not plan to overclock any of the components.  The intended use for the system is primarily development and occasional compute-intensive tasks that will run on all cores continuously for several days to a week.  The system will not normally be in continuous usage like this, but it needs to be capable of occasional extended periods of continuous use at full capacity.  I have included the main components below.  CPU: i7-5960X  Memory: 64GB DDR4  Graphics card: Nvidia GeForce GT 730 2GB  Drive 1: 1TB SSD  Drive 2: 4TB 7200RPM HDD  Power supply: 700W  Is liquid cooling needed for the above build?  If not, is there any advantage in using it?  I have read reviews that mentioned liquid cooling unit failures that resulted in leaks, so I would rather not use it if it is not necessary.  Thanks! How do I find out the user name and password for an existing account? String replace method is not replacing characters I'm a student who uses the laptop all the time and I have a problem with Wifi on the laptop. I don't really know what it is. I can describe the problem tho. For example, i closed my laptop last night, so it goes in suspend mode. I turn it on this morning and my wifi doesn't want to connect until I restart the laptop. It says that it's connecting and in Wifi settings the circle animation is spinning, turning Wifi off and on doesn't do anything. Here's what happens when I check to see my network info: sudo lshw -C network   *-network                         description: Wireless interface        product: Wireless 3160        vendor: Intel Corporation        physical id: 0        bus info: pci@0000:02:00.0        logical name: wlp2s0        version: 83        serial: 00:1e:64:e6:1c:93        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless        configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-52-generic firmware=17.3216344376.0 ip=192.168.0.14 latency=0 link=yes multicast=yes wireless=IEEE 802.11        resources: irq:129 memory:df100000-df101fff   *-network        description: Ethernet interface        product: RTL810xE PCI Express Fast Ethernet controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:03:00.0        logical name: enp3s0        version: 07        serial: f8:ca:b8:52:72:49        capacity: 100Mbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII        resources: irq:17 ioport:d000(size=256) memory:df000000-df000fff memory:d0000000-d0003fff  Also I have to mention that my Linux is doublebooted alongside Windows 10, but I don't think that makes any difference. Help would be much appreciated, I wouldn't want to miss my classes because of this hahah Thanks! What are valid values for the id attribute in HTML? When creating the id attributes for HTML elements, what rules are there for the value? I just installed Ubuntu 14.04.3 LTS after installing windows 10 in my new VN7-571G and the wireless is not working. It never had: even during the installation it was not recognized. I run a script to gather the data , which is . lspci -knn | grep Net -A2 output 03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:003e] (rev 20)         Subsystem: Lite-On Communications Inc Device [11ad:0804]  The OS behaves like it has no wifi card. I do not see wifi settings in network settings I'm not a linux power user, so I do not know what to do to solve the issue. What should I do to make it work? Create an interface which is similar to the material list box Why doesn't Volumetric follow the shape of Mesh in Eevee? So I was in the middle of making a ball-shaped smoke, but the volumetric effect didn't work following the basic shape. It remains cube in Eevee Blender 2.8; while in Cycle it works, but in Cycle it takes thousands of years for Render. The drawer has M different colored socks. What is the least amount of socks I that I need to draw to guarntee N pairs So in my discrete math class, we all know that if the drawer has 2 different colored socks, you need to pull out 3 socks to ensure a pair.   However, I am puzzled after there are more different colored socks and more pairs of socks.  For example, if there are 3 different colored socks in the drawer and I need to draw out 50 pairs, at least how many socks do I need to draw out to ensure that I have 50 pairs of sock?  How about if there are M different colored socks in the drawer and I need to draw out N pairs, at least how many socks do I need to draw out to ensure that I have N pairs of sock?  Are there any general formulas for these types of problem? Or are there any rules for this type of question? Can someone give me an example of a function $f: I\to \mathbb R$ which is uniform continuous but not Hölder continuous (for any $\alpha$)? Here $I$ is an interval. If $I$ is closed and bounded then we are essentially assuming that $f$ is merely continuous.   By saying that $f$ is not Hölder continuous for any $\alpha$, I mean for all $\alpha &gt;0$,   $$\sup_{x,y\in I, x\neq y} \frac{|f(x) - f(y)|}{|x-y|^\alpha} = \infty.$$  That is, I need to find a function $f$ so that for all $\alpha$ and $M&gt;0$, there are $x, y\in I$ so that   $$ \frac{|f(x) - f(y)|}{|x-y|^\alpha} \ge M.$$  I know that $f(x) = x^\alpha$ are $\alpha$-Hölder continuous. Thus, in some sense, I am looking for $f$ which are worst than the functions $x^\alpha$ for all $\alpha &gt;0$. My background and gameobjects are 2d sprites not UI images ,I want to know how to make my background scale with screen size and positions of 2d sprits on it don't change after building game (webGl) like scale canvas with screen size and anchor points in UI elements .  Before building the game   After building Computation of a limit involving factorial $\lim_{n \to \infty} \sqrt[n+1] {(n+1)!} - \sqrt[n] {(n)!} = \frac{1}{e}$ Update all objects in a collection using LINQ Is there a way to do the following using LINQ?  foreach (var c in collection) {     c.PropertyToSet = value; }   To clarify, I want to iterate through each object in a collection and then update a property on each object.  My use case is I have a bunch of comments on a blog post, and I want to iterate through each comment on a blog post and set the datetime on the blog post to be +10 hours. I could do it in SQL, but I want to keep it in the business layer. I am looking for a way to clean up the mess when my top-level script exits.  Especially if I want to use set -e, I wish the background process would die when the script exits. I have three partitions on my drive, arranged something like the following:   ___________ | 1 |  2 | 3| -------------   I wish to merge partitions 1 and 3.  Is there a way to do this, or do I have to manually "slide" partition 2 over to partition 3, and then merge the newly open space where partition 2 used to be?  Note: I do not have the space to copy partition 2 to partition 3 (2 is 200GB and 3 is 65GB). Do supply lines share stored items between settlements? I can setup a supply line to share crafting material between settlements. But does this also share any buildings/crafted entities I stored in the settlement?    If not, is there some other way to move them between settlements? Beamer item balls go missing while compiling in XeLateX since yesterday's TeXlive update, however, the same code works with pdfLaTeX. Any solution, please. Here is my MWE: \documentclass{beamer}  \setbeamertemplate{itemize item}[ball] \setbeamertemplate{enumerate item}[ball]  \begin{document}  \begin{frame} \frametitle{A tested title} text \begin{enumerate}     \item this is an item \end{enumerate} text3 \begin{itemize}     \item this is an item \end{itemize} \end{frame} \end{document}