Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > LimeWire Beta Archives
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts


 
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old September 18th, 2004
A reader, not an expert
 
Join Date: January 11th, 2003
Location: Canada
Posts: 4,613
stief has a spectacular aura about
Default

Thanks for the info. Yes, Greg Bildson has kept the project going through lots of changes in people, and making the opensourcers (both hired and volunteer) an important part of the team sure looks like it works.
Quote:
Gregorio Roper should be the next one, in my opinion. I think this is the opinion of other LimeWire crew members
I too like his contributions (i.e his current work with torrents), and I expect that Jens-Uwe Mager and Roger Kapsi will be recognized on the .org page too.

[OT]I don't code, but your remark that the java VM HotSpot compiler uses internal fixed-size static structures reminded me of some Console messages I've been seeing lately on OS X
"stiefs-iBook kernel: resize: max chain len 40, new table size 8192" Any chance this is related?[/OT]

If you're looking at the code, I'd be interested in what you find about 'browse host' and 'ethernet' transfers

Last edited by stief; September 18th, 2004 at 05:57 PM.
  #42 (permalink)  
Old September 22nd, 2004
verdyp's Avatar
LimeWire is International
 
Join Date: January 13th, 2002
Location: Nantes, FR; Rennes, FR
Posts: 306
verdyp is flying high
Default

The "internal fixed-size structures" in the Java HotSpot compiler is not related to this message. It is related to the way methods calls and method entries are encoded, with strange limitations on the supported method signatures (the count and types of parameters).

These limits on supported method calls are really not intuitive and they way they can be fixed is opposed to the normal OOB programming philosophy of Java:
- sometimes this requires creating temporary work classes to pass these method parameters.
- sometimes some large methods need to be splitted in the source code by the programmer into smaller sub-methods even if the method size is below the threshold of about 4KB of bytecode.
- some small methods fail when HotSpot try to inline them in the compiled native code, or will run much slower if they are not inlined manually directly in the source code.
- the methods profiling performed by HotSpot to determine which methods should be inlined is based on a threshold number of past calls. But this counting does not work for all calls, so some methods may never reach this threshold, even if they are used extremely often. These small methods are nearly never compiled to native code and run slower.
- more generally, the rationale of these limits is not clear, and one needs to profile the application in its critical code parts to see which coding style will work best.

You can diagnose the cases where methods will not be compiled to native code at run-time by HotSpot (and then will run in a much slower interpreted mode) with some undocumented flags on the "java" command-line or set by the JVM instanciation program (such as limewire.exe on Windows): it displays "COMPILATION SKIPPED" messages on the console.
__________________
LimeWire is international. Help translate LimeWire to your own language.
Visit: http://www.limewire.org/translate.shtml

Last edited by verdyp; September 22nd, 2004 at 03:50 AM.
  #43 (permalink)  
Old September 28th, 2004
Gone on vacation fishing, forever lost at sea
 
Join Date: September 28th, 2004
Posts: 5
mkopix is flying high
Smile

[removed odd link to picture]

Last edited by sberlin; September 28th, 2004 at 11:30 AM.
  #44 (permalink)  
Old October 2nd, 2004
A reader, not an expert
 
Join Date: January 11th, 2003
Location: Canada
Posts: 4,613
stief has a spectacular aura about
Default Hash not working correctly?

new bug--can anyone else confirm?

-I searched for DSCF0025.jpg in "Any Type", and most of the results incorrectly showed the green "checkmark" icon.

details
-jum 352
-I had two pics of different sizes with the same name already (1 shared, 1 in the unshared download folder) downloaded
-search returned ~200 results, 169 unique files ranging from a few KB up to 4 MB from about 8 different vendors

btw--searching for home collections of digital camera shots is a fun way to either discover the next Anselm Adams, or else to make you feel good about your own abilities
  #45 (permalink)  
Old October 2nd, 2004
Software Developer
 
Join Date: November 4th, 2002
Location: New York
Posts: 1,366
sberlin is flying high
Default

The green checkmark isn't based solely on hash -- if a file exists by the same name, it'll mark it also.
  #46 (permalink)  
Old October 2nd, 2004
A reader, not an expert
 
Join Date: January 11th, 2003
Location: Canada
Posts: 4,613
stief has a spectacular aura about
Default

can the checkmark be easily made to reflect the hash? I'm assuming results are grouped based on hash . . .
  #47 (permalink)  
Old October 6th, 2004
verdyp's Avatar
LimeWire is International
 
Join Date: January 13th, 2002
Location: Nantes, FR; Rennes, FR
Posts: 306
verdyp is flying high
Default OpenGL or incorrect display of icons.

With the recent changes to support Plastic themes, I experiment now problems when displaying some icons: they are unstable, sometimes the wrong icon is displayed for buttons, and the selected icon changes sporadicly. In a row of graphic buttons (for example tabs at the top, or the row of action buttons for the search results), it happens that all these buttons are showing the same icon, and then they change without user action, or when the mouse cursor passes over it.
However this never happens for the small icons of media selectors, or for file icons.

I think that this is related to the new message I see on the console when starting LimeWire:

OpenGL pipeline enabled for default config on screen 0

(this message appears as the first line of output, before any other debug output generated by LimeWire itself, after that Java VM has been created but still when LimeWire is loading).

Is it possible that the recent Microsoft patch for GDI+ in Windows XP has changed the behavior of Java2D for JPEGs, but possibly too for GIFs and PNGs?
(Note: I see that with the most recent version of the JDK 1.5-beta2)

Is it a bug of Java, or Windows, or of the Plastic Theme integration?
I don't see this message in other Swing apps with the same VM on the same host. I can't see why LimeWire would need OpenGL here, or what can cause Java2D to enable it. Apparently the display bug looks very much like a synchronization issue in the management of the graphic renderer (would it use a pipeline which does not work properly with OpenGL?).

I tried with the Java 1.4.1 JRE, and I have the same display problem (but not the OpenGL message above). Is this bug within the new PlasticTheme library? Does it use OpenGL?
__________________
LimeWire is international. Help translate LimeWire to your own language.
Visit: http://www.limewire.org/translate.shtml
  #48 (permalink)  
Old October 6th, 2004
Software Developer
 
Join Date: November 4th, 2002
Location: New York
Posts: 1,366
sberlin is flying high
Default

Try adding "-Dsun.java2d.opengl=false" to the parameter for starting java. I've noticed at home that openGL is enabled by default on Java5 and basically made LimeWire look like a blob of splattered paint.
  #49 (permalink)  
Old October 6th, 2004
Software Developer
 
Join Date: November 4th, 2002
Location: New York
Posts: 1,366
sberlin is flying high
Default

Yeah, the checkmark can be made to reflect only the hash -- but it wasn't intended to be a 100% exact match. It's designed to let you know you probably have this file -- hashes are a surefire way, but the filename is also a pretty good way. Perhaps the filename should also include a size check, ensuring that the two are similar sizes? Or maybe a blue instead of green checkmark for the filename matches. Grouping is still done only by hash.
  #50 (permalink)  
Old October 6th, 2004
et voilà's Avatar
+Modérateur à ses heures+
 
Join Date: July 26th, 2002
Location: Le Québec
Posts: 2,904
et voilà is a great assister to others; your light through the dark tunnel
Default

Salut Sam, I was thinking about hash and files and got a little idea. Often you get results of files with the same size and same name but different sha1. An optimisation would be that once you download one file LW gets the tiger tree of the other files with same size same name: if some trees correspond, LW downloads from both files (more sources). The tigers that differ are only downloaded on the the file selected to dl by user. Of course you don't add sources with different sha1 in the download mesh.

I had another idea for uploads but I forgot it today
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
When i Leave Limewire Beta, it automatically re-opens Limewire MPielichowski Connection Problems 1 February 16th, 2007 08:16 PM
LimeWire 4.1.2 Beta sberlin LimeWire Beta Archives 10 August 2nd, 2004 10:49 AM
LimeWire 3.9.5 Beta sberlin LimeWire Beta Archives 38 April 27th, 2004 11:32 AM
LimeWire 3.9.4 Beta sberlin LimeWire Beta Archives 7 April 23rd, 2004 01:59 PM
LimeWire 1.7 beta available crohrs LimeWire Beta Archives 35 October 25th, 2001 03:49 PM


All times are GMT -7. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.