ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.org | post logs or else | "Seek simplicity but distrust it" -- Alfred North Whitehead
<hyrc> i /8
<acheam> phoebos: bruh
<acheam> quit that class
<acheam> return type on a new line always
<acheam> I hope you cited 1000 style guides at the teacher
<Andrei_> acheam: what happened to your website D:
<acheam> nothing?
<acheam> what in particular?
<phoebos> acheam: i will
<phoebos> are you learning racket
<phoebos> i wanna commit to trying a lisp, probably scheme
<phoebos> it feels like it would be great for data analysis
<phoebos> necromansy hasn't been around for a while :p
<acheam> phoebos: yeah
<acheam> racket is nice
<acheam> albeit heavy
<acheam> its got a big standard library, which can be a pro or a con depending on how you look at it
<phoebos> mmm
<phoebos> i'd rather a language with a few simple features which can be easily built upon but including support for operations on arrays
<hyrc> i have the purple book somewhere
<phoebos> chicken seems to be a nice scheme, and the most recent release can be built with tcc in ~1 second
jleightcap has quit [Ping timeout: 268 seconds]
<phoebos> hyrc: SICP?
<hyrc> ableson and sussman iirc
<hyrc> programming intro with scheme
<hyrc> got a C in the course :/
jleightcap has joined #kisslinux
<hyrc> went looking for a modern phone with hdmi out
<hyrc> oh, Sony Xperia Pro has one
<hyrc> oh, it's 2499 euro...
* hyrc looks at his 50 euro droid4 - with hdmi out
<acheam> phoebos: chicken is nice
<acheam> there is also chez scheme, and tinyscheme
<acheam> also a book called "the little schemer"
<acheam> also this essay is good
sereg has joined #kisslinux
akira01 has quit [Remote host closed the connection]
<hyrc> lisp is for math people. c is for clockmakers.
<natris1979[m]> hyrc: Isn't usb c to hdmi I thing? I thought that was a thing
<natris1979[m]> * hyrc ^
<hyrc> if you can get linux drivers for it maybe
<hyrc> http://0x0.st/i7z7.ans ansi-color utf8 movie poster :)
sereg has quit [Remote host closed the connection]
sereg has joined #kisslinux
hyrc has quit [Ping timeout: 245 seconds]
hyrc has joined #kisslinux
<natris1979[m]> some of you have mentioned using kiss in a chroot. Do you all generally just do that by going through https://kisslinux.org/install but skipping the kernel bits, and "logging in" with `kiss-chroot`?
<natris1979[m]> and obviously doing it form your base linux install rather than a live environment
<hyrc> finally got around to reading the kisslinux.org
<natris1979[m]> I think I read almost the whole thing before I even tried kiss
<natris1979[m]> wanted to make sure the install process would be worth it :D
<hyrc> i'm a bit amazed at 121 components. ok busybox takes care of a lot
Denshi has joined #kisslinux
<hyrc> have you used a chroot before natris1979[m] ?
<natris1979[m]> not very extensively
<natris1979[m]> for the kiss install.. and I think for.. something.. .when I worked in webhosting 20 years ago
<hyrc> the mess python has created is one of the reasons for the mess of containers now
<natris1979[m]> oh, I've also used docker. Because all that
<hyrc> what a dumpster fire of epic proportions
<hyrc> yeah
<natris1979[m]> yeah.. Tried installing pyenv on my work (mac) laptop a couple weeks back. Boy was that awful
<hyrc> i'd have no need for all that shit but i'd like to play with some neural nets
<hyrc> and wow those people live in hell
<natris1979[m]> I don't mind python so much. But my professional alternative at the current moment is javascript
<hyrc> mm
<natris1979[m]> so that may color my thinking
<natris1979[m]> @hyrc have you done the chroot thing?
<natris1979[m]> s/@//
<hyrc> i do it to chroot to a 32bit environment
<natris1979[m]> oh that's cool, I would not have thought that possible
<hyrc> i used to do it on servers i didn't want to endanger
<natris1979[m]> hmm. Maybe it's better to just use `chroot` directly?
<hyrc> for my 32bit environment i bind the host's /proc, /sys, /dev, /run /tmp as well
akira01 has joined #kisslinux
<natris1979[m]> which is apparently much of what kiss-chroot does..
<hyrc> it lets me build stuff for my potato phone on my 'big' arm computer
<hyrc> haven't turned on the pc's or notebooks in two years
<natris1979[m]> ooh big arm computer, that's cool
<hyrc> mghm
<natris1979[m]> what phone do you have?
<hyrc> i just like fanless life more than lots of power and energy bills now
<hyrc> i mostly muck with the droid4 running maemo-leste
<hyrc> it's my favorite little device
<hyrc> best little keyboard. hdmi out when i want to visit a friend and play stuf
<natris1979[m]> what's the 'big arm'?
<hyrc> khadas vim3 pro
<natris1979[m]> oh yeah, I was looking at the droid 4 when I was thinking of running sxmo
<hyrc> mhm and it's the same OS under the hood as my other machiens
<hyrc> so life is nice and cozy
<natris1979[m]> that's pretty sweet
<natris1979[m]> have you done anything cool with the NPU on the vim3?
<hyrc> no
Denshi has quit [Quit: Denshi]
<hyrc> because python is hell, and i only can tolerate the stench for a few minutes
<natris1979[m]> that's fair, hehe
<hyrc> and to get creative with that sutff i'd really need to just setup an environment identical to whatever the builders of that network used
<hyrc> and that means firing up the big x86 which seems to have died while i was outside the house
<hyrc> khadas does package some toy NN demos though
<hyrc> hook up a camera, recognize your dog. that kind of thing
<natris1979[m]> yeah, sounds just as painful as everything I've tried playing with
<natris1979[m]> and I kinda like python even
<hyrc> what has made my past two years actually fun was the panfrost open source gpu drivers
<hyrc> it's a huge add-on to be able to run opengl and opengl-es on these little boards now
<hyrc> freakin heroes, those people
<natris1979[m]> yeah that's pretty sweet
<hyrc> ok yeah, a 5 watt gpu does have limits
<hyrc> but still, fun
<natris1979[m]> sure. I mostly just do emulation from time to time. I'm no AAA gamer
<hyrc> ppsspp runs like a charm
<natris1979[m]> sweet
<natris1979[m]> do you use the vim3 on the go at all, or just at home?
<hyrc> i have used it at friends houses
<hyrc> sometimes i want to play videos on their tvs
<natris1979[m]> makes sense
<hyrc> if i have them transcoded, the droid4 can play them on the hdmi out
<natris1979[m]> that's snazzy
<natris1979[m]> it's amazing how much more power you can get out of these old devices with a proper os
<hyrc> yes without hardware codec, droid4 manages 960x540 h265 even
<hyrc> if you choose the low-cpu profile
<hyrc> i did not expect that
<natris1979[m]> low cpu profile?
<hyrc> h265 has expensive options, and you can omit those
<hyrc> so that potato cpus can play them back
<hyrc> still looks way better than h264 at same bitrate
<natris1979[m]> oh I see
<hyrc> just add -tune fastdecode to your ffmpeg line
<natris1979[m]> huh neat
<hyrc> so you are knower-of javascript and python eh. i bet you can do a lot of stuff I wish i could.
<natris1979[m]> what do you wish you could do?
<hyrc> a greasemonkey/tampermonkey script that would blacklist results from search engines, so i never have to see them again
<hyrc> with a shift-click or something, y'know
<natris1979[m]> oh yeah, I think I could do something like that porbably. Haven't looked at greasemonkey etc in years, but I did make a chrome/firefox plugin once that added 3rd party pdf viewer links to search results. I'm sure it'd be similar
<hyrc> mhm i did one tampermonkey script to scrape some data from a site into a textfile
<hyrc> but it never worked really well
<natris1979[m]> seemed like browsers kinda crippled greasemonkey last time I looked at it
<natris1979[m]> why not just use curl + some kind of parser program? No reason something like that needs to be in browser
<hyrc> on the site i wanted, curl wasn't an option
<hyrc> it was an 'application' with login
<natris1979[m]> ah, do I have a trick for you!
<natris1979[m]> what browser do you use?
<hyrc> i don't need to do this anymore
<natris1979[m]> ah, well, browsers have a thing now where you can spy on the network requests a website is making, and you can just right click the request and hit something like "copy as curl command" and it'll make one for you that has all the cookies and whatnot you need to make requests with your current session
<hyrc> interesting
<natris1979[m]> super useful
<natris1979[m]> can't do everything though
<acheam> woah copy as cURL is super helpful
<acheam> thanks
<natris1979[m]> sure!
<hyrc> one thing i did i'm rather happy with was the prototype for sigstoped
<hyrc> if you have some program you want to pause when it loses focus
<hyrc> say, a browser, on a slow computer
<hyrc> run sigstoped and put the window name in the pause-list
<natris1979[m]> oh that's neat
<hyrc> yeah helpful on these potato computers
<hyrc> one of those things where i coded a solution, shared it with people
<hyrc> and a competent programmer went 'ugh'
<hyrc> and did a proper implementation of the idea
<natris1979[m]> was it really proper or just more complicated?
<hyrc> :)
<hyrc> maybe someone more qualified than me could say
<hyrc> seems simple to me though. and it works with a simple textfile list
<hyrc> and it's more responsive than my version
<natris1979[m]> okay, that's weird. I'm trying to install kiss in a chroot, and I get to https://kisslinux.org/install#011, and it builds the thing then says:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/e2d6a4f18adc1b762bbc5977c2a2e20c66837d68)
<natris1979[m]> why on earth would it try to su to 1001?
<natris1979[m]> what even is that?
<hyrc> user id
<hyrc> often first user starts at ID 1000, second 1001
<natris1979[m]> but I don't have anything close to that. This is really bare bones inside the chroot:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/a075c17ff87d68f9a5c4985fa62306ce53e0aa1f)
<hyrc> shows me a blank page, sorry
<natris1979[m]> oh my /etc/passwd inside the chroot has 2 users, root with id 0, and `nobody` with 99
<natris1979[m]> hmmm... my user on the real system is 1001 though
<natris1979[m]> methinks something is leaking
<natris1979[m]> I wonder if I need to `su root` before I do the chroot command
<natris1979[m]> that seems wonky
<hyrc> i added a user in the chroot to get a userid 1001
<hyrc> Dr. Andreas Noack has been killed for publishing his findings
<hyrc> sorry wrong channel
<natris1979[m]> lol, so I created user 1001. and `kiss` su's to that user then tries to make files in `/root` fails and crashed *face palm*
<natris1979[m]> oh, I see, my entire chroot is owned by userid 1001
<acheam> the biggest con of daylight savings: I have to wait longer to see testuser's "Hi" messages
sereg has quit [Ping timeout: 256 seconds]
bibliocar has joined #kisslinux
<bibliocar> Daylight savings is nothing compared to the uselessness of leap seconds, which are part of POSIX.
<noocsharp> turns out my static executable problem is related to kernel config, still haven't figured out what specifically
<bibliocar> rather, posix specifies UTC, which uses leap seconds.
<bibliocar> er, i thought it did.
<bibliocar> I feel like I'm bikeshedding, I'm not smart enough to know, nooc.
<noocsharp> that makes the two of us
<testuser[m]> Hi
<noocsharp> there he is
<noocsharp> is there a kernel config option that enforces pie?
<natris1979[m]> pie?
<noocsharp> position-independent executable
<noocsharp> i guess by enforces i mean forces
<testuser[m]> Obviously you just have to override KERNEL_CFLAGS
<testuser[m]> Or KCFLAGS whatever
<hyrc> what's this own compiler you made noocsharp
<noocsharp> well i mean forces userspace executables to be pie
<hyrc> i've read about this before
sereg has joined #kisslinux
<testuser[m]> noocsharp: are you hacking on cproc or its something from scratch?
<noocsharp> from scratch, very primitive rn
<noocsharp> i doubt i would be running into this if i used any reasonable linker
<noocsharp> testuser[m]: automake fails to build for me: https://nihaljere.xyz/files/automake-2021-11-29-23:47-28252
<testuser[m]> noocsharp: bruh how long didn't u update for
<testuser[m]> rebuild latest perl
<testuser[m]> It's signal handlers were broken
<natris1979[m]> dude, running kiss as a chroot was a great idea. Already got this going better than that stupid hyper v vm
<testuser[m]> Lol
<natris1979[m]> I know I know
<testuser[m]> Hmm it's been a loooong time since i updated the chromium package
<testuser[m]> Maybe i should finally do it
<natris1979[m]> does it take a really long time?
<natris1979[m]> to compile I mean
<testuser[m]> Yea it takes 5 hours
<natris1979[m]> ouch. Here I am being impatient about this llvm build
<hyrc> i dont have braintime to follow noocsharp but it's nice to see someone doing smart stuff
gtms has joined #kisslinux
Denshi has joined #kisslinux
Denshi has quit [Quit: Denshi]
<travankor> hyrc: what findings ?
<hyrc> well looking into him, he was pushing some kooky stuff
<hyrc> sorry for wrongchan
Denshi has joined #kisslinux
<hyrc> i present you, this week's ansi pic http://0x0.st/-hoV.ans
Denshi has quit [Quit: Denshi]
<bibliocar> pfft, that's just low resolution grayscale.
<hyrc> share your work
<hyrc> :)
<hyrc> always glad for some competition
<hyrc> irc palette, 80 columns
<bibliocar> oh no
<hyrc> oh yes and fitting in irc message length < ~ 450 bytes per line
<hyrc> another significant constraint
<bibliocar> Okay, I'll try
<bibliocar> okay, this is coming out pretty terrible.
<bibliocar> oops
<bibliocar> hyrc, what do you think?
<bibliocar> I'm much better at svgs.
<aosync> is this anti socialism propaganda ?
<bibliocar> You'd have to ask hyrc, just following their lead.
<bibliocar> As an aside, I actually like low resolution greyscale. It works with weird display technologies like passive oleds and vfds.
<bibliocar> also, i know my art is terrible, but I have to go.
dontmindmee has joined #kisslinux
jleightcap has quit [Ping timeout: 252 seconds]
jleightcap has joined #kisslinux
<phoebos> natris1979[m]: chroots are great! and cheap! make loads of them!
<phoebos> also acheam thanks for the link, that was v interesting
<phoebos> with schemes, i'm attracted to the standardisation, particularly r5rs
<phoebos> which i don't think racket follows?
<phoebos> also racket's man page is yuck
<phoebos> > run racket --help
<testuser[m]> Bruh
<phoebos> like this guy just wanted a man page in the manifest
<phoebos> chicken's are better
<phoebos> but there's nothing as good as man 7 mdoc
<phoebos> having [a lot of] the language specification in a manpage is great
<phoebos> acheam: have you used racket's IDE
<phoebos> you don't still use emacs right :p
akspecs has joined #kisslinux
Denshi has joined #kisslinux
Denshi has quit [Client Quit]
Denshi has joined #kisslinux
Denshi has quit [Client Quit]
akspecs has quit [Remote host closed the connection]
akspecs has joined #kisslinux
Denshi has joined #kisslinux
<phoebos> high quality function to find the pearson correlation coeff of two arrays
<phoebos> if anyone *knows* lisp please criticise
Denshi has quit [Quit: Denshi]
<natris1979[m]> Hmm. I know enough lisp to understand that code, but not well enough to critique effectively. My brain is just like "yup. That's some mathy lisp. Looks like good math and good lisp"
<phoebos> :-)
<phoebos> i think a functional style wouldn't use so many temporary variables in a function, instead use more nested functions
<phoebos> but idk
<tleydxdy[m]> it looks clean, but the only way to know is to run some benchmarks
<tleydxdy[m]> see if the vectorization works
<natris1979[m]> Yeah. I suppose each of your variables could be a function. But that would just make it more verbose and change the performance profile
micr0 has joined #kisslinux
micr0 has quit [Changing host]
micr0 has joined #kisslinux
gtms_ has joined #kisslinux
micr0 has quit [Client Quit]
gtms has quit [Ping timeout: 256 seconds]
bibliocar has quit [Read error: Connection reset by peer]
bibliocar has joined #kisslinux
<hyrc> bibliocar: it's not terrible at all. It's classic ascii with no unicode, and no colors. i don't think i'd change anything except i'd try to maybe do something else for the 'blindfolds' if i could
<noocsharp> testuser[m]: i haven't updated my system since openssl 3.0 came out
sereg has quit [Remote host closed the connection]
sereg has joined #kisslinux
smartin has joined #kisslinux
smartin has quit [Read error: Connection reset by peer]
<bibliocar> I think linux has an advantage over the bsds in that all the bits and pieces are somewhat interchangable and the space can be very competetive.
bibliocar has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Denshi has joined #kisslinux
Denshi has quit [Client Quit]
chaihron has quit [Ping timeout: 256 seconds]
progenyx has quit [Ping timeout: 256 seconds]
chaihron has joined #kisslinux
progenyx has joined #kisslinux
<noocsharp> also testuser[m] it would make me very happy if you updated the chromium binary
<hyrc> home roast coffee is interesting. suddenly coffee is not boring, but an adventure with some random
mahmutov has joined #kisslinux
zlg has quit [Quit: WeeChat 2.8]
smartin has joined #kisslinux
monke has quit [Quit: The Lounge - https://thelounge.chat]
ella-0_ has joined #kisslinux
ella-0 has quit [Ping timeout: 252 seconds]
<noocsharp> does ntfs-3g fail to build for anyone else?
smartin has quit [Remote host closed the connection]
smartin has joined #kisslinux
midfavila-laptop has joined #kisslinux
<midfavila-laptop> evening, everyone
<sereg> evenin'
<midfavila-laptop> hmm. looks like dilyn's not on. that's unfortunate
<sereg> indeed T_T
mahmutov has quit [Ping timeout: 252 seconds]
monke has joined #kisslinux
smartin has quit [Ping timeout: 256 seconds]
<phoebos> hei midfavila-laptop
<phoebos> i played with some scheme today :p
gtms_ has quit [Remote host closed the connection]