Within an arcpy script, I've set up categories using the style sheet found in the ArcGIS installation folder. I have a couple categories created within the tool validator.  .... def initializeParameters(self):     self.params[2].category = "Intersections"     self.params[3].category = "Intersections"     self.params[4].category = "Intersections"     self.params[5].category = "Intersections"     return   This shows my parameters in their proper categories, however, when you start the script, the categories are shown expanded by default. Is there something in the style sheet I can change to make sure they are collapsed by default?    I'm also curious if anyone knows of a way to move these categories up and above some other "non category" parameters in the script.
The validation tab in your script tool properties allows you to put parameters in categories. The :     Put parameters in different categories. Categories are expandable   window shades with a collection of parameters.     I am using the categories to organize my parameters, so I don't care about the expandable/collapsible feature;  it just adds a lot of time to the user.  This is all within a normal toolbox, not a script toolbox.  v10.1    Does anyone know how to have these categories expanded by default?  Here is my only validation code.  I am only utilizing categories.  The other parts are the default.  def initializeParameters(self):     """Refine the properties of a tool's parameters.  This method is     called when the tool is opened."""     self.params[0].category = "General"     self.params[1].category = "General"     self.params[2].category = "Inudaciones"     self.params[3].category = "Cienegas"     self.params[4].category = "DrenajesPrincipal"     self.params[5].category = "DrenajesSensillos"     self.params[6].category = "Inudaciones"     self.params[7].category = "Cienegas"     self.params[8].category = "DrenajesPrincipal"     self.params[9].category = "DrenajesSensillos"     return
What does a two overlapping circles symbol mean in an electrical schematic/diagram? Script to Notify me when something happens on a shared directory The situation is:  I have a shared directories from many other machines where other users work on.  I need to be notified whenever a user create, modify or delete a directory or file from his local directory which I share using smb...  It looks like the folder actions in the MAC systems..  Is there a software that do that?!  If there is no such application, any help in writing a script for that is appreciated..  Thanks in advanced... Integration of $\int\frac{1}{x^{4}+1}\mathrm dx$ How to add a class to a given element? I have an element that already has a class: &lt;div class=&quot;someclass&quot;&gt;     &lt;img ... id=&quot;image1&quot; name=&quot;image1&quot; /&gt; &lt;/div&gt;  Now, I want to create a JavaScript function that will add a class to the div (not replace, but add). How can I do that? Finn knows nothing about his family because he was taken while he was very little.   But a black main character makes me think (not being racist guys). And when he used the lightsaber I thought that he had a Jedi parent. Master Windu is the only black Jedi we know so is there any canon explanation to that? Is it right? Prevent windows from going into sleep when my program is running? What word/phrase can I use to describe the activity of hiding a stupid mistake/incident, such as quickly cleaning up tea spilled by accident before anyone could notice? If $f(x + y) = f(x) + f(y)$ showing that $f(cx) = cf(x)$ holds for rational $c$ For $f:\mathbb{R}^n \to \mathbb{R}^m$, if $f(x + y) = f(x) + f(y)$ for then for rational $c$, how would you show that $f(cx) = cf(x)$ holds?  I tried that for $c = \frac{a}{b}$, $a,b \in \mathbb{Z}$ clearly  $$ f\left(\frac{a}{b}x\right) = f\left(\frac{x}{b}+\dots+\frac{x}{b}\right) = af\left(\frac{x}{b}\right) $$ but I can't seem to finish it, any help? I only read part of the second book in this series years ago, and am unsure of how many books were in it. It was about a teenage or young adult boy, who was part of the ruling class of this fantasy world. He was gay, and his lover was the heir to the throne. The antagonist of the first book - I haven't read it, but I got the gist from comments in the second - was the current queen, who tricked the boy and his lover into leaving the kingdom for remote outer regions, thus enabling her son to take the throne. She then married her own son to keep herself in power.  The second book had the boy and his lover slowly becoming enemies, as the lover began to corrupt the simple tribesmen they were sheltering with in his quest to regain his throne. He wanted to build an empire in the hinterland and use the army to attack his homeland, killing the queen in the process, and didn't care about the long-term effects his actions were having on the culture or environment of his new followers.   The lover defeats a tribesman by breaking his neck in unarmed combat, then later takes a young boy as his "willing catamite." He also leads raids on neighbouring tribes, establishes alliances with other neighbouring tribes and organises daring and successful raids on the eggs of dinosaurs living in the middle of a swamp. He enslaves the first tribe to turn against him, and gives their children to slavers from the empire in place of those of allied tribes, thus weakening his enemies while ensuring the loyalty of his allies.  The series involved dinosaurs living among humans, being both domesticated and wild, used as livestock, for hunting and as transport. The boy and his lover were much taller than the average humans who were forced to pay tribute to this pseudo-magical empire they came from; all the humans from the empire were much larger than their subjects. The tribesmen have a tradition about not touching the ground with bare feet, as it is an insult to nature, or their god. The boy and his lover both ignore this superstition, but the catamite also begins to ignore it, despite looking ashamed as he does so.  I have absolutely no idea when this series was written, what it is called or who wrote it. All I know is that I read it in 2005-06, though it probably wasn't new. I'm hoping the long description I've given will help someone work it out. intuition on the fundamental group of $S^1$ I am familiar with the proof that the fundamental group of the unit circle $S^1$ is $\mathbb Z$, yet I couldn't develop intuition for why it is true. For example, why would I fail if I try to find homotopy from a path that circles $S^1$ once to the path that stays at one point all the time? What brakes the continuity of such a homotopy? Speed of light travel I would like to revise the default new user registration form in Drupal 7. Rather than to requst "username", I want to request "full name" with helper instructions to enter the text "username is your full name as you would normally use it."  There may be some other minor formatting changes I would like to make as well.  I cannot find an admin menu item to access anything relating to this question. And I am unable to locate a file within any director that has any text that would indicate it is the source for the new user registration form.  I realize this is a bit unconventional, however it is useful for our needs. I am aware of a module that allows the input of First Name / Last Name, but in processing it changes the input to first initial/lastname, ie Tom Thumb = username of "tthumb". The module "Realname Registration" would be just what I am looking for if it would only translate the username the same as the input.   That wouldn't necessarily solve the other formatting edits, but I would be very happy just to be able to manually edit the registration form help text under the username field, instructing the new user to register using thier real name.  Thanks for any help that you can provide.  J.M. how to reset gnome panel? I think my gnome-panel is messed up because I alt+right click it and nothing pops up.  I'm on 12.04, classic gnome desktop.  so I used locate and found gnome-panel in .gconf somewhere, how do I clear just gnome-panel's settings so that I can add things to my panel again?   edit:  matt: ~/.gconf $ find|grep -iw panel ./desktop/ibus/panel ./desktop/ibus/panel/%gconf.xml ./apps/gnome-settings/gnome-panel ./apps/gnome-settings/gnome-panel/%gconf.xml Why are irrational numbers uncountable and rationals countable? Question 1: Why are irrational numbers uncountable and rationals countable?  I really struggle to understand this. I initially thought it had something to with the fact that between any two numbers there will always be a irrational number. But now it has come to my attention that the same holds for rational numbers. So I can't really see the difference between them. What is it that makes the difference? Why can we line up all rational numbers one-to-one with the natural numbers, but not the irrationals with the naturals?  Sorry for a perhaps basic question, but I really, really struggle with it. Thanks. Segmentation fault error occurs for a simple function I have coded Log4Net "Could not find schema information" messages Why do different humans look different? Although farmers appear to be able to tell their cows apart, cows look very much alike to me. And this similarity in appearance seems to be a general trait across the animal kingdom: one individual of one animal species looks much like another.  Why do human facial and body shapes vary so much?  I understand that human beings live in many different environments (e.g. hot and cold) and have adapted to these (e.g. through lighter or darker skin color), but there seems to be much variation that has no apparent evolutionary purpose. So does the difference have a purpose in itself? That is, did we evlove to vary in appearance, and what is the purpose of this variation? Triangle Inequality of the Cartesian product with Max function Let $(X,d)$ be a metric space.  Define $$d'((x,y),(z,w))=max\{d(x,z),d(y,w)\}.$$   I'm trying to prove the triangle inequality for this, but really don't have a clue how.  Any tips or suggestions would be greatly appreciated! Error term in equally spaced nodes Evil thoughts without actions?