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

World: r3wp

[Linux] group for linux REBOL users

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
[1466x5]
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.
Gabriele, I just noticed Sabayon, based on Gentoo, but initial install 
is pre-compiled, and they provide a pool of pre-compiled packages.
Gabriele
17-Apr-2007
[1471x3]
you can install gentoo precompiled too, but that defeats the purpose 
of gentoo. :)
ie. if i were to use a precompiled gentoo then i'd rather go with 
debian.
mepis: never tried it; isn't it debian based? i think, that it's 
better to go with the most popular one in this case (ie. ubuntu/kubuntu/xubuntu). 
you find ready packages for stuff (eg skype). :)
Ladislav
17-Apr-2007
[1474]
Mepis is fine, it is Ubuntu-based currently. I tried Kubuntu too, 
but stayed with Mepis
Kaj
17-Apr-2007
[1475x4]
Mepis was Debian-based, but is now indeed Ubuntu-based
Anton, all the distros based on Debian package pools have a big problem 
in that, when you start adding the Debian repositories and installing 
software from them, you run a high risk of pulling in dependencies 
that will destroy system packages that were modified from Debian
Ubuntu doesn't have this problem because they build everything themselves, 
not using Debian binary packages. For the distros that are now based 
on Ubuntu repositories the problem has been lightened, because they 
don't have to modify as much in Ubuntu as they had to in Debian, 
but the fundamental problem is still there
Building on a major distro seems nice, but this issue means that 
it's really only the major distro itself that is more or less guaranteed 
to work, as far as that's possible with Linux. So that's usually 
Debian and Ubuntu
Sunanda
17-Apr-2007
[1479]
Interesting Linux-based idea for the always-on generation....Its 
the return of the thin client!
http://www.theregister.co.uk/2007/04/17/babellinux/
Anton
18-Apr-2007
[1480x2]
Gabriele, good point.
Kaj, that's very good info, thanks !

I could still use Mepis as a simple "don't change much" install for 
friends who just want a basic computer.
Henrik
18-Apr-2007
[1482]
I found that giving large amounts of text to a CALL, causes a permissions 
requester so big that the buttons to allow the action are put outside 
the window and by resizing it, 1-2 pixels of the buttons can be seen, 
but are unreadable. Anyone spotted this?
btiffin
18-Apr-2007
[1483x2]
For the curious.


http://kde-files.org/content/show.php/Linux+Distro+Timeline?content=44218


The artist has created a pretty nice graphical timeline of the Linix 
distributions.
4am
s/Linix/Linux/
Alan
18-Apr-2007
[1485]
just installed Knoppix 5.1.1  like beryl a lot
btiffin
18-Apr-2007
[1486]
Alan goes 3D :)
Alan
18-Apr-2007
[1487]
yes !   now to see if I can get Rebol/Altme installed and set-broswer-path 
working with it
btiffin
18-Apr-2007
[1488]
You'll get it working...by hook or by crook.  Make sure to drop a 
note once you attack the problem.
Ladislav
18-Apr-2007
[1489]
what is your graphic card, Alan?
Gabriele
19-Apr-2007
[1490]
i'm tempted to install xgl and compiz on kubuntu too... even if i 
know that i shouldn't :)
Graham
19-Apr-2007
[1491x2]
I start up this script which does a forever [ ] ... and start it 
in my rc3.d/S99local .. and curiously, I get a spinning x appear 
in my root console!
I do run the script as a separate process using the & too.
Gabriele
19-Apr-2007
[1493]
you need -qw in rebol (the spinning x is from a  network access i 
guess) and >/dev/null </dev/null when calling it. (otherwise it won't 
detach)
Alan
19-Apr-2007
[1494]
Ladislav it's on an Acer laptop so uses an on board ATI -it's off 
right now will give you more info when i turn it on  it's onmy 1 
year old so should be a newer ATI