To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 13500
    Massive LDraw file repository —James Reynolds
   I'm interested in starting a LDraw file repository. I want to start it by asking everyone to email me their files with a description and keywords of each file, so I can quickly catigorize it without having to open it. Please include any copyright or (...) (19 years ago, 27-Dec-05, to lugnet.cad, lugnet.build, lugnet.announce)  
   
        Re: Massive LDraw file repository —James Reynolds
     (...) Oh, and if you can include a thumbnail graphic (gif, jpg, or png) I can include that too. And I know that Brickself kind of does this already, but it can take a lot of time to find stuff there, and I have always wanted a big "grab bag" sort of (...) (19 years ago, 27-Dec-05, to lugnet.cad)
    
         Re: Massive LDraw file repository —Dave Schuler
     (...) Are you talking about original LDraw-based creations, or LDraw versions of official LEGO designs, or both? Dave! (19 years ago, 27-Dec-05, to lugnet.cad)
    
         Re: Massive LDraw file repository —James Reynolds
     (...) Both. Anything. Everything. I'm thinking the best way to organize it is to organize by name of dat creator. That way I can include multiple versions of the same model in the case of official LEGO designs. (19 years ago, 27-Dec-05, to lugnet.cad)
   
        Re: Massive LDraw file repository —Jacob Sparre Andersen
     (...) James' request inspired me to work on cleaning up and annotating my numerous MPD files during my Christmas and New Year's vacation. One result of this work can be found at: (URL) document contains a list of all my published MPD files in a (...) (18 years ago, 2-Jan-06, to lugnet.cad)
    
         Re: Massive LDraw file repository —Travis Cobbs
     (...) (Since the file contents are in English, I'm assuming that the filename is also English, although I may be mistaken on that, since obviously the directory name isn't English.) Based on what the file contains, I think the word you were looking (...) (18 years ago, 3-Jan-06, to lugnet.cad)
    
         Re: Massive LDraw file repository —Jacob Sparre Andersen
     (...) I never (practically never, at least) use English file or directory names on my web site. In general all file and directory names are in Danish. The site will stay that way until I get around to finish implementing my multilingual webserver. (...) (18 years ago, 3-Jan-06, to lugnet.cad)
    
         Re: Massive LDraw file repository —James Reynolds
      (...) So what does "Byggevejledninger" mean? :) James (18 years ago, 3-Jan-06, to lugnet.cad)
     
          Re: Massive LDraw file repository —Tore Eriksson
      (...) "Building Instructions". (18 years ago, 3-Jan-06, to lugnet.cad)
    
         Multilingual webserver (Was: Massive LDraw file repository) —Jacob Sparre Andersen
     (...) In case anybody is curious about what I mean by a "multilingual webserver" the basic idea is no only to serve pages in the preferred language of the reader, but also to redirect them to URLs in their preferred language. There is a few more (...) (18 years ago, 4-Jan-06, to lugnet.off-topic.geek)
    
         Re: Multilingual webserver (Was: Massive LDraw file repository) —Dan Boger
     (...) Cool idea - not sure I see why you can't use a plain Apache, with a semi-smart redirect-map... It should be fairly straightforward to implement, actually - two MySQL tables (one for dirs/language translation, one for file/language), and a (...) (18 years ago, 4-Jan-06, to lugnet.off-topic.geek)
    
         Re: Multilingual webserver —Jacob Sparre Andersen
     (...) I think it would at least require an external rewriting program just to handle the mapping of the accepted and available language to a selected language. And I can't see how you can avoid infinite loops using the Apache rewritemap directive. (...) (18 years ago, 7-Jan-06, to lugnet.off-topic.geek)
    
         Re: Multilingual webserver —Dan Boger
     (...) Yes, you use an external script for the mapping... But it is a fairly simple perl script. And the infinite loops are avoided by having the actual URLs be off a separate tree - /lego/dat/model.dat could be rewritten as (...) (18 years ago, 7-Jan-06, to lugnet.off-topic.geek)
    
         Re: Multilingual webserver —Jacob Sparre Andersen
     (...) But what would I then do if somebody made links to /real-files? (...) But Apache is still written in C. I have already written my own special-purpose web-servers a few times, so it is not something I haven't tried before. And I trust my own (...) (18 years ago, 9-Jan-06, to lugnet.off-topic.geek)
    
         Re: Multilingual webserver —Dan Boger
     (...) Well, first of all no one would ever see /real-files in any url or location bar, so they wouldn't know to link to it. And anyway it is easy to set up access such that direct requests to that URI would be denied - accept only 'subrequests', as (...) (18 years ago, 9-Jan-06, to lugnet.off-topic.geek)
    
         Re: Multilingual webserver —Jacob Sparre Andersen
     (...) But my point is that people should _see_ a URL in the same language as the page. Hiding it inside Apache would be no fun. Play well, Jacob (18 years ago, 9-Jan-06, to lugnet.off-topic.geek)
    
         Re: Multilingual webserver —Dan Boger
     (...) Right - the subrequests aren't visible to the user, so they would never see the /real-files - only the URI in their local language. I guess the first check the mapper would have to do is compare the URI with the desired language, and if they (...) (18 years ago, 9-Jan-06, to lugnet.off-topic.geek)
   
        Re: Massive LDraw file repository —Jan Folkersma
     I always thought of the MLDFR to look something like this: (URL) (click on the models!) The pictures of the models are clickable and link directly to the Ldraw files. This is merely a small test. We could make all catalogues clickable. If we'd get (...) (18 years ago, 9-Jan-06, to lugnet.cad, FTX)
   
        Re: Massive LDraw file repository —James Reynolds
   Ok, I'm going to try this again. :) I've learned a few things since my first post. I'm moving this to lugnet.cad.dev BTW. First of all, I know there is interest to in a Massive Ldraw file repository as I have gotten many private emails about the (...) (18 years ago, 10-Jan-06, to lugnet.cad.dev)
   
        Re: Massive LDraw file repository —James Reynolds
   And one more comment. It would be cool to have some automation for site owners as well. For example, Jacob wrote a script that auto-generates descriptions of the files on his site. All he does is move a file to his web folder, and a script runs (...) (18 years ago, 10-Jan-06, to lugnet.cad.dev)
   
        Re: Massive LDraw file repository —Jacob Sparre Andersen
   (...) I'm very lazy. ;) Any interest in a copy of the program that generates my overview file? (...) Definitely. Maybe we should take a few moments to think about how to announce the available LDraw files on a web site? Is the NNTP/SMTP header (...) (18 years ago, 10-Jan-06, to lugnet.cad.dev)
   
        Re: Massive LDraw file repository —Dan Boger
   (...) Using email for the transport here is just adding comlication - why not just have a web API that the remote repos use to notify of updates? Could be a fancy SOAP/REST interface, or a simple POST form. It's not hard to parse email, but it's (...) (18 years ago, 10-Jan-06, to lugnet.cad.dev)
   
        Re: Massive LDraw file repository —Jacob Sparre Andersen
   (...) I find it easier to make a script dump an e-mail with some text in a mailbox than to hack a HTTP POST form. I might not care to implement such an announcement feature in my script, if it was too much work to do. Sending e-mail and posting to (...) (18 years ago, 10-Jan-06, to lugnet.cad.dev)
   
        Re: Massive LDraw file repository —Dan Boger
   (...) I think HTTP is more reliable in unknown environments... From the server side, the HTTP method might be more complex, but keeping the complexity on the server side is better than making complex clients. (...) Right - the clients pushing data (...) (18 years ago, 10-Jan-06, to lugnet.cad.dev)
   
        Re: Massive LDraw file repository —James Reynolds
   (...) I use HTTP POST to have my work computers talk to databases and it seems very unreliable because if there is a network problem, the request dies then and there. But if I use email, the server will keep retrying. But I agree, HTTP POST is easy (...) (18 years ago, 11-Jan-06, to lugnet.cad.dev)
   
        Re: Massive LDraw file repository —Dan Boger
   (...) You can, of course, support both. The reason I say SMTP is less reliable on the client side is because you can't know if they even have an mail program, much less what it is or how it works. In an environment you're controlling (like work) (...) (18 years ago, 11-Jan-06, to lugnet.cad.dev)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR