?

Log in

No account? Create an account
The client works, dammit! - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

The client works, dammit! [Jun. 11th, 2002|02:30 am]
LiveJournal Client Discussions
lj_clients
[cyberlizard]
[mood |relieved]
[music |(in my head) DSound, Spice of Life]

As of today, the LJPOST client works without any major incidents. The whole code is pretty okay, but I'll have to work things out a bit. The bloody thing is leaking memory somewhere, and I have to plug things up. Gah. Damned C string management. (Oh yeah, C doesn't have real string management.)

I was planning to add a real scripting engine, but I've decided to go small for now. I'm working on a small language that'll allow me to use the client for basic batch processing. I was going to embed Python into it, but I realized that it would be better to just create a separate LJ extension for Python in the first place. Then I thought I'd use the ActiveX scripting engine (as per mart's suggestion). Hmm... will work on it.

linkReply

Comments:
[User Picture]From: xb95
2002-06-10 08:39 am (UTC)
Congratulations! Always great to hear of more clients to try and stea^H^H^H^Hborrow ideas from. ;)
(Reply) (Thread)
From: cyberlizard
2002-06-10 01:14 pm (UTC)

Hehehehe :)

Anyway, if you happen to like the idea you could implement it. Maybe we can work on some LJ client scripting language, noh? Make it generic, cross-client, cross-platform? Maybe? :)

(Reply) (Parent) (Thread)
[User Picture]From: xb95
2002-06-10 01:58 pm (UTC)
What language are you writing yours in again? If you say something other than Windows, then yes, I think it'd be a great idea. I've looked into using Python within LochJournal before, I just never read much up on it. I'd be interested, yes.
(Reply) (Parent) (Thread)
[User Picture]From: xb95
2002-06-10 02:01 pm (UTC)
Ahh I see you said you're writing yours in Win32. Damn. Cross-platform would rock, but, well, I don't develop for anything except Windows. (Well, in GUI. I do lots of Perl and C/C++ under Linux.)
(Reply) (Parent) (Thread)
From: cyberlizard
2002-06-10 04:53 pm (UTC)

I'm writing it completely in C, and compiling it on MinGW GCC (not Microsoft Visual C++). So, if it'll compile safely in GCC, then I assume it'll compile anywhere.

It'll be fairly easy to port it anywhere. The only Win32 code I really use is the WinSock interface, and only to initialize the library. No Win32 API calls, no external DLLs needed.

(Reply) (Parent) (Thread)
[User Picture]From: spacemummy
2002-06-18 06:53 pm (UTC)
I second the python idea. I already use urllib to grab my journal. It is very easy, very friendly. Much fun with strings. I wanted to make a feature that would tell you what music your friends were listening to. Not sure where to start with this.
(Reply) (Thread)