A Conversation for LIL'S ATELIER

The Atelier computer technology lab

Post 561

dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC

And I seem to have deleted Opera. But I've got it at work, so if I get a chance I'll give another report.
smiley - dog


The Atelier computer technology lab

Post 562

marvthegrate LtG KEA

Amy, here is a screen shot of what I saw. This is on Windows XP with Firefox 1.0.6.
http://www.marvthegrate.org/pics/misc/screencap1.JPG


The Atelier computer technology lab

Post 563

dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC

Odd, here is the same thing on Firefox for Mac, but version 1.05 (I forgot to install the update).
http://cat.rutgers.edu/~delaphant/images/Picture%201.png
smiley - dog


The Atelier computer technology lab

Post 564

Amy the Ant - High Manzanilla of the Church of the Stuffed Olive

Thanks very much for all of that- the screeshots were particularly useful. I knew about the footer - I made a small change after I posted here yesterday and broke it. I've broken it before so I know I can fix it. Some of the behaviour in firefox is interesting and unexpected - it could be partly due to the path to the transparent gif being incorrect.
Now that the wicked elves have given in and given me admin rights over my computer, I must install firefox.

I'll post later on this morning when the next version is ready.


The Atelier computer technology lab

Post 565

Phil

Apart from errors that have been spoken about (ie the non floating copyright bar) Amaya 8.5 (Win XP) gives me a not well formed XML document error. The parsing errors it gives are a couple of missing semi-colons in courses.css (lines 260 & 268) and an invalid token error on the main page - line 76, char 30 (a missing = I think). Because of the these if you reload as html it totally screws up the layout.


The Atelier computer technology lab

Post 566

Phil

I've just loaded up the latest version of Amaya (it's a browser/editor from the W3C, so should be standards compliant smiley - winkeye). And although it still gives the same error from your page the layout isn't quite as awfull as the other version I used.


The Atelier computer technology lab

Post 567

Amy the Ant - High Manzanilla of the Church of the Stuffed Olive

Try it again now. I think it's all sorted. You'll all be pleased to know I've been certified smiley - winkeye.


The Atelier computer technology lab

Post 568

marvthegrate LtG KEA

Looks good Amy! good job and thanks for making it standards compliant!


The Atelier computer technology lab

Post 569

dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC

Uh oh. I don't want to break bad news, but now that I'm in my office I'm seeing the exact same thing that Marv saw with some links covering the photo, in Firefox 1.06, until I resize my window at which point things snap into place. And the bottom banner is improved but still obliterating the "self-assessment" portion of the right column.

On the other hand it looks perfect in Opera 8 for Mac. Opera 6 gives the same results as Mac IE (looks ok, but no rollovers).
smiley - dog


The Atelier computer technology lab

Post 570

dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC

Something involving the cache is involved with firefox. Returning to the page, it looks fine. Clear the cache, or shift-reload, and the problem returns.
smiley - dog


The Atelier computer technology lab

Post 571

Amy the Ant - High Manzanilla of the Church of the Stuffed Olive

Now that's odd. When I look at the page as a local file in Firefox 1.06 it's fine, but if I look at it as a web page, it misbehaves.

Hmm.


The Atelier computer technology lab

Post 572

Asteroid Lil - Offstage Presence

Admin rights! Does this mean you'll be able to download artrage?


The Atelier computer technology lab

Post 573

Amy the Ant - High Manzanilla of the Church of the Stuffed Olive

Yes, but this is no time to break the computer. Maybe on Monday afternoon I'll be at a loose end... anything could happen... smiley - whistle


The Atelier computer technology lab

Post 574

Good Doctor Zomnker (This must be Tuesday," said GDZ to himself, sinking low over his Dr. Pepper, "I never could get the hang of Tuesdays.")

OK Java people. I'm stuck. I have this assignment due tomorrow morning and while the program works, it doesn't return the results I need.

You are supposed to enter in a retail price and markup percentage and it is supposed to return the wholesale price. I've been at this all day and can't seem to find the correct coding.

Here's my code:

/*
* WholesalePrice.java
*
* Created on September 2, 2005, 8:19 PM
*
* Ben Zaharias
* Lab 2d
*/

package Main;

import javax.swing.JOptionPane;


public class Main {

/** Creates a new instance of Main */
public Main() {
}

/**
* @param args the command line arguments
*/
public static void main(String[] args) {

String retail,
markup,
wholesale;

double retailprice,
markuppercent,
wholesaleprice;

retail = JOptionPane.showInputDialog ("Enter the Retail Price");
markup = JOptionPane.showInputDialog ("Enter the Markup Percentage");

retailprice = Double.parseDouble (retail);
markuppercent = Double.parseDouble (markup);

wholesaleprice = retailprice / 1 - markuppercent;

JOptionPane.showMessageDialog(null, "The Wholesale Price is "+ wholesaleprice, "Results", JOptionPane.PLAIN_MESSAGE);

System.exit(0);
}

}

HELP! PLEASE!


The Atelier computer technology lab

Post 575

Phil

Lets do a quick work through of a couple of examples and then go back and check your maths...

Wholesale price $50
Retail Markup = 50% (0.5)
so retail price is 50*(1+0.5) = 75
so far so good.
Retail = Wholesale * (1 + markup)

Working to what we want to get (ie wholesale from retail and markup)
we get
wholsale = retail / (1 + markup)

So you seem to have managed to get a sign wrong somewhere in your working and the programme tries to do wholesale = retail / (1 - markup) and as you have been finding, gives the wrong answer.


The Atelier computer technology lab

Post 576

Good Doctor Zomnker (This must be Tuesday," said GDZ to himself, sinking low over his Dr. Pepper, "I never could get the hang of Tuesdays.")

I got it figured out.


The Atelier computer technology lab

Post 577

dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC

I watched a TV movie the other night in which the sun was going supernova and the earth was about to be destroyed, but then the scientists who had figured this all out discovered that they had used a "+" where they should have used a "-" and the sun wasn't really going supernova and the earth was not destroyed after all, just a little worse for wear. Just like in GDZ's program.

smiley - erm

It wasn't a movie worth watching. But a striking coincidence nonetheless? OK, maybe not.
smiley - dog


The Atelier computer technology lab

Post 578

marvthegrate LtG KEA

That is bizzare d'E.

So ok. I deal with just about every kind of network imaginable. From mom and pop shops up to fortune 100 companies and government systems of all stripes. I support something in the neighborhood of 30 individual procuts spanning 6 or more operating systems. If it's out there, and is Borg Blue, I have likely worked on it.

Why oh why do I get the idiots that get to deal with on a daily basis?


The Atelier computer technology lab

Post 579

Phil

We all get idiots to work with on a daily basis. Some of the idiots I get to work with should know much better - computing lecturers!


The Atelier computer technology lab

Post 580

Amy the Ant - High Manzanilla of the Church of the Stuffed Olive

I've just invoked the famed peekaboo bug in Internet Explorer. Boy is that weird! Text to the side of a floated picture doesn't show up but it comes back if you resize the window.


Key: Complain about this post

The Atelier computer technology lab

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more