main is not a keyword in java.  How does the JVM know to execute the main method as the starting point of any program?
So far I've been using public void run() {} methods to execute my code in Java. When/why might one want to use main() or init() instead of run()?
Can I install Python 3.x and 2.x on the same Windows computer? Is there any freely available pointcloud data?   I'm especially interested in dense clouds of small areas(5m to 100m radius) but anything else would be fine too.   I've found that these pages have very nice and easy to access point cloud data. Use character string as function argument How to self study Linear Algebra I have no idea if this question is appropriate for this forum, but I hope you guys can overlook the fact that I asked it on a wrong forum (if I did) and still help me answer it (of course, if this is indeed the wrong forum for the type of question I'm about to ask, do please say so).  I am a 16 year old guy who is passionate about physics and as a result wants to increase his knowledge in mathematics, the language of physics. I've read and heard a lot about Linear Algebra and how crucial it is to physics and I am deeply motivated to self study this intriguing part of mathematics. However, I have limited knowledge of maths. I (for example) know basic algebra, trig, diff/int calc and some analytical geometry, but I wouldn't say I master these subjects past the high school curriculum. Now my question is: Would you kind people say I am able to self study Linear algebra or is it too tough and/or does it require too much of a math background? And are there any good books out there for BEGINNERS in LA? I found this (free) e-book called: Elementary Linear Algebra by Kenneth Kuttler and another one called 'Linear Algebra: Theory and its applications' also by Kuttler? Are these any good? Or would you recommend other books? If you guys have any tips regarding books for LA but also tips in general, please, I'd appreciate them! Why is there a mismatch between size reported by LVM and the size reported by df -h? I'm new to LVM and have been very confused by this:  I am transfering a large file to a partition that I thought had about 1.5 terabytes of space on it.  Near the end of the transfer, rsync exits with an error claiming that the partition is full.  I investigate and find the following:  $ sudo lvm lvs   LV        VG     Attr   LSize   Origin Snap%  Move Log Copy%  Convert   home      system -wi-ao  97.66G                                         log       system -wi-ao  48.81G                                         log.audit system -wi-ao   9.75G                                         root      system -wi-ao 341.59G                                         swap      system -wi-ao   4.88G                                         temp      system -wi-ao  97.66G                                         var       system -wi-ao   1.46T     This seems to imply that /var (the partition that I'm transfering to, has the amount of storage I expect.  However, then I see:  $ sudo df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/system-root                       331G  1.3G  313G   1% / /dev/mapper/system-temp                        95G  188M   90G   1% /tmp /dev/mapper/system-var                        95G   90G     0 100% /var /dev/mapper/system-home                        95G  188M   90G   1% /home /dev/mapper/system-log                        48G  264M   45G   1% /var/log /dev/mapper/system-log.audit                       9.5G  340M  8.7G   4% /var/log/audit /dev/sda1              99M   25M   70M  26% /boot tmpfs                 8.0G     0  8.0G   0% /dev/shm   I'm guessing this has something to do with the volume being resized at some point.  While I have reliable backups, I'd rather not interrupt services for the time it will take to get the backup and restore.  Thus, is there anyway to make the filesystem seen by the OS match the space available according to lvm without losing data? this code always returns 0 in PHP 5.2.5 for microseconds:  &lt;?php $dt = new DateTime(); echo $dt-&gt;format("Y-m-d\TH:i:s.u") . "\n"; ?&gt;   Output:  [root@www1 ~]$ php date_test.php 2008-10-03T20:31:26.000000 [root@www1 ~]$ php date_test.php 2008-10-03T20:31:27.000000 [root@www1 ~]$ php date_test.php 2008-10-03T20:31:27.000000 [root@www1 ~]$ php date_test.php 2008-10-03T20:31:28.000000   Any ideas? Remove all but numbers from NSString Testing for significance between means, having one normal distributed sample and one non normal distributed About two weeks ago I had a problem with my PC that my brother wrote a question about at .  I still haven't solved the problem, so my PC is unusable now.  Now I think that it would be simpler to re-install both Win7 &amp; Ubuntu than repair them, but there're some data on their partitions. I want to recover this data.  These partitions are not mountable for some reason. I don't know why.  sudo fdisk -l about the problematic partitions:     Device    Boot      Start         End      Blocks   Id  System /dev/sda1            2048     147912703    73955328   83 Linux /dev/sdb2            206848   174079999    86936576    7  HPFS/NTFS/exFAT   And in GParted:      And the error of the mount command:  Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?   And the exact same message for /dev/sda1  How can I recover my data from those HDDs?  EDIT     I have tried to specify the type of the drive:  $ sudo mount -t ext4 /dev/sda1 /olddisk mount: wrong fs type, bad option, bad superblock on /dev/sda1,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so $ sudo mount -t ntfs /dev/sdb2 /olddisk NTFS signature is missing. Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?   EDIT     sudo ntfsfix /dev/sdb2 returns:  Mounting volume... NTFS signature is missing. FAILED Attempting to correct errors... NTFS signature is missing. FAILED Failed to startup volume: Invalid argument NTFS signature is missing. Trying the alternate boot sector Unrecoverable error Volume is corrupt. You should run chkdsk. If $A$ and $B$ are positive definite, then is $B^{-1} - A^{-1}$ positive semidefinite? Hard disk file system is shown as Raw file system; how can I access it? $\epsilon$ undefined using Minion Pro with pdftex I'm using MiKTeX 2.9 and have recently installed the Minion Pro fonts for use with pdftex. I followed the instructions available on  to install them.  Everything works as expected, but in place of the Greek letter epsilon I get a box with a cross (see below), and the following warning:    I found the issue was reported , but I still can't fix it. xelatex works fine, but I'd like to to stick to pdftex so I can use microtype.  \documentclass{article}  \usepackage[T1]{fontenc} \usepackage{MinionPro}  \begin{document}  Text here. $\epsilon$  \end{document}       UPDATE: a set of instructions for the installation of the up-to-date FontPro scripts with MiKTeX can be found . Calculate difference between two dates (number of days)? What is IEEE 802.3 Ethernet's communication type: Synchronous or Asynchronous? In the IEEE 802.3 frame structure there is a 7 byte preamble section for synchronization. If it is really for synchronization does that mean Ethernet is synchronous and not asynchronous?    Ethernet structure for reference: maximal ideal not containing some expression Why is my USB drive showing corrupted data when plugged as an internal SATA drive? I have a 3TB Seagate Backup Plus Desktop USB 3.0 drive, which works fine when in its enclosure, but when I get it off its enclosure and directly plug it as an internal SATA drive, it's just not properly recognized (it works again when used in the enclosure). My systems’s motherboard is an , which has two SATA 6.0 Gb/s and four SATA 3.0 Gb/s ports.  When used as an internal SATA drive Windows 7 asks if I want to format the drive, as if it didn’t have a proper filesystem, and if I use the DISKMGMT.MSC tool (typing that in the start menu) I get completely wrong information about the drive.  It says the drive has 3 partitions (349,31GB of RAW data and two unassigned partitions of 1698,68GB and 746,52GB). This information is plain wrong, since the drive, when used in the USB enclosure, works as a single NTFS partition (2794,52GB). How come it’s shown as 3 partitions without filesystem when connected through SATA?!  Is Seagate using some proprietary way of storing the data when using the drive in its provided USB 3.0 enclosure? I didn’t use any kind of encryption. I just plugged the drive with USB 3.0 and started using it straight away, since it apparently came pre-formatted with an NTFS filesystem. No reputation for editing questions? Sci-fi book, blue critters than only some people can see, kids fight the critters as they feed off energy and are a threat I can't really remember how long ago it was, but I think the book was marketed towards children/teens.  All I remember is the basic premise of the story.  Some story about these unusual little blue electric critters that only certain people could see, and these kids took it upon themselves to go about destroying them since they fed off energy or something like that.  Not sure whether they fed off people or off electricity... or both maybe?  I think the dominant method of destroying them was an electric baton that was taken from law enforcement.  I wanna call them buzz batons, but that's probably thanks to Artemis Fowl. Using 'do' unnecessarily Often when I am on a flight, nearly every sentence I hear from the flight attendants contains an unnecessary emphatic auxiliary in its main clause; that is, an altogether unnecessary do or unnecessary emphasis on other auxiliaries:     We do apologise for the delay, which was due to technical issues, but we will be taking off shortly, and we do hope you enjoy the flight. We do ask you to fasten you seatbelt now, and if you do have any questions, we do hope you won't hesitate to ask us.   What is the purpose of this constant emphasis? My guess is it's supposed to somehow elevate their language to a higher register, but why do flight attendants in particular seem so fond of this? I've got a Windows 8 (not .1, not Pro; OEM with a Lenovo Z580 laptop), which I want to use for WP8 development.  I've read  and , and a few more articles.  I have enabled in BIOS what looks like it has to do with hardware virtualisation - "Intel Virtual Technology" (is this VMX?). No signs of EPT or XD.  I've got the four Hyper-V items in the enumeration that msinfo32 shows.  However, in the 'Control Panel/Programs and Features/Turn on|off windows features' list, I don't have Hyper-V.  Is this available at all on my machine, and if not what can I do to get it working?  Thanks in advance.