Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Bob Beck
read fucking code. change fucking things. send some fucking diffs. get fucking yelled at. learn from your fucking mistakes. show some fucking passion. filter fucking misc@ and all this useless bleating into the toilet. none of us have time to spoon feed you in some “boot camp” there are two

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Frank Beuth
On Wed, Jan 01, 2020 at 04:00:37AM +, e...@isdaq.com wrote: rather than the programmer being responsible for writing unsafe code we need to regulate what the programmer can do just like we need to regulate what the community can say, do, see, and think. where do I sign up for OpenBSD

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread eecd
> I like where this thread is headed. > > To expand on this idea, maybe we should demonstrate how diversity and > inclusiveness can work in an operating system via language choices. > Why stop at TCL and LUA? Or even scripting languages in general. Why > not Go, Rust, Haskell and Scala too? >

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Stuart Longland
On 1/1/20 6:06 am, Christer Solskogen wrote: > On Tue, Dec 31, 2019 at 5:50 PM Marc Espie wrote: > >> We did retire vax, and we no longer have any platform without dynamic >> libraries. >> >> > OT but: out of sheer curiosity, why didn't VAX support dynamic libraries? > Did vax have an MMU?

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Stuart Longland
On 1/1/20 3:13 am, danieljb...@icloud.com wrote: > I'm curious to know if there are any languages other than C and perl in > use in OpenBSD base. /bin/sh? *ducks* -- Stuart Longland (aka Redhatter, VK4MSL) I haven't lost my mind... ...it's backed up on a tape somewhere.

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Stuart Longland
On 31/12/19 10:57 pm, Daniel Boyd wrote: > As one of the few remaining people out there who considers perl to be their > favorite language—starting to wonder if it’s just me and Larry Wall at this > point—I’d like to say that perl should stay in base on its merits, all the > perl-based system

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Theo de Raadt
Steve Litt wrote: > On Tue, 31 Dec 2019 15:57:47 -0600 > Eric Zylstra wrote: > > > Proposing such a huge project without the ability to do it? I may > > have been a little disrespectful, but not the first one in the > > thread. And my point wasn’t to be disrespectful, but to point out > >

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Steve Litt
On Tue, 31 Dec 2019 15:57:47 -0600 Eric Zylstra wrote: > Proposing such a huge project without the ability to do it? I may > have been a little disrespectful, but not the first one in the > thread. And my point wasn’t to be disrespectful, but to point out > that most proposals unaccompanied by

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Daniel Boyd
We could always rewrite the entire operating system in Pascal. FreePascal and GNU Pascal are both GPL, so we’ll need to write a new compiler as well. Shouldn’t take too long. Who wants to go register openpascal.org? I’ll get a diff started program OpenBSD; begin { some code here } end. Sent

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Christopher Turkel
I am still waiting to this diff myself. On Tuesday, December 31, 2019, Theo de Raadt wrote: > I guess I'm saying in these trying times it is considered disrespectful > to dismiss completely labour-unsupported "ideas", obviously once we accept > the Great Idea the OP will sit down and do all the

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Theo de Raadt
I guess I'm saying in these trying times it is considered disrespectful to dismiss completely labour-unsupported "ideas", obviously once we accept the Great Idea the OP will sit down and do all the required work to prove the cast after the fact. Eric Zylstra wrote: > Proposing such a huge

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Eric Zylstra
Proposing such a huge project without the ability to do it? I may have been a little disrespectful, but not the first one in the thread. And my point wasn’t to be disrespectful, but to point out that most proposals unaccompanied by code and that don’t solve obvious problems don’t seem to be

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Theo de Raadt
Isn't it a bit disrespectful to assume someone on misc@ is going to write such a large diff? > Maybe the OP could just go ahead and replace all the Perl code with Lua and > then ask for feedback from the other devs? That is the OpenBSD way, right? > If it really is a great idea, they’d all be

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Eric Zylstra
Maybe the OP could just go ahead and replace all the Perl code with Lua and then ask for feedback from the other devs? That is the OpenBSD way, right? If it really is a great idea, they’d all be really excited. In any case, it would kill this thread. EZ Sent from my iPhone > On Dec 31,

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2019-12-31 Thread Anders Andersson
On Tue, Dec 31, 2019 at 4:30 PM Marc Chantreux wrote: > > On Tue, Dec 31, 2019 at 06:57:02AM -0600, Daniel Boyd wrote: > > As one of the few remaining people out there who considers perl to be > > their favorite language—starting to wonder if it’s just me and Larry > > Wall at this point—I’d like

Re: ttyC0 floods with error messages

2019-12-31 Thread Jon Fineman
"Raymond, David" wrote: > I get similar stuff on console 1 but not on the others on all my > OpenBSD machines. As I use X windows and have clean consoles 2-4 > available if necessary, I just ignore it. > > Dave Raymond > > > On 12/16/19, putridsou...@gmail.com wrote: > > The error does not

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Christer Solskogen
On Tue, Dec 31, 2019 at 5:50 PM Marc Espie wrote: > We did retire vax, and we no longer have any platform without dynamic > libraries. > > OT but: out of sheer curiosity, why didn't VAX support dynamic libraries?

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Luke A. Call
On 12-31 14:02, Raul Miller wrote: > On Tue, Dec 31, 2019 at 1:32 PM wrote: > > I'm curious to know if there are any languages other than C and perl in > > use in OpenBSD base. > It's pretty easy to download the sources for base, and then: > tar zxf src.tar.gz > find . -type f -name '*.*' | sed

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Daniel Corbe
I like where this thread is headed. To expand on this idea, maybe we should demonstrate how diversity and inclusiveness can work in an operating system via language choices. Why stop at TCL and LUA? Or even scripting languages in general. Why not Go, Rust, Haskell and Scala too? Hear me out.

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Paul Wisehart
On Tue, Dec 31, 2019 at 02:02:47PM -0500, Raul Miller wrote: > tar zxf src.tar.gz > find . -type f -name '*.*' | sed 's/^.*\.//' | sort | uniq -c | sort > -n | tail -40 That was fun, I learned about the -n option :) Thanks! wise@hup:/usr/src$ find . -type f -name '*.*' | sed 's/^.*\.//' | sort |

Re: Turbo boost and performance degradation

2019-12-31 Thread Raul Miller
This might be relevant: hw.setperf=0 See also: https://man.openbsd.org/cpu.4 -- Raul On Tue, Dec 31, 2019 at 1:57 PM Leo wrote: > > hi > > my russian friend has a trouble running OpenBSD > on his laptop, he reports that Turbo Boost is > not working (OpenBSD limits him to 1100 MHz), > he also

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Raul Miller
On Tue, Dec 31, 2019 at 1:32 PM wrote: > I'm curious to know if there are any languages other than C and perl in > use in OpenBSD base. It's pretty easy to download the sources for base, and then: tar zxf src.tar.gz find . -type f -name '*.*' | sed 's/^.*\.//' | sort | uniq -c | sort -n | tail

Turbo boost and performance degradation

2019-12-31 Thread Leo
hi my russian friend has a trouble running OpenBSD on his laptop, he reports that Turbo Boost is not working (OpenBSD limits him to 1100 MHz), he also reports that he owns /dev/drm0, but everything is slow, he can't even play videos in Firefox I attach his dmesg, Xorg.0.log and sysctl hw:

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread danieljboyd
Certainly, there are situations where perl isn't the best choice. And in those unfortunate situations, other languages may be considered, however begrudgingly. :) I'm curious to know if there are any languages other than C and perl in use in OpenBSD base. On Tue, Dec 31, 2019 at 05:39:03PM

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Roderick
On Tue, 31 Dec 2019, Theo de Raadt wrote: > Roderick wrote: >> I am curious to know why tcl, my fovourite scripting lanuage, would >> not be a candidate. [...] > Wow, it's a lot like you can't read. It is more an academic question. I wanted to know more objective critera than personal

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Theo de Raadt
Raul Miller wrote: > On Tue, Dec 31, 2019 at 11:46 AM Roderick wrote: > > I am curious to know why tcl, my fovourite scripting lanuage, would > > not be a candidate. > > If OpenLuaBSD would be a welcome fork, I don't see why OpenTCLBSD > would be any worse. > > Doesn't mean anyone wants to

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Raul Miller
On Tue, Dec 31, 2019 at 11:46 AM Roderick wrote: > I am curious to know why tcl, my fovourite scripting lanuage, would > not be a candidate. If OpenLuaBSD would be a welcome fork, I don't see why OpenTCLBSD would be any worse. Doesn't mean anyone wants to write it. -- Raul

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Theo de Raadt
Roderick wrote: > > > On Tue, 31 Dec 2019, Marc Espie wrote: > > > lua would definitely NOT be appropriate for that. The only half valid > > candidate would be python. > > I am curious to know why tcl, my fovourite scripting lanuage, would > not be a candidate. > > I suspect, tcl is being

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Marc Espie
On Tue, Dec 31, 2019 at 10:45:34PM +1000, Stuart Longland wrote: > On 31/12/19 3:54 pm, Marc Espie wrote: > > Contrary to what some people might think, the tools in question won't be > > easier to understand and manage if written in another language. > > I'm of the opinion that "if it ain't

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Roderick
On Tue, 31 Dec 2019, Marc Espie wrote: > lua would definitely NOT be appropriate for that. The only half valid > candidate would be python. I am curious to know why tcl, my fovourite scripting lanuage, would not be a candidate. I suspect, tcl is being underestimated, and the decission for one

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Marc Espie
On Tue, Dec 31, 2019 at 06:57:02AM -0600, Daniel Boyd wrote: > As one of the few remaining people out there who considers perl to be their > favorite language—starting to wonder if it’s just me and Larry Wall at this > point—I’d like to say that perl should stay in base on its merits, all the >

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Roderick
On Tue, 31 Dec 2019, Eike Lantzsch wrote: > system user XOR virtual user > That's what I have to setup now. Correct? As said, I had UW imap serving system user mailboxes, and now cyrus imap serving virtual users. You have to decide. With dovecot I have no other experience than compiling it. I

perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2019-12-31 Thread Marc Chantreux
On Tue, Dec 31, 2019 at 06:57:02AM -0600, Daniel Boyd wrote: > As one of the few remaining people out there who considers perl to be > their favorite language—starting to wonder if it’s just me and Larry > Wall at this point—I’d like to say that perl should stay in base on > its merits, all the

Re: openiked.org down?

2019-12-31 Thread Umgeher Torgersen
yeah, it's down... ; <<>> DiG 9.4.2-P2 <<>> openiked.org ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58691 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;openiked.org. IN A ;;

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Christopher Turkel
Perl is my favorite language, too. Perl can be gnarly but I love it. I have zero experience with Lua so I can’t judge it but I’d like Perl to stay in Base. On Tuesday, December 31, 2019, Daniel Boyd wrote: > As one of the few remaining people out there who considers perl to be > their favorite

Creating virtual users on vsftpd - OpenBSD

2019-12-31 Thread Hamdi Akyol
Hello everyone. I'm going to use vsftpd (on OpenBSD 6.6) on a production server. However, I've failed creating virtual users for that. There're many tutorials online (by using PAM) but it seems that OpenBSD doesn't support PAM. Any idea, any suggestions would be much appreciated! Thank you and

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Kevin Chadwick
On 2019-12-31 14:10, Kevin Chadwick wrote: > I believe the mail boxes are chrooted into too. Actually that may be incorrect with the chroot being more broad than that as they should be owned by root otherwise!

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Eike Lantzsch
On Tuesday, 31 December 2019 10:25:30 -03 Jona Joachim wrote: > On 2019-12-31, Roderick wrote: > > On Tue, 31 Dec 2019, Eike Lantzsch wrote: > >> I'm using an IMAP mailserver with dovecot which is entirely limited to my > >> local network. > >> It pulls my external mail with fetchmail. [...] > >>

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Kevin Chadwick
On 2019-12-31 13:13, Eike Lantzsch wrote: > I regret having mentioned fetchmail. > It happens as part of setting up dovecot with virtual users. Do you need virtual users. I saw all the guides recommending this and wrote scripts to manage system users instead. Every box is owned by the login user

openiked.org down?

2019-12-31 Thread lu hu
Hello, did anyone noticed that the https://openiked.org/ is down? NO "A" record is associated with the domain? Thanks for any infos.

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Eike Lantzsch
On Tuesday, 31 December 2019 10:36:38 -03 Roderick wrote: > On Tue, 31 Dec 2019, Eike Lantzsch wrote: > > > Is dovecot or fetchmail who create the mailboxes?! > > > > fetchmail doesn't configure anything, especially not mailboxes. > > I regret having mentioned fetchmail. > > It happens as part of

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Roderick
On Tue, 31 Dec 2019, Eike Lantzsch wrote: > > Is dovecot or fetchmail who create the mailboxes?! > fetchmail doesn't configure anything, especially not mailboxes. > I regret having mentioned fetchmail. > It happens as part of setting up dovecot with virtual users. If they are virtual users,

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Jona Joachim
On 2019-12-31, Roderick wrote: > > On Tue, 31 Dec 2019, Eike Lantzsch wrote: > >> I'm using an IMAP mailserver with dovecot which is entirely limited to my >> local network. >> It pulls my external mail with fetchmail. [...] >> user username1@foodomain.local.fantasea mailbox is owned by vmail

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Eike Lantzsch
On Tuesday, 31 December 2019 09:47:03 -03 Roderick wrote: > On Tue, 31 Dec 2019, Eike Lantzsch wrote: > > I'm using an IMAP mailserver with dovecot which is entirely limited to my > > local network. > > It pulls my external mail with fetchmail. [...] > > user username1@foodomain.local.fantasea

Re: The OpenBSD talk at 36c3

2019-12-31 Thread eecd
> seem to even know that stable exists. My original thought was that there were mal \ > intent. I think not now, unless it has been shaped by criticism. It is a highly \ no i think your first thought was right. there's clearly malice he just lacks the maturity to be forthright and honest

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Daniel Boyd
As one of the few remaining people out there who considers perl to be their favorite language—starting to wonder if it’s just me and Larry Wall at this point—I’d like to say that perl should stay in base on its merits, all the perl-based system tools notwithstanding. I decided learn perl

Re: ownership of mailboxes with dovecot

2019-12-31 Thread Roderick
On Tue, 31 Dec 2019, Eike Lantzsch wrote: > I'm using an IMAP mailserver with dovecot which is entirely limited to my > local network. > It pulls my external mail with fetchmail. [...] > user username1@foodomain.local.fantasea mailbox is owned by vmail [...] > Obviously dovecot has other ideas

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Stuart Longland
On 31/12/19 3:54 pm, Marc Espie wrote: > Contrary to what some people might think, the tools in question won't be > easier to understand and manage if written in another language. I'm of the opinion that "if it ain't broken, don't fix it". What is "broken" about Perl that we're trying to fix

ownership of mailboxes with dovecot

2019-12-31 Thread Eike Lantzsch
Greetings, I'm using an IMAP mailserver with dovecot which is entirely limited to my local network. It pulls my external mail with fetchmail. There is no functional problem with the setup just this concern. I can't manage to get around this: /usr/libexec/security: "# Mailboxes should be owned by

Re: The OpenBSD talk at 36c3

2019-12-31 Thread Kevin Chadwick
On 2019-12-31 05:19, g...@isdaq.com wrote: > he completely misses the mark. > rather than think "hmm 75% of commits are only 20 chars or less which seem Having watched the video now, that particular part of the talk is poor. He doesn't seem to even know that stable exists. My original thought