What are the best resources do you recommend for learning php debugging?
Is there any specific book, screencast, blog post or article that you really found useful?
I am trying to translate the following:
Action:
pushl %ebp
movl %esp, %eax
subl $32, %esp
movl $0, -8(%eax)
movl $0, -4(%eax)
movl -4(%eax), %eax
cmpl 32(%eax), %ebp
movl -4(%ebp), %eax
sall $2, %ebp
addl 8(%ebp), %ebp
movl (%ebp), %ebp
addl %ebp, -8(%eax)
addl $1, -4(%eax)
What is the best way to learn assembly and translating this code?
I thought one of the best ways to familiarise myself with C/C++, is to make a helpful library. I was maybe thinking like a geometry library, like to calculate areas, surface area, etc. It would be useful in game programming. Or maybe an algebra library, like for different formulas like the distance formula, quadratic formula, etc. Or maybe like a standard library for very simple functions, like calculating the number of items in an array.
I've got a ViewModel for adding a user with properties: Email, Password, ConfirmPassword with Required attribute on all properties. When editing a user I want the Password and ConfirmPassword properties not to be required.
Is there a way to disable validation for certain properties in different controller actions, or is it just best to create a seperate EditViewModel?
So I'm making a script with ruby that must render frames at 24 frames per second, but I need to wait 1/24th of a second between sending the commands... how can I do that?
sleep seems to only wait in increments of 1 second or more.
update
Well ya you can do sleep 0.1 if you want, but is this the best way to delay in a ruby script?
Hi,
I am wondering what would the best way to let visitors of a website ping various remote servers.
Example:
I am a visitor, I choose from a lsit of locations Paris, France and the script would ping from my location to Paris and return an average of x number of ping attempts.
Any ideas?
Hello,
Maybe someone know how to write your own framework, best practices, maybe any books or samples. I think that writing own framework gives one better understanding of how it all works, thanks for help
I have seen demos of ComponentArt's and Telerik's toolsets.
I am interested mainly on finding a grid control, a tabstrip control, a menu control and a treeview control
Do you know any company besides the forementioned that offers ASP.NET MVC controls solutions?
Which one do you think is the best/most reliable?
This is a short question. At some point my thread understand that it should suicide. What is the best way to do it:
Thread.currentThread().interrupt();
return;
By the way, why in the first case we need to use currentThread? Is Thread does not refer to the current thread?
The problem is where a class should be created in my code. An example is I have a UI class and a main logic class that controls other objects.
Should the main logic class create the UI object, or should the UI object create the instance of the main logic class?
An explanation of which method is best and why would be ideal.
Thanks.
Could someone give an example of using inheritance vs composition and also when its best to use composition as opposed to inheritance.
Thanks for any replies.
What is the best way of binding a number of RadioButtons to an enum using MVVM?
The only way I can think of is binding each group box's IsChecked to a property, and in the setter of that property assign a value to an enum in the view model.
Any help is appreciated.
I'm sorry for asking yet another "best [insert-technology] book".
I know a bit of MVC, I want to start a project in MVC 2 and a good book would be really helpful.
Usually, after a while, people come to a consensus what are the top 2-3 books for learning a given technology.
Have you read any ASP.NET MVC 2.0 book? If so, how was it?
I've read a number of posts regarding how to detect shakes but I'm not sure:
What is currently the best way to detect shakes?
and -
How to play an audio file ONLY while the user is shaking the iPhone?
Anyone have an advice, examples/tutorials or sample code?
Thanks
Hello colleagues,
I am facing a very strange issue because of which when i do not add the below line to the html the layers(z-index) is not working.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"; "_http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Please let me know if you are aware of the issue and how to get layers working without adding this tag.
Best Regards,
Keshav
I am new beginner, is it possible the covert flex data grid to CSV file format with out use any backend (java,php ..) file ? . Because I tried with out use bankend . is it convert or not ? So any one give suggest me . or which is best method to convert ?
I need to take data from one table and import it into another table. In pseudocode, something like this:
For Each row in table1
If row.personid is in table2 then
update table2.row
Else
insert row into table2
End If
Next
What is the best way to do this in T-SQL? As I understand it T-SQL doesn't support For Each..Next, so what alternatives do I have?
What is the best way to download an mp3 file in java (on Android sdk)?
http://developer.android.com/reference/java/net/package-summary.html
Should I be using sockets? If so - what kind of "Stream" reader should I use?
I have also read something about "intents" - is this something that is applicable here?
I am also curious as to what should one do if connection gets interrupted - can I resume the download somehow or restart it?
Any tips?
I have a long string for example it could be "aaaaaabbccc". Need to represent it as "a6b2c3". What's the best way to do this ? I could do this in linear time by comparing characters and incrementing counts and then replacing the counts in the array, using two indexes in one pass. Can you guys think of a better way than this? Are any of the encoding techniques going to work here ?
Hello.
I have a table in the database which includes all active users. I then have a user list which needs refreshing to see who is the latest users online.
Whats the best way to tackle this?
The user list is always just who is in the active_users table.
Thanks for reading.
hi all, as per my question, i am wondering what differences are there when we are performing tests for the client side , as compared to performing tests on the client side?
For example, testing javascript on the client side versus testing server side code?
Best Regards.
I have a daemon running on a server that's latched onto a TCP/IP port. I'm looking to see if there's currently any support iPhone/Cocoa-touch frameworks that gives a nice OO wrapper for speaking to the daemon over an IP socket. I need to be able to interactively query the daemon with commands and retrieve back information.
If there isn't any OO wrappers for such a task, what's the next best bet?
I am creating an Excel sheet programmatically. I like to show group totals above each group, and for this to look best the +/- sign that opens and closes the rows should be at the top, where the total row is.
Is there a way to accomplish this?
TIA,
Alex
I want to store a list of objects, lets say of type Car, but with an additional 'tag' property eg a boolean True/False which does not belong on the Car class. What is the best way to accomplish this? I need to pass the result between methods.
hi,
i'm using pdf2swf but i can't import external swf frame per frame in scrollpane like to scribd (http://www.scribd.com/doc/27241116/BLOOD-GRISTLE)
Best Regards.