C- main segmentation fault, string problem - how to solve
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
I mean a average human can run at his full speed for 15 to 20 mins before getting tired. Trained athletes can go on running for much more time without tiring out.  Do Superheroes like Quicksilver or Flash ever get tired due to excessive running? Does the Black Panther suit give extra speed? So in Civil War, the Black Panther suit seems to give the suit holder some extra speed, because the guy was running as fast as Bucky and Captain America.  So does it give extra speed? If so, how does that work? How to activate hyphenation in \ttfamily without explictly setting a font? I am suprised that in the code below no hyphenation is done. And I can not find something about that on the web. Maybe I used the wrong words for searching.  \documentclass{scrartcl} \usepackage{xltxtra} \usepackage{polyglossia} \setdefaultlanguage[spelling=new]{german} \usepackage{tabu}  \begin{document} \begin{ttfamily} \begin{tabu} spread \textwidth {X[l]|X[l]|X[l]|X[l]}     A&amp;     B&amp;     Sichtweise, Haltung, Akzeptanz, useability, Anwenderfreundlichkeit&amp;     D\\ \end{tabu} \end{ttfamily} \end{document} How to randomly subset X% of selected points? Can you use the /testfor command in minecraft 1.8 to find out if a player has died ?  I need it for my map, where 2 players (Only) are pitted against eachother. I want it so that when one of them dies, it will detect the death and declare the victor. How many irreducible monic quadratic polynomials are there in $\mathbb{F}_p[X]$? Can some of you help me with my homework?     I had to count the irreducible, quadratic, monic polynomials in $\mathbb{F}_p[X]$ for arbitrary $p$.    I will show you what I tried myself.  Research effort  First of all the set $\{X^ 2 + bX +c : b, c \in \mathbb{F}_p \}$ contains $p^2$ elemenst. We need to substract the amount of elements that is reducible. These elements are exactly the set $A = \{(X+c)(X+d) : c, d \in \mathbb{F}_p \}$. There are $p(p-1)$ pairs of $(a,b) \in \mathbb{F}_p \times \mathbb{F}_p$ such that $a \neq b$, and there are $p$ pairs such that $a=b$.     When $a$ and $b$ are unequal, whe know that $a$ and $b$ can be swapped without changing anything to the polynomial $(X+a)(X+b)$, so I obtained that $|A| \leq p +(p-1)- \frac{1}{2}(p-1)=p-\frac{1}{2}(p-1)$.  In other to find out these are the elements, or that there are still less, I thought I had to assume that $(X+c)(X+d) = (X+\gamma)(X+\delta)$, to deduce some information about the realation between $(c,d)$ and $(\gamma, \delta)$, but this led to taking square roots in $\mathbb{F}_p$, and I am not familiar with that.  Could you please provide me some more information? Admin password of MariaDb doesn't seem to work I thought people would be working on little code projects together, but I don't see them, so here's an easy one:  Code that validates a valid US Zip Code. I know there are ZIP code databases out there, but there are still uses, like web pages, quick validation, and also the fact that zip codes keep getting issued, so you might want to use weak validation.  I wrote a little bit about zip codes in a side project on my wiki/blog:    There is also a new, weird type of zip code.     I can do the javascript code, but it would be interesting to see how many languages we can get here. Do I need to activate the firewall? I only use Ubuntu for a home desktop use? Refresh Icon Cache Without Rebooting Normally, to refresh the icon cache in Windows, we have to reboot.  Is there a way to refresh the icon cache in Windows 7/8 without rebooting? Difference between float and decimal data type I have defined my own custom vim file type with highlighting etc.  I would like to open it using the terminal based vim when I double click on it.  I am using mac os x.  Any pointers on how to start on this? I have designed a VF page to create a new record in which I am trying to display the value of a pick-list field. I have set a default value for this pick-list field. When trying to create the record using the salesforce native page, the value with which pick-list loads is the one I set as default but when creating the same record using VF page, the pick-list loads with "--None--" as default value.  Can anyone suggest If this is salesforce related bug or Am I doing anything wrong ? Probably not with Trello, but maybe with some integration.  What I need is a solution for archiving cards because I'm not going to work with them now, but later they would come back, so I would remember doing what should be done.  Something in the lines of some email "follow up" services out there that help you remind things and at the same time keep your inbox clean. I am new to blender. Pressing &#9096; Ctrl&#9095; AltQ opens the quad view. How to maximize any one of the four views of the quad view? What is the fastest way to get from Courmayeur/Aosta to Milan? Recommended ways to upgrade AlwaysOn AG from 2014 to 2016 What is the recommended process of upgrading Availability Groups with one Sync Replica from SQL 2014 to 2016?  My understanding is that in-place upgrades are not really liked among database professionals. Is there a way to avoid in-place upgrades in Availability Groups? Is there a possibility to join a 2016 server into an existing 2014 availability group and to failover there, then "kill" one of the other instances and upgrade it? (e.g. by removing/re-installing SQL side-by-side on the same host)  Are there any other upgrade scenarios that we should consider?  The ideal solution would be that we always have 2 online replicas, and that we don't need to do any in-place upgrades. How does Hextech Crafting work? How do you earn free loot?  What's the deal with essences and why are they so important?  What do the different options mean when dealing with Redeeming Rerolling Disenchanting and Upgrading?  How does it all work? I created some texture maps in MindTex to use in Blender, but I can't figure out how to properly hook them up. The maps I have:  - Diffuse  - Normal  - Height   - Specular   - Gloss   - Self Illumination  - Reflection  - Ambient Occlusion   MindTex (left) vs. Blender (right)  As you can clearly see it's a pretty big difference.  is my material node setup in Blender. In the examples I don't actually use self illumination or reflection images, but including this in the answer would be helpful. Installing Ubuntu with Fake RAID 1