Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 23 Sep 2014, 00:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
pTiming 1.0.3-1 - Event timer system
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 4 [53 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5728
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5728
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: 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

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5728
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5728
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
davids45


Joined: 26 Nov 2006
Posts: 648
Location: Chatswood, NSW

PostPosted: 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.

Last edited by davids45 on Wed 19 Jan 2011, 19:36; edited 1 time in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3292
Location: Ontario

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5728
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3292
Location: Ontario

PostPosted: Wed 19 Jan 2011, 17:49    Post subject: version.4  

Version .4 of ptiming centers the full screen mode perfectly.
Back to top
View user's profile Send private message 
john biles


Joined: 17 Sep 2006
Posts: 1408
Location: Australia

PostPosted: 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.
ptiming.png
 Description   
 Filesize   20.76 KB
 Viewed   1015 Time(s)

ptiming.png


_________________
Legacy OS 2.1 LTS Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy. Razz
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's Very Happy
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5728
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Wed 19 Jan 2011, 23:36    Post subject:  

Hi Sigmund,
It needs some more calculations Wink

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.
screenie1.png
 Description   
 Filesize   41.17 KB
 Viewed   1059 Time(s)

screenie1.png

screenie.png
 Description   
 Filesize   8.06 KB
 Viewed   983 Time(s)

screenie.png


_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: 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
View user's profile Send private message 
john biles


Joined: 17 Sep 2006
Posts: 1408
Location: Australia

PostPosted: 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.1 LTS Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy. Razz
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's Very Happy
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: 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 Smile
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 4 [53 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0968s ][ Queries: 13 (0.0123s) ][ GZIP on ]