Skip navigation.
Home

Blogs

Network Analysis: Visualization

Here is one of my attempts of creating aesthetically pleasing network graph:

<produced with Gephi>

Crowd Accelerated Innovation

Crowd Accelerated Innovation

TED's Chris Anderson says the rise of web video is driving a worldwide phenomenon he calls Crowd Accelerated Innovation -- a self-fueling cycle of learning that could be as significant as the invention of print. But to tap into its power, organizations will need to embrace radical openness. And for TED, it means the dawn of a whole new chapter ...

Personal Learning Environment (PLE) / Social Learning

 The concepts of Personal Learning Environment and Social Learning; while seemingly opposite; do appear to be different sides of the same coin so to say; i.e. without resources provided by social learning, personal learning would not be possible; and artifacts produced by personal learning are in turn contributed to social learning resources.

"Personal Learning Environments are systems that help learners take control of and manage their own learning. This includes providing support for learners to
	•	set their own learning goals
	•	manage their learning; managing both content and process
	•	communicate with others in the process of learning
and thereby achieve learning goals.
wiki

 

 

Connectivism (learning theory)

When I present my work on applying network analysis to e-Learning; a common criticism is that my work does not have pedagogical foundation; and hence not really valid for 'real' education.  Well, no more.  After some midnight surfing, I have come across the concept of Connectivism (learning theory):

One aspect of connectivism is the use of a network with nodes and 
connections as a central metaphor for learning. [2] In this metaphor, a 
node is anything that can be connected to another node within a network 
such as an organisation: information, data, feelings, images. Learning 
is the process of creating connections and developing a network.
http://en.wikipedia.org/wiki/Connectivism_%28learning_theory%29

My only wish is that I would have found out about Connectivism earlier.  By the way we are working on application, that will make finding related concepts easier. 


Here are some nice resources on the topic that I have come across:

http://en.wikipedia.org/wiki/Connectivism_%28learning_theory%29

"The knowledge is the network", Tenenbaum

Keywords: eLearning, e-Learning, network analysis, network mining, social network services, connectivism
 

Data Mining / Machine Learning Tools & Suites

Here are some of my favourite tools:

RapidMiner

KNIME

Pentaho

 

KDnuggets Software Lists provides a comprehensive list.

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
 
 

 

Syndicate content