Slashdot Mirror


User: tonywestonuk

tonywestonuk's activity in the archive.

Stories
0
Comments
326
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 326

  1. Submitter - Not Silly on Transparent Aluminum Is Here · · Score: 3, Insightful

    Isn't Aluminum a major constituant part of Alumina? (along with Oxygen)... Seams to me that that makes the term 'Transparant Aluminum' valid.

  2. The Reason Java 'appears' slow, on The "Return" of Java Discussed · · Score: 2, Interesting


    There is this concept called MVC (or model view controller) That is regarded as the way to develop OO based GUI apps. However, pure MVC is the biggest stumbling block to performance.

    The idea is, you have a VIEW (The actual GUI Code), that reads it's data from the MODEL, ( a data structure modelling the data that is viewed, and a CONTROLLER, that the view notifies when something happens, and then the controller updates the Model.

    This, though well suited for a Web application, does not work well in a windows type environment. Consider for example an order entry screen consisting of 10 dropdown combo boxes, Buttons to add an order line, Tabs to show different areas of the order, (delivery address, customer credits, etc). Now the data model for this screen will be massive - each combo box's entire list of values will be stored within the single Model. On start-up, first the view will be rendered, then the data contained within the model copied into it. This process takes time, and makes the guy unresponsive and sluggish. In a Web application, this is not a problem , as the data has to get to the browsers some way or another.

    With Java Swing, there is an alternative - Encapsulate the individual components with the data it requires to display, and only store within the external Data Model, the actual value that the component is set to. Eg, if you want a combo box with a 100 or so currencies to be selected, store the list of currency information, together with the combo box..... Call it a currencySelector or something. The 'Data Model' is still there to contain the actual chosen currency, just not everything else!

    This way, you can cache up these components, so when added to the screen, no time is wasted moving all this data from the data model into the component. The data model becomes much smaller, and the components become fully re-useable.

    The Swing applications I have written use this technique, and are easily as responsive as a native Windows Application....

    Untill industry realises that MVC is not all its cracked up to be, we will be stuck with slow gui's.

    As a Side note, Mac OSX uses MVC throughout , maybe this is why Aqua is view to be so slow.

  3. I Wonder.... on German Court Says GPL is Valid · · Score: 1

    Lets say, a particually ruthless company (Hello M$) copy some GPL software into there own product that they market and make loadsass out of (eg Windows). Now, at some point, the source code is leaked, and it is found that GPL code is in there. Does this mean that, Legally, for Windows to have been distibuted, it must have been under the terms of the GPL, and in which case, it would be perfectly leagal for anyone, from that point forward, to make 'pirate' copies of that software and distribute it without fear of the copyright courts?.... Hmm, Have to go through that source code I downloaded a few months back with a fine tooth combe!

  4. GPL Valid? on German Court Says GPL is Valid · · Score: 2, Interesting

    I'm not sure if this is a GPL is legally valid president, more like a copyright infringement case, where the defendants are claiming the GPL allows them to carry on infringing, where in reality, it does not.

    Its a bit like a Credit Card company providing a licence to someone that grants them the permission take anything they like they find in a shop without paying, on the condition that they deposit monies equaling that value into an account at some point later. Now, when some thief ends up in court for common theft, after nicking a load of stock, The thief claiming the Credit card companies licencing agreements with him are invalid, and can't be held up in court!.....

    The GPL will be proven in a case of law when:

    Person A , receives some software under the GPL, makes amendments to suit their needs, releases these changes to the world, as required by the GPL.

    Person B, who makes software that competes with Person A (but this software also happens to be GPL'ed), Finds that there's this really neat piece of code done by person A, That will do wonders for his 'competing' GPL'd software, and so copies this code, line by line, into his product.... This product then becomes the market leader, no one wants to know A's product anymore!

    Person A, isn't to happy with person B, and so sues A for copyright infringement. person B, then will have to rely on the GPL, to get themselves off the hook. At this point, if A can claim the GPL is invalid, then A has a case, however, by winning that particular case, they then leave themselves open to as similar copyright case by person C, who's software they original ripped off in the first place.

  5. Go Nokia!! on Nokia Losing its Cell Phone Dominance · · Score: 1

    I've been a nokia fan since my first mobile, however, My last 'upgrade' was a Motorola V500. Though the technical specs where perfect for my requirements, I found that compared to the Nokia, motorola are buggy as hell (Ie, my phone crashes!!). Nokia J2mE developer support is miles better. Cant wait till upgrade time comes around again, when I'll be returning to the fold.

  6. A 199 Byte static webpage.... on 32,000 "Why I'm Tired" Emails · · Score: 4, Funny

    I Guess this one should survive a good slashdotting, But, just in case, here it is in all its glory!

    Are you tired?

    Are you tired?

    Tell us why.

  7. Re:Somewhere in the middle on Hacking Quartz · · Score: 1

    Ok, This isn't event driven, or 'OO', but, I'd imagine , this would be the first adventure into triangle programming in Java.

    import java.awt.Graphics;
    import javax.swing.JFrame;

    public class Triangle {
    public static void main(String[] args) {
    JFrame w = new JFrame();
    w.setSize(100,100);
    w.show();
    Graphics arg0 = w.getGraphics();
    arg0.drawLine(0,50,100,100);
    arg0.drawLine(100,100,100,30);
    arg0.drawLine(100,30,0,50);
    }
    }

  8. Problem at Telewest (QWESTS UK arm) on What Was Your Worst Computer Accident? · · Score: 2, Interesting

    A few years back, while working at Telewest, my boss made this program that was supposed to signal to the Cable TV switch, to turn off all accounts that were no longer subscribed. The Icoms system, was supposed to do this, but , for whatever reason, there were abiguities between what the Icoms system thought, and what the switch settings were. There was this incy wincy little bug, that, somehow creaped in there between testing and running live, (I presume he did test it, ....!) Every Telewest Cable TV account was switched off within a few seconds, and this was at 4:30 pm, prime time started only 1/2 hour away. Then the phone calls started... You know that tikker board that they have in call centers, well that went from 5 mins wait time , to 5 hours almost straight away. Turning off an account is easy, but turning on an account it much more difficult, as every subscriber has a different package. So, we fixed it the manual way.... we stayed there until 8 that night, with the development team manually forcing a refresh of each and every account.

  9. DUKE Nukem on Thirty Years in Computing · · Score: 2, Funny

    Computer games in 2034 are likely to offer simulated worlds and interactive storytelling that's more engaging than linear presentations such as those in most movies today.

    So, I guess this will be when Duke Nukem Forever is completed then....

  10. MVC Shite!... on Cocoa Programming for Mac OS X, 2nd Edition · · Score: 2, Interesting

    I'm a Java programmer, and used to program Mac's in the system 7 era. So, I thought I'd take a look at using the Cocoa API. There is a java-cocoa tutorial on apples developer site, so I fired up x-code / Gui Builder and jumped in.

    After spending a good few hours understanding how to develop in this environment,I honestly think that the effort and pain needed to put together this simple currency converter app, is not worth it.... I could have done the same thing in any other environment (Swing/VB/ old Res-edit & Pascal), in minutes... What is the big deal surrounding MVC for a GUI?

    Tell me, Can I make a dynamic screen, that adjusts itself based on the data inside it (AKA Java Swing).... What about creating reuseable, database linked components, that can be dropped into any screen in a line of code?

  11. Slightly off topic.... but along the same lines.. on Age Discrimination, Indian-Style · · Score: 4, Insightful

    The best age group for IT related tasks will, at the moment be between around 28 to 35..... Why?

    Well, people in this group grew up with the likes of the VIC 20, the ZX81, The Oric, The 80's 8 bit computers that we learnt and understood like riding a bike. No qualification, or degree will ever match what we know, and understand. Where students now learn computing in Uni, or secondary school, get taught IT skills, we learnt it through love of it, at 10 years of age, or earlier.
    We are the David Beckhams of the industry, The Tiger Woods. Understand that in this era, we are kings, and our ability will never be surpassed by anyone just getting a degree, however young. I am 31, and the my best work (so far) has been in the last year or so. In my workplace, we have had people younger, but, though they can code well, they seam to just miss the point... They just analyze any problem, and apply it to what they've learnt at school or uni, they do not truly understand that problem, or how to realize the best solution.... and there solution is, well, ok, but never shows any innovation or 'Wow factor'

    .... Tony.

  12. Nailclippers on The Home Parallel Universe Test · · Score: 1

    Shining a laser-pointer, through the jaws of a pair of nailclippers, onto a screen, you can get a Single slit diffraction pattern.

  13. Sledgehammer vs Nut on Data Transfer Has A Speed Limit · · Score: 2, Funny

    "the scientists confirmed this problem by firing up the particle accelerator at Stanford University and blasting electrons at a piece of the magnetic material used to store computer data....
    ...The researchers noticed that the magnetic patterns left behind were somewhat chaotic
    "

    Well, there's a surprise for ya..... Would never have guessed that.... not in a million years, no, never. :)

  14. Re:Amiga Disks on The New Linux Speed Trick · · Score: 1

    From there webpage Seagate barracuda drives have 100Mbyte/sec max, and >58 MByte/sec avg transfer speed. Emacs is 4.2Mb (Excluding required librarys). I make this approx .1 Second to load emacs, as long as the load has exclusive access to the drive. 1/10 of a second is not long to wait as far as the user is concerned.

  15. Re:1,000 percent? on The New Linux Speed Trick · · Score: 5, Informative

    Isn't 1000%, 11x?
    15% = 1.15x
    100% = 2x
    200% = 3x
    300% = 4x ..
    900% = 10x
    1000% = 11x

    a % = (a+100)/100 x

  16. Amiga Disks on The New Linux Speed Trick · · Score: 5, Interesting


    When I had an Amiga (aroung '91ish), even though It was fully multitasking, I learnt to never open any app while another was loading. If you did, you could hear the disk head moving back and forward between two sectors on disk every half second or so, slowing both app launches to a crawl. Waiting until one loaded, and launching the second was many times faster.

    I've always wondered why there wasn't something in the OS to force this behaviour, Ie, making sure that App 2 access to the disk is queued until app 1 has finished. Isn't this one of the reasons Windows takes ages to boot? (many processes all competing for the one disk resource?).

  17. Auto Karma maker.... on Sun and Microsoft Make Nice · · Score: 2, Funny

    DECLARE CURSOR C1 FOR
    SELECT commentTitle, commentText FROM comments WHERE Storytitle="Sun and Microsoft Settle Litigation" AND moderation = +5

    OPEN C1
    FETCH NEXT from C1 into :Title, :Text

    While (SQLCOD==0){
    postNewComment(Title,Text);

    FETCH NEXT from C1 into :Title, :Text
    }

    CLOSE C1

  18. Re:270Megs???? - YOU LUCKY BASTARDS!! on Hitachi Announces 400GB Hard Drive · · Score: 1

    Ahh..... Someones selling one on ebay. See that massive block sitting on top of the monitor, with 'Profile' on it.... Thats the 5MB HD I'm talking about.

  19. 270Megs???? - YOU LUCKY BASTARDS!! on Hitachi Announces 400GB Hard Drive · · Score: 1

    I first got into programming on a Apple Lisa, with a "huge" 5MB Harddrive - (Thats 5 Megabytes, just over 3 floppies worth today), And we thought ourselves lucky, despite having to wait 2 mins after turning on the drive for it to count its cylinders, and been everso carfull not to rock the desk too hard, otherwise the heads would impact themselves into the spining platter. All connected through what appeared to be a parellel printer port, to give awesome data transfer rates.

  20. Re:Geological & Astronomical timescales are no on Yellowstone Super-Eruption Threat Debunked · · Score: 4, Interesting

    Maybe when the asteroid hits it. Of which there is also certainly a chance.

    The numbers game is different from the 'chances of asteroids hitting'. Let me explain, (following numbers are just for example, but you get the idea) Chances of been hit by asteroid.
    Year 1 - 0.0000001 %
    Year 2 - 0.0000001 %
    Year 3 - 0.0000001 %
    ..
    Year 9999 - 0.0000001 %

    Chances yellowstone errupting.
    Year 1 - 0.0000001 %
    Year 2 - 0.0000002 %
    Year 3 - 0.0000003 %
    ...
    Year 9999 - 0.0009999 %

    The difference between Yellowstone going up in smoke, and an asteroid, is that the chances of erruption increase each year an erruption hasn't occured, due to the previous years magma adding to the pressure. Eventually, the chances will become large enough that it will be more lightly to happen than not. As opposed to the asteroid hitting, that might happen, but probably not... and also not subject to the previous years non-event effecting this years chances.

  21. Holograms on New HP Drive Lets You Burn Your Own Label · · Score: 3, Interesting

    Are DVD lasers sharp enough to produce diffraction patterns, insead of a standard image?.... Could this tech be used to create you own hologram, from a 3D File?

  22. Re:Java? on Windows XP SP2 Could Break Some Applications · · Score: 1

    The way I see it, is that buffer overflow exploits work when a buffer is defined too small for the amount of data used to fill it. The data 'overflows' into a region of memory that contains program code, the processor is currently executing. By definition, this region of memory will be already marked as executable by 'VirtualProtect'. So, whatever overwrites the code can still be executed..... Maybe a better idea would be to protect memory so that it is read only?

  23. Apple History on Apple History At folklore.org · · Score: 3, Funny

    1984 - Apple is Dying

    1988 - Apple is Dying

    1992 - Apple is Dying

    1996 - Apple is Dying

    2000 - Apple is Dying

    2004 - Err, Ipod might save 'em

  24. 6502? on Are 64-bit Binaries Slower than 32-bit Binaries? · · Score: 3, Interesting

    By what method is a processor judged to be 16,32 or 64 bits?...

    The 6502 had 8bit data, but 16 bit address bus, and was considered an '8 bit'
    68000 had 16 bits data, 32 bits address - this was a 16 bit

    So, why can't we just increase the address bus size of processors, to 64,while keeping the databus size at 32bits. have some new 64 bit addressing modes. The processor can still be 32 bit data, so the size of programs can stay the same....Store program code in the first 4Gigs of memory, (zero page!) , and the pointers within that code can remain 32bits, but have the option of using bigger 64bit pointers to point at data in the remaining 2^63 bytes. This should give best of both worlds of 32vs64 bit.

  25. As a Tinnitus sufferer on Tom's Reviews Expensive, Noiseless Case · · Score: 2, Informative

    I find fan noise very pleasant. While at work, because of the whir of fans around me, It completely masks out the ringing in my ears. It's only when I get to the quietness at home do I notice them ringing again.

    I very much doubt the db level of computer fans can come close to further damaging the inner ear..... Unless you're using one of These