blike Posted April 8, 2004 Posted April 8, 2004 I saw this on slashdot this afternoon, it's pretty fun to toy with http://www.lpl.arizona.edu/impacteffects/
Dave Posted April 8, 2004 Posted April 8, 2004 It's good fun, would be brilliant if it had some kind of graphical representation of the impact.
aommaster Posted April 9, 2004 Posted April 9, 2004 yeah, the numbers there are horrible, you need to get an 'image' of what is going to happen!
Dave Posted April 9, 2004 Posted April 9, 2004 I would imagine something like that would be fairly hard to be honest.
aommaster Posted April 9, 2004 Posted April 9, 2004 yeah. You would need to create almost every single possibility, making it impossible!
Guest Yoshmaista Posted April 11, 2004 Posted April 11, 2004 Not really, aom, you could just set up a javascript which would script placement on a preset graph, with different values, then connect those or do whatever you'd need to.
aommaster Posted April 12, 2004 Posted April 12, 2004 well, won't that show us a graphical explanation?
Dave Posted April 12, 2004 Posted April 12, 2004 Not really, aom, you could just set up a javascript which would script placement on a preset graph, with different values, then connect those or do whatever you'd need to. The hard bit geting what you've input to affect the output. There's some quite complex math behind that. And I'd use a server-side language for that, definately not clientside.
aommaster Posted April 12, 2004 Posted April 12, 2004 yeah. I wouldn't expect someone to do that on JAVASCRIPT! Its near to impossible. Doing it in ASP, CCS, and other server-side languages would be much easier.
Dave Posted April 12, 2004 Posted April 12, 2004 It's not impossible; just very hard and laborious to get working.
aommaster Posted April 12, 2004 Posted April 12, 2004 also, i don't think some computers have javascript enabled. I think about half of them don't. Server side languages are more compatible
Dave Posted April 12, 2004 Posted April 12, 2004 Well, the majority of computers now use fairly modern browsers; only a very small proportion of them don't use javascript any more. This site has quite a lot of javascript in it, for example.
aommaster Posted April 12, 2004 Posted April 12, 2004 actually, this uses PHP, something that computers can all read. All computers have the ability to read javascript, but, some have just disabled it.
Dave Posted April 12, 2004 Posted April 12, 2004 All browsers don't have the ability to read javascript. I could use lynx (which is a perfectly good linux-based text browser), and that's not javascript enabled. And yes, this site does use PHP, but that's only to generate the HTML. Javascript is used to make the interface look pretty. If you don't believe me, I suggest you click the little arrow next to the 'Quick Links' button at the top of the page.
aommaster Posted April 12, 2004 Posted April 12, 2004 yeah, ur right. I took a look at the source, and there is a little bit of javascript invlolved.
Sayonara Posted April 12, 2004 Posted April 12, 2004 actually, this uses PHP, something that computers can all read. All computers have the ability to read javascript, but, some have just disabled it. Not quite. PHP is a hypertext preprocessor - the script is run on the server and generates HTML, CSS and JavaScript to send to the client. When you look at SFN, your computer is not "reading" the PHP. It doesn't see a scrap of it. Client-side languages are processed on-the-fly by the browser, and they should be avoided (hello javascript) unless you actually need to manipulate the browser itself (window attributes etc). Wherever javascript is used on a page, there should be an alternative for non js-enabled clients embedded using the <noscript> tag.
Sayonara Posted April 12, 2004 Posted April 12, 2004 yeah. I wouldn't expect someone to do that on JAVASCRIPT! Its near to impossible. Doing it in ASP, CCS, and other server-side languages would be much easier. Doing it in ASP would be horrible as it's an absolutely hideous language. Not sure what you mean by CCS. Cisco Collaboration Server? PHP would be best as it has easily implemented maths and some nifty graphing capabilities.
Dave Posted April 12, 2004 Posted April 12, 2004 PHP is a hell of a lot better than ASP, so much more functionality for one thing.
aommaster Posted April 12, 2004 Posted April 12, 2004 Doing it in ASP would be horrible as it's an absolutely hideous language. Not sure what you mean by CCS. Cisco Collaboration Server? PHP would be best as it has easily implemented maths and some nifty graphing capabilities. Sorry, that was a spelling mistake, CSS was what i wanted to say
aommaster Posted April 12, 2004 Posted April 12, 2004 PHP is a hell of a lot better than ASP, so much more functionality for one thing. I agree!
Sayonara Posted April 12, 2004 Posted April 12, 2004 Sorry, that was a spelling mistake, CSS was what i wanted to say That'd be slightly tricky. CSS is a client-side language that dictates page- and element-level styles to the browser. MathML might come in handy somewhere: http://www.w3.org/Math/
aommaster Posted April 12, 2004 Posted April 12, 2004 yeah, possibly. I don't really know any of these languages really well, i know a little bit about CSS, javascript and HTML and that's about it
Sayonara Posted April 13, 2004 Posted April 13, 2004 Anyway, back on-topic: Must have been a slow news day - http://news.bbc.co.uk/1/hi/sci/tech/3620119.stm
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now