Could someone please explain the difference? From what I understand, I could expose my data directly using WCF data services or expose it using OData.
http://msdn.microsoft.com/en-us/data/aa937697.aspx
Can someone give a good suggestions of an excellent tutorial on org.apache.http.client.HttpClient
I tried this one but it does not cover a lot of details about the params etc.
http://hc.apache.org/httpclient-3.x/tutorial.html
I am a .NET developer looking for a job. I've talked to someone who works at Google and loves it there and I generally have a good feeling about working for that company because I love most of Google's products and services. But are they even interested in .NET developers? I had the impression they only use non-proprietary technologies.
Is there some way in objective C to see if an instance is being touched such as:
- (void)viewDidLoad {
[super viewDidLoad];
if (recordButton.touched = YES) {
NSLog (@"record button got touched");
}
}
Can't they just make these things easy?
Could someone help?
I have an asp.net application and in the UI I have a jquery plugin called growel. When I detect that someone have changed their account (code behind) I need to call the jquery plugin to display but this is on the client side.
But how is this possible, I cant call jquery from code behind code (C#), has anyone a workaround or am i missing something.
new here and I'm crossing fingers for help.
I'm working on http://www.catgriz.com
On the frontpage I have a slideshow that stacks all of the information on top of itself when you initially visit the page. But after a simple browser refresh, it displays correctly.
I was hoping someone could look at it and point me in the right direction of what I've done wrong. I'm using Joomla with a Yootheme.
Thank you so much in advance!
Can someone explain the difference between a class and a module. When do you use one versus the other? I am using C#.
Update: I do mean the C# equivalent of the VB Module.
I've researched for hours and still haven't found a robust, non-absolute-positioning solution for displaying multiple-column forms and values without using TABLE tags.
Can someone point me to a resource specifically oriented towards reproducing table-based, multiple-column forms (like name and address forms) in CSS to standards?
Most of the forms I see only have a single column with field/value.
I have this idea where I want to allow someone to call a phone number from their cell phone, and then a website would display their caller ID. I want to do this in php, but I'm really not sure how. I'm pretty good with PHP and I'm assuming you need some kind of GSM modem attached to the web server to accept the incoming phone calls, but that's really as far as I can get. If anyone can point me in the right direction that would be great.
Thanks!
Can someone help me complete this PHP function? I want to take a string like this: 'this-is-a-string' and convert it to this: 'thisIsAString':
function dashesToCamelCase($string, $capitalizeFirstCharacter = false) {
// Do stuff
return $string;
}
In searching the web I came across http://groupaware.mobi/iphone which
has a sample iphone navigation site.
Is there someplace I can find a similar thing for android? i.e.
sample web pages with css, sample templates, navigation etc.
If not, what suggestions would you have to offer to someone looking
to build a web page for android?
Can someone point me at what I should be doing under scala 2.10 in place of this deprecated type witness on Manifest?
reflect.ClassManifest.singleType(foo) <:< barManifest
Honestly, my goal here is just to replace it with something that doesn't raise a deprecation warning. I'm happy to use the new reflection API.
Here's the code in question in context, if that's important:
https://github.com/azavea/geotrellis/blob/master/src/main/scala/geotrellis/feature/op/geometry/geometry.scala#L45
Could someone provide a link to a good coding standard for Haskell? I've found this and this, but they are far from comprehensive. Not to mention that the HaskellWiki one includes such "gems" as "use classes with care" and "defining symbolic infix identifiers should be left to library writers only."
I am a beginner who finally started understanding anonymous types.
(see old post http://stackoverflow.com/questions/3010147/what-is-the-return-type-for-a-anonymous-linq-query-select-what-is-the-best-way-t)
So in LINQ queries you form the type of return value you want within the linq query right? It seems the way to do this is anonymous type right?
Can someone explain to me if and when I could use a Tuple/Expando object instead? They all seem very simliar?
I have a Location that can have Events. I want to have an upcoming_events method but want it to round down such that if someone looks at 10pm at night, it will show todays events. I have this:
def upcoming_events
d=Time.new
d.strftime("%m-%d-%Y")
l=Event.where('location_id=? and start_datetime>?',self.id, d)
end
I gets converted down correctly but in d.strftime but the query is:
SELECT `events`.* FROM `events` WHERE (location_id=301 and start_datetime>'2012-06-20 02:49:23')
Any idea how to just get it to do '2012-06-20'?
Hi,
I've got this regex (I'm not good at it) /http://www.youtube.com/watch?v=[a-zA-Z0-9_]/i it has to match any youtube watch url (because youtube always redirects to that domain)... It should match http://www.youtube.com/watch?v=iMXCqgWjpL8 but it doesn't.
Can someone help me?
Regard,
dodo
Im looking for a tool that can watch database(mysql and oracle) for changes.
When someone inserts or updates something in any table i want to get to know about it.
I know that it can be done using triggers(http://stackoverflow.com/questions/167254/watching-a-table-for-change-in-mysql), but im more interested in some tool that can do it. free tool.
Problem:
I want my unicode characters to be stored on disk as (rather tan utf8/16 encoding)
\u####
However, I want them dispalyed as unicode characters when opened up in vim.
I think the easiest way to acheive this is some bufopen/bufwrite script that automatically:
on opening, convert \u#### to unicode character
on writing, convert unicode characters into \u####
However, I don't know what functions to call to make this happen. Can someone lend a hand?
Thanks!
I have tried a few options, none of which seem to work (if I have a simple multipart form with a named field, it works well, but when I don't know the name I can't just grab all files in the request...).
I have looked at http://stackoverflow.com/questions/81451/upload-files-in-google-app-engine and it doesn't seem suitable (or to actually work, as someone mentioned the code snipped it untested).
UPDATE members SET money=money+100 WHERE username IN (SELECT username FROM forum);
Lets say I wanted to give each of my members 100 money for each post in my forum. This query works but if one member has posted more than once, they only get 100. Could someone correct this query please?
Can someone advise me open source format conversion library? Optimized for SSE, SSE2.
Formats for conversion: I420, YUY2, RGB(16-bit, 32-bit).
I found only VirtualDub Kasumi library.
Hi,
I'm wondering if someone knows how to store an array into a user session?
This is the method to store a single attribute:
$this->getUser()->setAttribute('something', $something);
And the documentation says:
"User attributes can store any type of data (strings, arrays, and associative arrays)"
... but doesn't say anything more. The API documentation doesn't have a "SetAttributes" or something similarly obvious.
Thank you.
Hi Folks,
Can someone tell me since which ECMA version the IN operator is available and which browsers (versions) support it ?
Explanation:
The IN-operator can be used like the following:
var myObject = {
Firstname: 'Foo',
Lastname: 'Bar'
};
if('Lastname' in myObject){
// Lastname is an attribute of myObject
}
Hi folks,
I want to make a a printable schedule as table with fixed height/width cells.
Cells contains names and i don't want that the names do line breaks.
Is there a way to dynamically adjust the font-size so that there will be no linebreaks or hiding text?
Maybe someone knows a good plugin or snippet for that issue?
I want to allow people to select a feature region on an image using jQuery.
This should work similarly to the Facebook tagger except once someone "tags" an area of the image an ellipse should appear with the ability for the user to rotate and scale it.
How can I achieve this using jQuery?