Control de usuario
Patrocinadores
Estadísticas
Miembros:
325.623
Online:
1.753
Hilos:
1.351.641
Mensajes:
23.929.522
Stats

Índice de foros PC Software libre

[PROYECTO] LinDriver. Recopilación de drivers para GNU/Linux

Descubre todo el poder del software libre: Linux, OpenOffice, GNU...

Moderadores: metalgear, coyote

capitanquartz
Avatar de usuario
>$ sudo rm -rf /
 
Mensajes: 4510
Registrado: 06 Jul 2007
Ubicación: /dev/null

Mensajepor capitanquartz 09 Abr 2009 20:32

Sí, las fiestas... :-| :-| :-| Mucho ruido, es difícil trabajar. Soy ateo por cierto xD

PD: Me voy con los colegas esta noche... así que yo tampoco estaré :P

PD2: Ya he resueltos unos problemas que tenía con Django. Espero poder tener algo pronto... pero, los del hosting aún no me han contestado... :( ¿estarán de vacaciones?

jajavimo
Avatar de usuario
Adicto
 
Mensajes: 426
Registrado: 12 Oct 2005

Mensajepor jajavimo 09 Abr 2009 21:32

A mi tampoco me gusta la semana santa, pero nunca se le dice que no a un dia de fiesta XD

Al final me he puesto y he traducido el esquema de la base de datos:

Código: Seleccionar todo
    # -*- coding: utf-8 -*-
    from django.db import models

    class component(models.Model):
       # Name of the component type in Spanish. For example, "tarjeta gráfica"
       es = models.CharField(max_length=70)
       # Name of the component type in English. For example, "graphic card"
            en = models.CharField(max_length=70)
       # A description of the component type in Spanish.
       description_es = models.CharField(max_length=250)
       # A description of the component type in English.
       description_en = models.CharField(max_length=250)
       # A list of paths to images
       images = models.ManyToManyField(image)
       
    class hardware(models.Model):
       # Component ID (father). It's a entire number. For example, if it's conceptronic C54RU (a wireless USB card) it will have the "tarjeta inalámbrica" ID of the component table.
       component = models.IntegerField()
       # The brand. For example, Conceptronic.
       mark = models.CharField(max_length=100)
       # The model. In this case, C54RU, but it can be longer.
       model = models.CharField(max_length=100)
       # There may be variants of the same model and brand, even the same chip. Here it is specified.
       variant = models.CharField(max_length=50)
       # The chip, in this case, rt73 (ralink).
       chip = models.CharField(max_length=50)
       # Lsusb output, the lspci of this hardware.
       lsx = models.CharField(max_length=200)
       # A hardware description in Spanish.
       description_es = models.CharField(max_length=250)
       # A hardware description in English.
       description_en = models.CharField(max_length=250)
       # A list of paths to images
       images = models.ManyToManyField(image)
       # Boolean True or False. True specifies that the data row is that users should see when they refer to this component. For example, there may be a first row that refers a component called "conceptronc C54Ru" (without "i"), but after, another user sends a correction with the name "conceptronic C54Ru" (with "i"). A moderator accepts the correction and the first version is no longer published (the version that users see) to go to see the corrected version.
       published = models.BooleanField()
       # A entire number that refers an ID or a Null. In the previous case, the first version had a Null so it isn't based on any component (it is the first version) but the correction is the first version's son so it is based on the first one. In this case, tha asset is la its father's row ID.
       father = models.IntegerField()
       # A entire number. Following the same example, there is a third version based on the second one (it isn't based on the first version). In this case, "father" is the second version's ID id, but in all versions remains the first version's id, the original, and it's called "first_father". In this way all the comments and solutions will always link to the component regardless of the version which  is.
       first_father = models.IntegerField()
       # Hardware valuation (0-4), Being already calculated the valuation.
       stars = models.FloatField(max_digits=4, decimal_places=3)
       # Current votes in the hardware valuation.
       stars_votes = models.IntegerField()
       # A entire number. The user ID who sends this information row.
       user = models.IntegerField()
       # Date when the row was sended.
       date = models.DateField(auto_now)
       
    class solution(models.Model):
       ####### You musn't get confused between "solution" and "page". Th table "solution" has information about a possible procedure to make to work a certain hardware. For example, for our Conceptronic C54RU whith rt73 chip we can use the drivers of Serialmonkey, ndiswrapper or he official drivers of ralink (privative). A page will be the explication about use a method in a language, for an architecture and a distribution. For example, there may be a página en español explicando como usar los drivers de serialmonkey para x86 en la distro Debian, otra página en inglés para como usar los drivers de serialmonkey for x86 in Debian, another page in Spanish with ndiswrapper for x86_64 in Gentoo...
       # A entire number. It is the ID of the "first_father" of the hardware's table.
       hardware = models.IntegerField()
       # Boolean True or False. It follows the same idea that the published of the hardware's table.
       published = models.BooleanField()
       # A entire number that refers an ID or Null. It follows the same idea that the "father" of the hardware's table.
       father = models.IntegerField()
       # A entire number. It follows the same idea that the "first_father" of the hardware's table.
       first_father = models.IntegerField()
       # The name of the method in Spanish.
       name_es = models.CharField(max_length=100)
       # The name of the method in English.
       name_en = models.CharField(max_length=100)
       # A description of the method in Spanish.
       description_es = models.CharField(max_length=250)
       # A description of the method in English.
       description_en = models.CharField(max_length=250)
       # Valuation (0-4) of the method, following the calculated valuation.
       stars = models.FloatField(max_digits=4, decimal_places=3)
       # Currents votes of the method's valuation.
       stars_votes = models.IntegerField()
       # A entire number. The ID of the user who sends this information.
       user = models.IntegerField()
       # Date when the row was sended.
       date = models.DateField(auto_now)
       # Boolean True or False where True refers that it's a privative driver.
       privative = models.BooleanField()
       
    class page(models.Model):
       ####### The variants of a manual that are in a the same language, for the same architecture and the same distribution or other distributions will be proposed of improvement, but if there are a variant of the same manual in other language (a translation) it won't be a improvement, rather it is made a new page that will be directly son of "solution".
       # A entire number. It is the ID of "first_father" of the solution 's table.
       solution = models.IntegerField()
       # A entire number that refers an ID or Null. It follows the same idea that the "father" of the hardware's table.
       father = models.IntegerField()
       # A entire number. It follows the same idea that the "first_father" of the hardware's table.
       first_father = models.IntegerField()
       # Boolean True or False. It follows the same idea that the published of the hardware's table.
       published = models.BooleanField()
       # Page's language. For Spanish "es" and for English "en".
       lang = models.CharField(max_length=2)
       # Distribution/s of the manual.
       distros = modelsManyToManyField(distro)
       # The architecture (if it is for all the architectures, "All") of the manual.
       architectures = models.ManyToManyField(architecture)
       # Entire number. The user Id that sends this information.
       user = models.IntegerField()
       # Date when the row was sended.
       date = models.DateField(auto_now)
       # Valuation (0-4) of the information.
       stars = models.FloatField(max_digits=4, decimal_places=3)
       # Current votes on the information's valuation.
       stars_votes = models.IntegerField()
       # The text with the steps to install the hardware (manual).
       text = models.TextField()
       
    class comment(models.Model):
       # Comment's type. It can be a comment ("comment") or a bug ("bug").
       comment_type = models.CharField(max_length=8)
       # Valuation (0-4). A comment: with 0 you don't thank the page and with the 4 you thank the page a lot. A bug: with 0 you think it isn't important and with 4 you think that it's very important.
       stars = models.IntegerField()
       # A entire number or a Null.It refers th comment or bug's ID.
       reply = models.IntegerField()
       # A entire number. The user ID that sends this information.
       user = models.IntegerField()
       # Date whe the row was sended.
       date = models.DateField(auto_now)
       # Comment or bug's title.
       title = models.CharField(max_length=40)
       # The text with the reply.
       text = models.TextField()
       
    class attached(models.Model):
       # Name of the attached.
       name = models.CharField(max_length=40)
       # Versión of the attached.
       name = models.CharField(max_length=20)
       # Name of the file on the attached's server.
       name = models.CharField(max_length=100)
       # Number of downloads.
       downloads = models.IntegerField()
       # The "first_father" of the row in the table "page" where the download should appear.
       pages = models.ManyToManyField(page)
       # The "first_father" of the row in the table "comment" where the download should appear.
       comments = models.ManyToManyField(comment)
       # A entire number. The user ID that sends this information.
       user = models.IntegerField()
       # Date when the information was sended.
       date = models.DateField(auto_now)


Traduciendo ha sido cuando realmente me he dado cuenta de lo maravilloso de este proyecto. Como salga adelante va a ser muy importante a nivel mundial, o eso espero.
Ultima edición por jajavimo el 10 Abr 2009 23:15, editado 1 vez
Imagen

hawk31
Avatar de usuario
High & Dry
 
Mensajes: 942
Registrado: 16 Jul 2007
Ubicación: Sevilla
Fotos: 3

Mensajepor hawk31 09 Abr 2009 22:25

Sigo esperando trabajo de traductor xD

PD: No me has añadido a la lista >//<. (Encima que te ayudo a tratar con los guiris...xD)
How does it feel? To be on your own, with no direction home, like a complete unknown, like a rolling stone?. - Bob Dylan
Wikileaks uncovers the truth again - Please seed
JABBER: Imagen
Mis Ordenadores :3

capitanquartz
Avatar de usuario
>$ sudo rm -rf /
 
Mensajes: 4510
Registrado: 06 Jul 2007
Ubicación: /dev/null

Mensajepor capitanquartz 09 Abr 2009 22:55

Hawk31 añadido a la lista de traductores, siento el descuido :P

Jajavimo, estoy haciendo algunos cambios técnicos en el esquema de la base de datos, pero no te preocupes, son meros cambios en las funciones, no va a cambiar nada de las lineas traducidas. Y por cierto, muchas gracias XD XD XD

Un saludo.

analca3
Avatar de usuario
Rooted
 
Mensajes: 2913
Registrado: 09 Nov 2007
Ubicación: Andalucia!!

Mensajepor analca3 09 Abr 2009 22:56

Animo con todas mis ganas este proyecto, aunque no pueda colaborar :( :( ...No se nada de programacion. Pero bueno, yo os animo desde fuera.

PD: Como sugerencia: No se si la pagina va a estar en ingles solo. Me gustaria que estuviese tambien en español, ya que asi sera mas facil comprenderlo a los que no estamos muy avanzados en el idioma...

Salu2!!!
Imagen
Asus P5Q-E
Intel Core 2 Quad Q6600 @ 3.6 Ghz!!!
2x Kingston HyperX 2 Gb DDR2 1066Mhz PC2-8500
Noctua NH-C12P ----------------------------------------------- Post+fotos del conjunto
Samsung F1 750 Gb
Nox Myth
Corsair TX650W
eVGA GTX260 216SP 55nm

Imagen

capitanquartz
Avatar de usuario
>$ sudo rm -rf /
 
Mensajes: 4510
Registrado: 06 Jul 2007
Ubicación: /dev/null

Re:

Mensajepor capitanquartz 09 Abr 2009 23:10

analca3 escribió:Animo con todas mis ganas este proyecto, aunque no pueda colaborar :( :( ...No se nada de programacion. Pero bueno, yo os animo desde fuera.

PD: Como sugerencia: No se si la pagina va a estar en ingles solo. Me gustaria que estuviese tambien en español, ya que asi sera mas facil comprenderlo a los que no estamos muy avanzados en el idioma...

Salu2!!!


Si, va a estar en español y en inglés. Es más, se va a traducir muchas cosas del español al inglés... :P (me arrepiento de no haberle dado tanta importancia al inglés desde pequeño... :( )

maeseoki
Avatar de usuario
Human being
 
Mensajes: 1400
Registrado: 22 Feb 2006
Ubicación: Paraíso Chocobo

Re: Re:

Mensajepor maeseoki 10 Abr 2009 07:15

capitanquartz escribió:
analca3 escribió:Animo con todas mis ganas este proyecto, aunque no pueda colaborar :( :( ...No se nada de programacion. Pero bueno, yo os animo desde fuera.

PD: Como sugerencia: No se si la pagina va a estar en ingles solo. Me gustaria que estuviese tambien en español, ya que asi sera mas facil comprenderlo a los que no estamos muy avanzados en el idioma...

Salu2!!!


Si, va a estar en español y en inglés. Es más, se va a traducir muchas cosas del español al inglés... :P (me arrepiento de no haberle dado tanta importancia al inglés desde pequeño... :( )



Si el proyecto tiene gran repercusión (y esperemos que así sea), seguro que será traducido a muchos mas idiomas. Por lo pronto mi hermana estudia chino xD...


Lo de aparecer en el primer mensaje es lo de menos. Colaborar es lo importante :)
Imagen

jajavimo
Avatar de usuario
Adicto
 
Mensajes: 426
Registrado: 12 Oct 2005

Mensajepor jajavimo 10 Abr 2009 13:17

A la espera de otra tarea.

Si quieres, mandame los archivos de la web y me curro algo en html con las ideas del proyecto y demas para colgarlo hasta que empieze el proyecto a funcionar.

He intentado un wget -r -k -p lindriver.com, pero no se ve bien (como ya dije, no tengo conocimientos de programación, uso programas WYSIWYG para crear/editar webs).
Imagen

K. Ichigo
Avatar de usuario
Nevermind
 
Mensajes: 2262
Registrado: 08 Ene 2007
Ubicación: Barcelona

Mensajepor K. Ichigo 10 Abr 2009 13:29

Me parece una gran iniciativa. Siento no poder ayudar por falta de tiempo.
"Mi único estímulo fue la camiseta blanca" Juan Gómez Juanito
Imagen


capitanquartz
Avatar de usuario
>$ sudo rm -rf /
 
Mensajes: 4510
Registrado: 06 Jul 2007
Ubicación: /dev/null

Mensajepor capitanquartz 10 Abr 2009 14:08

Django tiene una interfaz de administración muy sencilla y fácil de usar... con ella, los traductores podrían traducir cadenas y un poco entre todos podemos ir añadiendo cosas. El problema: Los del hosting ¬¬ no esperaba que tardasen tanto... no responden las llamadas y tampoco los emails. Es como si se hubiesen muerto...

Por lo de lo archivos del sitio web, os adjunto las pruebas que he hecho... pero no es gran cosa.
http://rapidshare.com/files/219670603/templates.7z.html
MD5: B94231943B8C5E34F4501322E6E658C0

PrevioSiguiente

Volver a Software libre

¿Quién está conectado?

Usuarios navegando por este foro: No hay usuarios registrados visitando el foro y 0 invitados