Hey, I right now have a list of a struct that I made, I sort this list everytime I add a new object, using the std::list sort method.
I want to know what would be faster, using a std::multimap for this or std::list,
since I'm iterating the whole list every frame (I am making a game).
I would like to hear your opinion, for what should I use for this incident.
Hey,
Anyone seen this MonoRail error before and know what it means?
Unexpected item on the stack: found UCampus.Core.Models.Nested.Hours, expecting UCampus.Core.Models.Business
I'm saving a Business object when this error occurs, Hours is a child of a child of Business.
Thanks,
Justin
hey guys
i want to insert the word 'at' in the SimpleDateFormat
so the date would be something like:
Wed, 26 May 2010 at 11:17am
i could able to make it without the at like:
Wed, 26 May 2010 11:17am
using
SimpleDateFormat formatter = new SimpleDateFormat("EEE, d MMM yyyy hh:mma");
so any ideas how to insert the word at to make it in the desired format?
Hey guys I created this pacman game in Java. I would like to put in on my website so people can play on there. However I have never done any applets, nor do I know javascript. Is there a way to automatically convert the project into an applet? Or do I have to code it from scratch?
Hey,
I have a directory full of images that I would like to resize to around 60% of their original size.
How would I go about doing this? Can be in either Python or Perl
Cheers
Eef
Hey there.
I am very unfamiliar with nginx, as a forewarning, and also can't find any actual references on the regex system they use. So right now it's a black box to me.
All I want to do is redirect a user trying to go to www.mydomain.com/mydirectory/X to www.myotherdomain.com/X .
Seems like I should be using the rewrite command but the syntax of the regex is eluding me.
Thanks in advance.
Hey,
Imagine I have a video playing.. Can I have some sort of motion graphics being played 'over' that video.. Like say the moving graphics is on an upper layer than the video, which would be the lower layer..
I am comfortable in a C++ and Python, so a solution that uses these two will be highly appreciated..
Thank you in advance,
Rishi..
Hey Guys,
I had made website. This is Link for that.
There is one menu in this site which works well in Firefox , Chrome, Opera.
But it is messed in the IE 6.
I want to know why is not showing correctly?
Hey there. I am creating my first iPhone native app (beginner Objective-C). On my main menu title screen, i would like for the background image to move slowly to the left. Is it possible to tile a background image and have it move? I'm basically trying to have my clouds drift across the background. How would you accomplish this?
Hey all
Are there any pre-made scripts that I can use for PHP / MySQL to prevent server-side scripting and JS injections?
I know about the typical functions such as htmlentities, special characters, string replace etc. but is there a simple bit of code or a function that is a failsafe for everything?
Any ideas would be great. Many thanks :)
Hey,
http://t-webdesign.co.uk/new/
How would i go about getting the grey div (#content_right) to expand to the same size as the left hand side div without using a fixed height attribute?
Thank you
Hey SO,
I've got a pretty noob question for ya. I keep seeing this syntax:
<%= Html.LabelFor(model => model.Email) %>
...and I have no idea what the = means. I thought it was syntax for linq2sql or ado.net entity framework but I'm just using straight ado.net. I don't understand why the VWD used that syntax when generating the Create form.
What does = mean?
Hey,
When I try to show a grayscale image using :
Img = imread('tr2.png');
subplot(111);
imshow(Img);
it does not appear as the original image. Where is the problem ?
Hey,
Am new to LINQ, and am trying to retrieve the top 50 rows of a particular table.
In SQL Server using an actual query i coudl say "Select TOP 50 from Transactions" , but not sure how i need to do that with LinQ
Any pointers that could help ?
Thanks !
Hey
I have One Jsf form that contains 2 Beans .
First Bean scope:
Session
Second Bean scope:
request
When somevalues are added via First Bean to second Bean. The Updation value is not displayed in the form.I dont know how to do.Please help me.
Hey!
I read a couple of articles and sample code about how to solve TSP with Genetic Algorithms and Ant Colony Optimization etc. But everything I found didn't include time (window) constraints, eg. "I have to be at customer x before 12am)" and assumed symmetry.
Can somebody point me into the direction of some sample code or articles that explain how I can add constraints to TSP and how I can represent those in code.
Thanks!
Hey,
Is it possible to build some kind of Master page with classic asp WITHOUT frames or iframes?
Im thinking if there is a way to include content pages to the main page like in ASP.NET master pages. From what i have researched ASP classic does support include of ohter asp/html pages on a page, but the value put in to this include function can not be dynamic.
hey guys
i am new to ajax technology
and i want to use YUI technology with spring framework
so please guide me where to start;useful links & tutorials
thank you.
Hey guys,
I'm writing an app for BlackBerry OS 4.7 and would greatly benefit from having a lightweight relational database such as SQLite that my application can use to store data locally on the device. SQLite is coming out with 5.0, which is still in beta.
Can anyone recommend any other alternatives that permit commercial use?
Additional information:
- Concurrent access not required
- Transactions not required
Thanks in advance :-)
hey there,
i want to implement a little feautre with jquery, where i want to catch the event that occures when the user clicks on the "Back" button of his browser, to get to the last page.
but how?
didn't find any working solutions :-(
Hey I am currently using the following code
Dim flickr As New Flickr("apikey")
Dim test As New Photos
test = flickr.PhotosGetRecent(5, 5)
For Each [Photo] As FlickrNet.Photo In test.PhotoCollection
Response.Write([Photo].ThumbnailUrl)
Response.Write("<br>")
Next
But this only returns the Most Recent photos uploaded to flick in General, I only want my own ones. Is this possible ?
Thanks
Hey guys. I have a problem with StandardColorMap and MainMenu. I need to create ColorMap in one submenu. How to do it?
P.S.
I am programming with delphi 2007
Hey guys,
I'm having some trouble storing the results of an RSS feed in my Flex 4 app. Here is the variables view, showing the result of the HTTPService which gets the feed:
And here is the code I use to store the result:
public var rssXML:XML;
rssXML = event.result as XML;
But after this code is run, rssXML is still null. What am I doing wrong? Thanks for reading.