Author Topic: Gnu/Linux Considered Harmful  (Read 45689 times)

0 Members and 1 Guest are viewing this topic.

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3481
  • Country: us
Re: Gnu/Linux Considered Harmful
« Reply #125 on: November 15, 2018, 01:38:19 am »
I think that sums it up quite well.  We are dealing with terminal complexity.  The only person I know of who is actively addressing this is Andy Tanebaum and the Minix 3 project.

Everyone else just makes everything more complex and blames someone else for the problem.

If Ken Thompson doesn't trust anything over about 10,000 lines of code I don't think there's much hope with multi-million line systems such as we use today.
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: Gnu/Linux Considered Harmful
« Reply #126 on: November 15, 2018, 01:55:00 am »
Linux is far more solid than Windows is these days.
"What the large print giveth, the small print taketh away."
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Gnu/Linux Considered Harmful
« Reply #127 on: November 15, 2018, 02:16:09 am »
It looks and feels a lot more polished too. That has less to do with Linux improving (though it has) and more to do with the fact that Windows has regressed tremendously, going from the slick and polished Windows 7 to Win10 feeling like crusty open source software from 15 years ago.
 

Offline Bud

  • Super Contributor
  • ***
  • Posts: 6910
  • Country: ca
Re: Gnu/Linux Considered Harmful
« Reply #128 on: November 15, 2018, 03:57:28 am »
Linux is far more solid than Windows is these days.

Nice joke. There was probably no program that i tried that did not crash in Ubuntu. Just like that - puff.... no error message, just vanish.
Facebook-free life and Rigol-free shack.
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7992
  • Country: gb
Re: Gnu/Linux Considered Harmful
« Reply #129 on: November 15, 2018, 04:17:28 am »
Linux is far more solid than Windows is these days.

Nice joke. There was probably no program that i tried that did not crash in Ubuntu. Just like that - puff.... no error message, just vanish.

And quite how you manage that is a mystery never to be solved.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Gnu/Linux Considered Harmful
« Reply #130 on: November 15, 2018, 04:51:55 am »
Hardware fault or bad driver most likely, not much else will cause that. I had Ubuntu on my desktop at a previous job and the uptime was approaching 9 months. It would have been longer but we had a power outage that rebooted it. The machine went years without a crash.
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1059
Re: Gnu/Linux Considered Harmful
« Reply #131 on: November 15, 2018, 05:10:38 am »
My one experience with Ubuntu has deterred me from using it again.

Ran the test version from the USB stick, downloaded and installed components required to compile a program (including the program source code),
everything worked until the next session it forgot everything as if it was all running in RAM. source or binary for program was also gone.
Why would anyone make a setting they didn’t want to stay on the USB drive? Even something as simple as setting a Web homepage, I’d expect to be saved.

So then tried the proper install, and it wrote over a data SSD it had no business overwriting (didn’t have an OS on it), and wasn’t the drive it booted from.
Ubuntu installer failed at it’s one job, and also ruined all of the data on the 512 Gb SSD. Couldn’t see it in Windows GUI, and formatted it with Command line Diskpart.

That was harmful.
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Gnu/Linux Considered Harmful
« Reply #132 on: November 15, 2018, 05:19:28 am »
My one experience with Ubuntu has deterred me from using it again.

Ran the test version from the USB stick, downloaded and installed components required to compile a program (including the program source code),
everything worked until the next session it forgot everything as if it was all running in RAM. source or binary for program was also gone.
Why would anyone make a setting they didn’t want to stay on the USB drive? Even something as simple as setting a Web homepage, I’d expect to be saved.

So then tried the proper install, and it wrote over a data SSD it had no business overwriting (didn’t have an OS on it), and wasn’t the drive it booted from.
Ubuntu installer failed at it’s one job, and also ruined all of the data on the 512 Gb SSD. Couldn’t see it in Windows GUI, and formatted it with Command line Diskpart.

That was harmful.
It was probably running in RAM for people to test the software. You generally get the option what you want upon boot or installation. Volatility can be a useful tool.
 

Offline @rt

  • Super Contributor
  • ***
  • Posts: 1059
Re: Gnu/Linux Considered Harmful
« Reply #133 on: November 15, 2018, 05:48:45 am »
That’s what I figured, and then tried it’s installer.
It won’t be running on any of my PCs that have any other drive in them again.
 

Offline borjam

  • Supporter
  • ****
  • Posts: 908
  • Country: es
  • EA2EKH
Re: Gnu/Linux Considered Harmful
« Reply #134 on: November 15, 2018, 08:01:10 am »
1) If you power down the PC when Linux is still running, 1 out of 5 times you will break Linux. That does not happen with other OS (at least Irix and Windows XP -> 10).
In the old times Linux worshippers liked to brag about the ext2 filesystem speed. How did they achieve the miracle? By mounting it in async mode.  :-DD

That's the reason why one in 20 boots or so the system made a full fsck "just in case".

But I think (I hope!) it's a thing of the past!
 

Offline borjam

  • Supporter
  • ****
  • Posts: 908
  • Country: es
  • EA2EKH
Re: Gnu/Linux Considered Harmful
« Reply #135 on: November 15, 2018, 08:05:00 am »
make V=1

I know, it's not exactly 100% like everything which came before it, so it must be bad.
What I say, death by a thousand of paper cuts.

I guess they never got the meaning of the Principle Of Least Astonishment (POLA).

What's coming next? Changing the options depending on the language settings? So -v (verbose) would become -e (explicito) in Spanish  :-DD :-DD

Oh god, I just gave a Bad Idea™!
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Gnu/Linux Considered Harmful
« Reply #136 on: November 15, 2018, 08:19:26 am »
If Ken Thompson doesn't trust anything over about 10,000 lines of code I don't think there's much hope with multi-million line systems such as we use today.

He’s right. You can break the rules on this which is the point.

Make your system lots of 10,000 LOC programs that talk to each other. There are two approaches to this:

1. Unix, pipes, composition, done.
2. Technology of the hour, crack pipes, mud and sticky tape, label it microservices and job never done.

Outcome 2 usually ignores the Unix design principle of “do one thing well” and results in “do an unknown number of things badly”. And that’s modern software :)
 

Offline knapik

  • Regular Contributor
  • *
  • Posts: 143
  • Country: au
Re: Gnu/Linux Considered Harmful
« Reply #137 on: November 15, 2018, 08:24:28 am »
Haven’t seen ext2 for about 10 years.

ext4 / xfs now. Never breaks. Apart from when your resize xfs and it doesn’t up the inode count.

Ironically I’ve lost count of the amount of fucked up NTFS and HFS+ volumes I’ve seen just in the last 5 years. NTFS usually recovers fine though. I really don’t trust HFS+

I had a lot of "fun" not too long ago when I was backing up my files on an NTFS drive while the power went out. I ended up having to transfer ~1TB of data off of the backup drive onto another hard drive, reformat it and then transfer it back, all while struggling to Window's 255 character filepath limit. I don't think I'll be using NTFS again.
 

Offline borjam

  • Supporter
  • ****
  • Posts: 908
  • Country: es
  • EA2EKH
Re: Gnu/Linux Considered Harmful
« Reply #138 on: November 15, 2018, 08:25:02 am »
And that’s modern software :)
Yeah.

From lean and simple APIs to uncomprehensible behemoths with tons of documentation.

Next stage, über behemoths with no documentation at all and trial and error plus StackOverflow searches.

But this is not just the Linux world ;)
 

Offline borjam

  • Supporter
  • ****
  • Posts: 908
  • Country: es
  • EA2EKH
Re: Gnu/Linux Considered Harmful
« Reply #139 on: November 15, 2018, 08:28:48 am »
I had a lot of "fun" not too long ago when I was backing up my files on an NTFS drive while the power went out. I ended up having to transfer ~1TB of data off of the backup drive onto another hard drive, reformat it and then transfer it back, all while struggling to Window's 255 character filepath limit. I don't think I'll be using NTFS again.
I had an amusing experience with NTFS (my only one and just because I was called to the rescue!) back in 2005 or so.

A FiberChannel switch failed and a cluster of two Windows machines lost access to the filesystem. When we rebooted everything the Windows thingies refused to mount at all. No way.

So, what was the rescue? I booted a FreeBSD system off a live CD, set up a ftp server, of course mounted the NTFS in read only mode and the Windows admin, to his astonishment, could recover the files. A 5 minute job.

Still, he had to create manually lots of websites on the infamous IIS because there wasn't a proper configuration file you could just copy.
 
The following users thanked this post: knapik

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Gnu/Linux Considered Harmful
« Reply #140 on: November 15, 2018, 08:35:44 am »
I'm using ansible to configure IIS at the moment, on windows. Don't go there.

Another typical problem is windows' remote access and admin stuff, WinRM. It's a .Net process which creeps larger and larger until it explodes and then stops responding to requests. The protocol is HTTP and the only way ansible can do it's thing is by using WinRM to upload powershell scripts and execute them.

It's so good, Microsoft built SSH into Windows 2016  :-DD
 

Offline borjam

  • Supporter
  • ****
  • Posts: 908
  • Country: es
  • EA2EKH
Re: Gnu/Linux Considered Harmful
« Reply #141 on: November 15, 2018, 08:48:35 am »
Another typical problem is windows' remote access and admin stuff, WinRM. It's a .Net process which creeps larger and larger until it explodes and then stops responding to requests. The protocol is HTTP and the only way ansible can do it's thing is by using WinRM to upload powershell scripts and execute them.

It's so good, Microsoft built SSH into Windows 2016  :-DD
Ahhh, memories!

Back in the 90´s I was doing the 3Com and Olicom Certified Asshole courses. And one of the last days, during lunch, someone mentioned the "insane, complex Unix system". Of course I begun to argue (the rest were Windows users) and at some point someone begun to make really clueless comments. One was something like "how big is a Unix workstation?" And I had to explain him that I had an IPX at home and it was quite smaller than a peecee, Ethernet, sound, graphics accelerator, SCSI and all that even! For someone too young who hasn't seen these, like 3 Mac minis stacked.

Then I commented that there were even Unix laptops. And of course the idiot said something like "surely it weighs 20 Kg or so!". I had to have him look for information about Tadpole machines :)

And yeah, remote access. Someone else told me to mention one single thing I could do in Unix which was impossible in Windows. I told him to explain me how to login to a Windows machine using a modem, convert the connection to PPP, launch three or four ssh sessions, configure a PPP in debug mode on another ISDN channel and prepare it to receive a call and help a friend who was mad trying to configure a router and didn´t know which authentication mode he was using. All of that without rebooting of course. His answer? THAT'S IMPOSSIBLE! Of course it was just so much routine stuff I didn´t even think about it.

I am not sure Citrix existed at all at that time.

The point of all this, anyway, is. Lots of Linux youngsteers are dismissing the Unix philosophy as something irrelevant from the past. They just are not aware that such a simple philosophy in the core made all kind of complicated tasks just trivial, natural. You didn't think wether something was possible, but how to do it.
« Last Edit: November 15, 2018, 08:50:30 am by borjam »
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Gnu/Linux Considered Harmful
« Reply #142 on: November 15, 2018, 08:51:05 am »
Citrix. Kill me.

I always wanted a SPARCbook. Still tempted to buy one if I see one. Sure it’ll run netbsd or something still.

It’s nice looking back at this stuff. Fond memories.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Gnu/Linux Considered Harmful
« Reply #143 on: November 15, 2018, 04:47:30 pm »
My one experience with Ubuntu has deterred me from using it again.

Ran the test version from the USB stick, downloaded and installed components required to compile a program (including the program source code),
everything worked until the next session it forgot everything as if it was all running in RAM. source or binary for program was also gone.
Why would anyone make a setting they didn’t want to stay on the USB drive? Even something as simple as setting a Web homepage, I’d expect to be saved.

So then tried the proper install, and it wrote over a data SSD it had no business overwriting (didn’t have an OS on it), and wasn’t the drive it booted from.
Ubuntu installer failed at it’s one job, and also ruined all of the data on the 512 Gb SSD. Couldn’t see it in Windows GUI, and formatted it with Command line Diskpart.

That was harmful.


It's by design that it doesn't save anything, it's the USB equivalent of a live cd. The fact that it's a read-only filesystem means it can't become corrupted or infected. This is a case of user error.
 

Offline bd139

  • Super Contributor
  • ***
  • Posts: 23018
  • Country: gb
Re: Gnu/Linux Considered Harmful
« Reply #144 on: November 15, 2018, 04:51:26 pm »
Yes sounds like a large case of user error that.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14464
  • Country: fr
Re: Gnu/Linux Considered Harmful
« Reply #145 on: November 15, 2018, 05:51:47 pm »
If Ken Thompson doesn't trust anything over about 10,000 lines of code I don't think there's much hope with multi-million line systems such as we use today.

He’s right. You can break the rules on this which is the point.

There's an old saying stating that a good developer makes approximately 1 bug every 800 LOC.
Obviously it says nothing about a bad developer.
 ::)
 

Offline glarsson

  • Frequent Contributor
  • **
  • Posts: 814
  • Country: se
Re: Gnu/Linux Considered Harmful
« Reply #146 on: November 15, 2018, 06:06:05 pm »
There's an old saying stating that a good developer makes approximately 1 bug every 800 LOC.
After typing in the source code?
After compiling?
After testing?
After delivery to customemers?
 

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3481
  • Country: us
Re: Gnu/Linux Considered Harmful
« Reply #147 on: November 15, 2018, 06:17:12 pm »
Citrix. Kill me.

I always wanted a SPARCbook. Still tempted to buy one if I see one. Sure it’ll run netbsd or something still.

It’s nice looking back at this stuff. Fond memories.

Actually,  Illumos (nee OpenSolaris) has been brought up on SPARC   Whether it includes the SPARCbook is a different matter.
 

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3481
  • Country: us
Re: Gnu/Linux Considered Harmful
« Reply #148 on: November 15, 2018, 06:30:15 pm »
Oh no, not another circle jerk about Linux being unusable  :palm:

My biggest complaint is Octave which I used for many years.  It cannot be compiled on Solaris because the autoconf crap is so screwed up.

Would you say Autoconf is such a mess that it would be worthwhile transitioning to something newer like CMake? :)

Oh, please, no.  Gnu make(1)  works just fine if you know how to use it. KISS

Please come back once you had to maintain a large software system that has to be both multi-platform and support multiple toolchains (e.g. Visual C++ and gcc/clang).


Err, excuse me but I was doing of that except the Windows part almost from the day I *started* using Unix 28 years ago. I actually officially started doing that 3 months later when I was hired on to specifcially do exactly that.   Of course I already had a dozen operating systems and 3 years of VAX admin experience by then.

Of course, you may not consider porting 500,000+ lines ov VAX FORTRAN code to SGI, IBM, Intergraph, DEC, HP and Sun systems.  Or maintaining over 2 million lines of other people's undocumented (as in sole comment was author's name) code as adequate credentials.  But *none* of that stuff would compile when I took it over.
 

Offline rhbTopic starter

  • Super Contributor
  • ***
  • Posts: 3481
  • Country: us
Re: Gnu/Linux Considered Harmful
« Reply #149 on: November 15, 2018, 06:59:20 pm »
I am suffering through the ordeal of getting the mtd kernel modules installed on CentOS.  It's been a long time since I built a kernel and as nothing is the same as it used to be I've been searching for instructions.

The single most glaring issue is the exceedingly poor communication skills of the authors.

They fail to mention what distribution and versions they are using.

They can neither spell nor write grammatical sentences. Those for whom English is not their native language do better than the Americans and Brits.

Something I  find curious about the raging disdain for age and experience in the 20 something crowd.  How do they keep from going crazy knowing, as they are absolutely certain, that every day they are getting stupider and that in 20-30 years they will be helpless?

We were all a bit full of ourselves when we were that age, but the current generation has taken it to a completely new level.

In closing, here's a short tale.
----------------------------------------------------------------------------------------------------------------------------------------------------

There was a farmer who had an old rooster.  He was getting a little concerned that age might have diminished his ability to service the hens, so he got a young rooster.

The young rooster was strutting around the barnyard and went up to the old rooster.  "Man, you're just stew meat.  I'm taking over."

The old rooster just looked him in the eye and said, "I wouldn't be to sure about that."

"Ahh, you're just a deluded fool who is over the hill and resting on your laurels."

"Really?  I bet you can't even keep up with me in a foot race."

"You're on, old man.  I'll beat you by a mile."

"OK, then how about giving me  a 15 ft head start?  Does that seem fair for an old guy like me."

"Sure.  Take off and I'll start when you reach the corner of the hen house."

So the old rooster takes of running and as he goes around the corner of the hen house he starts making a huge racket.  The young rooster takes off after the old rooster and as he rounds the corner of the hen house, there's the boom of a shotgun.  The farmer sitting on the porch ejects the empty shell and says, "Damn, that's the third gay rooster I've bought this month."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf