Hello,
I need to execute 3 parallel tasks and after completion of each task they should call the same function which prints out the results.
I don't understand in .net why we have Asychronous calling (delegate.BeginInvoke() & delegate.EndInvoke()) as well as Thread class?
I'm little confused which one to use when? Now in this particular case, what should I use Asychronous calling or Thread class?
I'm using C#.
I am trying to create a picture gallery in android, where picture in selection (in gallery) will be bigger in size, glow a little bit. Where as pictures not selected will be dull, and smaller in size. I tried gallery.setUnselectedAlpha() function to make images unselected dull, but it is not working. How to achieve the effect, please help.
I want to learn how to write shell scripts.
Particularly I want to write a svn post-commit script to upload files from a test server to a production server. I am sure I will want to write more as I get more into it.
I have very little linux/unix knowledge. Can anyone recommend a good book?
Hi.
There is an excellent website that I would like to emulate some of the characteristics of in a website that I hope to develop. (I do not intend my site being in competition with them - mine would be more of a social networking site). Can anyone tell me if it is possible to detect which script and platform is being used on www.shoutlife.com? I have very little programming or website building experience so am considering using phpfox as my solution. Thanks in advance.
EBS
Hi..
Just wondering is there any drawbacks to publishing a ASP .NET web application by copying all the files in it? (That means all the .cs, .csproj files will be included in the published folder)
So far I can think that the published folder's total size may become a little bigger (but that a negligible issue for me).
I'm using the following JQUERY to attach an even to a link in the header, which essentially scrolls to the bottom of the page:
$('#comment-count-btn').click(function(){
$('html,body').scrollTo('#comment-wrapper', 500);
});
Problem is, that it scrolls all the way to the bottom of the page (which is correct), but then when I try to scroll up a tad, the scroll bar jumps, as if it's locked for a little bit.
Any ideas?
I've a little problem, I don't really understand if I can use addEventListener more than one time on the same object (and same callback function) if this case can I have a problem of overflow, or simple flex is so smart to not add again in the same stack same function
for examples:
var t:CServiceObj = _rModel.userGetBoardJoined();
t.addEventListener(EDataService.DATA_AVAILABLE,onDataOk);
t.addEventListener(EDataService.DATA_AVAILABLE,onDataOk);
t.addEventListener(EDataService.DATA_AVAILABLE,onDataOk);
I need to run the following command from the command line in Windows 7:
SumatraPDF.exe -inverse-search "\"C:\Program Files\eclipse\inverse_search.bat\" \"%f\" %l"
However I need to modify it a little, since my installation of Eclipse is located in here:
C:\Program Files (x86)\Eclipse (C++)
How do I escape this line correctly? Do I need to escape parenthesis and pluses too? Or is it just enough to escape double quotes?
Hi,
I want to access a file on remote machine(win2k3, 10.10.20.30), but i couldn't understand how to login to that machine in my program. is there any simple win api that takes network path, credentials and returns the handle?
i just want to access \10.10.20.30\c$\test.txt,
WNetAddConnection2, WNetAddConnection3 are little confusing. Any suggestion will be helpful.
Rails defines a bunch of magic with named routes that make helpers for your routes. Sometimes, especially with nested routes, it can get a little confusing to keep track of what URL you'll get for a given route helper method call. Is it possible to, using the Ruby console, see what link a given helper function will generate? For example, given a named helper like post_path(post) I want to see what URL is generated.
I have a site that is analyzed by AWStats, and I am satisfied with the information its provides.
Now, is there a way to display a little picture-icon with main AWstats(hits, etc) data on the web site page?
i'm developing an application for content filtering. i'll use it as web service but my problem is that i hadn't developed any extension for firefox or ie before. i read some about firefox extensions and now i know a little about it.
firstly can i use web service in a firefox/ie extension? if yes, can you give me a link of tutorial or sth like that?
all suggestions are welcome.
thx..
Hello, All!
Is somebody have an experience using inheritance in PostgreSQL?
Is it worth to use it, or better to keep hands of :)?
In which situation you would use it?
To be true I'm a little bit in doubt about mixing relational and OO models...
Hi,
I'm looking to build a live video chat site. Before writing a project description, hiring a developer, etc., I'm doing a little research on what types of technologies / web development skills are necessary in order to build this type of site.
The site will feature live video and audio for users to be able to chat with eachother, a simple profile which they can fill out, and the ability to filter the types of users they are connected with.
Your feedback is appreciated.
Thanks,
Tom
Hi,
is there any option when updating classes in EF4 Modeller to disable the drop
of all data and tables, just to append non existing fields and leave old tables and data
untouched.
I mean not to change every time on every little change to edit manual the SQL files.
Thanks.
I have been tasked to setup a continuous integration environment for a GXT 2.1.1 and GWT 2.0.1 environment. Unfortunately I am new to AJAX and Web Services and have little idea how to setup unit tests in the browser environment. Unit tests for the server backend I already have done, since I am a pro at that. GXT is not quite pure GWT which provides some unit testing structure. If anyone has a good starting point...
Is there any technique or tool available to detect this kind of a deadlock during runtime?
picture this in a worker thread (one of several, normally 4-6)
try
WaitForSingleObject(myMutex);
DoSTuffThatMightCauseAnException;
Except
ReleaseMutex(myMutex);
end;
or more generally is there a design-pattern to avoid these kind of bugs?
I coded the above code in the little hous after a longer hacking run
I can have a UIWebView with the .m3u file opened, which will go to the webview with a play button displayed, and that automatically goes to the quicktime player and starts playing the stream. But when I press the done button, it goes back to the UIWebView with a little play button in the middle, and from there you can go back to the previous screen (it was selected from a tableview). So I just want it to automatically load the quicktime player in the view. How can I do that?
I've been getting into Backbone.js lately and I'm enjoying it so far. All the examples tend to be simple to-do lists, so it's been a little difficult extrapolating code organization and file structure for a larger/more robust single page application.
I've come to a crossroad:
Should I use something like Yepnope.js to load models and views as I need them or,
Combine and minify into fewer files and front-load it all.
Some combination of both?
Any advice would be appreciated!
So, after little thinking I have wrote the following:
# In repository we don't need to have:
# Compiled object files
*.o
# Generated MOC, resource and UI files
moc_*.cpp
qrc_*.cpp
ui_*.h
# Built windows .exe and linux binaries
# NOTE: PROJECT is a your project's name, analog of PROJECT.exe in Linux
*.exe
*.dll
PROJECT
# Windows-specific files
Thumbs.db
desktop.ini
# Editors temporary files
*~
# Debug and Release directories (created under Windows, not Linux)
Debug/
Release/
Please ask, what needs to be added or fixed (especially for Windows - I haven't one under hand now. And Mac too [haven't work in it at all]).
I want to keep my repository clear :-)
Hi,
I would like to know if you have any good books that teach C++ programming without repeating basic stuff. In fact, I already well know Java and C#. I also have a basic knowledge in C and assembly, so I understand a little bit pointer arithmetic, manual memory management and heap based allocation. I was looking at O'Reilly's C++ in a Nutshell and was also wondering if this book would be a good choice.
Thank you
If I compile branch A, then switch to branch B, compile, and switch back to branch A.
All the object files touched by the compile of branch B have to be recompiled!
Normally one does not check-in object files, but there seems little choice here.
What are the ideal working practices here?
Just a little confused here...
I have a function in postgres, and when I'm at the pg prompt, I just do:
SELECT zp('zc',10,20,90);
FETCH ALL FROM zc;
I'm wondering how to do this from php?
I thought I could just do:
$q = pg_query("SELECT zp('zc',10,20,90)");
But, how do I "fetch" from that query?
Looking for examples of some "final touches" to enhance an existing (raw) user interface.
I.e nothing related to the core functionalities of the application, but rather examples of all these little details which give an application a "polished" look (new fonts, change in layout, more descriptive labels...others ?)
The target platform will be a mobile platform (android/iphone).
Note that I'm severly graphically impaired regarding colour and shape combinations, so anything too sophisticated will probably pass me by completely ;)