Is there an accepted best practice when it comes out to laying out code?
What is the right way to indent your source code?
What is the most ruby-ish way of accessing nested hash values at arbitrary depths? This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says "System program problem detected". Then when I try to hit 'report problem' not much happens. I am led through a dialogue that always ends up the problem cannot be solved.  I am aware this is not a lot of information, however I'm not sure which information I need to publish and how should I obtain it to debug this problem.  Here's a screenshot! Submodule of free module over a p.i.d. is free even when the module is not finitely generated? Let $G$ be a group and $H$ be a subgroup of $G$ of index $2$ .Then show that if $a,b\notin H$ then $ab\in H$. Seeking alternatives to pgRouting for open source routing / network analysis? I was wondering if there are any alternatives to  tools.  Thinking about it for a bit, I think the only alternative is to use R or RPY to do the analysis.   Basically I'm trying to solve routing problems based on nonPostGIS databases. As most of my data is actually stored in a different format; however, it's not to hard to convert. I'm finding that pgRouting to my dumb silly brain is difficult to implement. So perhaps a non-database solution that I can easily tweak would be ideal for me I am asking this question from an educational/hacking point of view, (I wouldn't really want to code like this).  Is it possible to implement a while loop only using C preprocessor directives. I understand that macros cannot be expanded recursively, so how would this be accomplished? I just checked my server's /var/log/auth.log and found that I'm getting over 500 failed password/break-in attempt notifications per day! My site is small, and its URL is obscure. Is this normal? Should I be taking any measures? In Einstein's General Relativity, do the space-time dimensions curve? In Einstein's General Relativity, do the space-time dimensions curve according to the positions of stars, planets, and masses? Quite often, the phrase "x for x's sake" is used in English, and so one could describe someone as being "argumentative for argument's sake" to describe someone who is arguing for the sake of arguing.  However, is there an adjective that means the same thing?  For example, it could be used in the context:     I don't want to be [X], but [argument...]   ... indicating that your argument is necessary and not intended to irritate. Basically, I would like to make it so that the lighter a pixel is (the more white it has) the more transparent it becomes. Black pixels would be opaque, white pixels would be transparent.  I currently use the slider in blending options on the first tab to get rid of the white and make it transparent but find it works slightly better if I use the magic wand tool with delete.  I figure that there is some blending option out there but there are so many and I'm not sure which to use to achieve my goal.  (Using Photoshop CS6) How do I redirect command output to a file? Pollinator abundance---sampled two years, fixed or random effect? I'm trying to construct several GLMMs with my thesis data and I can't solve this question. I have data on pollinator abundance and fruit set from plant individuals (with different treatments - related to a pest infection -) sampled at six study sites (spatial replicas) and during two consecutive years (time replicas). The problem is that not all individuals (plants) were sampled in both years (because of lack of bloom). My question is: How should i use &quot;Year&quot;, as random effect or as fixed effect? I constructed three candidate models and compared the AIC: a) Response variable ~Predictor variables + (1 | year/plant) + (1 | site/plant) b) Response variable ~Predictor variables + (1 | year) + (1 | site/plant)  c) Response variable ~Predictor variables * year + (1 | site/plant) Option a) had the lowest AIC and the highest R2, but I read in some papers that is not correct use a variable with less than five levels as random effect ... so, anyone could help me? jQuery call function from a string Boolean Modifiers not working normally When using a Boolean modifier on an object, the "Operation" choices (Difference, Union, Intersect) are all not working normally. Choosing "Union" makes it do the effect of "Intersect" and "Difference" makes it do what "Intersect" is supposed to do. What's the deal here?   This is happening with following a simple tutorial. It's a simple primitive cube and primitive cylinder. No normals or doubles problems.   My specs are:  Macbook Pro 13" Retina early 2015 512GB i7 with 16gb RAM upgrade OS-X version 10.11.4 Why is main() in java void? 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 has Ramsay done to Theon torture-wise? My friend told me that Ramsay flayed Theon; this question is in two parts:   Is this correct? and What else has Ramsay possibly done?   I have not read the books, but don't mind spoilers from them. My "Meta" rep on Photo.SE differs from my main rep I am trying to find all the Sylow 2 subgroups of S4 using Sylow’s theorems. Now, I know that a Sylow 2 subgroup of S4 has size 8, and that there are either 1 or 3 of them (as the number of of Sylow 2-subgroups has form 1+2k and divides 3, the index).  Now my lecturer states “stabilisers of the 3 different bisections of {1,2,3,4} yield 3 distinct Sylow 2 subgroups”  Now my questions are:  1) What does it mean by stabilisers of 3 different bijections of {1,2,3,4}? Is that to say the elements of S4 which send {1,2} and {3,4} to {1,2},{3,4} i.e. by (12)(34)?  2) How does he know that there are 8 elements of this set? Perhaps this will become clearer after the 1st question is answered.  Many thanks, group theory is hard. Functional equations leading to sine and cosine How many arguments does a function require, and how to use that in `Manipulate`