frabbit | can i increase the time before i get automatically logout after some time of non activity on a ssh session? | 00:06 |
---|---|---|
bsat | i didn't know you got automatically logged out | 00:06 |
bsat | i never do | 00:06 |
MinceR | dunno, the last time i had an issue with that, i enabled keepalive | 00:06 |
frabbit | probably a good securiy thing this timeout, but its a bit annoying when learning stuff... | 00:06 |
frabbit | MinceR: in the config? | 00:07 |
frabbit | /etc/ssh/ssh_config | 00:07 |
MinceR | yes, but i forgot if it was client or server side | 00:08 |
MinceR | so either ssh_config or sshd_config | 00:08 |
frabbit | or can i run "ssh -o TCPKeepAlive" foobar_my_server | 00:09 |
MinceR | probably, though without the quotes :> | 00:09 |
frabbit | hsure, but doesnt work.. also no pattern called keep in both config files | 00:12 |
frabbit | or do i check that on the server? | 00:12 |
frabbit | cause i only want one specific client to keep alive | 00:12 |
frabbit | *have to check | 00:12 |
MinceR | man ssh_config | 00:12 |
MinceR | man sshd_config | 00:13 |
frabbit | oh specific man files...? o_0 | 00:13 |
frabbit | man... | 00:13 |
frabbit | ok i will add TCPKeepAlive to the /etc/ssh/ssh_config file on my client | 00:17 |
ullet | the penis suckers are jews | 00:17 |
frabbit | "TCPKeepAlive yes" | 00:17 |
frabbit | ullet: stfu | 00:17 |
bsat_ | the penis suckers are jews | 00:17 |
bsat_ | the penis suckers are jews | 00:17 |
bsat_ | the penis suckers are jews | 00:17 |
MinceR | stop it | 00:17 |
bsat_ | the penis suckers are jews | 00:18 |
bsat_ | the penis suckers are jews | 00:18 |
bsat_ | the penis suckers are jews | 00:18 |
bsat_ | the penis suckers are jews | 00:18 |
frabbit | user bsat is still here | 00:19 |
bsat | ah see that's someone following me around | 00:20 |
bsat | being an ass. | 00:20 |
bsat | i'll step out | 00:20 |
frabbit | oh now hes gone | 00:23 |
crashoverride | yeah it's to get this "bsat" user ignored I guess. | 00:27 |
crashoverride | but they have no account so... | 00:27 |
golinux | No kidding. | 00:27 |
crashoverride | the bsat user seemed legit, golinux. | 00:27 |
MinceR | they are not necessary the same person | 00:28 |
MinceR | s/y/ily/ | 00:28 |
onefang | Did you not spot this - "ullet is now known as bsat_: bsat_" | 00:28 |
golinux | He has been a scourge on #debianfork for weeks | 00:28 |
crashoverride | apparently, they are not. | 00:28 |
crashoverride | who, bsat or bsat_? | 00:28 |
crashoverride | without an account, you can't know it's the same person, really. | 00:28 |
MinceR | note the underscore | 00:28 |
golinux | Also appeared a elohim and some others. | 00:28 |
crashoverride | again, nicks are cheap on IRC. | 00:29 |
frabbit | i get an underscore too when reconneting unwanted by isp | 00:29 |
golinux | Same IP for all of those nicks | 00:29 |
crashoverride | frabbit: I take the person wanting to fuck with them also knows that. | 00:29 |
MinceR | i told irssi to use a backtick but usually it ignores this setting | 00:29 |
crashoverride | golinux: same IP for the bsat and bsat_? | 00:29 |
golinux | and elohim and I forget who else | 00:29 |
crashoverride | golinux: yeah sure, but not bsat. | 00:30 |
MinceR | have you checked hosts/ip addresses too? | 00:30 |
golinux | I'm not on #debianfork any more because of this kind of stupidity. | 00:30 |
crashoverride | golinux: if someone would want to annoy you and be like "< golinux_> whatever racist/sexist/etc slander goes here" | 00:30 |
MinceR | (not that it can be used to definitively prove being a different person) | 00:30 |
crashoverride | golinux: you would have NO control over it | 00:31 |
crashoverride | golinux: and people would come at you to ban you, insult you, hate you, etc. | 00:31 |
golinux | I have an off button on the channel | 00:31 |
crashoverride | on which? | 00:31 |
golinux | Coming here is a choice. | 00:31 |
crashoverride | ok, you seem to make no sense. | 00:31 |
crashoverride | ignored too. | 00:31 |
crashoverride | ignore is cheap, too. | 00:31 |
golinux | MinceR: Can you please get this off this channel | 00:32 |
frabbit | golinux: agree | 00:32 |
golinux | and to #debianfork | 00:33 |
crashoverride | MinceR: nah we cannot be sure the person wasn't being an ass and wasn't pretending being another person; but chances are it's another person. | 00:33 |
nemo | hm. netsplit. freenode under attack again? | 00:38 |
yeti | I hope they cry oceans of tears in fear of our wellbeing | 00:38 |
yeti | :-Þ | 00:38 |
yeti | oiski! | 00:38 |
yeti | <3 filters... | 00:38 |
yeti | without the userlist shrinking I wouldnt even have noticed the split | 00:39 |
nemo | I like notifications of join/quit - for one thing I was able to look up that spammer's IP ☺ | 00:39 |
nemo | (well, more easily) | 00:40 |
nemo | also reduces chance of talking to thin ari | 00:40 |
yeti | esc - and I see em | 00:40 |
crashoverride | any idea what's happening? | 00:40 |
syco- | i have a crap window for that sort of stuff in irssi | 00:40 |
crashoverride | I mean, to Internet. | 00:40 |
syco- | always visible, just smallet than the main one | 00:41 |
syco- | s/smallet/smaller | 00:41 |
crashoverride | it's not just freenode having issues atm it seems. | 00:41 |
frabbit | woah! | 00:41 |
crashoverride | frabbit: what? | 00:41 |
frabbit | were everyone kicked and could connect? | 00:41 |
MinceR | no | 00:42 |
yeti | frabbits 1st major netsplit? | 00:42 |
frabbit | >=( | 00:42 |
MinceR | there was a massive netsplit | 00:42 |
frabbit | ah! | 00:42 |
frabbit | what is that? | 00:42 |
crashoverride | IRC is a network of servers. | 00:42 |
MinceR | the irc network is an acyclic graph | 00:42 |
nemo | syco-: mm. that's a good idea. I must just not know how to configure irssi properly | 00:42 |
crashoverride | some servers sometimes disconnect from their networks | 00:42 |
crashoverride | that is called a netsplit. | 00:42 |
MinceR | if 2 ircd-s lose the connection between each other, the network falls into 2 disjunct pieces that can't talk to each other | 00:42 |
frabbit | oh isee | 00:43 |
nemo | hopefully this is not another summer of bored script kiddies DDoSing freenode | 00:43 |
frabbit | so it was some DDoS attack? | 00:43 |
MinceR | could be | 00:43 |
frabbit | >=( | 00:43 |
MinceR | i don't know | 00:43 |
djph | or somebody unplugged the wrong cable | 00:43 |
djph | it happens | 00:43 |
frabbit | djph: lol xD | 00:43 |
MinceR | could even be a rogue router | 00:44 |
frabbit | the lemonade swapped over the wrong cable | 00:44 |
frabbit | *zssshh* | 00:44 |
yeti | frabbit: https://en.wikipedia.org/wiki/Denial-of-service_attack#Distributed_attack | 00:44 |
syco- | nemo mine is based on this one https://irssi-import.github.io/themes/dot.png | 00:45 |
syco- | https://irssi-import.github.io/themes/ | 00:45 |
frabbit | yeti: thx =) | 00:46 |
frabbit | but this is all for #debianfork xD | 00:46 |
nemo | syco-: btw. personally while I like semi-dark transluicency I don't like sharm edges of images catching my eye in fonts. if not using a composited desktop where gaussian blur behind terminal windows is an option, I'm also a fan of a "cloud textured" translucent background image that I use on terminal windows to break up sharp edges | 00:47 |
frabbit | MinceR: the config change for ssh seems to work now =) | 00:47 |
frabbit | thx btw for ur hints | 00:47 |
MinceR | :) | 00:47 |
yeti | h in ts = tHs :-P | 00:48 |
frabbit | MinceR: its alot less streey now xD finnaly i can concentrate more on learning then on ssh-login every 5 or 10 minutes x) | 00:48 |
MinceR | :> | 00:48 |
yeti | use mosh | 00:48 |
frabbit | *stressy | 00:48 |
MinceR | yeah, mosh is nice | 00:49 |
frabbit | yeti: https://en.wikipedia.org/wiki/Mosh_(software) | 00:49 |
yeti | mosh kills sixels and tek sequences... but for plaintext it is ok | 00:50 |
golinux | This is fork talk not support talk. Get it together, folks | 00:50 |
frabbit | hmm.. nah i like ssh and i think this timeut thing is a good one, except for beginners ;) | 00:51 |
frabbit | but i solved this now with just a little entry in the ssh conf | 00:51 |
* frabbit runs away from golinux to #debianfork | 00:51 | |
yeti | _o/" | 00:52 |
MinceR | i don't get it. is using ssh/mosh on devuan not relevant to devuan? | 00:52 |
frabbit | probably because its not devuan specific? | 00:52 |
yeti | then your next keyboard or sound problems arent devuanspecific too :-Þ | 00:53 |
frabbit | not if it is caused by devuan | 00:53 |
MinceR | the default settings can be devuan-specific | 00:53 |
MinceR | and i don't know what the defaults are | 00:53 |
tom_ | Hello, I'm grading an application server from ASCII to Beowulf, of which in ASCII I had to use Sury's PHP repository | 00:54 |
frabbit | ok it was just my 2cent ^_^ | 00:54 |
tom_ | Since beowulf includes PHP7.3 I no longer need to use sury | 00:54 |
tom_ | how can I remove sury and revert back to Devuan main's PHP implementation? | 00:54 |
tom_ | or will this be handled by dist-upgrade if I just comment out the sury repo in aptconf | 00:54 |
bgstack15 | tom_: whenever the Devuan main php implementation version is higher than the one provided by the last one installed from your sury repo. | 00:56 |
bgstack15 | So if you are confident you're done with sury's repo, go ahead and comment it out. And then you could go ahead and do a apt-cache policy php-main (or whatever the package name is) | 00:56 |
bgstack15 | and see if it lists the current one in the Devuan repo | 00:57 |
tom_ | i'm not familiar with apt-cache policy | 00:57 |
tom_ | bgstack15, what do you mean with apt-cache policy? | 01:11 |
tom_ | I want to replace php7.2-fpm with php-fpm | 01:13 |
tom_ | http://0x0.st/iWvs.png | 01:16 |
tom_ | I figured it out, just not heard of apt-cache policy | 01:27 |
telecrash | hey yall! | 04:16 |
gnarface | hey telecrash just ask your question, don't wait for permission | 04:17 |
gnarface | (try to wait around for answers, this tends to still be a slow channel most the time) | 04:17 |
telecrash | just curious about yall's experience using devuan unstable(sid?) as a daily driver | 04:19 |
gnarface | devuan ceres is unstable, corresponding to debian sid | 04:19 |
gnarface | it doesn't break any more often than debian sid, the experience should be basically identical | 04:19 |
telecrash | oh sick! thanks alot | 04:19 |
gnarface | no problem | 04:20 |
gnarface | as with Debian, you're still advised to try to use the stable backports repo first before doing something drastic like upgrading to testing or unstable | 04:21 |
gnarface | (beowulf-backports) | 04:21 |
gnarface | (beowulf-backports should also be basically the same as buster-backports currently) | 04:22 |
gnarface | here's the current list of exceptions: http://packages.devuan.org/bannedpackages.txt | 04:22 |
bgstack15 | telecrash: I use Devuan Ceres daily, for desktop use. | 04:43 |
bgstack15 | I use Fluxbox as my wm, and I have no issues with Ceres. | 04:44 |
systemdlete | I have determined the source of my host crash -- it seems that the ASMedia chip that drives the usb 3.0 is known to have problems on ASUS boards, according to a post online. So I have reconfigured my USB devices to avoid the 3.0 slots. Even though both devices are rated for 3.0, they work fine for my purposes. | 06:22 |
gnarface | interesting | 06:24 |
systemdlete | the chip (for anyone who finds this useful/interesting) is ASM1042A on an ASUS board | 06:24 |
gnarface | that's the type of thing that often gets fixed with a bios flash | 06:24 |
gnarface | have you looked for an updated bios for the board from them recently? | 06:24 |
systemdlete | The bios is up to date | 06:24 |
gnarface | how old is the board? | 06:24 |
systemdlete | (yes) | 06:24 |
systemdlete | (thinking) | 06:24 |
gnarface | they usually polish it all up by about a year in | 06:24 |
systemdlete | Maybe 5 years or so | 06:24 |
gnarface | i've bought a lot of new ASUS boards | 06:24 |
systemdlete | M5A78L-M/USB3 | 06:25 |
gnarface | if it's not fixed by 1 year it probably won't be, i'd look for bios settings to change (C1E powersaving seems to be a common culprit for tangential destabilizations in my experience) | 06:25 |
systemdlete | I have a spare sitting here in case the board goes. | 06:25 |
gnarface | seriously, if you have a C1E powersaving setting, try disabling it | 06:26 |
gnarface | i'm just curious | 06:26 |
gnarface | it would add to my own test results | 06:26 |
systemdlete | C1E? I can check that next time I boot. But I've never tooled with that setting and usb 3.0 always worked here. | 06:26 |
systemdlete | sure, next time I reboot the host I can check that. | 06:26 |
gnarface | it would be under advanced cpu settings i think | 06:26 |
systemdlete | Yeah, I've seen it. | 06:27 |
systemdlete | Now, that's on my "main" box. I also have a problem on my testbox... different board | 06:27 |
systemdlete | I shut down the box, which is running beowulf. I think all updates had been applied. | 06:27 |
systemdlete | I removed a NIC to replace it with a different one. | 06:28 |
systemdlete | When I tried to reboot after that, I get the grub menu, but it only gets to the screen clear. There's a couple messages, then the screen clears and all I see is an underscore prompt. | 06:28 |
systemdlete | The video is on a card, and the BIOS is set properly to use the card, not the internal video. | 06:29 |
systemdlete | I had not changed ANYTHING except to remove the NIC... then I removed the NIC completely so the slot is empty | 06:30 |
systemdlete | but it still hangs after the screen clear. Ideas? | 06:30 |
systemdlete | I tried booting off a thumb drive with a different OS, same issue | 06:30 |
systemdlete | I suppose I could try the onboard video... and probably should, just to see if somehow removing/replacing a PCI slot card somehow(?!) munged the video slot | 06:31 |
systemdlete | this just occurred to me; probably I should have tried that before coming here crying | 06:32 |
systemdlete | Let me try that... bbl | 06:32 |
systemdlete | bleh. I tried switching the bios to use internal video. That didn't work. Finally, I removed the AGP card. Tried again, this time I got video, but the boot terminates at the same spot. | 06:47 |
systemdlete | The testbox is an MSI board -- msi7641. | 06:48 |
systemdlete | I almost forgot another thing I should have tried first -- reset the board! | 06:49 |
systemdlete | (Which makes me wonder if maybe I should try that on my main box also) | 06:50 |
systemdlete | Yup. Reset the mainboard by jumping JBAT1, and now I have video again, and the system boots up successfully. So, for now, I can proceed. Thanks for listening to all this... or not. | 07:00 |
golinux | systemdlete: Happy to hear that you worked that out. | 07:42 |
openbsdtai123 | hello | 09:23 |
openbsdtai123 | how to set the timezone to Europe/Paris for the system into /etc... with just command line or SH script? which file is it? (then I reboot and time works). | 09:24 |
gnarface | openbsdtai123: it's "dpkg-reconfigure tzdata" | 09:40 |
gnarface | you shouldn't have to reboot | 09:40 |
openbsdtai123 | I wrote with command line with SH ... thank you | 09:46 |
openbsdtai123 | I wanna implement in a "setup" script | 09:46 |
openbsdtai123 | "TUI free, just run and wait, reboot and enjoy" | 09:46 |
kreyren | using sources.list http://ix.io/2poa results in http://dpaste.com/1JRRPXJ | 09:46 |
Joril | /etc/timezone ? | 09:47 |
kreyren | why and how do i fix it o.o | 09:47 |
openbsdtai123 | echo europe/paris > /etc/timezone and ln -s /usr/share/zoneinfo/eurepe/(paris /etc/locatime did not work at all. | 09:47 |
Joril | openbsdtai123: what about timedatectl set-timezone Europe/Paris ? | 09:50 |
openbsdtai123 | let me try into my script... | 09:51 |
openbsdtai123 | FLDE in progress, quite great desktop. screenshot #1 https://i.postimg.cc/3RJV0fd6/1592379625-screenshot.png and screenshot #2 https://i.postimg.cc/hGK3NZbj/1592379810-screenshot.png | 09:53 |
openbsdtai123 | magic ! | 09:58 |
openbsdtai123 | it works !! | 09:58 |
openbsdtai123 | thank you very much Joris !!! (solution: timedatectl set-timezone Europe/Paris, I implement it intop my script) | 09:58 |
openbsdtai123 | please guys, in devuan, put vi as default in there instead of vim-tiny, apt-get install elvis is very fine. | 09:59 |
yeti | nvi | 10:08 |
yeti | $ quiet apt-cache show elvis || echo nada | 10:09 |
yeti | nada | 10:10 |
yeti | on devuan3 | 10:10 |
Joril | openbsdtai123: glad it worked :) | 10:37 |
Joril | (It looks like timedatectl comes from systemd though X-) ) | 10:42 |
muawija | Hi, a question: can I mix devuan with deb-multimedia repo? | 11:35 |
gnarface | it might work but it is not advised and you should not even use deb-multimedia with debian | 11:36 |
gnarface | even debian advises against it explicitly | 11:37 |
muawija | why? | 11:37 |
gnarface | it actually will probably work but there's a chance of corrupting your install | 11:37 |
gnarface | so it looks like it works now, but ruins some future upgrade long after you've forgotten | 11:37 |
gnarface | that's the primary problem with it, in my experience, anyway | 11:38 |
muawija | I mean why debian advises against? | 11:38 |
gnarface | same reason | 11:38 |
gnarface | they actually advise against all distro mixing or 3rd party repo use | 11:38 |
muawija | that seems dumb to me | 11:38 |
gnarface | it won't when you're more experienced | 11:38 |
gnarface | do as you will, just don't say i didn't warn you | 11:39 |
gnarface | i recommend a full backup first | 11:39 |
muawija | if it's a 3rd party repo based on a particular distro than I don't really see a problem | 11:39 |
gnarface | usually just comes down to a basic issue of quality control and accountability | 11:39 |
gnarface | what do you even need it for? are you sure it's not something you could get from beowulf-backports? | 11:40 |
muawija | well, of course the 3rd party repo must do it's own QoC | 11:40 |
muawija | libdvdcss | 11:40 |
muawija | I really don't like the idea of package downloading some code from somewhere | 11:41 |
gnarface | well, that one you should get that from the vlc repo anyway | 11:41 |
muawija | this is just nogo for me | 11:41 |
muawija | any reference to the vlc repo? | 11:41 |
gnarface | http://www.videolan.org/developers/libdvdcss.html | 11:43 |
gnarface | these are the people who make it, so it's not just downloading code from "somewhere" it's downloading the official code from their private git repo | 11:44 |
muawija | that doesn't matter | 11:44 |
gnarface | well, they used to have pre-built copies somewhere, they probably still do | 11:45 |
muawija | a package that does wget while configuring the package is a crap for me and I don't want it | 11:45 |
muawija | well, I'll see if I can make a private repo and make the packages for me | 11:46 |
muawija | but actually deb-multimedia has some more recent versions of some packages so I actually find it ok as long as it doesn't break anything | 11:47 |
gnarface | here, if you actually just look in the repo, you can see they have the pre-built debs for amd64 and i386 that used to be linked from the other page still there http://download.videolan.org/pub/debian/stable/ | 11:48 |
muawija | the problem is not that I couldn't fix it - the problem is that I don't have always the time to do so if it happens at a wrong time | 11:48 |
gnarface | yes, exactly my point | 11:48 |
muawija | ok. I'll look at it. I may try to rebuild the packages on debian and create my private repo on my local server... | 11:49 |
gnarface | you mean build them on devuan? | 11:49 |
gnarface | it's probably not a tough build | 11:49 |
muawija | I'm running devuan anyway, so I can take the source / source packages and build my own binary packages and create my own repo | 11:50 |
muawija | that would seem to me to be a clean solution. | 11:50 |
muawija | (I have more that one devuan-running machines, and I'm migrating debian-wheezy [pre-systemd] on yet more, so having a repo would make sense) | 11:52 |
gnarface | i agree, and that is also the most highly advised approach for both debian and devuan, i just thought you were trying to avoid the work | 11:52 |
gnarface | (it's also the approach that is the most work) | 11:52 |
gnarface | for this particular package it's not gonna change much, probably | 11:53 |
gnarface | so maybe that will factor into your decision | 11:53 |
gnarface | it hasn't been updated since 2013, dvd is dead like latin | 11:54 |
gnarface | so whatever you do, you're probably only going to have to do it once | 11:54 |
muawija | ah, good to hear. although - there new bugs found even in the old software. | 12:17 |
muawija | and - dvd may be dead but my wife likes watching them :-) | 12:17 |
gnarface | my point was just that it's not going to change, the format's not going to change, and it's highly unlikely there's remaining bugs you're actually going to run into | 12:19 |
muawija | well I mean security bugs are found even in old software (because some "haxxors" just like to look for them), so I would account for this possibility | 12:20 |
gnarface | yea but it's also for playing dvds | 12:22 |
gnarface | so the attack surface is actually not huge unless you're exposing your system to some pirated street shit | 12:22 |
muawija | yeah. | 12:22 |
muawija | I think I'll go with my own repo. I'll probably look what's else in the deb-multimedia repo what would interest me and create a script to build my own repo a publish it on github or so | 12:23 |
gnarface | it *should* never be reached by a network connection itself unless you're doing something really reckless | 12:23 |
muawija | well, you're right but I'm paranoid anyway :-) | 12:24 |
muawija | I just don't account for what "shouldn't ever be possible" | 12:24 |
muawija | :-) | 12:24 |
muawija | BTW, another question. my apt-update complains about chimeara-security not having the Release file. | 12:28 |
muawija | does chimaera have the security repo / will it have in the future? | 12:29 |
muawija | or is merged with -updates ? | 12:29 |
muawija | (correction: "apt update") | 12:30 |
gnarface | empty until it goes stable (as with debian, testing and unstable too, afaik) | 12:30 |
gnarface | the security packages are usually only really relevant to the stable release anyway, because testing and unstable are typically already updated with those patches by then | 12:31 |
muawija | ok, so I can comment it out until going stable? | 12:32 |
gnarface | yes | 12:32 |
muawija | ok. It was my assumption but "security" is not something you'd like to disable unless you are sure ;-) | 12:32 |
openbsdtai123 | hello, I have a 2 GB SD/MMC card. I wanna put zcat devuan... on it. Then, I add a Scandisk pendrive 16GB, how to boot to the pendrive device? | 13:08 |
openbsdtai123 | (is there a sort of DUMP for creeating the SDB deevice with the root. | 13:09 |
openbsdtai123 | the vmlinuz and initrd shall it be on mmc or sdb | 13:09 |
openbsdtai123 | yeti: I guess there is nvi, ex-vi, elvis as three light weight VI editors... is there more? | 13:10 |
openbsdtai123 | yeti: what is the closest one to the original vi? all are much more different. Is there the first version of vi ? akak 1970-80 one. | 13:10 |
MinceR | i suppose you could put /boot, grub and its MBR on the pendrive | 13:13 |
MinceR | and / on the SD/MMC card | 13:13 |
openbsdtai123 | isnt it an util that does it? | 13:13 |
MinceR | if the installer can see these devices, you can select them there | 13:13 |
MinceR | dunno | 13:13 |
openbsdtai123 | it would be on rpi3b model b | 13:13 |
MinceR | oh | 13:13 |
MinceR | i don't know how it's done on rpi, i've always just put the whole system on an SD card | 13:14 |
openbsdtai123 | I wanna boot in RO and DUMP to sdb | 13:15 |
openbsdtai123 | read only booting, first boot in ro and then copy the whole onto sdb | 13:15 |
openbsdtai123 | I am interested in similar simple soluutions like using "dump" to copy a disk to another, this is very efficient. Partimage would be a high evolved way, but it is likely not needed. | 13:20 |
openbsdtai123 | In U-BOOT, theeere is no option to Boot in Read-only single mode | 13:21 |
fsmithred | there's no kernel command line? | 13:26 |
fsmithred | do you want to copy the system every time you boot? | 13:27 |
ShorTie | have you looked at rpi-clone maybe ?? | 14:03 |
ShorTie | the rpi3b needs a bit burnt to be able to boot from /dev/sdx | 14:08 |
kreyren | What should i use on devuan if i don't want to use elogind | 17:02 |
kreyren | Sorry DC | 17:04 |
bgstack15 | consolekit is an alternative to elogind | 17:15 |
kreyren | bgstack15, thanks | 17:34 |
kreyren | Why is this pinning causing all packages to be set in -1 pin? | 17:47 |
kreyren | https://i.imgur.com/akypWFJ.png | 17:47 |
kreyren | ah wait that's not it | 17:47 |
kreyren | solution: i had `Package: *` `Pin: release n=*` `Pin-Priority: -1` at the BOF which overwrote everything | 17:49 |
openbsdtai123 | Hello, I try to wget -4 -C ... https:// ... | to pipee to mpg123. | 19:25 |
openbsdtai123 | I would like to try to use a small httpget with https/ssl supprot. | 19:25 |
openbsdtai123 | I tried lynx but the command line does not accept accept_ssl on by defualt | 19:25 |
openbsdtai123 | Is there a possible alternative to pipe it out to mpg123 (mpg123 has no ssl) ? | 19:26 |
onefang | I use curl for similar things. | 19:26 |
openbsdtai123 | I would like a bit smaller in size, even smaller than the famous Fetch for bsd. | 19:31 |
nemo | openbsdtai123: so... why doesn't the wget work? | 20:09 |
nemo | openbsdtai123: I just tested both wget and curl locally | 20:11 |
nemo | openbsdtai123: wget -O- https://foo | mpv - and curl https://foo | mpv - | 20:11 |
nemo | worked identically | 20:11 |
openbsdtai123 | the problem with wget is that it does not compile very well from tar.gz | 20:57 |
nemo | openbsdtai123: how about netcat? | 21:09 |
nemo | or well. socat in this case | 21:09 |
nemo | hm.. netcat does ssl now? wow | 21:10 |
nemo | oh. no. that's ncat by the nmap team. confusing names | 21:10 |
openbsdtai123 | really does netcat ssl? | 21:10 |
nemo | ok. so socat or ncat I guess | 21:11 |
openbsdtai123 | actually the code is just libssl and just httpget - nothing very complex | 21:11 |
openbsdtai123 | look in just 10 lines of code, you get your heavy wget : https://termbin.com/grqa (no ssl) | 21:12 |
nemo | heh | 21:14 |
nemo | wget does a lot of crazy clever stuff that makes it heavy | 21:14 |
nemo | like... having basically a full site crawler in it | 21:14 |
nemo | that handles <a>, <img>, <object>, <link>, <style>... | 21:15 |
nemo | <script>.. | 21:15 |
nemo | I use wget's mirror feature a lot | 21:15 |
nemo | it's a great site tester/snapshot tool that exists basically everywhere | 21:15 |
openbsdtai123 | I tried to compile the first version of wget but the libs are outdated | 21:18 |
openbsdtai123 | fetch from github, custom, may likiely work | 21:18 |
openbsdtai123 | nemo: I usually prefer to use a tool that it simple and readily compilable. I take for instance ncftp, you can compile it on any toaster | 21:20 |
nemo | openbsdtai123: sure, I'm just noting it isn't an apples to apples comparison | 21:20 |
nemo | wget was intended to be a kind of web swiss army knife | 21:21 |
nemo | which is why so many distros use it. it's kinda drop-in and will work with a lot of weird stuff | 21:21 |
nemo | but yeah, small simple tools are nice too. but eh. even tools I use for small simple tasks have a lot going on under the surface | 21:21 |
nemo | take awk and sed for example | 21:21 |
openbsdtai123 | i never use them, i have my own C ... awk and sed is useless for me. | 21:23 |
openbsdtai123 | grep is just 10 lines in C. | 21:25 |
furrywolf | grep is just one line of grep. | 21:25 |
furrywolf | also, I'd love to see you mmap a file, run a regex on it, etc, in ten lines. :P | 21:26 |
furrywolf | (ten reasonable length lines) | 21:26 |
openbsdtai123 | regex | 21:27 |
openbsdtai123 | ah ok, to replace it is possible, a string :%s/bla/blo/g in C in 10 lines still | 21:28 |
nemo | heh. grep is crazy optimised | 21:29 |
nemo | there's nothing like it for performance. esp on fixed strings | 21:29 |
openbsdtai123 | indeed | 21:30 |
nemo | https://lists.freebsd.org/pipermail/freebsd-current/2010-August/019310.html classic | 21:31 |
nemo | even with my primitive use of awk, I still love awk very much | 21:31 |
nemo | I use it tons for log files and CSV | 21:31 |
nemo | awk -F'somethingevenaregex' '{SUM+=$3}END{print SUM}' | 21:32 |
nemo | my most common usage | 21:32 |
nemo | I'm sure I'm only getting a tiny fraction of its power out of it | 21:32 |
nemo | sed gets more of a workout from me. esp sed -i | 21:32 |
furrywolf | heh, that posting is funny. I actually ran into performance issues with gnu grep once, and did some poking at how to make it suck less. | 21:33 |
furrywolf | when matching large numbers of ORed input strings, it begins to suck after a few thousand, and it's much faster to wrap it in a bit of shell to only pass it a couple thousand at a time. | 21:33 |
openbsdtai123 | ...still what about my mini wget ? | 21:33 |
nemo | furrywolf: er... OR? | 21:35 |
nemo | furrywolf: as in grep -E "foo|bar|baz" ? | 21:35 |
nemo | openbsdtai123: what's wrong with socat/ncat? | 21:36 |
furrywolf | yes | 21:36 |
nemo | furrywolf: and... did you compare -E vs -P ? | 21:36 |
* nemo makes a quick ginormous test | 21:36 | |
furrywolf | never heard of -P | 21:36 |
nemo | ah. definitely give it a shot | 21:37 |
nemo | furrywolf: esp if you're running into regex perf issues | 21:37 |
nemo | the difference is remarkable | 21:37 |
nemo | furrywolf: swaps out the traditional regex engine for basically perl's, which has been optimised out the wazoo | 21:37 |
nemo | pcre | 21:37 |
furrywolf | I tried -F, which automatically interprets the input as simple fixed strings to be ORed. | 21:37 |
nemo | -F is good too, I don't know which is better, I guess I'd need to see your variants | 21:37 |
furrywolf | I don't have the original code handy, but it was pretty trivial... a check to see which words are still words when ROT13ed. :P | 21:38 |
nemo | ah | 21:38 |
furrywolf | basically, rot13 /usr/share/dict/words, then grep the dictionary for that dictionary. | 21:38 |
nemo | yeah | 21:38 |
furrywolf | obviously not a real-world algorithm. | 21:39 |
nemo | I've done similar abuse of dict/words in grep. I'm surprised it was faster to OR them than just iterate over the list | 21:39 |
nemo | but at least it gives me an idea of how to replicate what you were doing. | 21:40 |
nemo | furrywolf: oh. I assume you converted everything to a-z lowercase only.. | 21:40 |
furrywolf | cat /usr/share/dict/words | tr 'A-Za-z' 'n-za-mn-za-m' | grep -x -f - /usr/share/dict/words | 21:43 |
nemo | ah. so you didn't remove apostrophes | 21:44 |
furrywolf | might want a -i in there too | 21:44 |
onefang | I think you have gone beyond Devuan support. Do I have to tell you to #debianfork off? B-) | 21:45 |
furrywolf | this is obviously a bad algorithm for actually doing this, but it's certainly quick to write. :P | 21:45 |
* nemo sighs and adds the channel again | 21:45 | |
openbsdtai123 | in 20 lines, the BSD grep - voila clean: https://termbin.com/aezg | 21:46 |
openbsdtai123 | (original early version). | 21:47 |
openbsdtai123 | yeah, what about fetch in the repositories? or similar smaller fetcher?? I tried lynx -dump ... to mpg123 ;) | 21:48 |
fedematico | Good Evening | 23:02 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!