web-development

How to Display a Time Window on my web page.

We have a site that users gain access to by means of a TIMED scratch card. I need a software that can display the time for clients on the web page so that at any point in time, client is aware what time he or she has left. ...

Java getQueryString() doesnt return hash value to me

I am using java ee and request.getQueryString() doesnt return the #hashpart my/page?id=4#hash I am using Struts 2 Is there any solution? ...

how to create plots (non-flash) with mouse-over info boxes on the fly for the web?

Hi, I'm thinking about creating a tool to visualize scientific data on a website. For this, the user enters some query string and out comes a simple (x,y)-plot (similar to this) I know that using Matplotlib, one can generate graphics on the fly for python. However, this doesn't solve the need for some custom java-script code to display...

org.hibernate.NonUniqueObjectException Within GWT application using hibernate through gilead

Hello Guys, i am working on a project for college that uses GWT,Hibernate and Gilead. Basically for the moment users should be able to add friends and remove them. also a user can see if his or her friends are online or not. my trouble is that when i add a friend that is already related to another friend i get this error org.hibernate...

How to find a coding buddy

I was reading Jeff Atwood's blog and he mentioned that he was suffering from code-paralysis (he called it analysis paralysis, but I feel like it's also code paralysis) when he didn't have a code buddy. Unfortunately I think that Jeff has set the bar a bit high, because he only works with developers who are really amazing. The only reason...

Easy way to "organize"/"render"/"generate" HTML?

Hi all, I'm a relative newbie to web development. I know my HTML and CSS, and am getting involved with Ruby on Rails for some other projects, which has been daunting but very rewarding. Basically I'm wondering if there's a language/backbone/program/solution to eliminate the copypasta trivialities of HTML, with some caveats. Currently...

What do I need to learn to make a website that can make a text file?

I want to make a website, but all I know is basic HTML and CSS. On this website, I want the user to input in multiple text fields (sort of like they take a quiz) and then the program will make a text file based on the user input which the user can download. I want it to work backwards, too, so that the text file is the input. What do ...

How to do a htaccess rewrite with a question mark ? in the original url

I've got to redirect a URL that has a question mark in it, and I just can't figure out the proper .htaccess code to make it happen. Example: redirect 301 /home.php?cat=16 http://www.example.com/furniture.html I believe I need to do a rewrite condition, but I'm no htaccess expert. ...

Can I use HTML5 Now to create a website

After all the latest news and talk about HTML5, I would like to know whether I can use HTML5 to create a website as of now. I mean, some features are supported by few browsers, while few features are not yet supported. So is it possible to create a full-fledged website at the current state? ...

Applications on the Web/Cloud the way to go? over Desktop apps?

i am currently a mainly web developer, but is quite attracted to the performance and great integration with the OS (eg. Windows 7, Jump Lists, Taskbar Thumbnails, etc) something like WPF/C# can provide to the user, improving workflow and productivity. privacy and performance seems like a major downside of web/cloud apps compared to deskt...

WebKit and Opera won't load from this server when it's in a frame

This site loads fine in Firefox, but in WebKit browsers (Safari and Google Chrome) it won't load the frame, and in Opera I get this error: "The Web site does not permit its content to be displayed in a frame. It must be displayed in a separate window.". I don't expect to be able to actually fix this, as I don't have control over the fram...

Embedding other system and overriding it links

Hello, I have a question. Is there is a way to override hrefs, posts and etc? In example I embed 3rd part forum inside of my container and I click anything there page response will be loaded into the same container and not reloading everything in the window. ...

What are the top websites to learn good (and new) design and coding practices for web developers? (HTML, CSS2, CSS3, Javascript, etc.)

Right now, the pages that I visit everyday are: Ajaxian CSS Tricks Cats Who Code Smashing Magazine Which ones do you visit? ...

What tech stack/platform to use for a project?

Hey guys, This is a bit of a weird meta-programming question, but I've realized that my new project doesn't need a full MVC framework, and being a rails guy, I'm not sure what to use now. To give you a gist of the necessary functionality; this website will display static pages, but users will be able to log in and 'edit their current...

Why does placing this html within form tags change the layout?

I'm using this free Web Template - EliteCircle and have just incorporated it into a master page. The master page wraps the html in: <form id="form1" runat="server"> //master page html </form> The template almost comes out fine except the entire page is surrounded by a think white border (default CSS behavior for form?) and the footer...

opensourcing a website code

Hi! I'm writing a little website (webapp) in php+codeigniter, I'd really like to make it open source (to attract collaborators and to have a free VCS hosting). Is that a good practice? This mine security? Which are the best tools to change important data before uploading? (like config files with db names and passwords used for testing ...

How to nicely inform to the user that an unknown error has happened?

There are several guidelines for error reporting, that are usually based on giving to the user useful information when he or she does something wrong, but to give this kind of information you need to be handling the error and know that it can happen. There are also tons of articles about designing 404 error pages. But, what can you do wh...

How can i change task bar icon of application using mdmzinc3.0 in system

Hi, I have developed a flex application with zinc3.0 software (Desktop version).in this application when I change from outlook (any application in windows) to zinc application (.EXE) task bar icon is showing by default zinc icon. According to my requirement I need to change zinc icon to my own icon in taskbar how can I do that? In zinc p...

Calling a webservice synchronously from a Silverlight 3 application?

I am trying to reuse some .NET code that performs some calls to a data-access-layer type service. I have managed to package up both the input to the method and the output from the method, but unfortunately the service is called from inside code that I really don't want to rewrite in order to be asynchronous. Unfortunately, the webservic...

What to consider when designing an online community rep system like SO's?

I'm designing a website and want a good reputation system like they built into StackOverflow. When I started to design my reputation system, I realized the SO Q/A model doesn't quite fit into my app (since mine is not Q/A), and that perhaps I should do some research first. So my question is; What should I consider when designing a co...