The Ubermenu



  • In Firefox, right clicking on a Java applet and then dragging your mouse over any of the toolbars will give you this.




  • Tried in FF4b10. Could not reproduce.



  •  Me neither (FF3.6.13).



  •  TRWTF is using a Java Applet



  • I could reproduce (also 3.6.13). However my ubermenu was different in the OP's, I think it depends on what add-ons you have installed. Part of the ubermenu included my tabbar context menu (customised via Tab Mix Plus), but other parts included context menu entries for other add-ons.

    I haven't tried it in FF Safe Mode.

    FTR, the Java applet I used was http://www.schubart.net/rc/ (Rubik's Cube).




  • @Paddles said:

    FTR, the Java applet I used was http://www.schubart.net/rc/ (Rubik's Cube).

    Nope, it won't budge :(

    Though I've seen the Übermenu in other places before, probably due to bugged extensions. It's funny.



  • @Paddles said:

    I could reproduce (also 3.6.13).

    With the same version, I could not reproduce. Wtf.



  • @El_Heffe said:

     TRWTF is using a Java Applet

    No kidding. Where do you even find a Java applet to test this with?



  • I've seen that menu before, too. No Java applet is needed, just some bad luck while moving your mouse around in unexpected ways. I believe it's more likely to happen when your computer is stressed. It seems when the application hasn't gotten around to updating its knowledge of where your mouse is, yet still gets the signal that a right click has happened, it just barfs out every possible context option. I've seen it in both Linux and Windows, but I forget which FF versions they're at. Whatever the latest is, I guess. I haven't found a reliable way to reproduce it.



  •  @Xyro said:

    I believe it's more likely to happen when your computer is stressed.

     

    I think you're right, I just tried it on the same Java applet again and I couldn't reproduce it either.



  • Right clicking a Java applet then dragging your mouse over the toolbars will give me a post with some words in it? Wow! Incredible!

    Oh, wait, there's an image that doesn't load.

    ..can't reproduce either on W7-32 + FF3.6.13 (use it only for compatability checking)



  • I wish Java was dead, but people keep writing software in it. Argh.

    I also remember the first time I saw that happen -- it was a page about Midland Mainline (my line) train drivers stripping off at the cab. The article was accompanied by a drawing of a train with a steering wheel.

    Now, here's the question -- when your PC is stressed, does anyone else see Firefox get its event order confused? If Firefox isn't able to respond, and I click and then type, Firefox frequently processes the keystrokes first, and then the mouse click. I've been seeing this probably all the way from version 1 on my PII 333 running Windows 2000, to 3.6 on my P4 and Core 2 Duo running XP.

    I am looking forward to when 4.0 is usable (i.e. all the add-ons are ported) because the constant garbage collector hangs in 3 are driving me nuts. On my P4, 4 beta 9 definitely feels a whole lot faster, but it remains to be seen whether they ever sort out their horrendous threading model.



  • @derula said:

    probably due to bugged extensions.
     

    That was my uninformed guess working assumption. Everyone (including me) has so far posted the Firefox version we were using, but not what extensions are in place. I expect that is significant (grist for the mill below). Stressed computer as others have suggested? I think that's a possibility.

    @blakeyrat said:

    Where do you even find a Java applet to test this with?

    Maybe you haven't heard of this amazing site called "Google", it helps you find all sorts of things on the web. :)

     

    And now... add-on list courtesy of Extension List Dumper:

    Application: Firefox 3.6.13 (20101203075014)
    Operating System: WINNT (x86-msvc)

    [list]
    [*][url=http://adblockplus.org/en/]Adblock Plus 1.3.3[/url]
    [*][url=http://www.roboform.com]AI Roboform Toolbar for Firefox 6.10.1[/url]
    [*][url=http://www.vakuumverpackt.de/disablebackspacenavigation/]DisableBackspaceNavigation 0.6[/url]
    [*][url=http://downthemall.net/]DownThemAll! 2.0[/url]
    [*]DownThemAll! AntiContainer 0.9.5
    [*][url=http://justcameron.com/incoming/en-au-dictionary/]English (Australian) Dictionary 2.1.1[/url]
    [*][url=http://sogame.awardspace.com/]Extension List Dumper 1.14.8[/url]
    [*][url=http://www.stemhaus.com/firefox/foxclocks/]FoxClocks 2.6.18[/url]
    [*][url=http://freedownloadmanager.org/]Free Download Manager plugin 1.3.4[/url]
    [*]Java Console 6.0.23
    [*]Java Console 6.0.22
    [*][url=www.mouseless.de]Mouseless Browsing 0.5.3.1Build201101051500[/url]
    [*][url=http://netusage.iau5.com/]Net Usage Item 1.2.300[/url]
    [*]PC Sync 2 Synchronisation Extension 1.0.0.736
    [*][url=http://readitlaterlist.com]Read It Later 2.1.1[/url]
    [*][url=http://sessionmanager.mozdev.org/]Session Manager 0.6.9.3[/url]
    [*][url=http://userstyles.org/]Stylish 1.1[/url]
    [*][url=http://tmp.garyr.net]Tab Mix Plus 0.3.8.4[/url]
    [*][url=http://webmailnotifier.mozdev.org/]WebMail Notifier 2.7.2[/url]
    [/list]



  • Where do you even find a Java applet to test this with?
    Minecraft?


  • @nexekho said:

    Where do you even find a Java applet to test this with?

    Minecraft?

    Java is the reason I refuse to try Minecraft.



  • @nexekho said:

    Where do you even find a Java applet to test this with?

    Minecraft?
    Is it weird that I immediately thought of the same answer when I read the question?



  • What's a java applet? (Consults history of the internet)



  • @blakeyrat said:

    @nexekho said:
    Where do you even find a Java applet to test this with?
    Minecraft?

    Java is the reason I refuse to try Minecraft.

     

    fuck you, and also your immediate relatives.

    goes to play with minecraft alpha

    Anyway, here are cool applets:

    Blaskovic's Particles and fire

    Falstad's awesum physics applets.

     

    Also, Falstad's roundup of interesting gravity fuckups. Seriously. Do these people know nothing?



  • @dhromed said:

    fuck you, and also your immediate relatives.

    goes to play with minecraft alpha

    Dood. Java = computer viruses. And Webex. I don't need Webex, and I don't want computer viruses, so Java can go fuck itself. And its immediate relatives.

    And the guy who decided to write a VIDEO GAME in it? What a fucking idiot. He's not doing anything you couldn't do in Flash or Silverlight, except everybody can run Flash and Silverlight. And who in their right mind thinks, "hmm video game... I KNOW! JAVA!"? A cretin.



  • @blakeyrat said:

    Dood. Java = computer viruses. And Webex. I don't need Webex, and I don't want computer viruses, so Java can go fuck itself. And its immediate relatives.

    And the guy who decided to write a VIDEO GAME in it? What a fucking idiot. He's not doing anything you couldn't do in Flash or Silverlight, except everybody can run Flash and Silverlight. And who in their right mind thinks, "hmm video game... I KNOW! JAVA!"? A cretin.

    I have to +100 for that incredibly true statement



  • And the guy who decided to write a VIDEO GAME in it? What a fucking idiot. He's not doing anything you couldn't do in Flash or Silverlight, except everybody can run Flash and Silverlight. And who in their right mind thinks, "hmm video game... I KNOW! JAVA!"? A cretin.

    I realise this is a total troll but in any case, does ActionScript get processed anywhere near as efficiently as Java? Given Minecraft actually has some pretty heavy processing (generating voxel fields, building and optimising polygon meshes for each sector and rebuilding every time a single block changes) and Powder Game/other physics games need some kind of fast canvas, I think you'd struggle to pull them off in Flash.

    Though I could be wrong.



  • @nexekho said:

    I realise this is a total troll but in any case, does ActionScript get processed anywhere near as efficiently as Java?

    For the purposes of Minecraft? Yes. Silverlight could pull it off even easier. And Flash has a 98% distribution rate among Internet users, Silverlight is somewhere around 60% and rising quickly, and Java is somewhere around 60% and dropping like a rock. Last I checked, a few years ago. Hell, Silverlight is probably much higher now if only for Netflix.

    Java was dead on the web the instant IE6 came out. Now it's just a headless corpse thrashing around.

    @nexekho said:

    Given Minecraft actually has some pretty heavy processing (generating voxel fields, building and optimising polygon meshes for each sector and rebuilding every time a single block changes) and Powder Game/other physics games need some kind of fast canvas, I think you'd struggle to pull them off in Flash.

    Though I could be wrong.

    I think you're just insufficiently aware of Flash features. Minecraft ain't doing jack, CPU-wise, for a video game.


  • Garbage Person

    Fuck Minecraft. I played more fun 3d open-world construction games in fucking 1997. It isn't fun being creative when you're constrained by the need to wallpaper your entire construction in torches so the fucking creepers can't spawn and create busy-work for you.



  • My main complaint with minecraft is the horrible home brew opengl engine that it uses. Use separate textures for blocks instead of a megatexture and sort the goddamn quads being draw by texture name before rendering it.



  • Is the full verison of Minecraft in Java as well?

    My friend who plays it, and is an excellent pogrammer, criticizes it for serious performance issues for a game of that (lacking) graphical quality.

     



  • My main complaint with minecraft is the horrible home brew opengl engine that it uses. Use separate textures for blocks instead of a megatexture and sort the goddamn quads being draw by texture name before rendering it.

    It's an atlas, not a megatexture, but this. I can't be absolutely certain but I'm fairly certain it's not splitting the texture up and it's using a quad for every single visible face of every single block block rather than optimising to larger quads where possible. I've written a sort-of clone for a final major project and on a netbook I could pull 60fps with far higher res textures because I split them out, and depth sorted the sectors (not blocks) for optimum draw performance. Written in C, it had none of the insane CPU use or RAM use... typically 30mb for a full level. Oh, and I also wrote an algorithm that at a distance merged blocks to reduce poly count.

    Yes, the client, server and offline client are all Java.



  • I know it is not splitting up the texture into smaller ones. I've looked at the decompiled and somewhat de-obfuscated code. It attempts to find what part of the atlas to use based on magic numbers which are based on the atlas being 256 by 256. The only nice thing about minecraft being in Java is that it is easy to modify the code for more stuff and better performance. I will try to reserve a full judgement until it gets out of beta, I just hope it gets better.

    Another complaint about minecraft I have is that the default save system sucks. The devs are working on it, but damn, it does not need that many folders and files.



  • NERDS!



  • Minecraft Classic usually uses ~75% CPU on my system, but I don't have that problem with the new version.

    However, there are FPS drops when generating new terrain, and saving/loading level data as well. The level format is not good (saved in 16x16 chunks, meaing that an explored world might have several thousand files, each in its own folder), but Notch says he's going to fix that soon.

    For everyone saying Java is dead: what about Java Web Start? For my own project, I need to launch a GUI application, in a separate window, and with arguments, from a web page.Out of all of the possible ways to do that (web browser embedded in the application, browser plugins), Java seems the least WTFy.



  • @Z1_Jacob said:

    For everyone saying Java is dead: what about Java Web Start?

    First of all, it's foolish to even assume the client has Java installed. A dependency on Java instantly reduces your customer base to about 60%-ish of normal.

    @Z1_Jacob said:

    For my own project, I need to launch a GUI application,

    Java sucks at making GUI applications.

    @Z1_Jacob said:

    in a separate window, and with arguments, from a web page. Out of all of the possible ways to do that (web browser embedded in the application, browser plugins), Java seems the least WTFy.

    ... or write the program in a sane language/environment, register itself as a protocol helper "appname://launch?param=hello", and go to town. Like what Valve's Steam does. Or Windows Live Messenger. Or iTunes. Or pick your own example out of the thousands of apps that do exactly this in a sane way.

    You don't need "browser plugins" and I don't even get how a web browser embedded in the app helps in your case... but that doesn't matter since the OS already has support for exactly what you're trying to do!!

    Rule #1 of programming: know the capabilities of your OS, and *use them*


  • Garbage Person

    @Z1_Jacob said:

    For everyone saying Java is dead: what about Java Web Start?
    I'm about 70% sure there's a .net equivalent - which nobody uses, because it's a fucking stupid idea. Register your shit as a protocol handler and bask in your immediate sexual success.

     

    Furthermore, your described use case is not what Web Start is even fucking for. Web Start is a deployment technique - not an interop layer.



  • @Weng said:

    I'm about 70% sure there's a .net equivalent - which nobody uses, because it's a fucking stupid idea. Register your shit as a protocol handler and bask in your immediate sexual success.
    ClickOnce?


  • Garbage Person

     @ender said:

    @Weng said:
    I'm about 70% sure there's a .net equivalent - which nobody uses, because it's a fucking stupid idea. Register your shit as a protocol handler and bask in your immediate sexual success.
    ClickOnce?
    Yeah, that.



  •  @Weng said:

    @Z1_Jacob said:

    For everyone saying Java is dead: what about Java Web Start?
    I'm about 70% sure there's a .net equivalent - which nobody uses, because it's a fucking stupid idea. Register your shit as a protocol handler and bask in your immediate sexual success.

     

    Furthermore, your described use case is not what Web Start is even fucking for. Web Start is a deployment technique - not an interop layer.

     

    I'm using it for a Java application, how is that interop?

    And anyway, I'm not using Java because it's the absolute best tool for the job -- I just have the most experience with it (this is also why Notch programmed Minecraft in Java, IIRC


  • Garbage Person

    @Z1_Jacob said:

    I'm using it for a Java application, how is that interop?

    It's interop because you're taking data out of a web browser and using it in your application - or at least, that's what it sounds like you're doing.

     

    @Z1_Jacob said:

    And anyway, I'm not using Java because it's the absolute best tool for the job -- I just have the most experience with it (this is also why Notch programmed Minecraft in Java, IIRC
    Oh, you know Java? Congratulations - you now know C#. Compatible syntax, FAR better API, and a far better runtime.


Log in to reply