Hello SOers,
I'm currently using PushbackReader and while waiting for where it 'supposed' to be an EOF, I get the character 65535 and I'm wondering if that's normal.
Where is my EOF?!
Thank you.
Hello
I am looking for a basic maven archetype which can help me create a spring hibernate struts2
application. I have tried using appfuse but it sucks. It took more than half an hour to
download n number of dependencies and the project it created was having errors also.
if you know anyother maven archetype please tell me.
Thanks
Shekhar
Hello there, I am trying to use php (and if not php, javascript) to link to a page and include a "?type=foo" or "#foo" at the end of the link so that when the linked page loads it will automatically select a specific option, depending on the end of the link, from a dropdown menu in a form. I have tried to search for this but do not know what this action is actually called, but I've seen it done before. Does anyone know how to achieve this? Thanks very much.
Hello, I need to find the indexes in the vector based on several boolean predicates.
ex:
vector<float> v;
vector<int> idx;
idx=where( bool_func1(v), bool_func2(v), ... );
What is the way to declare **where** function, in order to use the several user defined boolean functions over the vector?
thanks
Arman.
Hello,
I have declared my own type:
data Book = Bookinfo {
bookId :: Int,
title :: String
} deriving(Show)
and now:
x = Bookinfo
it is all ok, valid statement
but making bookId x throws an error.
If I would be able to handle errors in Haskell that would be ok but right now I cant do this So Im curious how to make not specified values of fields take default value, and what exactly value is there when I'm not giving vcalues of fields in construcotr ?
thanks for help
Hello,
I would like to know what is the best solution to create simple menu with functionality described below (pseudo code) just like im used to:
while (true){
x = readLine();
case (x):
x == "1" then do sth1 function
x == "2" then do sth2 function
}
thanks for help, maybe any other ideas on how to make menu not in pattern described above?
Hello,
do you know if it is possible to find out the height of header of a ListView in Windows Forms application when it's switched to Details mode?
I'd like to find this out because I want to know the height of the area where the ListViewItems are located and I think it's ListView.ClientArea.Height - height of columns.
Thanks
Hello,
how can I do this? I have an image 50x50 and I would like to generate one with 100x100, where the original 50x50 will be centered inside of that one. The rest would be filled with "transparent".
Thanks
Hello,
I have several devices on a network. I am trying to use a library to discover the presence and itentity of these devices using Python script, the devices all have a web service. My question is, are there any modules that would help me with this problem as the only module I have found is ws-discovery for Python?
And if this is the only module does anyone have any example Python script using ws-discovery?
Thanks for any help.
Hello all
I'm trying to add to my program that locates the person in GPS but sets a value to
the State that person is in so example: GPS Locates person from his/her iphone then returns the state they are in so say its California then the state variable gets set to California as a string would someone have an example any help is appreciated thanks!
Hello, I'm trying to Start command promt process with args. Now I want to obtain information about errors if they exist.
someProcess = System.Diagnostics.Process.Start(cmd, someArgs);
Best regards, loviji
Hello,
how can I use pure HTML to make a browser-integrated flash-free online music player? Like, you click on a button, and the music starts playing. I have tried everything with and with(out) , but none of it seems to work. I need it to work in Firefox.
I have an MP3 file.
Thanks in advance ^^
Hello,
I started using Zend_Paginator,
it works everything fine but I noticed that there is one more query which slows the load time down.
The additional query:
SELECT COUNT(1) AS `zend_paginator_row_count` FROM `content`
The normal query:
SELECT `content`.`id`, `content`.`name` FROM `content` LIMIT 2
PHP:
$adapter = new Zend_Paginator_Adapter_DbSelect($table->select()->from($table, array('id', 'name')));
$paginator = new Zend_Paginator($adapter);
Could I merge the two querys into one (for better performance)?
Hello,
I have a Canvas and in it a Border. Now I want to give focus to this Border. Can somebody please tell me how do do this? Seems like it's not that easy ): Thanks for any hint!
Hi,
I am passing the email address as part of the url,
for ex. http://example.com/hello/[email protected]
but, when being passed to the application controller it is changed to " user%40hotmail.com ".
I can't seem to understand this special character escaping; confusion.
please help me explain the problem here, and also what can I do to fix it.
I am using python's "webapp" web application framework.
Hello, Is there a telephone application for modems that can receive a phone number as a parameter and manage the call for themselves? I ask because in my application I must implement a click2call functionality and may be is a free software out there that I can use and I do not have to fight with TAPI. Thanks!
Hello,
I am using Shiro plugin for my grails application security, My application already has a user .Using the shiro plugin, we get a shiro user, now how do i integrate the shiro user with the normal user of my application,show i go ahead and use relationships or is it that the user class ahould be only a shiro user class now ??
Hello
I am writing an application that updates some drivers. However the drivers are "in use" and can't be deleted unless I restart my computer.
So how can I write an application to delete these locked drivers without restarting the PC. IF Restarting MUST occur then how can I relaunch my application automatically when the computer restarts and delete those files?
Hello,
I see that Federated Identity stores Security token to a cookie, after its first request to the STS(Secure Token Service). In that case if I disable cookie in my browser, how does it work.
Does the authentication module again connects to the STS to retrieve the user information or
will it throw any error ?
Is there any way that I can use federated authentication cookieless ?
Hello all,
I have two elements on the same page that are using the same stylesheet: Jquery Tabs and Jquery Slider.
I cannot redefine classes of slider since change of css will affect both elements.
Tabs using these classes:
ui-tabs ui-widget ui-widget-content ui-corner-all
And these are used in Slider:
ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all
How can I modify slider css without modifying one for tabs?
Thanks
Hello,
New at C# using visual studio 2008 and trying to load an excel sheet with a text file. My current program puts the complete file in one cell. Is there a way to put each data point in its own cell. Having issues interfacing with excel to accomplish this task.
Thanks
Joe
Hello,
I have a question about how ASP.NET AJAX partial rendering actually works. Does it:
1) Renders the whole page on the server, transmits the whole page to the client, the client then merges just the area contained in the update panel.
2) Renders the whole page on the server, transmits and merges just the area contained by the update panel.
3) Renders, transmits and merges just the area contained by the update panel.
Thanks,
AJ
Hello,
We're trying to rewrite our current views from ERb to Liquid and we got following problem:
we have a lot of render(:partial => '/path/to/partial') in our code, but we found absolutely no instructions how to render partials in Liquid. The only one solution we found was with help of render_to_string but it's just to ugly to be true.
Thanx!
hello all
im making switch to the new Graph API , and i try to replace all the rest api with the new Graph api
reading the docs i saw i have some kind of real time function ( im not sure its related to getting the user
notifications ) that suppose to return me callback .
but im my case i like to invoke simple http command and get the user notification like ( like the old notification api's )
how can i do it now ?
Thanks