-
hernan
hi! there is this pkg, pulseeffects (that enhances audio output) that doesnt build/exist in current. Is there some place i can find it ? i would be ok if i could create a bhyve vm with that old port just for listening music
-
hernan
i mean find the old pkg
-
rtprio
hernan: is it no longer in ports?
-
rtprio
looks like it's not a package because it's broken:
freshports.org/audio/pulseeffects
-
VimDiesel`
Title: FreshPorts -- audio/pulseeffects: Audio effects for Pulseaudio applications
-
xa0z
pulseaudio is crap
-
meena
how do i find the CD/DVD device?
-
meena
That feels like a noob question, but, hey 🤷🏻♀️
-
meena
I'm not seeing anything in dmesg, but camcontrol devlist shows it
-
kenrap
Apparently there is a cd(4) driver and it should show up as /dev/cd[0-9][a-h]
-
meena
showed it… when it was SATA, doesn't show it for SCSI…
-
kenrap
ah
-
meena
let's switch back and try again
-
kenrap
external CD/DVD device?
-
meena
kenrap: it's a VM
-
kenrap
Ah
-
meena
i just noticed that cd(4) references the soon to be deprecated bsdlabel(8)
-
lw
meena: doesn't devlist tell you the device name?
-
meena
lw: nope, just the bus: <QEMU QEMU DVD-ROM 2.5+> at scbus0 target 0 lun 0 (pass0)
-
lw
you do have cd(4) in the kernel, right?
-
lw
(it is in generic)
-
meena
good question
-
meena
it is generic, but it's generic-mmccam
-
meena
let's reboot into GENERIC
-
meena
it should work in GENERIC-MMCCAM, and if it doesn't i should file a bug
-
lw
SCSI CD drives are pretty unusual, i wonder if this code has even been tested recently
-
apteryx
hi! can I run a single test using kyua?
-
apteryx
actually, I'm trying to debug erros I get in kyua's own test suite
-
dstolfa
apteryx: kyua debug ...
-
meena
works in GENERIC
-
lw
i don't see anything in GENERIC-MMCCAM that would stop it working
-
lw
must be something 'options MMCCAM' does i guess?
-
meena
what ever it does, it shouldn't have any affect on cd(4)
-
meena
wait a minute
-
meena
i just remembered that GENERIC-MMCCAM is based on MINIMAL on amd64
-
lw
oh, i was looking at the arm64 one
-
lw
why isn't it called MINIMAL-MMCCAM then?
-
apteryx
re kyua test suite errors, this is what I see:
bsd.to/Yrx6
-
VimDiesel`
Title: dpaste/Yrx6 (Plain Text)
-
meena
or why doesn't it just include GENERIC if it's called that?
-
meena
-
lw
quickly bat-programmers, to the bug report form!
-
VimDiesel`
Title: Mmccam vs minimal by igalic · Pull Request #798 · freebsd/freebsd-src · GitHub
-
lw
ah you already did
-
meena
i should add `device cd` here:
freebsd/freebsd-src #962
-
VimDiesel`
Title: amd64 & i386: enable VIMAGE in MINIMAL by igalic · Pull Request #962 · freebsd/freebsd-src · GitHub
-
lw
oh that PR is like a year old
-
meena
good grief what
-
meena
oh, right. wow.
-
lw
well, a year old if your years have 8 months
-
meena
look, in most places that don't celebrate Halloween, once you're past August, they start putting christmas stuff in the supermarkets so you know it's just going downhill from there
-
meena
anyway, once you actually boot the kernel with `device cd` in it, `camcontrol eject cd0` doesn't actually eject this (virtual) cd
-
hernan
rtprio: but is the old pkg available for download somewhere ?
-
meena
hernan: probably not
-
meena
you might be able to turn back the clock and see which older version builds, or you could try to get it to compile yourself
-
» meena switches back to SCSI to see if that will eject
-
apteryx
where is the kyua database schema supposed to be installed?
-
apteryx
I try running single tests of the kyua test suite like so: integration/cmd_report_test filter__ok
-
hernan
thanks meena
-
apteryx
and I get: kyua: E: Cannot read database schema '/gnu/store/jay961fw6xir7hbpmf7hamw1gainj72l-kyua-0.13/share/kyua/store/schema_v3.sql'.
-
meena
lw: aaah, that also explains why camcontrol devlist didn't show the device when it was on scsi
-
CrtxReavr
Doesn't sound like it on SCSI.
-
CrtxReavr
Sounds like it was on "SCSI" - AKA SATA.
-
yamada
mate mate-desktop-environment doesnt work i dunno ^^ seems it crashes when sddm starts it
-
weust
if I make a change to /etc/periodic.conf, or even add one, what do I restart? If at all needed
-
lw
weust: nothing to restart, periodic.conf is run by periodic(8) which is a shell script started from cron
-
lw
s/run by/read by/
-
weust
That was a thought I had
-
weust
thanks
-
lw
does anyone know off hand how std::chrono;:steady_clock is implemented on freebsd?
-
babz
lw: look at the various definitions of __libcpp_steady_clock_now() in /usr/src/contrib/llvm-project/libcxx/src/chrono.cpp
-
lw
babz: thanks. clock_gettime(CLOCK_MONOTONIC) apparently
-
rtprio
hey kids
-
meena
can someone who has a real CD ROM / DVD drive test if `camcontrol eject cd0` actually ejects anything?
-
lw
meena: does it have to be a SCSI CD ROM?
-
lw
# camcontrol eject cd0
-
lw
Unit stopped successfully, Media ejected
-
lw
asked person near this system if the drive actually ejected, waiting for reply
-
meena
hahaha
-
lw
meena: answer: yes it did physically eject the drive tray
-
lw
<TSSTcorp CDDVDW TS-H653B SI01> at scbus1 target 0 lun 0 (pass8,cd0)
-
lw
this is a SATA device
-
meena
then if that doesn't work on a VM, what's the bug? in cam? in the buses? or in qemu? or somewhere else?
-
lw
what do you expect ejecting qemu cd-rom to actually do?
-
meena
to disassociate the loaded ISO, so that a reboot won't pick it up
-
lw
hmm
-
lw
does that usually work in other OS? i don't think i've ever tried this
-
babz
yup, i remember I had to re-select the iso for the virtual optical device to reboot from say the fedora installer
-
babz
because it ejects it before rebooting, and it does work in some hypervisors
-
meena
Motivation is this cloud-init pr,
canonical/cloud-init #4769
-
VimDiesel`
Title: feat: prefer udev's cdrom_id -e to eject by catmsred · Pull Request #4769 · canonical/cloud-init · GitHub
-
lw
meena: maybe GENERIC-MMCCAM doesn't include ejecting support, gotta save those bytes somehow
-
lw
(this comment is like 50% serious, i don't i ever saw a kernel option for 'ejecting support' though)
-
meena
lw: I've been running GENERIC, like some rube, for half a day now
-
lw
meena: aaaah cloud-init i am running away. bad memories of CoreOS
-
meena
is CoreOS still a thing?
-
» meena can't keep up with Linux
-
lw
idk it was back when i was laughing at the pathetic state of Kubernetes security
-
lw
i hated that so much i just stopped turning up at work until they fired me so no idea what's going on nowadays
-
meena
Kubernetes sounds like a pretty good reason to walk out of a job (and into the sea)
-
meena
I have this weird feeling that a serious number of companies that use Kubernetes don't understand what it is, what it does, and how to use properly, but that sure as heck won't stop them from using more of it. kinda like violence
-
lw
meena: so here's my favourite Kubernetes story. they have (had?) an admin panel that let you manage the cluster over the network. the 'getting started' setup instructions told you to install this. installing this meant that anyone who could make a network connection to any cluster node could gain unauthenticated root access to the entire cluster.
-
lw
i reported this and was told it's not an issue because 'you should be running a firewall'
-
lw
i later chatted to a google employee who was like, the one person responsible for kubernetes security and he told me he spent most of his time trying to get shit like this fixed, and the developers just *did not care*
-
lw
this experience has convinced me to never, ever deploy kubernetes or use any service based on it
-
meena
lol. if you don't start with X from the start, it's really gonna be hard to squeeze it in, once your product is out
-
meena
X could be usability, speed, security, or any number of things that are hard to bolt on
-
V_PauAmma_V
Accessibility.
-
meena
brrrr, yeah
-
» meena points at Gitlab
-
rtprio
yeah, doubly glad i'm not running gitlab anymore
-
lw
ugh we run gitlab internally and i fucking hate it
-
lw
it needs like 8GB RAM for two concurrent users
-
rtprio
but also it exceeded the memory of the vm
-
lw
plus it only runs on linux which is hilarious given it's written in ruby, what could it possible be doing that only supports linux
-
lw
(there is a freebsd port but it's perennially outdated)
-
meena
the canonical deployment only supports Linux
-
meena
Omnibus.
-
babz
you dont understand
-
babz
the thing is, you're supposed to run gitlab *in* kubernetes
-
lw
i might try to replace it with sr.ht, although i've heard that's also a massive pita to install
-
lw
babz: hilariously i actually tried this and it was terrible, the two are like completely incompatible
-
lw
although that was years ago, they might have improved it by now
-
kevans
is the kubernetes in the room with us right now?
-
meena
kevans: Kubernetes is everywhere. It is all around us. Even now, in this very room. You can see it when you look out your window or when you turn on your television. You can feel it when you go to work… when you go to church… when you pay your taxes. It is the world that has been pulled over your eyes to blind you from the truth.
-
meena
etc
-
lw
the kubernetes is coming from inside the server
-
lw
meena: do you IRC with a proportional font?
-
meena
lw: yes
-
lw
ah
-
lw
… looks really weird in monospace
-
rtprio
haha, it looks really weird not in monospace
-
meena
Atkinson Hyperlegible on the desktop, and who knows what on the phone
-
lw
are there GUI IRC clients now then?
-
meena
I use TheLounge
-
meena
So i can use the same thing on my laptop and on my phone without a handstand
-
babz
quassel
-
meena
babz: yes, but, I also wanted so my chat things to be in one window, and that meant it needed to support a Web client. and the Web clients for was Quassel aren't great
-
lw
i sometimes wonder about how often things crash on my desktop
le-fay.org/tmp/30d/EHDF6B.txt
-
lw
maybe this is just application bugs
-
lw
shotman seems to be the worst, what do people use for screenshotting on Wayland?
-
meena
lw: OpenBSD developer Stefan whatshisface did a good talk on building an accessible laptop for a friend who had lots of special needs, and he did a tangent on that
-
lw
on what, applications crashing?
-
meena
how annoying it is that there's so many crashes recorded that no one ever looks at
-
lw
ah yeah
-
lw
the thing is i've used Firefox, Handbrake, etc. on macOS and Windows and they never, ever crashed
-
lw
so i don't know why they're so much less stable on freebsd
-
meena
-
VimDiesel`
Title: Installing an accessible OpenBSD laptop
-
meena
lw: because FreeBSD isn't an active target they actually develop and test on
-
lw
it's just GTK though isn't it, what could be different from linux
-
lw
meena: this is why i hate GUIs though, they're too complicated
-
lw
computers were not meant to have graphical interfaces
-
lw
i've worked on ircd that hosts 150k+ concurrent users and that's far, far easier than writing a GUI app, that isn't right
-
babz
yeah, GUI means "a lot of ifs"
-
dvl
I know how to create a new tmux session, but I also want to create it with a specific command then not be attached to it. e.g. tmux new-session BLAH <=== but I want to come back to the command line and not be in that session.
-
kevans
dvl: new-session takes a -d to remain detached
-
dvl
cheers
-
dvl
Just what I need. thanks
-
dvl
-
VimDiesel`
Title: Clearing-out multiple drives concurrently – while Watching Fargo Season 5 – Dan Langille's Other Diary