ChanServ changed the topic of #kisslinux to: KISS Linux | https://kisslinux.xyz | logs: https://k1sslinux.org/irc#2.0 | please read: https://k1sslinux.org/news/20210712a | thing of the day: https://invidious.zapashcanon.fr/GFGJ3e3oj2c
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 268 seconds]
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 255 seconds]
an3223 has quit [Quit: leaving]
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 268 seconds]
an3223 has joined #kisslinux
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 245 seconds]
zenomat has quit [Ping timeout: 246 seconds]
zenomat has joined #kisslinux
<acheam> ngl, GUIs are underrated
<necro> depends imo, most modern guis are far too complicated and compacted
<noocsharp> GUIs are great when they work, and do exactly what you need them to
<necro> ye pre much
<necro> when they dont, i *personally* find them confusing and a TUI or CLI works better
micro_O has joined #kisslinux
<noocsharp> in xfce, i made a binding for dmenu, and it only works sometimes
<noocsharp> no idea why
micro_O has quit [Ping timeout: 255 seconds]
akira01 has joined #kisslinux
micro_O has joined #kisslinux
micro_O has quit [Ping timeout: 265 seconds]
akira01 has quit [Read error: Connection reset by peer]
micro_O has joined #kisslinux
<acheam> sure yeah I get that
<acheam> but take email clients as an example
<acheam> i've used both mutt and aerc
micro_O has quit [Ping timeout: 268 seconds]
<acheam> both required a lot of tinkering to get going well, and didn't improve my efficiency over GUI clients very much, save for easier access to "git am"
<acheam> compared to claws mail, which I set up in 2 min and was instantly intuitive, supporting all the features of the aformentioned TUI clients
<acheam> anyhow, of course its all personal preference
<necro> email clients are a good example yeah
<acheam> just pointing out that I kind of forgot how nice GUIs can be sometimes
<necro> but man fuck their options
<necro> outlook can foad
<acheam> i miss mansy :(
<acheam> or is it mancy?
<acheam> whatever the rest of necro is
<necro> mansy's how ive been using it, but its technically mancy
necro is now known as necromansy
<necromansy> :>
<acheam> :)
micro_O has joined #kisslinux
micro_O has quit [Remote host closed the connection]
<noocsharp> i value simplicity in implementation over ease of use
<noocsharp> i'd totally use a gui email client if i could avoid gtk, but alas
<testuser[m]> Hi
<noocsharp> hello
<acheam> thats a fair point
<necromansy> hey there
<necromansy> i think if you're going for a GUI ease of use should be primary concern
<noocsharp> afaict, there's not a great reason a gui implementation can't be simple
<noocsharp> it's just that none of them are
<noocsharp> except for like raw wayland
<necromansy> imo i think a simple implementation should lead pre easily into good ease of use
<necromansy> so yeah idk why you cant have a simple gui implementation
<acheam> the problem is scalability
<noocsharp> ?
<acheam> for a gui toolkit be useful it needs a decent number of fairly complex widgets
<acheam> as the project gets more complex, it gets more and more layers of complexity
<acheam> until you get to something like gtk
<noocsharp> but i think a project with an explicit goal to avoid that complexity could, and still be a good gui toolkit
<acheam> maybe
<acheam> but it'd be a truckload of work
<acheam> also would probably be tied to a single display system unless you either want to duplicate all of your code, or implement some of those middle layers
<acheam> take motif for an example
<acheam> its a good GUI toolkit IMO
<noocsharp> i think a middle layer with a few simple drawing primitives (rects, text, buffer copying) would do the job
<acheam> idk if I'd want to write a full email client in it, but its still nice to work with
<acheam> however its tied to xorg
<acheam> I think mid had his eye on a project similar to what we're describing, I forget what its called
<acheam> s/we/you/g
<testuser[m]> ded project
<necromansy> where has our mid gone anyway?
<noocsharp> i'm sure he'll be back soon
<noocsharp> probably out of town or something
necromansy has quit [Remote host closed the connection]
schillingklaus has joined #kisslinux
necromansy has joined #kisslinux
gtms has joined #kisslinux
michalsieron has joined #kisslinux
kawics11 has joined #kisslinux
kawics11 has quit [Ping timeout: 252 seconds]
necromansy has quit [Remote host closed the connection]
schillingklaus has quit [Remote host closed the connection]
<testuser[m]> when gcc does an 'warning: implicit declaration of function' can you ask it to tell you where it got the function from
<testuser[m]> (for the cases like not including stdlib for malloc, not for those cases where you get an undefined reference)
necromansy has joined #kisslinux
<necromansy> heyo
<testuser[m]> hi
<necromansy> wish i could get bmake to build so i could check out hikari :|
<testuser[m]> whats the issue
<necromansy> getting some varmod-localtime error
<necromansy> http://ix.io/3tAS
<testuser[m]> you're building tests
<testuser[m]> just dont build them :p
<necromansy> oh hey i'll give that build script a run
<necromansy> tyt
<necromansy> well that worked, cheers
necromansy has quit [Read error: No route to host]
necromansy has joined #kisslinux
<necromansy> teestuser[m]: much appreciated for the bmake help, got hikari up and running
Uks2 has quit [Ping timeout: 258 seconds]
Uks2 has joined #kisslinux
soliwilos has quit [Quit: zzz]
soliwilos has joined #kisslinux
Uks2 has quit [Client Quit]
Uks2 has joined #kisslinux
<dilyn> hikari!
<dilyn> this is the way
<necromansy> honestly i was missing the ability to maximise in the vertical and horizontal directions
<necromansy> coz i was using CWM just as we switched to Wayland and good lord its a useful feature
<dilyn> mod4+f
<dilyn> there is only one maximize :P
<soliwilos> super+- maximizes vertically.
<necromansy> action shakes head
<dilyn> :o
<necromansy> fugg i done messed up
<necromansy> but yeah what soliwilos said
<soliwilos> Not recalling the horizontal maximize.
<necromansy> super+<
<soliwilos> :)
<necromansy> v v useful for retaining my 80 col pref without having to dick around
<dilyn> dylan fucked up telling everyone to set their runtime dir to /run/user/$(id -u) and assuming they know anything about permissions (:
<necromansy> lmao i figured that out from my previous venture into wayland
<necromansy> my issue that i ran into was i didnt have seatd active
<necromansy> so it was chucking a tanty
<dilyn> gotta love it
<testuser[m]> is the init system supposed to be configured to mkdirs in /run/user ?
<soliwilos> I'm using /tmp/user/$(id -u) and setting permissions to 700.
<necromansy> im using $HOME/tmp/$(id -u), but permissions still forced to 700
<soliwilos> I think /run/user/$(id -u) is what most wayland compositors suggest or use as their default.
<soliwilos> Probably handled by elogind or other similar daemon.
claudia has joined #kisslinux
<claudia> hello
<necromansy> hey there
<soliwilos> o/
<necromansy> and yeah id imagine that's the default location
schillingklaus has joined #kisslinux
<claudia> Has anyone tried to build dylans baseutils fork?
<claudia> Its failing on my end.
<testuser[m]> with what
<soliwilos> I've considered it, but haven't yet.
<claudia> uploading...
<claudia> ofc
<necromansy> last commit message: "ok"
<necromansy> thanks dylna
<necromansy> s/dylna/dylan
<schillingklaus> s/dylan/dilyn/g
<testuser[m]> you could make them static as a temporary hack i guess
<testuser[m]> the functions
<claudia> I have no idea how to do that :|
<testuser[m]> void fn -> static void fn
<claudia> ibara/baseutils fails with the same error btw.
<acheam> claudia: yeah I had trouble with that function in upstream and on his fork
<acheam> sed '/compress/d' Makefile
<acheam> I used libarchive anyways
<acheam> baseutils isn't very usable by the way
<acheam> it needs a lot of supplementing
<acheam> are you not on obsd anymore?
<claudia> nooo
<claudia> hm your sed makes it go further but fails still. This is out of my expertise (:
<testuser[m]> send new log
<claudia> testuser[m]: http://ix.io/3tBH
<dilyn> this is going to go on forever
<claudia> acheam: I had obsd still on a spare machine, but I wiped it to use it to build chromium.
<acheam> no this is the last one iirc
<acheam> just sed out cvs
<acheam> I doubt that you want it
<acheam> claudia: there is a chromium port though, right?
<claudia> yes.
<claudia> But I only used firefox.
<claudia> firefox-esr is usually in 'packages-stable' which are updated packages to use with 'release'. So you have updated browser without going current.
<testuser[m]> what the fuck, `ulimit -n 4096` isn't enough to build the latest chromium, neither is `ulimit -n 9999`. i had to do `ulimit -n 999999`. Which means you need to go root to build it lol
<necromansy> i usually have to set it to unlimited when building lapack
<schillingklaus> as kiss trashes libressl, soon nothing openbsd-related will remain on it
<testuser[m]> openssl builds much faster than libressl for some reason
<testuser[m]> like much faster
<acheam> better build system?
<konimex[m]> thanks perl
<schillingklaus> or is opensmtp suited for kiss?
<acheam> sure
<testuser[m]> claudia https://termbin.com/95bq if you're ok with excluding a couple of programs
<testuser[m]> idk the proper fix
<dilyn> opensmtp works on KISS
<claudia> testuser[m]: yeah this works. I will see. Thanks anyway.
<testuser[m]> dilyn can you check this https://bin.git-bruh.duckdns.org/chromium@92.0.4515.107-1.tar.xz ? im not able to run wayland programs from chroot since i cant have nvidia drivers in it
<schillingklaus> another reason to trash wayland
<dilyn> trash nvidia
<dilyn> at least wayland is foss
<dilyn> ah testuser you built against a bunch of things i don't have :V
<testuser[m]> For some reason X programs worked from chroot even without proper gpu drivers
<testuser[m]> But not wayland
<testuser[m]> dilyn you have a chroot for building regular stuff right ? Or did you trash it
<schillingklaus> already Torvalds showed nvidia the middle finger... long ago
<dilyn> i don't have a wayland chroot yet; gimme a sec
<testuser[m]> I would probably boot up a nouveau installation if it compositors didn't run at 2 fps on it lol
gtms has quit [Remote host closed the connection]
schillingklaus has quit [Quit: schillingklaus]
<konimex> man people should read error messages
<dilyn> :)
<dilyn> we should stop offering support for certain classes of questions entirely :VVV
<dilyn> it wouldn't stop them, though :'(
<testuser[m]> context ?
<acheam> ^
azwyver has joined #kisslinux
<azwyver> Alright, I'm officially here.
<konimex> azwyver: changed the link
<konimex> for yasm, try to pull the wyverkiss repo and redownload yasm
<azwyver> I have the wyverkiss repo in my /var/db/kiss, is that what you mean?
kawics11 has joined #kisslinux
<konimex> unless you have another wyverkiss repo somewhere else, yes
<azwyver> unable to access https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz using firefox :|
<azwyver> oops sorry
<testuser[m]> kiss u
<azwyver> yay its downloading! thanks for the help everyone.
<testuser[m]> dilyn #565 can be merged ? I removed the alacritty commit
soliwilos has quit [Quit: nyaa~]
soliwilos has joined #kisslinux
azwyver has quit [Ping timeout: 246 seconds]
<dilyn> testuser: forgot all about you, merged
<dilyn> I'll take a look at chromium in a second. maybe we'll beat void :>
micro_O has joined #kisslinux
<micro_O> I made kiss-lint, starting to do basic checking of things according to the information in https://github.com/kisslinux/kiss/commit/bc32b77f952fb3edb1f11d262c06494318c2aad1
<micro_O> happy for any feedback
kawics11 has quit [Ping timeout: 265 seconds]
<testuser[m]> dilyn: it works but I think the check they perform is security critical
<testuser[m]> so we shouldn't ifdef it out
<testuser[m]> Wtf id their problem in writing portable code
<testuser[m]> just make a regular wrapper like checkClose()
<testuser[m]> Nice jedahan
<testuser[m]> Since its defined in a .c file, it overrides the close() function for the whole codebase regardless of whether the file is included, so we can't turn it into a portable macro either
<acheam> micro_O: nice, IIRC galaxynova was working on something similar
<dilyn> jesus
akira01 has joined #kisslinux
<akira01> dilyn:
kawics11 has joined #kisslinux
claudia has quit [Ping timeout: 268 seconds]
<dilyn> akira01:
<akira01> Im dumb with git
kawics11 has quit [Ping timeout: 252 seconds]
<akira01> what you mean in lynx openssl?
<akira01> is about the amount of commits?
kawics11 has joined #kisslinux
<dilyn> yeah, they're all garbage as far as the PR is concerned
<dilyn> hey, musl's close also has a weak alias!
<dilyn> except... weak_alias(dummy, __aio_close);
<akira01> dont know yet how use git in cli
<akira01> any good wiki?
<micro_O> eyyy i found two linting errors in kisslinux/repo/extra
<micro_O> though it might be an error with my linter itself
<dilyn> I gave you the three commands to use akira01
Guest56 has joined #kisslinux
<Guest56> POSIX way to have multi-line variable? Doing new line in script you need to break indentation rules and it looks ugly.
<dilyn> you could do what i think kiss does/did, which is just define newline='
<dilyn> '
<dilyn> and then just use $newline when you need one
<micro_O> cool, so in my repo kiss-lint found some post-install files that were not executable (and in fact were plain text files) and some sources files with stray newlines.
<acheam> do the post installs even need to be executable?
<acheam> cant you just write it in shell and it will execute?
<micro_O> according to https://github.com/kisslinux/kiss/blob/master/doc/package-system.txt they should be executable
<dilyn> they need only be executable if they DO something that isn't just cat << EOF
<dilyn> dylan said that somewhere, but never officially documented it afaik
<dilyn> the package manager itself doesn't execute post-install files with this format, even if they ARE +x
<micro_O> for kiss-lint, I think its best I implement what is official documentation, over unofficial behaviour
<dilyn> oh wait, this may have changed?
<dilyn> hmhmhm...
<micro_O> that gives us a few futures: a) people ignore kiss-lint errors, b) i make some errors warnings, c) behaviour of kiss matches that of the documentation, d) documentation/kiss-lint gets updated to match behaviour of kiss
<micro_O> I'm happy with all these futures
<micro_O> I guess this documentation is being updated for `k`, tbh
<acheam> # kiss-lint ignore: 321231
<dilyn> hm, every post-install file in my clone of the repo is executable?
Guest56 has quit [Quit: Client closed]
Guest56 has joined #kisslinux
<micro_O> dilyn are you asking if that is correct?
<dilyn> I'm just saying that either one of our repos is incorrect or your linter made a mistake
kawics11 has quit [Ping timeout: 255 seconds]
<acheam> wow shots fired
<micro_O> dilyn which repo are you checking against
<dilyn> lol, no shots just a sanity check
<dilyn> all I did was clone kisslinux/repo
<dilyn> oh in YOUR repo
<dilyn> jesus
Guest5640 has joined #kisslinux
<micro_O> yeah i just ran kiss-lint against kisslinux/repo/extra, kisslinux/repo/core, and kisslinux/repo/wayland, and that passes for all three
Guest56 has quit [Quit: Client closed]
<dilyn> nice!
<Guest5640> Oh, kiss switched to wayland now ?
<micro_O> dilyn I ran it against community, 12 errors, most of them are just missing/extraneous newlines in sources, and a few missing executable bits
<micro_O> i'll make a pr shortly
<micro_O> I also *might* propose a github action where kiss-lint runs against PRs as a nice sanity check, but that is way down the line
<dilyn> ^ I was going to suggest that
<acheam> Guest5640: please read: https://k1sslinux.org/news/20210712a
<Guest5640> Ok I read that. Think I will stay on xorg because I like my suckless builds. How long do you guys think X will be popular for until Wayland takes over? Seems there are still some problems with Wayland.
<acheam> what do you mean takes over?
<acheam> in KISS land, it pretty much has except for a handfull of holdouts, myself included
<micro_O> dilyn made one pr for executable bits, and one tracking issue for further investigation on some packages https://github.com/kiss-community/community/issues/599
<Guest5640> Ah well I meant the general Linux world. Seems it's the default for Ubuntu and Debian (most popular distros) so it pretty much has already
<akira01> Man
<Guest5640> So I guess the overall question is how long before software developers stop supporting X11?
<akira01> How can i make a pull request without all my other commits
<acheam> akira01: git branch, then cherry pick the commits you want
<acheam> or rebase
<acheam> whatever
<akira01> how can i rebase in website?
<acheam> or you can do the much easier thing IMO which is just creating a patch and emailing it to dylan/dilyn
<acheam> bruh idk
<acheam> $ git rebase
<acheam> boom
<acheam> man git-rebase
<acheam> boom boom
<Guest5640> If you're using GitHub they intentionally make that stuff hard to find
<Guest5640> GitLab too, have to go searching for simple options and they move stuff around all the time
<micro_O> akira01 if you click on an individual commit you want to make a patch for, you can just append '.patch' to the url bar
<micro_O> but yeah, rebasing in a web ui would be a cool feature
<akira01> i need learn more about git
<akira01> will check some wiki
<micro_O> akira01 I like this one https://wizardzines.com/zines/oh-shit-git/
<micro_O> though its focused only on 'how to get out of a git mess', its good for learning a bit more about git
<micro_O> there is a less helpful but still useful version thats free at https://ohshitgit.com/
<acheam> man giteveryday
<Guest5640> I learned Git from managing my suckless stuff
<Guest5640> Use git branchs for individual patches, git stash to mix and match patches
<dilyn> some of these are just... the point of git...
michalsieron has quit [Ping timeout: 255 seconds]
gtms has joined #kisslinux
<akira01> man
<akira01> i can only make commits in my repos right?
<acheam> no
<acheam> you can make a commit in any git repo you want
<acheam> you just might not have permissions to push it to upstream directly
<dilyn> you can only push to remote repositories which you have write access to
<akira01> hmmm
<akira01> so how can i put my changes in community repo?
<Guest5640> The owner has to merge the pull request right?
<dilyn> whether that be a repository you own on github/gitlab/gitea/sourcehut, a github auth token, a remote self hosted git repository...
<dilyn> you make a pull request
<dilyn> that's the point of a PR
<Guest5640> Yeah but the owner has to merge it
<Guest5640> owner of the repo
<dilyn> owner, somebody with write access, w/e
<akira01> okay so git request-pull do fine with it?
<acheam> no request pull does something else
<acheam> if you want to open a pull request, you have to use something github specific, like the website, or the CLI tool
<akira01> what the command to pull request?
<acheam> push it to your forked repo, then go to it on the web and hit the big "create pull request" button
<dilyn> or install github-cli and do gh pr create, but that's probably more effort than just using github directly if you've never setup github-cli
<Guest5640> Yeh but muhh console
<acheam> and its all more effort than creating a patch, throwing it on a pastebin, and pasting the link in here
<dilyn> i mean if someone is asking 'how to make PR' I don't also want to explain 'how to make github auth token'
<akira01> hmm
<akira01> but it returns to my other problem
<acheam> git format-patch HEAD~1 --stdout | nc termbin.com 9999
<acheam> then copy paste the URL here
<akira01> that is all my commits are in the pull reaquest
<acheam> git branch into a new branch
<acheam> or "git checkout -b <branch name>"
<dilyn> okay SO this goes back to what I originally said to do
<akira01> but the branch also is whit my commits
<dilyn> in your repo, do git fetch; git rebase
<akira01> dilyn: when i do nothing happens
<acheam> then "git rebase -i" and play with your hisory
<dilyn> git remote -v ?
<acheam> all of this is explained in giteveryday(7)
<dilyn> do `git remote add upstream https://github.com/kiss-community/community`
<dilyn> `git rebase upstream/master`
<acheam> i dont think that would do what he's trying to do
<acheam> i think he has many of his own local commits
<akira01> yeah
<acheam> and is trying to only upstream a one/a few of them
<akira01> much local commits
<dilyn> but the simplest way to do PRs is almost always to create a new branch, make your changes, make the commit for those changes, push those changes to your mirror, and then make a PR to the repository you forked based on that new branch.
<acheam> well we're past that point now
<dilyn> f
<acheam> so the way to fix it is to create a new branch, and use git rebase -i to delete everything but the commits that you want
<acheam> or at least, thats how I would do it
<akira01> nothing else can do?
<akira01> because when i see git bruh repo some branches had hundred commits
<akira01> and he pull only one
<dilyn> wait you aren' the maintainer of lynx
<akira01> yeah
<akira01> is that a problem?
<acheam> wait, he's thomas dickey!!!
<akira01> man thats sad
<akira01> okay
<dilyn> :thinking:
<dilyn> what is this joke
<akira01> anyway i plan to port some package
<Guest5640> Wait, thomas dickey use KISS?
<Guest5640> HOLY crap!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<acheam> you said he's the maintainer of lynx
<dilyn> no
<Guest5640> Wait that's Lou Montulli
<acheam> it was a stupid joke about your ambiguous language
<Guest5640> Or Louis J. Montulli II as I assume he'd like to be called
<acheam> montulli is the original author
<dilyn> jesus
<acheam> dickey is the current maintainer
<dilyn> i get that i just love that his wikipedia page is just a silent redirection lmao
<dilyn> why have a page
<Guest5640> my whole life is basically a silent redirection
<acheam> f
<akira01> when i rebase all my commits is lost?
<acheam> it depends
<akira01> i mean
<acheam> if you remove them from the rebase -i file, then yes
<acheam> so
<acheam> do it in a branch
<akira01> okay
<akira01> i mean like if i rebase my contributions is disapear or kinda thing
mobinmob has joined #kisslinux
micro_O has quit [Ping timeout: 252 seconds]
micro_O has joined #kisslinux
monke has quit [Ping timeout: 268 seconds]
micro_O has quit [Ping timeout: 255 seconds]
<akira01> git remote -v is like this
<akira01> all that i did cant rebase my branch
<akira01> same repo everytime
monke has joined #kisslinux
<acheam> please provide more detail
<acheam> what do you mean that you cant rebase your branch?
<acheam> its really hard to help you when we are guessing as to what you are doing
<akira01> so
Guest5640 has quit [Ping timeout: 246 seconds]
<akira01> rebase should delete my commits in branch right?
<akira01> i do
<akira01> git rebase upstream/master
<akira01> it gave me "fatal: invalid upstream 'upstream/master' "
<akira01> i do git rebase -i
<akira01> and do push
<akira01> my repo in website had the same commits
Guest56 has joined #kisslinux
<acheam> are you sure you're looking at the right branch?
<akira01> yeah
<akira01> git checkout new-packages
<akira01> nothing change
<akira01> is the only branch other than main
<akira01> when i do push it says only that everything is up to date
<Guest56> you can't push if there are no changes
<acheam> git push -u origin new-packages
<akira01> same
<akira01> commits still
<Guest56> use -f flag
<akira01> -f instead of -u?
<Guest56> try both
<akira01> nothing
<akira01> so okay what i do is it
<akira01> clone the repo
<akira01> cd into it
<akira01> checkout to branch
<akira01> do git rebase -i
<akira01> it gives me an archive so i do :wq and enter
<acheam> > it gives me an archive
<acheam> ?
<Guest56> tar ball?
<acheam> it should just launch you into $EDITOR
<akira01> Yeah
<akira01> Vim
<akira01> vim open an archive
<akira01> git-rebase-todo
<akira01> :wq
<akira01> and i do enter
<acheam> define archive
<akira01> one second
<acheam> and to confirm, you are deleting the lines with the commits that you do not want to include?
<Guest56> I think he means a tar file, i think vim has the ability to see tar files
<acheam> yes but it shouldnt be making a tar file
<acheam> it should just be a plaintext file with a list of commits
<akira01> i mean this
<dilyn> this is just the prompt for an interactive rebase
<akira01> so i do rebase -i
<akira01> and d the commit?
<akira01> i mean i just do git rebase -i and save the prompt so nothing more
<akira01> i need to do something?
<acheam> you need to delete the commits that you dont want
Guest56 has quit [Quit: Client closed]
<akira01> sooo
<akira01> when the prompt appears
<akira01> i do what?
Guest56 has joined #kisslinux
<acheam> what prompt?
<acheam> the $EDITOR window?
<akira01> yeah
<acheam> it has instructions in it
<akira01> so
<akira01> i need do something like git rebase - i drop commit?
<Guest56> Man I really hate awk.
<acheam> Guest56: awk is great
<acheam> akira01: just delete the lines with the commits that you dont want to PR
<Guest56> Well im trying to write a shell script that uses awk but I want to save the field delimiter because it contains important info. Can't seem to do that :|
<acheam> oh like you're trying to determine what the delimiter it is using is?
<ang> easier to help if you give us an example
<akira01> acheam: okay did but now git push says ! [rejected]
<akira01> hint: Updates were rejected because a pushed tip is behind its remote
Guest56 has quit [Quit: Client closed]
Guest56 has joined #kisslinux
<Guest56> Yeah so basically i'm writing a wifi menu with iwd and dmenu and the delimiter is the security method (e.g. psk), that way the first column is the wifi name even if it has white space. But I need to know what delimiter is to check for a passphrase. https://pastebin.com/mKaCWyt4
<acheam> akira01: git push -f
<Guest56> See how awk will mess up if the network name has spaces, that's why the security is used as delimiter
<akira01> solved
<akira01> goooosh
<akira01> thanks man
<Guest56> err maybe i don't need that
<Guest56> will see tho
<Guest56> If you type the command "iwctl device wlan0 connect $SSID" it will prompt you for a passphrase. Would have to enter in dmenu somehow
kawics11 has joined #kisslinux
Guest56 has quit [Quit: Client closed]
Guest56 has joined #kisslinux
<Guest56> Oh yeah never mind can just do "command ... | dmenu"
Guest56 has quit [Client Quit]
Guest56 has joined #kisslinux
<msk[m]> anyone else get "Checksum mismatch" when trying to build aerc-git? I thought git packages didn't need checksums?
<msk[m]> kiss c aerc-git says "No sources needing checksums"
<dilyn> correct. it shouldn't
<dilyn> that's presumably because the checksum format has changed and it's impacted a certain subset of packages
<Guest56> Is there any way to redirect the stdout of a command into the stdin for another command?
<dilyn> use -
<dilyn> some packages also default to reading stdin, so you can just |
<dilyn> msk: looks like aerc used to provide prebuilt manpages, and then it was updated to remove them. but the checksum was never deleted
<dilyn> claudia:
<msk[m]> when I deleted the checksum file, I had another error
<msk[m]> let me try again
<Guest56> dilyn iwctl prompts for password, so I'd like to get the output for dmenu -p "Enter password" redirected to iwctl
<Guest56> I don't know if what im asking is possible tho
<dilyn> i have no idea how dmenu really works
<dilyn> you can look at soemthing like pineentry-dmenu or w/e it is
<dilyn> which does... something similar, afaik
<Guest56> Well dmenu -p "Password" gives you a bar that you type into
<Guest56> Whatever you type is the output
<msk[m]> dmenu just sends the output to stdout, right? so you could do dmenu | iwctl or something similar
Guest56 has quit [Quit: Client closed]
Guest56 has joined #kisslinux
<Guest56> Yeah okay so my command is echo '' | dmenu -p "Enter password" -P | iwctl station wlp52s0 connect C1
<Guest56> But iwctl says Operation aborted :|
<Guest56> And it does show the password after the Passphrase prompt so idk
<Guest56> Think it's iwctl's fault
<msk[m]> maybe iwctl has an option to accept standard input
<msk[m]> I use wpa_supplicant so I can't check
<msk[m]> the error was "/usr/bin/kiss: line 1046: can't open /path/to/aerc-git/checksums: no such file"
<msk[m]> Guest56: dilyn recommended trying -, which is pretty standard. something like "dmenu | iwctl -"
<acheam> ew useless use of echo
<acheam> just do ":| dmenu"
kawics11 has quit [Ping timeout: 255 seconds]
<acheam> iwctl might not accept stdin
<acheam> in which case you can use xargs to move stdin to a CLI argument
<msk[m]> but does iwctl support passwords as arguments
dilyn has quit [Quit: Connection closed]
<Guest56> Hmm yes it does so that would work. What about for cases where no pass is required tho.
<Guest56> For like public wifis
<Guest56> There's no way to check if a password is required for SSID beforehand
<Guest56> There is a security option that says "open" "psk" but i can't save those because they are the field delimiter I used to get the network name
<Guest56> Open would mean no pass required but psk means a pass would be required
<ang> why all the hassle with dmenu? Just write a shell script and run it in a terminal
<ang> if you want something interactive, just print the output of the network list you linked us
<ang> prompt for an ssid and then simply run iwd and let it prompt for a password itself
<ang> keep it simple stupid?
dilyn has joined #kisslinux
<dilyn> people love their dmenu windows :V
<dilyn> for some reason
<Guest56> dilyn well i didn't know it would be this tough. thankfully the dmenu parts are only like 5 lines and the script would work fine without
<Guest56> just basically the parts for connect, disconnect, known networks
<soliwilos> dilyn: You're using pax, I think? Have you run into "tar: unknown option -- -" during a build?
gtms has quit [Remote host closed the connection]
<dilyn> not yet; what are you trying to build?
<soliwilos> firefox was all but done, then didn't like my tar options.
<soliwilos> Hasn't happened with anything else yet.
<dilyn> strange
<msk[m]> yeah, Guest56, what are you even making? iwctl by itself already works fine, no?
<dilyn> it'll take me a hot second to try to reproduce it; you can see if you can reproduce my chromium issue in the meantime :V
<soliwilos> I've never built chromium..
<dilyn> it's during the extract step you'll see within the first two minutes lol
<soliwilos> What is the issue?
<dilyn> well when I extract the chromium archive manually i get a whole flurry of directories names variations of the tarball's name, and the one final directory you would expect (which is... perfectly fine, and the rest are just text files...)
<dilyn> building with kiss, seems to break... either one thing horribly terribly, or everything super awfully (:
<dilyn> like, I become unable to do much of anything involving extraction afterwords. lots of catastrophic failing. I have to reboot to fix it (which is why I left 30 minutes ago lmao)
<soliwilos> Ow..
<dilyn> also can anybody reproduce issues which look like this building the foot-pgo package? http://ix.io/3tE0
akira01 has quit [Ping timeout: 240 seconds]
<dilyn> it only happens with PGO, but I want to make sure it isn't something unique to my system
mobinmob has quit [Quit: Connection closed for inactivity]
<soliwilos> I'd need to rebuild some things with different options, foot-pgo just complains about /usr/lib/clang/12.0.1/lib/linux/libclang_rt.profile-x86_64.a not being available.
<soliwilos> I suspect it will fail with gcc as well, since gcc is built without isl and I believe that is needed for lto.
ax has quit [Ping timeout: 255 seconds]
<soliwilos> Hmm.. doesn't that really mean that the repo isn't really configured to build the foot-pgo package?
ax has joined #kisslinux
<dilyn> that would indeed be what that means. why would it want rt
<dilyn> i can't build on a gcc system to sanity check you tho (:
<soliwilos> Checked with gcc and it won't build foot-pgo either. I'm using gcc as-is from kisslinux/repo.
claudia has joined #kisslinux
<dilyn> that should be an issue all on its own at the repo :X that no beuno
<claudia> who need reproduction on foot-pgo?
<claudia> I can build foot-pgo with gcc
<dilyn> hmhmhmhmhm
<dilyn> i wish this wasn't a 'me' problem :(
<claudia> :<
<claudia> be grateful, you can change something about this^^
<dilyn> i mean, i don't know how much of a 'me' problem it is tbh; i can certainly build versions of foot off of git up until 232fb2
<dilyn> lol yes I could try to stop doing dumb shit to my computer XD
<claudia> ^
<claudia> Dont you have zfs and can roll back to a date when 232fb2 was released?
<claudia> *dream*
<dilyn> i'm not using zfs on my machine atm
<dilyn> I'm debating waiting until i have all the drives in here that i'm going to have before doing it, or just YOLO'ing because they made pool expansion an option with 2.1.0
<dilyn> i can also just peg foot at 69260dd and pester dnkl endlessly about it
<soliwilos> Changing ld from lld to binutils led to a successful build here with gcc.
<claudia> btw dilyn, I play around with my coreutils and tried out toybox.
<dilyn> oh, yes lld is probably going to change something dramatic about building some things haha
<dilyn> how was it claudia? are you a convert
<claudia> I like that it seems _simpler_ to busybox, but not quite complete
<claudia> 2 issues have rise: 1. the toybox mount does not sucessfully mount my partitions in the first place. I have uuid in fstab. 2. which getty do you use in particular?
<claudia> Do you supplement toybox with just util-linux or also ubase/sbase?
<dilyn> i use util-linux for now
<dilyn> i don't particularly like u/sbase
<claudia> y, they feel...clunky?
<dilyn> well, toybox and util-linux both have helpful --help for starters
<dilyn> ls doesn't have color output which makes me sad :'(
<claudia> just seing rn, util-linux also provides mount. Maybe this fixes my "not mount in the first try" issue.
<claudia> lsad
<claudia> Do I need a shutdown hook for unmount drives for hummingbird? It feels like it cuts the power on my machine ^^
<claudia> Have played around with different coreutils the last few days, and now I really admit what busybox all can do, and how well KISS is build around it.
<dilyn> surreally, toybox swapon doesn't support -a :V
<dilyn> does nobody use kiss with bash as sh?
<dilyn> because bash just like... breaks kiss...
<dilyn> -> linux-headers Checking if manifest valid
<dilyn> -> linux-headers Checking if package installable
<dilyn> -> linux-headers Checking for package conflicts
<dilyn> /usr/bin/kiss: line 158: cd: /var/db/kiss/installed/linux-headers: No such file or directory
<cem> bash?
<cem> ew
<dilyn> indeed
<soliwilos> bash belongs in /dev/null
<acheam> dilyn: why do you do this to yourself?
<acheam> also why would that fail?
<dilyn> who tf knows
<dilyn> I do it because sometimes toybox menuconfig doesn't want to play nicely with sh -> dash
<cem> bash is like worst of all worlds
<cem> not fast
<cem> not stable
<cem> not good enough to be a fancy user shell
<cem> not good enough to link to /bin/sh
claudia has quit [Read error: Connection reset by peer]
<dilyn> well the faster landley finishes toysh...
<cem> And then there is yash which is the opposite :^)
<cem> but it's gpl uh oh for dilyn
<dilyn> don't worry I trap all gpl software in a chroot while using it
<acheam> i gave yash a shot to test a bug in oksh, and was very surprised when I first launched t
<acheam> it
<dilyn> they never touch my precious /
<cem> man, I'm really happy with yash
mrlix has joined #kisslinux
<cem> It's a great user shell without sacrificing anything
claudia has joined #kisslinux
<cem> your kernel touches / dilyn
<cem> everything you do
<cem> gpl has a finger on it
<dilyn> my kernel is segregated too don't worry
claudia has quit [Client Quit]
<dilyn> zfs complains if you have certain options enabled in the kernel config which i find hilarious
<cem> everytime you poweroff, linus and stallman kisses your laptop good night
<soliwilos> lol
<ang> Guest56: something to with https://termbin.com/tf1q
<dilyn> no :'(
<ang> something to play with*
<ang> stallman better keep his dirty lips off my laptop
<cem> lmao
<cem> okay stallman probably despises your laptop because it isn't GNU/Linux
<cem> but linus does
<dilyn> my laptop is the definition of nonfree
<dilyn> apple bitches
<ang> true, he would probably never touch it
<dilyn> he would hiss at it and return to the hole he dug beneath MIT's science building
<cem> dilyn: now I don't know whether I despise you or stallman
<dilyn> the best feature my laptop has is that I can always perfectly nuke whatever is installed on it so long as I have a network connection
<dilyn> thanks, apple, for providing an online installer easily accessible via the EFI
<cem> wow so convenient
<dilyn> used it more often than you might think (:
<cem> I used it once on my iphone like 8 years ago
<cem> why would you need it more often than I think
<cem> do you just lose your laptop monthly
<dilyn> i nuked it two weeks ago for something
<dilyn> did it again a few months before that to update the firmware on my mouse
<cem> wow
<cem> sounds super convenient
<cem> grab me the phone so I can order one
<dilyn> it comes in clutch is all i'm saying lol
<noocsharp> i just disassembled my desktop computer for the first time in 5 years
<dilyn> better than those laptop companies that'll just give you a USB with the recovery OS
<dilyn> what'd you find in their noocsharp: :O
<noocsharp> i clean it once a year, so not much
<noocsharp> never taken it apart completely tho
<acheam> whats the incentive to do that?
<noocsharp> to *really* clean it
<dilyn> soliwilos: finished building firefox in a clean kiss chroot. zero issues with pax and the patch i use for kiss
<dilyn> using pax from ibara
<dilyn> gotta get all that dust under the motherboard donchaknow
<cem> dilyn: btw I patched pax on otools to not substitute soft links
<dilyn> :O
<dilyn> now i guess i have to use yours huh
<dilyn> i'll have to see if it resolves my chromium issues
<cem> were they related to symlinks too?
<cem> holy shit how big is that tarball
<dilyn> :V
<dilyn> 903megs baybeee
<cem> imagine not building software on ram
<cem> oh wait
<cem> > rust
<cem> > firefox
<cem> > chromium
<dilyn> mfw your otools Makefil requires gmake :'(
<cem> Fine, I'll write a small configure script
<soliwilos> dilyn: Alright, thanks for testing. :)
<dilyn> bae <3
<dilyn> ofc
* cem autoconfs the repository for memes
<dilyn> hng
<dilyn> believe it or not? jail
<cem> dilyn: I extracted the chromium sources without any seeming issues
<cem> though I don't have qt, so I can't build it
<dilyn> qt be damned
<dilyn> extracting bloatium is all that matters
<acheam> bash? believe it or not? jail.
<dilyn> #facts
<acheam> qt? jail.
<acheam> now you're gonna have trouble believing this:
<acheam> gpl? jail.
Guest56 has quit [Ping timeout: 246 seconds]
mrlix has quit [Ping timeout: 246 seconds]
Guest56 has joined #kisslinux
<Guest56> ha, but chromium takes 12 hours to build
<dilyn> more like 40 minutes
<Guest56> Took me 12 hours. Either I used some wrong flags or my PC is just crap
<dilyn> step 1) buy a 12c/24t machine
<dilyn> step 2) profit
<Guest56> i7-3770k + 500gb ssd
<dilyn> ivy bridge hell yes dude
<dilyn> my last pc was an ivy bridge
<Guest56> Well it's still going strong so I see no reason to upgrade any time soon :P
<dilyn> it was one of the last great consumer intel CPUs
<dilyn> then they got lazy because bulldozer was just the most abject failure :'(
Guest56 has quit [Quit: Client closed]
Guest56 has joined #kisslinux
Guest56 has quit [Client Quit]
Guest5656 has joined #kisslinux