Hi!
I am studying the CodeCampServer.
I am confused about the MvcContrib.CommandProcessor.RulesEngine.
Are there any tutorials about the RulesEngine of the MvcContrib?
I'm a little confused by the document when I tried to connect to the Mongodb.And I find it's different from mysql.I want to create a new database named "mydb" and insert some posts into it.The follows is what I'm trying.
from pymongo.connection import Connection
import datetime
host = 'localhost'
port = 27017
user = 'ucenter'
passwd = '123'
connection = Connection(host,port)
db = connection['mydb']
post = {'author':'mike',
'text':'my first blog post!',
'tags':['mongodb','python','pymongo'],
'date':datetime.datetime.utcnow()}
posts = db.posts
posts.insert(post)
#print str(db.collection_names())
And I got an error as pymongo.errors.OperationFailure: database error: unauthorized.How can I do the authorizing part?Thanks.
Could you tell me which is the best MVVM pattern someone have to follow (like Prism). where can i found hands on exmaple. Actually i was little confused which one to follow?
Thnx
Hi,
Im confused about OOPS feature esp about multiple inheritance. Is OOPS allows Multiple Inheritance. Is Multiple Inheritance is a feature of OOPS. If Multiple Inheritance is feature then languages like C#,VB.NET,java etc doesn't support multiple inheritance.But those languages are considered as strongly supported OOPS language. Can anyone address this question
I've heard something and seen some examples of web application built using ASP.NET / PHP and I'm wondering what would be the equivalent way of doing similar things in Java world. Looking on the Wikipedia I have found a lot of frameworks and I'm kind of confused which one is the best.
Hi!:)
In my extension, when a button named "mybutton1" in the popup.html is
clicked, it sends a message "getvar1" to the contentscript.js, then
the contentscript.js sends a message "i want var1" to the
background.html to get an object named "var1".If the button named
"mybutton2" is clicked, the contentscript.js gets the "var2" object.
How should i do under this condition?
What's more, i am a little confused about the
chrome.extension.onRequest.addListener method and
chrome.extension.sendRequest method.Could someone tell me the
mechanism of the two methods?
Thanks!
I'm confused as to when one would choose AsyncTask over a Handler. Say I have some code I want to run every n seconds which will update the UI. Why would I choose one over the other?
hey guys
im somehow confused in using proper functions to escape and create a slug
i used this :
$slug_title = mysql_real_escape_string()($mtitle);
but someone told me not to use it and use urlencode()
which one is better for slugs and security
as i can see in SO , it inserts - between words :
http://stackoverflow.com/questions/941270/validating-a-slug-in-django
thanx in advanced
I tried Unity and MEF and plain old new. And I am a bit confused as to when exactly you need to use any of these "patterns". Why would I choose to use MEF or Unity if using new is simpler and satisfies my needs.
MyObject a = new MyObject();
In other words, what needs justify the use of MEF or Unity?
I have been search about SharePoint Governance for past few days, the more I search, more confused I am getting about this Topic.
Could anyone just explain in brief? What you know about it or are you using/implementing it?
I have a program that is interacting with hardware via parallel port programming. i had compiled it and using its object file to interact with the hardware (a simple led). when i execute it directly on the shell it serves the purpose of glowing the LED but when i execute it using shell_exec() in php the command is executed but unable to interact with the hardware. i am totally confused.. .
Try to find a global function, to get and to put the backgroundPosition-values, but I feel a bit confused.
Here is the function:
function global_backgroundPosition_Menu(num){
$('#Navigation_1')
.css({
backgroundPosition: num + "px 0"
})
}
///////////////////
An here I want to call and put the function:
if ($('#Navigation_1 li.leistungen.active').length != 0){
global_backgroundPosition_Menu();
$('#Navigation_1')
.css({
backgroundImage: "url(images/background/menu_highlight_hg.png)",
backgroundRepeat: "no-repeat",
})
.animate({
backgroundPosition: "30px 0"
})
global_backgroundPosition_Menu(30)
};
I'm trying to understand what this line does, but being a pretty new Java programmer I am getting a little confused. Any help would be appreciated!
JComponent container = menu == null ? popupMenu : menu;
Hello,
I'm a bit confused about Javascript undefined & null.
Firstly what does if (!testvar) actually do? Does it test for undefined and null or just undefined?
Secondly, once a variable is defined can I clear it back to undefined (therefore deleting the variable).
Thirdly, can I pass undefined as a parameter? e.g:
function test(var1, var2, var3) {
}
test("value1", undefined, "value2")
Thanks,
AJ
Hi All,
I have had some reports from users of my android app that there is no sound being played on the X10. I'm a bit confused as it works on all other phones that I have tried, Neus One, Hero, Droid. I'm using the SoundPool class to play sounds, has anybody else had similar issues with the X10?
Thanks,
Gaz
Hi all,
i want to choose iphone development as my career, but i am confused about following questions.
1) is iPhone short term technology ( i mean like asp was gone after dot net came)
2) is iPhone only gaming technology
3) should i go with iphone or dot net
I'm confused regarding the densities. I see that with medium density, the screen resolution could be either 320x480, 480x800, or 480x854. So if I have an image thats 300px wide in the mdpi folder, how is it going to look the same size on all 3 different screen sizes (mainly 320x480 vs the other 2)?
And by look the same size, I mean scale to be bigger or smaller depending upon the screen size. Thanks.
I am not sure how to best describe what I am trying to do (or search for it for that matter) but I am going to try.
I have a pre-existing query (stored procedure) that returns items based on 3 specific ID's. What I want to do is to be able to reduce the results even further based upon a column within the results having the exact same string.
For some reason I am confused about how to do this, I am drawing a complete blank about this.
Please help
Hi Guys,
How do you generally proceed for your package installations on Linux, for packages that are not part of your distrib's repos?
On my side I am used to install in /opt. But since, I saw this doc on the Internet: http://www.pathname.com/fhs/. Now I am confused: apparently /usr/local would be also a possibility.
What is the difference between both? Any best practices to share?
Thanks
SirFabel
I see the example for repeating events in the code but I'm confused as to how it works. How would I go about adding an event (adding events as an array for now) which occur every Monday at 4:30pm? I'm trying to use the basicWeek view.
I am really confused between different types of languages.
Can any one guide what are diff types of languages or diff categories.
Like some saying python is scripting langauge. Now what does that mean. Are other langueages like php , asp , java not scripting langauges
Hello,
I am wondering when to use static methods? Say If i have a class with a few getters and setters, a method or two, and i want those methods only to be invokable on an instance object of the class. Does this mean i should use a static method?
e.g
Obj x = new Obj();
x.someMethod
or
Obj.someMethod
(is this the static way?)
I'm rather confused!
Hi!
I have a task that takes a long time executing. In order to inform about the progress to the user I have a progress bar that I update inside DoWork but I would like anybody tells me if it is the best way to update the progress bar. I have heard that there is a reportprogress event handler but I am confused because I don't know what is the utility of the ReportProgress.
Thanks.