[2021-05-29T00:09:19Z] claudia joined [2021-05-29T00:09:46Z] m3g quit: Ping timeout: 264 seconds [2021-05-29T00:51:43Z] honeyedbee quit: Changing host [2021-05-29T00:51:43Z] honeyedbee joined [2021-05-29T00:59:05Z] carlosdavidepto joined [2021-05-29T01:13:58Z] zenomat quit: Ping timeout: 264 seconds [2021-05-29T01:15:29Z] zenomat joined [2021-05-29T01:15:30Z] zenomat quit: Changing host [2021-05-29T01:15:30Z] zenomat joined [2021-05-29T01:19:58Z] claudia quit: Ping timeout: 264 seconds [2021-05-29T01:20:58Z] kqz quit: Remote host closed the connection [2021-05-29T01:23:14Z] GalaxyNova joined [2021-05-29T02:28:49Z] might have just found myself a job as a sysadmin. woo. [2021-05-29T02:28:53Z] * midfavila does jazz hands [2021-05-29T02:37:14Z] ayy [2021-05-29T02:37:19Z] potential congrats [2021-05-29T02:37:54Z] very much potential. it's to help with a startup my friends are involved in [2021-05-29T02:38:04Z] flop or no, it'll be money and experience. [2021-05-29T03:02:39Z] carlosdavidepto parted: Leaving [2021-05-29T03:20:00Z] $$ [2021-05-29T03:20:08Z] more like $ [2021-05-29T03:20:19Z] maybe like, $/2 [2021-05-29T03:20:26Z] one half-money [2021-05-29T03:21:37Z] schillingklaus joined [2021-05-29T03:31:14Z] hi [2021-05-29T03:31:23Z] ih [2021-05-29T03:35:54Z] http://0x0.st/-2SV.c [2021-05-29T03:35:56Z] behold [2021-05-29T03:36:02Z] the improvededer string reverser [2021-05-29T03:36:09Z] ...I actually kind of hate this one. >.< [2021-05-29T03:36:13Z] it's so ugly [2021-05-29T03:37:15Z] the worst part is that it's *still* not technically fulfilling exercise 1-19 [2021-05-29T03:37:31Z] because it handles the entire buffer at once, instead of one line at a time. but that should be trivial to fix. [2021-05-29T03:38:06Z] dylin should fix it? [2021-05-29T03:38:36Z] wat [2021-05-29T03:41:55Z] took me a while to realize what gnirts is [2021-05-29T03:42:02Z] it's string reversed [2021-05-29T03:42:03Z] :3 [2021-05-29T03:42:33Z] originally string's position was referred to with an integer b, and gnirts was referred to with integer d [2021-05-29T03:42:53Z] because I'm just so gosh dang clever. [2021-05-29T03:43:24Z] ngl I love these fun things with variable names [2021-05-29T03:43:42Z] * midfavila nods [2021-05-29T03:44:50Z] thread a: while(1) { dog.feed(); do_stuff(); } [2021-05-29T03:45:26Z] thread b: while(1) { if(dog.hungry()) kill_owner(dog); sleep() } [2021-05-29T03:45:55Z] I did something like that [2021-05-29T03:46:25Z] im getting real "programmer ad code" vibes [2021-05-29T03:46:46Z] ...from my program? [2021-05-29T03:46:55Z] i'm almost offended [2021-05-29T03:47:01Z] nah just from the conversation about var names [2021-05-29T03:47:03Z] :> [2021-05-29T03:47:08Z] I was gonna say. [2021-05-29T03:47:26Z] see, if you're gonna name your variables something non-generic, it has to be *clever* [2021-05-29T03:47:51Z] real programmer ads name their variables using unicode or emojis or some bullshit. [2021-05-29T03:48:06Z] i write mine to be pragmatic usually [2021-05-29T03:48:15Z] const int ONE = 1; [2021-05-29T03:48:21Z] const int TWO = ONE + ONE; [2021-05-29T03:48:22Z] well, pragmatism over everything else [2021-05-29T03:48:35Z] b_x_gse for an x component of a magnetic field in a GSE coordinate system [2021-05-29T03:48:36Z] but I think gnirts[] is more descriptive than s2[] [2021-05-29T03:48:50Z] s2 is... a second string. woop de doo. [2021-05-29T03:48:50Z] str_rev [2021-05-29T03:49:14Z] meh [2021-05-29T03:49:22Z] gnirts is shorter and adds personality. [2021-05-29T03:49:38Z] and is a nightmare to read quickly [2021-05-29T03:49:49Z] meh [2021-05-29T03:49:51Z] but you do you m8 [2021-05-29T03:50:05Z] I don't intend to write programs for other people [2021-05-29T03:50:13Z] so maximizing readability isn't like [2021-05-29T03:50:17Z] super high on my list of priorities [2021-05-29T03:50:22Z] node->head = head; [2021-05-29T03:50:23Z] this is a fair call [2021-05-29T03:50:26Z] node->tail = tail; [2021-05-29T03:50:34Z] node->left_hand = left_hand; [2021-05-29T03:50:39Z] as long as *I* can read and understand it, I don't really care how far it deviates from what mr. thought leader has declared [2021-05-29T03:50:46Z] node->right_big_toe = right_big_toe; [2021-05-29T03:50:56Z] linked list 101 [2021-05-29T03:51:09Z] I haven't learned about pointers yet aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [2021-05-29T03:51:13Z] stop trying to TEACH me things [2021-05-29T03:51:17Z] ah pointers [2021-05-29T03:51:36Z] i'm trying to solve every single exercise in K&R, but also every single general problem they present [2021-05-29T03:52:06Z] so any time they say "X program might look like...", I try to write my own version and then compare the result (once it works) so I can see where I might improve [2021-05-29T03:52:15Z] good thinking [2021-05-29T03:52:17Z] as a result, I'm still stuck in chapter one. [2021-05-29T03:52:19Z] HOWEVER [2021-05-29T03:52:25Z] pointers are the beginning and the end of C [2021-05-29T03:52:27Z] I'm a fucking *master* at declaring variables [2021-05-29T03:52:44Z] im planning on going through K&R while also porting my analysis scripts into C code [2021-05-29T03:52:47Z] for shits and gigs [2021-05-29T03:52:55Z] i just want to write utility software [2021-05-29T03:53:03Z] to replace some of the cruftier tools I use [2021-05-29T03:53:26Z] having a not-shit terminal is high on my priority list, for example [2021-05-29T03:53:40Z] what you using currently? [2021-05-29T03:53:43Z] xterm [2021-05-29T03:54:11Z] xterm is comfy, since it has basically zero latency, but it's clunky and has so many weird and unneeded features [2021-05-29T03:54:31Z] urxvt is less comfy, and has a little latency, but it's also clunky and has many unneeded features [2021-05-29T03:54:32Z] st isnt too bad and i havent really noticed problems with latency [2021-05-29T03:54:46Z] st is, no joke, probably among the worst terminals I've used. [2021-05-29T03:54:53Z] lmao yeah? [2021-05-29T03:55:01Z] imho, [2021-05-29T03:55:08Z] scrolling should be part of the terminal itself. [2021-05-29T03:55:12Z] rxvt is vastly superior [2021-05-29T03:55:14Z] and the argument of "just apply the patches bro" [2021-05-29T03:55:24Z] only works when there are no updates. [2021-05-29T03:55:35Z] schillingklaus it's not hard to be better than xterm or st [2021-05-29T03:55:47Z] that's like saying "xterm is better than VTE" [2021-05-29T03:55:53Z] like yeah, but that's only because VTE is ass [2021-05-29T03:56:04Z] yeah im not a huge fan of the patch system because updates break them [2021-05-29T03:56:19Z] i know thats a risk but i feel like if you're writing a program to be patched on the user end [2021-05-29T03:56:24Z] you'd make it more friendly [2021-05-29T03:56:34Z] if I were to implement a terminal, it would be both extremely minimal and also focus on strong basics [2021-05-29T03:56:39Z] somewhere between st and xterm [2021-05-29T03:56:51Z] I was surprised that xterm can display image [2021-05-29T03:56:57Z] xterm can do a *lot* [2021-05-29T03:57:05Z] im torn on sixel support [2021-05-29T03:57:07Z] its cool [2021-05-29T03:57:08Z] like, it's actually hilarious how impressive xterm is [2021-05-29T03:57:10Z] but also kinda [2021-05-29T03:57:13Z] bloat? [2021-05-29T03:57:18Z] xterm is 50k+ lines [2021-05-29T03:57:24Z] you're stuck with bloat either way [2021-05-29T03:57:29Z] yeah ofc [2021-05-29T03:57:34Z] but among terminals it's probably the best. [2021-05-29T03:57:41Z] again, not saying much. [2021-05-29T03:57:59Z] i've tried most terminals around, and they always have one or two dealbreakers [2021-05-29T03:58:08Z] ...or they're just stupid. [2021-05-29T03:58:11Z] "gpu accelerated terminal" [2021-05-29T03:58:12Z] like kitty. [2021-05-29T03:58:14Z] so many of the alternative terminals these days are heavily feature-focused [2021-05-29T03:58:19Z] yeaaaaah [2021-05-29T03:58:20Z] kitty makes me want to kill myself [2021-05-29T03:58:27Z] "Written in Rust, made with love!" [2021-05-29T03:58:35Z] :rocket::rocket::rocket: [2021-05-29T03:58:49Z] >100+ mb just to draw text [2021-05-29T03:58:54Z] absolutely haram. [2021-05-29T03:59:04Z] kitty is in python [2021-05-29T03:59:07Z] even worse [2021-05-29T03:59:11Z] ...is it??? [2021-05-29T03:59:17Z] some C restu pyyhon [2021-05-29T03:59:33Z] ew [2021-05-29T04:00:01Z] yeah, the only thing I would want in a terminal is like [2021-05-29T04:00:29Z] optoinal scrollback, unicode support(maybe), ttf support, and xembed support [2021-05-29T04:00:41Z] what's xembed [2021-05-29T04:00:41Z] as well as the minimum viable subset of VT100 to maintain compatibility. [2021-05-29T04:00:51Z] xembed is a protocol that allows you to embed X clients inside of each other [2021-05-29T04:01:00Z] suckless tabbed is a good example of XEmbed in use [2021-05-29T04:01:40Z] but yeah, a terminal has no place managing tabs [2021-05-29T04:01:55Z] tabbing is the job of either the window manager, multiplexer, or tab interface. [2021-05-29T04:02:03Z] ...oh! [2021-05-29T04:02:11Z] spawning another terminal is faster than using tabs :P [2021-05-29T04:02:18Z] another thing I would do is add an easy way to connect the terminal directly to a device node [2021-05-29T04:02:39Z] no point in using a program like picocom or minicom to emulate a terminal... inside of your terminal. [2021-05-29T04:02:42Z] i need complete keyboard controllability of terminals. [2021-05-29T04:02:55Z] use a multiplexer then, fivehead. [2021-05-29T04:03:44Z] eyepatchOwl joined [2021-05-29T04:04:40Z] rio6 ultimately when I write my terminal it's going to be about user choice. [2021-05-29T04:04:46Z] not in like, a meme way [2021-05-29T04:04:57Z] where it's 1000mb to open and everything is written in a scripting language [2021-05-29T04:05:08Z] or it's useless out of the box and impossible to hack on yourself [2021-05-29T04:05:30Z] just a simple, clean, solid terminal. [2021-05-29T04:07:03Z] anyway, it's just after one. I need to sleep [2021-05-29T04:07:35Z] night [2021-05-29T05:20:26Z] gtms joined [2021-05-29T05:43:59Z] schillingklaus quit: Quit: schillingklaus [2021-05-29T06:04:49Z] sad_plan joined [2021-05-29T06:13:09Z] good morning! [2021-05-29T06:13:28Z] good morning C: [2021-05-29T06:30:46Z] eyepatchOwl quit: Quit: Connection closed for inactivity [2021-05-29T07:16:31Z] soliwilos quit: Ping timeout: 252 seconds [2021-05-29T07:39:14Z] testuser[m]_ quit: Changing host [2021-05-29T07:39:14Z] testuser[m]_ joined [2021-05-29T07:43:10Z] sad_plan quit: Ping timeout: 248 seconds [2021-05-29T07:48:54Z] fwze joined [2021-05-29T08:07:04Z] aws joined [2021-05-29T08:07:27Z] aws quit: Client Quit [2021-05-29T08:11:34Z] GalaxyNova quit: Ping timeout: 264 seconds [2021-05-29T08:49:39Z] cy6x joined [2021-05-29T08:50:06Z] Hi all [2021-05-29T08:54:13Z] I'm trying to install sway on gkisslinux, but when I install the freetype-harfbuzz package, I get the error [2021-05-29T08:54:23Z] /usr/bin/ld: cannot find -lharfbuzz [2021-05-29T08:54:29Z] Help please [2021-05-29T09:00:56Z] test10 joined [2021-05-29T09:01:15Z] test [2021-05-29T09:01:26Z] test10 quit: Client Quit [2021-05-29T09:02:09Z] you mean when building freetype-harfbuzz ? cy6x [2021-05-29T09:03:55Z] Yes [2021-05-29T09:05:22Z] Sorry, I forgot say that I am using your personal repo "kiss-repo" with wayland packages [2021-05-29T09:05:37Z] looks like i got the same issue, lemme check [2021-05-29T09:06:07Z] Ok [2021-05-29T09:09:29Z] just remove "-lharfbuzz" from line 47, and only keep the -L part [2021-05-29T09:09:32Z] seems to work fine without [2021-05-29T09:10:39Z] Oh, I compiled https://github.com/harfbuzz/harfbuzz and everything now build without errors. I suggest adding the harfbuzz package to the freetype-harfbuzz dependencies or remove flag "-lharfbuzz" [2021-05-29T09:10:57Z] Ok, thank you :) [2021-05-29T09:16:06Z] konimex joined [2021-05-29T09:38:12Z] I enabled "nvidia-drm", added "export XDG_RUNTIME_DIR=/tmp" to the .profile, but sway won't start: https://pastebin.com/CmkKvgjK [2021-05-29T09:38:15Z] :( [2021-05-29T09:40:00Z] modprobe nvidia-drm modeset=1 [2021-05-29T09:40:02Z] doing this ? [2021-05-29T09:40:18Z] sad_plan joined [2021-05-29T09:40:34Z] Yes, nvidia-drm is enabled [2021-05-29T09:40:39Z] ah also you need to enable the seatd service [2021-05-29T09:43:16Z] fwze quit: Quit: WeeChat 3.1 [2021-05-29T09:43:16Z] cy6x quit: Read error: Connection reset by peer [2021-05-29T09:43:22Z] cy6x_ joined [2021-05-29T09:44:44Z] I ran "ln -s /etc/sv/seatd /var/service", rebooted the pc, but it still gives me an error (sway --my-next-gpu-wont-be-nvidia" [2021-05-29T09:45:15Z] the same one ? [2021-05-29T09:45:25Z] Yes [2021-05-29T09:45:38Z] pgrep seatd => 288 [2021-05-29T09:45:51Z] It works, apparently [2021-05-29T09:48:06Z] https://termbin.com/sg7e [2021-05-29T09:48:07Z] does this work [2021-05-29T09:48:13Z] cc drm.c $(pkg-config --libs --cflags libdrm) [2021-05-29T09:48:36Z] oh you got it working ? [2021-05-29T09:49:27Z] /dev/dri/card0: Permission denied [2021-05-29T09:49:40Z] May be this problem of permissions [2021-05-29T09:49:53Z] if this doesn't work then sway wont either [2021-05-29T09:49:55Z] you're in the video group? [2021-05-29T09:50:22Z] No, I'll add it now [2021-05-29T09:50:30Z] yeah it should work then [2021-05-29T09:50:32Z] be sure to relogin [2021-05-29T09:54:21Z] groups => cy6x video [2021-05-29T09:54:27Z] /dev/dri/card0: Permission denied [2021-05-29T09:54:28Z] still [2021-05-29T09:55:12Z] you sure you passed the modeset=1 parameter to modeprobe and not just nvidia-drm ? [2021-05-29T09:55:17Z] modprobe [2021-05-29T10:02:09Z] Sure: https://pastebin.com/DhqTzujK [2021-05-29T10:03:01Z] yeah passing modeset=1 as modprobe config/kernel paramater didnt work but it worked if i added it manually to the modprobe command [2021-05-29T10:03:19Z] you just need to modprobe nvidia-drm modeset=1, it'll load everything else too [2021-05-29T10:05:05Z] Ok, I ran the command, started sway, but it won't start like here: https://pastebin.com/DhqTzujK [2021-05-29T10:07:03Z] weird, did you rmmod everything first ? does the drm.c program work ? also send the log with sway --debug [2021-05-29T10:07:10Z] dmesg | grep drm: https://pastebin.com/fqZZib1n [2021-05-29T10:07:24Z] Ok [2021-05-29T10:08:21Z] fwze joined [2021-05-29T10:13:43Z] https://imgur.com/a/keH2I9h [2021-05-29T10:13:49Z] Found 0 GPUs, hm.. [2021-05-29T10:17:05Z] as i said you dont need any extra modprobes, add the paramater with a space instead of '.' [2021-05-29T10:17:10Z] just checked it doesnt work with the dot [2021-05-29T10:17:40Z] Ok [2021-05-29T10:19:29Z] modprobe nvidia and nvidia_drm, or only nvidia? [2021-05-29T10:20:29Z] https://termbin.com/cisy [2021-05-29T10:20:34Z] just this in /etc/rc.d/modules.boot [2021-05-29T10:20:50Z] (you need to chmod +x files in /etc/rc.d too btw ) [2021-05-29T10:25:35Z] cy6x joined [2021-05-29T10:25:35Z] cy6x_ quit: Read error: Connection reset by peer [2021-05-29T10:34:42Z] soliwilos joined [2021-05-29T10:36:09Z] Sorry for the long wait: https://dropmefiles.com/E6IHp [2021-05-29T10:37:01Z] (i rebooted pc) [2021-05-29T10:37:30Z] that link doesnt work [2021-05-29T10:39:12Z] https://my-files.su/hba2vy [2021-05-29T10:40:53Z] thats some progress [2021-05-29T10:41:13Z] yeah :) [2021-05-29T10:41:22Z] what gpu do you have ? [2021-05-29T10:41:28Z] gtx 1660 super [2021-05-29T10:41:40Z] hmm [2021-05-29T10:42:16Z] it all worked on archlinux [2021-05-29T10:42:26Z] (with wlroots-eglstreams and without) [2021-05-29T10:44:21Z] can you gdb it and see where the segfault happens [2021-05-29T10:44:59Z] just `gdb /usr/bin/sway` then type `run --arg1 --arg2`, on segfault `backtrace` [2021-05-29T10:45:46Z] i'm not very good at debugging, but i'll give it a try [2021-05-29T10:45:47Z] ok [2021-05-29T10:49:07Z] cy6x_ joined [2021-05-29T10:49:08Z] cy6x quit: Read error: Connection reset by peer [2021-05-29T10:53:09Z] cy6x joined [2021-05-29T10:53:09Z] cy6x_ quit: Read error: Connection reset by peer [2021-05-29T10:53:14Z] Guest64 joined [2021-05-29T10:53:47Z] Guest64 quit: Client Quit [2021-05-29T10:55:21Z] https://my-files.su/78hvgj, and then my pc freezes [2021-05-29T10:56:56Z] fwze quit: Quit: WeeChat 3.1 [2021-05-29T11:02:21Z] hmm I've no idea about the segfault [2021-05-29T11:03:34Z] maybe i should try installing the system again, but write every command i do and send it to you via pastebin? [2021-05-29T11:03:53Z] no youre setup is fine [2021-05-29T11:03:55Z] your [2021-05-29T11:04:03Z] Anyway, thank you very much for your help [2021-05-29T11:04:13Z] it works completely fine for me, i have pretty much the same gpu as you [2021-05-29T11:04:19Z] np [2021-05-29T11:04:20Z] hmm [2021-05-29T11:04:29Z] if you manage to get a backtrace then let me know [2021-05-29T11:05:01Z] Ok, thanks you again! [2021-05-29T11:07:08Z] ah you can do compile wlroots and sway with debug symbols and then run `ulimit -c unlimited` before sway [2021-05-29T11:07:34Z] it should show a trace [2021-05-29T11:09:25Z] ok, i'll give a try [2021-05-29T11:09:25Z] riteo quit: Read error: Connection reset by peer [2021-05-29T11:09:54Z] you should build them locally and load via LD_PRELOAD [2021-05-29T11:10:01Z] locally means outside a kiss package [2021-05-29T11:14:19Z] andrey joined [2021-05-29T11:16:56Z] illiliti joined [2021-05-29T11:24:06Z] andrey quit: Remote host closed the connection [2021-05-29T11:24:30Z] cy6x quit: Read error: Connection reset by peer [2021-05-29T11:41:50Z] strajder joined [2021-05-29T12:04:41Z] sad_plan quit: Ping timeout: 272 seconds [2021-05-29T12:32:04Z] eyepatchOwl joined [2021-05-29T12:39:36Z] Is k1sslinux.org registered under dilyn's name? [2021-05-29T12:39:59Z] the freenode ops are asking for a TXT record to be added to the domain as a verification code [2021-05-29T12:40:05Z] err, libera :C [2021-05-29T13:01:56Z] kiedtl: yes [2021-05-29T13:15:19Z] m3g joined [2021-05-29T13:16:48Z] koos loonix [2021-05-29T13:20:45Z] humky quit: Remote host closed the connection [2021-05-29T13:21:39Z] humky_ joined [2021-05-29T13:25:12Z] riteo joined [2021-05-29T14:09:18Z] m3g quit: Ping timeout: 248 seconds [2021-05-29T14:11:55Z] m3g joined [2021-05-29T14:15:37Z] dude I'm gonna lose my fucking mind [2021-05-29T14:15:46Z] I thought 1-19 was going to be *trivial* [2021-05-29T14:15:47Z] eyepatchOwl quit: Killed (tantalum.libera.chat (Nickname regained by services)) [2021-05-29T14:16:05Z] "print input, one reversed line at a time" they said [2021-05-29T14:16:26Z] "just write a function to reverse it" they said. it's easier to do everything in main(). . -. [2021-05-29T14:26:49Z] eyepatchOwl joined [2021-05-29T14:32:15Z] What's the song of the day? Broken link for me. [2021-05-29T14:37:14Z] change inv.something to invidious.snopyta.org [2021-05-29T14:39:19Z] Nice. I approve. :D [2021-05-29T14:52:34Z] strajder quit: Quit: leaving [2021-05-29T14:59:50Z] strajder joined [2021-05-29T15:00:21Z] strajder quit: Client Quit [2021-05-29T15:00:38Z] strajder joined [2021-05-29T15:09:55Z] Guest5 joined [2021-05-29T15:28:13Z] acheam: Ah, then I'll have to wait until Dilyn shows up :v [2021-05-29T15:28:18Z] Come back, slacker! [2021-05-29T15:28:24Z] Such a lazy BDFL! [2021-05-29T15:28:36Z] bad dictator for life [2021-05-29T15:28:37Z] smh [2021-05-29T15:39:22Z] dontmindmee joined [2021-05-29T15:39:41Z] | All hail the power of Red Hat [2021-05-29T15:39:46Z] :D [2021-05-29T15:39:53Z] :^))) [2021-05-29T15:39:57Z] heil IBM? [2021-05-29T15:40:31Z] kiedtl parted: // unreachable code [2021-05-29T15:40:34Z] kiedtl joined [2021-05-29T15:43:51Z] gtms quit: *.net *.split [2021-05-29T15:43:51Z] zenomat quit: *.net *.split [2021-05-29T15:43:51Z] testuser[m] quit: *.net *.split [2021-05-29T15:43:51Z] kayw quit: *.net *.split [2021-05-29T15:43:51Z] honeyedbee quit: *.net *.split [2021-05-29T15:44:01Z] honeyedbee joined [2021-05-29T15:44:06Z] zenomat joined [2021-05-29T15:44:18Z] nerditup what's the red hat meme? [2021-05-29T15:44:26Z] kayw joined [2021-05-29T15:44:28Z] zenomat quit: Changing host [2021-05-29T15:44:28Z] zenomat joined [2021-05-29T15:44:29Z] nerditup-: [2021-05-29T15:44:30Z] gtms joined [2021-05-29T15:45:23Z] Ah my username changed after Libera disconnected/reconnected me [2021-05-29T15:51:23Z] j0hnny joined [2021-05-29T15:52:34Z] http://0x0.st/-2jC.c [2021-05-29T15:52:34Z] fucking christ, this is so awful [2021-05-29T15:52:49Z] but at least it satisfies the requirements for 1-19 exactly... [2021-05-29T16:00:59Z] yeah it's weird [2021-05-29T16:01:20Z] You'll surely get more elegant with time though [2021-05-29T16:01:25Z] "weird" is a polite way to put it [2021-05-29T16:01:30Z] I mean, it works [2021-05-29T16:01:34Z] that's all that matters in the end [2021-05-29T16:01:49Z] eeeeeeeeeeeh. [2021-05-29T16:01:54Z] it'd be awful if it worked 1/3 of the time [2021-05-29T16:02:09Z] honestly, the annoying part is the *specific* requirement that it operate per-line [2021-05-29T16:03:02Z] that's why the ugly while-if statement in main() is there. but at this point I'm just gonna shove this somewhere and not think about it again [2021-05-29T16:05:06Z] yeah, just go on and keep going [2021-05-29T16:05:41Z] kayw quit: Changing host [2021-05-29T16:05:41Z] kayw joined [2021-05-29T16:05:56Z] Mm. All I need to do now is work on 1-18, and then I can move on to section 1.10 and its exercises... [2021-05-29T16:06:19Z] ...which includes a syntax checker. wh- [2021-05-29T16:06:25Z] ... [2021-05-29T16:06:38Z] nope. this can wait for another day. [2021-05-29T16:09:22Z] b r u h [2021-05-29T16:09:30Z] like... [2021-05-29T16:09:56Z] the best method *I* could think of would be to include variables for each particular symbol you're checking [2021-05-29T16:10:19Z] ideally a boolean, or a could chars if you wanted to do some bit-fiddling [2021-05-29T16:10:28Z] s/could/couple/ [2021-05-29T16:10:33Z] what the fuck, me... [2021-05-29T16:11:41Z] but yeah, flip the bit when you encounter an opening character, flip it back when you encounter a closed. if there are any non-zero syntax variables at the end, just report those. maybe count the number of times syntax errors are found.... [2021-05-29T16:11:43Z] * midfavila shrugs [2021-05-29T16:13:49Z] claudia joined [2021-05-29T16:17:40Z] mhh that sounds interesting [2021-05-29T16:29:00Z] humky_ changed nick to humky [2021-05-29T16:37:05Z] strajder quit: Quit: leaving [2021-05-29T16:38:44Z] strajder joined [2021-05-29T17:07:20Z] cy6x joined [2021-05-29T17:26:19Z] testuser[m] joined [2021-05-29T17:29:53Z] kqz joined [2021-05-29T17:29:55Z] illiliti_ joined [2021-05-29T17:31:53Z] illiliti changed nick to Guest8291 [2021-05-29T17:31:53Z] Guest8291 quit: Killed (zinc.libera.chat (Nickname regained by services)) [2021-05-29T17:31:53Z] illiliti_ changed nick to illiliti [2021-05-29T17:43:59Z] test [2021-05-29T17:44:25Z] failed [2021-05-29T17:44:36Z] nice [2021-05-29T17:49:41Z] fwze joined [2021-05-29T17:58:10Z] What are some KISS principled alternatives to Drone for CI? [2021-05-29T17:58:29Z] I'm thinking of setting up some simple git hooks [2021-05-29T18:04:34Z] testuser[m]_: the underscore is back! [2021-05-29T18:04:50Z] acheam: my homeserver is still broken lol [2021-05-29T18:04:54Z] :( [2021-05-29T18:05:02Z] fwze quit: Quit: WeeChat 3.1 [2021-05-29T18:05:10Z] nerditup-: sr.ht [2021-05-29T18:05:29Z] nerditup-: 2 options come to mind, builds.sr.ht and just hacky thing using ssh and local git hooks [2021-05-29T18:06:01Z] sr.ht is not simple to administer though, but I think nerditup- is experienced in that field [2021-05-29T18:06:24Z] you need postgres, 2 redis instances, a mail server, and a reverse proxy [2021-05-29T18:06:37Z] and wsgi [2021-05-29T18:06:39Z] not all of that is necessary right ? [2021-05-29T18:06:43Z] it is [2021-05-29T18:06:51Z] what if you dont need the ML [2021-05-29T18:07:02Z] you still need transactional mail for accounts and stuff [2021-05-29T18:07:35Z] oh and a cron daemon [2021-05-29T18:07:41Z] see https://man.sr.ht/installation.md#installing-from-packages [2021-05-29T18:18:11Z] yamchah2 quit: Quit: bye [2021-05-29T18:20:39Z] midfavila: What are you working through? [2021-05-29T18:33:08Z] k&r [2021-05-29T18:52:28Z] claudia quit: Quit: zzz [2021-05-29T18:52:51Z] GalaxyNova joined [2021-05-29T19:27:46Z] Guest6360 joined [2021-05-29T19:28:07Z] Guest6360 quit: Client Quit [2021-05-29T19:28:23Z] Guest7612 joined [2021-05-29T19:30:56Z] Guest7612 quit: Client Quit [2021-05-29T19:34:48Z] phoebos: regarding the public logs, have you tried using CGI to automatically generate the HTML? [2021-05-29T19:49:12Z] kiedtl: I'd think ctrl-c.club wouldn't support CGI [2021-05-29T19:49:16Z] does tilde.team? [2021-05-29T19:52:18Z] Sounds like I should self host a sr.ht build instance! Thanks friends [2021-05-29T19:53:24Z] good luck [2021-05-29T19:54:09Z] acheam: tilde.team does, I'm not sure about ctrl-c.club :v [2021-05-29T19:54:12Z] ah nice [2021-05-29T19:54:19Z] envs doesn't AFAICT [2021-05-29T19:54:24Z] Ctrl-C should have PHP, at the very least [2021-05-29T19:54:28Z] but... [2021-05-29T19:54:28Z] spinning something up quickly on my server [2021-05-29T19:54:56Z] nvm actually, I hear you shouldn't use PHP unless you have anti-seizure medication handy [2021-05-29T19:56:40Z] https://logs.armaanb.net/ [2021-05-29T19:56:57Z] will work on having it parse the url [2021-05-29T19:58:10Z] oh nice [2021-05-29T19:58:30Z] is that just an experiment or will it stay there? [2021-05-29T19:58:49Z] yamchah2 joined [2021-05-29T20:00:04Z] kiedtl changed nick to zr [2021-05-29T20:06:34Z] gtms quit: Remote host closed the connection [2021-05-29T20:08:40Z] Uks2 quit: Ping timeout: 264 seconds [2021-05-29T20:09:18Z] Uks2 joined [2021-05-29T20:15:46Z] kiedtl: probably will stay there, but until I make any further annoucements don't rely on it or the URL format or anything [2021-05-29T20:16:37Z] zr: [2021-05-29T20:16:58Z] it turns out my client doesn't display nick changes [2021-05-29T20:18:40Z] cy6x quit: Quit: leaving [2021-05-29T20:20:50Z] ah [2021-05-29T20:39:10Z] andrey joined [2021-05-29T20:43:50Z] strajder quit: Quit: leaving [2021-05-29T20:45:04Z] andrey parted: [2021-05-29T20:45:32Z] andrey joined [2021-05-29T20:46:23Z] Is there a way to configure irc so that it doesnt show my ip to the whole world? [2021-05-29T20:47:32Z] yes, you need a cloak [2021-05-29T20:47:58Z] there is some channel you can join to get one automatically, I think #libera-cloak or something [2021-05-29T20:48:34Z] we might also be giving out kisslinux cloaks, but we are waiting on libera to get back to us [2021-05-29T20:49:20Z] Isn't that contrary to the point of cloaks? [2021-05-29T20:49:34Z] To show affiliation, that is [2021-05-29T20:50:26Z] cloaks are to show affiliation, unless it's a user cloak [2021-05-29T20:50:39Z] andrey: join #libera-cloak, and type "!cloakme" [2021-05-29T20:51:01Z] Thank you all, I will try libera-cloak then [2021-05-29T20:51:05Z] Yeah, I just said it as an answer to giving out kisslinux cloaks [2021-05-29T20:51:09Z] andrey parted: [2021-05-29T20:51:24Z] acheam: they did, but I'm waiting for dilyn to show up so that I can badger him for the TXT records they want :v [2021-05-29T20:53:31Z] zr: *facepalm* [2021-05-29T20:53:49Z] i talked with you about that this morning and already forgot lol [2021-05-29T20:54:07Z] heh [2021-05-29T20:54:48Z] re user cloaks: lots of projects give them out to users, not just developers [2021-05-29T20:55:08Z] i don't see the harm in giving out kisslinux/user/* cloaks [2021-05-29T20:55:19Z] if people would like them over a standard unnafiliated cloak [2021-05-29T20:55:21Z] Oh yeah, I'm dumb [2021-05-29T20:55:23Z] I don't think dilyn cares about what kind of cloaks we give out [2021-05-29T20:55:27Z] so you can show everyone you love to kiss linux [2021-05-29T20:55:32Z] heh [2021-05-29T20:55:52Z] How do you define a KISS developer, though? [2021-05-29T20:55:58Z] Is it someone who maintains a community package? [2021-05-29T20:56:06Z] Or someone who's contributed to the kiss package manager? [2021-05-29T20:56:19Z] Or just has to make regular contributions to a KISS repo? [2021-05-29T20:56:24Z] just dilyn [2021-05-29T20:56:29Z] :D [2021-05-29T20:56:30Z] Or maybe just the KISS Elite(tm) [2021-05-29T20:56:57Z] achëam, dilyn, mcpc, testusr, and of course me [2021-05-29T20:57:07Z] you don't have to umlaut it lol [2021-05-29T20:57:12Z] i'm looking at my irc client [2021-05-29T20:57:22Z] i dont mind the ping [2021-05-29T20:57:29Z] the ones who have not only kissed linux, but gone to second base with linux [2021-05-29T20:57:32Z] Maybe we can give out developer cloaks to those who maintain at least X packages in community [2021-05-29T20:57:35Z] acheam: ah, ok [2021-05-29T20:57:48Z] but then I wouldn't be able to get one :C [2021-05-29T20:57:52Z] and I'm the GC! [2021-05-29T20:57:52Z] but then mid wouldn't get one, and I'd think that they otherwise would be in the same teir [2021-05-29T20:57:55Z] lol [2021-05-29T20:58:03Z] we can all just get user cloaks [2021-05-29T20:58:08Z] kisslinux/foo [2021-05-29T20:58:09Z] and dilyn can get bdfl [2021-05-29T20:58:12Z] That's what we did last time [2021-05-29T20:58:15Z] yeah that works [2021-05-29T20:58:18Z] err, not the bdfl [2021-05-29T20:58:21Z] unless dilyn wan'ts to be seperate [2021-05-29T20:58:26Z] ye [2021-05-29T20:58:31Z] speaking of which [2021-05-29T20:58:37Z] he's taking a real lazy saturday, eh? [2021-05-29T20:58:42Z] indeed [2021-05-29T20:58:49Z] cancel this bastard >:C [2021-05-29T20:58:58Z] doas rm -rf dilyn [2021-05-29T20:59:10Z] saturday is the only day I get to do anything other than a random side project, lol [2021-05-29T20:59:23Z] rm: can't remove 'dilyn': No such file or directory [2021-05-29T20:59:27Z] speaking of which, he doesn't seem to be looking at GitHub pr's either [2021-05-29T20:59:32Z] there's a 7-day-old PR waiting [2021-05-29T20:59:40Z] spam the ML [2021-05-29T20:59:52Z] I wonder if he has applied the patches I sent him in March [2021-05-29T20:59:55Z] before the ML was setup [2021-05-29T21:00:12Z] git log? [2021-05-29T21:01:18Z] $ curl -Lo dilyn dylanaraps [2021-05-29T21:01:36Z] He hasn't, smh [2021-05-29T21:02:34Z] zr: Send it to the mailing list [2021-05-29T21:02:57Z] Yeah, I'll do that on monday, maybe [2021-05-29T21:03:05Z] Or now, to add to the barrage of notifications [2021-05-29T21:03:28Z] He'll eventually give up and come back! [2021-05-29T21:04:11Z] curl: no URL specified! [2021-05-29T21:04:19Z] curl: try 'curl --help' for more information [2021-05-29T21:04:59Z] Pff, try actually running that [2021-05-29T21:05:23Z] It would try to resolve [2021-05-29T21:05:36Z] :P [2021-05-29T21:08:09Z] curl: (6) Could not resolve host: dylanaraps [2021-05-29T21:22:03Z] kqz quit: Read error: Connection reset by peer [2021-05-29T21:52:47Z] GalaxyNova quit: Read error: Connection reset by peer [2021-05-29T21:52:55Z] why does busybox date suck? [2021-05-29T21:57:28Z] in other news, https://irclogs.armaanb.net is up [2021-05-29T21:58:29Z] date in url doesn't seem to work? [2021-05-29T22:00:22Z] uh thats embarrasing [2021-05-29T22:00:23Z] one sec [2021-05-29T22:01:25Z] okie fixed now [2021-05-29T22:01:57Z] it might be broken for a sec as I play around with it [2021-05-29T22:02:28Z] so there's now, what, 3 different places with logs of the channel? :P [2021-05-29T22:02:33Z] uh [2021-05-29T22:02:34Z] yes [2021-05-29T22:02:41Z] plus private logs [2021-05-29T22:02:50Z] 4 [2021-05-29T22:06:44Z] rattboi joined [2021-05-29T22:06:47Z] rattboi quit: K-Lined [2021-05-29T22:25:33Z] Yes, four places, lol [2021-05-29T22:26:02Z] I've made a PR to add these locations to the website [2021-05-29T22:31:15Z] Uks3 joined [2021-05-29T22:33:12Z] Uks2 quit: Ping timeout: 245 seconds [2021-05-29T23:01:26Z] zr: cool thanks [2021-05-29T23:09:57Z] Uks2 joined [2021-05-29T23:10:54Z] ralu16 joined [2021-05-29T23:10:58Z] ralu16 quit: K-Lined [2021-05-29T23:11:01Z] Uks3 quit: Ping timeout: 265 seconds [2021-05-29T23:12:11Z] eyepatchOwl K&R [2021-05-29T23:22:38Z] Uks3 joined [2021-05-29T23:24:52Z] Uks2 quit: Ping timeout: 245 seconds [2021-05-29T23:31:28Z] Uks3 quit: Ping timeout: 264 seconds [2021-05-29T23:31:36Z] dilynm joined [2021-05-29T23:32:08Z] I've been unwinding this weekend, sorry lads [2021-05-29T23:32:14Z] What txt record do you need? [2021-05-29T23:35:22Z] Uks2 joined