I am importing a CSV file into a PostgreSQL table through the PostgreSQL import functionality, but I get this error:  character with byte sequence 0xe2 0x80 0xa6 in encoding utf8 has no equivalent in encoding latin1   Please help me out with this...
I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
Prove that if $a^2 = a$ for all elements of the ring $R$, then $R$ has characteristic 2. Is the converse of the statement true?  Attempt:  by the definition of characteristic of a ring, the first statement implies that characteristic of the ring is $\leq 2$. If the ring is assumed to be non trivial ring then, characteristic is 2.  About the last statement can we construct a field of say 8 elements and show that there exists a an element of order $\neq 2$?  Is there a simpler example ? Variance of a linear combination of vectors Let $A$ and $B$ be two constant matrices and let $x$ and $ y$ be two random vectors, what is the general formula for $Var(Ax+By)$? I know the formula for when $x$ and $y$ are scalar random variables and $A$ and $B$ are constants, but what about the matrix case? Why is it dangerous use a coiled extension cord I am not mathematician by any means so this question might be rather stupid. I came across this Wikipedia article on  and found this bewildering formula,   $$1 + 2 + 3 + \dots  = - \frac1{12}$$  The article also says that "Ramanujan summation of a divergent series is not a sum in the traditional sense". I am wondering then what this summation actually implies?  Is there any interpretation of this confounding result in the physical world that someone not so math-savvy can understand? Why can I only change my Stack Overflow name once every 30 days? I have a  on Stack Overflow. I recently decided to change the name on my profile. I did this, but I made a spelling mistake! I wrote "Kryton" instead of "Kryten"! When I tried to fix this, a message came back saying that I can only change my profile name every 30 days. Why? Is there any way I can fix my profile name? Start modal operator from a click in panel I want to start a modal operator by clicking a button in a panel in the properties region. It should then stop when I click somewhere in the 3D viewport. I want to execute some code when I start and finish the operator (see the code below). I tried modifiyng the modal operator template with an execute method to start the modal operator. But the now the context.space_data.type is always &quot;PROPERTIES&quot; because that's where the panel is located, I guess. Is this a bad way of doing what I want? class MY_OPERATOR_OT_click_on_3dview(bpy.types.Operator):          bl_idname = &quot;mesh.click_on_3dview&quot;     bl_label = &quot;Click on 3D&quot;      def modal(self, context, event):                  if context.space_data.type != 'VIEW_3D':             return {'PASS_THROUGH'}                  if event.type in {'MIDDLEMOUSE', 'WHEELUPMOUSE', 'WHEELDOWNMOUSE'}:             # allow navigation             return {'PASS_THROUGH'}         elif event.type == 'LEFTMOUSE':             # DO ALL THE POST-SELECT STUFF             return {'FINISHED'}         elif event.type in {'RIGHTMOUSE', 'ESC'}:             return {'CANCELLED'}          return {'RUNNING_MODAL'}      def execute(self, context):         # DO ALL THE SETUP STUFF           context.window_manager.modal_handler_add(self)              return {'RUNNING_MODAL'}            def cancel(self, context):         print(&quot;CANCEL???&quot;) How to determine the maximum number to pass to make -j option? I've completed 20 suggested edits reviews today. Then, I came across a  and I approved it.   Then, I had a doubt that whether the review count has incremented or not, oh! it's not incrementing. System works fine.  But, take a look at review page,     The edit was already reviewed by one reviewer and then I reviewed it. As I'm the Owner of the post it's enough to approve the edit. But, the review history doesn't show the detail that I had approved it. It's misleading that only one vote of a reviewer who is neither the community user nor the OP nor the moderator, is enough.  So, what should we do in this type of situation?  Is it correct to make OP to review the suggested edit after completing daily limit?  Should we need to display/hide the OP has approved the edit in the review history? What happens if 2 separate abilities require you to sacrifice a creature? Fantasy series with Celtic overtones, intermittent stone magic, and ongoing slow magic I checked this series out of the library during college, maybe 15 years ago now.    It was based around 'stone magic' – magical stones that granted their bearers enormous power.  Unfortunately, the power of these stones is intermittent, they'll fade out for a long time then fade back in.  The main characters dealt with a 'master' stone of some sort, the first to restore, last to die.  It's also the key to granting other people access to their own powers – I think seals had magic fish they swallowed, which keyed off the master stone, and in the last book I think the character created magic staves for another race. It also had 'slow magic' – longer to set up, less apparently potent than stone magic, but the slow magic, given time to work it, could still be powerful and dramatic.  It just took time and preparation instead of brute force. In one book, the main character faces off against the source (or something like that) of magic, and is about to win when it's discovered she's pregnant.  The source – a dragon? – isn't allowed to harm anyone who doesn't come to it freely, so the main character is forbidden to finish the trial.  In the sequel, her daughter repeats the trial, and becomes immensely powerful by winning, but there was a cost of some sort, something that transformed her A lot of the naming made me think it had a Celtic root. Uninstalling/reinstalling QGIS plugin where uninstall is disabled? Plugin Raster->TerrainAnalysis->slope which had initially worked, started showing what another questioner referred to as a "crazy histogram":   Before finding his question and the answer, I endeavored to uninstall and reinstall the plugin.  I found/still find (QGIS 2.0.1, now upgraded to QGIS 2.4, on Ubuntu 14.04), the plugin "uninstall" button grayed out/disabled.  It's working, but I am worried about having a plugin I installed that does not offer an option to be uninstalled.  Failing anything else I would be tempted to use the path information to rename the .so library and see if it disappeared. For a graph $G$, let $W$ be the (random) vertex occupied at the ﬁrst time the random walk has visited every vertex. That is, $W$ is the last new vertex to be visited by the random walk. Prove the following remarkable fact:      For the   random walk on an $n$-cycle, $W$ is uniformly distributed over all vertices different   from the starting vertex. Step to reproduce  Answer a question; Answer gets accepted or upvoted; Receive notification in the app; Change the title of the question; Notification is duplicated with updated title.  Expected behavior When going into notifcations you should see only one entry for that reputation event. Actual behavior You get two notification entries. In the screen notice the two entries for the same question, the one related to EF. After answering I have changed the name to make it more searchable for future questions and i've noticed it.      App Version: 1.6.1.2 Device: iPhone 6s OS Version: Version 10.1.1 (Build 14B100) Can the Flash do things like build muscle faster than normal (do his muscles grow right after a work-out or meal)? Can he heal faster than normal? Does he have a faster immune system to stop all illness or at least make the flu last 2 minutes or something along those lines? Is there any rule for differentiating between the endings "th" and "ht"? Some words end in th (length, width), and others end in ht (height, fight, tonight, caught).    I sometimes have difficulties in spelling such words because I don't know which ending to choose. Is there any rule or pattern (even localized) in choosing one or the other? Changing the size of the mouse pointer in Ubuntu MATE 18.04 does not work Crop a big picture into several small size pictures Is there a a way with GIMP editor to crop a big picture into several small equal sized pictures? So when all those small pictures connected in order would make a big picture. As our users regularly upload ~6MB images to use on the website (and aren't too familiar with how to resize them first), WordPress stores the originals as well as resizing them to several different sizes.  I'd like a function or plugin that takes the uploaded image, resizes it down to something more manageable and then replaces the original.  I've seen some functions that delete the original but do not replace it, meaning it is impossible to regenerate the thumbnails at a later date. I need this to be replaced so the user can upload a large image and it is automatically resized down and stored for future resizing if needed. Did merging Black Holes in GW150914 give up entropy and information to the gravitational waves, since they lost 3 solar masses? Since the final Black Hole (BH) had 3 solar masses less of mass than the original binary BH, it seems the 2 BHs lost mass, and with it event surface area, entropy, and information. If that came from inside the BHs it seems that it would be a contradiction of what a BH is --'nothing escapes its event horizon'. Some may say that came from the rotational energy of the pair, but the new BH now seems to have less than the two original ones summed. So, did some of that escape the horizons? Showing that $\mathbb{R}$ is connected So I know that $\mathbb{R}$ is both open and closed. But given a set, $X\subset \mathbb{R}$, $X\ne \emptyset $ that is both open and closed, how does one show that $X=\mathbb{R}$?    Here is my attempt: Using the definitions I was given, $X$ open implies that for every $x\in X$ there is a $\delta \gt 0$, $(x-\delta,~ x+\delta)\subset X$.    Also, since $X$ is closed , $B=\mathbb{R}$\  $X$ is open.    However, I don't know how to proceed. NB: This is not a homework problem.