I have a situation here at work. We are redeveloping our basic architecture across the entire company.
Currently we have the following hierarchy;
SQL Database <= Stored Procs not allowed.
nHibernate
Classes to convert nHibernate into our own objects
Web Service <= for all external and [internal] calls.
Class to…
Hi,
I haven't done much js. I am trying to compare two dates. From jconsole
a = ["01/01/2010","01/02/2010","01/03/2010"]
date1 = new Date('01/02/2010')
Sat Jan 02 2010 00:00:00 GMT-0800 (PST)
date2 = new Date(a[1])
Sat Jan 02 2010 00:00:00 GMT-0800 (PST)
date1 == date2
false
Can someone tell me why this does not match?
thanks.
Hi
i am getting the following error
File does not exist: D:/wamp/www/script/products, referer: http://localhost/script/products/category/product-123.html
whenever in apache error log whenever following url
http://localhost/script/products/category/product-123.html
is parsed through this
RewriteRule…
I have the an ASCII message of SNMP traps, how can i sent it to different IP address? i dont want to use email instead. Given a IP address and the port, of that receiver machine.
PLease tell me the solution or where can i get references to the command at
least. coz i could find anything regarding it.
…
I want to get the hardware address of my mac's ethernet card. In all samples I saw in include on . Which seems not to exist on my system. GCC throws an error saying he doesn't know the type IOEthernetAddress.
Is assert.h necessary for my task? It would be great if someone coud give me a working sample.
I've never noticed it making any difference whether or not I include the .h at the end of an include, so I've always ignored the meaning, but I've just noticed in a particular program of mine, I get the error "memcpy was not declared in this scope" if I include "string", but not if I include…
What modules would be the best to write a python program that searches through hundreds of html documents and deletes a certain string of html that is given.
For instance, if I have an html doc that has <a href="test.html">Test</a> and I want to delete this out of every html page…
I have this plugin. It works great with gridPanel. But there are some problems with editorGridPanel. After editing of some row plugin stops work. Maybe someone can fix this problem? I looked at code, but cant find answer....
Hi folks,
I'm finding this a bit tricky! Maybe someone can help me on this one
I have the following model:
class Unicorn(models.Model):
horn_length = models.IntegerField()
skin_color = models.CharField()
average_speed = models.IntegerField()
magical = models.BooleanField()
…
I want to use WatiN with IE in a parallel setting, i.e. work with dozens/hundreds of pages at once. I've tried sticking it into a Parallel.For loop only to see the whole thing crash, so I'm thinking opening multiple tabs in the browser is the way to go. Can someone suggest how this can…
Crystal reports isn't working on different servers because they use different connection strings and crystal reports can't use the connection string stored on the web.config to access the database.
Is there an alternative to crystal reports that can use the connection string on the…
Hi,
i'm developing an enterprise application using asp.net mvc, wf-wcf services and normal wcf. I want use a unique point of view of unmanaged exception and my problem is integrate wf-wcf services with ELMAH. The problem is that in wf-wcf i can't decorate di class with the elmah…
Hi All,
Does anyone have any idea about any songCatcher library for Linux? songCatcher is based on the acoustic fingerprints.
I managed to find one "Audio-Ofa-Util-0.04" but I'm facing problem in using it. Or if someone can help me understand its usage.
Like: how can I pass…
Hi everyone, I made a program in Python and now I whant to transfert it to vb.net. But I have some difficulties with the vb.net regular expression.... Someone can help me please?
There are my Python regex:
id = re.search('(?<=watch\?v\=)[\w|-]+|(?<=/v/)[\w|-]+', src)
id =…
Hi.
I'm trying to merge trunk change-set into a branch, but have found out a lot of post-merge issues, including whole files that disappeared, and missing code blocks
I'm using SVN 1.6 for both clients and server.
Tried this with multiple clients - Eclipse, Netbeans and SVN -…
I am creating an application. I have to implement a bookmark feature, and adding one should be similar to this:
I want editable UITableViewCells for text input. I was wondering if there is an easier way then embedding a UITextField into a UITableViewCell. And if not, can…
I got an exception sayin, CollectionConverter cannot convert from System.String.
sample piece of code :
TypeConverter type1 = TypeDescriptor.GetConverter(somemethodtype);
Obj = typeConvert.ConvertFromString(result["xxx"].ToString());
can someone tell me y i get dis…
Hi,
I was looking up how to create a view programmatically and found the following example code:
self.view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
This works great, except I don't like that it hardcodes the size of the screen. Is there a way to…
Following the KISS principle, I suddenly realised the following:
In .NET, you can use the Entity Model Framework to wrap around a database.
This model can be exposed as a web service through WCF.
This web service would have a very standardized definition.
A client…
Hi,
Given that the mapkit doesn't provide forward geocoding functionality today, can anyone provide help on how I can i use a search bar to return a latitude and longitude coordinate from a user inputted address today. If someone can provide sample code that would…
when writing a file using NSFileCoordinator i need to specify to correct NSFileCoordinatorWritingOptions. Although they are explained in detail, i am not sure when to use which one. The available options are:
NSFileCoordinatorWritingForDeleting…
I am so fed up with this google products I am Ready to give someone my UN and PS and pay them to do it. I keep getting a error message saying Text, I followed the instructions , they said to do it in excel and save as a text please
Help…
hi.
I'm trying to transform some uml diagrams (of singleton , AbstractFactory ...) to Z specification , first i transformed my uml diagram to an xml file using starUML then
i used an xsl program and saxon to transform my xml file to .tex(…
This is not a question about jQuery, but about how jQuery implements such a behaviour.
In jQuery you can do this:
$('#some_link_id').click(function()
{
alert(this.tagName); //displays 'A'
})
could someone explain in general terms (no…