I'm in first year. Our class is in lesson " Heat and Thermodynamics". While solving a numerical problem of a reversible engine he told us that 100 degree Celsius is equal to 100 kelvin. I inquired but could not get satisfactory answer. Pleas help me understand it.  Here is the numerical, please consider it: A reversibe engine works between two temperatures whose difference is 100c. If it absorbs 746J of heat from the source and rejects 546J to the sink, calculate the temperature of the source and the sink. Ans (100°C, 0°C)
I'm in first year. Our class is in lesson " Heat and Thermodynamics". While solving a numerical problem of a reversible engine he told us that 100 degree Celsius is equal to 100 kelvin. I inquired but could not get satisfactory answer. Pleas help me understand it.  Here is the numerical, please consider it: A reversibe engine works between two temperatures whose difference is 100c. If it absorbs 746J of heat from the source and rejects 546J to the sink, calculate the temperature of the source and the sink. Ans (100°C, 0°C)
Batch fit images into ratio with blurred background I need to resize a lot of images into a 4:3 ratio with the desired effect.  Is there a way to do this using photoshop actions? (the background can be scaled or two copies moved to the sides, either way works)     image credits: Can a matrix have a null space that is equal to its column space? I had a question in a recent assignment that asked if a $3\times 3$ matrix could have a null space equal to its column space... clearly no, by the rank+nullity theorem... but I have a hard time wrapping my head around the concept of such a matrix, no matter what size, even existing. How could this be possible, and does anybody have an example of such a $m\times n$ matrix? Windows Spotlight Source and Save locations? Because of  I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package.   How can this be achieved? I am trying to adapt an existing code to a 64 bit machine. The main problem is that in one function, the previous coder uses a void* argument that is converted into suitable type in the function itself. A short example:  void function(MESSAGE_ID id, void* param) {     if(id == FOO) {         int real_param = (int)param;         // ...     } }   Of course, on a 64 bit machine, I get the error:  error: cast from 'void*' to 'int' loses precision   I would like to correct this so that it still works on a 32 bit machine and as cleanly as possible. Any idea ? My overall upgrade went well, but I am left with a critically lingering issue of mysql-server not being able to install itself, and nothing I am trying gets it to work.  This is the error I see when trying to install/reinstall it:  Setting up mysql-server-5.7 (5.7.11-0ubuntu6) ... Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing package mysql-server-5.7 (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.7; however:   Package mysql-server-5.7 is not configured yet.  dpkg: error processing package mysql-server (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                    Processing triggers for systemd (229-4ubuntu4) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing:  mysql-server-5.7  mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)   I've tried completely removing it, though doing so attempts to install MariaDB because of dependencies (?). Any suggestions on what I can do to fix this would be most welcome.  EDIT: Looks like I'm not the only one: Should I use exit() or just return statements in main()? Personally I favor the return statements because I feel it's like reading any other function and the flow control when I'm reading the code is smooth (in my opinion). And even if I want to refactor the main() function, having return seems like a better choice than exit().  Does exit() do anything special that return doesn't? How to prove this binomial identity $\sum_{r=0}^n {r {n \choose r}} = n2^{n-1}$? Is my baby's gender an example of Schrodinger's cat? I installed Redhat 6 x86_64. I am using the Network connection screen to set a static IP address like below (I want two PC's in my house to see each other: one Redhat PC and one Mac)   192.168.0.5   255.255.255.0   192.168.0.1     When I run ifconfig it displays only lo and virbr0 information. I don't know what these items are (I don't really know much about network settings).   When I try ifconfig -a it displays eth0, lo, sit0 and virbr0. The information for  eth0 is as follows:   Link encap : Ethernet HWaddr 90:2B:34:74:05:30 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:192 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 frame:0 collisions:0 txqueuelen:1000 RX bytes 53811 (52.5 KiB) TX bytes:468 (468.0 b) Interrupt:29 Base address:0xc000   Could someone help me to point out if anything wrong with my setting or how to resolve this problem? As I'm learning about iptables I've made a couple of mistakes and locked myself out.  What method(s) do you use to test rules without locking yourself out?  I'm using ubuntu server 12.04 LTS    All the answers below were helpful.  In the end I used a combination of options.  It also helps to have IPMI access to your remote server just in case!  But ideally test the rules locally on a replicated environment and test that first.  Vagrant helps in this regard to get test setups working quickly. LM317 getting hot Should an LM317 (specifically a ) rated for 500ma output current really be getting hot to touch when only pulling 170ma at 5V?  Package is SOT-223, input is 9V.  Is this normal? What is bracketing? I have seen this term a lot and I was wondering what, in basic terms, what bracketing/autobracketing is.  Also, why would one want to 'bracket'?  P.S. - there are other questions asking what DoF and WB bracketing is but none asking quite the same as this. Show that $\lim_{x \to +\infty}\left(f(x)+f'(x)\right)=0 \Rightarrow \lim_{x \to +\infty} f(x)=0$ How to show that $\lim_{x \to +\infty}(f(x)+f'(x))=0 $ implies $\lim_{x \to +\infty} f(x)=0$? Why there are real numbers with infinite digits, but no such natural numbers (or another reason why real numbers are uncountable) This question is me trying to understand (again) why there can be no one-to-one correspondence between the sets of natural and real numbers.  The source of confusion is this: if we abstract completely from the properties and operations on numbers and just think of them as strings of digits, it appears to be possible to list all the real numbers between $0$ and $1$ and all positive integers having the same digits in the same (or reverse) order, for example:  $$0.1 \to 1$$  $$0.01 \to 10$$  $$0.0101 \to 1010$$  $$0.110101 \to 101011$$  I use binary expansion for simplicity.  Since irrational numbers have infinite expansions, we would have to consider some kind of 'infinite natural numbers', like:  $$101110001\dots$$  or  $$\dots101110001$$  I think the main (and only) reason why such numbers don't exist is this requirement:   We need the sets of real and natural numbers to be ordered. We need to be able to do arithmetics on real and natural numbers.   Obviously, if we consider any of two types of 'infinite natural numbers' and the usual absolute value, we find that it's impossible to order them, or do arithmetics with them.  The only way is to change the norm (to $p-$adic norm for example).  While with the real numbers it's still possible to order them, and do arithmetics with them when they have infinite amount of digits in their expansion (or at least in principle).     Is my reasoning correct? Are the two requirements (ordering and arithmetics) enough to explain why natural numbers with infinite amount of digits do not exist, while real numbers do?   This confusion is not restricted to me alone, see  for example How to find orphaned files and images which are not linked from any css stylesheet or from any node? Is there a way to list all unused files which reside inside public file system and inside a theme directory and list them, or maybe even have an option to delete them automatically?  I mean files which are currently not linked from any css stylesheet or from any node. $f$ bounded but $f'$ isn't Deleting comment removes "Add comment" link on Mobile If I delete a comment on the mobile version of the site (at least if it's the only comment on an answer), the "Add comment" link will vanish along with the comment, so I have to reload to leave another comment.     but got declined as , which is why I'm reposting this (as it may well be a new bug with the same symptoms).  I'm using Firefox 32.0.3 on Android. There's a fairly standard two or three-semester curriculum for introductory quantum field theory, which covers topics such as:   classical field theory background canonical quantization, path integrals the Dirac field quantum electrodynamics computing $S$-matrix elements in perturbation theory, decay rates, cross sections renormalization at one loop Yang-Mills theory spontaneous symmetry breaking the Standard Model   What is a good, complete and comprehensive book that covers topics such as these? See permissions for new files on a given directory I don't understand how my Linux machine is operating on new files.   I have an Amazon Linux AMI (RHEL based distro) and when I execute umask I get 0002, so I get whenever I create new stuff other users won't get write access.  But then I go to my home directory and I type:  $ mkdir myDir $ touch myDir/myFile $ ls -l | grep myDir   and I get  drwxrwxr-x 2 myself myself 4096 May 11 22:37 myDir   and for the folder:  $ ls -l myDir -rw-rw-r-- 1 myself myself 0 May 11 22:37 myFile   So apparently there's more going on there then my umask, since myFile permissions are more restrictive than just write protection.  Digging deeper, if I try:  $ sudo touch /var/run/myPidFile.pid $ ls -l /var/run/ | grep myPidFile.pid -rw-r--r-- 1 root    root       0 May 11 22:42 myPidFile.pid   So myPidFile.pid gets a much more restrictive default permission, under /var/run then myFile gets under my home folder.  We could blame the root umask but if I run umask under root I get 0022 which is indeed more restrictive then my user's 0002 umask but still doesn't explain how the execution bit permission isn't set.  So how can I understand a folder's default permission on Linux?