What exactly is the difference between Proc Means and Proc Summary? Many sites state that both these are same, but unless each has something unique will SAS create it?
There are plenty of resources available to a Java developer for getting a jump-start into Ruby/Rails development. The reverse doesn't appear to be true.
What resources would you suggest for getting up-to-date on the current state of java technologies? How about learning how to approach DRY (don't repeat yourself) without the use of metaprogramming? Or how to approach various scenarios where a ruby developer is used to passing in a function (proc/lambda/block) as an argument (callbacks, etc)?
As you now the user can select an item from the comboBox by keyboard directly. By mouse I block the user to select some items depending on the behind object state. What's the best solution to stop this when the user uses the keyboard?
I am working on a notification system in my iPhone game and want an image to pop up on the screen and automatically fade after 2 seconds.
User clicks a button that calls the method "popupImage"
An image appears on the screen in a designated spot, it doesn't need to fade in
The image fades out by itself after being on the screen for 2 seconds.
Is there any way of doing this? Thanks ahead of time.
Hi
Is there a simple way of tracking the change of an Mdi's children i.e. when they are created and closed, something like an event OnMdiChildListChanged (I realise this doesn't actually exist).
I am also aware that I could have a method within my Mdi that handles the creation of child forms and logs the state of them or even create an Interface that defines that a child form has a "NotifyParent" method that is then called on close of the form, but i was wondering if there was any built in events that i could plumb into?
Thanks
How do you distribute other files needed by your application that aren't in a jar file? For example, the application at http://www.javabeginner.com/java-swing/java-swing-shuffle-game . The download contains Shuffle.jar, Shuffle.bat, Score.dat, and an images folder with 3 images in it. I can see possibly putting the images directly in Shuffle.jar, but you wouldn't want to put Score.dat in the jar file because it changes. Is there somewhere you could identify this type of file in the jnlp?
My mac laptop has 1,024,000 pixels.
What's the simplest way to turn my display completely black and go nuts with writing little programs to twiddle pixels to my heart's delight?
To make it more concrete, say I wanted to implement the Chaos Game to draw a Sierpinski triangle, at the pixel level, with nothing else on the screen.
What are ways to do that?
What is the best way to insert an image programatically into the RichTextBox control in C# Winforms? If the method is using Clipboard then what is the optimized way to keep the Clipboard original data (i.e. the data state before placing my image on the Clipboard) available to be replaced after my temporary usage of Clipboard for inseting my image in Rich Text Box Control.
when i open a new xxx.xml file it doesnt write to the R.id my new var
example
when i write in xml :
<__Button android:text="New Game"
android:id="@+id/newGameButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"</Button
(the _ r from this web format boundaries )
in R it should write :
public static final int newGameButton=0x7f050013;
note : this is a xml i added as new to my project should i make something so the eclipse tool will write automatically to the R file?
Hello,
I have an asynchronous control-flow like the following:
ActorA ! DoA(dataA, callback1, callbackOnErrorA)
def callback1() = {
...
ActorB ! DoB(dataB, callback2, callbackOnErrorB)
}
def callback2() = {
ActorC ! DoC(dataC, callback3, callbackOnErrorC)
}
...
How would I divide this flow into several parts (continuations) and sequentially dispatch these to different actors (or threads/tasks) while maintaining the overall state?
Any hint appreciated, Thanks
Any combo box I create seems to be stuck at 12 dialog units in height. Microsoft's guidelines for spacing and sizing of controls in dialog boxes state that a combo box should be 14 dialog units high.
I have even tried editing the resource file in notepad and recompiling in Visual Studio without opening the resource editor - but the combo boxes are still the wrong size!
Any ideas?
I'm working with xna in C# and in my game I will have a variety of space ships flying all over the place. They will each have an arbitrary rotation, size and position in space and I need a method to determine when they collide. Ideally the method would take two Rectangles, two doubles and two Vector2s for size, rotation and position respectively and return a boolean that indicates whether they have intersected or not.
hi i have property named.
public bool ShowLabels{get; set;}
and one toolbar menu button to set/unset ShowLabels value
i wants that when value of ShowLabels property changed it also change the check state of menu item button. how i can do this
Has anyone implemented any effective solutions to address the numerous issues that are caused by IE8's session sharing functionality? We've gotten very close by writing a custom http module that compares session and view state values, but our efforts are thwarted by things such as accelerator keys and unaccceptable copying of session objects.
This is a VB.Net web app.
Hi,
I set cells of the first column of my grid, with a class as follow:
$("#myGrid").jqGrid('setCell',rowid,'column_1', '', '**ui-state-default**');
How to change the class of a cell when the mouse is over on it ?
Thanks you so much !
I had an index that had status error, so following the docs I tried to vacuum my indexes to remove it. When running appcfg.py to vacuum it I got this error message:
Error 400: --- begin server output ---
Deleting a composite index failed:
ApplicationError: 1
--- end server output ---
Now all of my indexes are in error state. How can I fix this?
Hi,
My friend's account for some Facebook game was suspended on the grounds that he had Greasemonkey installed on his browser. He is asked to uninstall Greasemonkey and account has been restored. My question is how can a web server detect a client side plugin presence?
I assume that Greasemonkey or greasemonkey scripts operate on the client side only so it would not be possible for the server to detect it.
Thanks.
I use AVAudioPlayer to play an mp3 file to a user within my iPhone app. This all works fine and dandy. I even update a PLAY/PAUSED button depending on the state of the player. But it would be nice to know how much longer the song will play.
So How do I show the time remaining?
I've written a couple of c# forms applications which use a lot of the same data/objects which would better be combined. I realise I could use modal forms to launch each of these but where should I state .dll's and other resources, on the parent form? or on each other form where necessary?
Hello!
I'm currently making a role-playing game, and I want the text to scroll like all the other RPGs I've played.
How would I accomplish this?
Thanks!
I have a program that needs to check the state of an icon in the system tray. The program in the system tray swaps it's icon depending on it's communication status with the server and I need to check which Icon it is using right now. I found a way to extract the current icon, but how do I check which Icon that is?
I've got a utility that outputs a list of files required by a game. How can I run that utility within a C program and grab its output so I can act on it within the same program?
UPDATE: Good call on the lack of information. The utility spits out a series of strings, and this is supposed to be complete portable across Mac/Windows/Linux. Please note, I'm looking for a programmatic way to execute the utility and retain its output (which goes to stdout).
I load scripts using luaL_loadfile and then lua_pcall from my game, and was wondering if instead of loading them into the global table, I could load them into a table named after their filename?
For example:
I have I file called "Foo.lua", which contains this:
function DoSomething()
--something
end
After loading it I want to be able to access it like:
Foo.DoSomething()
Thanks!
Hiya.
I'm making a poker game, and on the betting stage i created a scheduledjob that will run every 8 seconds, on each 8 seconds it forwards to the next player to place a bet.
now if the user placed a bet before the 8 seconds are over, i want to manually force the next scheduled job to start.
Is there a way to force the scheduled job to start immediately when required ?
thanks
Would one expect a backup of a SQL Server Compact database file created with Volume Shadow Copy Service expected to be consistent? I know the big SQL Server has a VSS writer to ensure consistency. If a connection is writing out to a SQL Server Compact database could the file be backed up in a inconsistent state?