r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Graham
15-Apr-2007
[1420]
Looks like my system clock was slightly fast by a few seconds.  When 
I reset the time using my script with nist.gov clock, the imap server 
saw that that the time went back by 10 seconds, and so decided to 
shut it self down to avoid causing problems!
Anton
16-Apr-2007
[1421x2]
Gabriele, I've just been going through
http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions


and I'm attracted to distros that aren't too far from a root distro, 
eg. Ututo based on Gentoo, or Ubuntu based on Debian. Also, I've 
tried Slackware on some older machines recently and it has spawned 
several distros, so Slackware might be good. I want to do audio work 
so I'll be looking for a kernel compiled for low-latency audio.
How's your search going ?
Kaj
16-Apr-2007
[1423x3]
This is a good distro for audio work:
http://www.dynebolic.org
Its creator is an old Amigan. :-) His parents even had an Amiga shop 
in Italy
Maxim
16-Apr-2007
[1426]
pretty cool claims on the home page... k5 and 64mb minimum HW, no 
install, etc.
Kaj
16-Apr-2007
[1427]
It's true. It is a distro from scratch with several unique features, 
and it has been going for a number of years
Anton
16-Apr-2007
[1428x2]
:) I've already briefly tried Dynebolic (or was it Pure:dyne ?)
Kaj, have you used it for anything ?
Kaj
16-Apr-2007
[1430x2]
Not really, but it's one of the systems I've been following for years
I've spoken with the creator several times, since he now lives in 
Amsterdam
Anton
16-Apr-2007
[1432]
How is Syllable going, by the way ? It must be nearly time for my 
yearly attempt to install Syllable. (I have a new machine to install 
it on.)
Kaj
16-Apr-2007
[1433]
For example, it's the fastest starting of all available distros
Anton
16-Apr-2007
[1434]
That is a good feature. :)
Kaj
16-Apr-2007
[1435]
Not as fast as Syllable, of course. :-) Syllable is doing fine, but 
you still have about a fifty-fifty chance to get it to work. You 
may want to try the live CD first. If the install CD doesn't work, 
you can try the weekly build, which has additional fixes]
Maxim
16-Apr-2007
[1436]
hardware support issues?
Kaj
16-Apr-2007
[1437x2]
Yes, it's an enormous amount of work to get everything to work
But we're progressing
Maxim
16-Apr-2007
[1439]
so when are you compiling it for Apple machines   ;-)
Kaj
16-Apr-2007
[1440]
It should almost work as-is on Intel Macs. Just that as far as I 
know, the boot loader doesn't entirely support the Apple firmware 
yet. But the latest Macs might work
Maxim
16-Apr-2007
[1441]
(I was pulling your leg a little there ;-)
Kaj
16-Apr-2007
[1442]
OK, but it's probably closer than you thought. :-) Last year we said 
that Apple was porting the Mac to Syllable
Maxim
16-Apr-2007
[1443]
hehe
Gabriele
16-Apr-2007
[1444]
Anton: I'll probably go with Kubuntu. It's based on Debian, it's 
well supported, and it has worked well enough for me in the past. 
I have used Gentoo but it's too much work (you get your own system, 
which is great, but it means you have to compile everything - and 
the config files need to be updated manually). I've never used Slackware... 
so I can't comment on it. I have a dynebolic CD, looks nice in its 
field, not sure as general-purpose.
btiffin
16-Apr-2007
[1445]
Shameless plug;  Debian GNU/Linux 4.0
The Debian model is the way to go with Open Source.
Don't release software before it's time.

Regardless of the "It's late! It's late!" yelling and gnashing of 
teeth.
When it comes out, it's ready to come out.


Plus (the shameless part), the more rebols that code on a Debian 
base, the happier I'll be, with scripts that work out of the box. 
 :)
Ladislav
16-Apr-2007
[1446x2]
Gabriele, did you look at Mepis?
Linux DLL interface question: it looks to me, that if I declare


    settimeofday: make routine! [tv [struct! []] tz [struct! []] return: 
    [integer!]] libc.so "settimeofday"

and


    tv: make struct! [tv_sec [int] tv_usec [int]] reduce [seconds 0]

then

    settimeofday tv null-struct

works, but if I do instead:


    settimeofday make struct! [tv_sec [int] tv_usec [int]] reduce [...] 
    null-struct

, then it doesn't work. Can somebody confirm this?
btiffin
16-Apr-2007
[1448x5]
I tried Ladislav;  I've never purchased a Command license, so have 
zero experience...

What are the defintions of

seconds   and null-struct

and I'll try it here under Debian and 2.7.5.4.2
And I guessed that libc.so  was  libc.so: load/library %/lib/libc.so.6
So far I've tried with

seconds: 0
null-struct: make struct! [secs [integer!] usecs [integer!]] none


All I'm getting back is a return code of -1  for both of your examples 
and remain too new to know what ERRNO is set to.  Plus I'm executing 
the code from a user process... so I did not expect it to work.
Under a root process the first form works...
and the second form works as well...

assuming I am anywhere near "getting it"
Of course it boned up my system clock...but that was easy to fix. 
 :)
Ladislav
16-Apr-2007
[1453x2]
then it worked, interesting
thanks for checking
btiffin
16-Apr-2007
[1455]
Anytime...learned a lot.
Ladislav
16-Apr-2007
[1456x2]
-1 as the result: I think, that it means you didn't have the right 
to set the clock - I guess that only ROOT has
just tried it again (Mepis6.5) and there is something strange
btiffin
16-Apr-2007
[1458]
Yeah, the user mode tests were coming back EPERM...   I'll try some 
more tests with different  seconds.
Ladislav
16-Apr-2007
[1459x2]
you don't have to, that is not the problem I see
I posted a private question, did you notice?
btiffin
16-Apr-2007
[1461x3]
Ok...  I'm still learning.  So I might just play with it anyway  
:)
Just now.
Can we file share here...never tried it.
Ladislav
16-Apr-2007
[1464]
it looks like not being available here
btiffin
16-Apr-2007
[1465]
Ok, I'm btiffin canada com
Anton
16-Apr-2007
[1466x4]
Ladislav, Mepis looks nice. Do you use it ?
Oh, you do :)
A comment by a reader: "...I've grown accustomed to SimplyMEPIS for 
every day, basic desktop needs. I run plain Debian when I want to 
test out tons of software, but I've been sticking with SimplyMEPIS 
when all I'm doing is reading Email, browsing the Web, and listening 
to streaming audio. .."
So it looks like you get good ease of use, but there is some restriction 
when it comes to trying out heaps of software. It could save me time 
when making machines for other people.