ChanServ changed the topic of #kisslinux to: KISS Linux | https://kisslinux.org | https://kisscommunity.org | post logs or else
<duplex> I'm trying to start sway but it's erroring saying "[sway/server.c:100] Unable to open wayland socket"
<acheam> did you get internet?
<duplex> I did
<duplex> do you want kernel config?
<dilyn> we should write up an FAQ of all the most frequent questions we get in this channel
<duplex> what's the command to upload files again?
<duplex> you should
<dilyn> and put it up on kisscommunity.org
<dilyn> lmao
<duplex> is there anyway to get better logs from sway?
nkatte has joined #kisslinux
<acheam> duplex: what did you do
<acheam> dilyn: yes
<acheam> kErNeL 5.13 wOnT cOmPiLe
<dilyn> kekw
<dilyn> sway has a debug option duplex
<dilyn> sway -d
<dilyn> you either don't have seatd running, don't have a runtime session value set, or the directory doesn't exist, or or or
<dilyn> it could be a couple things but you'd have to run sway -d to see what exactly the problem is
<dilyn> the solution depends on what sway package you installed
GalaxyNova has joined #kisslinux
micro_O has quit [Ping timeout: 248 seconds]
<GalaxyNova> For some reason my efibootmgr settings aren't saving
<GalaxyNova> even with the mounted efivars
nkatte has quit [Ping timeout: 252 seconds]
<dilyn> what all are you doing surrounding setting these vars?
<dilyn> you're not using grub at all, correct?
<GalaxyNova> yes
micro_O has joined #kisslinux
<GalaxyNova> I just did the command from @wiki/boot/efistub
<GalaxyNova> It's reset when I restart
<dilyn> does efibootmgr report that you actually have these efivars set after you do the command?
<dilyn> do the contents of /sys/firmware/efi/efivars/ change afterwards?
<GalaxyNova> I'm not sure
micro_O has quit [Ping timeout: 268 seconds]
<GalaxyNova> efibootmgr reports it being successful
<GalaxyNova> and when i view the efi entried with "efibootmgr" it shows it
<GalaxyNova> I also have the efi system partition mounted if that matters
<dilyn> right you should check what's in that folder
<GalaxyNova> it's not changed
<dilyn> is it mounted ro?
<dilyn> you would expect to see a new file called something like Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c if efibootmgr is correctly making the entry
<GalaxyNova> oh yes new files are appearing
<dilyn> yay :)
GalaxyNova has quit [Quit: Whoooooshh]
Guest74 has joined #kisslinux
Guest74 has quit [Client Quit]
micro_O has joined #kisslinux
<duplex> I'm back. is there an easy way to wipe a command to a paste service?
micro_O has quit [Ping timeout: 248 seconds]
<acheam> | nc termbin.com 9999
<duplex> how do I get the link?
<acheam> it will print it out
<duplex> it does not
<acheam> does for me
<duplex> I'm running "sway -d | nc termbin.com 9999"
<acheam> maybe its just getting lost in the shuffle with sway
micro_O has joined #kisslinux
<acheam> try "sway -d > log"
<acheam> "nc termbin.com 9999 < log"
Uks3 has joined #kisslinux
<duplex> the log file is empty
<acheam> "sway -d 2&> log"
Uks2 has quit [Ping timeout: 268 seconds]
<acheam> ehr, just 2>, not 2&>
<duplex> no longer empty
<duplex> 2& worked
<acheam> oh
<acheam> bruh
<acheam> shell redirect syntax is painful
<acheam> well i think you've got your answer right in the log
<duplex> I couldn't run it as root
<duplex> also that didn't show up untill now
<duplex> should I change the XDG_RUNTIME_DIR path or something
<acheam> chown it
<acheam> or change it to /tmp
micro_O has quit [Ping timeout: 268 seconds]
<duplex> now it's asking for a config
<duplex> I can work with that
zenomat has quit [Ping timeout: 268 seconds]
zenomat has joined #kisslinux
zenomat has joined #kisslinux
zenomat has quit [Changing host]
nkatte has joined #kisslinux
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 248 seconds]
micro_O has joined #kisslinux
Uks3 has quit [Ping timeout: 248 seconds]
Uks2 has joined #kisslinux
Uks2 has quit [Quit: Byee]
Uks2 has joined #kisslinux
GalaxyNova has joined #kisslinux
<GalaxyNova> lmao I can't believe what I've done
<GalaxyNova> > installs wyverkiss
<GalaxyNova> > uses grub
<acheam> bruv
<GalaxyNova> it's the only bootloader I understand ;(
<GalaxyNova> I've sinned
<acheam> what about clover or limine
Uks2 has quit [Ping timeout: 248 seconds]
Uks2 has joined #kisslinux
<GalaxyNova> isn't clover meant for Mac OS or smt
<GalaxyNova> I never heard of limine
<duplex> if you want gummiboot it's on my repo
<dilyn> my least favorite thing is when i get symbol errors when using kiss to build something but not when I do it manually...
<noocsharp> what buildeth thou
<GalaxyNova> diplex: Link to repo? I might check it out
<dilyn> oh jeez i've been troubleshooting the wrong line for the last two hours
<dilyn> PSA: always make use of printfs when debugging
<GalaxyNova> try gdb / valgrind
<GalaxyNova> it changed my life
<acheam> wouldn't be of too much use for a kiss build file
<noocsharp> wait, you don't write your kiss build files in c?
<GalaxyNova> lol
<acheam> obviously....
<noocsharp> tcc -run ...
<acheam> #include <stdlib.h> \ int main(void) { system("make PREFIX=/usr && make PREFIX=/usr DESTDIR="argv[1]) }
<noocsharp> are you in #musl rn acheam?
<GalaxyNova> correct me if I'm wrong but I think system() is in stdlib
<GalaxyNova> oh nevermind
<acheam> noocsharp: now I am
<acheam> I joined earlier when you asked about doh
<acheam> but never rejoined when the server I was connected to rebooted
<noocsharp> earlier i accidentally sent this link there: https://git.sr.ht/~mil/sxmo-utils/tree/master/item/programs/sxmo_setpineled.c
<noocsharp> intending to send it here...
<acheam> oh
<acheam> sxmo is cool
<noocsharp> but look at that program
<acheam> bruh
<noocsharp> that's precisely what i put in the chat after that link
<acheam> reading through it like "looks fine... looks fine... looks fine... oh."
<acheam> im actually like.... what?
<rio6> big lol
<acheam> how are you good enough to write sxmo
<noocsharp> i sent a patch to replace that program with a shell script
<acheam> but not write a number to a file in C
<acheam> nice
<acheam> also sh with system is redundant
<acheam> system calls sh
<noocsharp> and also malloc when it could have been statically allocated
<noocsharp> and also not checking malloc for failure
<acheam> only if color and type were a set length right?
<rio6> it's must be super fast since it's written in c
<acheam> okay not checking an 80char malloc for a failure isnt the /worst/ thing
<noocsharp> until it segfaults on you
<acheam> so it segfaults
<acheam> too bad
<rio6> wait, it can totally write to /sys/class directly without using shell
<rio6> c moment
<acheam> duplex: bruh dont run builds as root
<acheam> install files to $1
<acheam> see any of the build files in the official repos
<acheam> man my overused word has switched from lol to bruh
<duplex> k
<duplex> It's for personal use so
<GalaxyNova> duplex: Those build files look suspicious
<rio6> oh gummiboot is systemd-boot
<acheam> duplex: doesn't change the fact that its bad practice
<GalaxyNova> replace "make install" with "make DESTDIR="$1" install"
<acheam> and also inconvinient
m3g has quit [Ping timeout: 248 seconds]
<rio6> if you do that may as well run without package mananger :P
<dilyn> DESTDIR is already set by kiss if you're using a recent enough version
<GalaxyNova> I've been imagining a distro that doesn't have a package manager and it's whole repository is just a git repo with makefiles
<duplex> GalaxyNova: in what way? also feel free to do whatever with it if you don't want to use my repo. I don't promise anything will stay in the repo so it's probably best to copy it to your own
<acheam> GalaxyNova: sounds like oasis?
<GalaxyNova> oasis?
<dilyn> github.com/oasislinux/
<rio6> <DESTDIR is already set by kiss if you're using a recent enough version> is this magic
<dilyn> if magic were QOL then yes :v
mahmutov has quit [Ping timeout: 268 seconds]
<noocsharp> don't bsds do that?
<GalaxyNova> bsds use to do that in the 90s IIRC
<rio6> harder to spot bug tho when using makefiles that don't use DESTDIR
<noocsharp> im blanking on what the community package system is called, but it just uses makefiles iirc
<acheam> and you still need to use $1 on your cp commands, duplex
<dilyn> ^
<acheam> right now some of the files are being installed directly to the system at build time, and others not
<acheam> so you're in this half broken state
<acheam> and kiss r wont remove those file
<noocsharp> ports! thats what its called
<duplex> I'll fix that then
<acheam> oh yeah
<GalaxyNova> yes
<duplex> I don't expect the man pages to ever change
<GalaxyNova> imagine a ports system for linux
<duplex> because gummiboot is dead :(
<acheam> duplex: what if you want to uninstall a program though...
<acheam> you'd leave that file hanging
<acheam> or what if you dont want to run your builds as root
<acheam> or you want to build but not install
<duplex> *uninstalls bootloader* but no I'm fixing it
<acheam> or build and share the build
<GalaxyNova> also can't you just specify --mandir instead of copying the man pages
<duplex> no
<acheam> ports are still a thing
necromansy has joined #kisslinux
<acheam> but all the bsds some with a binary package manager of some sorts
<duplex> I premade the manpage because it needs like 5 dependencies not in the repo
<acheam> usually the binary packages are built from the ports
<acheam> netbsd is a bit different
<acheam> with pkgsrc
<acheam> pkgsrc is cool cause its cross platform though
<acheam> oasis + pkgsrc is a good combo
<duplex> would the correct command be "cp gummiboot.8 $1/man/man8/gummiboot.8
<duplex> "?
<acheam> yes
<acheam> put quotes around the second argument
<noocsharp> $1/usr/share/man/man8/gummiboot.8
<acheam> ehr
<acheam> yeah what noocsharp said
<acheam> make sure to mkdir -p the directory first
<acheam> or use "install"
<duplex> wdym by use install
<GalaxyNova> style guide prefers install instead of cp
<GalaxyNova> the install command
<acheam> install -Dm644 gummiboot.h "$1/usr/share/man/man8/gummiboot.8"
<acheam> yeah i disagree with that
<acheam> install is the shit
<GalaxyNova> lol why
<acheam> even if its implementations are less portable
<acheam> GalaxyNova: because it combines chmod, mkdir, and cp into one glorious very un-unix-like command
nkatte has quit [Ping timeout: 268 seconds]
<acheam> now i think about it I am starting to dislike it.....
<GalaxyNova> > deletes /usr/bin/install
<duplex> I pushed a fix
<rio6> alias install="rm -rf"
<duplex> alias install="rm -rf /* --no-preserve-root &"
<acheam> --no-preserve-root is a gnu flag
<acheam> shame
<duplex> rip
<acheam> and not needed in combination with /*
<duplex> good
<duplex> kiss users are safe
<acheam> no its cp "$1/usr/share/man/man8/gummiboot.h"
<acheam> $1 doesn't include /usr/share
<duplex> ah ok
<acheam> sorry, I misspoke earlier
<acheam> $1 is the equivalent of / for the partition
<acheam> s/partition/package/g
<cotangent> <acheam> $1 is the equivalent of / for the package
micro_O has quit [Ping timeout: 258 seconds]
<GalaxyNova> it's where compiled binaries are installed to before the user actually confirms the install
<GalaxyNova> and that's why build make install can run without root
nkatte has joined #kisslinux
<acheam> the package manifest is basically just "find $1", so any files installed outside of that wont be tracked by kiss
nkatte has quit [Read error: Connection reset by peer]
<acheam> in actual, its some shell magic ofc
<acheam> but basically the same thing
<acheam> actually I lied
<acheam> it does call find
<acheam> but just more complex than what I wrote
nkatte has joined #kisslinux
<testuser[m]> Hi
<acheam> Hi
<acheam> How goes the morning
<testuser[m]> Nice
<noocsharp> wait, but it's night
<acheam> *mind blown*
<acheam> noocsharp: can I ask a random personal question?
<noocsharp> i suppose
<duplex> *proceeds not to*
<testuser[m]> Hmm dylan hasn't put out a this month in KISS yet
<GalaxyNova> I think he might've dropped that
<GalaxyNova> since kiss-community adopted the community repo there's not much to report
<GalaxyNova> It'd be nice to have it come back as a blog by dilyn tho ;)
<dilyn> :V
<dilyn> perhaps
<dilyn> i can't stress enough how much the structure of kiss-community is open to changing xD
<dilyn> I need not be the sole person in charge here
<acheam> duplex: i moved to a PM, didn't feel appropriate to ask here
<noocsharp> after all, this is a channel for a linux distribution
<dilyn> is there way to do both ${foo#*/} and ${foo%.c} at the same time?
<dilyn> given that the names are coming from a for loop
<acheam> noocsharp: wait, it is?
<acheam> i doubt even 1/3 of the convo here is directly KISS related
<noocsharp> dilyn: can't you nest them?
<dilyn> it probably involves ${foo#}${foo%} i imagine?
<dilyn> ah nesting mayhaps mayhaps
<acheam> ${${foo#}%}
<acheam> or smthng
<dilyn> vamos a ver
<acheam> quieres hablar en español ahora?
<noocsharp> esto es canal español, no?
<acheam> estoy viendo un programs de televisión para practicar mi español
<acheam> noocsharp: sí por supuesto
<duplex> where is the example config for sway stored on KISS? sway docs say it's usually located at /etc/sway/config but that file doesn't exist
<acheam> #kisslinux-es cuando?
<dilyn> no hablo espanol
<dilyn> yo hablo como un nino
<acheam> yo tambien
<dilyn> also don't have a simple way to make ~n so i will certainly make a horrible faux pas
<noocsharp> si quieres aprender español, va a mexico y deja su pasapuerto
<dilyn> i don't think any sway package in the repo comes with a sample config duplex
<acheam> dilyn: kkkkkk
<noocsharp> s/su/tu/
<cotangent> <noocsharp> si quieres aprender español, va a mexico y deja tu pasapuerto
<acheam> duplex: tomar un ejemplo del internet
<GalaxyNova> su: unknown user pasapuerto
<noocsharp> en los estados unidos
<acheam> ohhh
<acheam> buena idea
<acheam> eres afortunado vivir en tejas
<acheam> hay muchas personas quien hablan español
<acheam> en el norte, no hay muchas españolas
<GalaxyNova> how are you even typing that on kiss
<noocsharp> no es verdad
<noocsharp> pero hay mas in texas
<GalaxyNova> stahp
<noocsharp> shit, i forgot kiss doesn't support spanish
<duplex> why are we speaking Spanish now
<acheam> GalaxyNova: haya movendo a mi telephono porque el keyboard de AOSP tiene accentos
<GalaxyNova> AHHHHHHHHHHHH
<dilyn> lmao
<noocsharp> usa la programa `setxkbmap`
<acheam> noocsharp: con suerte, dylan no matame
<GalaxyNova> oui
<noocsharp> pero por esto, necesita mucho suerte
<noocsharp> necesitas*
<noocsharp> olvido mis conjugaciónes
<acheam> porque no usas "necesita"? es más formal, y yo necesito respeto
<noocsharp> jajajajajajaja
<acheam> duplex: estamos hablando en español porque dilyn dijo "vamos a very"
<duplex> ah ok
<acheam> pero creo que dylan es indulgente
<acheam> no va a matarme
<testuser[m]> berrinche
<acheam> solamente va a pegarme
<acheam> testuser[m]: oi quien es el bebé aqui?
<noocsharp> cometÄí un error: no es "la programa", es "el programa"
<acheam> ay no
<noocsharp> porque programa es del idioma griego
<noocsharp> y la terminacion es "ma"
<acheam> no, eres el primer programador
<acheam> este es muy confundido
duplex has quit [Quit: Client closed]
<testuser[m]> ¿Todos estamos usando traductores?
<acheam> no!
<acheam> tramposo!
<acheam> haya estudiando español por tres años, pero hace tres anos
<noocsharp> para verbos individuales si, pero no para las frases
<acheam> sí, yo tambien
<acheam> testuser[m]: espero que no es Google Translate
<acheam> deepl es muy bueno
GalaxyNova has quit [Quit: Whoooooshh]
<noocsharp> estudiaba español en la escuela, pero olvie mucho vocabulario
<acheam> sí, pero vocabulario es facíl aprender
<acheam> gramaticó es mas importante
GalaxyNova has joined #kisslinux
* acheam busca por mas canas en español juntar
<acheam> pero es tarde. Buenas noches!
<noocsharp> canales?
<acheam> ehr, sí
<noocsharp> canas es pelo blanco
<acheam> no "gray hairs"
<GalaxyNova> are we still speaking spanish
<acheam> jajajaja
<GalaxyNova> ok
<acheam> GalaxyNova: como es?
<GalaxyNova> si
<GalaxyNova> el toro
<GalaxyNova> seniorita
<acheam> guacamole
<testuser[m]> libretranslate
<noocsharp> es el tiempo de dormir para mi tambien
<noocsharp> adios
kyxor has quit [Ping timeout: 258 seconds]
<acheam> testuser[m]: es buen?
<acheam> no haya usandale
<acheam> ehr, no le he usado
GalaxyNova has quit [Quit: Whoooooshh]
GalaxyNova has joined #kisslinux
nkatte has quit [Ping timeout: 258 seconds]
nkatte has joined #kisslinux
nkatte has quit [Read error: Connection reset by peer]
<GalaxyNova> acheam: What does your nick mean
nkatte has joined #kisslinux
Uks2 has quit [Ping timeout: 258 seconds]
Uks2 has joined #kisslinux
GalaxyNova has quit [Ping timeout: 248 seconds]
nkatte has quit [Ping timeout: 258 seconds]
nkatte has joined #kisslinux
nkatte has quit [Ping timeout: 272 seconds]
nkatte has joined #kisslinux
<testuser[m]> wait when did dylan remove zip support from kiss
Uks2 has quit [Quit: Byee]
Uks2 has joined #kisslinux
<Erus_Iluvatar> Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
schillingklaus has joined #kisslinux
anonymous has joined #kisslinux
anonymous has quit [Remote host closed the connection]
anonymaus has joined #kisslinux
anonymaus has quit [Remote host closed the connection]
anonymaus has joined #kisslinux
anonymaus has quit [Remote host closed the connection]
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 268 seconds]
mobinmob has joined #kisslinux
Uks3 has joined #kisslinux
Uks2 has quit [Ping timeout: 272 seconds]
zola has joined #kisslinux
micro_O has joined #kisslinux
<zola> Is hardware video decoding functional in ffmpeg, mpv, firefox...
<testuser[m]> yeah
<testuser[m]> if you have vaapi
<testuser[m]> libva
<zola> So i need to install libva? Do i also need to rebuild ffmpeg, mpv, firefox...
<zola> thanks
<testuser[m]> not sure about ffmpeg and mpv, i think you'll need to rebuild them
<zola> ok i will try without rebuilding first, it may work
zola has quit [Ping timeout: 258 seconds]
nkatte has quit [Ping timeout: 248 seconds]
nkatte has joined #kisslinux
humky has joined #kisslinux
nkatte has quit [Read error: Connection reset by peer]
nkatte has joined #kisslinux
vnogueira has joined #kisslinux
micro_O has quit [Ping timeout: 268 seconds]
mobinmob has quit [Quit: Connection closed for inactivity]
micro_O has joined #kisslinux
<acheam> damn everyones trying to migrate from rcs to git, but I cant find any tools to do the opposite
<rio6> I still don't get why people don't like git
<testuser[m]> GPL bad
<testuser[m]> and its not exactly KISS either
<acheam> kiss is 'uuge
<acheam> s/kiss/git/g
<cotangent> <acheam> git is 'uuge
<acheam> waaay to many features for me
<acheam> my projects are almost always single person
<acheam> dont need anything fancy
<acheam> even remotes are overkill
<acheam> looks like im going to have to write my own tool though
<testuser[m]> How do you want to push then
<testuser[m]> scp ?
<acheam> i dont need to push
<acheam> just upload release tarballs to ftp.armaanb.net
<testuser[m]> What about the history for contributors
<acheam> between my own machines, syncing could be can be done with syncthing (which I run anyways) or rsync manually
<acheam> what do you mean?
<acheam> i am the only contributotr
<testuser[m]> what if i want to contribute
<testuser[m]> i'd need the history to see what you did when
<acheam> i'll release development snapshots with RCS history for my interesting projects
<acheam> or I could use CVS
<acheam> still undecided between RCS and CVS
<acheam> CVS uses RCS under the hood, but is designed for the internet
<acheam> but its much heavier
<acheam> 672k for cvs vs 132k for rcs
<rio6> how big is git
<acheam> 3.7M
<testuser[m]> I find it interesting how these standards for "heavy" compare to the ones held by modern webdevs
<acheam> lol
<rio6> but... it's just a diff-patch tool :/
<testuser[m]> 672k? my site is 60mb big
* acheam thinks for now, he will switch to using rcs but not delete .git yet
<noocsharp> can you give a tldr of how rcs works?
<noocsharp> i'm not familiar with it
schillingklaus has quit [Quit: ERC (IRC client for Emacs 26.3)]
<acheam> its very simple
<acheam> by default files live in RCS/
<acheam> if you want to work on it, you "check out" the file
<acheam> the file contents is extracted, and moved into the working directory
<acheam> and a lock is put on the file so nobody can edit it
<acheam> then you "check in", and give a log message
<acheam> the file is put back in RCS/ with the metadata
<acheam> when the file is in RCS/ it not only contains the file contents, but all the info about its history
<noocsharp> ah, simple indeed
<acheam> its kind of like checking out a book at the library before digital library cards, where you check out the book and write your name on the card in the back
<testuser[m]> noocsharp did youn make the repo public ?
<testuser[m]> pw manager thingy
* acheam obsessively reloads git.nihaljere.xyz
<noocsharp> it's not finished quite yet, but i'll go ahead and push it
<testuser[m]> nice
<acheam> testuser[m]: woah your new website CSS is much minimal
<testuser[m]> the git. is the same thing i stole from you
<testuser[m]> the "blog" one is just icyphox's css colors but reversed :p
<acheam> oh haha
<acheam> icy's colors are nice
<testuser[m]> the diff is just using my own script to generate the site instead of vite/hugo
<testuser[m]> with cmark and chroma
<acheam> nice
<acheam> the syntax highlighting is a bit tough to read
<acheam> im in the sun right now though
<testuser[m]> hmm
<testuser[m]> btw do you plan on reviving your monthly (?) posts sometime ?
<testuser[m]> thanks noocsharp
<acheam> what about the pinephone posts?
<acheam> those are weekly!
<noocsharp> i think they're referring to you
<acheam> oh?
<acheam> i never did monthly posts
<testuser[m]> yea
<testuser[m]> till last year
<testuser[m]> i read noocsharp's to
<testuser[m]> too
<acheam> I dont want my website to be a blog
<acheam> i do regularly update my .plan
<acheam> for the 0 people who read it
<testuser[m]> where's the .plan
<acheam> I might write a finger to fediverse bridge, which would be my equivalent of a blog
<acheam> finger armaa@armaanb.net
riteo has joined #kisslinux
<riteo> hiiiii!
<testuser[m]> noocsharp won't the memset's in npm.c just be optimized away given that you're not reusing those variables later ?
<testuser[m]> hi riteo
<riteo> sway-tiny is really uncomfortable, I could do basically nothing
<riteo> I even packaged a cool status bar but in the end I switched to sway-no-seat
<riteo> who is sway-tiny for?
<testuser[m]> someone who just needs windows i guess
<testuser[m]> wait
<testuser[m]> just the sway binary with embedded/static libseat/wlroots, and less dependencies (no pango, cairo, pcre, json-c). (for folks who just need window management - no bar, ipc, etc)
<noocsharp> testuser[m]: it appears so, i did some more research and i don't think that memset is necessary because linux zeroes pages before allocating them to new processes
<riteo> oh so that's who's sway-tiny for. I only remembered the first part lol
<riteo> now that I have sway-no-seat it's actually very comfy
<riteo> although my clock is 2 hours behind lol. How does someone set the timezone? By changing the clock manually?
<noocsharp> is the output of `date` correct?
<riteo> yes, I even synced it up with ntpd
<riteo> it's just 2 hours behind
<noocsharp> do you have tzdata installed?
<riteo> oh I didn't
<riteo> I didn't know kiss had it packaged
<acheam> its needed for time zones
<testuser[m]> i just install tzdata, cp /usr/share/zoneinfo/Continent/City /etc/localtime and its accurate enough
<riteo> oh so that's where those files where
<riteo> sorry
<riteo> I'll do it right away
<testuser[m]> time is like 1 min ahead of my phone
<riteo> try ntpd
<riteo> it supports one time synchronizations too
<acheam> i like using https://time.is to get exact time
<testuser[m]> no im just stating it
<testuser[m]> its fine for me
<riteo> oh ok
<riteo> it worked, thanks!
<acheam> how do i like, find people to follow on the fediverse
micro_O_ has joined #kisslinux
<micro_O_> acheam mind if i add your repo to kiss-find?
<acheam> it is no longer maintained, but sure
<acheam> there are lots of unique packages among the forks though
micro_O has quit [Ping timeout: 258 seconds]
<riteo> thinking about it, can packages, like, have a license?
<micro_O_> noocsharp same question, can i add git://git.nihaljere.xyz/kiss-nihal/
<noocsharp> yeah, of course
<acheam> riteo: most people use MIT, but steal them like its public domain
<noocsharp> i've been meaning to send a pr to add it
<acheam> so....
<micro_O_> the package definition itself? depends on your jurisdiction?
<micro_O_> noocsharp is it using cgit or is there a way for me to identify the web builder?
<acheam> stagit
<micro_O_> I'd like to link to packages (at least the build file)
<riteo> so if like someone else made a package I should credit them if I like, put it into my repo?
<acheam> technically yes, but I think there is a shared understanding that it doesn't really matter
<riteo> epic
<noocsharp> i don't think anyone here would consider suing you
<riteo> makes sense
<riteo> "your honor, this person stole my 3 line build script"
<testuser[m]> 2 of which are #! bin/sh and newlime
<riteo> brb compyrighting ./config && make && make install
<riteo> s/compyrighting/copyrighting/
<cotangent> <riteo> brb copyrighting ./config && make && make install
<noocsharp> huh, TIL of zdump, which can give the time in any timezone
<acheam> woooooaaah
<acheam> thats so convinient!
<riteo> oh cool!
<acheam> it would be nice if it supported more than the basic tzdata time zones
<acheam> testuser[m]: is Asia/Kolkata the only IST tzdata timezone?
<noocsharp> ha, they have both Kolkata and Calcutta
<rio6> it'd be even better if it can convert timezones of certain time
<dilyn> sway-tiny is for a fellow such as myself, if I liked tilers :v
<riteo> do you look the time with "date"
<acheam> it'd be nice to just to "zdump IST"
<acheam> dilyn: have you tried just using it in floating mode?
<dilyn> no
<acheam> rio6: shouldnt be that hard to write a shell script combining zdump and date to make that
<dilyn> i got put off from sway because I could never get it to work with my laptop and i never bothered with this new pc
<acheam> OK
<testuser[m]> Yeah acheam it's only 1 city kolkata (aka calcutta)
<acheam> i wonder what the history of that is
<acheam> like, why kolkata
<acheam> America/New_York at least makes sense for example
<rio6> acheam: but then I'll need to write shell script
<testuser[m]> Wdym makes sense
<acheam> its the largest city in the time zone, and associated with the US east coast
<acheam> When I thought about india, I first tried India/Delhi, India/New_Delhi, India/Mumbia, India/Bombay, India/Bangalore before just looking it up
<noocsharp> > Following independence in 1947, Kolkata, which was once the centre of Indian commerce, culture, and politics, suffered many decades of political violence and economic stagnation
<noocsharp> from wikipedia
<noocsharp> that's probably why
<noocsharp> and looks like it was the capital of british india
<noocsharp> for a while at least
<rio6> countries are a mess
<acheam> its certainly not insignificant, but I guess these timezones were created 100 years ago and my perceptions of Indian cities are different than what they were when these time zones were created
<acheam> 4hr 51min ahead of GMT lol
<acheam> thats not confusing at all!
<acheam> thanks for the link testuser[m]
<noocsharp> it's weird that all of india is one timezone
<testuser[m]> Looks like there's been demand for a separate one earlier, for north east
<acheam> just wait until you hear about China
<acheam> that makes sense at least
Uks3 has quit [Ping timeout: 272 seconds]
<acheam> given that Assam is geographically seperated
<rio6> why cant we all just use utc
<riteo> because the earth is round and the sun is at a different place in the sky depending where you live
Uks2 has joined #kisslinux
<rio6> but who says 1200 has to be when the sun is straight up
<riteo> human culture for the past millennia or so ig
<msk[m]> that's fine, the standard times of doing certain things will just vary
<acheam> because it creates issues when you travel rio6
<micro_O_> acheam removed the revision number from the web interface, will be live shortly
<acheam> you'd have to be constantly adjusting your watch
<acheam> micro_O_: cool
<micro_O_> For maintainer, I would prefer to put username over email address
<msk[m]> I'm confused, why would you need to adjust your watch if it's the same timezone
<rio6> don't need to asjust time when there's no timezone
<micro_O_> especially for spambots, as this is a static site
<rio6> universal metric time when
<acheam> oh I see what you mean
<noocsharp> duodecimal number system when
<acheam> yeah I guess its just about a social understanding of what times are morning, and what are night
<acheam> because if everyone used UTC you'd have to specify
<acheam> like: its 14:00 and the middle of the night here
<acheam> instead of just saying its 14:00
<rio6> what's not clear about 10.96 kiloseconds /s
duplex has joined #kisslinux
<msk[m]> then you could just say "it's the middle of the night"
<acheam> micro_O_: username only applies to github though
<acheam> email is more universal, and makes contact easier
<duplex> when you first start sway on kiss what is it supposed to look like
<micro_O_> git user.name
<msk[m]> although that is longer than specifying a time
<acheam> micro_O_: oh that way
<acheam> yeah that works
<micro_O_> email is easy for spambots to scrape
<testuser[m]> duplex yellow screen ?
<acheam> email is public info at this point
<rio6> (or we can make email images)
<acheam> i dont get a ton of spam and my email is /everywhere/
<acheam> email images is bad for accesibility and file size
<rio6> yeah github commits are full of emails
<micro_O_> this would be a static webpage
<rio6> I was joking about email iamges. I hate those thing even with wikipedia equations
<micro_O_> id rather it be opt-in
<duplex> ok cool
<duplex> I cannot get sway to accept my config then
<duplex> I downloaded the example config to ~/.config/sway/config and nothing changes
<duplex> I tried starting sway with -c ~/.config/sway/config too
<acheam> wikipedia equation images are better than requiring a javascript latex thing
<acheam> duplex: permissions on the file correct?
<acheam> post sway -d output
<duplex> what perms does it need
<acheam> micro_O_: too much opt-in stuff overcomplicates things
<acheam> duplex: idk, 0644 chowned to your user?
<duplex> also how do I exit sway without crashing it
<testuser[m]> Win (meta) shift C
<testuser[m]> E*
<testuser[m]> C is for reloa
<duplex> doesn't do anything
<duplex> I'll just crash it
<testuser[m]> Wat
<testuser[m]> log.txt
<duplex> oh this log has a bunch of stuff I wasn't getting before
<duplex> how do I upload logs again
michalsieron has joined #kisslinux
<micro_O_> acheam I respect user's privacy
<acheam> its their git email though
<acheam> its already public
<acheam> you can just follow the link already on the page and see it
<testuser[m]> duplex nc termbin.com 9999 < log
<micro_O_> and thats github's problem, I dont want to make it easier
<micro_O_> user data is toxic, i dont want to be responsible for defending user data
<micro_O_> alternatively, if its easy enough to follow the link and see the maintainer, then it doesnt need to be on the kiss-find site
<micro_O_> though now I have to think about if author name is personal
<acheam> bruh
<acheam> looks like its reading it fine to me
<testuser[m]> Wdym crash though
<testuser[m]> segfault ?
<acheam> uhh what version of kiss are you running
<acheam> your /etc/os-release is very out of date
<duplex> the screen is still yellow and I cannot do anything it all
<duplex> if I press CTRL + ATL + PRNTSC + E sway crashes
kyxor has joined #kisslinux
<testuser[m]> [sway/commands/output/background.c:122] Unable to access background file '/home/duplex/.config/sway/@datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png': No such file or directory
<duplex> idk what build I'm running
<duplex> is there a way to update it
<acheam> kiss u
<duplex> I've done that several times since install
<acheam> weird
<testuser[m]> Where'd you get the tarball
<duplex> github
<testuser[m]> Repo
<acheam> where on github
<testuser[m]> s/git/shit
<acheam> thank you, pardon my lapsus lingua
<duplex> this was the link
<kyxor> hiiii
<acheam> hi
<kyxor> acheam: do you use kirc? I have a problem when using it with ssl via socat, after a while of inactivity socat errors with I/O error
<acheam> no
<kyxor> ok, I just found something there is "keepalive" flag, maybe that will fix it
kyxor has quit [Quit: kyxor]
kyxor has joined #kisslinux
michalsieron has quit [Ping timeout: 268 seconds]
<duplex> isn't the sway default config supposed to have a bar at the top
<acheam> what sway did you install?
<acheam> sway-tiny doesn't
<duplex> I installed sway then sway-tiny then sway
anniehallmoon has left #kisslinux [#kisslinux]
nkatte has quit [Ping timeout: 276 seconds]
nkatte has joined #kisslinux
<acheam> sway should have a bar
<duplex> it does not
<acheam> just make sure you're running sway from the sway package
<acheam> kiss owns $(which sway)
<duplex> wdym
<acheam> run that command
<duplex> the output is sway
<acheam> ok
<duplex> yeah still no bar
<acheam> then maybe sway doesn't have the bar on by default?
<acheam> idk, i was just assuming because i3 has one
<duplex> no keyboard short cuts work either
<acheam> read the log
<acheam> im sure it has good info in it
<testuser[m]> It has a bar
<testuser[m]> Default
<duplex> https://termbin.com/0hty this is my log the error at the bottom is from me crashing sway to get back to the terminal because it will not exit
<duplex> it's loading the config
<duplex> it's just not doing anything
mahmutov has joined #kisslinux
kyxor has quit [Quit: kyxor]
kyxor has joined #kisslinux
kyxor has quit [Client Quit]
kyxor has joined #kisslinux
nkatte has quit [Ping timeout: 256 seconds]
kyxor has quit [Remote host closed the connection]
michalsieron has joined #kisslinux
michalsieron has quit [Ping timeout: 272 seconds]
zenomat has quit [Ping timeout: 258 seconds]
zenomat has joined #kisslinux
zenomat has quit [Changing host]
zenomat has joined #kisslinux
micro_O_ has quit [Quit: micro_O_]
humky has quit [Quit: Leaving]
GalaxyNova has joined #kisslinux
micro_O has joined #kisslinux
mobinmob has joined #kisslinux
<micro_O> added maintainer names from git, included kiss-community/community
<micro_O> Also now the header stays when you search on the web
<micro_O> I think its in a reasonable state to add to https://kisscommunity.org/, just gotta figure out what path it should be under
<micro_O> /packages or /find seem reasonable
claudia02 has joined #kisslinux
<GalaxyNova> micro_0: How do I add a description to a package so it shows up in kiss-find
<acheam> add a file called "description"
<riteo> wait do packages support descriptions
<riteo> or is it a kiss-find thing
<micro_O> riteo kiss the package manager doesnt do anything with it
<micro_O> kiss-find and i think maybe cbt does
<GalaxyNova> cpt has a metadata file
<riteo> what does cpt do
<micro_O> i have to check cpt uses metadata file
<micro_O> ahh k
nkatte has joined #kisslinux
<micro_O> yeah i like to stick with the 'filename as key, contents as value' setup
<micro_O> though i guess kiss-find should support a maintainer file, since it would be vcs-agnostic then
<micro_O> and then i could do shallow clones when building the db
nkatte has quit [Read error: Connection reset by peer]
<acheam> this is why RCS is great
<acheam> you can put variables in the file that get expanded when the file is checked out
vnogueir- has joined #kisslinux
vnogueira has quit [Remote host closed the connection]
<acheam> so a maintainer file could be automatically updated
nkatte has joined #kisslinux
<micro_O> so if two different people check out the same source repo, their files might have different contents?
<micro_O> or is it on the publisher/push side, where a maintainer does something like `git push` and the receiving end gets the variables interpolated
sad_plan has joined #kisslinux
sad_plan has quit [Ping timeout: 268 seconds]
sad_plan has joined #kisslinux
<sad_plan> does anyone here have any knowledge about go? ive packaged lf, but I cant get it to build statically. even though go packages ar usually built statically by default afaik..
<GalaxyNova> go is very interesting
<GalaxyNova> ken thompson helped make it
<sad_plan> cool
<GalaxyNova> and it was heavily inspired by plan9's C dialect
<sad_plan> havent really used it that much
<sad_plan> plan9 is always nice
<sad_plan> I like it better already
<noocsharp> i don't believe the go programs build statically by default
<sad_plan> from what I found, it did. but for all I know, these articles is bogus, or wrong.
<noocsharp> what's the output of ldd on the binary?
<sad_plan> links to libc
<noocsharp> from a quick search, it seems like you have to give it "--ldflags 'extldflags -static'"
<noocsharp> sorry, --ldflags '-extldflags -static'
<sad_plan> still links to libc. I had a similar one earlier. was --ldflags "-extldflags='-static'" iirc
<sad_plan> -ldflags="-extldflags=-static" also doesnt seem to work
<noocsharp> hmm, i don't know too much about go so i couldn't say
jess has quit [Ping timeout: 600 seconds]
<noocsharp> ah, i just got it
<noocsharp> CGO_ENABLED=0
<sad_plan> lol, i was just looking at the same page
<sad_plan> it worked :D
<sad_plan> thank you
<noocsharp> of course
<sad_plan> I also stumbled upon an issue with static bash. it didnt let me use birch for some reason. do I have to add modules or something manually? like youd do on zsh. I had to change some lines in zsh sources, to get it to build statically.. some modules iirc was set wrong for some reason
<sad_plan> if im not mistaken, it may be something network related
<sad_plan> I could launch birch, but it wouldnt connect
<noocsharp> i can't help you with that one, i avoid bash
<sad_plan> I would like that aswell, but im still using birch. havent figured out some other irc pkg yet.
<noocsharp> catgirl is nice
<sad_plan> btw, how is your pinephone with your custom oasis build going? Ive stumbled upon your blog some time ago.
<sad_plan> yeah, gonna see if I cant get the hang of catgirl. Ive tried kirc, but I couldn for the life of me send a msg to nickserv, to identify or anything :p
<noocsharp> pretty well, it's almost minimally usable as an everyday phone
duplex has quit [Quit: Client closed]
<noocsharp> yeah, catgirl is nice because handles those things for you
<sad_plan> nice. will you be using it as a daily when you get there aswell? or is it just a fun project for you?
<sad_plan> ah, nice.
<noocsharp> i intended from the beginning to make something i could actually use
<noocsharp> not gonna stop till i get there
<noocsharp> i'm pretty tired of android roms, and my oneplus one is literally falling apart
<riteo> take the lineage pill
<noocsharp> i took the lineage pill like a week after it came out
<noocsharp> and the cyanogenmod pill before that
<riteo> oh
<noocsharp> lineage is an android rom
<sad_plan> cool. looking forward to reading more about it in your blog. I too kinda want a pinephone, but I dont think Id get too much use out of it atm anyway.
<sad_plan> shite. oneplus 1 is really old though. have you had it since it came out?
<sad_plan> ive got lineage on my op6, but it broke some time ago. now Ive got a pixel 4a, with graphene. I actually like it better than LOS tbh
<noocsharp> yeah, but i haven't used it this whole time
<sad_plan> ah ok. cant you put linux on it? iirc op1, has support for UB touch
<noocsharp> i think, but i don't want to brick it like i did my last phone
<sad_plan> ah, yeah, I get that. i borked my op6 so many times when flashing roms, and all kinds of stuff..
<sad_plan> hm, its seems op1 is actually one of the better ones for ubt.
<noocsharp> my last phone is stuck in the recovery, but believes that it is bootloader locked
<noocsharp> sorry, stuck in fastboot
<sad_plan> ah. but the bootloader is infact actually unlocked? :p
<noocsharp> it was, but i screwed something up and now it is locked
<noocsharp> and unlocking doesn't work
duplex has joined #kisslinux
<sad_plan> oh
<noocsharp> the imei also got wiped somehow
<noocsharp> i still have no idea what actually happened
<sad_plan> wut. how on earth did you manage that?
<noocsharp> who knows, i was trying to get lk2nd ported so i could see if i could get mainline linux running, but starting lk2nd messed things up somehow
<riteo> kiss phone when
<sad_plan> aah, that would be cool. linux on phones is a neat idea. its just not a huge marked for it
<sad_plan> ^kiss phone would be awesome
<noocsharp> i had postmarketos running on that phone, but not mainline
<sad_plan> riteo: there is however apps that lets you untar the kiss' tarball, and actually run kiss on your phone. ableight emulated or something
<noocsharp> jedavies ported kiss to aarch64 if im not mistaken
<sad_plan> I belive youre correct
<acheam> you can run a rootless chroot in android
<acheam> using proot or termux
<sad_plan> ^
<riteo> I mean, we got all the tools needed to unironically install kiss linux on a previously android phone
<riteo> it's called halium, and it's supposed to use the already existing phone's HALs to interact with linux
<noocsharp> i don't consider it ported unless it can run directly on the linux kernel
<riteo> that's the point
<riteo> halium is just a tool, ubuntu touch in fact uses it
<sad_plan> yeah, halium, or linux-deploy iirc. I had a look at it earlier, to see what possibilites one had for linux on the phone. kept seeing it at r/unixporn
<noocsharp> bruh hal runs on top of linux
<noocsharp> also it's locked to systemd which goes against kiss philosophy
<riteo> BRUH
<riteo> I DIDN'T KNOW THAT
<riteo> HALIUM CRINGE?!
<sad_plan> linux-deploy can use rootfs tarballs
<sad_plan> so, kiss on your android any time soon?
<riteo> but that isn't really kiss on a smartphone
<riteo> it's just an emulated chroot
<noocsharp> yeah, if it requires abstraction beyond the linux kernel, it's not kiss running on a smartphone
<sad_plan> i know, but its the best we got, untill linux gets more a hold on mobile devices
<riteo> I can't believe halium depends on systemd
<noocsharp> cough..pinephone..cough
<noocsharp> put your money where your mouth is
<riteo> noocsharp: that would be amazing if everybody could buy one
<riteo> I have a perfectly working phone and I don't plan anytime soon to change it
<riteo> it would be a worse waste of money tossing it for a pinephone
<sad_plan> I know pinephones, but theyre not consumer ready, so not everybody can use one feasably
<riteo> we must first of all make linux on smartphones accessible
<sad_plan> ^
<noocsharp> there is a delicate balance to be struck between using closed hardware to prevent waste in the short term, and using open hardware to prevent much more waste in the long term
<riteo> it isn't only an open hardware matter noocsharp
<noocsharp> and software
<riteo> that's a whole different matter IMO
<riteo> you can make cheap hardware, ok, but the software needs a lot of time and at least a compatibility layer (anbox)
<riteo> we got the compatibility layer, but we can't live off webapps forever
<noocsharp> bruh you don't need a compatibility layer
<noocsharp> that's like saying you need wine for linux to be usable
<riteo> do you seriously saying that the current software selection for linux phones can match even remotely the one for android?
<riteo> there are a lot of tools which simply miss for now
<noocsharp> no, but the software on android that most people actually use is closed anyway
<riteo> >they forgot about fdroid
<noocsharp> > most people
<riteo> right
<riteo> but it isn't a "most people" thing yet
<riteo> that's why it must be accessible on "normal" hardware for now
<riteo> to let the software for "most people" grow
<noocsharp> the effort to reverse engineer normal hardware is not worth it imo
<riteo> that's where HALs come into play
<riteo> you don't need to if there's already an interface
<noocsharp> ok, i see what you're saying
<riteo> that's why UBtouch is just starting to get more popular and accessible
<riteo> epic
vnogueir- has quit [Remote host closed the connection]
<noocsharp> unfortunately normies don't use ubtouch and don't really care
<riteo> that's the sad reality with a lot of this stuff unfortunately
<riteo> look at window's market share
<riteo> s/window's/windows'/
<cotangent> <riteo> look at windows' market share
vnogueira has joined #kisslinux
<riteo> bruh
<riteo> Why is Systemd involved? Why can’t this be init-system agnostic?
<riteo> Some hardware functionalities (Mobile Radio, sensors…) are provided by Android services, which must be started at boot time. Therefore an integration in the init system is needed.
<riteo> that's the dumbest thing I've ever heard
<riteo> I really feel like we could patch out systemd support if we wanted
<riteo> I guess nobody did yet because everybody uses the most common and bloated systems for now in order to match the normie experience
<riteo> once I saw a cool as heck window management system for phones which basically assigned various gestures with i3 commands and I can unironically see myself use it
<riteo> s/with i3/to i3/
<cotangent> <riteo> once I saw a cool as heck window management system for phones which basically assigned various gestures to i3 commands and I can unironically see myself use it
<riteo> oh hybris depends on glibc apparently
micro_O has quit [Quit: micro_O]
<riteo> that feels like a challenge, and a very fun one
<riteo> also halium in general feels very... Excessive? Like, maybe it has been done for a quick and dirty complete implementation and this is just the start but apparently it starts a whole android chroot somewhere and uses it to interface with the HALs
<riteo> bruh you got a standard interface to an open source OS, wouldn't it be possible to implement a lib that does that directly?
sad_plan has quit [Remote host closed the connection]
<riteo> there's so much work to do that it tempts me to fry my phone just for that kiss experience
<acheam> developing for android using any modern sdk require proprietary softwar :(
<riteo> is android studio proprietary
<riteo> wait what do you mean for modern sdk
mahmutov has quit [Ping timeout: 268 seconds]
<acheam> the android libraries and stuffs
<acheam> "software development kit"
<riteo> that isn't closed source
<riteo> are you confusing google play apis with android libraries
<acheam> no one sec
<noocsharp> you have to agree to a eula if you download the sdks
<riteo> isn't that just the intellij eula
<riteo> I hate that though
<noocsharp> no, it's specifically for the android sdks
<noocsharp> i know from experience
<riteo> maybe google's apis?
<riteo> oh now I remember
<riteo> right
<riteo> although those are open source, aren't they?
<noocsharp> yes, but i guess you have to compile your own to avoid the eula
<riteo> that's weird
<riteo> well, I implemented those ls and java tips from acheam (I'll do the rest soon(tm)) on minekiss and along with some other minor corrections (shellcheck passes again) I can go pleased with my important, albeit small, work
<acheam> > The binaries for the Android SDK downloadable from Google have a proprietary license but the source code is free software so Debian is packaging it. Not all Android SDK packages can be installed from Debian, some never will be in Debian because they are too specific to Android. Sylvain Beucler's libre Android rebuilds and/or Google's non-free binaries can also be used with the Debian Android SDK.
<riteo> oh
<riteo> that's weird as hell
<acheam> it is google. it is all weird
<riteo> I think M$ did a similar thing with VSCode
<riteo> "we <3 open source, use our proprietary flavour of our OS software"
mobinmob has quit [Quit: Connection closed for inactivity]
<riteo> but now I gtg, good night y'all!
riteo has quit [Quit: epic android moment]