Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219178 > unrolled thread

*nix

Started byghe <ghe@slsware.net>
First post2020-02-15 22:10 +0100
Last post2020-02-16 11:10 +0100
Articles 12 — 10 participants

Back to article view | Back to linux.debian.user


Contents

  *nix ghe <ghe@slsware.net> - 2020-02-15 22:10 +0100
    Re: *nix <tomas@tuxteam.de> - 2020-02-15 22:20 +0100
      Re: *nix John Kaufmann <kaufmann@nb.net> - 2020-02-15 22:50 +0100
        Re: *nix Curt <curty@free.fr> - 2020-02-16 13:40 +0100
          Re: *nix Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-16 16:50 +0100
          Re: *nix Charles Curley <charlescurley@charlescurley.com> - 2020-02-16 17:50 +0100
          Re: *nix Felmon Davis <davisf@union.edu> - 2020-02-16 23:50 +0100
            Re: *nix <tomas@tuxteam.de> - 2020-02-17 09:40 +0100
    Re: *nix Gene Heskett <gheskett@shentel.net> - 2020-02-16 01:40 +0100
    Re: *nix Charles Curley <charlescurley@charlescurley.com> - 2020-02-16 04:20 +0100
      Re: *nix Andrei POPESCU <andreimpopescu@gmail.com> - 2020-02-16 10:00 +0100
        Re: *nix Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2020-02-16 11:10 +0100

#219178 — *nix

Fromghe <ghe@slsware.net>
Date2020-02-15 22:10 +0100
Subject*nix
Message-ID<zAcRk-1x9-5@gated-at.bofh.it>

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, February 14, 2020 10:56 PM, Gene Heskett
<gheskett@shentel.net> wrote:

> On Friday 14 February 2020 22:56:11 Richard Owlett wrote:
>
> > On 02/14/2020 12:52 PM, Gene Heskett wrote:

FYI, fogies, in the Jul-Aug, 1978 Bellsystem Technical Journal,
announcing Unix, in the Style section of the Foreward is a list of
"maxims...gained currency among the builders and users..." The first
sentence of the first maxim in the list is, "Make each program do one
thing well."

The second sentence is "To do a new job, build afresh rather than
complicate old programs by adding new 'features.'"

Until recently, the *nix communities have stuck pretty well to these
recommendations -- they're just descriptions of competent programming,
after all. There may be some discussion over the definitions of "one
thing" and "well" but there is software in our Linux that, I think,
doesn't conform to anybody's understanding of these maxims.

​--
Glenn English
-- 
Glenn English

[toc] | [next] | [standalone]


#219179

From<tomas@tuxteam.de>
Date2020-02-15 22:20 +0100
Message-ID<zAd10-1Bb-3@gated-at.bofh.it>
In reply to#219178

[Multipart message — attachments visible in raw view] — view raw

On Sat, Feb 15, 2020 at 02:03:02PM -0700, ghe wrote:
> 
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, February 14, 2020 10:56 PM, Gene Heskett
> <gheskett@shentel.net> wrote:
> 
> > On Friday 14 February 2020 22:56:11 Richard Owlett wrote:
> >
> > > On 02/14/2020 12:52 PM, Gene Heskett wrote:
> 
> FYI, fogies, in the Jul-Aug, 1978 Bellsystem Technical Journal,
> announcing Unix, in the Style section of the Foreward is a list of
> "maxims...gained currency among the builders and users..." The first
> sentence of the first maxim in the list is, "Make each program do one
> thing well."
> 
> The second sentence is "To do a new job, build afresh rather than
> complicate old programs by adding new 'features.'"
> 
> Until recently, the *nix communities have stuck pretty well to these
> recommendations -- they're just descriptions of competent programming,
> after all. There may be some discussion over the definitions of "one
> thing" and "well" but there is software in our Linux that, I think,
> doesn't conform to anybody's understanding of these maxims.

While I tend to those maxims, two points:

 - I usually subsume them under "complexity is your enemy"

and then

 - all generalizations suck.

So, to each her own, YMMV, etc.

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#219182

FromJohn Kaufmann <kaufmann@nb.net>
Date2020-02-15 22:50 +0100
Message-ID<zAdu1-1Og-1@gated-at.bofh.it>
In reply to#219179
On 2020-02-15 16:16, tomas@tuxteam.de wrote:
> On Sat, Feb 15, 2020 at 02:03:02PM -0700, ghe wrote:
>> ...
>> FYI, fogies, in the Jul-Aug, 1978 Bellsystem Technical Journal,
>> announcing Unix, in the Style section of the Foreward is a list of
>> "maxims...gained currency among the builders and users..." The first
>> sentence of the first maxim in the list is, "Make each program do one
>> thing well."
>>
>> The second sentence is "To do a new job, build afresh rather than
>> complicate old programs by adding new 'features.'"
>>
>> Until recently, the *nix communities have stuck pretty well to these
>> recommendations -- they're just descriptions of competent programming,
>> after all. There may be some discussion over the definitions of "one
>> thing" and "well" but there is software in our Linux that, I think,
>> doesn't conform to anybody's understanding of these maxims.
> 
> While I tend to those maxims, two points:
> 
>   - I usually subsume them under "complexity is your enemy"
> 
> and then
> 
>   - all generalizations suck.
> 
> So, to each her own, YMMV, etc.

Just so. At what point does a small and natural generalization of "one thing" become more complex than a new thing? Simplicity is the friend, complexity the enemy; order the friend, entropy the enemy. It takes a lifetime of design to see where to draw those lines, and we never stop learning.

[But it was nice to be reminded of a time when programming was often seen as a generalization of list processing.]

[toc] | [prev] | [next] | [standalone]


#219191

FromCurt <curty@free.fr>
Date2020-02-16 13:40 +0100
Message-ID<zArnj-27u-11@gated-at.bofh.it>
In reply to#219182
On 2020-02-15, John Kaufmann <kaufmann@nb.net> wrote:
>
> Just so. At what point does a small and natural generalization of "one
> thing" become more complex than a new thing? Simplicity is the friend,
> complexity the enemy; order the friend, entropy the enemy. It takes a
> lifetime of design to see where to draw those lines, and we never stop
> learning.

That members of the most generalist species on earth should extol the
merits of the most extreme form of specialisation is something of an
ironic puzzlement here in the balcony seats.

> [But it was nice to be reminded of a time when programming was often
> seen as a generalization of list processing.]
>
>


-- 
"J'ai pour me guérir du jugement des autres toute la distance qui me sépare de
moi." Antonin Artaud

[toc] | [prev] | [next] | [standalone]


#219194

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2020-02-16 16:50 +0100
Message-ID<zAulb-3SH-7@gated-at.bofh.it>
In reply to#219191
> That members of the most generalist species on earth should extol the
> merits of the most extreme form of specialisation is something of an
> ironic puzzlement here in the balcony seats.

If you want to stay on top, you have to impose on others different rules
than those you impose on yourself.


        Stefan

[toc] | [prev] | [next] | [standalone]


#219197

FromCharles Curley <charlescurley@charlescurley.com>
Date2020-02-16 17:50 +0100
Message-ID<zAvhf-4s4-7@gated-at.bofh.it>
In reply to#219191
On Sun, 16 Feb 2020 12:31:30 -0000 (UTC)
Curt <curty@free.fr> wrote:

> That members of the most generalist species on earth should extol the
> merits of the most extreme form of specialisation is something of an
> ironic puzzlement here in the balcony seats.

"Specialization is for insects." -- Robert Heinlein

All those specialized tools are useless without generalists to write
them and then use them. Had honey on your toast lately? :-)

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#219204

FromFelmon Davis <davisf@union.edu>
Date2020-02-16 23:50 +0100
Message-ID<zAATD-7PW-5@gated-at.bofh.it>
In reply to#219191
On Sun, 16 Feb 2020, Curt wrote:

> On 2020-02-15, John Kaufmann <kaufmann@nb.net> wrote:
>>
>> Just so. At what point does a small and natural generalization of "one
>> thing" become more complex than a new thing? Simplicity is the friend,
>> complexity the enemy; order the friend, entropy the enemy. It takes a
>> lifetime of design to see where to draw those lines, and we never stop
>> learning.
>
> That members of the most generalist species on earth should extol the
> merits of the most extreme form of specialisation is something of an
> ironic puzzlement here in the balcony seats.

makes me think of the fallacy of composition - a big wall of bricks 
doesn't need to be composed of big bricks.

plus I suppose a lot of generalists are specialists in something or 
other.

also from the balcony.


-- 
Felmon
Pronouns: It / Them / Something

[toc] | [prev] | [next] | [standalone]


#219213

From<tomas@tuxteam.de>
Date2020-02-17 09:40 +0100
Message-ID<zAK6D-5fx-23@gated-at.bofh.it>
In reply to#219204

[Multipart message — attachments visible in raw view] — view raw

On Sun, Feb 16, 2020 at 05:37:57PM -0500, Felmon Davis wrote:
> On Sun, 16 Feb 2020, Curt wrote:
> 
> >On 2020-02-15, John Kaufmann <kaufmann@nb.net> wrote:

[...]

> plus I suppose a lot of generalists are specialists in something or
> other.

...in generality, at least.

> also from the balcony.

Now I fell down from it *poof!*

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#219183

FromGene Heskett <gheskett@shentel.net>
Date2020-02-16 01:40 +0100
Message-ID<zAg8x-3yN-11@gated-at.bofh.it>
In reply to#219178
On Saturday 15 February 2020 16:03:02 ghe wrote:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, February 14, 2020 10:56 PM, Gene Heskett
>
> <gheskett@shentel.net> wrote:
> > On Friday 14 February 2020 22:56:11 Richard Owlett wrote:
> > > On 02/14/2020 12:52 PM, Gene Heskett wrote:
>
> FYI, fogies, in the Jul-Aug, 1978 Bellsystem Technical Journal,
> announcing Unix, in the Style section of the Foreward is a list of
> "maxims...gained currency among the builders and users..." The first
> sentence of the first maxim in the list is, "Make each program do one
> thing well."
>
> The second sentence is "To do a new job, build afresh rather than
> complicate old programs by adding new 'features.'"
>
> Until recently, the *nix communities have stuck pretty well to these
> recommendations -- they're just descriptions of competent programming,
> after all. There may be some discussion over the definitions of "one
> thing" and "well" but there is software in our Linux that, I think,
> doesn't conform to anybody's understanding of these maxims.

No, it hasn't been anything resembling recent,  Glenn. Remember that in 
1978, the 6809, z80 were in the future, and the then current crop of 
smart sand was things like the 8085, the cdp-1802, and possibly the 
ti9900 were state of the art, memory was still gawdauful expensive and 
Dynax was the king of disk drives spinning a 14" disk with the head 
positioning done by a very recalcitrantly driven voice coil about 4" in 
diameter Disk capacity of such a monster was 5 megabytes. The tv station 
I was the ACE at the time had a to9900 based mainframe with 2 or 3 
terminals in traffic had an uptime of maybe 12 hours a week because one 
of its 2 disk drives needed a recalibration that took 6 to 12 hours to 
do. The 9900 had a multitasking os that was also used in the ti-99/4 
home computer, an interesting software approach to how to do 
multitasking, not by stacking its registers but by switching its one 
memory pointer that pointed at its register images in memory, so an 
interrupt was handled by pointing the register at the memory occupied by 
the interrupt handler. All this wasn't unix but it outran the unix of 
the day by a fair margin. But it eventually lost that battle as unix got 
better at running multiple copies of cpu's tp gain thruput. My first 
intro to unix was the AT&T 3B2. A moto 68000 based this that was 
basically a fire starter looking for a place to burn up as it did so 
several times while serving as the first email server dedicated to 
receive messages from CBS about programming data. After the first smoke 
party we put it on a metal table. But in those days unix only ran on 
those moto cpu's.

Fast fwd from 78-84 to 2020 and our linux is running on the darndest 
collection of cpu and machine architecture, whose variations to run on 
whatever is in the box, variations that seem to be approaching the 
famous !69 test of good ti calculators. It is in some circles built from 
src and runs only on that motherboard, or its built to run on certain 
families of similar architectures, but every driver today has to have a 
lookup table to determine how to run on this variation. But in becoming 
the universal operating system also means the average install has a 
couple gigabytes in the boot files that never see an execution because 
its not built to run on his hardware. But today, gigabytes of memory are 
cheap, I just pair about half of what I paid for 4k of static ram I had 
to solder up on an s-100 card, that 4k of static ram cost $400 then but 
a couple months back I bought 32GIGs of memory forthis machine after a 
fire in a usb2 port on the mainboard put it out of business.  Just how 
effective is this run on what you find today?

This HD I'm booting from has an install from the old board with debian 9 
on it, but when this drive found it was not running on a 4 core phenom, 
it never even had to clear its throat to boot up on a new Asus 
motherboard with an 9th generation core i5 6 core cpu.

I think thats doing pretty good and I wouldn't change it w/o a fight.

Right now I've in the last week, I've built and installed a new 
preempt-rt kernel on that rpi4, needed to run any moving machinery, then 
git cloned linuxcnc-master from github, to that rpi4's added ssd's, set 
a couple environment vars, and half an hour later I have debs that 
install LinuxCNC on this rpi4 and its running a 75 yo 11x54 Sheldon 
lathe I converted to cnc, making it do tricks the original could not do 
in 75 years of trying.

And I could take both src trees to x86 hardware and build and run it just 
as sweet.

I have built 3 other machines that are doing exactly that. But why bother 
when I can get those from the buidbot.linuxcnc.org site. x86 hardware is 
available for peanuts at just about any yard sale.

Its progress and light years ahead of the situation in 1978 when I had to 
solder every part to make a dumb little computer run a u-matic tape deck 
to reduce the aired commercial by one dub level and improve our aired 
image a lot ANd install the cue tones to make stuffing 5 30 second 
commercials into a 2:30 network break, a 1 button operation with enough 
time left over to show a 1 second station id.  Yeah, I'm a retired 
broadcast engineer. And a CET.

> ​--
> Glenn English


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#219185

FromCharles Curley <charlescurley@charlescurley.com>
Date2020-02-16 04:20 +0100
Message-ID<zAiDn-5dE-1@gated-at.bofh.it>
In reply to#219178
On Sat, 15 Feb 2020 14:03:02 -0700
ghe <ghe@slsware.net> wrote:

> Until recently, the *nix communities have stuck pretty well to these
> recommendations -- they're just descriptions of competent programming,
> after all. There may be some discussion over the definitions of "one
> thing" and "well" but there is software in our Linux that, I think,
> doesn't conform to anybody's understanding of these maxims.

And then there are the exceptions that illustrate the rule. Emacs,
LibreOffice and systemd (all of which I use, not necessarily
enthusiastically) come to mind.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

[toc] | [prev] | [next] | [standalone]


#219188

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-02-16 10:00 +0100
Message-ID<zAnWq-8pO-7@gated-at.bofh.it>
In reply to#219185

[Multipart message — attachments visible in raw view] — view raw

On Sb, 15 feb 20, 20:17:07, Charles Curley wrote:
> On Sat, 15 Feb 2020 14:03:02 -0700
> ghe <ghe@slsware.net> wrote:
> 
> > Until recently, the *nix communities have stuck pretty well to these
> > recommendations -- they're just descriptions of competent programming,
> > after all. There may be some discussion over the definitions of "one
> > thing" and "well" but there is software in our Linux that, I think,
> > doesn't conform to anybody's understanding of these maxims.
> 
> And then there are the exceptions that illustrate the rule. Emacs,
> LibreOffice and systemd (all of which I use, not necessarily
> enthusiastically) come to mind.

... as well as Linux (the kernel), grub, u-boot, busybox, GCC, vim, 
apache / nginx, mc, (neo)mutt, etc. and that is not even including GUI 
programs.

If you truly believe in this principle without any exception throw away 
your Swiss army knife / Leatherman now.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#219189

FromEduardo M KALINOWSKI <eduardo@kalinowski.com.br>
Date2020-02-16 11:10 +0100
Message-ID<zAp2a-Qc-7@gated-at.bofh.it>
In reply to#219188
On 16/02/2020 05:52, Andrei POPESCU wrote:
> On Sb, 15 feb 20, 20:17:07, Charles Curley wrote:
>> On Sat, 15 Feb 2020 14:03:02 -0700
>> ghe <ghe@slsware.net> wrote:
>>
>>> Until recently, the *nix communities have stuck pretty well to these
>>> recommendations -- they're just descriptions of competent programming,
>>> after all. There may be some discussion over the definitions of "one
>>> thing" and "well" but there is software in our Linux that, I think,
>>> doesn't conform to anybody's understanding of these maxims.
>> And then there are the exceptions that illustrate the rule. Emacs,
>> LibreOffice and systemd (all of which I use, not necessarily
>> enthusiastically) come to mind.
> ... as well as Linux (the kernel), grub, u-boot, busybox, GCC, vim, 
> apache / nginx, mc, (neo)mutt, etc. and that is not even including GUI 
> programs.
>
> If you truly believe in this principle without any exception throw away 
> your Swiss army knife / Leatherman now.
And how about cat, at least the gnu version? From the man page it can
also number lines, show non-printing characters, indicate line ends and
suppress repeated blank lines.


-- 
<awkward> anyone around?
<Flav> no, we're all irregular polygons

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web