How can I get the client's IP address in a PHP webservice?
How to get the client IP address in PHP
What USB drive filesystem works out of the box on Windows, Linux, and OS X? How prove this nice limit $\lim\limits_{n\to\infty}\frac{a_{n}}{n}=\frac{12}{\log{432}}$ Nice problem:  Let $a_{0}=1$ and $$a_{n}=a_{\left\lfloor n/2\right\rfloor}+a_{\left\lfloor n/3 \right\rfloor}+a_{\left\lfloor n/6\right\rfloor}.$$  Show that  $$\lim_{n\to\infty}\dfrac{a_{n}}{n}=\dfrac{12}{\log{432}},$$  where $\lfloor x \rfloor$ is the largest integer not greater than $x$.  It is said this problem was created by Paul Erdős, and I can't find this problem's solution, does anyone have any nice methods? Thank you. C# Mono - Low Level Keyboard Hook I need to render a model on a transparent background. The models have a light source so they should be casting a shadow on a surface (the XY plane). The purpose for this is to overlay the rendered images (out of blender) on an image of the actual surface, so I want to generate the render including a semi-transparent shadow.  I don´t have any problem rendering the models on transparent background, but I can not make a shadow appear. I tried adding a surface below the model so the shadow can fall on it, but now there's the problem of keeping the surface from rendering.  How can I render the shadow on a transparent background? How to render an object with both a base mesh wireframe and subdivision surface wireframe? Definition of $\mathbb{R}^\infty$ Excel function that evaluates a string as if it were a formula? Miktex Package Installation I recently installed MiKTeX with the texmaker editor and cannot figure out how to update the packages. When I attempt to use the subfigure package with the following preamble  \documentclass[a4paper,12pt]{article} \usepackage[english]{babel} \usepackage{graphicx} \usepackage{subfigure}   I then get a prompt to install a new package, which I then set to the online directory at ctan. I then get the following error:   ! LaTeX Error: File `subfig.sty' not found.Type X to quit or &lt;RETURN&gt; to proceed,or enter new name. (Default extension: sty)Enter file name:! Emergency stop.&lt;read &gt;   How do I properly install packages to miktex? I'm absolutely confused. Thanks in advance for any help. SD card not showing files when connected to pc Why could centering independent variables change the main effects with moderation? CPU Emulation and locking to a specific clock speed If you had read my other , you'll know I've spent this weekend putting together a 6502 CPU emulator as a programming exercise.  The CPU emulator is mostly complete, and seems to be fairly accurate from my limited testing, however it is running incredibly fast, and I want to throttle it down to the actual clock speed of the machine.  My current test loop is this:      // Just loop infinitely.     while (1 == 1)     {                         CPU.ClockCyclesBeforeNext--;          if (CPU.ClockCyclesBeforeNext &lt;= 0)         {             // Find out how many clock cycles this instruction will take             CPU.ClockCyclesBeforeNext = CPU.OpcodeMapper.Map[CPU.Memory[CPU.PC]].CpuCycles;              // Run the instruction             CPU.ExecuteInstruction(CPU.Memory[CPU.PC]);              // Debugging Info             CPU.DumpDebug();             Console.WriteLine(CPU.OpcodeMapper.Map[CPU.Memory[CPU.PC]].ArgumentLength);              // Move to next instruction             CPU.PC += 1 + CPU.OpcodeMapper.Map[CPU.Memory[CPU.PC]].ArgumentLength;                                                 }     }   As you can tell, each opcode takes a specific amount of time to complete, so I do not run the next instruction until I count down the CPU Cycle clock. This provides proper timing between opcodes, its just that the entire thing runs way to fast.  The targeted CPU speed is 1.79mhz, however I'd like whatever solution to the clock issue to keep the speed at 1.79mhz even as I add complexity, so I don't have to adjust it up.  Any ideas? Which comes first: cat or dog? Which comes first in a sentence?  I know some word pairs such as bacon and eggs, where bacon always comes first. E.g:     Make me bacon and eggs for dinner, honey.   Cats and dogs are the two most common pets I know of. What is the preferred order?   Dogs are superior.     Don't put dogs and cats together, they might fight!  Cats are superior.     Don't put cats and dogs together, they might fight! Can a fired moderator be elected as a moderator? While this question is inspired by recent events, it is an independent question and not tied down to any specific moderator or situation.  There's precedent for a moderator who resigned their diamond to simply ask Stack Exchange for their diamond back, without having to stand for reelection. Obviously, this may not apply if the moderator did not resign, but was removed for cause by Stack Exchange.  If a moderator has been "fired" by Stack Exchange (has had their diamond removed involuntarily by corporate action), is the person eligible to pull a  and regain a diamond through the democratic process on one of our sites, or would any such attempt be blocked? I'm aware that there is a restriction on  from standing for election, but this is not the same thing as being stripped of a diamond (fired moderators, IME, aren't also given a full site suspension unless their behavior goes beyond "possibly not a very good moderator" into "supervillain" territory).  If there is no particular rule, what should that rule be?   Should fired moderators be immediately eligible to stand for election, subject only to community approval of them returning? Should fired moderators have to go through a separate re-vetting process with Stack Exchange to regain eligibility to stand for office? Should fired moderators have an ineligibility window in a similar way that suspended users have one (e.g. after X months or years after being fired, they may stand for election). Should fired moderators be forever banned from election?   In no way am I asking about the process for a fired moderator to seek restoration through corporate appeals, etc. I'm asking only about the community election process - if a site's community wants to elect a previously fired moderator, is this inherently objectionable to Stack Exchange? QR Codes generation from MySQL rows For example I want to use \iint from ams package  and also mathabx package in one file together. Actually I want a command that neutralizes ams package effect and replace it with mathabx package effect from here on in my file. Thanks for your responsibility.  This is my example minimal file:  \documentclass[12pt,a4paper]{report} \usepackage{amsmath}  \usepackage{mathabx}  \begin{document} i want this one in ams style:        \[ \iiint\,\iiint\, \iiint\,\oint\, \] text text text text text text text text text text text text   and this one in mathabx style:   \[ \iiint\,\iiint\, \iiint\,\oint\, \]   but both of them are the same and i don't like it ..... \end{document} I am aware it is common practice to standardize the features for ridge and lasso regression, however, would it ever be more practical to normalize the features on a (0,1) scale as an alternative to z-score standardization for these regression methods? When should a verb be followed by a gerund instead of an infinitive? When Ron broke his wand, why didn't he apply for Hogwarts financial aid? How can I stop fish from sticking to a stainless steel pan? I think Anne Burrell lied to me. She said fish will always stick to a stainless pan. This is true. No matter how well I lubricate my pan, my fish will always adhere like cement. She also said that the pan will release the fish "when it's ready." Maybe meaning it will eventually become unstuck when the fish is done cooking? Well, I've tried that, and it never works. No matter how long I wait, it never becomes unstuck. Most recently I gave it as much time as I could. When I finally chiseled it off the pan, tearing it apart in the process, I saw that it was starting to burn on that side. I've started going back to non-stick until I get this figured out.  Are there any tips? Am I heating the pan wrong? Does it help to slide the fish around a bit after putting it in the pan? I have a Python module installed on my system and I'd like to be able to see what functions/classes/methods are available in it. I want to call the help function on each one. In Ruby I can do something like ClassName.methods to get a list of all the methods available on that class. Is there something similar in Python? eg. something like: from somemodule import foo print(foo.methods)  # or whatever is the correct method to call