I know Twisted can do this well but what about just plain socket?
How'd you tell if you randomly lost your connection in socket? Like, If my internet was to go out of a second and come back on.
Title says it all.
"address 0x500 is the last one used by the BIOS"
- en.wikipedia.org/wiki/Master_boot_record
"00000000-000003FF Real Mode IVT (Interrupt Vector Table)"
- wiki.osdev.org/Memory_Map_%28x86%29
So can you tell me why NASM places my .com file's stack pointer to 0x3FF while my instruction pointer starts at 0x7c00? To me the most intuitive place for SP would be right below 0x7c00.
Thanks.
My C# project references a third-party DLL for which I have the source code. Can I somehow tell Visual Studio the location of that source code, so that, for example, when I press F12 to open the definition of a method in the DLL, it will open up the source code, instead of opening up the "Class [from metadata]" stub code?
Hi,
In my application I have to search five nearest locations of "medical services" using the user current location and annotate those locations on my MKMapView.
Can any one tell me how to search with a particular keyword (eg. medical services, garages) by using user current locations and annotate onto the map and when the user taps on the annotations it should show the complete address of the locations which is annotated.
Can anyone help me in this?
i want to generate msi files from vdproj file using devenv command in command prompt. this command is running well but no msi file generated. what is wrong.
tell me what i should set in environment variable. or is there any other way to generate msi from vdproj file.
Hi,
I have successfully installed OpenLDAP Server on Fedora Core 10 and now when query it from same system its working fine.
But when I try to connect / query it from any other machine (windows XP) it says 'no domain listed'.
Please tell me what am I missing and how to resolve it.
Regards,
hi,
I m making a Shooting game, in that I want an array of ImageViews , so that for each new level the bullets can be Disappear and the view will be shown from the initial level. SO if Any one know how to store imageviews in an array kindly tell me...
regards viral..
How do i use http://flare.prefuse.org/ with Flash CS3 in AS3. I don't intend to use Flex.
Please tell me the simplest way to do that. I am just a novice in Flash
Thanks!
Hi,
Could anyone tell me how to implement a marquee style progress bar in wxPyhon? As stated on MSDN:
you can animate it in a way that shows
activity but does not indicate what
proportion of the task is complete.
Thank you.
None of the brushes in SystemColors seems to fit the bill, and IIRC, the OS theme beginning with Windows XP uses a gradient. Is there standard OS dialog box background brush or a way to tell WPF that the window is a dialog box and it should paint the background accordingly?
Hello All,
I want to hide url, like I dont want to write /register.php directly in href tag, I want to write /register/ so It will open the register.php page directly, like that i want to do for all the webpages. Please help me and tell me how to do this.
Thanks,
Manoj
Tell why you think Python, Perl, Ruby, etc is easiest for plugging in modules from other languages with minimal though.
To clarify, an example: I want to write business logic in Python, but use functionality that conveniently exists as a Perl module.
In other words, which language "just works" with the most modules?
I'm trying to make a scheduled task, and its just not working for me.
This is the command I type in CMD:
schtasks /create /sc minute /mo 1 /tn test /tr calc.exe /st 19:17:00 /sd 12/14/2009
I'm trying to tell the computer to run calculator every minute starting at 7:09 PM. Although I get a success message after I type this in and hit enter, nothing happens at 7:09. What gives?
Thanks in advance.
Hi,
Can you please tell me how can I setup my ubuntu environment with a framebuffer?
And then how can I run my gtk program with it?
I am using gnome as my window manager in my ubuntu environment. So if I run my gtk linux program with it, do I expect to see anything on screen?
Thank you for any help/pointers.
I'm using will_paginate for pagination, which has been working well so far, except for this one thing.
If I try to paginate a scope, for instance
class User < ActiveRecord::Base
named_scope :scope, lambda { etc }
end
User.scope.paginate({:page => params[:page], :per_page => 10})
That will tell me paginate is an undefined method. I'd rather not have to use a second solution for only this scope, is there something I can do here?
I've created a performance counter that shows a fraction of an incremeted value (RawFraction type) over a base value (RawBase). Unfortunately, when monitoring this value, it only shows the percentage when one of the counters is incremented. At all other times it it is sampled, it shows 0. Is there some way to tell the counter to hold onto the last value until the next time it needs to recalculate the fraction?
How to create an own installer using Java? I am not asking about any Java installer software. Anyone knows the logic or method please tell me. Is there any API available for these?
I have a sharepoint custom list which has 5 columns ..the user should fill in first three columns and the other two should be locked for filling ..when the user enters the items and start the workflow if the workflow gets approved the 3 columns should be locked for editing and then the other two should be available for editing .
Can someone please tell me how can i achieve this.
Thanks
Wordpress ships with the wpdb class which handles CRUD operations. The two methods of this class that I'm interested in are the insert() (the C in CRUD) and update() (the U in CRUD).
A problem arises when I want to insert a NULL into a mysql database column - the wpdb class escapes PHP null variables to empty strings. How can I tell Wordpress to use an actual MySQL NULL instead of a MySQL string?
I have one two divs and two seperate links that triggers slideDown and slideUp for the divs.
When one of the divs are slided down and I click the other one, I hide the first div (slidingUp) and then open the other div (slidingDown) but, at the moment its like while one div is sliding down, the other, also in the same time, is sliding up.
is there a way that would tell jquery to wait to finish sliding down of one div and only then start sliding up the other ?
Summary: Failed unit tests tell me which assert (file:line) failed, but not which validation resulted in the failure.
More info: I have 11 validations in one of my models. Unit testing is great, whether I run `rake test:units --trace' or 'ruby -Itest test/unit/mymodel_test.rb'. However, despite the fact that it tells me exactly which assert() failed me, I am not told which validation failed. I must be missing something obvious, because I can't ask Google this question well enough to get an answer.
Thanks :)
I have a QT program which displays the data it receives over UDP.
It works fine for around 30 seconds but after a while it gives Segmentation Fault and crashes. This 30 seconds is also not fixed.
I used the debugger and got this
Program received signal SIGSEGV, Segmentation fault.
0x003c6fd4 in ?? () from /usr/lib/libQtGui.so.4
Can anyone tell me where the error might be
Hi,
I've been using Visual Studio's property sheets for building my code and I have a useful hierarchy of sheets controlling the build settings, rather than having them in the vcproj files. This is great except for one thing. I can't seem to set properties in the Project Defaults section such as CharacterType and ConfigurationType.
I tried using a VCConfiguration tool in the vsprops but to no avail:
<Tool
Name="VCConfiguration"
ConfigurationType="4"
/>
Can anyone tell me how this is accomplished please?