-
DrKK`
potentially dumb question incoming:
-
DrKK`
what is the difference, between /usr/ports/sysutils/sysrc
-
DrKK`
and sysrc(8) built in?
-
RhodiumToad
qmr: what model, out of interest? and what vendor/device id?
-
RhodiumToad
DrKK: the port is obsolete
-
RhodiumToad
i.e. the port was created before the command was added to base
-
DrKK`
oh I see
-
DrKK`
sysrc has been in base since like George Bush Sr was President, no?
-
DrKK`
I must be misremembering
-
DrKK`
certainly since 2015 when I started using FreeBSD in earnest?
-
DrKK`
I am surprised there was a port.
-
RhodiumToad
sysrc was imported to base from ports in 2012
-
RhodiumToad
see commit 2a357efa9c
-
DrKK`
yeah.
-
DrKK`
thanks.
-
qmr
RhodiumToad: the usb3 reader?
-
RhodiumToad
ya
-
» RhodiumToad curious what to avoid
-
qmr
umass0: <Norelsys NS1081, class 0/0, rev 2.10/1.00, addr 2> on usbus1
-
qmr
bugzilla said it worked then stopped working w some patches
-
qmr
and person was able to get it working again playing w configs or source or something I don't want to dick around with it much now though
-
RhodiumToad
what's the output of usbconfig -d ... dump_device_desc
-
qmr
-
VimDiesel
Title: cuui
-
RhodiumToad
no, with the -d ... option specifying the reader device
-
RhodiumToad
usbconfig by itself will list the connected devices
-
qmr
like /dev/da something? It doesn't have that
-
RhodiumToad
ugenX.Y
-
RhodiumToad
for example, if I do usbconfig one of the output lines i have is:
-
RhodiumToad
ugen0.3: <Generic USB3.0 Card Reader> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (224mA)
-
qmr
oh derp it's not plugged in now
-
RhodiumToad
and then I can do
dpaste.org/uzNwz
-
VimDiesel
Title: dpaste/uzNwz (Plain Code)
-
qmr
-
VimDiesel
Title: dpaste/4i79r (Python)
-
qmr
hmm waiting like 10 minutes for directory listing of 1000 files over samba
-
qmr
computers are dumb
-
qmr
1073 items
-
RhodiumToad
local network or remote?
-
qmr
local
-
qmr
yea samba is shitting itself in the log files
-
qmr
I should have been a farmer
-
qmr
hmm seems vfs objects = zfsacl is required? and it seems it is per share not global? after putting that in the share it seems to be back to normal maybe
-
Serpent7776
Let's say I have Postgres running on ZFS. When I want to do zfs snapshot, can I do that while Postgres is running and handling requests?
-
RhodiumToad
yes
-
RhodiumToad
as long as the whole postgres data dir, including pg_wal, is in a single atomic snapshot
-
Serpent7776
ok, thanks
-
RhodiumToad
(there are ways to do it even if you have wal or tablespaces on separate datasets, etc., but it's more complex)
-
Serpent7776
Does atomic means some extra requirements compared to normal snapshots here? I really don't know much about zfs.
-
RhodiumToad
no, zfs snapshots are atomic
-
Serpent7776
awesome, thanks
-
Beladona
-
VimDiesel
Title: Mozilla Community Pastebin/Jr0g3tBt (Plain Code)
-
Demosthenex
V_PauAmma_V: good idea
-
angry_vincent
i have my own zfs layout ( quite different from default one ) and have question whether it is compatible with BE. i want to setup completely isolated BE for stable/14 for testing. naos/os/main is my /, it has bootfs flag set -
termbin.com/93qn
-
meena
angry_vincent: what's os/main? that correspond to zroot/ROOT ?
-
angry_vincent
yes, it is the same as zroot/ROOT/default
-
veg
very interested in your research, angry_vincent, as I don't like using "zroot" either, though in my case I just renamed the zpool to "system"
-
angry_vincent
my idea is to create completely isolated be with all my packages with all configs, etc. but for stable/14
-
moviuro
hello, I have a stray /tmp/pg_upgrade directory that doesn't go away upon reboot and that root can't remove:
x0.at/e2RE.txt
-
moviuro
chflags -R noschg pg_upgrade; rm -fr pg_upgrade
-
CmdLnKid
ls -lod ... directory will show you the current flags
-
siix_office
is the strongswan package required (or even recommended) to set up an ipsec tunnel? (ikev2 eap)
-
siix_office
it looks like since 11.1 we've had all the ipsec stuff built into the generic kernel
-
jkc
siix_office: The handbook doesn't say anything about strongswan.
-
jkc
-
VimDiesel
Title: Chapter 16. Security | FreeBSD Documentation Portal
-
jkc
Now, whether or not that supports IKEv2/EAP is another question.
-
jkc
I don't believe that it does.
-
siix_office
doesn't look like it to me either
-
siix_office
thanks jkc
-
jkc
of course.
-
gman999
is alfred perlstein still around?
-
gman999
i know i could look up his commits...
-
V_PauAmma_V
docs.freebsd.org/en/articles/contributors (if current) implies "still considered active".
-
VimDiesel
Title: Contributors to FreeBSD | FreeBSD Documentation Portal
-
_xor
-
VimDiesel
Title: FreshPorts -- editors/orbiton: Small, fast and limited text editor in Go
-
_xor
The description on that port made the chuckle lol. Just straight out listing its anti-features, which is refreshing heh. "Never asks before saving and quitting", "Home and End are not detected", "Must be given a filename at start", "Copy, cut and paste is only available for one line at a time", "Some letters cannot be typed in, like the 'ash'
-
_xor
grapheme"
-
njdoyle
Today I was looking at the test(1) man page. I was trying to figure out if it's better/more idiomatic/more portable to use -h versus -L. The POSIX documentation just repeats the same discription for both options. The GNU man pages note that the two options are the same. But the various BSD man pages have a bit extra... FreeBSD says this about the -h option: "Do not rely on its existence; use -L
-
njdoyle
instead." but OpenBSD and NetBSD say this about the -L option: "Do not rely on its existence; use -h instead.". I'm curious if anyone knows the story here behind this conflict? Or if anyone has insight one should really use (I suspect it doesn't really actually matter).
-
kenrap
_xor: part of the "worse is better" mantra :P
-
bobemoe
Hi all. I really want to try bsd. I have an instant show stopper.... I use pulsar-edit as my IDE, which is electron based and I cant see support arriving any time soon.
electron/electron #3797 so i'm wondering what editors people use? i'm looking for something fairly light but good plugin support. i code mainly c++, php, bash, html, css, js, php and the features i most use are git integration, multi-cursors, syntax highlighting,
-
bobemoe
linting, function indexing and autocomplete, building and jump to errors. i liked sublime-edit but its not foss. vscode is popular but i dont like M$ and its electron based.. i see a port but being electron based i dont know how well it works. i used genie a long time ago was ok i guess. so what do the bsd folks tend to use?
-
VimDiesel
Title: Add FreeBSD support to electron · Issue #3797 · electron/electron · GitHub
-
VimDiesel
-
TommyC
bobemoe: Have you heard about our lord and savior, emacs? The unholy ones use vim.
-
bobemoe
i have heard and tried but never really managed to get into it
-
bobemoe
maybe i should re-visit and persist
-
TommyC
bobemoe: Regardless of whether you choose vim or emacs, I do highly recommend using both with plugins. By themselves, they're kinda meh.
-
RhodiumToad
hm? emacs on its own is pretty good, though if you want git integration, magit is extremely good
-
signalblue
when standing up a new mail server with Postfix and Dovecot, is the recommended approach with LDAP or should I just stick to Unix users/aliases as on system?
-
signalblue
as in which method is cleaner/more reliable/time-tested/etc
-
debdrup
I'm not sure there's a meaningful difference in how much either has been tested; LDAP will ensure future interoperability should you want to expand things, but that can also be accomplished after the fact using user/group and aliases via PAM, I think.
-
debdrup
V_PauAmma_V: the contributors article isn't current by any means; alfred@ hasn't been active since 2007
-
bobemoe
TommyC, checking out emacs first, not sure i can ctrl that much!
xahlee.info/emacs/emacs/emacs_kb_shortcuts_pain.html but there seem to be solutions on that site too, i suffer a bit of rsi anyway so some new techniques while i learn a new editor might be a good time
-
VimDiesel
Title: Why Emacs Keys are Painful
-
kenrap
bobemoe: Emacs is also insanely customizable. Just keep in mind, to get the most out of emacs, you have to get used to it's key bindings approach.
-
bobemoe
RhodiumToad, yeah saw magit looks good
-
bobemoe
kenrap, yeah the keybindings do look quite confusing, trying to find some logic in there :/
-
bobemoe
its certainly a learning curve!
-
kenrap
There is logic and patterns to them, it's just a matter of if you like them or not.
-
signalblue
debdrup: I'll go with LDAP, thanks.
-
bobemoe
kenrap, yeah i figured there must be some logic to them, just not sure what it is yet ;) shame about the physical location of them on modern keyboards, just looking at some ergonomic specific coding keyboards
-
» RhodiumToad binds a lot of function keys :-)
-
kenrap
See? You really have to love that ^
-
kenrap
I'm too much of a lazy sinner to get the knack of it.
-
Beladona
Ok, am I missing something? chmod a+rx yt-dlp
-
Beladona
yt-dlp -> fish: Unknown command: yt-dlp
-
RhodiumToad
is it in your path?
-
Beladona
its in the folder Iam in
-
Beladona
I do `ls`, i see yt-dlp there
-
meena
Beladona: Unix doesn't put . in the path
-
RhodiumToad
the current directory is not usually on the path
-
Beladona
oh so I can't run it in any dir?
-
RhodiumToad
./yt-dlp
-
Beladona
same
-
Beladona
env: python3: No such file or directory
-
bobemoe
ebay.co.uk/itm/115862490391 looks awesome, nice ctrl placement, not sure about the price :/
-
VimDiesel
Title: Kinesis Advantage 2 KB600 Ergonomic Keyboard | eBay
-
RhodiumToad
there's a port for yt-dlp, I believe, which takes care of details like fixing the interpreter name
-
RhodiumToad
otherwise, install the python3 metaport
-
bobemoe
RhodiumToad, how many can you bind? just read something saying there was a limited number of user bindable keys, is that ture?
-
» V_PauAmma_V nods at debdrup.
-
Beladona
RhodiumToad I already have python311
-
Beladona
what metaport?
-
RhodiumToad
python3
-
kenrap
oh is python311 now the default version?
-
RhodiumToad
python3 just depends on the default python3x version and adds symlinks for "python3" etc.
-
Beladona
RhodiumToad
pastebin.mozilla.org/RazagMgS luajit issue again. maybe we locked it
-
VimDiesel
Title: Mozilla Community Pastebin/RazagMgS (Plain Code)
-
RhodiumToad
Beladona: why are you trying to install luajit-openresty?
-
bobemoe
thanks all for your input, i will certainly take a deeper look into emacs and vim.
-
_xor
I'd have probably used emacs more, but the three things that stop me from taking the time to do so are that 1) It was slow for certain things and though I don't remember exact details now, I ran into some issues with native compilation. My laptop is macOS and native compilation was somewhat painful there where as less painful on FreeBSD. 2) LSP
-
_xor
support, at the time at least, seemed to lag behind NeoVim and was slower too. 3) It's tough to get used to key chords when you're so used to modal commands/workflows :P
-
_xor
I do use emacs + org-mode heavily though.
-
_xor
Also, elisp > vimscript (though since it's lua now it's much easier).
-
_xor
...and yes, I know about evil mode.
-
Beladona
RhodiumToad its a python3 dep
-
RhodiumToad
no its not
-
_xor
wut
-
_xor
Heh, go further up the tree.
-
Beladona
-
kenrap
Yeah, I know how much vimscript sucks and why elisp is better at integrating customizations
-
_xor
There has got to be something else that's causing luajit-openresty to be pulled in like that.
-
kenrap
_xor: now that I recall it, Emacs 29 comes with native builtin support for LSP and 29.1 got released a month ago. So, you will need to cross out number 2 :)
-
RhodiumToad
Beladona: pkg rquery '%dn' python3
-
Beladona
RhodiumToad python39
-
Beladona
The most recent versions of packages are already installed
-
Beladona
pkg: Package database is busy while closing!
-
RhodiumToad
do you have any other instances of 'pkg' running?
-
Beladona
no
-
debdrup
"Package database is busy while closing" is a message I've been getting semi-periodically on 14-CURRENT, but since it was introduced with
freebsd/pkg 8af1054d995403 I'm wondering if it's indicative of some sort of race that existed.
-
VimDiesel
Title: Emit an error message if sqlite3_close() fails. · freebsd/pkg@8af1054 · GitHub