I'm confused as to the difference. Being fairly new to .Net, I know I can query IEnumarables using the Linq extensions. So what is this IQueryable and how does it differ?
I am very used to javascript and php programing, and I just jumped into programing Objective C. After working with it for a few weeks, the methods still confused me, as to how it is passing params, and how the methods are named.
Since I am used to php, I am used to seeing:
function myFunc($param1, $param2, $param3, $param4) {
return FALSE;
}
Could someone show me how this would be written in Objective C, so that I can get used to writing methods that have parameters?
I'm trying to use the MPMediaPlayback protocol's currentPlaybackRate() to slow down a video. I'm confused though as the class MPMoviePlayerController states that:
You can control most aspects of playback programmatically using the methods and properties of the MPMediaPlayback protocol, to which this class conforms.
Except just above in the header here: http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html it doesn't seem to.
All I want to do is slow down the playback rate for a video.
Hi all,
I want to choose iphone development as my career, but I am confused about following questions.
is iPhone short term technology ( i mean like asp was gone after dot net came)?
is iPhone only gaming technology?
should I go with iphone or dot net?
I'm confused with these colors.
I noticed there are 4 colors showing in the left hand column of FireBug DOM tree:
Bold black
Black
Bold green
Green
In the right hand column:
Blue
Red
Bold green
Green
Multiple color elements representing object structures.
What do this colors represent? And why, e.g, I can access window.document.URL and I can't access window.document.body in Console even though they are both in the "not-bold black" category in the DOM tree?
Thanks a lot
I'm starting to learn about COBOL. I have some experience writing programs that deal with sql databases and I guess I'm confused how cobol stores and retrieves data that is stored in a mainframe for example. I know that it's not like relational databases but every example program I've seen takes data straight from the command line and I know thats not how real world COBOL programs process the data. Can someone explain or show me a good resource that can explain it?
I know 'dequeue' and 'enqueue' for Queues (remove and add respectively), but what is 'count'? Does that return the total number of items in the Queue, or only the top item in the queue?
I think I may be getting 'count' confused with the 'peek' used in Stacks - which returns the latest node at the top of the stack.
Hi,
Not really a coding question more a little help with my idea of a Relational database.
If I have 3 tables in a SQL database. In my php script I basically query the companies which are in industry "a" and then insert a row into a separate table with their details such as companyId , companyName etc is that a type of Relational database ?
I have explained it in a simple way so we don't get confused what I am trying to say.
I have heard perl is a good language at doing regex but i am a bit confused at the characters that requires escaping
I tested the code on http://regexlib.com/RETester.aspx and got the result I want
//home/dev/abc/code/hello/world.cpp#1
//home/dev/((.*?)/[^/]+).*#
Match $1 $2
//home/dev/abc/code/hello/world.cpp# abc/code abc
However, I am not quite sure how do i translate this to perl code
I tried,
\/\/home\/dev\/\(\(\.\*\?\)\/\[\^\/\]\+\)\.\*\#
and
\/\/home\/dev\/((.*?)\/[^\/]+).*\#
and both failed
Don't you think the escaping makes the regex very unreadable? Am i using something wrong?
If I understand correctly, Microsoft Silverlight is a lightweight .NET implementation meant to run on the client side, inside a browser. So now I hear about "out of browser" silverlight applications and I'm confused.
What is the advantage of an "out of browser" silverlight application, compared to a traditional .NET desktop application?
Hi,
Not really a coding question more a little help with my idea of a Relational database.
If I have 3 tables in a SQL database. In my php script I basically query the companies which are in industry "a" and then insert a row into a seperate table with their details such as companyId , companyName etc is that a type of Relational database ?
I have explained it in a simple way so we don't get confused what I am trying to say.
I need to use Loki's small object allocator but I am very confused as to how it works. I've read the documentation and lots of forums but it doesnt make sense: some of them say to use the stl, others use custom allocators. I just need to be able to test its performance with allocating and deallocating objects of different sizes. Could someone please provide a small example of how to use it?
I'm confused about an OOPS feature, multiple inheritance. Does OOPS allow Multiple Inheritance? Is Multiple Inheritance a feature of OOPS? If Multiple Inheritance is a feature then why don't languages like C#, VB.NET, java etc. support multiple inheritance? But those languages are considered as strongly supported OOPS language. Can anyone address this question?
which format of png me should use Png-8 or png-24. which one is better for website. i am confused about these. what is main different between png-8 and png-24?
I'm little confused with Cactus and mock objects (jMock, Easy mock).
Could anyone please answer the following questions?
When to use Cactus for testing?
When not to use Cactus for testing?
When to use mock objects for testing?
When not to use mock objects for testing?
Hey everyone,
I am a little confused after reading this thread on the revisions to the iPhone Developer Agreement.
While it lists the languages that are permitted, I don't understand what classifies as falling under what is banned.
Does this include wrapper classes? What if the code is written in Objective C but is not an official Apple class/library?
I'm wondering about things like:
Three20 from Facebook
SQLite Wrappers such as this one
Charting / Graphing Libraries
If anyone could clarify this, I'd greatly appreciate it.
I'm a little confused to what html5 canvas is. I've been told it is javascript, but it seems to be a much bigger deal?
What makes it different than javascript?
Why is it so amazing?
Does it do other things than javascript?
Thanks,
Dan
I can't believe I'm still confused about this but, any way, lets finally nail it:
I have a class that overrides OnPaint to do some drawing. To speed things up, I create the pens, brushes etc before hand, in the construtor, so that OnPaint does not need to keep creating and disposing them.
Now, I make sure that I always dispose of such objects, but I have the feeling I don't need to because, despite the fact they implement IDisposable, they're managed objects.
Is this correct?
I was looking at code from Mozilla that add a filter method to Array and it had a line of code that confused me.
var len = this.length >>> 0;
I have never seen used in JavaScript before. What is it and what does it do?
I want to learn more about "trie" data structures. I've read about them on Wikipedia but I'm still confused.
What is the most common use? Auto-complete in the address bar of a web browser... or?
Cheers!
What video format does HTML5 support that is compatible with the iPhone/iPad? I was thinking of putting together a website with some instructional videos and I'm now confused as I thought that only Quicktime was supported by Apple mobile devices.
I'm trying to use the MPMediaPlayback protocol's currentPlaybackRate() to slow down a video. I'm confused though as the class MPMoviePlayerController states that:
You can control most aspects of playback programmatically using the methods and properties of the MPMediaPlayback protocol, to which this class conforms.
Except just above in the header here: http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html it doesn't seem to.
All I want to do is slow down the playback rate for a video.
My system administrators advice me to be careful when setting access control to files and directories. He gave me an example and i got confused, here it is:
a file with protection mode 644 (octal) contained in a directory with protection mode 730.
so it means:
File:101 100 100 (owner, group,other: r-x r-- r--)
Directory:111 011 000 (owner, group,other: rwx -wx ---)
How can file be compromised in this case ?
Hi,
I have this code written in .NET 4.0 using VS2010 Ultimate Beta 2:
smtpClient.Send(mailMsg);
smtpClient is a reference to SmtpClient (I have the relevant references added), and likewise for mailMsg (is MailMessage) - there are no errors stating anything like check for missing assemblies.
However, I keep getting an error saying that I have the incorrect no of overloads, when SmtpClient takes either a MailMessage object or the To address, From address, Subject, etc.
Why doesn't this code work? Totally confused.
Thanks
Hello, everyone)
I'm new in Java world and I'm tottaly confused with numbers of java server-side technology.
I need to build application with Java on server side and Flex-AIR on client one. All communication between them must be on sockets and in AMF format.
Can you please help me to choose right to technology to learn?