phoebos changed the topic of #kisslinux to: Unofficial KISS Linux community channel | https://kisscommunity.bvnf.space | post logs or else | song of the day https://yewtu.be/watch?v=S81bNIK4MaE
<sad_plan> wak seems midly interesting https://github.com/raygard/wak
<sad_plan> a posix awk in less than 4kLOC
<sad_plan> even smaller than onetrueawk
<riteo> that's cool but how fast is it?
<riteo> like awk is, a bit surprisingly, pretty performance-sensitive IMO
<riteo> still, starring this as it's BSD-0 and 4kLOC is an awesome feat anyways
<sad_plan> have no clue how fast it is tbh. never had any issues with awk being slow in any way shape or form
kate81 has joined #kisslinux
kate81 has quit [Client Quit]
<midfavila> sad_plan i did some fiddling with wak a bit ago
<midfavila> im going to see if i can get my custom distro to self host with it
<midfavila> ive been using kernighans awk until now
<sad_plan> riteo: see here http://0x0.st/8roM.bin
<midfavila> speaking of i need to poke around for more software...
<midfavila> i want to see if i can find one of those fancy note organising systems the kids are all on about these days that runs with minimal deps on a local device
<sad_plan> awk would be naw in this case, and oldawk is nawk
<sad_plan> midfavila: ive too been using nawk for quite some time now
<sad_plan> wak should give you no trouble to self host, seeing as its compatible with most awk implentations
<midfavila> yeah, just want to make sure
<sad_plan> what kind of note organizing systems are you refering to?
<midfavila> ive seen them called personal wikis or knowledge management systems. something like emacs' org mode, but standalone, is how it seems to me
<sad_plan> hm, sounds like vimwiki aswell
<midfavila> ive written them off as excessive for a long time but i feel like combining that with rsync could be really nice for keeping notes and project ideas and etc organised across devices
<sad_plan> i have some notes which ive synced with my disk, but its not as accessable as I would like. I suppose using git for this would be acceptable, unless its personal
<midfavila> yeah the goal is to be entirely offline
<midfavila> i guess you could use a local version control system with some helper scripts...
<sad_plan> sounds like something id want myself
<sad_plan> curious as to why nawk and wak is very close overall, but some of the tests will differ a lot
op_4 has quit [Remote host closed the connection]
op_4 has joined #kisslinux
<sad_plan> oh, and ive sent a ticket to the company where I bought the gpu, if I didnt say so earlier. fingers crossed my bullshit explenation will end up with me getting a new one :D
<midfavila> i desperately wish this wasnt written for nodejs
<midfavila> lua, python, c, c++, almost anything else and it would be perfect for the r01...
<sad_plan> I get that. I hate when projects is written in some awefull language, when C would be perfectly fine
<sad_plan> which kinda reminds of me cloc. which is written in perl. theres several similar projects, but theyre all either written in go, rust or something else even more awefull
<midfavila> idk i feel like python or sepples would be reasonable here
<midfavila> its a complex project
<midfavila> really cool too. even with the very limited terminal termux has i was able to find my flat pretty easily
<midfavila> if you were able to add in some way to interface with a system's GPS/Galileo/etc module and added a simple wayfinding algorithm and stuff you could have a really fucking slick TUI map
<midfavila> that would honestly be amazing
<midfavila> as it is, it's useful but still kind of a novelty...
<midfavila> nothing wrong with novelty but it's so close to being a 10/10
<midfavila> i would contribute but a) ew node and b) am brainlet
<midfavila> :x
<sad_plan> right on
<midfavila> emacs has an osm client!!!
<midfavila> go figure
<sad_plan> dope
<sad_plan> I like osm
<sad_plan> I use it for navigating when I need it
<midfavila> i can use osm for most of what i need
<midfavila> what i really would love is if there was a bounty program for it
<midfavila> or a piecemeal payout or something
<sad_plan> although not through emacs. I use osmand, or organic maps lately, because its lighter
<midfavila> i would love to cut a shift at work and just spend the day biking around my city mapping things
<sad_plan> you can do that in you sparetime aswell :p although it might not be very rewarding
<sad_plan> g2g though, bye
<midfavila> ttyl
<midfavila> ooh
<midfavila> could use tinyx just to render this sort of stuff but i wonder how hard it would be to just target the framebuffer...
<midfavila> or even put it through something like aalib...
<jason123onirc> I just use a garmin gps for maps and when I use my phone I use magic earth
<midfavila> thats fair
<midfavila> im hoping to get my r01's gps working tho
<jason123onirc> yep garmin is unmatched
<midfavila> it's also expensive and proprietary
<jason123onirc> it does support osm for maps data and used ones are cheap
<midfavila> yes but it's proprietary. that fact alone is enough for it to be dismissed.
<midfavila> i have an a priori objection to it.
<midfavila> https://wiki.openstreetmap.org/wiki/Mepo this is another good client...
<midfavila> explicitly designed for mobile devices
<midfavila> neat possible alternative to mpd in the future
<midfavila> alternatively depending on how they already handle files it could be trivial to add support for mpg123/321 and then it would be plenty usable right now...
<sewn> what do you use
<sewn> I still use Spotify but I don't really need to
<midfavila> for audio?
<midfavila> i use ffmpeg
<sewn> bra
<sewn> you mean ffplay
* midfavila stares at
<midfavila> did i stutter
<sewn> how tf do you use ffmpeg to play
<midfavila> decode it into raw audio data and specify the alsa device for output
<midfavila> i was using it on the r01 for a while since nothing else worked
<midfavila> i don't recall the command i used tho lmao
<midfavila> i'll probably work it out again down the line and stick it in a script
<midfavila> okay it's like 0230
<midfavila> bedtime
<midfavila> gn
<sewn> night
l_k has joined #kisslinux
student has quit [Ping timeout: 265 seconds]
angerisagift has quit [Ping timeout: 264 seconds]
angerisagift has joined #kisslinux
phinxy has quit [Ping timeout: 252 seconds]
toch has quit [Quit: WeeChat 4.5.0]
toch has joined #kisslinux
toch has quit [Ping timeout: 248 seconds]
toch has joined #kisslinux
<riteo> sad_plan: uhh not sure how to interpret that bin file
<riteo> like, it's text all right, I can see it, but I'm not really sure what I'm looking at. Is that a test suite?
<sad_plan> yes, its nawks testsuite
<sad_plan> I compared nawk with nawk
<sad_plan> wak I mean
phinxy has joined #kisslinux
<riteo> I see
<sewn> wat
<riteo> supposing `../a.out` is wak I can see that it's kinda slower... Wonder how much that applies to real life
<riteo> sewn: what
<sad_plan> sewn: wak is a simpler awk implementation
<sad_plan> riteo: correct. a.out was wak in this case.
<riteo> regarding performance, like, there's proof that AWK is actually a great data cruncher. Remember the hadoop thing?
<sad_plan> maybe this is more clear. now the filename is at the very least correct.
<sad_plan> I dont
<sad_plan> forgot to paste the link. lol
<riteo> why does it gen a bin?
<sad_plan> have no idea
<riteo> am I meant to look at it in some special way
<sad_plan> 0x0.st guesses the file in some kind of way
<sad_plan> scroll to almost the bottom, youll see a list of times
<riteo> yeah I've noticed
<sad_plan> yes, and if im not mistaken here, new is wak, and old is awk
<sad_plan> at the top, oldawk=awk, and awk=wak
<riteo> ye
<riteo> numbers add up
<sad_plan> so im kinda assuming this follows the rest of the file
<sad_plan> which means that wak is slightly faster overall
<sad_plan> ill take a look
<riteo> no wait where are you deducing that wak is faster than awk
<riteo> oh there's a sum at the bottom
<sad_plan> it says so in the test. old is awk, new is wak. in total, wak is faster
<sad_plan> yep
<riteo> that's really interesting
<riteo> I've looked at the first few rows and went (eh) but actually yeah it's on average running 90% of the time of regular awk
<sad_plan> it seems that in some cases awk is really fast, whereas wak sortof avarages it out
<sad_plan> slow and steady wins the race kindof
<sewn> riteo: waaat
<sad_plan> interesting artichle riteo
<sad_plan> kinda reminds me of the useless use of cat. while not neccessarly the same, the article still starts with using a lot of tools. i.e. where he uses sort and uniq at the same time. sort has a flag to not print duplicate lines. as an example
<midfavila> bwah
<sewn> bweh
<midfavila> fweh
* midfavila dies
<midfavila> i only just woke up
<midfavila> slept like a rock
<midfavila> also ye awk slapss
<midfavila> slaps even
<midfavila> i need to read the awk book at some point
<midfavila> this is cute
<riteo> awk is unironically one of my favourite tools ever
<riteo> DSLs FTW!
<riteo> also jq
<riteo> friendly reminder that you can use shebangs to make executable awk scripts, or anything really
<riteo> like I also did `.jq` +x scripts
<sewn> midfavila: how do u sleep like a rock
dilyn has quit [Quit: Client closed]