Skip navigation.
Home

Blogs

arXiv: Submitting pdf (TeX generated) without the LaTex source code

BOTH WORKAROUNDS NO LONGER WORK.  KEPT FOR REFERENCE PURPOSES ONLY.

 

I love the openness   of arXiv system.  That said, their submission policies are nothing short of being dictorial:
(if your pdf was produced for tex; you must submit the source code along with all of the files)
(what worse it must compile on the arXiv system, so you have to include all of the style files etc -- a lot of work)

If your submission is (La)TeX, then you must 
submit the source
(plus necessary macros and figures), not derivative dvi, Postscript, or 
PDF
(see Why TeX?).
For more information on formats and other submission details see
   Submission Help.
your.pdf appears to have been produced by TeX.  This file has been rejected as part of a submission. It appears to be pdf generated from TeX/LaTeX source. For the reasons outlined at:  http://arXiv.org/help/faq/whytex we insist on submission of the TeX source rather than the  processed version.   Our software includes an automatic TeX processing script  that will produce PDF, PostScript and dvi from your TeX source.  If our determination that your submission is TeX produced is incorrect,  you should send e-mail with your submission number to  www-admin@arXiv.org. 
Correct processing errors by returning to the
Add Files page
to add, delete, or replace files within your submissions. If you 
are unable to correct the processing errors yourself and need to 
contact arXiv administrators
 be sure 
to quote the submission identifier submit/zzz. 
Administrators may take a day or two to respond to requests for help.

 

I have produced my pdf with a great editor LyX; but due to some error with graphics conversion, was not able to export it properly to LaTeX.  arXiv would not let me submit the pdf, by giving me the above errors. 

Mostly it was complaining that since it was produced by TeX, I have to submit the source code with all the necessary files.  I understand that having latex source code would make parsing the text easier etc., but if I could not produce the appropriate LaTex file (that must compile on the arXiv's system), the current system does not allow me to submit in any way.

The easiest way to take care of that is:

Simply rename the file and remove the pdf extension
e.g. my.pdf -> my

Note: arxiv is smart enough to recognize that the file is of PDF type, but it does not bother anymore about submitting the source files.

 

Another option:

I tried several pdf metadata editors to change the creator field of the pdf; but that did not seem to fool the arXiv.  Luckily, it is possible to create a pdf from word and then simply insert pages from your article, and delete the word's page -- and that is exactly what I have done.  I have included a 1 page pdf produced by word in case somebody else runs into the same problem (here it is).

 

 

 

 

 keywords:
arxiv, continue process files

arxiv This file has been rejected as part of a submission. It appears to be pdf generated from TeX/LaTeX without source\
     ubuntu change pdf metadata
     ubuntu change pdf metadata
     edit PDF meta-data - Ubuntu Forums     
 Changing PDF Metadata on Ubuntu   
 List of PDF Editing tools for Ubuntu
      pdftk   
           edit pdf metadata   
Edit PDF Properties   
      BeCyPDFMetaEdit
      change pdf metadata application tex
      change pdf creator metadata
      arxiv submit pdf without tex latex sourcecode
          arxiv submit pdf without tex     
 

 

 

Complex SQL Joins

SQL joins tend to become very complex (and not very readable) as the number of tables involved becomes large.  An alternative is to select into a temporary table and then use that data in the joins.

CREATE TEMPORARY TABLE can_offices
SELECT * 
FROM company.offices o
WHERE o.country_code='CAN';

You can then use the temp table to do joins etc.

SELECT * from company c, offices o
WHERE c.company_ID = o.company_ID

 

 

 

keywords:
     mysql export resultset as table
      mysql import resultset as table
      mysql export resultset as variable
      sql
      sql in
      sql select where in
      sql join
      query designer
subselect sub select
     

ValueError: Extra data: line 218 column 34 - line 2703926 column 7 (char 8354 - 87303975)

 

ValueError: Extra data: line 218 column 34 - line 2703926 column 7 (char 8354 - 87303975)

The cause is missformation of json file

before {...},{..},...

should be [{...},{..},...]

 

MySQL Python on Snow Leopard

First of all you may try a precompiled binary egg in the attachment.

If it does not work you may need to follow these steps:

 

Keywords
error: unrecognized command line option "-Wno-long-double"
error: command 'gcc' failed with exit status 

Edit your:

/Library/Frameworks/Python.framework/Versions/5.1.1/lib/python2.5/config/Makefile

And remove "-Wno-long-double" from BASECFLAGS

e.g.: BASECFLAGS=     -fno-strict-aliasing -no-cpp-precomp -mno-fused-madd -fno-common -dynamic
 (suggested by http://osdir.com/ml/python.f2py.user/2005-10/msg00002.html)

Then as suggested by http://blog.some-abstract-type.com/2009/09/mysql-python-and-mac-os-x-106-snow.html

shell> PATH="/usr/local/mysql/bin:$PATH"
shell> tar xzf MySQL-python-1.2.3c1.tar.gz
shell> cd MySQL-python-1.2.3c1
shell> ARCHFLAGS="-arch x86_64" /usr/bin/python setup.py build
shell> /usr/bin/python setup.py install

----------------

Keywords:

Searched for mysql python snow leopard binary - 
 Viewed 1 result
 
  
spacerspacer
Not starred
Planet MySQL - mysql.com
 6:32pm 
spacer
Searched for snow leopard osx mysql python - 
 Viewed 1 result
 
  
spacerspacer
Not starred
Installing MySQL, Python, MySQLdb on Snow Leopard (Mac... - brambraakman.com
 6:31pm 
spacer
Searched for osx - 
 Viewed 1 result
 
  
spacerspacer
Not starred
Mac OS X - Wikipedia, the free encyclopedia - wikipedia.org
 6:25pm 
spacer
Searched for gcc 3 osx - 
 Viewed 1 result
 
  
spacerspacer
Not starred
The GNU Compiler Collection on Mac OS X Development - apple.com
 6:25pm 
spacer
Searched for gcc 3
 
 
 6:23pm 
spacer
Searched for unrecognized command line option "-Wno-long-double" - 
 Viewed 1 result
 
  
spacerspacer
Not starred
Re: [f2py] specifying proper command line options - msg#00002... - osdir.com
 
 6:22pm 
spacer
Searched for mysql python osx
 
 6:22pm 
spacer
Searched for mysql mysql_config osx path
 
 
 6:09pm 
spacer
Searched for xcode install - 
 Viewed 1 result
 
  
spacerspacer
Not starred
Download Xcode - Apple Developer Connection - apple.com
 
 6:03pm 
spacer
Searched for error: unrecognized command line option "-Wno-long-double" - 
 Viewed 1 result
 
  
spacerspacer
Not starred
#473935 - sqlrelay: FTBFS: cc1plus: error: unrecognized... - debian.org
 6:02pm 
spacer
Searched for mysql error: unrecognized command line option "-Wno-long-double" - 
 Viewed 2 results
 
  
spacerspacer
Not starred
MySQL :: problems building mysql-python-1.2.2 on Mac... - mysql.com
  
spacerspacer
Not starred
unrecognized command line option "-Wno-long-double" -... - bytes.com
 5:57pm 
spacer
Searched for mysql python
 
 5:54pm 
Not starred
Installing Python MySQLdb 1.2.2 on Mac OS X | MangoOrange™ - mangoorange.com
 5:54pm 
Not starred
Ken Ingle » MySQL-Python and Apple OSX 10.5 (Leopard) - keningle.com
5:54pm 
spacer
Searched for mysql python osx - 
 Viewed 2 results
 
  
spacerspacer
Not starred
http://www.keningle.com/?p=11
  
spacerspacer
Not starred
http://www.mangoorange.com/2008/08/01/installing-python-mysql...
 5:51pm 
spacer
Searched for mysql mysql_config osx path
 
 5:51pm 
spacer
Searched for mysql mysql_config osx
 
 5:39pm 
spacer
Searched for python sql
 
 5:38pm 
spacer
Searched for python mysql - 
 Viewed 4 results
 
  
spacerspacer
Not starred
MySQL-Python - blogspot.com
  
spacerspacer
Not starred
MySQL :: Using MySQL With Python - mysql.com
  
spacerspacer
Not starred
MySQL Connectivity With Python - devshed.com
  
spacerspacer
Not starred
Python Package Index : MySQL-python 1.2.2 - python.org
 5:38pm 
spacer
Searched for python DB-API - 
 Viewed 2 results
 
  
spacerspacer
Not starred
Writing MySQL Scripts with Python DB-API - kitebird.com
  
spacerspacer
Not starred
PEP 249 -- Python Database API Specification v2.0 - python.org
 5:37pm 
spacer
Searched for python db
 
 

 

Lecture [video]: Mismatched Models, Wrong Results, and Dreadful Decisions

Great lecture; a must watch:

http://videolectures.net/kdd09_hand_mmwrdd/

Mismatched Models, Wrong Results, and Dreadful Decisions

author: David J. Hand, Department of Mathematics, Imperial College London

Description

Data mining techniques use score functions to quantify how well a model fits a given data set. Parameters are estimated by optimising the fit, as measured by the chosen score function, and model choice is guided by the size of the scores for the different models. Since different score functions summarise the fit in different ways, it is important to choose a function which matches the objectives of the data mining exercise. For predictive classification problems, a wide variety of score functions exist, including measures such as precision and recall, the F measure, misclassification rate, the area under the ROC curve (the AUC), and others. The first four of these require a classification threshold to be chosen, a choice which may not be easy, or may even be impossible, especially when the classification rule is to be applied in the future. In contrast, the AUC does not require the specification of a classification threshold, but summarises performance over the range of possible threshold choices. However, unfortunately, and despite the widespread use of the AUC, it has a previously unrecognised fundamental incoherence lying at the core of its definition. This means that using the AUC can lead to poor model choice and unecessary misclassifications. The AUC is set in context, its deficiency explained and the implications illustrated - with the bottom line being that the AUC should not be used. A family of coherent alternative scores is described. The ideas are illustrated with examples from bank loans, fraud, face recognition, and health screening.

 

iPhone iPod delete all music videos applications etc.

iPhone iPod delete all music videos applications etc.

To accomplish the above goal.  Go to iTunes; and then to the tab e.g. "music" from which you want to delete everything and un-check "Sync .." this should get rid of it.

 

 

Bibtex Texshop

I always run into this trouble when I compile latex files.  Here is the solution / reminder
P.S. dont forget to specify \bibliographystyle

http://forums.macnn.com/82/applications/88947/help-with-bibtex-and-texshop/

1. Put the citations in your .tex file in the form
\cite{<key>}. Papers you have not cited will not appear
in the bibliography.



2. Put \bibliography{<bibfilename>} in your .tex file
where you want the bibliography to appear. Make sure the .bib file is
somewhere that latex can find it, such as the same folder as the .tex
file.



3. Run latex then bibtex then latex then latex again, all on your .tex
file (actually you run bibtex on the .aux file, but texshop does this
for you).



Check the results.



For more details, see appendix B of the latex book, or chapter 13 of the latex companion.

 

Data Visualization

 

Books:

The Grammar of Graphics, Leland Wilkinson
Visualizing Data, William S. Cleveland
The Visual Display of Quantitative Information, Edward Tufte
Information Visualization: Perception for Design, Colin Ware
Show Me the Numbers: Designing Tables and Graphs to Enlighten, Stephen Few

 

Tools

Tableau (pros: one of the best data exploration tools, free for open data; cons: somewhat costly ~$1,700)
Pentaho Reporting
Pivot (Microsoft) http://www.getpivot.com
Many-Eyes    http://many-eyes.com
Verfiable        http://verifiable.com
TimeSearcher    http://www.cs.umd.edu/hcil/timesearcher
Parvis        http://home.subnet.at/flo/mv/parvis
Improvise        http://www.cs.ou.edu/~weaver/improvise/

GGobi        http://ggobi.org
Interactive, brushing, etc.

1d density plot

parallel coordinates plot
 
GGPlot2 (in R)    http://had.co.nz/ggplot2/

theonion clickthrus broken down by date and day of the week
 

Tree Network Tools

GraphViz        http://www.graphviz.org
NodeXL        http://www.codeplex.com/NodeXL
GUESS        http://graphexploration.cond.org/
Pajek        http://pajek.imfm.si/doku.php
TreeMap         http://www.cs.umd.edu/hcil/treemap
Workbench    http://nwb.slis.indiana.edu/
 

Programming Tools

processing.org        A popular graphics language
protovis.org        Visualization tools for JavaScript
flare.prefuse.org    Visualization tools for Flash
prefuse.org        Visualization tools for Java
modestmaps.com    Mapping tools for Flash/JavaScript

People / Blogs

Andrew (bloger)
Nathan (bloger)
Jeffrey Heer (visualization librariries)
Katy Borner (visualization of science)
 

Reference

Some of the recommendations are by Jefferey Heer (an expert in the area) given at the MediaX 2009 workshop

Various

smoothScatter produces a smoothed color density representation of the scatterplot, obtained through a kernel density estimate.

 

Japan Mobile SNS presentation

Syndicate content