Re: [DNG] a how to question (project(s) related)

2021-08-15 Thread Olaf Meeuwissen via Dng
Hi,

Steve Litt writes:

> o1bigtenor via Dng said on Sun, 15 Aug 2021 09:43:46 -0500
>
>>Greetings
>>
>>I'm finding myself occasionally drowning in information resulting in me
>>trying to improve the connection between what I'm working on AND the
>>information that I'm collecting.
>>
>>An example (followed by some questions).
>>
>>I'm into gardening/raising my own food (simplified for here!!).
>>
>>Create a directory 'gardening' .
>>
>>Inside 'gardening' notes for a particular year (each year in its own
>>directory).
>>Dig some digging and hard links to directories are a no no (!)
>>- - like forbidden.
>>
>>I could see hard links being useful for what I want where soft links
>>are going to break (have had the joy of breaking some myself and
>>causing myself all kinds of joy in the process).
>>
>>Any ideas out there on how to find such an ecosystem?
>>
>>(I don't think a RDMS is what I want because then how does one store
>>directories inside the topic - - - its almost like a RDMS that has a
>>system inside it might do - - - argh - - - I think I'm getting more
>>confused rather than less in trying to set up something - - - argh!!)
>
> Check out VimOutliner. VimOutliner does this quite easily. Instead of
> whole redundant directories, you'll have redundant lines in a tab
> indented outline. Look for VimOutliner 3.4 or 3.5. VimOutliner went bad
> after 3.5.

For the Emacs-inclined, there are several outliner-type modes available
of which I personally use [Org mode][1].  This actually supports quite a
bit more than just outlining.

> [...]

 [1]: https://orgmode.org/

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] a how to question (project(s) related)

2021-08-15 Thread terryc
On Sun, 15 Aug 2021 09:43:46 -0500
o1bigtenor via Dng  wrote:

> Greetings
> 
> I'm finding myself occasionally drowning in information resulting in
> me trying to improve the connection between what I'm working on AND
> the information that I'm collecting.

Aah, an old, old problem. The problem as I see it is not pack ratting
the information, but finding where it is; aka indexing it.

The best Linux based solution I've come across and used was htdig* which
basically searched and indexed your files almost to altavista depth and
allowed you to use your browser to access the information. 

I mainly used it to serve up various mailing list archives on a list
by list basis.

It is in the repository. I think it was unsupported for a while, but
now it looks to be back.

However, looking back through the old webserver pages, it seems is
produced a html page for every document. Being mailing lists, these are
text only, but if you are using the browser that should give you
access to various plug-ins. 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] changing init systems on Debian

2021-08-15 Thread golinux

On 2021-08-15 16:09, Hendrik Boom wrote:

Just a heads-up:  there's a discussion on the debian-doc mailing
list about providing instructions on switching init system away
from systemd.

It may end up being a link from the release notes to a wiki.

-- hendrik



Let the walls of the systend citadel come crumbling down and the light 
of init diversity shine into the darkness!


golinux
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] changing init systems on Debian

2021-08-15 Thread Hendrik Boom
Just a heads-up:  there's a discussion on the debian-doc mailing 
list about providing instructions on switching init system away 
from systemd.

It may end up being a link from the release notes to a wiki.

-- hendrik

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] a how to question (project(s) related)

2021-08-15 Thread Steve Litt
o1bigtenor via Dng said on Sun, 15 Aug 2021 09:43:46 -0500

>Greetings
>
>I'm finding myself occasionally drowning in information resulting in me
>trying to improve the connection between what I'm working on AND the
>information that I'm collecting.
>
>An example (followed by some questions).
>
>I'm into gardening/raising my own food (simplified for here!!).
>
>Create a directory 'gardening' .
>
>Inside 'gardening' notes for a particular year (each year in its own
>directory).
>Dig some digging and hard links to directories are a no no (!)
>- - like forbidden.
>
>I could see hard links being useful for what I want where soft links
>are going to break (have had the joy of breaking some myself and
>causing myself all kinds of joy in the process).
>
>Any ideas out there on how to find such an ecosystem?
>
>(I don't think a RDMS is what I want because then how does one store
>directories inside the topic - - - its almost like a RDMS that has a
>system inside it might do - - - argh - - - I think I'm getting more
>confused rather than less in trying to set up something - - - argh!!)

Check out VimOutliner. VimOutliner does this quite easily. Instead of
whole redundant directories, you'll have redundant lines in a tab
indented outline. Look for VimOutliner 3.4 or 3.5. VimOutliner went bad
after 3.5.

I don't know what a RDMS is, and if it's a DBMS then forget this
suggestion, but you could also use Sqlite to store multiple indexes to
multiple directories.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Nasty Linux systemd security bug revealed

2021-08-15 Thread Alessandro Vesely via Dng

On Thu 12/Aug/2021 13:12:29 +0200 Aitor wrote:

On 31/7/21 11:20, aitor wrote:


Sometimes I use the following buffer struct for dynamic allocation:

https://gitea.devuan.dev/aitor_czr/libnetaid/src/branch/master/backend_src/sbuf.c 



I guess we all ended up developing something similar.  My take:
http://www.tana.it/svn/zdkimfilter/trunk/src/cstring.h
http://www.tana.it/svn/zdkimfilter/trunk/src/cstring.c

It's harsh as it assumes the caller _always_ checks return code.  The functions 
don't check for NULL on entry (albeit they often assert() it, a passage usually 
not compiled in production code.)  Non-nullness has to be checked by the 
caller, for example (from zaggregate.c in the same package):

if (to_header)
{
to_header = cstr_printf(to_header, "%s %s",
n_addr == 0? "To:": ",", dom->addr[i].addr);
if (to_header && dom->addr[i].limit != UINT64_MAX)
to_header = cstr_printf(to_header, " (limit=%" PRIu64 ")",
dom->addr[i].limit);
++n_addr;
}


Best
Ale
--










___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] a how to question (project(s) related)

2021-08-15 Thread Andrzej Peszynski



On 15.08.2021 17:35, tito via Dng wrote:

On Sun, 15 Aug 2021 09:43:46 -0500
o1bigtenor via Dng  wrote:


going to break (have had the joy of breaking some myself and causing myself
all kinds of joy in the process).

Hi,
I was going to propose file systems with hard and soft links
(which BTW break only if you yourself break them)




Friends, allow me please my 2Ct:
I strongly advice against symlinks for this task, because the symlinks 
may reduce performance significantly, especially on remote FS, like CIFS.
Using symlinks for data structuring may slow the FS down, and impact 
integrity, while have no hard protected references like foreign keys, or 
natively built-in search indexes.

To me this sounds like a task for RDMS, rather than the FS.

What called directory in FS, there is called hierarchy. See this link 
from the web-search:

http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/

Cheers
Andrzej
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] a how to question (project(s) related)

2021-08-15 Thread tito via Dng
On Sun, 15 Aug 2021 09:43:46 -0500
o1bigtenor via Dng  wrote:

> Greetings
> 
> I'm finding myself occasionally drowning in information resulting in me
> trying to improve the connection between what I'm working on AND the
> information that I'm collecting.
> 
> An example (followed by some questions).
> 
> I'm into gardening/raising my own food (simplified for here!!).
> 
> Create a directory 'gardening' .
> 
> Inside 'gardening' notes for a particular year (each year in its own
> directory).
> Also in 'gardening' are directories for various crops 'potatoes'/'malus'
> (easier to say apples but I'm
> including pears and and ).
> 'Potatoes' includes files (notes) some of which needs to be taken from
> something like a
>diary/journal (rednotebook is my preferred tool at this point).
> 'Potatoes' includes directories like specific
> varieties/diseases/pests/fertilization/remedies.
> Further information like cooking/techniques for/health related/other uses
> (think distilling) as a
>further level.
> 
> This is all found in one project - - - - and I have projects - - maybe too
> many but things are what they are.
> 
> I'm trying to find a way of connecting things.
> 
> So when I find an idea that I can use for electronic control on movement
> that I can link that to irrigation and then back to the
> 'shrubs/trees/plants'.
> 
> I would rather NOT have 10 different copies of the same information stored
> - - - wastes space - - - but I'm finding that looking for information that
> sometimes I have what I'm found but it was/is connected to a very different
> project.
> 
> Dig some digging and hard links to directories are a no no (!) - -
> like forbidden.
> 
> I could see hard links being useful for what I want where soft links are
> going to break (have had the joy of breaking some myself and causing myself
> all kinds of joy in the process).

Hi,
I was going to propose file systems with hard and soft links 
(which BTW break only if you yourself break them) 
but as they are taboo the only other and far superior 
system is to use paper and ink. This system showed resilience,
ease of use and hardware independence for the last 4000 years.
In conjunction with a physiological process better known as
learning which transforms your brain in the primary
storage for pointers to the information stored in
your papyrus rolls and allows endless recombination
of the inputted information to achieve what is called progress
through try and error (let's see what happens if principle). 
In the end this process will make you a expert in the field of your
choice and your papyrus rolls will be saved in libraries
for the future generations to study (unless they use
only wikipedia and instead of studying they just
print them out wasting loads of paper with no
result at all).

Ciao,
Tito

P.S.: I suggest for urban gardening: onions, peppers and cucumbers
they grow in almost every condition. 
Tomatoes are very sensible to lots of diseases and lost their taste
long time ago in the process to be made solid red.
With avocado trees in pots I got mixed results,
with mango trees in pots this year is the first time
there is a good chance of eating some mangos.

> Any ideas out there on how to find such an ecosystem?
> 
> (I don't think a RDMS is what I want because then how does one store
> directories inside the topic - - - its almost like a RDMS that has a system
> inside it might do - - - argh - - - I think I'm getting more confused
> rather than less in trying to set up something - - - argh!!)
> 
> TIA

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] a how to question (project(s) related)

2021-08-15 Thread o1bigtenor via Dng
Greetings

I'm finding myself occasionally drowning in information resulting in me
trying to improve the connection between what I'm working on AND the
information that I'm collecting.

An example (followed by some questions).

I'm into gardening/raising my own food (simplified for here!!).

Create a directory 'gardening' .

Inside 'gardening' notes for a particular year (each year in its own
directory).
Also in 'gardening' are directories for various crops 'potatoes'/'malus'
(easier to say apples but I'm
including pears and and ).
'Potatoes' includes files (notes) some of which needs to be taken from
something like a
   diary/journal (rednotebook is my preferred tool at this point).
'Potatoes' includes directories like specific
varieties/diseases/pests/fertilization/remedies.
Further information like cooking/techniques for/health related/other uses
(think distilling) as a
   further level.

This is all found in one project - - - - and I have projects - - maybe too
many but things are what they are.

I'm trying to find a way of connecting things.

So when I find an idea that I can use for electronic control on movement
that I can link that to irrigation and then back to the
'shrubs/trees/plants'.

I would rather NOT have 10 different copies of the same information stored
- - - wastes space - - - but I'm finding that looking for information that
sometimes I have what I'm found but it was/is connected to a very different
project.

Dig some digging and hard links to directories are a no no (!) - -
like forbidden.

I could see hard links being useful for what I want where soft links are
going to break (have had the joy of breaking some myself and causing myself
all kinds of joy in the process).

Any ideas out there on how to find such an ecosystem?

(I don't think a RDMS is what I want because then how does one store
directories inside the topic - - - its almost like a RDMS that has a system
inside it might do - - - argh - - - I think I'm getting more confused
rather than less in trying to set up something - - - argh!!)

TIA
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Zone fill eludes me.

2021-08-15 Thread dvalin
On 15.08.21 09:37, Robert wrote:
> Firstly, make sure you have the correct zone display option selected
> using the buttons on the left-hand toolbar.

It was only after posting that I found that. It was on the top one, 
"Show filled areas in zones", which sounds right.

> Secondly, for a zone to fill it must have a net associated with it,
and> there must be a pad or track within the zone area that is on the
same
> net.   Right click on the zone edge to edit its properties
(including
> its associated net).   You may need the adjust the clearances, to
ensure
> the zone is not blocked from connecting to pads, though usually the
> defaults are OK in that respect.

I had selected "GND" for the zone. Checking "properties" of the zone 
confirms that. The entire GND network, with through-hole pads, SMD
pads, and a whole bunch of tracks is inside the zone. That's 17 pads
and many tracks. (I'd connected them all, just in case the airwires
had been the holdup.)

The manual talks about segment fill, rather than polygon, being a
safer  bet, so I've just tried that, using the fill option after a
right click on the  zone edge. Still no visible fill. I think the
window which flashes up is a  progress bar. I had enabled use of
graphic acceleration earlier. Kicad  does appear to think it is
rendering the fill. Does it do that concurrently  with the progress
display, or after?

We must be narrowing the set of possible causes. How many can remain?

Many thanks for taking a look at this peculiarity.

 Erik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Reinstalling unbootable laptop...

2021-08-15 Thread d...@d404.nl

On 15-08-2021 12:05, al3xu5 wrote:

Hi all

About one or two years ago I had installed Devuan on my brother's laptop.

It is a Lenovo B50-10 (model 80QR), with a 64bit Intel N3540 CPU, 4GB
DDR1600 RAM and a mechanical 500GB HDD (see:
https://pcsupport.lenovo.com/cr/en/products/laptops-and-netbooks/lenovo-b-series-laptops/b50-10/80qr/documentation/doc_userguide)

Two weeks ago I tryed some BIOS changes and did an apt-get update/upgrade.
Do not remember neither which BIOS changes I tried, nor the order I did
changeas and apt-get...

This resulted in a unbootable system (a loop, booting and rebootin,
without starting the system).

Ok... I know I was too hurried and not very careful...

I tried to fix the situation using some usb live tools, but without
success.

Anyway, as the previous installation had not been completely smooth, and
the system had been a little messed up by my brother, and I don't want to
waste more time trying to fix it, I'm about to reinstall it.

Very shortly, the plan is:

a) Set the BIOS in UEFI Mode (and not legacy: it seems that Lenovo
machines will only have this mode in the future)

b) Download and use the most updated Devuan 3.1 netinstall ISO from USB

c) Run the installation procedure -- About partitions: I think I will use
the partitioning tool (in manual and non-automatic mode) provided by the
ISO, possibly maintaining the same scheme of existing partitions

Kindly, I therefore ask you observations and advice about this plan.

My major doubts are about the HDD partitions (which is a 500GB
*mechanical* HDD), and how to be sure I will have a stable and clean boot
process.

Many thanks in advance

al3xu5



___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


I wonder if you have been bitten by "grub-efi-amd64-signed bug: 
hardcoded link -> unbootable system" earlier on this mailinglist.


When you have a separate /home partition I would go for the manual 
partition route and leave this partition alone. After installing and 
stable boot you can add the home partition manually in /etc/fstab and 
have all your brothers settings back.


Grtz

Nick



OpenPGP_signature
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Reinstalling unbootable laptop...

2021-08-15 Thread al3xu5
Hi all

About one or two years ago I had installed Devuan on my brother's laptop.

It is a Lenovo B50-10 (model 80QR), with a 64bit Intel N3540 CPU, 4GB
DDR1600 RAM and a mechanical 500GB HDD (see:
https://pcsupport.lenovo.com/cr/en/products/laptops-and-netbooks/lenovo-b-series-laptops/b50-10/80qr/documentation/doc_userguide)

Two weeks ago I tryed some BIOS changes and did an apt-get update/upgrade.
Do not remember neither which BIOS changes I tried, nor the order I did
changeas and apt-get...

This resulted in a unbootable system (a loop, booting and rebootin,
without starting the system).

Ok... I know I was too hurried and not very careful... 

I tried to fix the situation using some usb live tools, but without
success.

Anyway, as the previous installation had not been completely smooth, and
the system had been a little messed up by my brother, and I don't want to
waste more time trying to fix it, I'm about to reinstall it. 

Very shortly, the plan is:

a) Set the BIOS in UEFI Mode (and not legacy: it seems that Lenovo
machines will only have this mode in the future)

b) Download and use the most updated Devuan 3.1 netinstall ISO from USB

c) Run the installation procedure -- About partitions: I think I will use
the partitioning tool (in manual and non-automatic mode) provided by the
ISO, possibly maintaining the same scheme of existing partitions 

Kindly, I therefore ask you observations and advice about this plan.

My major doubts are about the HDD partitions (which is a 500GB
*mechanical* HDD), and how to be sure I will have a stable and clean boot
process.

Many thanks in advance 

al3xu5


-- 
Say NO to copyright, patents, trademarks and industrial design
restrictions!


Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8  B624 DA50 835B 2624 A36B


pgpLvbRYTuoAQ.pgp
Description: Firma digitale OpenPGP
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] malfunctioning graphical application

2021-08-15 Thread spiralofhope
On Sat, 14 Aug 2021 13:58:34 +0200
Ludovic Bellière via Dng  wrote:

> As it stand, aisleriot is part of the gnome suite and thus depends on
> GTK3. Maybe something in the framework changed that does not support
> your system anymore.

Oh my god if this turns out to be the case I will laugh so damned hard;
I hear that GTK3 has a history of springing changes on people.


(Yes I'm still salty about needing to hold the alt key down to see
underlines in menu items.)
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng