For many IM programs, especially text apps for phones, you can see a conversation with a specific person. To quickly distinguish between messages sent and received, they are pushed to each side, like in this example.    I want to use this for what i'm making. I showed it to someone and found out we didn't agree on which messages should be left and which should be right.  I'm wondering which way I should put it now. which one is better, more used, and/or more intuitive
I'm building a small chat. Now I see but in other chats (whatsapp, facebook mobile chat, sms ...) that the arrangement is always the same:  Left: the chat partner. right: myself      Why is that?
Geometry dash lite to Geometry dash full version I currently have the Geometry Dash lite version and I want to buy the full version. Can I login with my account of Geometry Dash lite and keep everything I already had? It would suck if I had to redo everything. How can Ohm's law be correct if superconductors have 0 resistivity? My primary server with SQL Server 2005 broke down, so I've started up the log-shipped database on the secondary server. The database is live on the secondary server, and I just need to remove the log shipping settings for it, while the primary server is no longer accessible.  It seems that the sp_delete_log_shipping_secondary_database stored procedure should be executed on the secondary server to do this, which "removes a secondary database and removes the local history and remote history", as it is stated on .  Would this also remove the database itself? Or only the log shipping settings for it? And what will it do when the primary server is not accessible?  I must not loose the database on the secondary server, as it is already in use. proof by induction: sum of binomial coefficients $\sum_{k=0}^n (^n_k) = 2^n$ I have a large file and I would like print from each sequential 50 lines , the 15th and 25th lines.  sed -n '15,25p' inputfile   How to modify this command to print only lines 15 and 25 and to loop over each 50 lines in the file. Tips for getting really good answers on SO Understanding downside of triple-leveraged ETF What happens to the price of the triple-leveraged ETF if the S&amp;P 500 loses more than one-third of its value (i.e., the return is below -33 1/3%)?  Does it mean the value is equal to zero? Scheduling a Batch job at a particular time I have a Apex batch class which I would like to schedule at a particular date time. The date time is stored in a variable and changes dynamically. ex Datatime scduleDateTime = datetime.now() ; I want to schedule the apex batch file to run at this datetime variable value.  How can I do that using system.scheduleBatch()  I started with this but could'nt see how I can specify a datetime variable in here:  datetime d = datetime.now(); sampleapexbatch b = new sampleapexbatch(d); System.scheduleBatch(b,'Sample Job',XXXXXXXX)   Any help is appreciated! What does the caret (‘^’) mean in C++/CLI? I just came across this code and a few Google searches turn up no explanation of this mysterious (to me) syntax.  Hashtable^ tempHash = gcnew Hashtable(iterators_);  IDictionaryEnumerator^ enumerator = tempHash-&gt;GetEnumerator();   What the heck does the caret mean? (The gcnew is also new to me, and I asked about that .) Regarding the sum $\sum_{p \ \text{prime}} \sin p$ I'm very confident that  $$\sum_{p \ \text{prime}} \sin p $$  diverges. Of course, it suffices to show that there are arbitrarily large primes which are not in the set $\bigcup_{n \geq 1} (\pi n - \epsilon, \pi n + \epsilon)$ for sufficiently small $\epsilon$. More strongly, it seems that $\sin p$ for prime $p$ is dense in $[-1,1]$.   This problem doesn't seem that hard though. Here's something that (to me) seems harder.      If $p_n$ is the nth prime, what is $$\limsup_{n \to +\infty} \sum_{p \ \text{prime} \leq p_n} \sin p?$$   What is $$\sup_{n \in \mathbb{N}} \sum_{p \ \text{prime} \leq p_n} \sin p? $$   Of course, we can ask analogous questions for $\inf$.   I'm happy with partial answers or ideas. For example, merely an upper bound. How can I hibernate or sleep my Ubuntu 10.10 desktop and have it "wake up" the next day?  I have seen software that can do this on windows, so it can't be hard on Ubuntu! Half doesn't or half don't? Why is it called Area 51? According to : "We like the little aliens."  This seems well targeted to appeal to the Stack Overflow / Server Fault / Super User audience, but way off the mark if the goal is to "make the Internet a better place to get expert answers to your questions."    There are experts who aren't interested in or focused on technology oriented topics.  Little aliens are unlikely to be something that someone interested in organizing a site on gardening would gravitate too.  No, I'm not suggesting that no one interested in gardening would be bother to look at a site with little aliens, but won't it be likely that the sort of mass appeal to to a very broad cross section of the internet will be lacking? When is it correct to use the "-wise" suffix? Full-wave bridge rectifier with capacitor filter and ripple voltage According to various sources, the ripple voltage of a full-wave bridge rectifier is   $$ V_r = \frac{V_s}{2}fCR $$  where \$V_s\$ is the peak of the input voltage source, \$f\$ is the frequency, \$C\$ is the capacitor and \$R\$ the resistor.  I have simulated this circuit on PSPICE, circuitlab, and built it in real life:   \$R\$ is \$4.7K\$ and \$C\$ is \$10 uF\$. Voltage source is sine wave with \$0 V\$ offset, \$5V\$ amplitude and \$40 Hz\$ frequency.  All 3 experiments give me a ripple voltage of approximately \$0.65V\$, but the formula gives me \$1.330 V\$ (twice as much).  What am I missing? How to change geometry for one page without using \newgeometry or \restoregeometry What is a good website to hack around using Selenium? I want to learn Selenium, but I don't know what to code. Sure, I can throw Google some queries, I can fill out some forms, press buttons, find divs and links, etc. But I think this stuff is pretty basic.  What would be more "advanced" ideas to try out? Can you give real-life examples? Prove that $\frac{ 5^{125}-1}{ 5^{25}-1}$ is a composite number The problem:  Consider the smooth quadric $Q=V(X_{0}X_{1}+X_{2}X_{3}+X_{4}^{2})\subset\mathbb{P}^{4}$ and the line $L=V(X_{0},X_{2},X_{4})$ contained in it. Prove that there exists a vector bundle $F$ on $Q$ with a section vanishing exactly at $L$.  The hardest thing is to get the transition matrices. Any help is appreciated. Is there a way to programmatically change the screen resolution or enable/disable multiple monitors in Windows XP?  For example to change from 1024x768 with one monitor to 1280x104 on two monitors?  I would be most interested in a win32 function to do this but anything that can be tied to a windows shortcut would suffice.