Puppy 4.2 Deep Thought Development

Message
Author
polymath
Posts: 119
Joined: Thu 21 Aug 2008, 15:38

#201 Post by polymath »

One quick question. I want to contribute to puppy, but i have no idea how (plus my hands are full with develpup right now). I'm a pretty good programmer, but have only done console applications using standard libs (no sys/linux.h for me yet) and haven't done much work with pretty much any third party library (the only non-stdlib project i have is my hobby OS, written from scratch in C++). I'm not fluent in any language except english, so i can't translate, and there isn't really much i know i can do.

I haven't worked with much of puppy's underlying mechanics, but i know some simple stuff. If someone could help me descern what to help with, that'd be great

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#202 Post by ttuuxxx »

polymath wrote:One quick question. I want to contribute to puppy, but i have no idea how (plus my hands are full with develpup right now). I'm a pretty good programmer, but have only done console applications using standard libs (no sys/linux.h for me yet) and haven't done much work with pretty much any third party library (the only non-stdlib project i have is my hobby OS, written from scratch in C++). I'm not fluent in any language except english, so i can't translate, and there isn't really much i know i can do.

I haven't worked with much of puppy's underlying mechanics, but i know some simple stuff. If someone could help me descern what to help with, that'd be great
Can you write GUI or front ends to applications? If so you could take my VLC package and make a gtk or C front end to it, right now its around 7.8 MB pet and thats really small for VLC, but if someone would make a gtk gui for it, I could remove the wxgtk libs and it would be around 4MB maybe even a bit less, There is full documentation on running VLC via command line, So with that in mind it could be somewhat a simple but long task for anyone who is GUI savvy.
It wouldn't have to full featured, but some features.
Well its an idea, and if VLC was that small it could replace Gxine.
Thanks for reading
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#203 Post by Pizzasgood »

I don't really have any suggestions, because when I think of something I need, I generally just do it myself.

I guess what you could do is start a thread explaining what you know, what you're willing to learn as you go, and requesting suggestions for things people need that fit those parameters. Show some examples of what you've already done, to help inspire people.

If you want to better understand Puppy, the first thing to do is learn about shell scripting with BASH. Shell scripts form the glue that holds Puppy together, and are extremely useful in the *nix world. Also useful is the how-puppy-works page, though it's slightly dated. The basic structure hasn't changed though.
http://www.puppylinux.com/development/h ... works.html
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#204 Post by WhoDo »

polymath wrote:One quick question. I want to contribute to puppy, but i have no idea how ...[snip]... If someone could help me descern what to help with, that'd be great
Extra hands are always welcome on the dev team. I second PG's suggestion; start with BASH. :idea:

I also second ttuuxxx's suggestion; when BASH bores you, play with tcl/tk, gnocl, puppybasic, glade, etc. :P

The really BIG thing we need right now (it will change of course) is anything that makes life easier for newbies and refugees. Recent classic examples include RoxRightClicks from Hairywill, Pwidgets from Zigbert/trio/01micko and company, gpicview with slideshow also from HairyWill, ttuuxxx's Icewm and Seamonkey rebuilds, etc. I'd better stop there or it will look like a complete list that leaves someone important out and I wouldn't want to do that. :wink:

Oh and keep enjoying Develpup, too! 8)
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#205 Post by Béèm »

WhoDo wrote:The really BIG thing we need right now (it will change of course) is anything that makes life easier for newbies and refugees. Recent classic examples include RoxRightClicks from Hairywill, Pwidgets from Zigbert/trio/01micko and company, gpicview with slideshow also from HairyWill, ttuuxxx's Icewm and Seamonkey rebuilds, etc. I'd better stop there or it will look like a complete list that leaves someone important out and I wouldn't want to do that. :wink:
I can really agree with this.
Trying to respond in beginners and users as much as I can I feel there is a lack of intuitive configurability for Puppy.

Hope to see some development in the near future for this aspect.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

polymath
Posts: 119
Joined: Thu 21 Aug 2008, 15:38

#206 Post by polymath »

well... i've done some shell scripting before, hacked my createpuppy script for develpup (pretty simply), and i've also tweaked fixPuppyPin to use for my own purposes on PLDE. I still don't get sed, though.

As for programming skills i've only programed c++ for about a year but am progressing quickly. If anyone wants as an example i can post the code for my hobby OS kernel (though that doesn't seem nessecary on a linux forum), but most of the stuff i've done is helping people on the dreamincode.net forums and my puplet(s- if you count PLDE as a puplet in its own right).

I'd like to work with GUIs but haven't found a "goal" that seems like it matters... i only have experience in console apps right now. Puppybasic looks interesting, i'll have to look into that.

Basically: I'm not a real newbie, but i'm not a guru either. i'm somewhere stuck in that intermediate phase. if anyone wants me to do something for puppy, i'd be willing to do what i can :)

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#207 Post by WhoDo »

polymath wrote:if anyone wants me to do something for puppy, i'd be willing to do what i can :)
How about creating a Puppy Control Panel? Build the GUI (dvw86 started but didn't finish), make use of as many inbuilt features, scripts, wizards as possible and then add what's missing. The Wizard wizard is a good start but nowhere near complete. Now THERE'S a project for you, polymath! :P
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#208 Post by droope »

HI there. Will localization be taken into account for adding to 4.12? No weight issues involved, since there a few extra kb (10, if that many) for every script.

Sorry to be so histerical, but that's who I am, can't help it. :P

Cheers,
droope

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#209 Post by Pizzasgood »

Technically, I think the term you mean is internationalization (or i18n for short) - the process of making something localizable. Localization is the process of adjusting it to work with a given locale (adding the translations, for example).

I only bring this up because yesterday I thought I'd look up how to make my C/C++ programs internationalized, but was searching under the wrong term. It took quite a long while and much cursing to figure out why I couldn't find anything worth knowing. I was getting ready to just say forget it, drop all text from the program, and replace them with images, and maybe tool-tips with cartoonish text-less explanations.

Maybe I'll still do that in the end (superior method, IMHO, as works also for illiterates), but I need to learn i18n anyways.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#210 Post by ttuuxxx »

Pizzasgood wrote:Technically, I think the term you mean is internationalization (or i18n for short) - the process of making something localizable. Localization is the process of adjusting it to work with a given locale (adding the translations, for example).

I only bring this up because yesterday I thought I'd look up how to make my C/C++ programs internationalized, but was searching under the wrong term. It took quite a long while and much cursing to figure out why I couldn't find anything worth knowing. I was getting ready to just say forget it, drop all text from the program, and replace them with images, and maybe tool-tips with cartoonish text-less explanations.

Maybe I'll still do that in the end (superior method, IMHO, as works also for illiterates), but I need to learn i18n anyways.
yes that method works, probably the best learning method,, I learn better from examples than reading. But image sizes can be the downfall, plain flat, 8 colours or less without transparent backgrounds is usually the best rule of thumb. Thats why I fail at making such documents, I really like the flashy bling look. :wink:
Its almost getting to the point where we would almost have 2 types of puppy, strict English and Internationalised. All depends on the size I guess, but with the latest model being so close to the 100MB limit. We would almost need a separate department just for for it. Language support files in some programs are almost the size the program, Gimp is one, you removed the language files and save about 5MB compressed. Would i18n cover these files or do you need them also?
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#211 Post by Pizzasgood »

The idea is to just set up everything in Puppy so that it looks for and will use the translations if they exist. The default ISO could still be shipped with just the English translations to save on size, but because it would be internationalized, people could download language packs for it, change their LANG variable, and then continue running their newly localized copy of Perrito Linux.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#212 Post by ttuuxxx »

Pizzasgood wrote:The idea is to just set up everything in Puppy so that it looks for and will use the translations if they exist. The default ISO could still be shipped with just the English translations to save on size, but because it would be internationalized, people could download language packs for it, change their LANG variable, and then continue running their newly localized copy of Perrito Linux.
How would that work?, Like when I compile a program I would have to make a locales folder and submit it to someone handling the 'internationalism' Shem <--She/him lol would then rip it apart add each locale file to their corresponding language folder then repackage it for release?
Plus probably the network manager should auto-open after boot with a flag screen where you select the flag on the list then it translates the networkmanger dialog to what ever language, the user sets up their account, then when its finished, If it used any other language other than English It would ask, Would you like to convert this Operating system to your locale language of '@@@@@@', if the user clicks yes, then it downloads which ever flag was chosen support, Then installs and restarts X--server.
what that be what your thinking??
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#213 Post by Pizzasgood »

I'm not sure what the best way to do it for Puppy overall, as a system, would be. Being a native English speaker I've never had much reason to think about it. I suppose the thing to do would be to just go see how the other distros handle it, then see whether that model would be a good method for Puppy.

I'm not really thinking much about it now either. Not yet. A fully internationalized Puppy is on my list - next, in fact, right after seeing Puppy moved into a revision management deal, which is the current top item. (Will have more to say about that soon, maybe by the weekend). But for now I'm not really thinking about it much. I've been too swamped to operate on anything but a now-and-tomorrow basis.

At least I smell like solder again, for the first time in six months. And this time around I didn't make my fingers sizzle. (Not that doing so is a common thing for me or anything. It's just an occasional result of having been born with a severe defect that sometimes gets in my way: I have only two hands.)
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#214 Post by ttuuxxx »

[quote="Pizzasgood"][/quote]
I was wonder as images goes there is a website called http://www.openclipart.org/
Basically all the images are free to the public eg. 'Public Domain according to the statement by the Creative Commons'
most of the images aren't complex colours either and you can download a daily snapshot of all the images(which hasn't been updated since 2005, Slackers :) in 1 very large tar.gz around 121MB which probably would be enough images to make any sort of how to.
here's one below and the latests 121MB tar.gz release of 6900 images
http://openclipart.org/downloads/0.18/o ... ull.tar.gz
ttuuxxx
Attachments
rg1024_Barack_Obama_1.png
(37.25 KiB) Downloaded 1475 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#215 Post by droope »

Pizzasgood wrote:Technically, I think the term you mean is internationalization (or i18n for short) - the process of making something localizable. Localization is the process of adjusting it to work with a given locale (adding the translations, for example).

I only bring this up because yesterday I thought I'd look up how to make my C/C++ programs internationalized, but was searching under the wrong term. It took quite a long while and much cursing to figure out why I couldn't find anything worth knowing. I was getting ready to just say forget it, drop all text from the program, and replace them with images, and maybe tool-tips with cartoonish text-less explanations.

Maybe I'll still do that in the end (superior method, IMHO, as works also for illiterates), but I need to learn i18n anyways.
Ah, I knew the word was wrong, but didn't know how wrong it was.


Will someone please tell me that te scripts will be placed inside 4.2? There has been a lot of teamwork done between esmorguit and me (mostly esmorguit, since i messed everything up) and i think it wouldn't be fair that the 4.2 launches without the scripts...

User avatar
droope
Posts: 801
Joined: Fri 01 Aug 2008, 00:17
Location: Uruguay, Mercedes

#216 Post by droope »

ttuuxxx wrote:
Pizzasgood wrote:The idea is to just set up everything in Puppy so that it looks for and will use the translations if they exist. The default ISO could still be shipped with just the English translations to save on size, but because it would be internationalized, people could download language packs for it, change their LANG variable, and then continue running their newly localized copy of Perrito Linux.
How would that work?, Like when I compile a program I would have to make a locales folder and submit it to someone handling the 'internationalism' Shem <--She/him lol would then rip it apart add each locale file to their corresponding language folder then repackage it for release?
Plus probably the network manager should auto-open after boot with a flag screen where you select the flag on the list then it translates the networkmanger dialog to what ever language, the user sets up their account, then when its finished, If it used any other language other than English It would ask, Would you like to convert this Operating system to your locale language of '@@@@@@', if the user clicks yes, then it downloads which ever flag was chosen support, Then installs and restarts X--server.
what that be what your thinking??
ttuuxxx
It would be complicated, because if the network manager isn't run, the user wouldn't have a conection to download the packages :P

My idea would be to just have the english mo to save size for now. Step by step. If you would like, there is the possibility of letting the people know that translations exist.

Cheers
Droope

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#217 Post by WhoDo »

droope wrote:Will someone please tell me that te scripts will be placed inside 4.2?
First question ... which scripts? Second question ... where are they? :?

I spend a lot of time ploughing through the relevant threads looking for things that need to be included, but inevitably I miss some things. Then there are the "mountains" of PM's offering updates, suggestions, questions, etc. I'm not retired like Barry and so I have far fewer hours in my Puppy day to attend to these things.

If you want anything included you'll need to ensure I know exactly what it is, where it is and what it does ... and that's not just for your contributions but ALL contributions. :wink:
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#218 Post by amigo »

It looks to me like you should include the localizations for the basic setup programs at least.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

Where have requests for inclusions/enhancements to be made?

#219 Post by Béèm »

Is there another thread opened for this?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#220 Post by Aitch »

droope/anyone else interested

I found a i18n version/patch for Dillo

http://www.freshports.org/www/dillo-i18n/

HTH

Aitch :)

Post Reply