Should there be any specific order in which I should write the following :
public static void main() ?
In other words, can I re-shuffle public,static,void in any order ?
Why or Why not ?
I currently allocate my memory for arrays using the MS specific mm_malloc. I align the memory, as I'm doing some heavy duty math and the vectorization takes advantage of the alignment. I was wondering if anyone knows how to overload the new operator to do the same thing, as I feel dirty malloc'ing everywhere (and would eventually like to also compile on Linux)? Thanks for any help
Hi
I want to know what changes (if any) I need to make to my plist file in order to get app store approved. Its a very simple application with no device specific capabilities.
With such a simple app would the default plist suffice?
hi all,
trying to develop web form using jquery.
all i need is to have several (don't know how many) buttons on one form.
all of those buttons have to call one same function, and to pass one parameter to that function. that function have to do some post method, but i can handle it.
so, my main problem is that i don't know how to develop JS that will call specific jquery function.
can you help me with this?
I would like to know if its possible to get full screen snapshots from an air application.
What i am interested in, is functionality similar to PrintScreen button in windows, which takes snapshots of all screens, including third party application windows, not just window in which air app is running.
If its not specific to air, and flash/flex API can provide such functionality, it also would be great.
Thanx a lot in advance.
I would like to plot some image binary data on a grayscale matrix-like graph with custom values on axes. I'm using Perl on a Windows machine but I can't fine the right module to do this. I'm already using GD::Graph to plot other type of data but it seems unsuitable for this specific task.
I´m looking someway (plugin, code, template, etc) to make a categories page on wordpress, where only sub-categories be shown per page.
To be more specific, please visit https://www.ifixit.com/Device/Mac
There are 3 Categories there : Mac Laptop, Desktop, Hardware. Inside Mac Laptop are other subcategories.
There will be posts assigned to those categories.
Is there a plugin for wordpress that can do that?
Thanks
How do you read an incoming tcp stream until a specific delimiter is found in C#?
The only possible solution I have come up with is reading the incoming stream one byte at a time.
I want to access a MovieClip in another scene than I'm currently in.
More specific I want to set a TextField to a certain value from a "preloader"-scene. This is for handling totally dynamic language phrases. Maybe this is the wrong way.
I'm loading a XML with language phrases that I want to replace the textfields with.
We could do this by altering all MovieClips, but I think this could be a smart solution, if it's possible! :)
Hey guys.
Circles are one of the basics geometric entities. Yet there is no primitives defined in openGl for this like lines or polygons. Why so? Its a little annoying to include custom headers for this all the time!
Any specific reason to omit it?
We have several document libraries where users upload reports daily. I have to make a page that shows specific documents (getting them by their filename) from these document libraries with each documents last modified date.
What is the easiest way to do this?
Hi,
The standard extension for template files in Zend Framework is .phtml... I need to change them to .js in one specific module... can anyone help... I'd ideally like to change this a Controller level...
Many thanks...
I am currently exporting Drupal data to an external source (XML) programmatically. However, I want the data to run through the site's default Input Format (the filter that runs before user content is displayed on the website) before being written to file.
How do I programmatically apply a Drupal input filter? Is there a specific function call or hook for this purpose? If so, links/advice would be most appreciated.
I've created a login page and registration page and now I want to use that to password protect pages and have pages which show information specific to that user.
Would storing the user ID of the user logged in in a Session variable be a safe and correct way of doing this?
How easy would it be for a user to change the session variable to a different ID and access another user's information, and not having to type the users login details in?
Hi guys,
Let's assume:
$time = '2010-05-17 02:49:30' // (retrieved from MySQL TIMESTAMP field)
How do I do the following in PHP:
1) Check if it has been more than one week since this time has passed?
2) Assuming "false" on (1), find out how much more time until the one week mark, rounded to days and hours remaining.
I know this is pretty straightforward, but it uses a very specific syntax. Having never played with time calculations before, I'd appreciate some guidance.
Thanks!
I'm interested in verifying if a given iPhone static library has been built for ARM or Intel.
Its more curiosity than anything. Is there some kind of Mac OS X or BSD specific tool to do this? This post gives an example in Linux.
I was browsing this thread, which has good recommendation but a bit too general for me.
So, if anyone has a collection of nice game programming feeds,please share them. :)
(both general and specific topics are welcome)
I am updating a website to add some mobile friendly pages.
At the moment we have one big css page with everything in. My idea is to put all the mobile specific css into a separate file and then link both sheets. The mobile css will overide anything in the default css (bigger buttons etc).
Im quite new to css, what is the best practice?
Hi everyone,
Is_numeric() as well as is_int() returns false if the value is 0. What can i do instead to verify that a specific value is numbers only in PHP?
Are we heading straight for the Regular Expressions camp, or are there some nice, handy feature for this out there already?
Thanks!
I want to create the activity which will load the images from Web by using urls and i want to load that images in list view and i want some specific text and properties of that image in front of that image like the image below Click to see Image.Is there any way to store that images temporarily in phones memory.So how can i do this activity please give me perfect solution so that i can complete my application.How can i load the images from web.
I am looking for a formula that will give me all of the Vector2 Points within a certain radius given the center.
Essentially what I am trying to do is change the color of each pixel in a 256 x 256 texture that is within a certain radius from a specific pixel (Using the Unity3d Game Engine). Programming Language doesn't really matter, as I can probably convert it to something I can use.
Not completely a programming question, but its close enough so here goes:
In Mac OS I'll put user-specific files for my app in ~/Library/Application Data/{MyApp}/ and in *nix I'll put them in ~/.{MyApp}/ - where should I put them for Windows?
I'll be using Ruby's File.expand_path to get to this directory, so if there's a windows equivalent of ~ then that's fine.
(Answers for Windows XP, Vista and 7 would be appreciated if they're not the same)
I am working on a (WPF + C#) application. I have to implement search functionality. It will search all the occurrences of a particular string on the specific part of Window. What can be the best way to do this?
How do I parameterize a query containing an IN clause with a variable number of arguments, like this one?
select * from Tags
where Name in ('ruby','rails','scruffy','rubyonrails')
order by Count desc
In this query, the number of arguments could be anywhere from 1 to 5.
I would prefer not to use a dedicated stored procedure for this (or XML), but if there is some fancy SQL Server 2008 specific way of doing it elegantly, I am open to that.