Is it possible to perform multi-linear regression in Python using NumPy?
The documentation here suggests that it is, but I cannot find any more details on the topic.
Hi,
Regarding to jQuery utility function jQuery.data() the online documentation says:
"The jQuery.data() method allows us to
attach data of any type to DOM
elements in a way that is safe from
circular references and therefore from
memory leaks. "
Why to use:
document.body.foo = 52;
can result a memory leak -or in what conditions- so that I should use
jQuery.data(document.body, 'foo', 52);
Should I ALWAYS prefer .data() instead of using expandos in any case?
(I would appreciate if you can provide an example to compare the differences)
Thanks,
burak ozdogan
I am having problems with creating an in memory table, using H2 database, and accessing it outside of the JVM it is created and running in.
The documentation structures the url as "jdbc:h2:tcp:///mem:'
I've tried many combinations, but simply cannot get the remote connection to work. Is this feature working, can anyone give me the details of how they used this.
Due to a mistake I forgot to add :id => false to a has_many :trough table creation migration.
Now I reverted the association back to a has_and_belongs_to_many and ActiveRecord throws an exception complaining about the presence of the primary key.
I couldn't find any reference on the ActiveRecord documentation so, do you know if there is any standard, clean way of doing it?
The documentation states: "Precision can range from 1 to 38. Scale can range from -84 to 127".
How can the scale be larger than the precision? For example I can't create a column with the datatype NUMBER(10, 100). Shouldn't the Scale range from -38 to 38?
Hi all,
the FORMSOF THESAURUS throws errors for specific character. E.g. FORMSOF (THESAURUS, hel!lo) throws an error where as FORMSOF (THESAURUS, hel?lo) works. But I didn't find any documentation about which characters are allowed.
Can you help me out? Thanks alot
I want to know if there is anyway for removing not required elements from generated xml using jaxb.I have my xsd element definition as follows.
<xsd:element name="Title" maxOccurs="1" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
A name given to the digital record.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"></xsd:minLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
As you can see it is not a mandatory element because
minOccurs="0"
But if it is not empty the length should be 1.
<xsd:minLength value="1"></xsd:minLength>
At the time of marshalling if I left the Title field blank it is throwing the
SAXException because of min-length restriction.
So what I want to do is to remove the whole occurrence of <Title/>
from generated XML.Right now i have removed the min-length restriction so it is adding the <Title> element as EMPTY
<Title></Title>
But I do not want it like this.Any help is appreciated.I am using jaxb 2.0 for Marshalling.
UPDATE:
Following is my variable definiton :
private JAXBContext jaxbContext;
private Unmarshaller unmarshaller;
private SchemaFactory factory;
private Schema schema;
private Marshaller marshaller;
Marshalling code.
jaxbContext = JAXBContext.newInstance(ERecordType.class);
marshaller = jaxbContext.createMarshaller();
factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
schema = factory.newSchema((new File(xsdLocation)));
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
ERecordType e = new ERecordType();
e.setCataloging(rc);
/**
* Validate Against Schema.
*/
marshaller.setSchema(schema);
/**
* Marshal will throw an exception if XML not validated against
* schema.
*/
marshaller.marshal(e, System.out);
Hello there,
I have beein using Tunderbird for many years now and now i am interested in developing some of my own extensions.
I looked over the documentation on their official website but found little suport for getting started at this.
I have some experience with python, perl, php and would like if you can reccomend me some geting started materials, a "hello world" for this would be great
Best regards,
Mike
Is there a better alternative to dotNetInstaller for chaining MSI's, MSU's and EXE files? In other words a bootstrapper.
dotNetInstaller is terrible in quiet mode with no options/documentation on what parameters to pass when a component install fails etc (e.g Continue Yes/No)
I would like to create a shortcut key for "Reloading a file" in notepad++ as I use this feature a lot in it.
I tried finding documentation for it but didn't find any useful information.
Is it possible? If yes, please point me to how to do this?
Is the dock tile plug-in of an application used even when the application is not active?
The documentation says that the dock title plug-in is used when the application is loaded in the dock, but that means that the application is running of that the application is put in the dock because the user wants it to stay on the dock?
Hi, I want to process raw data from a picture taken in java me with
byte[] snap = videoControl.getSnapshot(encoding);
My question is, whether I should try working already with snap or should I first create the image from this array
Image im = Image.createImage(snap, 0, snap.length);
and then work with that? Or is there some better documentation of both methods, i.e. getSnapshot and createImage than the Java API reference?
On this website,http://www.webdavsystem.com/server/documentation/ms_office_read_only, it states that in order to open a writable version of a MS Office doc this condition has to be met:
Your WebDAV server must be configured on site root.
Is this still true? Because I tried the SqlStorage sample and it works fine. I deployed the application on IIS 7, under <server>/TestWebDav and MS Office 2010 opened the documents in the sample just fine.
Thanks
Hi,
java.util.zip has well-known problems with native memory usage, so i'm trying to use a drop-in replacement called "jazzlib". unfortunately as is typical for sourceforge projects there is no documentation. If I add the jar to my classpath then Java freaks out and gives me "prohibited package name" errors because it replaced java.util.zip. How do I tell Java that this is what I want it to do?
Last summer I learned HTML and CSS for a job, mainly through tutorials and a sort of "build this" method, that is, I'm given a goal and have to try to figure out how to build it myself.
Is there a place with some examples to teach someone with this method? My boss wants to get me going on PHP this summer, and I need to refamiliarize myself with it over the next week. Most people send me to Php.net to follow the documentation, is there another good method out there?
I know that Spring 3 supports JSR-286 (portlets version '2.0').
However I can't find a lot of documentation on that.
Can anyone share some links about this?
Thank you.
Having just upgraded to a newer version of HtmlUnit (2.4), I've noticed certain tests are failing when comparing the output of asText. Looking into the differences, this is because dates (present on the page in the format 11/06/2010 00:00z) are being altered in the output to read 2010-06-11.
Has anybody else encountered this, and can anybody advise how to turn off this (seemingly undocumented) feature of asText, which seems to go completely against the advised documentation.
hi,
I downloaded the Gson library from http://code.google.com/p/google-gson/.
The archive contains the following jar files:
google-gson-1.3/gson-1.3-javadoc.jar
google-gson-1.3/gson-1.3.jar
google-gson-1.3/gson-1.3-sources.jar
How do I set my Eclipse to be able to use the package in my projects? Where do I put the documentation?
Thanks
jul
I need to hash some passwords with salt on postgresql, and I haven't been able to find any relevant documentation on how to get that done.
So how can I hash passwords (with some salts) in postgresql?
Inside of the interactive ruby console if i type ri then i get an undefined method error, do i explicitly have to install documentation somewhere to get this to work?
irb(main):015:0* ri --help
NoMethodError: undefined method `-@' for nil:NilClass
from (irb):15
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:295
irb(main):016:0> ri Array
NoMethodError: undefined method `ri' for main:Object
from (irb):16
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:295
what data type (string, blob or clob) should i use for my thread body when using doctrine?
and what length should it be?
i have read the documentation but dont quite understand the differences between them.
seems that all three can store unlimited nr of characters.
could someone explain
and how do i store unlimited characters in string? what should i set as length?
When hovering over a data point in Chaco, I would like a small text box to appear, with the text I desire. Also, when I click on a data point (or close enough), I would like my program to take a certain action. I have seen relevant parts of the Chaco documentation, but implementing them has proved difficult. Any help would be appreciated.
Thanks.
I'm trying to write a library to separate all the disk activity out into its own thread, but the documentation doesn't really care about such things.
What I want to accomplish is that aside from startup, all disk activity is asynchronous, and for that, I need to wrap every class that accesses the disk. Here's what I found so far:
QtCore:
QFile
QTemporaryFile
QDir
QFileInfo
QFileSystemWatcher
QDirIterator
QSettings
QtGui:
QFileDialog
QFileSystemModel
QDirModel
(unsure) QFont
(unsure) QFontDialog
I'm sure there are more.
Hiya,
I've been shifting through the drupal documentation and forums but it's all a little daunting. If anyone has a simple or straight forward method for adding fields to the Site information page in the administration section i'd really appreciate it.
As a background, i'm just trying to add user customizable fields site wide fields/values.
I've just installed Kohana 3.0.4.2 and I have run the index.php file successfully. According to the documentation, the next step is to edit the config files in the application/config folder. I have that folder but there are no files in it! I downloaded the package again to make sure it wasn't corrupted, but the same problem exists. Why is the application/config folder empty?