Linux-Development-Sys Digest #213, Volume #8 Fri, 13 Oct 00 15:13:13 EDT
Contents:
Model/View/Controller (Christopher Browne)
Re: ext2 file size limit? (Rob Komar)
Re: new windowing system ("Mark H. Wood")
Re: How to access a unexported kernel symbol ? (Robert Kaiser)
Stop CENSORSHIP and SPEED CAPPING! Let the F.C.C. know what you think of the AOL -
TIME WARNER merger! Link to FCC here! 4120 ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Model/View/Controller
Reply-To: [EMAIL PROTECTED]
Date: Fri, 13 Oct 2000 14:48:21 GMT
In our last episode (12 Oct 2000 17:35:39 -0400),
the artist formerly known as Shannon Hendrix said:
>In article <[EMAIL PROTECTED]>,
>Christopher Browne <[EMAIL PROTECTED]> wrote:
>
>> The problem comes in that while this may get you a reasonably slick
>> way of having K001 buttons that can run "make" for you, this doesn't
>> necessarily buy you a common GUI programming API.
>
>That is one reason I don't like Linux/UNIX IDE's. When I used one on
>a Mac, it was like part of the system. Same for using one tied
>specifically to a GUI API on UNIX. Windows never feels right, period.
>
>> This all mean that apps should be implemented in Model/View/Controller
>> manner, where the GUI is kept as a separate component in the application,
>
>I have heard of this before, but have never seen a reference to it
>outside of conversation or Usenet. Are there good books on this?
>Maybe it's known by other names and I'm just missing the connection.
Look for the literature on Smalltalk or NeXTStep.
The approach where you separate things out to:
a) An underlying Model, which is what actually Does Stuff,
b) Viewers, that can connect to the Model to provide you ways
of looking at Whatever is Going On, and
c) Controllers, widgets that can connect to the Model to manipulate
whatever it does.
Smalltalk was where this was developed and made useful. NeXTStep
also used it. CLIM (Common Lisp Interface Manager) also provides
something rather like this.
A notable system on Unix that uses the MVC approach is the MH
mail client; underneath, it has a fair-sized horde of Unix commands
that run at the command line:
ali anno burst comp dist flist folder forw mark mhbuild mhlist mhmail
mhn mhparam mhpath mhshow mhstore msgchk msh packf pick prompter
refile repl rmf rmm scan send show sortm whatnow whom flists folders
prev next inc sendfiles
These, as well as the mail folder behaviour, provide the "model."
There are several "views," between using show/scan directly, as well as
the GUIed front ends xmh and exmh, as well as the Emacs integration via
e-mh.
As for controllers, similar is true. You can control stuff via the
command line using the "horde;" the GUIs tend to provide front ends
that use the commands in /usr/bin/mh to do the work.
Another program that does somewhat similar is CBB, the Check Book
Balancer, which splits into a GUI front end written in TCL that
communicates with the "financial engine" written in Perl using
pipes.
All sorts of client/server apps do this to one degree or another; if
you have a database "back end" that defines some set of "transactions,"
and then have a front end that does "forms," and a front end to do
"reporting," that essentially splits things into, "in order," Model,
Controller, and Viewer.
A web application with Web Server, scripts to View Data, and then
CGI or other forms of code to Control the system can be built this
way...
--
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/gnustep.html>
Being really good at C++ is like being really good at using rocks to
sharpen sticks. -- Thant Tessman
------------------------------
From: Rob Komar <[EMAIL PROTECTED]>
Subject: Re: ext2 file size limit?
Crossposted-To: comp.os.linux.misc,comp.os.linux.advocacy,alt.os.linux
Date: Thu, 12 Oct 2000 22:40:15 -0700
In comp.os.linux.development.system Andreas Jaeger <[EMAIL PROTECTED]> wrote:
>>>>>> jdavida writes:
> > Correct. You should define
> > #define _LARGEFILE64_SOURCE 1
> > instead. This define should come before
> > including the header files. This will
> > enable the use of large files greater than
> > 2 Gig. Unfortunately, user commands and utils
> > like ls(1) and stat(1) will not work: See the
> > following:
> > # ls -l
> > /bin/ls: BIG4GIG: Value too large for defined data type
> > /bin/ls: BIG4GIG2: Value too large for defined data type
> > total 0
> > Both of these files are 4gigabytes large!!
> > I created them by a simple program that
> > wrote a large buffer to the file in a loop
> > that brought the size to 4 gig, and exited
> > normally.
> Recompile those tools after you installed a glibc that understands LFS
> - it works fine for me with fileutils 4.0.
> Andreas
This works for me using a 2.2.16 or 2.2.17 linux kernel with Scyld's
LFS patches applied, with a recent glibc-2.1.3, and with fileutils 4.0
recompiled against the new kernel header files. However, it doesn't
work with kernel 2.4.0-test9, even with fileutils re-built against
the 2.4.0 headers. For both kernels, I used -D_FILE_OFFSET_BITS=64
or -D_LARGEFILE64_SOURCE when compiling and linking the fileutils
programs. Under 2.4.0-test9, a test C program was able to write a
file > 2GB; I just couldn't use `ls -l' to list its size. I didn't
patch glibc with Scyld's patch, but I don't use file locking in my
simple programs so I didn't think I had to.
I thought that the 2.4.0-test kernels had LFS support. If so, any
idea why the fileutil programs don't work?
Cheers,
Rob
------------------------------
From: "Mark H. Wood" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.windows.x
Subject: Re: new windowing system
Date: 13 Oct 2000 14:47:46 GMT
In comp.windows.x Brian Wheeler <[EMAIL PROTECTED]> wrote:
[snip]
> There's another reason: for the joy of it ;) I wrote a perl module which
> wrote bytes to X...just to see if I could do it :)
It's called "hack value" -- the justification for work whose cost
exceeds the value of its tangible results.
--
Mark H. Wood, Lead System Programmer [EMAIL PROTECTED]
2000-05-05 13:27:15 GMT -- still no icebergs in the White River
------------------------------
From: [EMAIL PROTECTED] (Robert Kaiser)
Subject: Re: How to access a unexported kernel symbol ?
Date: 13 Oct 2000 15:13:47 GMT
In article <[EMAIL PROTECTED]>,
wolf <[EMAIL PROTECTED]> writes:
> Hi ! All
>
> While writing a module, sometimes there is a need to access some kernel
> symbol that is not exported , it is, can not be found in /proc/ksyms.
> Say , the global variable : main_table . Practically, it can be handled
> by directly accessing /dev/kmem. But, is there any other ways to do that
> ?
I assume you want to determine the address if a non-exported symbol in
the running kernel, right ?
I once did this successfully using the System.map file. Of course
this is a bad hack, not for the faint-hearted. Drop me a mail if
you're interested and I'll see if I can dig it up for you...
Cheers
Rob
================================================================
Robert Kaiser email: rkaiser AT sysgo DOT de
SYSGO RTS GmbH http://www.elinos.com
Klein-Winternheim / Germany http://www.sysgo.de
------------------------------
From: [EMAIL PROTECTED]
Subject: Stop CENSORSHIP and SPEED CAPPING! Let the F.C.C. know what you think of the
AOL - TIME WARNER merger! Link to FCC here! 4120
Date: Fri, 13 Oct 2000 18:15:06 GMT
The merger between AOL & Time Warner will be approved -
BUT - the F.C.C. is going to require some form of open access.
The question is - open access for WHOM? Will the conditions
protect ONLY THE CORPORATIONS or will they also protect YOU
the END USER?
This is what AOL and Time Warner have to say about censorship
and speed capping:
IF TIME WARNER DETERMINES THAT THE SUBSCRIBER HAS FAILED TO
COMPLY WITH THE SERVICE'S STANDARDS OF CONDUCT OR LIMITS ON
BANDWIDTH UTILIZATION, TIME WARNER MAY SUSPEND SUBSCRIBER'S
ACCOUNT. TIME WARNER COMMUNICATIONS SHALL HAVE THE SOLE AND
UNREVIEWABLE RIGHT TO DETERMINE WHETHER CONTENT VIOLATES
THESE STANDARDS.
DID YOU KNOW:
AOL cancelled the account of the President of the Chemically
Disabled Americans - they said it was a commercial usage! The
president ran it from his bedroom. As a public service. His
comment expressing his outrage is contained in the F.C.C. file.
DID YOU KNOW:
These are the things that Colette Lantelme, Security Administrator
of Road Runner, claims are against the Road Runner Acceptable Use
Policy.
1. Posting a message on any "For Sale" message board.
2. Listing a product on any Ebay, Ubid, or similar service. (Boy, is
EBAY gonna be PISSED!)
3. Announcing a job availability.
4. Replying to a job availability.
5. Mentioning that the user had tried any product and found
it satisfactory - or unsatisfactory.
6. Posting a message to any "personals" board.
7. Asking a user for a date.
8. Calling attention to any commercial or non-commercial
website, including personal websites provided as part
of the purchase price of the service sold by Time-Warner.
9. Calling attention to any IRC chat channel.
Want to say that Al Gore can't be elected because he is a democrat?
No problem! Want to say that Leiberman can't be elected because he
is Jewish? BANNED FROM AOL!
A very small effort on your part can well induce the F.C.C. to
outlaw this censorship and Speed Capping, and protect YOU as well
as the corporations. You have some powerful allies; Consumer's Union,
Disney, and many commercial software companies. Even the Attorney
General of the State of Connecticut is on YOUR side - you may read
their petitions at the link below.
But YOU MUST HELP!
You can F.I.L.E YOUR C.O.M.M.E.N.T IN THE O.F.F.I.C.I.A.L C.A.S.E FILE!
---> This is NOT merely a EMAIL message which will be ignored <---
Any response which you file will be an OFFICIAL document included in
the F.C.C. FILINGS!
It will appear in the OFFICIAL CASE FILE as a comment
read by ALL THE ATTORNEYS who are participating in the action, as well
as ALL THE F.C.C. C.O.M.M.I.S.S.I.O.N.E.R.S! It will remain there
FOREVER as part of the O.F.F.I.C.I.A.L R.E.C.O.R.D of the AOL - Time
Warner merger! With YOUR name on it!
Since this internet campaign started, approximately 250 comments have
been received by the F.C.C from individuals. (Some are funny as hell!)
We need twice that!
PLEASE - can you HELP PROTECT IRC and USENET? SEND the SAMPLE COMMENT
to the F.C.C!
The F.C.C. is on the verge of requiring the protections this letter asks
for. Your letter might PUSH THEM OVER THE EDGE and make the internet
a BETTER PLACE for EVERYONE, INCLUDING YOU!
MAKE A DIFFERENCE TO USENET AND IRC! This letter WILL MAKE A DIFFERENCE
if there are enough of them received by the F.C.C. If at least 500
letters are received, we can probably count on the F.C.C. to take decisive
action to prohibit both censorship and speed capping - and to protect
the users, not merely the corporations.
GET A CHAIN RESPONSE STARTED! I can do only so much. I can only post
to so many newsgroups - I can't do it alone. WE ALL NEED YOUR HELP!
Copy this message and post it to (at least) 3 newsgroups where it does
not appear! Then, Send this message by EMAIL to (at least) 5 friends!
If everyone does that, we can FLOOD THE F.C.C. with comments and THEY
WILL LISTEN!
The major ccorporations and the politicians are coonducting this merger
on their terms, for their benefit, and giving no thought whatsoever to
the users. They are all fighting over our dollars, but do they give any
concern whatsoever to us? Does a fish ride a bicycle?
They believe that the internet, which WE, not them, made great, is now
too valuable to be left the users. Their attitude is, "let them comment,
they don't count, they are not rich corporations, they are merely poor
users. Will YOU let them get away with this?
They can ignore 250 users. They can't ignore thousands of users.
Right now our comments, all 250 of them, are a minor agravation to
the "power structure." They have to wade through them to get to the
important stuff, the corporate, I.E. money, responses.
THOUSANDS OF COMMENTS ARE NOT AN AGRAVATION, THEY ARE A POLITICAL
PHENOMENON! DO YOUR PART!
LET THE F.C.C. know that THE INTERNET DOSEN'T STAND FOR ANY BULL! Tell
the F.C.C. I'M MAD AS HELL AND I'M NOT GONNA TAKE IT ANYMORE!
The future of USENET and IRC depends on the F.C.C. forcing all ISP's
starting with Time Warner and AOL to recognize free speech and fair
marketing practices. PLEASE HELP!
TO FILE YOUR COMMENT WITH THE F.C.C:
1. Copy the letter to a file. You can put it on your letterhead
with MS Word or just use a text file. You can make any change to
the letter you want, or add any comment you have. CHANGES ARE GOOD!
They show you READ THE LETTER and REALLY CARE! If you had a bad
experience with AOL or Time Warner PUT IT IN!
2. go to:
https://gullfoss2.fcc.gov/cgi-bin/websql/prod/ecfs/upload_v2.hts
(This is the official F.C.C. page where electronic filing of petitions
is accomplished)
3. Fill out Cover sheet
Put your name, Address, Email address, and all other required
information on the form. (Remember this is an OFFICIAL FILING so
the F.C.C. requires this information. It is not published unless you
put it in the letter as well as the form)
Proceeding is
00 - 30
(Leave out the spaces, they are there to get by the spam filter.
Put in the -)
(this is VERY IMPORTANT, it is the case number of the AOL TIME
WARNER APPLICATION for merger. If you get it wrong, your comment
WILL NOT BE FILED!)
4. Send Cover Sheet.
5. After you send the Cover Sheet, THEN select the filename of the
letter you are sending, and send that.
6. After you send the file, you will receive an official
confirmation of the filing from the F.C.C.
7. You can TYPE a comment instead of sending this sample comment, but
DON'T PASTE THE SAMPLE COMMENT into the Short Comment box - it
DOESN'T FIT!
Comment will appear for all to read in about 4 hours
(but won't appear after business hours or on the weekend.)
8. If you want to see your letter, or read the other submissions,
other letters, the AOL petition, the Disney or Consumer's Union
objections, etc, here is the URL - Its long! Put in the case
number, 00 - 30 (no spaces) and nothing else.
https://gullfoss2.fcc.gov/cgi-bin/websql/prod/ecfs/comsrch_v2.hts?ws_mode=retrieve_list&id_proceeding=00-30&start=1
IF YOU LIVE N A FOREIGN COUNTRY and wish to make a comment (This is a
world wide problem) the Cover Sheet will not accept your address. You
can do this: Enter your real name and address including country in
the address lines, but in the STATE box put CA and in the ZIP (first
field) put 90001. Ignore the 2nd zip field. Ignore the 2nd form, and
TYPE your SHORT COMMENT in the 3rd form. Please identify the country
you live in the message. Don't use the sample letter supplied
because it isn't appropriate for non-US residents.
***>Remember the FORM INFORMATION will NOT appear, only the letter.
NOTE: There is NO WORD WRAPPING on the letter below, to make it
easy for you to format so it may be hard to read until you copy it,
depending on your news reader.
SAMPLE MESSAGE
============cut here==============================================
To the FCC Commissioners
Ladies and Gentlemen:
Time Warner has the following Acceptable use policy:
IF TIME WARNER DETERMINES THAT THE SUBSCRIBER HAS FAILED TO COMPLY WITH THE SERVICE'S
STANDARDS OF CONDUCT OR LIMITS ON BANDWIDTH UTILIZATION, TIME WARNER MAY SUSPEND
SUBSCRIBER'S ACCOUNT. TIME WARNER COMMUNICATIONS SHALL HAVE THE SOLE AND UNREVIEWABLE
RIGHT TO DETERMINE WHETHER CONTENT VIOLATES THESE STANDARDS.
Time Warner, and AOL, which has a similar and even more restrictive policy, claims to
have the right to terminate anyone, at any time, for any reason.
At first glance this seems reasonable. After all, they own the system. But do they
acctually OWN the system?
There is no doubt they own the gate, and it is well-known that both AOL and Time
Warner have no hesitation in closing the gate. Time Warner does this by enforcing
this condition on its subscribers:
IF TIME WARNER DETERMINES THAT THE SUBSCRIBER HAS FAILED TO COMPLY WITH THE SERVICE'S
STANDARDS OF CONDUCT OR LIMITS ON BANDWIDTH UTILIZATION, TIME WARNER MAY SUSPEND
SUBSCRIBER'S ACCOUNT. TIME WARNER COMMUNICATIONS SHALL HAVE THE SOLE AND UNREVIEWABLE
RIGHT TO DETERMINE WHETHER CONTENT VIOLATES THESE STANDARDS.
Don't try to tell me that AOL and Time Warner close that gate only on "bad" speech,
the pornographers, the hate-mongers, the "spammers," and gives the rest of us "nice"
people free reign to post "acceptable" messages. It is well known what these
companies find unacceptable - anything whatsoever that rubs them, or anyone else, the
wrong way.
It has become common knowledge in USENET and IRC Chat that any person can obtain the
canceling of a Road Runner account merely by making complaints to Road Runner abuse.
The complaints do not have to be justified, they don't even have to be true, there
just needs to be made.
Many Road Runner customers have figured this out, and never upload anything to USENET
through Road Runner, or access IRC through Road Runner, but obtain a backup account to
protect their high speed access. Unfortunately, the majority of the people don't find
this out until they have been terminated for "abuse" that never happened. What is
worse, recently Road Runner has terminated some customers who posted material it
considered objectionable which was not even posted through Road Runner, but through
this back-up ISP!
It is beginning to appear that Road Runner is actively trying to get rid of anyone who
regularly posts political, social, or any other comment to USENET or IRC, and that
Road Runner is attempting to convert the internet from a way to express views to a
service where they can sell their other Time Warner offerings. This is not what the
internet is supposed to be.
Regular users of USENET and IRC have become extremely concerned that the merger of AOL
and Time Warner will result in the disappearance of USENET and IRC. The merged
company will not prohibit access entirely, it will just terminate the account of
anyone who posts any message offensive to anyone.... and any message will of course be
offensive to someone. USENET and IRC will become vehicles where the only matter taht
can be discussed without fear of termination will be Road Runner cartoons.
If the merger takes place, the merged company will be in a position where they can
effectively remove both USENET and IRC as viable components of the internet, at least
for users with high-speed access. I would like to see some insurance that this cannot
happen.
Please, for the benefit of internet users who do use the internet for purposes of
speaking out rather than purchasing interactive cartoons or games from Time Warner, if
you approve the merger between Time Warner and AOL merger, include some protection for
USENET and IRC users so that these valuable internet functions cannot be eliminated
from the internet by the new company. Please, in your requirement for open access on
the internet, include open access for the person who actually uses, and pays, for the
internet, the end user, as well as for the corporations.
Thank You for your attention.
----> YOUR NAME <----
ojxciyqubpqgokfwvn
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.development.system) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Development-System Digest
******************************