Re: [DNG] [Very OT] 2D random walk in Postscript

2018-03-17 Thread karl
KatolaZ:
...
>   $ gs myrw.ps
> 
> but it doesn't work with gv, since I guess gv forbids filesystem
...

gv -nosafer -nosafedir myrw.ps 

Nice touch: since you rewrite myrw.ps, gv reloads the "new" file.
And I who thought selfmodified programs were forbidden :)

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


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


[DNG] [Very OT] 2D random walk in Postscript

2018-03-17 Thread KatolaZ
-- OT -- OT -- OT -- 

OK, sorry, my postscript is very rusty, and I know that the more
knowledgeable of you will probably be horrified by it, but thanks to
the suggestions given by Erik and Nelson I eventually came up with a
solution to my old "make a ps document that shows an original random
walk every time it is opened". The file is attached. It works with GNU
Ghostscript:

  $ gs myrw.ps

but it doesn't work with gv, since I guess gv forbids filesystem
access from within the script. Fair enough. The idea is quite stupid,
but it does the job ;)

Thanks everybody for this quite unexpected "diversion", which reminded
me how much I liked writing postscript ;)

HND

KatolaZ

-- OT -- OT -- OT -- 

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


myrw.ps
Description: PostScript document


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


Re: [DNG] Error when updating ascii 32 bit

2018-03-17 Thread KatolaZ
On Sat, Mar 17, 2018 at 02:56:03PM -0400, Ismael L. Donis Garcia wrote:
> When updating my system I get the following error of which I have not the
> slightest idea how to solve:
> 
> Configurando eudev (3.2.2-12) ...
> insserv: script eudev: service udev already provided!
> [ ok ] Stopping the hotplug events dispatcher: udevd.
> [ ok ] Starting the hotplug events dispatcher: udevd.
> 
> ***
>  Warning: eudev will default to the older network
>  interface names, such as eth0 or wlan0. If you use
>  the new names, such as enp0s3, you will need to add
>  the following to the boot command:
>net.ifnames=1
> 
> 
> update-initramfs: deferring update (trigger activated)
> insserv: script eudev: service udev already provided!
> insserv: exiting now!
> update-rc.d: error: insserv rejected the script header
> dpkg: error al procesar el paquete eudev (--configure):
> el subproceso instalado el script post-installation devolvió el código de


You have a previous version of "udev" in /etc/init.d/, or a link to
eudev named "udev" in there. That was a required fix for a previous
problem that has been solved, Just remove the udev file (or link) and

  apt-get upgrade

again.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


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


[DNG] Error when updating ascii 32 bit

2018-03-17 Thread Ismael L. Donis Garcia
When updating my system I get the following error of which I have not the 
slightest idea how to solve:


Configurando eudev (3.2.2-12) ...
insserv: script eudev: service udev already provided!
[ ok ] Stopping the hotplug events dispatcher: udevd.
[ ok ] Starting the hotplug events dispatcher: udevd.

***
 Warning: eudev will default to the older network
 interface names, such as eth0 or wlan0. If you use
 the new names, such as enp0s3, you will need to add
 the following to the boot command:
   net.ifnames=1


update-initramfs: deferring update (trigger activated)
insserv: script eudev: service udev already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error al procesar el paquete eudev (--configure):
el subproceso instalado el script post-installation devolvió el código de 
salida de error 1

Procesando disparadores para initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-6-686-pae
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module 
r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module 
r8169

Se encontraron errores al procesar:
eudev
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@(none):~#

Could someone guide me on how to solve it?

Best Regards
--
Ismael 



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


Re: [DNG] PostScript [was: printing in a D-Bus free system]

2018-03-17 Thread Didier Kryn

Le 17/03/2018 à 13:35, Erik Christiansen a écrit :

On 16.03.18 01:18, Didier Kryn wrote:

     It is always tricky to properly scale the drawing on the page: although
svg has no explicit dimension, the applications all seem to assume it has
some, and it's never the one which makes the image match the page size of
the printer. Maybe the easiest way to properly scale the drawing is to embed
it in an html document.

That's where postscript shines - you can rescale even for fleeting use,
then revert effortlessly. (Thus far I've only used one to three scales
per page in my drawings, applied cumulatively. From scratch might be
easier to understand and tweak later, though.)


    Well, SVG has the same transformations as PS and they can be 
applied cumulatively as well. Actually it seems to me SVG was largely 
inspired by PS. I'm pretty sure SVG and PS can be converted to each 
other without any loss of information, provided there is no 
transparency. PS has no transparency, and transparency can only be 
rendered during rasterization. But SVG images without transparency 
should be transformable into PS and vice-versa with no loss. However the 
only tools I found to translate SVG to PS are online on the web.


    Gimp and Geequie render SVG pretty well, but they're bound to 
rasterize it, and would produce a pixelized PS.


        Didier


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


Re: [DNG] PostScript [was: printing in a D-Bus free system]

2018-03-17 Thread Erik Christiansen
On 16.03.18 01:18, Didier Kryn wrote:
>     It is always tricky to properly scale the drawing on the page: although
> svg has no explicit dimension, the applications all seem to assume it has
> some, and it's never the one which makes the image match the page size of
> the printer. Maybe the easiest way to properly scale the drawing is to embed
> it in an html document.

That's where postscript shines - you can rescale even for fleeting use,
then revert effortlessly. (Thus far I've only used one to three scales
per page in my drawings, applied cumulatively. From scratch might be
easier to understand and tweak later, though.)

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


Re: [DNG] printing in a D-Bus free system

2018-03-17 Thread Florian Zieboll
On Sat, 17 Mar 2018 13:04:04 +0100
Florian Zieboll  wrote:

> (I hope no one expected this thread to go back on the spool;)

Oh, and I hope that you, Alessandro, don't feel addressed personally.
If so: be assured of my deepest regret^^

Florian


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


Re: [DNG] printing in a D-Bus free system

2018-03-17 Thread Florian Zieboll

On Sat, 17 Mar 2018 00:40:47 +0100
Alessandro Selli  wrote:

>   The ignorant peasant regularly claims the words of the savant to be
> "obscure geekery".


There's this cartoon (1), where an economic analyst stands in the
grainfield and tells the farmer to concentrate more on harvesting, as
sowing doesn't return any profit...

What an unfathomable shame that we let these poor guys, with their
amphetamine-blinkers and pharmaceutically armored egos, create some
kind of "monopoly of interpretation" and subsequently are well on our
way to fulfill the famous "wisdom" (which I tend to call a "curse") of
the Cree (2).

(I hope no one expected this thread to go back on the spool;)

Libre Grüße,

Florian



(1) https://s18.postimg.org/aj9g8ztdl/new_economy.jpg

(2) "Only when the last tree has been cut down, the last river poisoned
 and the last fish caught, will we realize that we can't eat money."


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


Re: [DNG] [j...@debian.org: [SECURITY] [DSA 4139-1] firefox-esr security update]

2018-03-17 Thread leloft
On Fri, 16 Mar 2018 19:09:27 +
KatolaZ  wrote:
> > [...]  
> >  >pinpoint any DSA whose patch is *not*
> > > already available in Devuan  
> > [...]
> > 
> > Ascii packages not yet replaced with patched versions
> >   
> 
> leloft, you must have "ascii-security" enabled in sources.list. Those
> packages are already in ascii:
> 
> $  apt-cache policy samba
> samba:
>   Installed: (none)
>   Candidate: 2:4.5.12+dfsg-2+deb9u2
> Version table:
>2:4.5.12+dfsg-2+deb9u2 500
>  500 http://pkgmaster.devuan.org/merged ascii-security/main
> amd64 Packages 2:4.5.12+dfsg-2+deb9u1 500
>  500 http://pkgmaster.devuan.org/merged ascii/main amd64
> Packages $
> 
> Same for all the other packages you mentioned. Please double-check
> yourself.
> 
> Updates enter pkgmaster.devuan.org about 5/6 minutes after the relevan
> Pacckages files are published by primary Debian mirrors. And they are
> available on deb.devuan.org (the new DNS Round-robin of Devuan package
> mirrors) about 30 minutes later, on average, and in any case no later
> than one hour later.
> 
> HND
> 
> KatolaZ

Thanks for your feedback, it is very welcome.  I did not use my
sources.list to apt-cache policy these packages to check them.
I checked them against an apt-mirror configured with the
mirror.list posted here a few days ago.  It would appear that although
the patched packages are immediately available on the official pkgmaster
ascii-security repo as you demonstrated, they are not similarly
available on an apt-mirror if it does not also mirror additional
ascii-* repos. I have added extra repos (taken from from the localhost's
sources.list and amended to also mirror 'contrib' and 'non-free')  thus

# config ##
#
set base_path/srv/apt-mirror
#
# set mirror_path  $base_path/mirror
# set skel_path$base_path/skel
# set var_path $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch  
# set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
set nthreads20 
set _tilde 0
#
# end config ##
# mirroring package sources
deb-src http://pkgmaster.devuan.org/merged ascii main contrib non-free
deb-src http://pkgmaster.devuan.org/merged ascii-security main contrib non-free
deb-src http://pkgmaster.devuan.org/merged ascii-backports main contrib non-free
#deb-src http://pkgmaster.devuan.org/merged ascii-proposed main contrib non-free
deb-src http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free
deb-src http://pkgmaster.devuan.org/merged ascii-proposed-updates main contrib 
non-free
#deb-src http://pkgmaster.devuan.org/devuan ascii-proposed-security main 
contrib non-free
deb-src http://pkgmaster.devuan.org/devuan experimental   main contrib non-free
# mirroring binary architectures
deb-amd64 http://pkgmaster.devuan.org/merged ascii main contrib non-free
deb-i386  http://pkgmaster.devuan.org/merged ascii main contrib non-free
deb-amd64 http://pkgmaster.devuan.org/devuan ascii main contrib non-free
deb-i386  http://pkgmaster.devuan.org/devuan ascii main contrib non-free
deb-amd64 http://pkgmaster.devuan.org/merged ascii-security main contrib 
non-free
deb-i386 http://pkgmaster.devuan.org/merged ascii-security main contrib non-free
deb-amd64 http://pkgmaster.devuan.org/merged ascii-backports main contrib 
non-free
deb-i386 http://pkgmaster.devuan.org/merged ascii-backports main contrib 
non-free
deb-amd64 http://pkgmaster.devuan.org/devuan ascii-proposed main contrib 
non-free
deb-i386 http://pkgmaster.devuan.org/devuan ascii-proposed main contrib non-free
deb-amd64 http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free
deb-i386 http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free
deb-amd64 http://pkgmaster.devuan.org/merged ascii-proposed-updates main 
contrib non-free
deb-i386 http://pkgmaster.devuan.org/merged ascii-proposed-updates main contrib 
non-free
#deb-amd64 http://pkgmaster.devuan.org/devuan ascii-proposed-security main 
contrib non-free
#deb-i386 http://pkgmaster.devuan.org/devuan ascii-proposed-security main 
contrib non-free
deb-amd64 http://pkgmaster.devuan.org/devuan experimental main contrib non-free
deb-i386 http://pkgmaster.devuan.org/devuan experimental main contrib non-free
# cleanup obsolete stuff
clean http://pkgmaster.devuan.org/merged

However, if I do not comment out the four lines indicated above,
apt-mirror downloads 585 index files but generates the following errors

Processing indexes: [SSSapt-mirror: can't open index
pkgmaster.devuan.org/merged//dists/ascii-proposed/main/source/Sources in 
process_index at /usr/bin/apt-mirror line 800.

apt-mirror: can't open index
pkgmaster.devuan.org/merged//dists/ascii-proposed/contrib/source/Sources in 
process_index at /usr/bin/apt-mirror line 800.

apt-mirror: can't open index
pkgmaster.devuan.org/merged//dists/ascii-proposed/non-free/source/Sources in 
process_index at /usr/bin/apt-mirror line 800.

SSSapt-mirror: can't open inde

Re: [DNG] Used *and* free hardware (was: Re: The FSF seems to have finally sold out)

2018-03-17 Thread Erik Christiansen
On 16.03.18 21:23, Joel Roth wrote:
> On Sat, Mar 17, 2018 at 05:05:30PM +1100, terryc wrote:
> > Gak, they are the reliable ones.
> > Everything later only lasts for a few years and you have to buy another
> > round of hardware.
> 
> Often hardware is discarded due to failed electrolytic capacitors.

Those which fail quickest are those in switchmode DC-DC converters, i.e.
all computer power supplies today - especially if cheaper electrolytics
whose ESR is not really low enough for long life¹ have been used.

> People don't want to pay a couple hundred for a guy
> who can spot a bulging can and solder in a new one.
> 
> I just got an assortment of electrolytics from amazon for 
> around $15, 300 pieces!

If intending to use any of them in DC-DC converter, i.e. with high
frequency intermittent current flow with high peaks, it's worthwhile to
check the ESR first. The little transistor and capacitor ESR tester from
Banggood (and probably other ebay suppliers) is dead cheap, easy to assemble
(it's a kit), and easy to use.

That unit also tests capacitance, but if the capacitor is so old and
dried out that capacitance has dropped, then ESR is probably crook too.
(Doubly past its use-by date.)

¹ Each 10°C increase in operating temperature halves lifetime again. (Arrhenius)

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


Re: [DNG] Used *and* free hardware (was: Re: The FSF seems to have finally sold out)

2018-03-17 Thread Joel Roth
On Sat, Mar 17, 2018 at 05:05:30PM +1100, terryc wrote:
> On Thu, 15 Mar 2018 02:02:16 -0400
> Steve Litt  wrote:
> 
> > In other words, these are now museum pieces, not computers. Use them
> > with their original software to do what they did so well back in the
> > day. Drive em around on Sunday afternoon and show them off, but leave
> > the real computers to computers made this century.
> 
> Gak, they are the reliable ones.
> Everything later only lasts for a few years and you have to buy another
> round of hardware.

Often hardware is discarded due to failed electrolytic capacitors.

People don't want to pay a couple hundred for a guy
who can spot a bulging can and solder in a new one.

I just got an assortment of electrolytics from amazon for 
around $15, 300 pieces!

cheers

-- 
Joel Roth
  

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