| Author |
Message |
zigbert

Joined: 29 Mar 2006 Posts: 5291 Location: Valåmoen, Norway
|
Posted: Mon 17 Jan 2011, 20:28 Post_subject:
|
|
Version 0.4
See main post
Changelog
- Fullscreen numbers at top of screen. (thanks to davids45)
- Export lap info in columns if competitor is not defined. (thanks to davids45)
- Participant has become competitor. (thanks to davids45)
- Bugfix: Make main window scale smaller than default size. (thanks to davids45)
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5291 Location: Valåmoen, Norway
|
Posted: Mon 17 Jan 2011, 20:33 Post_subject:
|
|
'Participant' has become 'competitor'. Please report other strange syntax. pTiming uses English terms that are not common to me. 'Timestamp' is marked by my spellchecker, but I let it go anyway.
Thanks for any help
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Tue 18 Jan 2011, 06:19 Post_subject:
|
|
Sigmund
As you have stated ptimer and pstopwatch are no longer supported.
Do you see this as a permanent replacement? (pTiming.. I can't see why not)
I am making the next spup soon and want to know your opinion.
Cheers, Mick
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5291 Location: Valåmoen, Norway
|
Posted: Tue 18 Jan 2011, 06:40 Post_subject:
|
|
| 01micko wrote: | | Do you see this as a permanent replacement? | YES!!!
That was the initial idea. As this idea evolved, things sorted out how to make a straightforward Stopwatch, and in the same time offer a complete timing system. I have tried to make the default window as simple as possible, so that the average user can use it as a ordinary stopwatch.
I see that this might be a niche-app, but at the same time, it will give one more reason to run Puppy. I guess there are comparable free apps out there, but I find it hard to believe that they are 14 kilobytes.
The CPU-usage compared to pStopwatch is heavily improved. When it comes to the alarm-clock in Ptimer, I really think that Pschedule would make a much better job. It might be an idea to build a alarm-clock-app that cooperated with pSchedule.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5291 Location: Valåmoen, Norway
|
Posted: Tue 18 Jan 2011, 06:47 Post_subject:
|
|
It is of course possible to use pTiming as both alarm-clock and for countdown, but the user has to understand the set-timer options, and that requires a bit of general understanding of how pTiming actually works.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
davids45

Joined: 26 Nov 2006 Posts: 581 Location: Chatswood, NSW
|
Posted: Tue 18 Jan 2011, 19:59 Post_subject:
|
|
G'day zigbert,
Just trying v0.4. A short first report.
Strangely, I hear some hard-drive noise (a seeking rattle?) in between each second when pTiming is running. This starts immediately pTiming opens. I hadn't noticed this noise before and will check if I hear this on v0.3. I'll see if there's a difference between a Full & Frugal Puppy as well for v0.4 - I am hearing this drive noise with my first v0.4 try on a Full Pup (Kinda Lucid 006).
Edit: Other Pups did not have the hard-drive noise so it was just a anomaly in my klp006 install.
When I display both the Full Screen and Main box display together (big time on top half, details box on lower half), there is a slight lag in the big display. The beeps coincide with the details box time nicely.
The export data list for the '0' (unspecified) finishes looks OK for my wish to have a simple finish timer clock set-up of pTiming. As long as I know who finished in number order, names etc can be added to the exported times listing afterwards.
Thanks,
David S.
Edited_time_total
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2524 Location: Ontario
|
Posted: Tue 18 Jan 2011, 20:06 Post_subject:
full screen |
|
| Zigbert wrote: | In line 135 of /usr/local/ptiming you'll find
Code:
Mono bold '$((HEIGHT/3))'" |
Dividing by 5 worked nicely with my 1440 x 900 screen
________________________________________
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5291 Location: Valåmoen, Norway
|
Posted: Wed 19 Jan 2011, 12:59 Post_subject:
Re: full screen |
|
| don570 wrote: | | Zigbert wrote: | In line 135 of /usr/local/ptiming you'll find
Code:
Mono bold '$((HEIGHT/3))'" | Dividing by 5 worked nicely with my 1440 x 900 screen | Please test the latest version. I think this should handle both 4:3 and 16:9 screens. - I haveonly tested on widescreen.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2524 Location: Ontario
|
Posted: Wed 19 Jan 2011, 17:49 Post_subject:
version.4 |
|
Version .4 of ptiming centers the full screen mode perfectly.
|
|
Back to top
|
|
 |
john biles

Joined: 17 Sep 2006 Posts: 1331 Location: Australia
|
Posted: Wed 19 Jan 2011, 18:23 Post_subject:
|
|
Hello zigbert,
I'm testing your wonderful app in Legacy for inclusion in version 2 coming soon. It installs fine but when I add competitors they don't appear in the list and when i try to add them again ptiming claims they've already been entered? If I export to gnumeric they appear in the spreadsheet. I'm assuming its most likely got something to do with Legacy's version of gtkdialog?
attached image after I've added 2 competitors? I tried shuffling the list but made no difference.
| Description |
|
| Filesize |
20.76 KB |
| Viewed |
907 Time(s) |

|
_________________ Legacy OS 2 Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy.
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's 
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5291 Location: Valåmoen, Norway
|
Posted: Wed 19 Jan 2011, 19:59 Post_subject:
|
|
hello John
If pTiming is working perfect else of this specific bug, I need some terminal output, but the reason could be that you miss 'tac' in Legacy OS. I thought it was standard in Puppy....... it might have arrived later than your fork.
It is a tool to output content of file in reverse order. Could it be done another easy way?
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6196 Location: Auckland, New Zealand
|
Posted: Wed 19 Jan 2011, 23:36 Post_subject:
|
|
Hi Sigmund,
It needs some more calculations
If I boot Puppy with pfix=ram and install Ptiming it works fine.
If I then go to 'Menu-Desktop-Set Global Font Size', change the setting and restart X, when I run Ptiming the timer display is the wrong size. See the attached screenshots.
(N.B. pStopwatch had the same problem... IIRC this was one of the problems that I reported but I couldn't figure out what the cause was)
You can get the dpi setting with | Code: | | cat /root/.Xresources | grep "^Xft\\.dpi:" | tr '\t' ' ' | tr -s ' ' | cut -f 2 -d ' ' |
Mine is 87. The default is 78, so it seems to work in the normal window if I multipy the numbers in this code by 78÷87
| Code: | style "monoBig" { font_name="Mono bold 52" base[NORMAL]="'$COLOR1'" text[NORMAL]="'$COLOR2'" }
widget "*timer" style "monoBig"
style "dejaColor" { font_name="Dejavu 16" base[NORMAL]="'$COLOR1'" text[NORMAL]="'$COLOR3'" }
widget "*edit" style "dejaColor"
style "dejaBig" { font_name="Dejavu 40" base[NORMAL]="'$COLOR1'" text[NORMAL]="'$COLOR3'"}
widget "*nr" style "dejaBig" |
It is still wrong when I switch to fullscreen, but I haven't looked at the code for fullscreen enough to figure out how it works.
| Description |
|
| Filesize |
41.17 KB |
| Viewed |
845 Time(s) |

|
| Description |
|
| Filesize |
8.06 KB |
| Viewed |
848 Time(s) |

|
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6196 Location: Auckland, New Zealand
|
Posted: Thu 20 Jan 2011, 00:02 Post_subject:
|
|
| disciple wrote: | You can get the dpi setting with | Code: | | cat /root/.Xresources | grep "^Xft\\.dpi:" | tr '\t' ' ' | tr -s ' ' | cut -f 2 -d ' ' |
|
Actually, this is probably a more robust way to get it:
| Code: | | xrdb -query | grep dpi |
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
john biles

Joined: 17 Sep 2006 Posts: 1331 Location: Australia
|
Posted: Thu 20 Jan 2011, 06:44 Post_subject:
|
|
Hello zigbert,
Missing "tac" looked thought ibiblio.org and couldn't find it. Did some more searching and discovered it's a terminal command. Your right! enter ./tac -h and command not recognized! Looks like this app won't be in Legacy OS 2 shame that!
_________________ Legacy OS 2 Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy.
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's 
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6196 Location: Auckland, New Zealand
|
Posted: Thu 20 Jan 2011, 11:31 Post_subject:
|
|
Tac is tiny. Pinch it from somewhere if you can't be bothered tracking down the source. I'm pretty sure I did that on my machines
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
|