How to install Ubuntu to use only part of a disk
How to use manual partitioning during installation?
Can I use lens brand X on interchangeable lens camera brand Y? Variable amount recurring billing Hi i'm looking for a payment gateway that can do recurring billing that changes month to month.  Fogbugz do this, they charge based on how many active users there were that month. All of the APIs that i've found only let you set a fixed amount and it's difficult/impossible to vary the subscription amount month to month.  Has anyone come across any services that do this? Is it possible to use the fact that $\sum_{n=1}^\infty \frac{1}{n^4} = \frac{\pi^4}{90}$ to compute $\sum_{n=1}^\infty \frac{(-1)^n}{n^4}$? How Can I Butcher Animals en Masse? So, my friend just implemented a bunch of new mods into his SMP server, which meant a host of new commands to play with.  I thought I'd give the /mobspawn command a few goes, and see what I could achieve.  So I headed off to the server's jail (I forget why this particular location compelled me), and gave it a few spins.    I seem to have made a bit of an error in judgement.     What can I do to get rid of this mess?  Is there a command or some other technique I can use to clear out any mobs in my immediate vicinity? Has anyone used PostgreSQL with PostGIS successfully?   I am a semi-experienced ArcGIS user and want to build out a database and connect it to ArcCatalog.   I've scoured the internet for resources but nobody has really given a good walkthrough. Functions vs. patterns I'd like to be able to tail the output of a server log file that has messages like:  INFO SEVERE   etc, and if it's SEVERE, show the line in red; if it's INFO, in green.  What kind of alias can I setup for a tail command that would help me do this? No connection could be made because the target machine actively refused it (PHP / WAMP) Word for "things which exist" How to Create a Grid Inside a Polygon that is Oriented with the Longest Side? I have been using a process called "Create Polygon Graticule" to create a grid within a polygon with assigned row and column attributes. It is a SAGA tool which I have been running in QGIS. It generates a grid based on the extent of the input polygon with the cell running N to S and E to W. It would be better for my analysis if the direction of the grid was parallel to the longest edge of the polygon. For reference I have attached images of the current automated output and an output that I manually altered to align the grid with the polygon. The grids originally covered the entire extent of the polygon but have been clipped to show only the cell parts that are inside.    Above image is what the tool out puts by default.   This is an image of a grid that was edited manually to fit the necessary parameters.  My question is, is there a way to produce grids that are aligned such as the one in the second image in an automated fashion? I will need to generate grids for a few thousand polygons. Can I change the color of the last selected face? How to recognise/thank great cabin crew? Those of us who fly a lot will know that there is a bit of a variety in cabin crew. Some (sadly more common on certain airlines) do the very bare minimum to ensure a safe flight, but nothing more. Many (especially on airlines noted for good customer service) provide a good service.  Every so often though, you come across a flight crew who go the extra mile. These are the ones always friendly, always helpful, always thinking ahead and solving the problem before it has happened. One moment they're serving you your drink, the next reassuring a little old lady about the flight, the next magicing a colouring book to turn an impending toddler crisis into a happy small child, then answering queries on arrivals and immigration for a first time travaller, then back to offer you a top up of what you're drinking (which they've remembered exactly). Not very often found, but very much appreciated when you happen across them on your travels!  In the case when you do luck out and find yourself on a flight with a great cabin crew (who go well beyond what you normally experience as "good" on that airline/kind of airline), is there a standard/common way to recognise them at the end of the flight? Not just to thank them then and there, but also to let the airline know that this person/group are what the rest of their staff should be aspiring to. Is there any standard way, or does it vary entirely by carrier? How to create a GUID/UUID in Python How do I create a GUID in Python that is platform independent? I hear there is a method using ActivePython on Windows but it's Windows only because it uses COM. Is there a method using plain Python? Adding unknown (at design time) properties to an ExpandoObject Can I pass a System.Net.MailMessage to a WCF service? I'd like to setup a WCF service to send emails. The System.Net.MailMessage doesn't seem to be serializable, and cannot be passed in a [DataContract]  The error I receive is      Type 'System.Net.Mail.MailAddress'   cannot be serialized. Consider marking   it with the DataContractAttribute   Any suggestions? Generate a comma-separated list of cell contents, excluding blanks To concatenate a certain four cells, I'd use:  =CONCATENATE(A2,",",C2",",D2,",",F2)   This would make it so that...   A2 = "Matthew" C2 = "Mark" D2 = "Luke" F2 = "John"   would result in Matthew,Mark,Luke,John.  But we run into problems with something like...   A2 = "Jesus" C2 = "" D2 = "Mary" F2 = "Joseph"   which would result in Jesus,,Mary,Joseph.  Here, the extra comma is undesired. Is there a way to gracefully handle this so that all non-blank cells are included in the comma-separated list, while avoiding the addition of unnecessary commas when some cells are blank?  Certainly, this can be done with a fair number of nested IFs, but I really want to avoid that if possible. Can it be done with native Excel functions, or perhaps an array formula? Or would one have to resort to VB Script for something like this? How would I find a minimum weight spanning tree for W? How to increase battery life on Ubuntu 20.04 and what power saving software should I install, if any? I recently installed Ubuntu 20.04 LTS on my Lenovo Ideapad Flex 5 and realized that battery life in Ubuntu is not as good as Windows. The battery drains faster in Ubuntu. I have seen the questions in Ask Ubuntu about this, but I haven't found anything that regards Ubuntu 20.04 LTS. I've done some research and found out that the battery drain is because most vendors optimize their drivers for Windows and with Linux, you have to hope that the kernel drivers do the job (which they usually do). After that, I researched how to increase my battery life and almost all sources I found recommended installing tlp or powertop or something similar to these. But I have a few questions.  Does tlp, powertop, and similar software actually affect battery life?  If the answer to 1 is yes (in a positive way), what would you recommend I install (such as whether I should  install tlp or powertop by itself or in a combination)?  Are there any other ways to increase battery life in Ubuntu 20.04?   Note: I am a beginner to Linux and Linux distros and do not want to mess with anything advanced that may negatively affect the system. I may not be able to immediately know how to tweak any of the aforementioned software, so please suggest any tweaks if they are needed to get results. And if it helps to know, here are my system specs: OS: Ubuntu 20.04.1 LTS x86_64 Host: 81X2 IdeaPad Flex 5 14ARE05 Kernel: 5.7.17-050717-generic CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz GPU: AMD ATI 04:00.0 Renoir (These were given by neofetch) P.S: If you need anything else, just ask. Thanks in advance! Unable to preserve ownership in a copy but able with a move? If $f$ is measurable and $fg$ is in $L^1$ for all $g \in L^q$, must $f \in L^p$? Let $f$ be a measurable function on a measure space $X$ and suppose that $fg \in L^1$ for all $g\in L^q$. Must $f$ be in $L^p$, for $p$ the conjugate of $q$? If we assume that $\|fg\|_1 \leq C\|g\|_q$ for some constant $C$, this follows from the Riesz Representation theorem. But what if we aren't given that such a $C$ exists?