Official SEx app 1.0.35 (Android 4.2.1), posting on ServerFault. Can suggest edits via browser, cannot do the same through the app.
I edited a question, on Stack overflow and when submitting preview, got red bar telling me my account isn't allowed to make suggested edits.  On the Sandbox android question it works fine, but that is editing an answer to my question.   The message I receive is:     Account is not allowed to suggest edits   Are the rules for suggested edits different for Android app?
I've allocated an "array" of mystruct of size n like this:  if (NULL == (p = calloc(sizeof(struct mystruct) * n,1))) {  /* handle error */ }   Later on, I only have access to p, and no longer have n. Is there a way to determine the length of the array given just the pointer p?  I figure it must be possible, since free(p) does just that. I know malloc() keeps track of how much memory it has allocated, and that's why it knows the length; perhaps there is a way to query for this information? Something like...  int length = askMallocLibraryHowMuchMemoryWasAlloced(p) / sizeof(mystruct)   I know I should just rework the code so that I know n, but I'd rather not if possible. Any ideas? How to mix three different shaders on the same material? So I came across some difficulties with the &quot;Mix shader&quot; node in cycles. I have 3 textures on a label: gold, paper and rough black letters.  How can I mix these effects? I can make 2 textures work together, but not the 3rd one. Here's the node graph.  Here's the reference. How do we prove that something is unprovable? Force update from unsigned repository I'm using an unsigned repo in Ubuntu 16.04 from Debian multimedia:  deb http://www.deb-multimedia.org jessie main   To install deb-multimedia-keyring, I'm running:  apt-get update &amp;&amp; apt-get install deb-multimedia-keyring -y   This gives an error:  W: GPG error: http://www.deb-multimedia.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117 E: The repository 'http://www.deb-multimedia.org jessie InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Why is dark matter the best theory available to explain missing mass problems? Why is dark matter the best theory to explain the missing mass problem?    Why is dark matter mathematically necessary to explain the missing mass problem?    On a side not I believe dark matter is definately intuitive the next logical step in physics is to accept the fact the direct observations can not always be the determining factor in the acceptance of a theory.  Positivism is not going to be the only driving force in physics forevermore.    One theory that seems almost as good is the supersymmetric particle. What determination which are actually detectible and how would we distinguish the differences between the two?    References:   . How do I concatenate const/literal strings in C? I'm working in C, and I have to concatenate a few things.  Right now I have this:  message = strcat("TEXT ", var);  message2 = strcat(strcat("TEXT ", foo), strcat(" TEXT ", bar));   Now if you have experience in C I'm sure you realize that this gives you a segmentation fault when you try to run it. So how do I work around that? I was going through the fundamental theorem in Number Theory where any non zero integer n can be represented as a product of distinct primes. A related problem with this theorem is to prove that for every such number, there exists a prime $p$ such that $p&lt; \sqrt n$. I was wondering if there is any mathematical proof that no prime $p$ exists for the number $n$ such that $p&gt; \sqrt n$. Wavy stream of liquid My directory (in Linux) looks like com/com/{various,files} where com and com are folders of the same name and the second com holds the various files. I want the first com removed, but the second and files in the second kept. I'm trying to go into an irb session with specific environment variables from a file with this command:  $ env $(cat env.sh) irb   But when I try press Tab after I type env. to complete it, I get this following error:  $ env $(cat env.-bash: unexpected EOF while looking for matching `)' -bash: syntax error: unexpected end of file   Another interesting thing is that if I'm logged in as root, this error does not occur.   Here's the output of find ~ -uid 0:  $ find ~ -uid 0 /home/(redacted)/.rpmdb /home/(redacted)/.rpmdb/Group /home/(redacted)/.rpmdb/Conflictname /home/(redacted)/.rpmdb/Installtid /home/(redacted)/.rpmdb/Sha1header /home/(redacted)/.rpmdb/Providename /home/(redacted)/.rpmdb/__db.002 /home/(redacted)/.rpmdb/Requirename /home/(redacted)/.rpmdb/Sigmd5 /home/(redacted)/.rpmdb/__db.001 /home/(redacted)/.rpmdb/Obsoletename /home/(redacted)/.rpmdb/.dbenv.lock /home/(redacted)/.rpmdb/Name /home/(redacted)/.rpmdb/Basenames /home/(redacted)/.rpmdb/Triggername /home/(redacted)/.rpmdb/Packages /home/(redacted)/.rpmdb/Dirnames /home/(redacted)/.rpmdb/__db.003   Can anyone explain to me why this is happening and if so, how do I fix it in when I'm not a root user? Is Stack Exchange / Stack Overflow available for private or internal use? Is the Stack Exchange engine that powers Stack Overflow available to download or install internally for an enterprise or company?  I think Stack Exchange's engine is very great and could be very cool to use for internal enterprise patterns and practices, like the engine of Wikipedia. If two people want to buy a car together, would they go half on the car or halves. Example: Let's go half on this car or Let's go halves on this car? What are good strategies for booster drafts? I know that doing a booster draft can be somewhat complicated, because to really be good you need to know a lot about the set you're drafting (or be really good at evaluating cards quickly) and to pay attention to signal cards.    Besides going into the whole complicated strategies of knowing the set and paying attention to signal cards, what are some relatively simple/basic guidelines for drafting? As an Indian citizen, can I apply and have both a B1 and F1 visa? Finding the maximum likelihood estimators for this shifted exponential PDF? Consider a random sample $X_1, X_2, \dots, X_n$ from the shifted exponential PDF $$f(x; \lambda, \theta) = \begin{cases}\lambda e^{-\lambda(x-\theta)} ;&amp; x \geq \theta\\                     \theta ; &amp;\text{Otherwise}\end{cases}$$ Taking $\theta = 0$ gives the pdf of the exponential distribution considered previously (with positive density to the right of zero). a. Obtain the maximum likelihood estimators of $\theta$ and $\lambda$. I followed the basic rules for the MLE and came up with: $$\lambda = \frac{n}{\sum_{i=1}^n(x_i - \theta)}$$ Should I take $\theta$ out and write it as $-n\theta$ and find $\theta$ in terms of $\lambda$? Usage of: 'since', 'for' and 'in' I am trying to pass a variable into jq like this '.Linux.date.$var' so far I have tried quoting them by name which is working fine. But I want to use variable to call them.  I have this, which is working fine  exectime=$(date -d now);     cp $check_exec_history $check_exec_history.tmp     jq --arg key1 true --arg key2 "$exectime" --arg name "$name" '.Linux.script_executed.first = $key1 | .Linux.date_executed.first = $key2' $check_exec_history.tmp &gt; $check_exec_history;      rm $check_exec_history.tmp;   I want to get to this, but not working:  name=first; exectime=$(date -d now); cp $check_exec_history $check_exec_history.tmp jq --arg key1 true --arg key2 "$exectime" --arg name "$name" ".Linux.script_executed.$name = $key1 | .Linux.date_executed.$name = $key2" $check_exec_history.tmp &gt; $check_exec_history;  rm $check_exec_history.tmp;   I came this far: using this answer  But I am not sure where I am doing mistake.  name=first; exectime=$(date -d now);     cp $check_exec_history $check_exec_history.tmp     jq --arg key1 true --arg key2 "$exectime" --arg name "$name" '.Linux.script_executed.name==$name = $key1 | .Linux.date_executed.name==$name = $key2' $check_exec_history.tmp &gt; $check_exec_history; rm $check_exec_history.tmp; How to create a folder in HOME Folder with ModelBuilder in ArcGis 10? Take a screenshot of a webpage with JavaScript? Is it possible to to take a screenshot of a webpage with JavaScript and then submit that back to the server?  I'm not so concerned with browser security issues. etc. as the implementation would be for . But is it possible? When should you use generator expressions and when should you use list comprehensions in Python?  # Generator expression (x*2 for x in range(256))  # List comprehension [x*2 for x in range(256)]