WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Thanks for the best Boot Code ever  (Read 16969 times)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Thanks for the best Boot Code ever
« Reply #15 on: October 21, 2012, 12:18:27 PM »
Our system has matured and settled down from the frantic pace of early development.
A book would be most welcomed. Curaga, I would encourage you to do so.
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11026
Re: Thanks for the best Boot Code ever
« Reply #16 on: October 21, 2012, 01:20:28 PM »
I was going to request topics, and also if anyone wanted to contribute chapters. But as it is, I haven't even yet gotten to prototyping asciidoc for that purpose.

I've written man pages in asciidoc, and so far I really prefer it to any alternate formatting systems, like latex and docbook. It would seem suitable to do books in as well, given that O'Reilly does so.

But anyway, with no time there's no time. Any comments appreciated of course, just don't expect any progress this year ;)
The only barriers that can stop you are the ones you create yourself.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: Thanks for the best Boot Code ever
« Reply #17 on: October 21, 2012, 06:38:28 PM »
This highlights a lack in our docs, I believe :)

Core is not even close to being as complicated as many other distros, but it does have many nice tricks like that. If even experienced users like coreplayer2 find new old things, that to me says docs aren't up to snuff.

It could also indicate that once experienced users get a setup that works, there's little need to learn new things until the setup needs to change. Not, of course, that I'd argue about the quality of the docs, and if/when you write that book, I'll be buying a copy!

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Thanks for the best Boot Code ever
« Reply #18 on: October 21, 2012, 08:02:25 PM »
reading the source is often better than any documentation.
especially if everything is an easily accessible shell script.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11514
Re: Thanks for the best Boot Code ever
« Reply #19 on: October 21, 2012, 08:20:03 PM »
Hi hiro
Quote
reading the source is often better than any documentation.
Yes, but only if one can comprehend the source. I do very little scripting, but can usually get the general idea
of what's going on in a script. However, in order to fully understand it, I often have to start Googling to figure
out what all the  $##*  type syntax does.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: Thanks for the best Boot Code ever
« Reply #20 on: October 22, 2012, 06:43:18 AM »
I agree, bourne shell has some very clumsy syntax. I ignore such parts that I don't understand :)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11026
Re: Thanks for the best Boot Code ever
« Reply #21 on: October 22, 2012, 11:50:24 AM »
I find those parts of sh are logical once you know them. I hear it's similar for perl once you get to know it.
The only barriers that can stop you are the ones you create yourself.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Thanks for the best Boot Code ever
« Reply #22 on: October 22, 2012, 04:50:47 PM »
Quote
Posted by: curaga
« on: 2012-10-21, 09:35:32 »
This highlights a lack in our docs, I believe :)

Core is not even close to being as complicated as many other distros, but it does have many nice tricks like that. If even experienced users like coreplayer2 find new old things, that to me says docs aren't up to snuff.

If only there was enough time ;) I've had this idea of writing a book on Core, fully current for one release, with chapters describing the internals, some on projects to use Core for, some focusing on boot time etc. I was thinking both the pdf and ascii sources would be freely available online, dead tree version available at some cost.

Sadly, at least 'til christmas uni is taking all of my time, weekends too.


Quote
Posted by: roberts
« on: 2012-10-21, 10:18:27 »
Our system has matured and settled down from the frantic pace of early development.
A book would be most welcomed. Curaga, I would encourage you to do so.


Quote
Posted by: curaga
« on: 2012-10-21, 11:20:28 »
I was going to request topics, and also if anyone wanted to contribute chapters. But as it is, I haven't even yet gotten to prototyping asciidoc for that purpose.

I've written man pages in asciidoc, and so far I really prefer it to any alternate formatting systems, like latex and docbook. It would seem suitable to do books in as well, given that O'Reilly does so.

But anyway, with no time there's no time. Any comments appreciated of course, just don't expect any progress this year ;)


Hmmm... maybe this topic warrants at least a thread of its own?

I'd been sort of hoping something like this would come up, even knowing that Core was a bit of a moving target.  It does seem to have settled down a bit lately.

Perhaps the remainder of this year can be used by the community to compile a wish list of topics and and a volunteer list of those who would contribute chapters or other assistance.  Put my name on the latter list.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

aus9

  • Guest
Re: Thanks for the best Boot Code ever
« Reply #23 on: October 22, 2012, 07:55:07 PM »
in the spirit of talking ideas.....I have one for more experienced maintainers to consider, if you can understand me

Lets pretend I am a simple user....check
Lets pretend I use APPS panel to do my updates instead of using the command line....ok
If a maintainer, in the info file, or in a forum is recommending that some post-install action may be needed,
---could the maintainer have a post-install script that interacts with APPS to alert the user of that possibiltiy
-----and if there is already a post install action script, how does a newbie know its been done,
---------in case it impacts on other things?

I am thinking some kind of echo script like
echo 'see forum or wiki if you need something or use something or don't have something etc'

I am not an expert and don't want to name any packages as I think that might be inflaming.

cheers
« Last Edit: October 22, 2012, 07:58:43 PM by aus9 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Thanks for the best Boot Code ever
« Reply #24 on: October 22, 2012, 08:42:28 PM »
We don't want useless messages displaying on every boot.
Read the info panel.

aus9

  • Guest
Re: Thanks for the best Boot Code ever
« Reply #25 on: October 22, 2012, 11:12:35 PM »
gerald_clark

if you are referring to me, I am not sure I was suggesting any such messages at boot. I am only talking about the possible messages maintainer might want users to see when they update thru the APPS panel

I can see my suggestion was not understood so shall blame me the sender so don't worry.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Thanks for the best Boot Code ever
« Reply #26 on: October 23, 2012, 12:00:44 AM »
How would the apps panel installing an extension differ from tceload -iw ?
Something that displays once, and then never appears again would be confusing.
How would you go about displaying it again?
Isn't it better to read the info file?


aus9

  • Guest
Re: Thanks for the best Boot Code ever
« Reply #27 on: October 23, 2012, 12:25:36 AM »
I regret posting this but lets pursue it to its natural death eh?

I am making a suggestion about using APPS for updates .........not installing a fresh tcz.

If the suggestion has no merit, please consider this suggestion withdrawn, I don't want you wasting time pondering it.

I shall spank myself virtually for wasting your time....sends virtual beer to Gerald so no hard feelings impied

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Thanks for the best Boot Code ever
« Reply #28 on: October 23, 2012, 12:33:00 AM »
I'm not trying to discourage you.  You said you wanted to talk over an idea.  I am just trying to get a clear idea of what this suggestion was to accomplish.

aus9

  • Guest
Re: Thanks for the best Boot Code ever
« Reply #29 on: October 23, 2012, 04:49:10 AM »
ahh ok

well this the issue as I see it, in my mind

Someone becomes  a convert to TC
then uses APPS panel to do their updates
(but does not research any info file for a reason----below)
upon receiving updates thru the panel they are not aware that there may be some info that just missed out on.

OK so the reason why they use the panel, is because thats a tool that is available and in my mind, if it should not be used in the way I described above, we need better docs.......Yeah

sidetrack issue 1) I am not suggesting I am the expert here
sidetrack issue 2) Now when newbies read or don't read the info file, they may be using the wiki.....so wiki needs improving sometimes ....eh?

We are not talking installing or research new software to install, We expect that a search for a package or provides a executable or has a tag.......leads the newbie to read the info file.

So what I was wondering, can APPS receive a post-install script on updates alerting them to information the maintainer would like to impart. I am aware that maintainers can already have post-install scripts but due to the nature of that script, it tends to be absolute and not offer cautionary advice.

(more waffle) And some people, using APPS panel will open 2 panels at once,
upon seeing the list of packages to click on .....to update
they click into the second panel to browse....search package name and read the info.

Now if that was only one or 2 packages newbies (like me) might do it, but what if the list was long such as when a key lib package changes and onflow packages depending on it then update?

We all have time issues and my suggestion would require (I assume) a change to TCB to allow "on update" messages
--if in doubt, each tcz might need to have a post-install terminal -e echo type message but that might be pushing my luck?

is that clearer?