When you don't have the mood for coding, how do you get it? Now I'm working on a project that I don't like at all, besides is a new programming language for me and I have to do it alone.
So, the question is: how do you get the mood for coding? Any tips/tricks are welcome :)
Still trying to get my problems with page loaders firing like crazy in JSF
From this link: http://www.javabeat.net/tips/122-jsf-best-practices.html
It appears that if I put a that it will fire once when entering the page.
However, it fires like 4 times when LEAVING the page, kind of defeats the point. Any ideas?
I'm interest in learning how to use jquery comet to create real-time multi-user note taking like etherpad used to offer.
Can anyone offer any tips/tutorials/plug-ins... to point me in the right direction?
Thanks
I am searching for a Tooltip plugin/library for JQuery. It should be able to automaticlly position tooltips, like TipTip, and also support HTML content for the tips.
TipTip does fullfill both conditions, but:
Added HTML support with Tip Tip. You can now add HTML into the Title attribute (though this is not recommended if you want strictly valid code).
How to lock file in Windows so that this file can be opened/read/wrote only by one process?
I found out that file can be locked with CreateFile by giving 0 to dwShareMode flag. It works but only the returned handle can be used to work with file. But I want to be able to lock the file to other processes and at the same time to create multiple handles in my process.
Please help me to solve this issue or give some tips...
I just want a c# application with a hidden main window that will process and respond to window messages.
I can create a form without showing it, and can then call Application.Run() without passing in a form, but how can I hook the created form into the message loop?
Is there another way to go about this?
Thanks in advance for any tips!
If I have a block of code like this:
def show
@post = Post.find(params[:id])
respond_to do |format|
format.html # show.html.erb
format.xml { render :xml => @post }
end
end
How do I add something like
format.json
Any tips, pointers, ideas gladly welcomed...
I have recently been assigned a project to further develop an existing code base. The code doesn't contain any tests and not even one single line of comments. The whole "thing" is written in a really obfuscating manner so it takes a lot of time to figure out what happens.
How do you usually approach this kind of problem? Tips and trix on how to handle this situation?
Hi,
In a View, I've created a <form> that posts some data to another Controller, which is different from that one that redirected me to the View. In this second controller, i perform some data validations and then, if errors are found, I need to redirect the user again to the source View but with the edited ModelState (so that i can show the validation errors).
Any tips?
I'm building an e-commerce website in ASP.Net/C# and I'm having some difficulties with my shopping cart...
I want my costumers to be able to say "I want X boxes, and each box carries Y items".
Let's say, for instance, my website sells flowers. A client logs in and then chooses X bouquets and then for each bouquet he adds flowers from the catalog.
Can you point me out some links or tips in order to achieve this behaviour?
Thanks
I'm trying to figure out how to get the name and parameters of a parent function.
Example:
function foo($a,$b){
bar();
}
function bar(){
// Magic Print
}
foo('hello', 'world');
Output:
foo('hello','world')
Any tips?
What is the best practice when designing a mission critical signup form when it comes to using django-powered sessions?
Is it generally considered ok to require the user to accept the session cookie?
Are there any tips to maximize the percent of users who can accept the session cookie?
Hi everyone,
I would like to obtain the results retrieved from pageTest execution (core @ CVS) from a C# project (library or console). pageTest source code shows a dynamic library project (generating a DLL file) and also an application project (generating an EXE file).
Do anybody have previous experience related to this issue? Any tips or recommendations?
Thanks in advance for your response.
Regards
I'm writing a navigator program for a GPS device running .NET Compact framework. This program constantly loads and draws maps (from .PNG files), based on coordinate of the GPS. I want it to do this smoothly. Is there any tips/techniques to do this?
Thanks in advance.
Could someone give few tips and/or examples how Controller Plugins and Action Helpers are different? Are there situations where particular task could be accomplished with one but not another? For me they both look more or less the same and I'm often having trouble having to decide when to use what... Are there any big differences?
Hi
As a developer I am a user of Subversion at the moment and I am changing job and going to work for a company that uses Team Foundation Server
I would like to learn the basic and more as user of Team Foundation Server
What do I need to do to replicate the enviroment and practice a bit?
Any Tips ?
What should I read?
Can I simulate the enviroment?
Thanks a lot
Hi,
I want to make a diagram with either flash CS4 or flex builder 3, don't know with one would be the best for the job.
More about the task:
I want to send in values external to the swf file.
The swf-file takes the vaules and makes a diagram of it using x and y values.
Any advise or tips of where i can make this is much appreciated!
Thanks in advance!
jesper
Hi there, this is a quick question...........
In objects from JPA that is mapping a table, I have some properties that is @Transient, shall I add this properties into equals/hashCode/toString methods?
My first thought is NO but.... I don't know why.
Tips?
Ideas?
Explanations?
Thanks in advance
Got a bluescreen in windows while cloning a mercurial repository.
After reboot, I now get this message for almost all hg commands:
c:\srchg commit
waiting for lock on repository c:\src\McVrsServer held by '\x00\x00\x00\x00\x00\
x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
interrupted!
Google is no help.
Any tips?
I am building a python application to pull data from a website. The application has to authenticate(HTTPS/SSL) with a CAC card and pin in order to make requests.
Am I correct in my assumptions that you can't retrieve the private key from a CAC card, and am therefore stuck using a PKCS #11 Wrapper like PyKCS?
Any tips or resources for going about this?
in my code for index.html I use jQuery and have a link with id #button3.
I have used in index.html
$('#button3 a').attr({
target: '_top'
});
When I call the index.html from an iframe as a src, the page opens in _self.
I have tried with _blank and still when clicking on the a link it doesn't open on a new page.
Any tips?
I don't have any of the devices to test at the moment. I guess I'll start using the emulators later on.
We're looking to offer mobile support. I was wondering how jQuery or even javascript renders in their respective browsers.
What works? What doesn't? Any tips? Advice?