Identity Value returned as 0 using SCOPE_IDENTITY()
Get output parameter value in ADO.NET
How to count the number of occurrences of each item in an array? Let G be a group, where $(ab)^3=(a^3)(b^3)$ and $(ab)^5=(a^5)(b^5)$. Prove that $G$ is abelian group.  Thank you in advance. Any help is appreciated. Where is the line drawn with domain names which include a trademark? A search on google for "iphone developer" turns up loads of websites which have "iphone" in them, a trademarked name by Apple.  So I'm led to believe that having a domain such as iphonedeveloper.com is ok? Well, you're still using Apple's trademark, but it would be hard to brand yourself otherwise. You're an IPHONE DEVELOPER... right?  Well, what if I want to provide a website where users pay to get a list of the best offers from Ebay? I might have a domain like ebaydeals.com (I don't... i'm just speculating!).  Now I've heard that places like Ebay are really hot on the trigger and fire out emails to people who register domains like that straight away. But whats the difference?  In both cases I'm making money from the trademark, effectively, so is it just down to how lenient the company who owns the trademark is? Or are there rules? Is there a specific "line" you don't cross?  Thanks Prove Equivalence Relation in G Hei, guys!  I'm having some trouble with the next problem:  Let $A$ and $B$ be subgroups of $G$. Show that $\sim$ is an equivalence relation when it is defined as follows: $g\sim g'\Leftrightarrow g' = agb$ for some $a$ from $A$, $b$ from $B$.  Should I prove this is valid for any a and b? It says for some elements a and b. But I might as well take the unit element.   Could you give me a clue on how to solve it?  Cheers! What are the details of "Objective-C Literals" mentioned in the Xcode 4.4 release notes? How to know if an object has an attribute in Python Is there a way in Python to determine if an object has some attribute?  For example:  &gt;&gt;&gt; a = SomeClass() &gt;&gt;&gt; a.someProperty = value &gt;&gt;&gt; a.property Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in &lt;module&gt; AttributeError: SomeClass instance has no attribute 'property'   How can you tell if a has the attribute property before using it? Previous question:    That was when my buttons died.  On other days, my text dies.    And some times it's just italics.    Now, I like blaming @skiwi for this, and he's often nearby when it happens.  But today, he's not here, and it happened again.    I'm running Windows 8 and using Chrome 40.0.2214.94 m.  Refreshing and such does not fix the issue.  Inspect element -> console -> error log:  http://chat.stackexchange.com/chats/8595/messages/new Failed to load resource: the server responded with a status of 409 (Conflict) http://i.stack.imgur.com/2ZJdJ.png?s=128&amp;g=1&amp;g&amp;s=16 Failed to load resource: the server responded with a status of 502 (Bad Gateway) http://i.stack.imgur.com/boUZp.jpg?g&amp;s=16 Failed to load resource: the server responded with a status of 502 (Bad Gateway) http://i.stack.imgur.com/U8P3C.jpg?s=128&amp;g=1&amp;g&amp;s=32 Failed to load resource: the server responded with a status of 502 (Bad Gateway) http://i.stack.imgur.com/boUZp.jpg?g&amp;s=16 Failed to load resource: the server responded with a status of 504 (Gateway Time-out) http://chat.stackexchange.com/messages/19891816 Failed to load resource: the server responded with a status of 409 (Conflict)   What's going on here?  I should note, I can view italics by selecting, then alt-tabbing:    So it reeks of a client-side issue. What's hiding the text from me?  EDIT:  30 april 2015 it happened again =/ Neural network references (textbooks, online courses) for beginners I want to learn Neural Networks.  I am a Computational Linguist. I know statistical machine learning approaches and can code in Python.   I am looking to start with its concepts, and know one or two popular models which may be useful from a Computational Linguistics perspective.  I browsed the web for reference and found a few books and materials.   Ripley, Brian D. (1996) Pattern Recognition and Neural Networks, Cambridge Bishop, C.M. (1995) Neural Networks for Pattern Recognition, Oxford: Oxford University Press. some links, like ,  (University of Toronto Psychology Department),  (University of Wisconsin Computer Science) and  (Facebook Research).   Coursera courses are generally nice, if anyone knows anything relevant from them. I prefer materials with lucid language and ample examples. Refresh thumbnails in nautilus How does one refresh thumbnails in nautilus? In my videos folder I have some MKVs and only half of them have the movie border and a excerpt from the movie and the others (also MKVs encoded in the same way) just have the ordinary film icon.  (F5 doesnt do it.) What's the deepest reason why QCD bound states have integer charge? What's the deepest reason why QCD bound states have integer electric charge, i.e. equal to an integer times the electron charge?  Given that the quarks have the fractional electric charges they do, this is a consequence of color confinement. The charges of the quarks are constrained in the context of the standard model by anomaly cancellation, and can be explained by grand unification. The GUT explanation for the charges doesn't care about the bound state spectrum of the QCD sector, so it just seems to be a coincidence that hadrons (which are composite) have integer charge, and that leptons (which are elementary) also have integer charge.   Now maybe there's some anthropic argument for why such a coincidence is useful (in the case of proton and electron, it gives us atoms as we know them). Or maybe you can argue that GUTs naturally produce fractionally charged particles and strongly coupled sectors, and it's just not much of a coincidence.   But I remain curious as to whether Seiberg duality, anyons, some UV/IR relationship... could really produce something like the lepton-hadron charge coincidence, for deeper reasons. I suppose one is looking for a theory in which properties of bound states in one sector have a direct and nontrivial relationship to properties of elementary states in another sector. Is there anything like this out there?   (This question was prompted by muster-mark's many recent questions about fractional charge, and by a  that the hadron-lepton charge coincidence is a "semi-coincidence", which assured me that I wasn't overlooking some obvious explanation.) Sometimes, a question is perfectly solved by suggestion or actual resolution given in "comments" under it. In such case, how to mark that answer (comment) as "Accepted Answer"? Due to this, the question remains unanswered even if solution is provided in comment. Why was a moved question deleted? Moderator to whom deletion is attributed claims they didn't do it A  appears to have been deleted, and deletion is attributed to a moderator,  deleted by Sathyajith Bhat♦ 12 hours ago , however,  (however, they did previously (unsuccessfully) tried migrating it to another site in the network where they're also a moderator, but migration was rejected by another moderator, it was then on hold on webapps, and then the hold was removed, which was supposed to have been the end of it).  Can someone explain what's going on here?  And restore the question that clearly wasn't meant to have been deleted, was a HNQ, and has 75 votes on the question, plus 74 votes on the top answer, and 56 on second answer; and 19 on third?  There's a lot of links to this question, too, and now they're all broken, making SE look like a community hostile to a popular question ontopic for the site it was on. If $\forall x \in R, x^2-x \in Z(G)$, than $R$ is commutative Let $R$ be a ring such that for every $x\in R$ we have $x^2-x \in Z(G)$. Show that $R$ is a commutative ring.    My thoughts  What should I do? I could show that every $y \in R$ could be written in the shape $x^2-x$ but I don't know if that is true. We know that  $y \cdot(x^2-x) \ = \ (x^2-x)\cdot y$ for any $x,y \in R$, but that doesn't mean that $xy = yx$. Please give me a hint Evaluating limit $\lim_{k\to \infty}\prod_{r=1}^k\cos{\left(\frac {x}{2^r}\right)}$ Avoiding the second leg of an international flight - different rates for a return ticket? Possible Duplicate:          I am in the process of booking a flight from LAX - ZUR. I found a flight for approx. 1100 USD. However, if I book that flight and then continue, after a 5 hour layover, onward to SVO, The flight is approx. half of the initial price, and the first leg of the second flight is the exact same flight as the first booking. Assuming I travel light and do not check any baggage, are there any potential issues with this? Seems like a hell of a way to save a good chunk of change. Yesterday, I was browsing the mobile Stack Overflow site. I noticed one thing: the textareas where you write your comments/answers are very buggy. I'm using a Samsung Galaxy S2, with the standard Android browser (Android version 4.1.2). There are a number of things that aren't working when typing your comment/answer.   Automatic spacing with Swype is disabled (however this might be because of Swype, not the site). Text navigation buttons (step left, step right, select text, copy text etc.) doesn't work with the on-screen keyboard, and selecting text by holding your finger over text is extremely difficult. When you paste something it always seems to be pasted at the top of your text, no matter where you try to paste it. Replying to another comment ("@Example User") does not show suggested people to reply to, like the full site does.   Is there anything I can do to solve these issues/bugs, or is it in the hands of Stack Overflow itself, and if so, should it be looked into?  Edit: I was using the mobile version of the site when noticing these bugs. So, I have about 7 actions users may need in my app, and I have to use text instead of icons because it is a customer requirement.  I can add only 3 actions to my toolbar on iPhone 6. On Android you have the hamburger menu (see image), but I have never seen it in iOS.       So, what is the appropriate concept in iOS to add many actions into a menu? My question is the same as . I put my stackexchange flair at the bottom of my sites:     And get a &quot;profile for Ninsuo on Stack Exchange, a network of free, community-driven Q&amp;A sites&quot; link instead of my nice flair. By opening Firebug, I can read the following error:  Or as text:  NetworkError: 500 Internal Server Error -   I did not tried to update a new picture - just in case you want to get further first. Good luck! What is the best way to find the users home directory in Java? I got a situation where i need to invoke future method from batch class. And i know that it is not possible to do. But there might be some workarounds to achieve it, right? And i dont want to invoke future method using shedule apex as my requirement will hit governor limits of "Total number of schedule jobs exceed". So i tried in below ways, but still fighting with same issue.  My design is  Scenario 1 :   Schedule Apex ===> 2. BatchClass (Runs every hour) (Generates a map with "N" records for every batch context, and passes it to Future method in an apex class)  ===> 3. Future method ( then it will login to a salesforce account and generates an attachment and sends an email to a corresponding email address) .   Scenario 2 :  Since, It is not possible to invoke future method from batch, i tried implementing an apex class with a normal static method  invoking future method and in a batch class, for every context i.e., execute() method, it will invoke a normal method which in turn invokes future method, but still got the same error      FATAL ERROR: Future method cant be called from future or Batch   ie.,   global class BatchClass implements Database.batachable&lt;Sobject&gt; {    global Iterable&lt;ScheduledReport__c&gt; start(Database.BatchableContext BC)  {         query=[];        return query;  }  global void execute(Database.BatchableContext BC, List&lt;ScheduledReport__c&gt; scope) {      FutureClass.normalMethod(mapRecords);   }    global void finish(Database.BatchableContext BC){   }  }   Future Class:   global class FutureClass {  global static void normalMethod(Map&lt;&gt; mapR) {      futureMethod(mapR);  }  @future(callout=true)  global static void futureMethod(Map&lt;&gt; m) {      //some code;   }  }   Scenario 3 :  Instead of invoking future class method from batch i tried updating list of records and done checkbox value to true and i've implemented after update event trigger to get the all the records in which checkbox values are true and from trigger i tried invoking future method , still didnt work , i got an error      FATAL ERROR: Future method cant be called from future or Batch   Please help me out.   Thanks !