find all circles intersecting another in a table
Postgis, get the points that are x meters near another point, in meters
Equivalent of shell 'cd' command to change the working directory? cd is the shell command to change the working directory. How do I change the current working directory in Python? Homework - set theory infinite union A question from my homework I'm having trouble understanding. We are given:  $A(1) = \{\varnothing\}$, $A(n+1) = A(n)\cup (A(n)\times A(n))$  $A=A(1)\cup A(2)\cup A(3)\cup \cdots \cup A(n)\cup A(n+1) \cup \cdots$ to infinity  The questions are:  1) show that $A\times A \subseteq A$  2) Is $A \times A = A$?  Thank you for your help.  I've tried writing $A(2)$ but it gets really complicated and I'm having trouble understanding what the sets are. Let alone solve the question. I want to switch to French locale. So I tried the below command:  myUbundu@myUbundu-desktop:~$ export LC_ALL=fr_FR   But I am getting the warning  -bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR)   How to set the locale to French? Do I need to install additional packages? How to distribute the objects on a sphere evenly? I want to replicate this mesh -    I think the best way is using a particle system of cubes. So I need to create a sphere of simple circles. It is necessary that in each circle the vertices are at equal distance from each other. But I don't know how to create those circles. counting proof for $\sum_{k=0}^{n-1} 2^{k} = 2^n - 1$ I was hoping someone could help me come up with a combinatorial proof, one with an easy to understand 'story' for $\sum_{k=0}^{n-1} 2^{k} = 2^n - 1$. For instance I understand that $2^n$ is the number of possibilities when creating subsets of size $n$. For example, if you're given a choice of any topping on a pizza, and you can only have said topping once (decide to include or exclude) then you have $2^n$ choices. But I'm not sure how the $-1 $ would be incorporated, or why the LHS would be $1+2+4+8+...+2^{n-1}$ having bracket in front of an item How can I check the SMART status of a SSD or HDD on current versions of Ubuntu 14.04 through 20.04? What antivirus programs are available for Ubuntu?  We previously used Symantec Endpoint Protection but it does not work in Ubuntu. A group is generated by two elements of order $2$ is infinite and non-abelian I have an iPhone 6 128 GB which is not jailbroken. The current version of iOS on the phone is 8.1.3 and yesterday I wanted to update to iOS 8.2.  The download went through without any problem but while installing, it gave the error:     Unable to Install Update   An error occurred installing iOS 8.2   Tried installing after switching Off and ON and also tried Hard Reset (Holding Home button and On/off switch).  Same error displays every time.  Also the Touch ID has stopped working and I find that the Settings - Touch ID &amp; Passcode - iPhone Unlock is OFF.  When I try to switch it ON, the system displays the error     Failed   Unable to complete Touch ID setup. Please go back and try again.   Is anyone facing this problem?  I live in India. Last time I asked a similar question but that was about svn related versioning info. Now I am wondering how to query windows "File version" attribute about eg. a dll. I payed attention to wmi and win32file modules as well without success. I'm trying to install Ubuntu 12.10 alongside Windows 7 on my ASUS laptop and I'm new to all of this.   I'm using  the Ubuntu 12.10 64-bit ISO burned onto a CD.  The first time I tried to install it, Ubuntu said it did not detect any other OS, which meant I only had 4 options:   Erase disk and install Ubuntu (I don't want to do this) Encrypt new Ubuntu. Use LVM. Something else.   If I choose the Something else option, it brings me to the partition menu and says that I have 1 disk with free space of 750516Mb (750Gb), but that's not true because I have Windows 7.  I've already read through several questions and people have mentioned that you could only have 4 primary partitions. So I got hold of partition magic and removed my D: and E:, leaving me with primary C: partition and System reserved partition and a lot of unallocated space.  I restarted the laptop several times and booted the CD again and I got exactly the same as I did previously.  How do fix this problem and install Ubuntu alongside Windows 7?  EDIT 1  Here are my results for   sudo fdisk -l; echo; sudo parted -l; echo; mount; echo; df -h   WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x90050371     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT /dev/sda2          206848   146368214    73080683+   7  HPFS/NTFS/exFAT  Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables.  Or perhaps you deleted the GPT table, and are now using an msdos partition table.  Is this a GPT partition table? Yes/No?     After selecting YES  Yes/No? yes                                                                Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used. OK/Cancel? I've got a project where I'm looking to tweak the standard lead conversion process.   Triggers and lead conversion has always been funky in past projects so I was hoping to start the design off by reviewing the order of execution, but after a long google search I'm coming up empty handed.   Anyone out there know the specific trigger order for lead conversion?    Edit: I'm not asking about trigger execution order for any object, but all the objects created in the lead conversion process.  I'd think it would be something like this:        Lead Before Update Triggers (isConverted = false, convertedAccountId = null, convertContactId = null, convertedOpportunityId = null)         Account Before Insert Triggers (not fired if merged with existing account)   Account After Insert Triggers (not fired if merged with existing account)   Contact Before Insert Triggers (not fired if merged with existing contact)   Contact After Insert Triggers (not fired if merged with existing contact)   Opportunity Before Insert Triggers (not fired if no opportunity) (OpportunityContactRoles null)   Opportunity After Insert Triggers (not fired if no opportunity) (OpportunityContactRoles = convertedContactId)   Lead After Update Triggers (isConverted = true, convertedAccountId = XXX, convertedContactId = XXX, convertedOpportunityId = XXX) How to control fan speed? How can I control the computer's fan speed?  On Windows there is a wonderful program called . How can I get list of symbols, abbreviations, abstract, acknowledgements into Table of Contents before Introduction, and under roman numerals? Simple question.   SO had turned me into a better developer by far, I like to browse questions that strike my interest and curiosity and just read through the answers. I never fail to learn something new everyday, whether it's something trivial or something much more complex.  When I receive reputation it means a lot to me, almost a self achievement of sorts. Something I can show to someone to prove my "worth". I think it works for me as a great confidence booster, also its something I can show my friends who don't understand what I do.   It almost feels like I can finally have something to back me up if need to be.  So the question is what does YOUR reputation mean to YOU? Is it simply a number, is it a score as if you're playing a game, or does it help you mentally achieve your goals and improve yourself like it does for me. How to calulate mosfet response time with load? I would like to calculate the response time of a PMOS circuit and of the circuit  Could you tell me how to do it?    I'm using this transitor.   I tried to use the rise time of the PMOS to find it can switch (and i don't know if that's the good way), but I don't now the results with the load. CL en RL. I assume CL at t=0ms is equal to 0V. I tried to use dv/dt, but I failed VIN1 = 28V. VCMD is a command  Thanks.  edit: I made a mistake. The Zener is also connected to the source. Sorry Shared library mappings in /proc/pid/maps Why does /proc/pid/maps contain a few records for the same library ? Here is an example:  7fae7db9f000-7fae7dc8f000 r-xp 00000000 08:05 536861                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 7fae7dc8f000-7fae7de8f000 ---p 000f0000 08:05 536861                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 7fae7de8f000-7fae7de97000 r--p 000f0000 08:05 536861                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 7fae7de97000-7fae7de99000 rw-p 000f8000 08:05 536861                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20   What does this mean ? Can I travel to Schengen countries that were not on my itinerary when I applied? Follow a pipe using less? Can less follow (by pressing F) a piped input (similarly to a file)? For a file that is being written to, the command  less &lt;file&gt;   will follow the file when pressing F.  But if I have a command that pipes output directly into less, like this  command | less   pressing F will do nothing.  So it looks like pipes cannot be followed like files can? Or maybe it has to do with command also writing to STDERR? The effect I'm trying to achieve is always see the latest output of the command: just like keeping PageDown pressed!  A related remark holds for G (go to end): when piping directly to less, it won't work.