web

WCF service not returning changed object

I have an object I pass to a WCF service. Then on the server, the service modifies some properties of the object, and returns an int. On the client side, after the service is called, the changes made to the objects' properties are not there. My unit tests work fine. But when run over services, the problem occurs. Any ideas on how to f...

ruby + save web page

To save the HTML of a web page using ruby, it's very easy. One way to do is by using rio : require 'rubygems' require 'rio' rio('http://www.google.com') > rio('google.html') It is possible to do the same for by parsing the html, requesting again the different image,s js, css and then save each of them. I think it is not very efficient...

How do I stream multiple web cams on a website?

A client has asked about designing a site that might have up to 200 live web cams placed in different places around the country streaming live on the website. What is the best way to do this? Thanks ...

I need to match a font from a designer to something similar for web

I don't know if this is an Illustrator spec or where exactly, but a designer gave me this spec for a font: Helvetica Neue (T1), 35 thin, 20 pt, off/ 454545, on/70a63a There are other similar ones for different areas of the page, but if you can tell me how to match this one using CSS, hopefully I can figure out the rest. Thanks!...

GetUsageData() in a web part returns null

I am trying to display some SharePoint usage data in a web part. Here's my code: SPSite spSiteCollection = new SPSite(myURL) spSiteCollection.CatchAccessDeniedException = false; SPWeb spWeb = spSiteCollection.OpenWeb(); DataTable dtResults = new DataTable(); dtResults = spWeb.GetUsageData(SPUsageReportType.url, SPUsagePeriodType.lastM...

What's th best way to classify a list of sites?

I have a list of X sites that I need to classify in some way. Is the site about cars, health, products or is it about everything(wikihow, about.com, etc?) What are some of the better ways to classify sites like this? Should I get keywords that bring traffic to the site and use those? Should I read the content of some random pages and j...

Jquery Mouse Over effect.. going "out" before it should

So I created a simple menu for a small project I have. When people mouse in and out of the menu on IE6 or IE7 the menu will drop down.. but it will go back up if you move the mouse slowly downwards. Does anyone know how to prevent this behaviour.. it seems like it thinks its mousing out.. even though it hasnt yet.. the url: http://vas...

Custom Output directory for a .NET Web Project

Whenever I choose a custom output folder in a WCF Service or Web project in VS .NET 2008, running the project always gives me errors or inconsistencies as far as finding the right referenced assemblies. For example, if the output folder is < solution root >\bin instead of < solution root >\Project\bin, the project will still attempt to ...

what is the best approach for to use openGL in the web?

I wrote a program in C++/OpenGL (using Dev-C++ compiler) for my calculus 2 class. The teacher liked the program and he requested me to somehow put it online so that instead of downloading the .exe file and run it the web browser will run it automatically just like a java applet. The question is: How if possible, can I display a C++/Ope...

REST / JSON / XML-RPC / SOAP

Sorry for being the 100000th person to ask the same question. But I guess my case is slightly distinctive. The application is that we'd like to have an Android phone client on 3g and a light python web service server. The phone would do most of the work and do a lot of uploading, pictures, GPS, etc etc. The server just has to respond w...

Consuming Web Services in CF 2.0

I made it work. However, there is a curious detail I noticed. My Web Service is retrieving data from the database and returns a list of objects: public List<RunResult> GetRunResults(string runno) When called from the CF project it is shown that this web method returns RunResult[]. What gives? am using CF 2.0 and the web service i...

REST Service with Load Balancing

Hi all, I've been considering the advantages of REST services, the whole statelessness and session affinity "stuff". What strikes me is that if you have multiple deployed versions of your service on a number of machines in your infrastructure, and they all act on a given resource, where is the state of that resource stored? Would it ma...

how can I make template of blogger from PSD fiels , PSD to XML file !

hi, I created a blog on blogger.com I design a template with photoshop and I'd like to transforme it to xml file to make it as blogger template ... mm what's the solution , can I do this act ! can I generate a xml file from PSD ... I don't know ... I read that I can and I saw a blog about this subject ,but I don't remeber wher ! any ...

EventBrite API to add a attendee programmaticaly

EventBrite Api allows you to manipulate the EventBrite system pretty much completely. The only missing method is to Add an Attendee. Has anyone overcome this problem? ...

Best way to present a Development and Live version

Like all web projects, when the site goes live you will require an ongoing support and development. We normally setup a BETA site to show our clients what it would look like so they can sign it off. With very large or highly programmed sites does anyone have a good way to deal with development and live site deployments ...

Normalization or Alternative with MySQL

Hi, building a site using PHP and MySQL that needs to store a lot of properties about users (for example their DOB, height, weight etc) which is fairly simple (single table, lots of properties (almost all are required)). However, the system also needs to store other information, such as their spoken languages, instrumental abilities, et...

Is there an open source tool, for exposing an existing database as a set of WebServices

I have an existing database (PostgreSQL in my case), and would like to access its data (Create, Read, Update, Delete, Query) through SOAP Web Services. What we are doing now, have JPA implementation of each Entity, and have an implementation of a generic CRUD interface. Then we expose these beans as JaxWS web services. The problem with t...

iPhone for Intranet

It started one day while I was using my iPod Touch: wouldn't it be cool to have XXX function (from our internal desktop application) available on the iPhone as an native app. I had that idea because (A) I think our current bulky desktop internal 6+ years old application suite needs a major face lift, and (B) instead of continuing our wa...

JAX-WS and XSD Validation

I have a wsdl that has a imported xsd, this xsd has quite a restrictions like this: <xsd:simpleType name="len_type"> <xsd:restriction base="xsd:string"> <xsd:pattern value='[:alnum:]{4} [\d]{2} [\d] [\d]{2}' /> </xsd:restriction> </xsd:simpleType> So I would thind that when I deploy this ear to glassfish via netbeans t...

What is good language for web-based games?

I'd like to play around with writing some very small, simple web-based games (checkers, Conway's Game of Life, etc). I started looking into Java applet tutorials, but my years of frustration with freezing Java applets had me wondering if there was a better||easier development language to invest my time. What's a good "starter" language f...