Re: Start point to learn OpenBSD programming

2020-03-16 Thread Marc Espie
On Mon, Mar 16, 2020 at 10:00:31PM +0100, Ingo Schwarze wrote: > Hi Martijn, > > Martijn van Duren wrote on Mon, Mar 16, 2020 at 09:24:26PM +0100: > > On 3/16/20 9:22 AM, Ingo Schwarze wrote: > >> Martijn van Duren wrote on Mon, Mar 16, 2020 at 08:52:54AM +0100: > > >>> On 3/16/20 8:23 AM, Martin

Re: Ports: how to install dependencies from binaries?

2020-04-09 Thread Marc Espie
On Tue, Apr 07, 2020 at 11:29:50PM -0400, Daniel Jakots wrote: > On Wed, 8 Apr 2020 13:12:54 +1000, Stuart Longland > wrote: > > > Silly question… how do you install the dependencies of a port from > > binaries automatically? > > https://man.openbsd.org/bsd.port.mk#FETCH_PACKAGES but it doesn't

Re: why the c99 mandate?

2020-04-10 Thread Marc Espie
On Fri, Apr 10, 2020 at 11:55:00AM +, Mayuresh Kathe wrote: > i am not a c hotshot, so pardon my ignorance. > i read that all new code under openbsd has to be c99. > may i know what's so special about c99 over c89 which has been under heavy > use for so long? Like duh, ISO-C99 bis mostly impro

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Sun, Apr 19, 2020 at 04:36:48PM +0200, Ingo Schwarze wrote: > All this is kind of typical for the pkg tools: one question typically > allows several different answers. There typically isn't one single, > canonical way of doing something. There typically isn't one unified > output format, but s

Re: Keeping distfiles actual with port tree and cleaning old distfiles from storage automatically

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 09:45:41AM +, Martin wrote: > I'm looking for a way to keep distfiles up-to-date locally with auto remove > 'old' ones in sync with actual ports tree. dpb + clean-old-distfiles even if you don't build/fetch with dpb, dpb -DHISTORY_ONLY will do exactly what you want.

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 02:48:20PM +0100, Chris Rawnsley wrote: > Hi Marc, > > On Mon, 20 Apr 2020, at 14:05, Marc Espie wrote: > > Actually, not having recursive depends easily available on an installed > > package base is somewhat tedu-ish. > > > > Most speci

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 02:48:20PM +0100, Chris Rawnsley wrote: > > BTW, any supplementary tool that does similar things directly in shell > > has exactly zero chance to be included in the distribution. > > Acknowledged. I put it out there for those that might find it useful > but was not expectin

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 07:45:37PM +0100, Kevin Chadwick wrote: > > > There are some unavoidable complexities to the sheer size of the tree, > > and the necessities of updates not to fail... > > I have noticed recently that I occasionally get a gz truncated message (I > think > due to tcp timeou

Re: pkg_add can't resolve package - bad major

2020-05-03 Thread Marc Espie
On Sun, May 03, 2020 at 12:58:41PM -0400, Chris Bennett wrote: > I have had this exact same problem before > > pkg_info -q > packages_installed > pkg_delete gettext. > pkg_add gettext-runtime > pkg_add -u > pkg_add -zl packages_installed > Update your procedures, use pkg_info -z and not pkg_add -

Re: fw_update verify firmware?

2020-05-14 Thread Marc Espie
On Thu, May 14, 2020 at 04:25:11AM +, Mogens Jensen wrote: > I was just trying out the fw_update program on OpenBSD 6.5, deleting/ > installing all the firmware and was wondering if fw_update will verify > the files before installing? Others pointed out that firmwares are signed. For a while

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-18 Thread Marc Espie
On Mon, May 18, 2020 at 01:07:36PM -0400, Andras Farkas wrote: > I saw in fsck_ffs.8 > https://man.openbsd.org/fsck_ffs.8 > that the answers could be found in > Fsck_ffs - The UNIX File System Check Program > This is perfectly fine. Not every piece of information belongs in a > man page. Man page

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-19 Thread Marc Espie
On Mon, May 18, 2020 at 08:43:19PM +0100, Ottavio Caruso wrote: > Some of these documents have a proprietary licence attached to it and > I believe it's due to the 1994 AT&T settlement. There are third party > collections (like this: https://github.com/sergev/4.4BSD-Lite2) but > I'm not sure if one

Re: OpenBSD sysupgrade rocks

2020-05-20 Thread Marc Espie
On Tue, May 19, 2020 at 07:06:05AM +, Frank Beuth wrote: > On Wed, May 20, 2020 at 02:07:27PM -0400, Chris Bennett wrote: > > Please don't beg for features. > > That's very irritating and wastes everyone's time. > > > > Please don't ask for features, once again. > > Really, I mean it. Don't as

Re: Why does OpenBSD still include Perl in its base installation?

2020-05-25 Thread Marc Espie
Another thing to consider: why is perl in the base system. Assume you need a script language, because writing everything in C is cumbersome. What are the choices ? - you need something under and acceptable licence, so python is out. (Artistic Licence is "close enough"); - you need something that

Re: Problem with pkg_add -uv after 6.7 upgrade on i386

2020-05-25 Thread Marc Espie
On Mon, May 25, 2020 at 01:01:07PM +0200, Paolo Aglialoro wrote: > Hello Folks, > > I just upgraded a PIII box freshly installed with 6.6 last month. > Everything went right with sysupgrade (big kudos do devs). > > Problems started when upgrading installed packages, here follows the output >

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 01:16:59AM -0300, Quantum Robin wrote: > Hi, > > While surfing on the Google to learn more about OpenBSD, I encountered this > one: "OpenBSD: Not Free Not Fuctional and Definetly Not Secure ( > https://aboutthebsds.wordpress.com/2013/01/25/20/) > > Is the author telling th

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 07:58:45PM +, Kevin Chadwick wrote: > On 2020-05-28 18:38, Amarendra Godbole wrote: > > It indeed is written by someone lacking knowledge about everything. It > > is funny, and gave me a good laugh - the comments are even funnier! > > Be aware that the author deletes yo

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 01:15:36PM -0700, Amarendra Godbole wrote: > Aha! So my hunch was right -- I thought that'd be the case seeing the > comments under your name that were totally out of character from your > posts here. > > -ag > > On Thu, May 28, 2020 at 12:08 PM Kevin Chadwick wrote: > >

Re: Forgetting pkg_add -u after sysupgrade can cause ansible msyscall errors

2020-05-31 Thread Marc Espie
On Sun, May 31, 2020 at 08:19:18PM +0200, Jurjen Oskam wrote: > Hi, > > For the sake of the archives and future search engine users, I'll share what > can happen when you use sysupgrade to upgrade your OpenBSD host but then > forget to run update your installed packages. (Yep, silly mistake, I kno

Re: writing aucat output

2020-06-05 Thread Marc Espie
On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > Hi, > > I'm wondering how I can write to stdout on aucat? Here is what I have: > > beta$ /usr/bin/aucat -r 44100 -h wav -i ewhist2.wav -o - | hexdump -C > stdout: failed to seek back to header > beta$ /usr/bin/aucat -r 44100 -h

Re: writing aucat output

2020-06-05 Thread Marc Espie
On Fri, Jun 05, 2020 at 01:02:18PM +0200, Peter J. Philipp wrote: > On Fri, Jun 05, 2020 at 12:50:53PM +0200, Marc Espie wrote: > > On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > > > Hi, > > > > > > I'm wondering how I can write

Re: __printflike macro on OpenBSD

2020-06-11 Thread Marc Espie
On Thu, Jun 11, 2020 at 04:37:34AM +, sensiblehue wrote: > Hello, > I was wondering why OpenBSD doesn't have a `__printflike' macro in > ? FreeBSD, NetBSD, and DragonflyBSD have it and it's also > available from libbsd on Linux. > Personally I think it's cleaner and just as portable if not more

Re: __printflike macro on OpenBSD

2020-06-11 Thread Marc Espie
On Thu, Jun 11, 2020 at 06:22:55PM +, sensiblehue wrote: > On Thu, Jun 11, 2020 at 03:08:01PM +0200, Marc Espie wrote: > > On Thu, Jun 11, 2020 at 04:37:34AM +, sensiblehue wrote: > > > Hello, > > > I was wondering why OpenBSD doesn't have a `__printflike&#

Re: New tool to (quickly) check for available package upgrades

2020-06-16 Thread Marc Espie
On Tue, Jun 16, 2020 at 04:59:07PM -0400, Jeremy O'Brien wrote: > Hey misc@, > > I wrote a quick little tool here: > https://github.com/neutralinsomniac/obsdpkgup in Go to show available package > upgrades from your configured mirror. > > It takes no more than a few seconds (the time it takes t

Re: New tool to (quickly) check for available package upgrades

2020-06-17 Thread Marc Espie
On Wed, Jun 17, 2020 at 08:28:02AM -0400, Jeremy O'Brien wrote: > On Tue, Jun 16, 2020, at 21:02, Marc Espie wrote: > > > > The concept you need to understand is snapshot shearing. > > > > A full package snapshot is large enough that it's hard to guarantee t

Re: New tool to (quickly) check for available package upgrades

2020-06-17 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:44:32AM -0400, Jeremy O'Brien wrote: > On Wed, Jun 17, 2020, at 08:47, Marc Espie wrote: > > On Wed, Jun 17, 2020 at 08:28:02AM -0400, Jeremy O'Brien wrote: > > > On Tue, Jun 16, 2020, at 21:02, Marc Espie wrote: > > > > >

Re: New tool to (quickly) check for available package upgrades

2020-06-18 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:12:08PM -, Stuart Henderson wrote: > This is already a problem when pkg_add fetches the directory listing > (though a smaller one because the filenames don't change as often). > > Firstly the contents of the mirror can change during the pkg_add run > so the listing b

Re: New tool to (quickly) check for available package upgrades

2020-06-18 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:12:08PM -, Stuart Henderson wrote: > On 2020-06-17, Marc Espie wrote: > > The only way you end up with broken installations is when porters don't do > > their jobs, that is they fail to bump a shared library or something like > > that. &

Re: How do I get the man page for a package I haven't installed yet?

2020-06-26 Thread Marc Espie
On Tue, Jun 23, 2020 at 12:20:35PM -0600, Theo de Raadt wrote: > Ottavio Caruso wrote: > > > Hi, > > > > Unless I've got it all wrong, will only > > display man pages for programs and commands in base. Is there a way to > > display the man page for a package/port I hav

Re: strlcpy version speed tests?

2020-07-01 Thread Marc Espie
On Wed, Jul 01, 2020 at 07:05:02AM -0500, Luke Small wrote: > Are you clinging to traditions for some purpose? I gave two different > versions. strlcpy3 is clearly more easily understood and even slightly > faster and strlcpy4 which sets up the following workhorse lines which > through timing the f

Re: Does OpenBSD support Carrier Grade Nat?

2020-08-07 Thread Marc Peters
On Fri, Aug 07, 2020 at 12:12:14PM +, Edward Carver wrote: > Does OpenBSD support Carrier Grade Nat (cg-nat)? > Thanks for helping.. My router sits behind one, so yes. hth, Marc

Re: Does OpenBSD support Carrier Grade Nat?

2020-08-07 Thread Marc Peters
ers may use pppoe for this. Your router will not be reachable via v4, of course. It's only available via IPv6. Best, Marc

Re: support new

2020-10-01 Thread Marc Chantreux
hello Ottavio, > BTW, for the non-initiated, what is this? https://www.openbsd.org/groups.html see the "this template" link to go there: https://www.openbsd.org/grp-tmpl.txt cheers, marc

Re: Host Header Redirection on openbsd.org

2019-08-05 Thread Marc Espie
Well, the main issue I've seen so far is you flooding my mailboxen with lots of copies of the same useless mp4 video. What a douche.

Re: Host Header Redirection on openbsd.org

2019-08-05 Thread Marc Espie
On Mon, Aug 05, 2019 at 08:59:46AM -0400, Daniel Jakots wrote: > On Mon, 5 Aug 2019 05:38:46 -0700, Claus Assmann > wrote: > > > On Mon, Aug 05, 2019, Marc Espie wrote: > > > [[...]] the same useless mp4 video. > > > > Maybe it is/contains an (attempt of a

Re: pkg_add -u fails on nonexistant package

2019-08-23 Thread Marc Espie
On Thu, Aug 22, 2019 at 07:40:28AM -0500, Jordon wrote: > Thanks - that fixed it. I figured there was some cleanup or maintenance that > needed to be done - i just didn't know how to do it. In running pkg_check, i > did get a lot of these: Packages normally don't need maintenance. What you're

Re: Impossible to remove a broken package on 6.5.

2019-09-10 Thread Marc Espie
On Fri, Sep 06, 2019 at 10:55:32AM +0200, Angelo Rossi wrote: > # pkg_delete -v kicad > Can't locate object method "updateset_with_new" via package > "OpenBSD::PkgDelete::State" at /usr/libdata/perl5/OpenBSD/Dependencies.pm > line 309. Update your pkg tools to -current, nothing bad will happen to

Re: Impossible to remove a broken package on 6.5.

2019-09-10 Thread Marc Espie
On Fri, Sep 06, 2019 at 07:13:21AM -0700, Chris Cappuccio wrote: > Angelo Rossi [angelo.rossi.home...@gmail.com] wrote: > > > > # pkg_delete -v kicad > > Can't locate object method "updateset_with_new" via package > > "OpenBSD::PkgDelete::State" at /usr/libdata/perl5/OpenBSD/Dependencies.pm > > li

Re: documentation for building a new package?

2019-09-10 Thread Marc Espie
On Tue, Sep 10, 2019 at 09:30:33AM +, Mayuresh Kathe wrote: > what do i need to read regarding steps and procedure > for building a new package and having it included in > the openbsd repository? Web site, porting information

Re: Impossible to remove a broken package on 6.5.

2019-09-10 Thread Marc Espie
More specifically: add an indirection to solving dependencies for pure pkg_delete, so that we don't end up constructing full UpdateSets for no reason Index: AddCreateDelete.pm === RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/AddCreate

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Sun, Sep 15, 2019 at 08:02:05AM +0200, Marcus MERIGHI wrote: > Morning Judah! > > koche...@hotmail.com (Judah Kocher), 2019.09.15 (Sun) 05:12 (CEST): > > I ran it and found too late that it installed all the x*, Comp and Game > > sets, which were not part of the original install. Unfortunately

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 09:01:47AM +0100, cho...@jtan.com wrote: > Marc Espie writes: > > I'm a bit surprised nobody looked at instrumenting what sets are actually > > installed on a machine during install/manual upgrade and cloning that > > into sysupgrade to a

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 01:15:06PM +0200, Paul de Weerd wrote: > On Tue, Sep 17, 2019 at 09:39:00AM +0100, cho...@jtan.com wrote: > | Marc Espie writes: > | > On Tue, Sep 17, 2019 at 09:01:47AM +0100, cho...@jtan.com wrote: > | > > Marc Espie writes: > | > > > I&#

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 01:08:45PM +0200, Florian Obser wrote: > On Tue, Sep 17, 2019 at 09:43:20AM +0200, Marc Espie wrote: > > I'm a bit surprised nobody looked at instrumenting what sets are actually > > installed on a machine during install/manual upgrade and cloning that

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 01:48:19PM +0200, Paul de Weerd wrote: > On Tue, Sep 17, 2019 at 01:27:23PM +0200, Marc Espie wrote: > | > By having each set install a specific file in a well-known location. > | > Before sysupgrade I wrote my own script to upgrade machines, this uses >

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 02:31:59PM -, Stuart Henderson wrote: > (To be clear, I think installing a restricted subset of the OS for > security reasons is pointless here, but can be really helpful when you > have to deal with limited space in partitions - and those just saying > "storage is cheap

Re: Desktop full text search

2019-09-18 Thread Marc Chantreux
dezi) and modified the cli dezi client. also wrote some lines of viml to ease navigation from my favorite editor. it's not polished at all but i'm really happy about the first iteration. i can post more if you want. regards marc

Re: Contribute to base

2019-10-10 Thread Marc Espie
On Wed, Oct 09, 2019 at 08:49:56PM +0200, ports wrote: > Hello everybody, > > I've been a great fan of openbsd for a while and wanted to start out > contributing to openbsd's base. > > For that reason I wondered if there is a recommended way of getting to > know how the internals of openbsd work.

Re: BACK TO BASICS (wikipedia's unix family tree)

2019-10-13 Thread Marc Chantreux
hello, > > The Unix landscape was fragmented long, long before Linux or the three > > modern BSDs even existed. according to https://upload.wikimedia.org/wikipedia/commons/7/77/Unix_history-simple.svg it started almost just after unix was born. regards. marc

about vim objects (Re: Requesting vi tips)

2019-10-18 Thread Marc Chantreux
, you can select nested objects by adding a selection { // the whole code { // the object i want to select { you are here } } } you can select the expected object using va{a{ HTH marc

Re: Requesting vi tips

2019-10-20 Thread Marc Espie
On Fri, Oct 18, 2019 at 03:45:42PM +0100, cho...@jtan.com wrote: > Claudio Jeker writes: > > set wl=72 will limit the line lenght to around 72. Additionally you > > can use !fmt with movement chars to reformat sections. I use !{fmt > > or {!}fmt frequently to reformat the paragraph I'm in. > > I d

Re: When will be created a great desktop experience for OpenBSD?

2019-10-28 Thread Marc Espie
On Fri, Oct 25, 2019 at 05:35:27PM +, flauenroth wrote: > Apparently not just theo is using fvwm after all. :) Considering all the people using it, it would be great if someone were to look at the enhancements of fvwm2 (wrong license, so not base) and backport some of these to our elderly fvw

Re: When will be created a great desktop experience for OpenBSD?

2019-10-28 Thread Marc Espie
On Mon, Oct 28, 2019 at 08:10:16AM -0700, Chris Bennett wrote: > On Mon, Oct 28, 2019 at 09:38:20AM +0100, Marc Espie wrote: > > On Fri, Oct 25, 2019 at 05:35:27PM +, flauenroth wrote: > > > Apparently not just theo is using fvwm after all. :) > > > > Consideri

Re: Tools for writers

2019-11-02 Thread Marc Chantreux
ript (to be replaced by elm) + stylus) the only one case where libreoffice is the good choice is if you mind the learning curve but writting a book is a long process, pay the bill at first to be more peaceful later seems to be a good deal to me. regards. marc

Re: Tools for writers

2019-11-03 Thread Marc Chantreux
u write most of the things just using markdown format and add latex instructions whenever you want. this way, you keep simple things simple but you keep the power of latex under the wood. regards marc

*roff and page layout ? (Re: Tools for writers)

2019-11-03 Thread Marc Chantreux
but i never made it work so i gave out. did i miss a fine didactic documentation about it ? regards marc ps: i think it was the plan9 troff, > documentation of groff is vastly superior to LaTeX, and LaTeX > documentation is so extremely huge and fragmented that it's > a terrible c

Re: Tools for writers

2019-11-03 Thread Marc Chantreux
hello, > Does _pandoc_ work on OpenBSD now? i realized i haven't try on BSD as my desktop remains a linux for the moment. sorry i lost the focus because of this very appealing thread. regards marc

Re: Tools for writers

2019-11-03 Thread Marc Chantreux
> My substitute for _pandoc_ is the _org-mode_ of emacs, which is for some > people also good for outlining etc. if i quit using vim some day, it will be for something lightweight so i'll never run emacs, i guess. regards marc

Re: Tools for writers

2019-11-05 Thread Marc Chantreux
put nor for > output, already makes me raise an eyebrow or two please contribute :) also: the support of troff was removed from graphviz many years ago. how sad is it? > did, i still wouldn't see what it could possibly be useful for. you don't have non technical colleagues, don't you ? Sincerely marc

Re: Tools for writers

2019-11-05 Thread Marc Chantreux
n't know the good way to do it. the idea is to have the layout used in my organization so i can generate some reports using troff to generate pdf. this would be awesome but setting up a page layout is out of my scope and i haven't found a didactic documentation to just dive in the problem. any help would be much welcome. regards, marc

Re: Tools for writers

2019-11-05 Thread Marc Chantreux
docs. the only format that made me really unhappy for the moment is troff but i still hope i'll have fun with it at some point. regards marc

Re: Tools for writers

2019-11-05 Thread Marc Chantreux
less use of wysiwyg tools ... which is more abominable). let me ruin your day: are you aware of scdoc? https://git.sr.ht/~sircmpwn/scdoc i really appreciated reading about you opinion. thank you. regards marc

Re: Tools for writers

2019-11-06 Thread Marc Chantreux
wasn't even wanting to: this one was mostly a joke to tickle you then it ends up to a really interesting and constructive answer. thanks a lot. marc

Re: Is there an easier way to browse ports?

2019-11-07 Thread Marc Espie
On Wed, Nov 06, 2019 at 04:44:48PM -0600, Adam Thompson wrote: > Also http://openports.se/ and http://ports.su/ . Don't use those, they don't know how the openbsd ports are named.

Re: Relayd in docker

2019-11-07 Thread Marc Chantreux
er on top of cgroups and linux namespaces: there is no way to have a openbsd docker. > If not i guess i have to compile it and run it on a linux docker > image... please report any sucess on it: i'm interested. regards marc

Re: Is there an easier way to browse ports?

2019-11-07 Thread Marc Espie
On Thu, Nov 07, 2019 at 08:03:54AM -0600, Adam Thompson wrote: > Oh, ok... Do you recall an example offhand? (I haven't noticed systemic > problems with either, but then I'm hardly a ports expert!) > Thanks, > -Adam About anything that's an heavy flavor/pseudo-flavors/multi-packages user. There's

Re: pkg_info -Q bug?

2019-11-19 Thread Marc Espie
On Tue, Nov 19, 2019 at 12:13:37PM +0200, Dumitru Moldovan wrote: > On Mon, Nov 18, 2019 at 11:15:05AM +0100, Antonio Bibiano wrote: > > Hello, > > I just wanted to add to this thread that I incurred in the same > > issue on a fresh 6.6 installation. > > I also tried with a different mirror in /etc

Re: Installing OpenBSD -current snapshots

2019-11-28 Thread Marc Espie
On Wed, Nov 27, 2019 at 08:05:30PM -0600, Clay Daniels wrote: > I have successfully installed OpenBSD 6.6 release and would like to give > the Current Snapshots a try. I went to a mirror, and to: Just run sysupgrade -s Done.

Re: How to use proot?

2019-12-28 Thread Marc Espie
On Fri, Dec 27, 2019 at 06:35:34PM -0800, Xiyue Deng wrote: > Hi, > > I'm trying to set up a chroot for dpb using proot, but it looks like I'm > doing something wrong and nothing has been created in the chroot > directory. According to proot man page the following command should be > sufficient,

Re: How to use proot?

2019-12-30 Thread Marc Espie
On Mon, Dec 30, 2019 at 01:11:51PM -0800, Xiyue Deng wrote: > (Adding misc@openbsd.org back to CC.) > > Marc Espie writes: > > > Just have your ports tree checked out under your mount point. > > Next time it will be much faster ;) > > Unfortunately my loongson box

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

2019-12-30 Thread Marc Espie
Removing perl from base would be very painful. I don't fancy rewriting all the perl tools in something else (specifically, most of the ports and package infrastructure) lua would definitely NOT be appropriate for that. The only half valid candidate would be python. Contrary to what some people m

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

2019-12-31 Thread Marc Chantreux
still: i will be curious to know the perl popularity in the openbsd community. regards. marc

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: 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 o

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

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 10:36:15PM +0100, Anders Andersson wrote: > Of course its age is showing in some areas but in my experience, those > things are actually still worked on, and have been fixed without major > incompatibilities (python3 anyone?). The only thing that's really missing in perl is

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

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 10:01:50PM -0500, 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

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

2020-01-01 Thread Marc Espie
On Wed, Jan 01, 2020 at 10:06:47AM +0100, Anders Andersson wrote: > On Wed, Jan 1, 2020 at 4:51 AM Stuart Longland > wrote: > > > Perl 6 will be a major change though, more disruptive than the Python2→3 > > mess was. So we may be in for some "fun" in the near future. > > Gotta stop this before

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

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 09:06:38PM +0100, 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 did

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

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 11:56:46PM -0700, Bob Beck wrote: > 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 o

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

2020-01-01 Thread Marc Chantreux
ates by default on ARGV, not on STDIN: ARGV is what you need to know when you want to write a filter but it's way too magic when you don't know the unix philosophy. * when perl gained popularity (the realm of CGIs), lot of aweful scripts were written by newbies both in perl and unix. the result was terrible and gave perl a very bad reputation. regards marc

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

2020-01-01 Thread Marc Chantreux
source of inspiration of Dancer which, AFAIK, appears years before flask and bottle. ActiveRecord was easier than DBIx::Class for simple situations. that's one of the reasons of the popularity of RoR (also the Ruby syntax). regards marc

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

2020-01-01 Thread Marc Chantreux
all the future implementations of perl6 (now raku). Now there is a complete community around the current defacto official backend (named rakudo). raku is the perl of 2020: a dynamic langage that is ahead of its time made by an inspiring, competent and dedicated community which suck at marketing. regards marc

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

2020-01-01 Thread Marc Chantreux
hello, > The only thing that's really missing in perl is proper thread support. > Don't know if that's going to happen. just to be sure: are you aware of the MCE module? https://metacpan.org/pod/distribution/MCE/lib/MCE.pod regards marc

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

2020-01-01 Thread Marc Espie
On Wed, Jan 01, 2020 at 03:43:38PM +0100, Marc Chantreux wrote: > hello, > > > The only thing that's really missing in perl is proper thread support. > > Don't know if that's going to happen. > > seems ... complicated ... Tell me about it. The only existi

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

2020-01-01 Thread Marc Chantreux
to win. Well... i liked the simplicity until i had some cases like having 2 different DBs with the same model: piece of cake with DBIxC and impossible with ActiveRecord (AFAIR). regards marc

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

2020-01-01 Thread Marc Espie
On Wed, Jan 01, 2020 at 04:44:48PM +0100, Marc Chantreux wrote: > > I still thing DBIx::Class is overkill. The DB::Rose stuff was way simpler > > and I would have preferred for it to win. > > Well... i liked the simplicity until i had some cases like having 2 > different DB

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

2020-01-01 Thread Marc Chantreux
> Did you ever look at the suite of modules from John Syracusa (DB::Rose and > the like) ? fairly clean and nice. I had this under my radar but no one around be wanted to test anything else but DBIxC so i never took time to read the code or use it. regards marc

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

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 07:34:22PM +1000, Stuart Longland wrote: > On 2/1/20 12:30 am, Marc Chantreux wrote: > > * the python community was unfair comparing the langages (using ugly > > perl code and nice python counterparts). instead of taking time to > > explain

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

2020-01-02 Thread Marc Chantreux
hello Stuart, > Heh, I've heard Perl described as executable line noise, and for sure, > it will let you write code like that. arf ... i just tried to explain were this "linenoise" bullshit came from just in the answer i gave to frank regards marc

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

2020-01-02 Thread Marc Chantreux
thon became bearable (so much saner than php or js) and a good tool for teaching OO. * both python and perl are langages from the last millenium with lot of issues that are fixed in raku. so that's the spot i switched to. cheers marc

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

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 12:40:51PM +0100, Marc Chantreux wrote: > the quoting system > > # qw( for a list of barewords ) > my %user = qw( > login mc > shell /bin/zsh > ); > print $user{login}; I wouldn't write it that way my %

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

2020-01-02 Thread Marc Chantreux
showcase what a *smart* quoting system can do. well ... i prefer the way i wrote because i love to: * remove useless symbols * read columns but yes: the drawback of perl is: there are so many ways to do it so every project needs a clear coding style. regards marc

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

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 04:22:08PM +0100, Marc Chantreux wrote: > hello, > > > > my %user = qw( > > > login mc > > > shell /bin/zsh > > > ); > > > print $user{login}; > > > my %user = ( login => 

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

2020-01-02 Thread Marc Chantreux
> I will always lean towards idiot-proofing the code. :)) fair enough. regards marc

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

2020-01-02 Thread Marc Chantreux
On Thu, Jan 02, 2020 at 10:42:54AM -0600, danieljb...@icloud.com wrote: > I don't understand why people say that perl's flexibility is a negative. because sometimes, flexibility permit some endless sterile debates about the coding style. marc

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

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 07:49:28PM +0100, Marc Chantreux wrote: > On Thu, Jan 02, 2020 at 10:42:54AM -0600, danieljb...@icloud.com wrote: > > I don't understand why people say that perl's flexibility is a negative. > > because sometimes, flexibility permit some endless st

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

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 03:24:41PM -0500, Chris Bennett wrote: > mod_perl, from reading the mailing list, looks like it will die off > before long. Lack of developers and funding and interest given all the > newer replacements. Don't even think about using mod_perl these days. Fast-cgi is the way

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

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 02:40:25PM -0600, danieljb...@icloud.com wrote: > What if you want named parameters? (i.e. sending a hash as your > argument) > > sub m4 > { > my $self = shift; > my %args = @_; > > # and then optionally > my ($arg1, $arg2, $arg3) = @args{qw/arg1 arg2 arg3/

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

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 04:10:43PM -0500, Paul Wisehart wrote: > On Thu, Jan 02, 2020 at 09:12:42PM +0100, Marc Espie wrote: > > > > Here are my current guidelines for OpenBSD perl tools. > > > > Can you eleborate in greater detail? > Not really, just go read th

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

2020-01-02 Thread Marc Chantreux
> You have something like 3 lines of perl to play with ;) is there a todo list somewhere ? regards marc

<    1   2   3   4   5   6   7   8   9   10   >