Could you tell me which is the best MVVM pattern someone have to follow. where can i found hands on exmaple. Actually i was little confused which one to follow?
Thnx
I need to implement a priority queue where the priority of an item in the queue can change and the queue adjusts itself so that items are always removed in the correct order. I have some ideas of how I could implement this but I'm sure this is quite a common data structure so I'm hoping I can use an implementation by someone smarter than me as a base.
Can anyone tell me the name of this type of priority queue so I know what to search for or, even better, point me to an implementation?
I am playing sound with OpenAL, and it seems to increase memory footprint dramatically for every little sound I play. It seems that OpenAL never frees memory itself and that playing a Source causes memory footprint to grow.
I couldn't find any good resources about OpenAL memory management, but I bet I must do a lot of stuff myself. Maybe someone knows a ressource for that?
Hi! I am interested in saving and load objects using the pickle module as you can read in a question I asked before:
Python: Errors saving and loading objects with pickle module
Someone commment:
1, In an other way: the error is raise because pickle wanted to load an instance of the class Fruits and search for the class definition where it was defined, but it didn't find it so it raise the error
Now I want to save and load a class definition in order to solve the problem I describe in the question mentioned before.
Thank you so much!
Hi,
can someone tell me how to decrypt the messages I get at the socket from org.apache.log4j.net.SocketAppender?
I tried the Chainsaw-sources but I didn't find anything there :/
Or where does the message in log4j get encrypted?
Thanks
I am compiling a kernel module and it has many compilation errors in it. After running "make", the errors thrown out are too many to fit in the screen. Scrolling up doesn't reach the first error. I tried capturing the errors by doing make &2 log which didn't work (log file was empty and the error messages were still dumped on screen).
Can someone please tell me how to go about logging all the messages generated during compilation/make into a logfile?
I'm working on my first WPF project and would like to use one of the themes that I see in the Silverlight Tool Kit.
All the help I've found is for Expression 2 and they show a different version of the Asset Tab. Can someone advise me how to do this. It looks like it should be simple, but I'm not seeing it.
I have read in this forum that left outer join syntax is not supported by subsonic in an answer to a question on the topic by "Apocatastasis".
I have the same issue in that when I create a query using the .LeftOuterJoin the resulting sql has an inner join rather than a left outer join.
Can someone please confirm that LeftOuterJoin is indeed not supported and, if that is the case, why is it included in the active record syntax?
Thanks
Michael
Hi everyone,
I wanted to know if anyone here knows how to import a 3D Object (i.e. Maya 3D Model) into Adobe Flex Application? I needed to create a simple Flex application which will allow me to rotate the 3D Object by dragging but I cannot seem to start doing it because I'm having a hard time trying to figure out how I can import my 3D model into Flex.
This is exactly what I wanted to do: 3D Object in Flex
I hope someone can help me. Thanks a lot :)
It won't let me post the picture. Btw, Someone from Reddit.programming sent me over here. So thanks!
TITLE MASM Template
; Description
;
; Revision date:
INCLUDE Irvine32.inc
.data
myArray BYTE 10, 20, 30, 40, 50, 60, 70, 80, 90, 100
.code
main PROC
call Clrscr
mov esi, OFFSET myArray
mov ecx, LENGTHOF myArray
mov eax, 0
L1:
add eax, [esi]
inc esi
loop L1
call WriteInt
exit
main ENDP
END main
Results in:
-334881242
Can someone direct me to resources which will guide me through using C# and the Wiimote library. Brian Peek's turorial is far too complex for me. I would ideally like to write a program to get the accelerometer values from the wiimote and print it to the console. I am new to C#.
I uploaded an app built with 1.5 SDK into market, but someone told me they can not find it in the market in their phone. I do not know why, because I have test it in 2.1 emulator.
Then how to know if my app is available in android market with all versions, is there any url to test that?
I have a site where people upload videos, which are converted to .flv format. Simple.
I wanted to also convert to an mp4 format that will "stream" to an iphone and blackberry, or allowed to be downloaded to either, for later viewing.
Can someone post a working ffmpeg line to accomplish this task?
Closest I got was this (which doesn't work)
ffmpeg -i in.avi -f mp4 -vcodec libx264 -maxrate 1000 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec libfaac -s 480x320 -ab 128k -qscale 7 out.mp4
I'm using a FlowLayout JPanel. The panel looks ugly when it's children components height are different. I'm looking for a solution to make them top-align (similar to valign="top" with table cell in HTML). Sorry for my bad English and hope someone can come up with a brilliant idea.
Thank you
I have this project that i need to add a translation to. I already know how to add localisation to single image files, but there are 200+ images with text on it in that project. Do i really have to click one file at a time, "get info", click "add localisation" enter the Language and click OK for every file?
When i select multiple images the languages and do those steps the new language is not added :-/
Please someone have a way to save me from insanity ;-)
Thanks!
S
I'm attempting to create an NSArray with a grouping of string literals, however I get the compile error "Initializer element is not constant".
NSArray *currencies = [NSArray arrayWithObjects:@"Dollar", @"Euro", @"Pound", nil];
Could someone point out what I'm doing wrong, and possibly explain the error message?
im using speech recognition by pressing a button in my application. i want to show the users that when they click the button they should speech.
i was thinking about using a progress bar. but i dont think its a good idea. then i thought about putting a label saying whats going on.
can someone suggest any more options. please
I'm not sure if this is the right place to post this, but the problem actually belongs to a programming assignment.
Solve the recursion:
T(0) = 2;
T(n) = T(n-1) + 2;
Solution:
T(n) = 2(n+1)
Could someone please show me how they got to that solution?
Hello I'm trying to make an RSS subscribers counter using PHP and don't know where to start ? i'm not asking someone to write me the code, but do you know something good to read ? or you can tell me steps to do that ?
Thanks
I run a site where users can content that is tagged by a special set of tags. While implementing RSS feeds, I was wondering what, if any, rules or guidelines exist for using a querystring to filter what content an RSS feed shows. For example, the feed that shows all content on the site would be:
/feed
If someone was interested in all the work that was tagged with fashion, the URL would be
/feed?tag=fashion
I have the following code snippet:
enum { one } x;
enum { two } y;
x = y;
That will compile in C, but in C++, I get the following error:
test.c:6: error: cannot convert ‘main()::<anonymous enum>’ to ‘main()::<anonymous enum>’ in assignment
Can someone explain to me why this is happening? I would prefer an answer with some specifics about why the compiler behaves this way, rather than just "You can't do that"
First I create a setup from a project,
and I install it.
When the program reads and writes from app.config,
I get an UnauthorizedAccessException.
This works perfect in visual studio, but with creating a setup and installing it,
it always crashes at this point. Someone who knows how to solve this?
Thanks
I have the following class
public class MyClass {
private int myAttr;
public void setAttr(int a) {
myAttr = a;
Thread.dumpStack();
}
}
That way I can detect any attempt to modify myAttr. Well, almost any. It does not work when someone modifies myAttr using Field.set() method. How can I trap Java reflection usage?