I have seen it but dont know how to achieve it.
The idea is that I have a drop down menu and when something is selected, something else will appear. Is it AJAX?
Any ideas?
I'm writing a calculator with an ability to accept new function definitions. Being aware of the need of newbies to try recursive functions such as Fibonacci, I would like my calculator to be able to recognize Tail-recursive functions with Flex + Bison and convert code to an Iterative form. I'm using Flex & Bison to do the job. If you have any hints or ideas, I welcome them warmly. Thanks!
I have a TextView with its MovementMethod set to LinkMovementMethod. Text added to the TextView is a combination of normal text and URLs. For URLs, I would like to offer a context menu when the URL is long pressed for doing things such as copying the address. I've had a look at the source for LinkMovementMethod but it doesn't seem to have any long pressed related code I could override. Any ideas on how to go around achieving this?
Hey all
Are there any pre-made scripts that I can use for PHP / MySQL to prevent server-side scripting and JS injections?
I know about the typical functions such as htmlentities, special characters, string replace etc. but is there a simple bit of code or a function that is a failsafe for everything?
Any ideas would be great. Many thanks :)
I was asked to implement a menu bar that is neither horizontal nor vertical. Here are two example buttons:
This is something new to me, so to learn how to make this work I'm looking for a site (or better yet, a tutorial) that uses a similar menu bar. Any ideas?
I'm developing an application with javascript. What I need is to have divs with id's (1,2,3...) and be able to insert a div between, for example, 2 and 3, with jquery, and then have that be the new three, and three becomes four, four becomes five, etc. I've got the div insertion working, I just need to know how to reorder the divs. Any ideas?
Hi folks,
I'm serving Django with mod_wsgi and Apache... unfortunately requests are returning 502 Bad Gateway error messages...
Received a invalid response
HttpResponse('OK') is affected by this
render_to_response('...') is not!
any ideas?!?
hey guys
i want to insert the word 'at' in the SimpleDateFormat
so the date would be something like:
Wed, 26 May 2010 at 11:17am
i could able to make it without the at like:
Wed, 26 May 2010 11:17am
using
SimpleDateFormat formatter = new SimpleDateFormat("EEE, d MMM yyyy hh:mma");
so any ideas how to insert the word at to make it in the desired format?
Hi Everyone,
I'm having a problem with this page http://www.gwynfryncottages.com/news.php
The .blog-footer div needs to clear on the right to correct for the height of the pictures introducing clear:right; causes the huge gap to appear on the page in FF and IE.
I'm at a loss, I've tried numerous ideas to get around the problem and at this point i've been staring at it too long to see the problem clearly. Can anyone help me out.
Thanks in advance.
I have installed SharePoint Farm on Windows Vista, all things went normally, my account is administrator. Now I wish to add other users in SharePoint, how to do this? I have to create a new account on Windows? or there are facilities for Windows SharePoint administrator to create users? I read something by Active Directory but on Windows Vista I have not found it.
Any ideas?
I am basically making a video library where you download videos and I then write them to the applications documents folder. This all works fine and if i stream the video from online it plays fine. Or indeed I can stream it from the resource folder fine.
However, after downloading it and saving to the documents folder then attempting to stream I get the error 'movie format not supported' any ideas?
thanks very much
Use a small notepad, and turning pages interferes with flow of thought.
Use a whiteboard and marker, and you write bigger when you are standing up, so you don't necessarily get more ideas on the board...
A friend of mine has his entire wall in his office, lab made up of whiteboard material...
This is a more specific question on a related topic.
Hi,
I'm running a Mac OS X environment and am used to using ~/ to provide the access to the current user's directory.
For example, in my python script I'm just trying to use
os.chdir("/Users/aaron/Desktop/testdir/")
But would like to use
os.chdir("~/Desktop/testdir/")
I'm getting a no such file or directory error when trying to run this. Any ideas?
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 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?
I have two Python scripts in two different locations and cannot be moved. What is the best way to send information between the two scripts?
say for example in script1.py i had a string e.g.
x = 'teststring'
then i need variable 'x' passed to script2.py, which saves the variable 'x' to a text file?
Any ideas?
Hello,
I have a form that as an action returns a download. The problem is that the page will pop-out the download, and you can save it, but it will not allow another form submit.
i was thinking of doing a page refresh after the submit. But i cant figure out how to do that and not stop the download. Do you have any ideas.
Thanks
According to Tomcat docs:
The maximum size in bytes of the POST
which will be handled by the container
FORM URL parameter parsing. The limit
can be disabled by setting this
attribute to a value less than or
equal to 0. If not specified, this
attribute is set to 2097152 (2
megabytes).
But what's "the container FORM URL parameter parsing"? Any ideas what is the purpose of "maxPostSize"?
Thanks in advance.
I know that's a big topic. However, it's better to know some general ideas to handle such problems.
I have an application which requires Flex to render statistics data calculated instantly on the client side from a downloaded data set.
The problems are:
the data set is large and needs more than 10 seconds to be downloaded.
there are some filters to control the statistics calculation algorithms. If user changes the filters, it would take a long time to recalculate the result and freeze the UI.
I want to setup a site where users can register and then simply logon and press a button on a web page (that I will need to build) that then post a generic email to everyone. I want a button on the page that the user can press that will result in an email being sent to all members of the list/group
I am looking at mail man.
Any ideas?
It seems that when I configure SWFUpload the same way it is set up in the demo, the form shows the same other than where the browse (hello) button is located. The only differences are the locations of files and the image used for a browse button... any ideas?
I am trying to update records in an .mdb table with the number of records containing the same value
The sql below does not work but I think gives an indication of what I am trying to achieve.
UPDATE table1 AS A
INNER JOIN (SELECT PH_BSP , Count(PH_BSP) AS PHCOUNT FROM table1 GROUP BY PH_BSP) AS B
ON A.PH_BSP=B.PH_BSP
SET A.PH_SORT = B.PHCOUNT;
any ideas?
Running through an iPhone SDK book and one of the examples has me creating a table and then later adding a UISegmentedControl to the table for sorting.
I dutifully did this in IB, and it looks great:
When I run it in the simulator or my phone, it's totally squished:
The buttons work perfectly, it's just they are not sizing according to their content. Any ideas what's going wrong?
Here's the attributes I have set:
Soon I could use a SIP to GSM gateway, because I'll need to make phone calls from Germany to a mobile phone in Czech Republik. Hence, I thought about implementing one.
Now, the questions are:
Does such a solution already exist (for a reasonable price)?
Is it possible to redirect a (voice) stream to a GSM connection with the available Android APIs (SDK or NDK)?
Ideas, suggestions, comments are highly welcome.