Hi, i', trying to make a simple 3d game for android, and i want to use jmonkeyengine, Can i do this? How can i do it? Someboy can show me an example?
thanks!!!
Hi
i have a signup page and i want to check username exists or not with ajax
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Simple.ascx.cs" Inherits="UserControls_Simple" %>
??? ??????:
???? ????
i eant to show label if user exists
how can i do that?
tnx
Here's a common situation that I have and wish to avoid creating tedious loops and fiddling with html tables:
I have a model Movie, which is has fkeys to Director and to Genre.
How can I elegantly render a simple data table that has on one axis the different Directors, on another axis the different Genres, and inside each cell the count of the movies filtered by the respective Director and Genre?
Thanks!
I think this might be a pretty simple question, but I haven't been able to figure it out yet. If I've got a 2-dimensional array like so:
int[,] = new int[2,3] { {1, 2, 3}, {4, 5, 6} };
What's the best way to iterate through each dimension of the array with a nested foreach statement?
I want to know what is the standard way for writing a -simple- kernel to be compiled on NASM?
To get it clearer:
I was able to define the code block with all the following ways:
[segment code]
[segment .code]
segment code
segment .code
[section code]
[section .code]
section code
section .code
I need to know what is the standard way to do that, And what is the difference between them...
Thanks
Using grails 1.2.1 this should be very simple, but still I can't get it to work.
In my application /grails-app/views I've added mypage.gsp
Plus
"/mypage"(view:"mypage")
to the mappings block of my URLMapping class.
while
http://server-name:8080/myapp/mypage.gsp
works
I'm still getting 404 - page not found when I try to open
http://server-name:8080/myapp/mypage
Thanks,
Guy
I've got a rather strange problem. For a Distributed Hash Table I need to be able to do some simple math operations on MD5 hashes. These include a sum (numeric sum represented by the hash) and a modulo operation. Now I'm wondering what the best way to implement these operations is.
I'm using hashlib to calculate the hashes, but since the hashes I get are then string, how do I calculate with them?
I'm learning Erlang. I've moved from Haskell so I don't want to and have to learn functional programming.
But Erlang is quite specific because of the microprocesses. So, can you give me some examples which will be simple to test and measure and use all the power of Erlang?
Hi,
I want to convert XAML to bitmap in Silverlight (I'm using version 4). I saw that there was a simple solution for WPF but the needed classes do not exist in Silverlight.
Has anyone done such a thing?
Hello,I study assembly on High-school and I would like to try to make assembly programs at home.
I downloaded NASM but I don't understand how to run the .s files with it - if you can write a simple way here to run it I'd glad :-)
and in addition I have a question: when I use ADC for exmaple: AL = 01 and BL = 02, and CF = 1, when I make this:
ADC AL,BL
Will AL be 3 or 4? (with the CF addition or without?)
Thank you!!
Hello,
I'm writing an amfPHP function which should take string input. It takes alphanumeric characters without a problem, but unfortunately it returns data as "2" if I send "2.UgnFl4kAWovazp_tVo6fHg__.86400.1260025200-571701419" as parameter.
here is the function (real simple as you can see)
function checkOpenSession($guid, $session_key) {
return $session_key;
}
This should be so simple... but something screwy is happening.
My setup looks like this:
MainViewController
Tab Bar Controller
4 tabs, each of which loads WebViewController
My AppDelegate contains an ivar, tabBarController, which is connected to the tab bar controller (this was all set up in Interface Builder). The leftmost tab is marked "selected" in IB.
Within the viewWillAppear method in WebViewController, I need to know which tab was just selected so I can load the correct URL. I do this by switching on appDelegate.tabBarController.selectedIndex.
When the app first runs and the leftmost tab is selected, selectedIndex is a large garbage value. After that, I get values from 0 to 3, which is as it should be, but they are in random order. Not only that, but each tab I touch reports a different value each time.
This app is extremely simple right now and I can't imagine what I could have done to make things go this wrong.
Has anyone seen (and hopefully solved) this behavior?
Update: we have a request for code. There's not much to see.
The tab bar controller gets loaded in applicationDidFinishLaunching:
[self.mainViewController view]; //force nib to load
[self.window addSubview:self.mainViewController.tabBarController.view]
There is currently no code whatsoever in MainViewController.m other than the synthesize and release for tabBarController.
From WebVewController.m:
- (void)viewWillAppear:(BOOL)_animation {
[super viewWillAppear:_animation];
NSURL *url;
switch([S_UIDelegate mainViewController].tabBarController.selectedIndex) {
case 0: url = [NSURL URLWithString:@"http://www.cnn.com"];
break;
case 1: url = [NSURL URLWithString:@"http://www.facebook.com"];
break;
case 2: url = [NSURL URLWithString:@"http://www.twitter.com"];
break;
case 3: url = [NSURL URLWithString:@"http://www.google.com"];
break;
default: url = [NSURL URLWithString:@"http://www.msnbc.com"];
}
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webView loadRequest:request];
}
This is where I'm seeing the random values.
Microsoft, of Cairo fame, is working on Oslo, a new modeling platform. Bob Muglia, Senior Vice President of Microsoft Server & Tools Business, states that the benefits of modeling have always been clear.
In simple, practical terms, what are the clear benefits that Oslo bestows upon its users?
Many search engine have the 'did you mean' functionality.
Is there a simple way to use (N)Hibernate (e.g. ICriteria) to find an entity (e.g. keyword) based on similarity. Please note that I do not mean Expression.Like or something like this.
I hope this question makes sense.
Thanks.
Christian
we have tried some of simple Fluent API examples. to brush up our skills we want to move ahead to complex examples. but we do not what to make as a complex fluent api. can anyone suggest what should we make or where can we get the idea about it?
we have recently started writing fluent api codes in Ruby and have tested very basic ones. Now we want to move to complex ones to get better idea about it.
Well, the title say it all. I have a ruby script I want running as a service (one I can start and stop) on my Linux box. I was able to find how to do it on Windows here
Some readings point to creating daemons or cron tasks.
I just need something simple I can call on my box's reboot, and can stop/start whenever I please. my script has an internal sleep call, and runs in "eternal loop"
thanks in advance
I would like to be able to read XMLHttpRequest that is sent to a PHP page. I am using prototype's Ajax.Request function, and I am sending a simple XML structure.
When trying to print the POST array on the PHP page, I don't get any output.
Any help appreciated.
My question is simple: What are void pointers for in C++? (Those things you declare with void* myptr;)
What is their use? Can I make them point to a variable of any type?
Is there a simple way, preferably using LAMP tools, to register a domain, and setup the email system such that it takes all emails sent to [email protected] and forwards them to [email protected].
i.e., automate all the forwarding based on the username, so [email protected] would forward to [email protected], across all usernames.
I had posted this question on MSDN Forum
http://social.msdn.microsoft.com/Forums/en/vsreportcontrols/thread/f00e3406-354d-4f54-acce-7b7f0ad4c90f
But I am not getting any response. Can you please help me. I am really stuck with this rather simple task.
My code seems to be correct but still I get the
A data source instance has not been supplied for the data source 'DataSet1_Order_Details'.
Sorry for the cross post...
I think this is a pretty simple question.
How do you an apache rewrite to hide a folder.
EX: www.website.com/pages/login.php to www.website.com/login.php
or www.website.com/pages/home.php to www.website.com/home.php
The folder needs to alway be hidden. thanks
I am getting started with Logging in a WPF desktop app, using Log4Net as the logging component. Here is my question: In a simple desktop app, is there any reason not to instantiate my logger as a property ov the App class (App.xaml.cs), like this?
public partial class App : Application
{
private static readonly ILog p_Logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public ILog Logger
{
get { return p_Logger; }
}
#endregion
}
}
That would allow me to invoke the logger
Please check out
http://rainsongmanchesters.net/news.htm
and notice the black strip above the header image.
Now click here http://rainsongmanchesters.net/breedinfo.htm
and notice how there is no strip. Such a simple problem? It has defeated me for months! Using firebug, and just staring at the code for months has not produced any solutions. Please help!
I get confused with some terms while reading MSDN documents and code samples.
What are callbacks in C#? In particular, what are synchronous and asynchronous callbacks ?
Please explain these from a layman's point of view.
Also, please explain the IAsyncResult interface.
How can we implement it? (with very simple example)
Thanks in advance.
EDITED: Fixed spelling, grammar