Texture doesn't have the texture but only the texture color
How to show textures in the 3D View editor?
What is the difference between Halt and Shutdown commands? I am trying to show the current date in my JSP page using JSTL. below is the code I am using.  &lt;jsp:useBean id="now" class="java.util.Date" scope="request" /&gt; &lt;fmt:formatDate value="${now}" pattern="MM.dd.yyyy" /&gt;   But the above code is not producing any results? Am I missing anything here or is there any better approach for this? I am using JSTL 1.1. For example:     Is (A &or; B &or; C) &and; (D &or; E &or; F) the same as   (A &and; D) &or; (A &and; E) &or; (A &and; F) &or; (B &and; D) &or; (B &and; E) &or; ( B &and; F) &or; (C &and; D) &or; (C &and; E) &or; (C &and; F)?   How would I check equivalence in general? In the case of languages with a C-like syntax, we declare the main() method to return an int or float value (or void).  Is it possible to declare a non-void return type from main() in Java?  If not, then why not?  Does this mean that a Java program doesn't return any value to the OS? What makes Stealing Signs wrong? Java: Detect duplicates in ArrayList? How can I add a new user as sudoer using the command line? After I add a user using adduser, I can't see it via System > Administration > Users and Groups unless I log out and then log in again. Is that normal?  Also, can I set a newly added user as a sudoer or do I have to change that only after adding it? How can I do that via the shell?  Finally, can I delete the original user that was created upon initial installation of Ubuntu, or is this user somehow 'special'? What is the limit of $n \sin (2 \pi \cdot e \cdot n!)$ as $n$ goes to infinity? I tried and got this   $$e=\sum_{k=0}^\infty\frac{1}{k!}=\lim_{n\to\infty}\sum_{k=0}^n\frac{1}{k!}$$ $$n!\sum_{k=0}^n\frac{1}{k!}=\frac{n!}{0!}+\frac{n!}{1!}+\cdots+\frac{n!}{n!}=m$$ where $m$ is an integer. $$\lim_{n\to\infty}n\sin(2\pi en!)=\lim_{n\to\infty}n\sin\left(2\pi n!\sum_{k=0}^n\frac{1}{k!}\right)=\lim_{n\to\infty}n\sin(2\pi m)=\lim_{n\to\infty}n\cdot0=0$$  Is it correct? PHP syntax for dereferencing function result GCD of rationals Disclaimer: I'm an engineer, not a mathematician  Somebody claimed that $\gcd$ only is applicable for integers, but it seems I'm perfectly able to apply it to rationals also:    $$ \gcd\left(\frac{13}{6}, \frac{3}{4} \right) = \frac{1}{12} $$  I can do this for a number of cases on sight, but I need a method. I tried Euclid's algorithm, but I'm not sure about the end condition: a remainder of 0 doesn't seem to work here.    So I tried the following:    $$\gcd\left(\frac{a}{b}, \frac{c}{d} \right) = \frac{\gcd(a\cdot d, c \cdot b)}{b \cdot d}$$  This seems to work, but I'm just following my intuition, and I would like to know if this is a valid equation, maybe the correct method. (It is in any case consistent with $\gcd$ over the natural numbers.)  I'm not a mathematician, so please type slowly :-) Can I prevent enumeration of usernames on my wordpress site? I can see users at the moment using the WPScan tool. So, i want to make a timer that will turn on/off a circuit. I want to turn on the connected device at 08:00 and stop it at 20:00, so the interval is 12 hours. Correct me if i'm wrong but i can't use IC 555(or another IC), i'll need some huge resistors/capacitors. Is there another way to build that other than using a microcontroller? Who is the Maker? C-3PO frequently speaks of “the Maker.” Is this a true droid religion, or is this a religious reverence by droids for their specific creators (in this case, Anakin, even though C-3PO has forgotten who he is)? Is this even a droid thing or is it just C-3PO? What else do we know about this “Maker”-worship? How to prevent system applications (like the Software Center) from asking for password? How to achieve this smudge effect in photoshop? How to check file types of uploaded files in PHP? On the PHP website, the only real checking they suggest is using is_uploaded_file() or move_uploaded_file(), . Of course you usually don't want user's uploading any type of file, for a variety of reasons.  Because of this, I have often used some "strict" mime type checking. Of course this is very flawed because often mime types are wrong and users can't upload their file. It is also very easy to fake and/or change. And along with all of that, each browser and OS deals with them differently.  Another method is to check the extension, which of course is even easier to change than mime type.  If you only want images, using something like getimagesize() will work.  What about other types of files? PDFs, Word documents or Excel files? Or even text only files?  Edit: If you don't have  or  and system("file -bi $uploadedfile") gives you the wrong file type, what other options are there? Is it worth self-funding a PhD to attend a top 10 university? What should I opt for?   Option A) very well paid PhD, around €3000 per month at a respectable university or;  Option B) a non-paid PhD, where I have to pay €2000 per year at one of the top 10 universities of the world?  EDIT: Actually they are both UK universities, Option B  is ranked between the top 10 in the world in engineering and tech, and I do get a scholarship that pays 18000 pounds which covers the difference between international student tuition and EU tuition. In Option A, I will be doing research in a good university and will be working alongside giants in the industry. dpkg: error: dpkg status database is locked by another process I just wondered if somebody could tell me what this means:  E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. reidsr@ubuntu:~$ sudo dpkg --configure -a dpkg: error: dpkg status database is locked by another process reidsr@ubuntu:~$    How do I run sudo dpkg --configure -a  manually? incoming mail just sits in the drop folder I want a document library to recieve email and store it so followed the steps outlined here:   I seem to be a bit stuck.  The mail's being delivered to the machine and it's appearing as .eml files in the drop folder, so SMTP and delivery is OK.    I assume Sharepoint's supposed to pick up the file, stick it in a library and delete it, but it doesn't, the mail file just sits there.  Nothing in the logs, obviously.  I haven't set this up before, how often does the timer service come about and pick up the mail? Add a confirmation before moving comments to a chat