SiFuh changed the topic of #crux-social to: Offtopic Talks | Project https://crux.nu/ | Logs: https://libera.irclog.whitequark.org/crux-social/
serpente has quit [Remote host closed the connection]
<remiliascarlet> SiFuh: zorz can't escape the electrical wiring in his tight jeans.
<SiFuh> Heh
ppetrov^ has joined #crux-social
<ppetrov^> farkuhar, would would be a good way to make pkg-get aware that certain packages have been rebuilt? Since the port build number is not incremented when I simply rebuild something against updated libs?
<ppetrov^> somehow compare md5sums? Maybe I can try to make myself a script to do that and report what have been rebuilt
zorz has joined #crux-social
ukky has quit [Ping timeout: 246 seconds]
ppetrov^ has quit [Quit: Leaving]
zorz has quit [Quit: leaving]
ppetrov^ has joined #crux-social
ukky has joined #crux-social
<SiFuh> aardo: I watched CNN for about 2 minutes when I was flicking through the channels in the hotel room several months ago. I was cursing at the amount of lies they were spreading so I ended up changing channel.
zorz has joined #crux-social
<aardo> SiFuh: I'm italian, I just watch sometimes US news network channels for specific reasons, for example now because of the imminent election. There's a lot of biasing, when not outright lies.
<aardo> bias*
<SiFuh> I am watching the election fraud :-)
<SiFuh> aardo: So much corruption in the election system and those bloody Democraps are such filthy bold faced liars. Every fscking thing from their mouth is a fscking lie.
ppetrov^ has quit [Quit: Leaving]
ppetrov^ has joined #crux-social
<zorz> Obama the rapper, lose yourself
<zorz> Eminem is good!
<SiFuh> Eminem sucks
<zorz> Obama sucks
<zorz> hehe
<zorz> Trump is ave maria & ymca, obama is eminem... elections are parody
<zorz> so american public does not vote according to the plan of the candidate but with music criteria?
<zorz> SiFuh: my line is not settled yet
<zorz> no way to watch youtube
<SiFuh> Last one was about a car
<farkuhar> ppetrov^: Unfortunately the package database does not provide enough details for pkg-get to know when something has been rebuilt. Ultimately the limiting factor in all these operations is the minimalist format of /var/lib/pkg/db. You'd have to maintain a parallel database for pkg-get operations, if you wanted to retain information like timestamps or eagerly-linked dependencies.
<ppetrov^> well, I have CRUX installed on 3 PCs, a laptop and 2 workstations
<SiFuh> farkuhar: Would be nice if crux had a more advanced database. OpenBSD uses /var/db/pkg/<pkgname>/+*
<ppetrov^> get's a bit tedious to solve issues when I update
<SiFuh> +CONTENTS +DESC +REQUIRED_BY +REQUIRING
<ppetrov^> i don't care so much about the ones at home, but the two workstations at, hm, work are a different story
<ppetrov^> my simple idea was to keep track of the md5sums of the packages installed and have md5sums of the packages database. If there's a difference, I get a 'report' what needs to be reinstalled
<ppetrov^> too bad pkg-get is written in perl. It it were python, we could've asked zorz to improve it
<ppetrov^> :P
<farkuhar> SiFuh: heh, your +* syntax highlights one of the differences between Perl regex and bash globs. In my Perl rewrite of prt-get, I had to replace the + in port names to fix the regex matching in one of the subroutines.
<ppetrov^> farkuhar, is it bad to have a + in the name or version?
<SiFuh> farkuhar: The file names start with +
<SiFuh> ppetrov^: farkuhar: https://dpaste.com/BCNWJ4BDD.txt
<ppetrov^> meningococcal
<ppetrov^> rofl
ivandi has quit [Quit: WeeChat 4.4.2]
<SiFuh> myiasis is downstairs. lujo is the laptop, machupo is the other laptop. Not to mention all my external drives kyasunur, dipylidium, mucormycosis and so on.....
<farkuhar> SiFuh: I know what you meant. ppetrov^: it's not disallowed to have + in the name or version, but my first attempt at implementing the Perl equivalent of `prt-get dependent $foo` was failing with foo=libsigc++, until I ran the port name through s/\+/\\\+/g.
ivandi has joined #crux-social
<SiFuh> farkuhar: Actually OpenBSD port system is written in perl
<farkuhar> SiFuh: I remember looking at those scripts for inspiration, when writing the perl drop-in replacement for prt-get.
<SiFuh> ppetrov^: My father uses Winshit. Everytime I copy a movie to my external drive to transfer to his computer he always lets the Windows Auto Scan thing happen. Not for virus' but for file contents. I would shout "Stop! Cancel that! My hard disk has many virus' on it" and he would. But it was getting annoying telling him everytime because he would always forget. So I named the drive VIRUS so when he sees
<SiFuh> it. It jogs his memory.
<farkuhar> SiFuh: It would be nice if CRUX had a more advanced package database, but if we change the format, what would be the migration path for existing installations? Just choose a new location on the filesystem, and refer to that location in a new release of the distro tooling (prt-get, pkgadd, pkginfo, ...)?
<ppetrov^> changing the format would be too drastic and i doubt it will happen
<SiFuh> ppetrov^: When I started getting more than one external drive, I decided to name them all after virus'. If the virus started with D it was a data drive. M was a multimedia drive. Eventually I started naming all my machines, routers, and even flash drives after virus'. In Kyrgyzstan I was at a job interview. The guy asks where are my papers. I said "Here, shove HERPES in" and I handed him a USB stick.
<SiFuh> He thought I mispoke. Then on his PC it says HERPES. Then he laughed.
<SiFuh> farkuhar: Would be difficult. Probably could whip a script to convert your old ports into the new format. And push it for the next distro upgrade.
<farkuhar> ppetrov^: what's wrong with following OpenBSD and populating /var/db/pkg/<pkgname>/ with separate files for all the metadata and build options? If the directory exists, new distro tooling can use it; if not, falling back to the original /var/lib/pkg/db would be sensible behaviour.
<SiFuh> ppetrov^: When I lived in KL everyone was always poaching off my Wi-Fi like zorz does. So I named the router Syphilis. Evertime some asked me for the password I'd reply "You want access to Syphilis?" and they'd say no, and walk away.
<SiFuh> farkuhar: And who really upgrades the version? Don't they just do a fresh install?
<farkuhar> ppetrov^: you could also say replacing glibc with musl is "too drastic", but SiFuh and emmett1 made it happen, at least for the core ports. Some ports in opt or contrib might need further patching, but "too drastic" was not used as an excuse to avoid the initial work.
<ppetrov^> :)
<ppetrov^> farkuhar, nothing is wrong. simply, this is beyond my competence at the moment
<SiFuh> And replacing openssl with libressl was a small task too. However subversion didn't like it and rust was a dick.
<farkuhar> Heh, if we had a more advanced database, then tracking the optional dependencies of installed ports would not involve as much guesswork as my naive implementation currently uses.
<farkuhar> SiFuh: And who really uses subversion these days? Hasn't everybody adopted git for their version control?
<SiFuh> That was the last version before OpenBSD did some heavy tweaking and it was no longer functioning on CRUX and I didn't have the time so I switched back to OpenSSL https://gitlab.com/SiFuh/unmaintained/-/tree/master/libressl
<SiFuh> farkuhar: The firs paragraph of my README is a lie. I used it on a fully functioning desktop. :-P
<SiFuh> Maybe I will install CRUX 3.8 on my laptop when it is released
<farkuhar> We don't have to wait until CRUX 3.8 to start testing a new format for the package database. We just need to patch prt-get, pkgutils, and prt-utils to take advantage of the new db, and put the updated distro tooling into our private overlays, masking the core ports.
<SiFuh> farkuhar: You could also do it in stages. Introduce the new db/pkg but still use the old db. Then slowly over time, migrate more and more of the new updates so that it happene all behind the scenes.
<farkuhar> SiFuh: "And the cast of the War Games (2024) is creepy as" <- you never did finish this analogy. At first I thought you might have finished the sentence with characters that my terminal font doesn't support, but then I checked the whitequark logs and found the same abrupt ending to your post.
<farkuhar> Terminal font lacking support for all Unicode characters is the reason I couldn't follow that conversation with zorz the other day. All the Greek characters showed up as whitespace in the terminal.
<SiFuh> The cast are creepy as.
<SiFuh> By the way, I watched it last night. There were so many dumb things being said.
<SiFuh> There was one twat saying it is our right to protect the country from tyranny and they have to stop the uprising (paraphrasing). I am like thinking to myself. Does he even hear himself? The uprising is because they know the government is tyrannical and youa re on the side of the government.
<SiFuh> farkuhar: if you are using MUSL then you won't need to worry about charsets. So it's probably a font issue
<SiFuh> LC_ALL=en_AU.UTF-8 LC_CTYPE=en_AU.UTF-8 LC_COLLATE=C
<farkuhar> SiFuh: my ~/.Xresources has "Zutty.font: VeraMono" and "Zutty.fontsize: 24"
<SiFuh> Zutty?
<SiFuh> The Zutty Show! hahaha
<SiFuh> I was away shaving and stropping the blade.
<farkuhar> No discussion of distro tooling would be complete without Anton's 2006 reply to heidi's thread on "use flags" ... but a cursory scan through lists.crux.nu does not find Anton's remarks. Did the pipermail -> hyperkitty transition lead to data loss?
<SiFuh> I bought this to replace my last two. And I can't believe how well it retains its sharpness. I strop about 20 times before I start and 20 times after I finish and it has been going on and on and on for several years now. I should have bought this brand to begin with instead of a Chinese one and a Pakistani one. https://s3.amazonaws.com/i.snag.gy/3MUvRg.jpg
<farkuhar> Note that it's possible to revisit the format of the package database without making any changes to the Pkgfile format (as stenur wanted to do for his "simple overlay" proposal). Changing the package database format is less objectionable, in Anton's view, than changing the Pkgfile format as stenur wants to do (promoting dependencies to shell variables, rather than commented lines).
zorz has quit [Ping timeout: 252 seconds]
<SiFuh> ppetrov^: farkuhar: Ever read those?
<farkuhar> Heh, it looks like heidi double-posted in 2006 (to both lists, crux and crux-devel), but Anton only replied to the crux-devel thread. That's why my cursory search of the crux archives made it look like heidi got no replies. So there wasn't any data loss in this case, Anton's words are still preserved here: https://lists.crux.nu/archives/list/crux-devel@lists.crux.nu/message/W4R2IEDDJAK2ZPGDICY7VEIUGVKBQV6X/
<farkuhar> The +CONTENTS example in https://dpaste.com/BCNWJ4BDD.txt is interesting. It explicitly lists +DESC as a file associated with the package, but not +REQUIRED_BY or +REQUIRING. Then it prefixes some of the paths with classifiers like @bin or @so or @man, while other paths don't get such classification. It's a more comprehensize database format than needed for ppetrov^s use-case (informing pkg-get when a rebuild has happened).
<SiFuh> farkuhar: Maybe +DESC exists for pkg_info. Because 'pkg_info cmus' will check in /var/db/pkg/cmus to see if it exists. If so it will display "Information for inst:cmus-2.10.0p0" and the description. If you don't have it installed then it will search the online repository and say 'Information for <URL HERE>' and the description.
<farkuhar> SiFuh: Allowing that +DESC exists under /var/db/pkg/cmus/ for the sake of pkg_info, why does it need to be mentioned again as a line in /var/db/pkg/cmus/+CONTENTS? Surely pkg_info can check on its own whether /var/db/pkg/cmus/+DESC exists, it doesn't need to parse /var/db/pkg/cmus/+CONTENTS first.
<SiFuh> farkuhar: My favorite feature from the OpenBSD ports is when you install a package and then the dependencies are installed automatically. If you remove the package, you then use pkg_delete -a after and it removes all those dependencies that were automatically installed
<SiFuh> farkuhar: Maybe to make sure people remember to make a DESC file ;-)
<farkuhar> SiFuh: I think zorz was trying to do something similar with python dependencies in his pip2crux tool.
<SiFuh> zorz tries to do a lot and I don't like his code
<SiFuh> "The reasonable man adapts himself to the world, the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man."
<farkuhar> George Bernard Shaw?
<SiFuh> No idea. Some dude was reading it out of a book.
<SiFuh> What if progress is unreasonable ;-)
<farkuhar> More context needed for "Some dude was reading it out of a book." Are you referring to a scene in War Game (2024)?
<SiFuh> Nope, Classified (2024)
<SiFuh> farkuhar: As for creepy as. The cast were all leftards
<SiFuh> Democrat Senate candidate Lucas Kunce accidentally shot a reporter during a campaign event, proving yet again that leftists have no clue how to handle firearms.
<farkuhar> I can sympathize with the idea that progress is unreasonable. Consider all the sound servers that we've seen in three decades of Linux desktop development. The other day I was reminded of a time when Enlightened Sound Daemon, aRTS, and OSS4 all occupied different niches, much like sndio, pulseaudio, and pipewire do today.
<farkuhar> Meanwhile I still cannot get firefox to respect the environment variables AUDIOPLAYDEVICE and AUDIORECDEVICE as a way of emulating a full-duplex soundcard with two different physical devices. Only AUDIODEVICE is respected, and that env var must point to an actual full-duplex card.
<SiFuh> OSS :-P
zorz has joined #crux-social
<farkuhar> zorz: 'lo
<SiFuh> zroz <--
zorz has quit [Ping timeout: 252 seconds]
<farkuhar> According to linux-audio-output.svg, OSS is a driver, not a server. But the legend doesn't say what the grey ovals are supposed to represent. libraries? userspace programs?
<SiFuh> They all look like libraries
<SiFuh> But I see some software like VLC in it as well.
<SiFuh> So I would say gray is 'software'
<farkuhar> I should try a desktop installation of OpenBSD to see whether emulating a full-duplex soundcard with two different physical devices is possible by exporting AUDIOPLAYDEVICE and AUDIORECDEVICE. The man-page suggests this would work, but web-based videoconferencing is a whole different beast, subject to the whims of the browser developers and what they choose to implement.
<SiFuh> farkuhar: What is this webbased video conferencing thing?
<SiFuh> I remember for Skype Web and for Zoom, I needed to modify the browser's about:config to try them to think I was using Windows Explorer or some shit.
<SiFuh> try/trick
<SiFuh> farkuhar: My useragent for Thunderbird is User-Agent: Atari, Inc. 1980 (Atari 2600; 8-bit MOS Technology 6507 @ 1.19
<SiFuh> Hmm, I just discovered Spell-Check in Emacs ;-)
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux-social
<farkuhar> Okay, forget webbased videoconferencing if that's too narrow a use-case. Just connect a set of USB speakers (play-only) and a USB webcam (record-only), start sndiod with the -m play or -m rec flags, accordingly, export AUDIOPLAYDEVICE and AUDIORECDEVICE, then visit two websites in firefox: onlinemictest.com to test AUDIORECDEVICE, and youtube.com to test AUDIOPLAYDEVICE. On Linux I haven't gotten it to work; maybe on OpenBSD it will be fine.
<SiFuh> I don't have a mike
<SiFuh> mic
<SiFuh> farkuhar: I think zorz is sad because lavaball his buddy is gone.
<farkuhar> SiFuh: Which of zorz's problems is easier to fix? His unstable Internet, or his lack of friends?
<SiFuh> farkuhar: I am pretty sure his unstable internet is ebcause he is stealing Wi-Fi from the surrounding neighborhood
<farkuhar> Stealing Wi-Fi is a good way to discourage people from befriending him. Maybe the two problems have the same root cause, then.
<SiFuh> He needs my tech for Wi-Fi poaching, but the equipment isn't cheap and he has no money
<dlcusa> Re: reason and progress, the quotation is off-target. Frank Zappa pointed out what reall goes on: "Without diviation from the norm, progress is not possible." But not all deviation is reasonable and/or helpful.
<SiFuh> farkuhar: He needs an AWUS1900, A couple of Vonets VAP11G-500's and a BrosTrend AC1200
zorz has joined #crux-social
<farkuhar> SiFuh: "Windows Explorer or some shit" <- reminds me of some CD-Rs that I burned in 2017 and 2020. Every time I try to mount them under Linux, the /bin/mount command hangs indefinitely. I have to cut the power to the external optical drive in order to kill the mount command. I end up taking the discs to a Windows computer, only to discover that they don't even hold the files I thought I would find on them.
<SiFuh> Who's harassing me at 03:49 in the morning?
<SiFuh> farkuhar: Yeah, done that two. Funny you mentioned CDR's. I have two blank CDR's I asked my wife to pinch from her office so I can burn some country music songs onto CD that way if she charges her phone we can switch from USB drive to CD whilst she poaches the USB port in the car.
<SiFuh> two/too
<SiFuh> I asked for two because I will try burn mp3's to one as a test. If the MP3's don't work then I will go to CDDA. She brought them today.
<SiFuh> And for some weird reason. Creed Fischer doesn't play from the USB stick in the radio. But it plays fine from a cigarette lighter port with an FM transmitter.
<SiFuh> Fisher*
<SiFuh> farkuhar: I was listening to his music when I was bottling beer today. I thought this one was good. Creed Fisher - If You Have a Right to Burn My Flag (Then I Have a Right to Kick Your Ass)
<SiFuh> farkuhar: I miss my USB blueray burner, my SAS LTO5 cartridge drive, my record player and my brother's PS1 :-P But they are all in Australia :-(
zorz has quit [Quit: leaving]
ppetrov^ has quit [Quit: Leaving]
ivandi has quit [Quit: WeeChat 4.4.2]
ivandi has joined #crux-social