i'm using spring+tapestry for authenticate webuser. I wonder is there any technique i can force all users that currently login in to logout let say i'm on scenario where the site is 'under maintenance mode'
Well, the rule "For money, always decimal" isn't applied inside the Microsoft development team, because if it was:
Namespace: Microsoft.VisualBasic
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Financial.IPmt and all the other methods would receive/return decimal and not double as it is.
Now I wonder if I can use this methods without worry with round mistakes?
Should I use some other libraries to work with finances? If yes, could you point me some good ones (for C# use) ?
Thank you.
Hello,
I would like to make a server for a chat and I wonder whether a server must, for example,
connect to MySQL whenever a client enter to a room to check if he is moderator or banned from this room.
Is it necessary that I use MySQL to update the number of connected clients whenever a client go to another room(to display the number of connected clients on a web page)?
I think that papers are a great information source. they generally tend to be built upon other experts investigations, and generally are short enough to transmit you great ideas in a short coffee read.
But I don't really have read many papers in this area. So I would like to start soon and I'll be glad to hear your thoughts.
So I wonder what have been the best programming paper you have read?
Possible Duplicate:
What static analysis tools are available for C#?
At work we tend to use two tools for analysing our projects, FxCop to analyse our managed code and StyleCop to have consistent code layout.
I found these tools pretty much by accident and it has led me to wonder what other tools are available that I might of missed?
I remember doing some css learning where i learned to make text-decoration: blink, and the text started blinking.
Now i have a icon,
.iconPM{
background: url(../images/icons/mail_16x16.png) no-repeat;
width: 16px;
height: 16px;
border: none;
display:inline-block;
}
Wonder if i can make this blink, either by simple css or jquery if required. Or maybe any other nice effects available in jquery recommended
Saw a post about hidden features in C# but not a lot of people have written linq/lambdas example so... I wonder...
What's the coolest (as in the most elegant) use of the C# LINQ and/or Lambdas/anonymous delegates you have ever saw/written?
Bonus if it has went into production too!
I have some data about place,road, city.
And I want to search the map by entering these values.
Now I have script that generate latitude and longitude using geocoding.
But I wonder if there is a way to generate google map code (iframe) by geocoding?
Could you please tell me the way or give me some links?
I wonder if the index.html MUST be in the "www" folder on the server after uploading the site?
This because I have actually made everything in a folder called "SV", so my site is located in : "www/SV/index.html"
My Q is, on the server, could I just create a folder named "SV" under "www" and expect index.html to be automatically displayed ones the users type in the web-adress to my site?
Thanks
Anyone ever implements something in UITextView that stopping it from receiving future inputs when the text length is smaller than certain threshold? I plan to implement a textview like we have in the mail composer interface. We have a placeholder "Subject" there, and the cursor starts after.
Placeholder in UITextView
Inspired from this question, I wonder if there are some methods which could be used to stop changing the text in the UITextView once the cursor is moving back to the placeholder string.
Any ideas?
Hi
We are planning to upgrade our technology to VS 2010. But I wonder if the MVC 2.0 is working properly since it has many issues raised from software developer who used it please see here: http://aspnet.codeplex.com/releases/view/41742.I want to use MVC 1.0 in VS 2010 is it compatible?
I wonder why this is not integrated by default. I'd like to have an item in Windows Explorer's file context menu of a VS solution file to build it.
Is there a tool for this? Or do I have to create this myself?
I created a Settings.bundle in my app where the user can change some properties like font size. It works.
But when I leave my App, and I change my setting, I don't know how I can get notified of the change.
For the moment, I create a function call each time a view is loaded that check for app settings.
But I wonder if there is an other and proper way to do this.
Hi,
I include several images of eps format in latex. After latex command, there are some of the images missing in the dvi file. Not sure if it is related to the image size, most of the images missing have size around 83kB while those shown up have a size less than 40kB. After conversion from dvi to ps, the images are all back. Just wonder what is the reason causing the images missing in dvi file?
Thanks and regards!
The answer to another SO question was to use this SQL query:
SELECT o.Id, o.attrib1, o.attrib2 FROM table1 o
JOIN (
SELECT DISTINCT Id FROM table1, table2, table3 WHERE ...
) T1
ON o.id = T1.Id
Now I wonder how I can use this statement together with the keyword FOR UPDATE. If I simply append it to the query, Oracle will tell me:
ORA-02014: cannot select FOR UPDATE from view
Do I have to modify the query or is there a trick to do this with Oracle?
With MySql the statement works fine.
The following page shows how to load external images in AS3 DataGrid: http://www.adobe.com/devnet/flash/quickstart/datagrid_pt3/ (image and text are displayed in two columns)
But I wonder how the image and text can be loaded together within the same DataGrid. Within one column: Image followed by the text.
I cannot get it work so I'd be grateful for any help with examples. Thanks
I wonder what library would ease the development of a cross-platform service/daemon ? (C/C++)
I'm targeting: Windows, Linux and OS X.
Also it would be nice to have a basic sample service application.
I heard opinion that it make no sense to create indexes when field has less changeability.
Eg if it stores only A,B,C,D values then there wouldn't be benefit of having such index, and further more SQL server will not use it at all when executing query.
I wonder your opinion on that matter?
I want to compile OpenCV with same zlib as I use for compilation of Boost Iostreams (not system default one). I want to compile OpenCV as static lib, having zlib compiled as static lib. Currently I use something like :
../$CMAKE_PATH -DCMAKE_INSTALL_PREFIX=./$OPENCV_INSTALL_SUBDIR -DBUILD_WITH_STATIC_CRT=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_PYTHON_SUPPORT=OFF -DOPENCV_EXTRA_C_FLAGS=-fPIC -DOPENCV_BUILD_3RDPARTY_LIBS=TRUE
make
make install
echo Done!
I wonder: having some $ZLIB_HEADERS and $ZLIB_LIB_FILES_FOLDER path strings how to feed them into cmake to get OpenCV compiled with built by me zlib?
I wonder if it is possible to write a lightroom plugin, which applies crop rectangles to a set of images?
Of course I do not just want to duplicate the crop, I'd like to set a different crop to every image, based on some computations.
Can this be achieved with lightroom plugins, or would I need to try a different approach?
I wonder whether I can setting up a private maven repository based on my svn.
The svn can be accessed via http.
If yes, then what should I do? Just uploading the architypes is enough?
Hello everyone
I know there is no public api to read 3g/wifi bandswitch.
But I wonder how this app can do this?
http://itunes.apple.com/ca/app/download-meter-for-wi-fi-gprs/id327227530?mt=8
Thanks
interdev
I want to implement a chat service on my site, and wonder how to create a simple browser-based IRC client?
I have a linux box and can install whatever I want on it. Google finds tutors on how to setup an IRC server but no instructions on how to create an IRC client.
(As client languages, I can use JavaScript or Flash.)
All,
I wonder what is the best practise regarding logging inside a library.
I am creating a C# library to be used by users and at some points I want to log an error or a warning. Is it a good practice to use log4net and log in a file?
Thanks,
M
SysInternals's WinObj can list all device objects.
I wonder how it can list the devices.
Is there any open source we can read?(or a code snippet)
What is the most significant function I should know?