In response to my post PHP development practices from a Java Architects eye, Jeff Moore had some thoughts.
I posted my response (to his reponse to my post) in his post. Dizzy yet?
However after 12 hours it was still not approved! So I thought of posting it here in my blog. To get an idea what [...]
After my last post on the differences between Java and PHP development practices, I saw some strange notions surface in PHP developers regarding Java. This post is an attempt to dispel some myths about Java by PHP (and other non-Java) developers. Feel free to chime in.
Myth 1: Strong Multi-threading support makes Java complicated and lack [...]
I remember the early days of Java Open Source Software. We all used to keep track of any new OSS release and literally salivate at being able to use something for free. When Tomcat came out I was one of the early adopters, same with Ant, JUnit, HttpUnit, Gcj, even tcl-tk based Java IDE's and [...]
Brazil may be the most interesting case study in open source today.It's not just their recent moves to mandate open source use by local governments. It's not just things like their Project Javali, which aims to break Sun's "vendor lock-in" on Java. It's not just the political commitment President Luiz Inácio Lula da Silva has [...]
hi again :) any suggestions on how to get this page to load quicker other than saving the thumbnails at a much lower quality? Haven't done that yet but I'm thinking it may still load slow even after i do and lowering the quality on the background image anymore than i already have makes it pointless to even use... i'm still stuck on getting the pic to change within the slideshow window when you rollover a thumbnail... also loading the thumbnails as an array isn't working for me either, i know its just because i just starting using javascript and i don't understand it fully yet... this is taking me forever but i'm learning a lot. thanks
I heard in grapevine that Sun marketing has decided to change the names like J2EE, J2SE, J2ME etc.
The name change involves removing the "2" from the platform names. (E.g. Java 2 Platform, Standard Edition (J2SE) will become Java Platform, Standard Edition (short-hand: Java SE).
Looks like finally someone is looking into the naming fiasco. [...]
Brazil may be the most interesting case study in open source today.It's not just their recent moves to mandate open source use by local governments. It's not just things like their Project Javali, which aims to break Sun's "vendor lock-in" on Java. It's not just the political commitment President Luiz Inácio Lula da Silva has [...]
i'm sorry, my mistake. i had an input with the name "action" and it was confusing the browser. if you ever run into a problem like this, check your s names ;)
Hya!
I'm working on a feature for my website that needs me to change a form action with javascript. It's actually pretty easy to achieve this with Firefox, but not in IE. Since i'm not turning my back on IE, eventhough i hate the browser, i really wanted to get this thing to work cross-browser.. for the user's sake. ;)
Is it possible?
an example, working on firefox
function preview( id ) {
// get form element
var frm_obj = window.document.getElementById( id );
// open window
var w = window.open( "loading.html", "preview", "width=500,height=350,scrollbars=yes" );
// change form attributes
frm_obj.target = "preview";
frm_obj.action = "preview.php";
// hey ho, let's go!
frm_obj.submit();
// bring window up (could be open already)
w.focus();
}
oh, and i've tried using setAttribute as well. no results.
I'm really behind on this and i need some ideas! i'm in java ii and we have to make do an end of the year project. my professor didn't really give any guidlines besides it not being too simple. it suppose to atleast include things we've covered in the semester like GUI, graphics, multi threading, exception handling, data structures and applets.
anyone have any ideas on what i should do? anything?! i have 6 days to do this, so i don't really care, just as long as i turn something in.
I am trying to dynamically add options to a select field in a form using code similar to this; its worked for me before, but now it gives an error stating that document.form.selectname has no properties and I cant see why it is doing that.
I've tried using the selectfield without any options, with options, with different types of quotes etc. I also have this working in a demo environment just with different names and it seems to work fine.
Any ideas? Its probably something trivial but I've been staring at this for a while and Im wondering if someone else might pickup on it quickly....
Google is essentially clicking every link on the page -- including links like "delete this" or "cancel that." And to make matters worse, Google ignores the Javascript confirmations. So, if you have a "Are you sure you want to delete this?" Javascript confirmation behind that "delete" link, Google ignores it and performs the action anyway.
We discovered this yesterday when a few people were reporting that their Backpack pages were "disappearing." We were stumped until we dug a little deeper and discovered this Web Accelerator behavior.
An all time dumb question:
Person A. Duh... in what language should we program?
Person B. Wake up and smell the Java you IDIOT!!!
Source: Oracle/Java FAQ
As I posted in firefoxusers, new security vulnerabilities have been discovered in Mozilla-based products. The first is a cross-site scripting vulnerability which allows sites to execute code in the context of another site. The second, which only affects Firefox, allows arbitrary code execution through the software installation mechanism. Normally this would only be exploitable from sites that are allowed to install extensions (i.e. sites on your whitelist, which by default is only Mozilla Update), but when the two vulnerabilities are used together any site could trigger the execution of arbitrary code.
Patches (updated versions) are not yet available (but are expected soon), as these flaws were prematurely disclosed to the public. For now, the best temporary solution is to disable both JavaScript and Software Installation. See my original post in firefoxusers for more details. Also see these advisories:
Alright, Javascripters of the Web Design community. I'm very, very new to Javascript. So new, that I can't get a simple rollover effect to work. Here's the issue:
I'm using validated XHTML Strict, which means there are no names, only id's. Firefox doesn't seem to have an issue with this and keeps chugging along without a fix. Internet Explorer doesn't do the rollover, but it also doesn't report an error. Here's my code:
if (document.images)
{
document.news = new Image(85,30);
document.site = new Image(85,30);
document.news.src = "images/news1.gif";
document.site.src = "images/site1.gif";
}
function focusOn(imgName) {
if (imgName=='news')
document.news.src="images/news2.gif";
else if (imgName=='site')
document.site.src="images/site2.gif";
}
function focusOff(imgName) {
if (imgName=='news')
document.news.src="images/news1.gif";
else if (imgName=='site')
document.site.src="images/site1.gif";
}
Any help on this matter will be greatly appreciated, since I have to finish this stupid effect before I go on to more important jobs.
Dr. Stallman in his article Free but shackled - Java Trap expresses his concern that Java developers may be unknowingly falling into an expensive trap. In his own words:
If you develop a Java program on Sun's Java platform, you are liable to use Sun-only features without even noticing. By the time you find this out, [...]
All you need is an extremely basic javascript and two CSS classes: one to hide the text, and one to show the text.
The javascript just uses a simple variable to determine if the current CSS class is the hidden or not hidden class, then switches it to the opposite. It allows you to click the show/hide link to show or hide the text without needing to refresh the page.
This solution was a heck of a lot easier than a lot of the mostly-javascript solutions I found on message forums and whatnot.
Just FYI for anyone who is interested. :) It worked extremely well for my FAQ page on my own site, part of which can be seen here as an example:
Okay, ever since i updated Azureus to v2.2.0.2 and the java for it. It's been eating up all my RAM so i basicly have to restart the computer when i run it. Is there some setting i have to fix with, or is there a better BitTorrent client?