I had been calculating my t-tests by hand, based on an example from a textbook. But I wanted to check if I was doing it right. My initial Google results gave me a bumch of tutorials showing how to do t-tests but these all seemed to rely on a Microsoft Excel Add-in which was not included in the Excel that I have. After more searching, I finally found a video that does it WITHOUT requiring special add-ins or 3rd party tools. Booyeah! Thank you to the person who made this video, Jim Grange:
A Computer Scientist's personal research notes Technology, Research, Spirituality
Semantic web for Open Research
'Went to an inspiring talk yesterday by Dr. Mark Wilkinson. His group has done amazing things to leverage the semantic web for open research. Paper: http://link.springer.com/chapter/10.1007%2F978-3-540-30475-3_25
I was inspired to refresh my brain on:
I was inspired to refresh my brain on:
- Apache Jena
- SPARQL query language for RDF files (demo interpreter)
- RDF ontologies
- JAOB (JAVA Architecture for Owl Binding)
Heat map in Excel
I didn't realize how easy it is to create a heat map in Excel! 'Found this great link today:
http://peltiertech.com/heat-map-excel-conditional-formatting/
http://peltiertech.com/heat-map-excel-conditional-formatting/
Hibernate, multiple databases
Hey, did you know that you can have TWO hibernate.cfg.xml files in one web application?
I was working on a project that involved merging 2 web applications into one. There was an old web application that was being brought into the same GUI as a new system. The old web application, let's call it oldWebApp, had its own POJOs being saved in an old database on an old server. The new web application had new POJOs being saved in a different database on a different MySQL server.
But I needed everything packaged up in the same WAR file. How to do it?
In applicationContext.xml, I had two "singleton" sessionFactories. Like:
Notice how there are TWO hibernate.cfg.xml files?
Next, you just write your Manager classes (analagous to in this tutorial) according to the appropriate database. Connect the appropriate Manager class with the appropriate database, still in applicatonContext.xml, like this:
So from here just mark up your POJOs using plain old Hibernate annotations and the application is like "who cares what database this object is in" and it just works. So sweet.
After all that, it turns out we decided to migrate the old POJOs onto the new database server after all, so I gutted this part of the configuration files after all. But it was still fun to get it working.
I was working on a project that involved merging 2 web applications into one. There was an old web application that was being brought into the same GUI as a new system. The old web application, let's call it oldWebApp, had its own POJOs being saved in an old database on an old server. The new web application had new POJOs being saved in a different database on a different MySQL server.
But I needed everything packaged up in the same WAR file. How to do it?
In applicationContext.xml, I had two "singleton" sessionFactories. Like:
Notice how there are TWO hibernate.cfg.xml files?
Next, you just write your Manager classes (analagous to in this tutorial) according to the appropriate database. Connect the appropriate Manager class with the appropriate database, still in applicatonContext.xml, like this:
So from here just mark up your POJOs using plain old Hibernate annotations and the application is like "who cares what database this object is in" and it just works. So sweet.
After all that, it turns out we decided to migrate the old POJOs onto the new database server after all, so I gutted this part of the configuration files after all. But it was still fun to get it working.
Labels:
hibernate,
java,
MySQL,
tool configuration
Subclipse crash
One moment, I was fighting with Maven, and the next moment, Eclipse crashed! After this point, no matter what I did in SVN, from attempting to check in to even browsing the repo, it would crash. Like, Eclipse would quit completely and I’d get a “Report this error” window, “Would you like to restart Eclipse?”
Here’s how I fixed. it. In Eclipse, Preferences —> Team —> SVN. On this window there is a heading “SVN interface” and under CLient, I had JaveHL selected. Change thiis to SVNKit, click OK.
I had to re-enter my SVN userid and password, but now everything is magically fixed.
Reference: http://www.eclipse.org/forums/index.php/t/81973/
Here’s how I fixed. it. In Eclipse, Preferences —> Team —> SVN. On this window there is a heading “SVN interface” and under CLient, I had JaveHL selected. Change thiis to SVNKit, click OK.
I had to re-enter my SVN userid and password, but now everything is magically fixed.
Reference: http://www.eclipse.org/forums/index.php/t/81973/
Labels:
subclipse,
tool configuration
Subscribe to:
Posts (Atom)