Re: Boot fails after power outage

2018-07-17 Thread deloptes
Bill Horton wrote:

> Any thoughts on how to fix
> the problem so I can put /backup back in FSTAB

fsck?





Re: No sound/audio

2018-07-17 Thread deloptes
70147pers...@telia.com wrote:

> Nothing else, I love Firefox, and appreciate really the work all these
> volunteers are doing, but if I cannot get sound from that programme the
> way I prefer, I feel I am forced to look for another browser.
> 
> Anyone who knows a way to bypass the announced limitations?

Hi, while I agree with you that we are left without a choice in cases such
as firefox, I disagree that this is a firefox problem. The problem is
definitely in timidity as it hooks I guess directly to alsa and blocks any
other application.
There were suggestions made to use jack and when working with music
(timidity) you probably will have other benefits by using jack.

As of your remark - you stopped timidity - did you disable autostart before
rebooting. Chances are high you didn't and it autostarted blocking your
device again. In /etc/default/timidity

# uncomment to override enabling triggered by availability of
timidity-deamon
TIM_ALSASEQ=false


regards



Re: Sane via GIMP.

2018-07-17 Thread Matthew Crews
On 7/17/18 9:35 AM, pe...@easthope.ca wrote:
> Just updated this debian 9 and tried gimp > file > create > XSane > Device 
> dialogue.
> There chose the HP scanner.
> 
> A window entitled "xsane 0.999 C2500A:sg0" opened. There I selected 
> Window > Show preview.  (Previously, for years, the preview window 
> opened automatically.)  The result is at 
> http://easthope.ca/SanePreview.png 
> Ie. previewing and scanning appears to be impossible.
> 

Since you just upgraded to Stretch, have you verified that your HP
scanner drivers are using the most-recent version available? Perhaps you
should rerun "hp-setup" and reconfigure your scanner, and see if that helps.

-Matt




Re: LTE router usage.

2018-07-17 Thread peter
From: Roberto C. Sánchez 
Date: Tue, 17 Jul 2018 23:16:20 -0400
> It sounds like perhaps MTU or clamp MSS might need adjusting.  I can
> envision a situation where the router sends out packets that are just
> slightly larger than what the cell tower will route, causing the tower
> to split them.  It would double the number of packets and if the ISP is
> counting packets instead of bytes, then it would easily explain a factor
> of 2 increase.

Thanks Roberto,... Peter E.
-- 
Message composed and transmitted by software designed to avoid the 
need, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Re: LTE router usage.

2018-07-17 Thread Roberto C . Sánchez
On Tue, Jul 17, 2018 at 07:33:40PM -0700, pe...@easthope.ca wrote:
> 
> Seems the data measured by the carrier is larger than the data 
> estimated by the users.  The accounting by the carrier might be double 
> that estimated by the users.  They were told or read that the carrier 
> charges for transmission between router & client machine as well as 
> between router and cell tower.  That could explain a factor of two  
> but to me this seems irrational.  The carrier shouldn't be concerned 
> with transmission within the LAN.  The only explanation I can imagine 
> is that activity within the LAN causes delays in rounter operation, 
> which cause delays in communication between router and cell tower, 
> which degrades efficiency..
> 
It sounds like perhaps MTU or clamp MSS might need adjusting.  I can
envision a situation where the router sends out packets that are just
slightly larger than what the cell tower will route, causing the tower
to split them.  It would double the number of packets and if the ISP is
counting packets instead of bytes, then it would easily explain a factor
of 2 increase.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: LTE router usage.

2018-07-17 Thread peter
From: Dan Ritter 
Date: Mon, 9 Oct 2017 15:57:17 -0400
> The relevant details here are the LTE channels that the router's
> radio can tune:
> 
> 4G: FDD-LTE Cat4 (800/900/1800/2100/2600MHz)
> TDD-LTE (2300/2600MHz)
> 3G: DC-HSPA+/HSPA+/HSPA/UMTS (900/2100MHz)
> 2G: EDGE/GPRS/GSM (850/900/1800/1900MHz)
> 
> and how that matches up in Tanzania:
> 
> 900 18003G 2100 Airtel Tanzania; 3G 2100 Tigo; 3G
> 2100 Vodacom;   4G LTE Smile Tanzania - Vodacom 800Mhz; 4G LTE
> Tigo ; 4G LTE Smart Telecom; 4G LTE TTCL ; 4G LTE Zantel in
> Zanzibar ;
> 
> So, yes, it looks like you can buy a SIM and get LTE with this
> router in Tanzania.
> 
> There are various places where the radio frequencies won't
> match up; hopefully you aren't going to those.

Thanks Dan.  My friends now have the TP-Link MR200 working 
at their school in Tanzania.

Seems the data measured by the carrier is larger than the data 
estimated by the users.  The accounting by the carrier might be double 
that estimated by the users.  They were told or read that the carrier 
charges for transmission between router & client machine as well as 
between router and cell tower.  That could explain a factor of two  
but to me this seems irrational.  The carrier shouldn't be concerned 
with transmission within the LAN.  The only explanation I can imagine 
is that activity within the LAN causes delays in rounter operation, 
which cause delays in communication between router and cell tower, 
which degrades efficiency..

Has anyone encountered a question such as this?

Thanks,   ... Peter E.



-- 
Message composed and transmitted by software designed to avoid the 
need, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Differences between installs (was: Naive newbie question [Re: Debian got too fat?])

2018-07-17 Thread Stefan Monnier
>> I'm of the opinion we're all running different machines with
>> different sets of software, and this explains that (could be wrong,
>> though).
> I was just -so- sure we all had the exact same installs.

All joking aside: I've been maintaining about 4-5 Debian machines, all
using Debian testing and basically all obtained by cloning and updating
between them, hence all deriving from my "root" install performed some
time around 2003 (onto a Thinkpad X30 which I still use, still using
that same Debian testing).

While most "apt upgrade" are somewhat similar among those machines, I'm
surprised at how often I notice significant differences.


Stefan



Re: Can one Mount a usb Drive read-only?

2018-07-17 Thread Martin McCormick
 writes:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Yes, you can. Try
> 
>   sudo mount -oro /dev/ /mnt
> 
> (for a more concrete example, assuming your USB drive comes up as
> /dev/sdc and has one partition, say /dev/sdc1):
> 
>   sudo mount -oro /dev/sdc1 /mnt
> 
> Now if you are using a desktop environment, it will most probably
> mount things for you... but read/write.
> 
> You can remount it read-only like so
> 
>   sudo mount -oro,remount /dev/sdc1 /mnt
> 
> Perhaps your desktop environment has some knobs to do that. Here,
> I'll have to defer to more DE knowledgeable folks here.
> 
> Cheers

Thank you.  I see the error of my ways, now.  I had tried just
about everything except -oro and that worked perfectly.

Funny thing, it was /dev/sdc1 in this case but that was
pure coincidence.

We normally have a stable power situation, here, but
recently we had 4 small glitches in one day plus several more
before and after that day and anything mounted rw usually needs
the fsck procedure afterward to be sure it is still any good.

Nothing like power interruptions to make a fellow truly
paranoid.

Martin McCormick



Boot fails after power outage

2018-07-17 Thread Bill Horton
Debian 9.5 on Dell Poweredge T310.  After power outage, during boot, got the
below messages on the console:

Loading Linux 4.9.0-6-amd64 ...
Loading initial ramdisk ...
/dev/sda3: clean, 279518/18317312 files, 11798527/73242112 blocks
6.912603] ACPI Error: SMBus/IPMI/GenericSerialBus write requires Buffer of
length 66, found length 32 (20160831/exfield-427)
6.912762] ACPI Error: Method parse/execution failed [\_SB.PMI0._GHL] (Node
8b8ebe9ae460), AE_AML_BUFFER_LIMIT (20160831/psparse-543)
6.913015] ACPI Error: Method parse/execution failed [\_SB.PMI0._PMC] (Node
8b8ebe9aee38), AE_AML_BUFFER_LIMIT (20160831/psparse-543)
6.913284] ACPI Exception: AE_AML_BUFFER_LIMIT, Evaluating _PMC
(20160831/power_meter-755)

Nothing else was displayed so after 10 minutes or so I hit CTL-ALT-DEL.  The
system shut down then, displaying 30-40 messages during the shutdown
process.

I tried several workarounds to no effect.  Then I booted Debian 9.4 Live
from DVD (which had no problems booting) and looked in FSTAB on /dev/sda3
(root) to see what should have been mounted after /dev/sda3:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
# / was on /dev/sda3 during installation
UUID=fd77e2aa-5e75-4fe8-b52a-5811150fc417 /   ext4
errors=remount-ro 0   1
# /backup was on /dev/sdc1 during installation
UUID=eacce656-6154-42bf-911c-0818ff1074ea /backup ext3defaults
0   2
# /boot was on /dev/sda1 during installation
UUID=dd2ce01b-5ab7-4585-a44b-26886581f35d /boot   ext2defaults
0   2
# /storage was on /dev/sda4 during installation
UUID=39ae4fcb-3189-4190-9b0e-f5a291244dc3 /storageext4defaults
0   2
# swap was on /dev/sda2 during installation
UUID=92116329-d410-4dda-b2dc-503b83b4a2c2 noneswapsw
0   0
/dev/sr0/media/cdrom0   udf,iso9660 user,noauto 0   0
# /home was on /dev/sdb1 during installation (mounted as /newhome)
# below disk failed and was replaced on 2018-07-16
# UUID=5b9811c9-bdd6-48ea-b0fb-943b40cedbf3 /home   ext4defaults
0   2
UUID=8e89e13a-2da4-4eb4-9370-30e94f930216 /home   ext4defaults
0   2

I commented out the /dev/sdc1 on /backup line and tried booting again.  I
got the above error messages but then the boot
completed.  So I'm now able to boot my server again but I have to mount
/backup manually.  Any thoughts on how to fix
the problem so I can put /backup back in FSTAB?



Targeted Global B2B Companies emails list

2018-07-17 Thread rose . bryan

Hi,

I just wanted to check if you would be interested in a list of Managed  
Service Providers (MSPs) and Managed Security Service Providers (MSSPs)?


We also have the data intelligence of:

•Managed Service Providers (MSP’s) – 25,000 unique companies
•Managed Security Service Providers (MSSP’s) – 7,520 unique  
companies

•IT Decision Makers – 6million across all industry
•Business Decision Makers – 10 million across all industry
•Value Added Resellers- VARs
•Independent Software Vendors- ISVs
•System Integrators- SIs
•VoIP Service Providers.
•Telecommunications Service Providers (TSPs)
•Application Service Providers (ASPs)
•IT Managed Services Providers (ITMSP)
•Storage Service Providers (SSPs)

Kindly review and let me know if I can share more information on this.

I look forward to hearing from you.

Regards,
Rose
Marketing Specialist


Targeted Global B2B Companies emails list

2018-07-17 Thread rose . bryan

Hi,

I just wanted to check if you would be interested in a list of Managed  
Service Providers (MSPs) and Managed Security Service Providers (MSSPs)?


We also have the data intelligence of:

•Managed Service Providers (MSP’s) – 25,000 unique companies
•Managed Security Service Providers (MSSP’s) – 7,520 unique  
companies

•IT Decision Makers – 6million across all industry
•Business Decision Makers – 10 million across all industry
•Value Added Resellers- VARs
•Independent Software Vendors- ISVs
•System Integrators- SIs
•VoIP Service Providers.
•Telecommunications Service Providers (TSPs)
•Application Service Providers (ASPs)
•IT Managed Services Providers (ITMSP)
•Storage Service Providers (SSPs)

Kindly review and let me know if I can share more information on this.

I look forward to hearing from you.

Regards,
Rose
Marketing Specialist


Re: [Xen]: Heads UP: kernel from linux-image-4.9.0-7-amd64 might not boot on Xen

2018-07-17 Thread Andy Hawkins
Hi,

In article <9e5cd72f3a49245a58b3263d5976f96e.squir...@swampthing.dk>,
   Torben Schou Jensen wrote:
> Yep, I had same problem last night, lucky me I started by upgrading a test
> server before production server.
>
> I just see a workaround have been posted.
> This workaround work here while we wait for a real stable kernel update.
>
>   for 

Re: Can one Mount a usb Drive read-only?

2018-07-17 Thread john doe

On 7/17/2018 9:44 PM, Martin McCormick wrote:

The reason to do this is to protect data on thumb drives full of
archives.

When searching for information, most of the discussion
was from people who had root file systems which had been
corrupted so the mount process mounted them read-only.

In this case, all is well and the drives being mounted
contain archives which one doesn't want to lose so mounting them
as read-only would be a good way to protect them.



I would use the '-r' or '-o ro' option to the mount command.

https://linux.die.net/man/8/mount

--
John Doe



Re: Can one Mount a usb Drive read-only?

2018-07-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Jul 17, 2018 at 02:44:02PM -0500, Martin McCormick wrote:
> The reason to do this is to protect data on thumb drives full of
> archives.
> 
>   When searching for information, most of the discussion
> was from people who had root file systems which had been
> corrupted so the mount process mounted them read-only.
> 
>   In this case, all is well and the drives being mounted
> contain archives which one doesn't want to lose so mounting them
> as read-only would be a good way to protect them.  

Yes, you can. Try

  sudo mount -oro /dev/ /mnt

(for a more concrete example, assuming your USB drive comes up as
/dev/sdc and has one partition, say /dev/sdc1):

  sudo mount -oro /dev/sdc1 /mnt

Now if you are using a desktop environment, it will most probably
mount things for you... but read/write.

You can remount it read-only like so

  sudo mount -oro,remount /dev/sdc1 /mnt

Perhaps your desktop environment has some knobs to do that. Here,
I'll have to defer to more DE knowledgeable folks here.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltOSSQACgkQBcgs9XrR2kab+gCZAelUxR3R2+Lgj7C3WJCAoZjm
PJwAmwQh+2gEpFqqIGQhzovP25zQApi9
=funo
-END PGP SIGNATURE-



Can one Mount a usb Drive read-only?

2018-07-17 Thread Martin McCormick
The reason to do this is to protect data on thumb drives full of
archives.

When searching for information, most of the discussion
was from people who had root file systems which had been
corrupted so the mount process mounted them read-only.

In this case, all is well and the drives being mounted
contain archives which one doesn't want to lose so mounting them
as read-only would be a good way to protect them.  

Thank you.

Martin McCormick



Re: No sound/audio

2018-07-17 Thread 70147persson

Den 2018-07-12 kl. 00:37, skrev Ric Moore:


On 2018-07-11 at 18:38, Kent West wrote:

 On Wed, Jul 11, 2018 at 2:31 AM, <70147pers...@telia.com wrote:

 Hi all,

 I get no sound. After reinstalling Stretch a couple of months 
ago, the computer is silent.



 May be completely unrelated...

 Since upgrading to the 4.16.16-2 kernel, anytime I reboot my PC I 
boot into a soundless environment, with my sound system reporting my 
sound device as the "Dummy Sound Device" (or something similar). I can 
"sudo kill [timidity's PID]", and that's restores my sound.


 As I understand it, Timidity is taking exclusive hold of some audio 
file (/dev/sound ?) early in the boot process which prevents other 
apps (Pulse, ALSA, etc) from using that file.


 FWIW.

 --
 Kent West
 Westing Peacefully - http://kentwest.blogspot.com



On 07/11/2018 03:31 AM, 70147pers...@telia.com wrote:


So is there anyone who can give hints about what I have missed so far?


I hate to suggest this on the Debian list, but I installed 
Ubuntu-Studio to a separate partition which gives you fully functional 
jack and a real-time kernel to do your studio work with. Pretty darn 
fast, found my midi in no time and was up and running without the 
usual beating your head on the keyboard in frustration.


I be stupid, ...so I like it simple. Ric



Thank you Kent and Ric...
... for your efforts to solve my sound problems. I did stop Timidity, 
but no, it had no effect. Neither did a reboot. Your hint, Ric, to try 
Ubuntu, well I have not tried that, yet. It was many years ago I left 
that distribution after there decision regarding the desktop software 
Unity. After that Mint (LMDE) for a couple of years until I decided to 
take the full step over to Debian, where I am now, and has no plans to 
leave. OK, your suggestion was to have it on a separate partition, but 
unfortunately I have no left. All four primary partitions are occupied 
by other projects I have and have had. Well an partition in the extended 
one could certainly do, but, well, I have not tested yet.


But when examining my programmes I got what I wanted from Frescobaldi 
with LilyPond, and also from Denemo. Both of them are connected via 
Timidity. If also Ardour will work I have not tested yet. VLC is working 
fine, but never Firefox.


So I started reading on a support site for Firefox, and found a sentence 
saying that from version 53, you have to use PulseAudio for all sound in 
Firefox. It was like a stab into my back. So, what is this? I get a 
feeling of Microsoft: "Now we are so big that we decide what the people 
can use and do". Has Firefox become so big?


Nothing else, I love Firefox, and appreciate really the work all these 
volunteers are doing, but if I cannot get sound from that programme the 
way I prefer, I feel I am forced to look for another browser.


Anyone who knows a way to bypass the announced limitations?

Kaj



Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread Curt
On 2018-07-17, deloptes  wrote:
> Johann Spies wrote:
>
>> On Debian, how do I see what all the characters in a LateX font like
>> Linux Libertine O look like?
>
> I was using LyX and it shows the fonts and shapes (how chars would look
> like) AFAIR.
> Otherwise you may look for a good command to print the font (in a
> ghostscript or pdf file), but I don't have such command at hand.
>
> you can also check:
> https://www.overleaf.com/latex/examples/using-the-free-linux-libertine-fonts-in-latex/rhcnysrwsjmn#.W04oGJ19hhE
>
>
>

There is the 'fonttable' package. 

 The package provides commands to typeset a table of all the glyphs in a given
 font  and  to  typeset  an  example  of  regular  text.   For  font  designers
 it  provides commands to typeset a ‘test’ glyph among sets of glyphs from the
 font.

https://ctan.math.illinois.edu/macros/latex/contrib/fonttable/fonttable.pdf

-- 
The superintendent and the gang bosses all turned out with revolvers in black
holsters strapped around their waists and one of them made a speech in English
and another one Sicilian saying that this was a squareshooting concern that had
always treated laborers square and if they didn’t like it they could get the 
hell out. 
--John Dos Passos, 1919 (second book of U.S.A. trilogy)




Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread deloptes
Johann Spies wrote:

> On Debian, how do I see what all the characters in a LateX font like
> Linux Libertine O look like?

I was using LyX and it shows the fonts and shapes (how chars would look
like) AFAIR.
Otherwise you may look for a good command to print the font (in a
ghostscript or pdf file), but I don't have such command at hand.

you can also check:
https://www.overleaf.com/latex/examples/using-the-free-linux-libertine-fonts-in-latex/rhcnysrwsjmn#.W04oGJ19hhE





Sane via GIMP.

2018-07-17 Thread peter
Just updated this debian 9 and tried gimp > file > create > XSane > Device 
dialogue.
There chose the HP scanner.

A window entitled "xsane 0.999 C2500A:sg0" opened. There I selected 
Window > Show preview.  (Previously, for years, the preview window 
opened automatically.)  The result is at 
http://easthope.ca/SanePreview.png 
Ie. previewing and scanning appears to be impossible.

Ideas?

Thanks,  ... Peter E.


-- 
Message composed and transmitted by software designed to avoid the 
need, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202 
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread David Wright
On Tue 17 Jul 2018 at 11:49:45 (+0200), Johann Spies wrote:
> On Debian, how do I see what all the characters in a LateX font like
> Linux Libertine O look like?
> 
> Fontbook on OS X is a very good program to exactly see what a font looks like.

gwaterfall was mentioned here only a week ago.
AFAICT you get the lot, not just LaTeX fonts.

Cheers,
David.



Re: Loan companies

2018-07-17 Thread Matthew Crews
You might try the debian-legal list

Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email.

 Original Message 
On Jul 17, 2018, 06:25, Sheila Parker wrote:

> There are several loan companies set up thru Debian that are issuing loans in 
> my daughter Shaynna Parker’s name. Please contact me as soon as possible to 
> discuss assisting the authorities. I can be reached at 901-262-6776, my name 
> is Sheila Parker.
>
> Sent from my iPhone

Loan companies

2018-07-17 Thread Sheila Parker
There are several loan companies set up thru Debian that are issuing loans in 
my daughter Shaynna Parker’s name. Please contact me as soon as possible to 
discuss assisting the authorities.  I can be reached at 901-262-6776, my name 
is Sheila Parker.

Sent from my iPhone


Re: Git-server

2018-07-17 Thread Matijs van Zuijlen
On 17/07/18 11:04, Paul van der Vlis wrote:
> Eigenlijk dacht ik aan iets kleins en eenvoudigs. Misschien onzin hoor.
> Ik heb weleens gehoord over gitweb en git-http-backend, en er is vast
> nog veel meer.

Je kan in die categorie ook eens kijken naar gitea (gitea.io) en gogs
(gogs.io). De eerste is een community fork van de tweede. Ik heb er geen
ervaring mee, maar ze beloven respectievelijk een 'lightweight code
hosting solution' en 'A painless self-hosted Git service'.

Groet,
matijs



signature.asc
Description: OpenPGP digital signature


Re: Calculator with "tapes"

2018-07-17 Thread Greg Wooledge
People are talking about manually setting the "scale" variable in bc,
and using small values like 3 for it.

Please note that this the scale variable is NOT just used for rounding of
final results for display.  It's used for internal precision of storage
of ALL intermediate results.  Using a small scale can and will distort
your results.

I learned this the hard way.

Need an example?  OK.  Let's calculate 1.4 to the power of 50.5.

$ bc -l
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
1.4^50.5
Runtime warning (func=(main), adr=12): non-zero scale in exponent
20248916.23976437135118764865

As the warning indicates, you can't actually use a non-integer exponent
with the ^ operator in bc -l.  But you can rewrite it with a logarithm
and an exponent.  So let's do that.

e(50.5*l(1.4))
23958840.79914949898175198920

OK, that's too many digits, so now let's do the same thing with scale=3:

scale=3
e(50.5*l(1.4))
23394230.731

The result is substantially different.  This is because the scale is
used internally, NOT just on the final result.

If you use bc, always just use "bc -l" which sets a scale of 20, and
leave it set that way.  If you need a prettier result, take the result
from bc -l and use printf to round it.  Or use a programming language
that has floating point arithmetic support.



Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread Kent West
On Tue, Jul 17, 2018 at 4:49 AM, Johann Spies 
wrote:

> On Debian, how do I see what all the characters in a LateX font like
> Linux Libertine O look like?
>
> Fontbook on OS X is a very good program to exactly see what a font looks
> like.
>


westk@westkent:~/TOBY/MAC-to-NAME$ aptitude search font | grep manage
p  font-manager - font management application for the GNOME desktop
p  fontmanager.app - Font manager for GNUstep
p  fontypython - Find, view and manage font files of all kinds


I just installed font-manager and gave it a whirl; it looks like it might
do what you want.


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: Calculator with "tapes"

2018-07-17 Thread Curt
On 2018-07-17, Stefan Krusche  wrote:
>
> Alright, thanks for explaining, now I get it. Yes, okay, 3/9 mismatch. I just 
> quickly wanted to point out, that it is possible to store scale= in a config 
> file..

Yes, of course, we all understood that you were showing the example of
your own file--there was no confusion.


> Stefan
>
>


-- 
The superintendent and the gang bosses all turned out with revolvers in black
holsters strapped around their waists and one of them made a speech in English
and another one Sicilian saying that this was a squareshooting concern that had
always treated laborers square and if they didn’t like it they could get the 
hell out. 
--John Dos Passos, 1919 (second book of U.S.A. trilogy)




Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Jul 17, 2018 at 02:26:14PM +0200, Johann Spies wrote:
> On Tue, 17 Jul 2018 at 14:08,  wrote:

> > [fontsmpl]
> 
> Thanks!  I did not know about it.

Glad to help :)

> > Perhaps this is what you're looking for?
> 
> Not exactly, but it helps a lot.  Maybe it can be adapted to include
> all the utf-8 characters.  I will probably try such a thing.

That might become a thick book, then :-)

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltN4roACgkQBcgs9XrR2kbvWwCfbDuZWAZ8d072T43Lrj1UF5/A
D1wAnRLlkk97AcBi7sy7nb4Tkoo5u2bh
=jR4B
-END PGP SIGNATURE-



Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread Johann Spies
On Tue, 17 Jul 2018 at 14:08,  wrote:
> There's a TeX file whithin your texlive distribution (Debian's TeX comes as
> texlive these days) called fontsmpl.tex:
>
>   /usr/share/texlive/texmf-dist/tex/latex/tools/fontsmpl.tex
>
> Its documentation is in
>
>   /usr/share/doc/texlive-doc/latex/tools/fontsmpl.pdf
>

Thanks!  I did not know about it.

> Perhaps this is what you're looking for?

Not exactly, but it helps a lot.  Maybe it can be adapted to include
all the utf-8 characters.  I will probably try such a thing.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Calculator with "tapes"

2018-07-17 Thread Stefan Krusche
Am Dienstag 17 Juli 2018 schrieb Curt:
> On 2018-07-17, Stefan Krusche  wrote:
> > Am Dienstag 17 Juli 2018 schrieb Curt:
> >> On 2018-07-17, Stefan Krusche  wrote:
> >> > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness:
> >> >> bc FTW - so quick, so handy
> >> >>
> >> >> First line I always run though is:
> >> >>  scale=9
> >> >
> >> > When you don't want to type this every time:
> >> >
> >> > $ cat ~/.bcrc
> >> > scale=3
> >>
> >> Nein?
> >
> > Hi Curt,
> >
> > unfortunately I have absolutely no idea what you want to say by this
> > response which translates to "No?"... :-(
>
> Hi Stefan,
>
> Yeah, it was kind of a deliberate (and obscure)
> metathesis/anagram/bilingual play on words because he wants 9 (nein,
> nine) and you showed 3 (when he always wants nine)!

Alright, thanks for explaining, now I get it. Yes, okay, 3/9 mismatch. I just 
quickly wanted to point out, that it is possible to store scale= in a config 
file..

Stefan



Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Jul 17, 2018 at 11:49:45AM +0200, Johann Spies wrote:
> On Debian, how do I see what all the characters in a LateX font like
> Linux Libertine O look like?
> 
> Fontbook on OS X is a very good program to exactly see what a font looks like.

There's a TeX file whithin your texlive distribution (Debian's TeX comes as
texlive these days) called fontsmpl.tex:

  /usr/share/texlive/texmf-dist/tex/latex/tools/fontsmpl.tex

Its documentation is in

  /usr/share/doc/texlive-doc/latex/tools/fontsmpl.pdf

provided you've installed the texlive-latex-base-doc package. Otherwise
you can access that online e.g. here:

  http://texdoc.net/texmf-dist/doc/latex/tools/fontsmpl.pdf

Perhaps this is what you're looking for?

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltN3EYACgkQBcgs9XrR2kZEfQCeMuI8JV7Xz7mGm104VIfoNAqa
Hh4AnA+TAUuA++cOJHptQC4IzRr771wk
=RgX1
-END PGP SIGNATURE-



Re: A Different Naive Question [Re: Naive newbie question]

2018-07-17 Thread Greg Wooledge
quoting.
top
Stop

> On Mon, 2018-07-16 at 21:51 -0400, Michael Stone wrote:
> > Have you looked at lsb-base?

On Tue, Jul 17, 2018 at 05:57:58AM -0500, Austin LaBerta wrote:
> i can neither find the source on salsa (since as far as what i've found
> lsb-base is a stripped down version compared to the actual lsb specs?),
> nor a man entry. It has something to do with logging?

Here's a hint:

wooledg:~$ dpkg -L lsb-base
/.
/lib
/lib/lsb
/lib/lsb/init-functions
/lib/lsb/init-functions.d
/lib/lsb/init-functions.d/20-left-info-blocks
/usr
/usr/share
/usr/share/doc
/usr/share/doc/lsb-base
/usr/share/doc/lsb-base/NEWS.Debian.gz
/usr/share/doc/lsb-base/README.Debian.gz
/usr/share/doc/lsb-base/changelog.gz
/usr/share/doc/lsb-base/copyright



Re: Editor de jogos 2D e 3D

2018-07-17 Thread Leonardo S. S. da Rocha
Perfeito, é isso mesmo! a ideia era encontrar esse tipo de software só
que livre ou open.

Em 16 de julho de 2018 16:01, Vinícius Moraes  escreveu:
> Automaticamente interpretei como uma engine. Isto é, uma lib/framework para
> desenvolver jogos.
>
>
> --
> Vinícius Moraes
> Monitor de Introdução a Programação (if669) - 2018.1
> Monitor de Infra-Estrutura de Comunicação (if678) - 2016.2 - 2017.2
> Ciência da Computação - 2015.1 - UFPE - CIn
> (82) 9 9925-9508
>



Re: Calculator with "tapes"

2018-07-17 Thread Curt
On 2018-07-17, Stefan Krusche  wrote:
> Am Dienstag 17 Juli 2018 schrieb Curt:
>> On 2018-07-17, Stefan Krusche  wrote:
>> > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness:
>> >> bc FTW - so quick, so handy
>> >>
>> >> First line I always run though is:
>> >>  scale=9
>> >
>> > When you don't want to type this every time:
>> >
>> > $ cat ~/.bcrc
>> > scale=3
>>
>> Nein?
>
> Hi Curt,
>
> unfortunately I have absolutely no idea what you want to say by this response 
> which translates to "No?"... :-(

Hi Stefan,

Yeah, it was kind of a deliberate (and obscure)
metathesis/anagram/bilingual play on words because he wants 9 (nein,
nine) and you showed 3 (when he always wants nine)!

curty@einstein:~$  echo 'scale=2; 2.777 - 1.4744' | bc
1.3026

Oops. Should read the man page I guess*.

In other words, a complete waste of everybody's time as usual (by yours
truly, of course, meaning me).

* It seems division uses the scale variable, but not addition, subtraction, or
multiplication. They use the scale of the operands. "expr / expr".


> Kind Regards,
> Stefan
>
>


-- 
The superintendent and the gang bosses all turned out with revolvers in black
holsters strapped around their waists and one of them made a speech in English
and another one Sicilian saying that this was a squareshooting concern that had
always treated laborers square and if they didn’t like it they could get the 
hell out. 
--John Dos Passos, 1919 (second book of U.S.A. trilogy)




Re: A Different Naive Question [Re: Naive newbie question]

2018-07-17 Thread Austin LaBerta
i can neither find the source on salsa (since as far as what i've found
lsb-base is a stripped down version compared to the actual lsb specs?),
nor a man entry. It has something to do with logging?

I guess thats not very essential, although a breakage could be very
annoying for locating other problems.

On Mon, 2018-07-16 at 21:51 -0400, Michael Stone wrote:
> On Mon, Jul 16, 2018 at 08:11:20PM -0500, Octopus Octopus wrote:
> >as  states
> > 
> >For all practical concerns, you should consider the LSB
> > package orphaned (and
> >I should probably just go ahead and orphan it).
> > 
> > 
> >and if a lot of things depend on lsb-base, isn't that like, very
> > very bad?
> >Like 'a critical component of our system has been left
> > completely
> >unmaintained' bad?
> 
> Have you looked at lsb-base?
> 



Re: Git-server

2018-07-17 Thread Heiko

On 2018-07-17 11:44, Paul van der Vlis wrote:

Hoi Heiko en anderen,

Nog even over andere beperkingen van zo'n eenvoudig repository. Stel ik
clone de code van iemand anders, en breng er wat wijzigingen in aan.
Maar die ander zit ook niet stil en heeft ondertussen weer andere 
dingen

gedaan. Kan hij dan redelijk simpel bij mij alleen een bepaalde commit
bekijken en downloaden?


Jazeker, dat is een van de belangrijkere punten waar Git sterk is. Maar 
het git-gebruik is dan wel een nivo'tje hoger dan alleen push en pull. 
Hij (de ander) zal dan begrip moeten hebben van wat een "remote branch" 
is, en wat de verschillen tussen fetch, merge en pull zijn.


De simpelheid van de server setup maakt hierbij niet uit.

Groeten, Heiko




Groeten,
Paul

Op 17-07-18 om 11:25 schreef Heiko:

Dit eenvoudige recept betekent natuurlijk wel dat iedereen die de
http-server kan benaderen (dus langs firewall, .htaccess enz kan), je
hele repository kan vinden en lezen.

Een gevaar kan zijn dat iemand ooit per ongeluk iets geheims 
(password)
in een file in de git-repository zet. Snel even weer verwijderen is 
dan

niet voldoende omdat zoiets als git juist bedoeld is geschiedenis te
bewaren... En dan staat het wel gewoon op een web-server! Wel iets om
goed te beseffen en de web-server niet te breed open te zetten.

Al die meer of minder complexere oplossingen, zoals redmine, gitlab 
enz.
zijn er (naast 'mooie' web-interfaces) om dat soort dingen op te 
lossen

met accounts, authenticatie, en rechten rechteneheren. Maar daarmee is
de eenvoud dan wel weg.

Veel succes!

Groeten, Heiko


On 2018-07-17 11:09, Paul van der Vlis wrote:

Ah, onderstaande ziet er mooi uit!
Ga ik verder bestuderen, bedankt.

Op 17-07-18 om 10:53 schreef Heiko:

Hoi,

Als je dit al hebt:

  - SSH toegang voor jezelf
  - Een web-server (maakt niet uit welke) die statisch files 
serveert

vanuit een document root, bijvoorbeeld: /var/www

Dan is het verder vrij simpel:

  apt-get install git
  cd /var/www
  git init --bare jouw-repository.git
  cd jouw-repository.git
  cp -a hooks/post-update.sample hooks/post-update

Je hoeft dan nog alleen nog schrijf-toegang regelen (met chmod en 
chown)
op /var/www/jouw-repository.git voor je eigen (ssh) account. En dan 
is

de server klaar.

Jij kunt dan via SSH de repository clonen met:

  git clone ssh://jouw.server.net/var/www/jouw-repository.git

Vandaaruit kun je dan pushen.


De anderen kunnen een read-only kloon halen met:

  git clone http://jouw.server.net/jouw-repository.git

Ze kunnen dan van daaruit "git pull" doen.

Groeten, Heiko

[Bron:
https://git-scm.com/book/en/v1/Git-on-the-Server-The-Protocols#The-HTTP/S-Protocol]




On 2018-07-16 23:32, Paul van der Vlis wrote:

Hallo,

Ik zou graag een eenvoudig git-repository willen maken op een 
server
van mijzelf, waar ik mijn spullen naartoe kan pushen (via SSH lijkt 
me

praktisch) en waar een ander ze kan clonen via http(s). Wie heeft
advies, of weet een goede howto?  Mijn git kennis is nogal basic.

Groeten,
Paul








Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread Jerome BENOIT
Hello Johann,

On 17/07/18 13:49, Johann Spies wrote:
> On Debian, how do I see what all the characters in a LateX font like
> Linux Libertine O look like?

This looks as a LaTeX question rather then a Linux one.


> 
> Fontbook on OS X is a very good program to exactly see what a font looks like.
> 

Jerome


> Regards
> Johann
> 

-- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calcu...@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B



signature.asc
Description: OpenPGP digital signature


Re: Calculator with "tapes"

2018-07-17 Thread Stefan Krusche
Am Dienstag 17 Juli 2018 schrieb Curt:
> On 2018-07-17, Stefan Krusche  wrote:
> > Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness:
> >> bc FTW - so quick, so handy
> >>
> >> First line I always run though is:
> >>  scale=9
> >
> > When you don't want to type this every time:
> >
> > $ cat ~/.bcrc
> > scale=3
>
> Nein?

Hi Curt,

unfortunately I have absolutely no idea what you want to say by this response 
which translates to "No?"... :-(

Kind Regards,
Stefan



Re: Git-server

2018-07-17 Thread Wouter Verhelst
On Tue, Jul 17, 2018 at 11:44:39AM +0200, Paul van der Vlis wrote:
> Hoi Heiko en anderen,
> 
> Nog even over andere beperkingen van zo'n eenvoudig repository. Stel ik
> clone de code van iemand anders, en breng er wat wijzigingen in aan.
> Maar die ander zit ook niet stil en heeft ondertussen weer andere dingen
> gedaan. Kan hij dan redelijk simpel bij mij alleen een bepaalde commit
> bekijken en downloaden?

Ja.

cd $mijn_checkout
git remote add paul https://
git fetch paul

Nu heb ik al jou commits ook in mijn lokale repository zitten, en kan
ik gewoon "git merge paul/master" of "git cherry-pick "
of iets dergelijks doen.

(dit was één van de basisvereisten van git...)

-- 
Could you people please use IRC like normal people?!?

  -- Amaya Rodrigo Sastre, trying to quiet down the buzz in the DebConf 2008
 Hacklab



Re: Bind9 vragen

2018-07-17 Thread Wouter Verhelst
On Sun, Jul 15, 2018 at 01:38:50PM +0200, Paul van der Vlis wrote:
> Hoi Wouter en anderen,
> 
> Op 15-07-18 om 12:29 schreef Wouter Verhelst:
> > Ik had me in bovenstaande paragraaf inderdaad vergist. De glue is voor
> > de KSK, niet voor de ZSK. De ZSK kan je automatisch laten vervangen, de
> > KSK niet (daarvoor moet je de glue idd updaten).
> 
> Ook dat kan tegenwoordig automatisch als er een eerste geldige key op
> staat, kan deze worden vervangen. Kijk eens naar RFC 7344 en 8078.

Interesting; dat wist ik nog niet.

> Zelf heb ik ook het uploaden van de eerste keer nu geautomatiseerd, met
> de API van de registrar (ik gebruik opendomainregistry.net, mensen die
> interesse hebben kunnen de scripts krijgen).
> 
> >>> Bovenstaande is een directe kopie uit mijn live configuratie van een
> >>> domein waarin een aantal klanten met dynamisch IP-adres zitten. Bij de
> >>> klant draait een cronjob die gewoon een wget doet naar een CGI-script;
> >>> dat script draait dan nsupdate met een speciale "cgi" key, wat de zone
> >>> aanpast. Werkt perfect: dynamische DNS-updates met DNSSEC-ondersteuning
> >>> :-)
> >>
> >> Is dat vergelijkbaar met dyndns?
> > 
> > Sortof. Alleen draai je het zelf en heeft dyndns geen DNSSEC, VZIW.
> 
> O, leuk. Hier in NL heb je wat vaker een vast IP-adres dan in België
> denk ik. Maar hier rukt het dynamische gebeuren ook op, ahum.

Not sure. Op Belgacom ADSL loopt veranderde het vroeger zowat elke 24
uur, "because we can"; geen idee of dat nog het geval is (Belgacom is
een bende incompetente idioten, dus daar ben ik geen klant van ;-)

Telenet heeft dat nooit gedaan; wijziging van IP-adres gebeurt daar in
principe enkel als je een MAC-adres verandert, of een machine meer dan
een paar minuten uitzet en iemand anders met je IP-adres gaan lopen is,
of als ze werken aan hun infrastructuur uitvoeren en daardoor de DHCP
cache gecleared wordt, of dat soort dingen.

[...]
> >> Hoe controleert een computer of een programma dat?
> > 
> > DNSSEC is alleen veilig als er een ononderbroken keten van DS en DNSKEY
> > records is van een trust anchor (meestal de root key) tot het domein.
> > Als er ergens een onderbreking is, dan kan een aanvaller inderdaad valse
> > antwoorden voor die onderbreking genereren en claimen dat er voor child
> > domeinen geen DNSSEC aanwezig is.
> > 
> > Als een parent domein een DS record heeft voor een child domein, dan
> > MOET dat child domein een overeenkomstige DNSKEY record hebben. Is dat
> > niet het geval, dan wordt het domein als ongeldig gezien en genegeerd.
> > Als er een ononderbroken keten van DS en DNSKEY records bestaat van het
> > trust anchor tot het domein, dan kan een aanvaller alleen de afwezigheid
> > van DNSSEC faken door eerst een private key te kraken.
> > 
> > (Als dat gebeurt, dan is er uiteraard een probleem ;-)
> 
> Maar hoe weet je dat de parent een DS record heeft? Dat vraag je neem ik
> aan aan de nameserver. Als die nameserver niet te vertrouwen is, dan
> werkt dit dus niet.

Als de nameserver niet te vertrouwen is, dan kan die inderdaad foutief
aangeven dat het DS record niet bestaat -- maar dan moet hij voor DNSSEC
ook een NSEC of NSEC3 record meegeven, met een RRSIG record daarvoor.
Dat eerste kan hij; maar dat tweede niet zonder de key van de parent
nameserver. Die heeft hij niet, dus kan je resolver zien dat er geen
RRSIG record is of dat de handtekening daarvan niet correct is, en
gewoon die nameserver overslaan; hetzij door naar de tweede nameserver
in zijn lijst met geconfigureerde nameservers te gaan, of door een root
query te doen en zelf een cache op te bouwen.

> Ik bedacht me ook nog dat je ook nog een nameserver kunt neerzetten die
> gewoon niet aan DNSsec doet.

DNSSEC is normaal gezien transparant voor de nameserver. RRSIG, DS, en
DNSKEY records zijn ook gewoon records. Er is een manier om een
nameserver om records te vragen waar die nameserver zelf niet van op de
hoogte is.

Een nameserver kan inderdaad DNSSEC blokkeren, en je firewall kan ook
alle DNS queries naar overal behalve die slechte nameserver blokkeren,
maar dat valt wel op.

> Denk bijvoorbeeld aan een situatie bij het koffietentje op de hoek. Je
> logt in op de wifi, en je krijgt via DHCP een nameserver toegewezen. Les
> uit bovenstaande is volgens mij dat dit niet OK is, ook niet met dnssec.

Toch wel.

> Ook een ISP zou je in principe verkeerde gegevens kunnen geven. Volgens
> mij heel simpel via "split DNS".

Niet met DNSSEC.

> Eigenlijk lijkt het mij daarom het beste qua security om op b.v. een
> laptop zelf een nameserver te draaien, dat heb je zelf in de hand.
> 
> Wat ook nog een security aspect is als ik me niet vergis, is dat de
> root-keys geheel in handen zijn van de Amerikanen. Het lijkt me dat ze
> de boel kunnen vervalsen.

Dat is inderdaad zo: wie de root key heeft kan foutieve NS, DS, en
DNSKEY records de wereld insturen. Daar kan niks aan gedaan worden, en
dat is inderdaad een probleem.

De veiligheid van DNSSEC is gebaseerd op het axioma 

Linux equivalent of Apple's fontbook

2018-07-17 Thread Johann Spies
On Debian, how do I see what all the characters in a LateX font like
Linux Libertine O look like?

Fontbook on OS X is a very good program to exactly see what a font looks like.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Git-server

2018-07-17 Thread Paul van der Vlis
Hoi Heiko en anderen,

Nog even over andere beperkingen van zo'n eenvoudig repository. Stel ik
clone de code van iemand anders, en breng er wat wijzigingen in aan.
Maar die ander zit ook niet stil en heeft ondertussen weer andere dingen
gedaan. Kan hij dan redelijk simpel bij mij alleen een bepaalde commit
bekijken en downloaden?

Groeten,
Paul

Op 17-07-18 om 11:25 schreef Heiko:
> Dit eenvoudige recept betekent natuurlijk wel dat iedereen die de
> http-server kan benaderen (dus langs firewall, .htaccess enz kan), je
> hele repository kan vinden en lezen.
> 
> Een gevaar kan zijn dat iemand ooit per ongeluk iets geheims (password)
> in een file in de git-repository zet. Snel even weer verwijderen is dan
> niet voldoende omdat zoiets als git juist bedoeld is geschiedenis te
> bewaren... En dan staat het wel gewoon op een web-server! Wel iets om
> goed te beseffen en de web-server niet te breed open te zetten.
> 
> Al die meer of minder complexere oplossingen, zoals redmine, gitlab enz.
> zijn er (naast 'mooie' web-interfaces) om dat soort dingen op te lossen
> met accounts, authenticatie, en rechten rechteneheren. Maar daarmee is
> de eenvoud dan wel weg.
> 
> Veel succes!
> 
> Groeten, Heiko
> 
> 
> On 2018-07-17 11:09, Paul van der Vlis wrote:
>> Ah, onderstaande ziet er mooi uit!
>> Ga ik verder bestuderen, bedankt.
>>
>> Op 17-07-18 om 10:53 schreef Heiko:
>>> Hoi,
>>>
>>> Als je dit al hebt:
>>>
>>>   - SSH toegang voor jezelf
>>>   - Een web-server (maakt niet uit welke) die statisch files serveert
>>> vanuit een document root, bijvoorbeeld: /var/www
>>>
>>> Dan is het verder vrij simpel:
>>>
>>>   apt-get install git
>>>   cd /var/www
>>>   git init --bare jouw-repository.git
>>>   cd jouw-repository.git
>>>   cp -a hooks/post-update.sample hooks/post-update
>>>
>>> Je hoeft dan nog alleen nog schrijf-toegang regelen (met chmod en chown)
>>> op /var/www/jouw-repository.git voor je eigen (ssh) account. En dan is
>>> de server klaar.
>>>
>>> Jij kunt dan via SSH de repository clonen met:
>>>
>>>   git clone ssh://jouw.server.net/var/www/jouw-repository.git
>>>
>>> Vandaaruit kun je dan pushen.
>>>
>>>
>>> De anderen kunnen een read-only kloon halen met:
>>>
>>>   git clone http://jouw.server.net/jouw-repository.git
>>>
>>> Ze kunnen dan van daaruit "git pull" doen.
>>>
>>> Groeten, Heiko
>>>
>>> [Bron:
>>> https://git-scm.com/book/en/v1/Git-on-the-Server-The-Protocols#The-HTTP/S-Protocol]
>>>
>>>
>>>
>>>
>>> On 2018-07-16 23:32, Paul van der Vlis wrote:
 Hallo,

 Ik zou graag een eenvoudig git-repository willen maken op een server
 van mijzelf, waar ik mijn spullen naartoe kan pushen (via SSH lijkt me
 praktisch) en waar een ander ze kan clonen via http(s). Wie heeft
 advies, of weet een goede howto?  Mijn git kennis is nogal basic.

 Groeten,
 Paul
>>>
> 



-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Wrnrtheougj

2018-07-17 Thread Paul Kosub
E lovey you’d down

Sent from my iPhone


Re: Git-server

2018-07-17 Thread Heiko
Dit eenvoudige recept betekent natuurlijk wel dat iedereen die de 
http-server kan benaderen (dus langs firewall, .htaccess enz kan), je 
hele repository kan vinden en lezen.


Een gevaar kan zijn dat iemand ooit per ongeluk iets geheims (password) 
in een file in de git-repository zet. Snel even weer verwijderen is dan 
niet voldoende omdat zoiets als git juist bedoeld is geschiedenis te 
bewaren... En dan staat het wel gewoon op een web-server! Wel iets om 
goed te beseffen en de web-server niet te breed open te zetten.


Al die meer of minder complexere oplossingen, zoals redmine, gitlab enz. 
zijn er (naast 'mooie' web-interfaces) om dat soort dingen op te lossen 
met accounts, authenticatie, en rechten rechteneheren. Maar daarmee is 
de eenvoud dan wel weg.


Veel succes!

Groeten, Heiko


On 2018-07-17 11:09, Paul van der Vlis wrote:

Ah, onderstaande ziet er mooi uit!
Ga ik verder bestuderen, bedankt.

Op 17-07-18 om 10:53 schreef Heiko:

Hoi,

Als je dit al hebt:

  - SSH toegang voor jezelf
  - Een web-server (maakt niet uit welke) die statisch files serveert
vanuit een document root, bijvoorbeeld: /var/www

Dan is het verder vrij simpel:

  apt-get install git
  cd /var/www
  git init --bare jouw-repository.git
  cd jouw-repository.git
  cp -a hooks/post-update.sample hooks/post-update

Je hoeft dan nog alleen nog schrijf-toegang regelen (met chmod en 
chown)

op /var/www/jouw-repository.git voor je eigen (ssh) account. En dan is
de server klaar.

Jij kunt dan via SSH de repository clonen met:

  git clone ssh://jouw.server.net/var/www/jouw-repository.git

Vandaaruit kun je dan pushen.


De anderen kunnen een read-only kloon halen met:

  git clone http://jouw.server.net/jouw-repository.git

Ze kunnen dan van daaruit "git pull" doen.

Groeten, Heiko

[Bron:
https://git-scm.com/book/en/v1/Git-on-the-Server-The-Protocols#The-HTTP/S-Protocol]



On 2018-07-16 23:32, Paul van der Vlis wrote:

Hallo,

Ik zou graag een eenvoudig git-repository willen maken op een server
van mijzelf, waar ik mijn spullen naartoe kan pushen (via SSH lijkt 
me

praktisch) en waar een ander ze kan clonen via http(s). Wie heeft
advies, of weet een goede howto?  Mijn git kennis is nogal basic.

Groeten,
Paul






Re: Calculator with "tapes"

2018-07-17 Thread Curt
On 2018-07-17, Stefan Krusche  wrote:
> Am Dienstag 17 Juli 2018 schrieb Zenaan Harkness:
>> bc FTW - so quick, so handy
>>
>> First line I always run though is:
>>  scale=9
>
> When you don't want to type this every time:
>
> $ cat ~/.bcrc
> scale=3

Nein?

> Regards,
> Stefan
>
>
>


-- 
The superintendent and the gang bosses all turned out with revolvers in black
holsters strapped around their waists and one of them made a speech in English
and another one Sicilian saying that this was a squareshooting concern that had
always treated laborers square and if they didn’t like it they could get the 
hell out. 
--John Dos Passos, 1919 (second book of U.S.A. trilogy)




Re: Calculator with "tapes"

2018-07-17 Thread Gian Uberto Lauri
> "P" == Piotr   writes:

P> On Mon, 16 Jul 2018 12:57:58 -0400 Ken Heard
P>  wrote:

>> Does Debian have a calculator package which has the equivalent of
>> the tape produced by mechanical machines to show the entire
>> calculation.  I find such "tapes" essential when for example I am
>> adding a long list of numbers and need to check after the addition
>> is done to verify that all the numbers were entered correctly.

P> I use speedcrunch under X11 for this.

P> speedcrunch/stable,now 0.12.0-1 i386 [installed] High precision
P> calculator

Emacs calc

-- 
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 già sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO



Re: Git-server

2018-07-17 Thread Paul van der Vlis
Ah, onderstaande ziet er mooi uit!
Ga ik verder bestuderen, bedankt.

Op 17-07-18 om 10:53 schreef Heiko:
> Hoi,
> 
> Als je dit al hebt:
> 
>   - SSH toegang voor jezelf
>   - Een web-server (maakt niet uit welke) die statisch files serveert
> vanuit een document root, bijvoorbeeld: /var/www
> 
> Dan is het verder vrij simpel:
> 
>   apt-get install git
>   cd /var/www
>   git init --bare jouw-repository.git
>   cd jouw-repository.git
>   cp -a hooks/post-update.sample hooks/post-update
> 
> Je hoeft dan nog alleen nog schrijf-toegang regelen (met chmod en chown)
> op /var/www/jouw-repository.git voor je eigen (ssh) account. En dan is
> de server klaar.
> 
> Jij kunt dan via SSH de repository clonen met:
> 
>   git clone ssh://jouw.server.net/var/www/jouw-repository.git
> 
> Vandaaruit kun je dan pushen.
> 
> 
> De anderen kunnen een read-only kloon halen met:
> 
>   git clone http://jouw.server.net/jouw-repository.git
> 
> Ze kunnen dan van daaruit "git pull" doen.
> 
> Groeten, Heiko
> 
> [Bron:
> https://git-scm.com/book/en/v1/Git-on-the-Server-The-Protocols#The-HTTP/S-Protocol]
> 
> 
> 
> On 2018-07-16 23:32, Paul van der Vlis wrote:
>> Hallo,
>>
>> Ik zou graag een eenvoudig git-repository willen maken op een server
>> van mijzelf, waar ik mijn spullen naartoe kan pushen (via SSH lijkt me
>> praktisch) en waar een ander ze kan clonen via http(s). Wie heeft
>> advies, of weet een goede howto?  Mijn git kennis is nogal basic.
>>
>> Groeten,
>> Paul
> 



-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: Git-server

2018-07-17 Thread Paul van der Vlis
Op 17-07-18 om 10:18 schreef Frans van Berckel:
> Hoi Paul,
> 
> On Mon, 2018-07-16 at 23:32 +0200, Paul van der Vlis wrote:
> 
>> Ik zou graag een eenvoudig git-repository willen maken op een server
>> van mijzelf, waar ik mijn spullen naartoe kan pushen (via SSH lijkt
>> me praktisch) en waar een ander ze kan clonen via http(s). Wie heeft
>> advies, of weet een goede howto?  Mijn git kennis is nogal basic.
> 
> Heeft Gitlab niet zoiets? Dat gebruiken ze bij de NLLGG. Kan volgens
> mij prima, gewoon op je eigen server draaien. Ik hoor het graag.

Gitlab is inderdaad een optie, maar als ik me niet vergis best een
complexe zware applicatie. Misschien is het installeren heel simpel, dan
vind ik dat niet echt een probleem. Maar ik vind het prettig als het
resultaat wel gewoon op het filesysteem komt, en niet b.v. in een database.

RedMine is ook meer een complexe webapplicatie als ik me niet vergis.

Wat Gittolite is weet ik niet zo goed, het is volgens mij vooral goed in
access-control.

Eigenlijk dacht ik aan iets kleins en eenvoudigs. Misschien onzin hoor.
Ik heb weleens gehoord over gitweb en git-http-backend, en er is vast
nog veel meer.

Groeten,
Paul

-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/



Re: Git-server

2018-07-17 Thread Heiko

Hoi,

Als je dit al hebt:

  - SSH toegang voor jezelf
  - Een web-server (maakt niet uit welke) die statisch files serveert 
vanuit een document root, bijvoorbeeld: /var/www


Dan is het verder vrij simpel:

  apt-get install git
  cd /var/www
  git init --bare jouw-repository.git
  cd jouw-repository.git
  cp -a hooks/post-update.sample hooks/post-update

Je hoeft dan nog alleen nog schrijf-toegang regelen (met chmod en chown) 
op /var/www/jouw-repository.git voor je eigen (ssh) account. En dan is 
de server klaar.


Jij kunt dan via SSH de repository clonen met:

  git clone ssh://jouw.server.net/var/www/jouw-repository.git

Vandaaruit kun je dan pushen.


De anderen kunnen een read-only kloon halen met:

  git clone http://jouw.server.net/jouw-repository.git

Ze kunnen dan van daaruit "git pull" doen.

Groeten, Heiko

[Bron: 
https://git-scm.com/book/en/v1/Git-on-the-Server-The-Protocols#The-HTTP/S-Protocol]



On 2018-07-16 23:32, Paul van der Vlis wrote:

Hallo,

Ik zou graag een eenvoudig git-repository willen maken op een server
van mijzelf, waar ik mijn spullen naartoe kan pushen (via SSH lijkt me
praktisch) en waar een ander ze kan clonen via http(s). Wie heeft
advies, of weet een goede howto?  Mijn git kennis is nogal basic.

Groeten,
Paul




Re: Git-server

2018-07-17 Thread Frans van Berckel
Hoi Paul,

On Mon, 2018-07-16 at 23:32 +0200, Paul van der Vlis wrote:

> Ik zou graag een eenvoudig git-repository willen maken op een server
> van mijzelf, waar ik mijn spullen naartoe kan pushen (via SSH lijkt
> me praktisch) en waar een ander ze kan clonen via http(s). Wie heeft
> advies, of weet een goede howto?  Mijn git kennis is nogal basic.

Heeft Gitlab niet zoiets? Dat gebruiken ze bij de NLLGG. Kan volgens
mij prima, gewoon op je eigen server draaien. Ik hoor het graag.

Met vriendelijke groet,

-- 
Frans van Berckel
Media Engineer / Linux Master
LinkedIn: https://www.linkedin.com/in/fransvberckel/



Re: Debian got too fat?

2018-07-17 Thread Harald Dunkel

On 7/16/18 10:45 AM, Jonathan Dowland wrote:


My suggestion is unless you are prepared to adopt and maintain lsb-base,
(as Didier has made clear he wants to orphan it), find an alternative
tool to achieve what you want.



I am already running my private lsb-base package for several months.
The bug (#888743) put my environment at risk. Adding a workaround to
lsb-base was easier than creating private versions of all packages
affected.

Would you suggest to deprecate lsb-base?


Regards
Harri