What would be the best way to create a JS chat client with GWT? The bit that I'm having trouble with is the persistence and transfer of the messages. Should I store the messages in a DB and check the db for new messages? Is there a much better way to do this?
Howdy, having a little trouble here.
I have domain.co.uk setting a session. When I click on a link on domain.co.uk to go to sub.domain.co.uk the session is not being read.
I have altered session.cookie_domain to .domain.co.uk not still not working. Is there anything else that needs changing?
Regards,
me.
Hi,
I am using C# and I am having trouble loading large files into a binary field use byte arrays.
Basically, if I load a file that is too large, I get memory problems.
Is there a way to load a file into a binary field without using large amounts of ram, i.e. avoid loading the file into memory first?
If it helps, I am using Advantage Database Server and this is using a winforms app not a web app.
Regards
I have a Windows CE console application that's entry point looks like this
int _tmain(int argc, _TCHAR* argv[])
I want to check the contents of argv[1] for "-s" convert argv[2] into an integer. I am having trouble narrowing the arguments or accessing them to test.
I initially tried the following with little success
if (argv[1] == L"-s")
I also tried using the narrow function of wostringstream on each character but this crashed the application.
Can anyone shed some light?
Thanks
I'm having some trouble getting CGI.pm to output to HTML5 instead of XHTML 1.0 or HTML 4.01. When I try "HTML5" or "HTML 5" as the -dtd argument in start_html() I get a document in HTML 4. I've also tried importing :HTML5, but that doesn't seem to work either. Any advice?
Hi Guys,
I have data which sits outside an iframe with a script on the outside as well. When a user performs an action - I want this ata to be sent "inside" the iframe.
I have having a bit trouble achieving this and was wondering whether its possible and if it is, how I can do it ?
Thx
Inside a grails application, I need to upload a file under web-app/js, add a prefix, and put it in S3. I'm having trouble figuring out how to read the js file in a way that will work in development (/web-app/js) and production (/js). I'm doing this from inside a domain object.
I'm having trouble with a JVM running an app, whose heap memory looks like a comb. It's constantly jumping from 1.5 GB to 3 GB and slowly deteriorating to higher values. I'm using G1 GC algorithm, but have no idea how to configure it.
I do not have access to the code of the app I'm running and, needless to say, it's a rather large app.
So, bottom line, does anyone know of a good guide to configure GC in Java?
I am having trouble understanding the meaning and more importantly the concept of an object as it relates to jQuery. I understand the basics that its a collection of data that comes in two forms, properties and methods but I kind of get lost on how it works beyond that. Can anyone point me to some good tutorials that maybe helped you understand? I'm hoping to "Get it" once and for all.
Many many thanks for your help! =]
I am trying to show a .tif image in matlab and I use these two line of codes
a = imread('C:\Users\sepideh\Desktop\21_15.tif');
imshow(a)
that encounters this warning
Warning: Image is too big to fit on screen; displaying at 3%
In imuitools\private\initSize at 73
In imshow at 262
what is the cause of this warning and what can I do to fix that?
the main trouble is it sometimes doesn't show the image and of course even if it shows the image CPU usage gets high that I can't zoom properly
I am trying to do something like this but am having trouble putting it into oracle coding.
BEGIN
IF ((SELECT complete_date FROM task_table WHERE task_id = 1) IS NULL)
THEN
UPDATE task_table SET complete_date = //somedate WHERE task_id = 1;
ELSE
UPDATE task_table SET complete_date = NULL;
END IF;
END;
But this does not work i also tried
IF EXISTS(SELECT complete_date FROM task_table WHERE task_id = 1)
with no luck
I'm in trouble with paths, relative paths, NSBundle and all the path/file related operations :)
While i run the simulator everthing goes right but all the file changes are not permanent, so everytime i run my app i have to repeat the initial setup of my app.
The question:
What is the proper way to read and write files (from resource dir) and make all the file changes permanent (updated into the project folder) ?
Thanks
I'm having a lot of trouble trying to figure out how to use classes in MATLAB. I'm very familiar with C++ and Python but I just can't figure anything out about how to define classes in MATLAB. Does anyone know a very good resource with lots of examples? The official documentation leaves much to be desired.
I am involved in a project where I need to provide subset of our production data (for a date range) to one of my co-workers for trouble shooting. I would like to scrub the data and insert this in to another table. Please suggest best approach to achieve this
[revised]
I'm creating a TreePanel in ExtJs that is loading its children from a JSON file. I'm having trouble adding a click action to the nodes. I'm not sure whether it's added in the script creating the tree, or if its added as a property in the JSON, and if so, what the syntax would be. Any help would be appreciated! Please provide an example if possible.
I have been able to get the remote files on a mac, but I am having trouble EDITING, then seeing how to "commit" back to the remote server...
I was able to follow tortoise quite intuitively but do not see where to check out files and then edit, then check back in ...
Hi im having trouble displaying data in a mcv website, i end up with selectlistitem displayed on the listbox as opposed to the id or value of the object that i am binding
in my controller
I do this
Authors = new SelectList(_authorRepository.GetAll(), "authorId", "Firstname",null),
and im my View
<%= Html.ListBox("AuthorsList", new SelectList(Model.Authors))%
what else am I missing?
I've been having trouble with the latest netbeans ruby ide.
Here is the weird behavior:
"|" = my cursor
some text |here
I try to add a single quote. Expected:
some text '|here
However I get
some text h'|ere
It's worse when there is a linebreak:
some text here |
some other text here
turns into
some text here
'| some other text here
Am I hitting some weird behavior of netbeans that can be turned off for this? I mean it is insanely annoying.
Hi,
I'm having trouble understanding why I have to place the button triggering the getJSON method outside of the form for the request to work.
If the button is placed within the form then the getJSON method returns no results.
The code bascially makes a XHR request on clicking the Submit button, based on the value selected. I have replicated the issue here:
http://jsfiddle.net/z6caj/
Many Thanks,
I have been able to get the remote files on a mac, but I am having trouble EDITING, then seeing how to "commit" back to the remote server...
I was able to follow tortoise quite intuitively but do not see where to check out files and then edit, then check back in ...
I am using Easy Slider 1.7 - jQuery plugin and have made many modifications. My slider contains 7 slides, numeric navigation and next and previous arrows. The only problem is the numeric navigation. When you are on slide 1 and click slide 5, for example, all the slides scroll by, one-by-one. I am having trouble modifying the code so that whatever slide you are on, when you click another slide, it is the next one.
Sample here: http://www.weiserwebworld.com/slider.html
Hi,
I have trouble seing the utility of the function pointers. I guess it may be useful in some cases (they exist, after all), but I can't think of a case where it's better or unavoidable to use a function pointer.
Could you give some example of good use of function pointers (in C or C++)?
Many thanks :)
After being busy sometime with website development and constantly having trouble with making my website work on IE also, i thought it might be handy to have an overview of what the most major issues with IE are, so that one can take care of addressing them from the beginning.
(Should this be a community wiki?)
I want to setup a table that can:
Save the data on the user's machine
Reference & present the data in the GUI
Capable of adding rows dynamically during runtime
What's the best way to go about this?
DataGridView or TableLayoutPanel or...? I'm having trouble with SQL server CE, as I was going to connect it with the DataGridView, but I'm very new to this kind of work, and wondered if it was even necessary to use SQL.