Rank: 616 based on 139 downloads (last 30 days) and 11 files submitted
photo

Jonathan Karr

E-mail
Company/University
Stanford University
Lat/Long
37.43141, -122.17427

Personal Profile:

I'm a graduate student in Biophysics and Translational Medicine at Stanford University. My career goal is to understand and reverse engineer the complexity of biology to enable (1) personalized and predictive medicine and (2) rational bioengineering. My approach is to develop comprehensive computational models, and to compare model predictions to experimental data. I believe these models are essential to reverse engineering biology.

Professional Interests:
systems biology, translational medicine

 

Watch this Author's files

 

Files Posted by Jonathan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Mar 2013 Coverage Report Generator Generates Cobertura-style XML coverage report Author: Jonathan Karr coverage report, cobertura, hudson, jenkins, xunit, junit 8 3
21 Dec 2012 Mat file header utilities Utility functions for reading and writing .mat file headers Author: Jonathan Karr file 4 0
21 Dec 2012 Computer info Returns username, hostname, and IP address of the current machine. Author: Jonathan Karr user, host, username, hostname, ip address 1 0
21 Dec 2012 Mat file utilities Utility functions for differencing mat files and structs. Author: Jonathan Karr mat file, struct, diff, difference 5 0
21 Dec 2012 Empirical formula Class for representing empirical formulae including support for basic math (+, -, *, etc.) Author: Jonathan Karr empirical formula, element, chemistry 1 1
Comments and Ratings by Jonathan View all
Updated File Comments Rating
09 May 2013 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr

Hi Carlos,

I've never seen this error before.

First, comment out the try/catch block on lines 402, 410-412. Which line throws the error?

Best
Jonathan

01 May 2013 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr

Hi Akhmad,

For security reasons we had to lockup our MySQL server, so unfortunately you can't use that test database anymore. The schema is described in test.sql. You can set this up on your own machine. See the examples on line 37-53 for how to work with blobs.

Best.
Jonathan

25 Mar 2013 Coverage Report Generator Generates Cobertura-style XML coverage report Author: Jonathan Karr

Sorry for the confusion. I don't believe the Control System Toolbox is required.

06 Nov 2012 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr

Hi George,

Unfortunately our server was attacked recently and I had to lock it down. This means the examples won't work anymore. You'll need to run them on your own MySQL server. The necessary schema is in test.sql.

Best.
Jonathan

06 Nov 2012 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr

Hi George,

I should also add that you are correct that MATLAB requires that classes be imported after addpath statements are executed. MATLAB will complain if you run the commands together until you've set the path. I usually work around this by setting the MATLAB path at the beginning of the session and then never setting the path inside any other function.

Best.
Jonathan

Comments and Ratings on Jonathan's Files View all
Updated File Comment by Comments Rating
09 May 2013 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr Karr, Jonathan

Hi Carlos,

I've never seen this error before.

First, comment out the try/catch block on lines 402, 410-412. Which line throws the error?

Best
Jonathan

09 May 2013 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr Carlos

This has been working great on my computer. However, on a newer Mac mini, it gives the following error (I substituted the server details for dummies).

Any ideas?

>> addpath(genpath('MatlabQueryMySQL'))
>> javaaddpath(which('mysql-connector-java-5.1.6-bin.jar'));
import edu.stanford.covert.db.MySQLDatabase;
>> db = MySQLDatabase('server:port', 'dbname', username, password)
Warning: The following error was caught while executing 'edu.stanford.covert.db.MySQLDatabase' class
destructor:
Attempt to reference field of non-structure array.
??? Error using ==> MySQLDatabase>MySQLDatabase.open at 411
Java exception occurred:
java.sql.SQLException: Unknown initial character set index '192' received from server. Initial client
character set can be forced via the 'characterEncoding' property.
at com.mysql.jdbc.Connection.configureClientCharacterSet(Connection.java:2268)
at com.mysql.jdbc.Connection.initializePropsFromServer(Connection.java:3748)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2585)
at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.mathworks.jmi.AWTUtilities$Invoker$3.runWithOutput(AWTUtilities.java:443)
at com.mathworks.jmi.AWTUtilities$Invoker$2.watchedRun(AWTUtilities.java:397)
at com.mathworks.jmi.AWTUtilities$WatchedRunnable.run(AWTUtilities.java:360)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:708)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:669)
at java.awt.EventQueue$2.run(EventQueue.java:667)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:678)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Error in ==> MySQLDatabase>MySQLDatabase.MySQLDatabase at 72
this.open();

01 May 2013 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr Karr, Jonathan

Hi Akhmad,

For security reasons we had to lockup our MySQL server, so unfortunately you can't use that test database anymore. The schema is described in test.sql. You can set this up on your own machine. See the examples on line 37-53 for how to work with blobs.

Best.
Jonathan

27 Apr 2013 queryMySQL Platform independent MySQL database solution with blob support. Author: Jonathan Karr FAUZI, AKHMAD

[HELP ME]

How i can save my image from Matlab to MySQL database in Type Data BLOB??

Please give me some tutorial with this Code in here,

my email: akhfauz.sisfo@gmail.com

Thanks Verry Much for your help

25 Mar 2013 Coverage Report Generator Generates Cobertura-style XML coverage report Author: Jonathan Karr Karr, Jonathan

Sorry for the confusion. I don't believe the Control System Toolbox is required.

Top Tags Applied by Jonathan
junit, mtest, testing, unit test, xunit
Files Tagged by Jonathan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Mar 2013 Coverage Report Generator Generates Cobertura-style XML coverage report Author: Jonathan Karr coverage report, cobertura, hudson, jenkins, xunit, junit 8 3
21 Dec 2012 Mat file header utilities Utility functions for reading and writing .mat file headers Author: Jonathan Karr file 4 0
21 Dec 2012 Computer info Returns username, hostname, and IP address of the current machine. Author: Jonathan Karr user, host, username, hostname, ip address 1 0
21 Dec 2012 Mat file utilities Utility functions for differencing mat files and structs. Author: Jonathan Karr mat file, struct, diff, difference 5 0
21 Dec 2012 Empirical formula Class for representing empirical formulae including support for basic math (+, -, *, etc.) Author: Jonathan Karr empirical formula, element, chemistry 1 1

Contact us