I was trying a CSV using &quot;,&quot; as the split delimiter but when I checked the file, I found that the CSV contains , in the field example &quot;id26305&quot;,&quot;This process, however, afforded me no means of ascertaining the dimensions of my dungeon; as I might make its circuit, and return to the point whence I set out, without being aware of the fact; so perfectly uniform seemed the wall.&quot;,&quot;EAP&quot; I am using Java and here's my code to read the file. Any Suggestions? private static ArrayList&lt;Record&gt; readRecordFromCSVFile(String filename){     File f=new File(filename);     ArrayList&lt;Record&gt;r=new ArrayList&lt;&gt;();     try {         BufferedReader br = new BufferedReader(new FileReader(filename));         String line=br.readLine();         String line2=&quot;&quot;;          while ((line2 = br.readLine()) != null) {             String[]attributes=line2.split(&quot;;?(?:(?:\&quot;((?:[^\&quot;]|\&quot;\&quot;)*)\&quot;)|([^;]*))&quot;);             Record record=createRecord(attributes);             r.add(record);          }      } catch (FileNotFoundException e) {         e.printStackTrace();     } catch (IOException e) {         e.printStackTrace();     }     return r; }
Can anyone recommend a simple API that will allow me to use read a CSV input file, do some simple transformations, and then write it.  A quick google has found  which looks promising.  I just wanted to check what others are using before I couple myself to this API.
What is "pure energy" in matter-antimatter annihilation made of? I used to read the term "pure energy" in the context of matter-antimatter annihilation.  Is the "pure energy" spoken of photons? Is it some form of heat?  Some kind of particles with mass?   Basically, what does "pure energy" in the context of matter-antimatter annihilation refer to? Ratio test and the Root test When installing software in debian systems we can put something like this:   sudo apt-get install -y chromium-browser  that way the installation occurs automatically, whitout asking to confirm installation [Y/n]. Can i do the same with pacman? Find the limit of $\frac{\log(n+1)}{\log(n)}$ where $n\rightarrow\infty$. Here $n$ is a natural number so I guess we can't use L'Hopital SEO and URL Shorteners The definite article implying the generic idea of something Why are the United States often referred to as America? I am having problems booting my Ubuntu after an attempted hardware fix today. My laptop was working fine but had some minor issues, so we tried a different motherboard, which had a major issue, so we changed it back to the original board. However, now I have problem booting.  The title pretty much says it all. I am using Ubuntu 16.04, but on boot, I get:  [    0:000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)   and I am now stuck at the BusyBox (initramfs).  Does anyone know how to fix this issue? I am not so familiar with bash or initramfs, so I would appreciate a detailed step-to-step guide if possible. What is the Ubuntu equivalent of this interface?    I am looking for a user-friendly method that the owner of a computer can use to log off other users without having to restart.  The case I'm concerned about is of the beginner-level user who needs administrative control over the computer because they are the owner, but probably isn't concerned with most of the tasks we would usually associate with system administration. Seeking methods to solve: $\int_0^\infty \frac{\ln(t)}{t^n + 1}\:dt$ Seeking Methods to solve the following two definite integrals:  \begin{equation} I_(n) = \int_0^\infty \frac{\ln(t)}{t^n + 1}\:dt \qquad J(n) = \int_0^\infty \frac{\ln^2(t)}{t^n + 1}\:dt \end{equation}  For $n \in \mathbb{R},\:n \gt 1$  The method I took was to take the following integral:  \begin{equation}  \int_0^\infty \frac{t^k}{\left(t^n + 1\right)^m}\:dt = \frac{1}{n}B\left(m - \frac{k + 1}{n}, \frac{k + 1}{n} \right) \end{equation}  Where: $0 \leq k \lt n$. Here let $m = 1$.   with respect to $k$ and taking the limit as $k \rightarrow 0^+$ (via the ), i.e.   \begin{align} \lim_{k \rightarrow 0+} \frac{d}{dk} \left[ \int_0^\infty \frac{t^k}{t^n + 1}\:dt \right] &amp;= \lim_{k \rightarrow 0+} \frac{d}{dk} \left[\frac{1}{n}B\left(1 - \frac{k + 1}{n}, \frac{k + 1}{n} \right) \right] \\ \lim_{k \rightarrow 0+}  \int_0^\infty \frac{t^k \ln(t)}{t^n + 1}\:dt  &amp;= \lim_{k \rightarrow 0+}  \left[\frac{1}{n^2} B\left(1 - \frac{k + 1}{n}, \frac{k + 1}{n}\right)\left[\psi^{(0)}\left(\frac{k + 1}{n} \right) - \psi^{(0)}\left(1 - \frac{k + 1}{n} \right)\right] \right] \\ \int_0^\infty \frac{\ln(t)}{t^n + 1}\:dt&amp;= \frac{1}{n^2} B\left(1 - \frac{1}{n}, \frac{1}{n}\right)\left[\psi^{(0)}\left(\frac{1}{n} \right) - \psi^{(0)}\left(1 - \frac{1}{n} \right)\right] \\ &amp;=- \frac{\pi^2}{n^2}\operatorname{cosec}\left(\frac{\pi}{n}\right)\cot\left(\frac{\pi}{n} \right) \end{align}  Which is our expression for $I_n$. Taking the same approach but differentiating twice with respect to $k$ we arrive at our expression for $J_n$:  \begin{equation}  J(n) = \int_0^\infty \frac{\ln^2(t)}{t^n + 1}\:dt = \frac{\pi^3}{n^3}\operatorname{cosec}\left(\frac{\pi}{n} \right)\left[\operatorname{cosec}^2\left(\frac{\pi}{n}\right) + \cot^2\left(\frac{\pi}{n}\right) \right] \end{equation}  And in fact we may generalise:  \begin{equation}     \int_0^\infty \frac{\ln^p(t)}{\left(t^n + 1\right)^m}\:dt = \lim_{k\rightarrow 0}\frac{d^p}{dk^p}\left[\frac{1}{n} B\left(m - \frac{k + 1}{n}, \frac{k + 1}{n}\right)\right] \end{equation}  Where $p \in \mathbb{N}$  This method however was just an extension of another integral. I'm curious, if I had just started with $I_n, J_n$ what alternative methods could be used? How do I get permissions to delete files on Windows 7? I updated my laptop's OS from Windows XP to Windows 7. There are some leftover files from Windows XP on the computer now. If I try deleting them I get the following error:     You need permission to perform this action.      You require permission from S-1-.... to make changes to this folder.   What's weird is that I am logged in with the only user account on this machine and I have administrator privileges. I tried turning UAC off, but I still can't delete the files.  How can I force removal of these files? How do I sort a dictionary by value? A command-line or batch cmd to concatenate multiple files I have 50 text files in one directory.  Is there a Windows command-line method to concatenate those files into a single file?  I am using .  I don't want to type the name of all files. Where's the Strangedupe blog post? Previously, in order to explain the benefits of (certain limited kinds of) duplication on Stack Exchange sites, I've seen a blog.stackoverflow blogpost with the words "Dr. Strangedupe" in the title.  The post comes up in a search on the new blog, but       Can we please bring this post back? I'd love to link to it when , to reassure the questioner that there is value in not deleting their question because of search terms, but the blog post explained it a lot better than I could in a comment. Take as an example the well-known . In the original paper, the regression model was used to model the amount people were willing to pay for improved air quality.  But the 'people' whose behaviour was being modelled was never specified. Presumably, it was not limited to 'residents of Greater Boston'. Only implausibly would it be 'humans anywhere on the planet'. Nor, 'all US residents'.   So what inference are we invited by the authors to draw about the scope they intend for their theory? Perhaps 'all residents of large US metro areas'. But - what about other First World metro areas? The first two sections of the Boston paper scrupulously avoid any reference which might suggest that they had a particular 'population' to which their 'sample' was to apply.  There is also the dimension of time - the data came from the 70s, whereas the theory is has no time limitations spelt out.  Plus - going back to first principles - how could the Boston data be treated as a sample of a population including, say, the Chicago metro area when no data from the Chicago area was considered?   Besides, lots of the covariates in the Boston regression weren't samples at all, but totals - so, for example, the proportion of blacks was supplied from census stats.  My question: how can we conceive the Boston data as supporting the geographically unlimited propositions in the paper? Is there a mathematical way of showing equivalence or approximation of the Boston data analysis to other cities? Or is it just assumed as a matter of common sense - such that the paper's authors would be amazed to think anyone could have any doubts on the matter? Abelian quotient group I'm stuck on the following practice problem.   Any hints would be appreciated.  Suppose $N$ is a normal subgroup of  $G$ such that every subgroup of $N$ is normal in $G$ and $C_{G}(N) \subset N$. Prove that $G/N$ is abelian.  I'm not sure how to use the fact that $C_{G}(N) \subset N$.  Thanks As the photo - Variable 'n' has already been declared.  I've tried clearing my cache, as well as using a new user profile with no extensions, but it doesn't work.  Might be useful to know so it can be fixed before more people are using Chrome (If it's SO's fault of course!) Notify on retagging A question here on meta for instance may stick around for quite a while. A feature-request  maybe even for months. Then the status (tags) gets changed to  or  or whatever and the OP does not get notified.  On a normal post-edit we get a notification but retagging does not count for that. Please add retagging to the edit notifications. I am trying to put in a switch and a light it controls in a storage building and  is how I wired it.   Click for larger view  When I checked the wiring it registered 120V when the switch was on, and right around 50V when the switch was off.  Why would power still be getting to the light (I'm guessing there is a problem with the switch) and why would it only be 50V?  Oh, and where everything branches off at the beginning I have a junction box there where all of the wires are joined there. How do R and Python complement each other in data science? In many tutorials or manuals the narrative seems to imply that R and python coexist as complementary components of the analysis process. To my untrained eye, however, it seems that both languages sort of do the same thing.  So my question is if there are really specialized niches for the two languages or if it's just a personal preference whether to use one or the other?