...

Aug. 20th, 2002 03:50 pm
lnr: Halloween 2023 (Default)
[personal profile] lnr
...

Date: 2002-08-20 07:59 am (UTC)
From: [identity profile] simonb.livejournal.com
I could always give you the new version of the weight chart thing to play with :)

Although its suffering from a case of feeping creaturism right now as otherwise I'd be going out of my here at work :)

Date: 2002-08-20 08:32 am (UTC)
From: [identity profile] simonb.livejournal.com
Feeping for preference ?

I should be able to make the input in stone rather than in kg, although I'd probably have to make the value in the input file just stones, ie 10.5 for 10½ stone. I'm not sure how useful this would be...

<ponder> actually I should be able to support lb and a "st lb" format. It'll just take a little bit of thinking.... :)

I'll look into turning off the black lines on the right and top edges - that is more if gnuplot can do it.

LJ::Simple can indeed post to the slimmingworld community rather than your own journal. I've already coded that bit up :)

See the main LJ::Simple page (http://www.bpfh.net/computing/software/LJ%3a%3aSimple/) and the LJ::Simple manual page (http://www.bpfh.net/computing/software/LJ%3a%3aSimple/Simple.pm.htm) for that LJ::Simple can do.

Date: 2002-08-20 08:52 am (UTC)
From: [identity profile] simonb.livejournal.com
I worked out the "feeping" reference about 2 minutes after I posted my comment when my brain woke up :)

I'm guessing that your spreadsheet has three columns for date, stone and lb ?

For day-to-day usage I'll carry on using the web interface. However for automated stuff like the "weekly weigh in" it made sense to automate the LJ posting :)

As for perl modules being OOPy.... it does make some sense as it means that you don't have to type lots of LJ::Simple::NewEntry(\%Event) or you don't have to worry about namespace pollution if you make NewEntry a part of the main namespace of your program.

The OOP system gets around part of this as whilst you have to do things like $lj = new LJ::Simple(...) you only have to refer to LJ::Simple once. After that it is just $lj->method() to call stuff within the object.

If I'm writing modules for inclusion in my own code which will not be used outside of that code I'll normally make them export their namespace so that I can use their functions directly.

However if I'm releasing the module it makes sense to avoid namespace collisions by using OOP stuff. Especially for things like this where you have a login which occurs once and then stuff done to that login value.

Date: 2002-08-20 09:19 am (UTC)
From: [identity profile] simonb.livejournal.com
I've just been playing with gnuplot and it appears that it will not let you remove just the black lines around the right and top edges of the graph. All of the black lines (except for the tic marks), yes.

Not what I'd call very useful *sigh*

Date: 2002-08-20 08:03 am (UTC)
From: [identity profile] kaet.livejournal.com
Three peas on a hike? :)

Date: 2002-08-20 08:34 am (UTC)
From: [identity profile] simonb.livejournal.com
*laugh*

You have to have an event in a journal entry... you see the LJ protocol is a little broken around deleting a journal entry. To delete a journal entry you set the event to be an empty string when you use the editevent mode.

Personally I'd say that they were ant footsteps :)

November 2025

S M T W T F S
      1
2345678
9101112131415
16171819 202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 31st, 2025 12:53 am
Powered by Dreamwidth Studios