[2022-12-08T00:49:38Z] midfavila: your URI regex doesn't work on openbsd, it has the bit you want to be the fqdn just empty [2022-12-08T00:49:42Z] https://tmp.bvnf.space/0001-uri-fix-regex.patch [2022-12-08T00:49:48Z] this fixes it [2022-12-08T00:50:13Z] why did you have the second + as well as the * anyway? [2022-12-08T00:51:26Z] i'd give you an answer but i can't remember :D [2022-12-08T00:51:36Z] the day i worked on the regex initially is completely gone [2022-12-08T00:51:45Z] :V [2022-12-08T00:51:50Z] chronic sleep deprivation is a hell of a drug kids [2022-12-08T00:52:04Z] that it be [2022-12-08T00:52:40Z] was also gonna ask why you made a subexpression for fqdn and path together, as well as separately [2022-12-08T00:52:55Z] like ((fqdn)(path)) [2022-12-08T00:53:13Z] i copied the regex from the RFC and tweaked it until it mostly did what I wanted to [2022-12-08T00:53:26Z] i don't have much experience with extended regex so [2022-12-08T03:09:46Z] Hi [2022-12-08T05:28:43Z] HI [2022-12-08T05:30:40Z] Hi [2022-12-08T08:05:44Z] Hi [2022-12-08T08:39:40Z] hi [2022-12-08T10:04:54Z] Holt shit its sad_an [2022-12-08T10:04:58Z] Hello sad an [2022-12-08T10:05:00Z] Sed_pan [2022-12-08T10:05:02Z] Sad_plan [2022-12-08T10:05:10Z] hey wael[m] [2022-12-08T10:05:24Z] Sign my toaster plz [2022-12-08T10:05:51Z] sure. just.. hurl it over here :p [2022-12-08T10:08:18Z] I didn't like how zig-bootstrap compile llvm twice and trying to fix it [2022-12-08T10:08:36Z] I'm at my 8th recompilation of llvm [2022-12-08T10:09:09Z] yeah I can see why thats not favorable :p llvm takes some time to build :p [2022-12-08T10:09:21Z] If my calculation are correct around 2038 my hard work will pay off if current iteration will succeded [2022-12-08T10:09:31Z] lol [2022-12-08T10:15:31Z] Why do you need to recompile llvm [2022-12-08T10:16:14Z] zig does that, if I didnt get that wrong [2022-12-08T10:16:22Z] yes [2022-12-08T10:16:52Z] bootstrap compiles llvm to compile stage2 zig compiler [2022-12-08T10:17:05Z] and than recompiles llvm using zig [2022-12-08T10:17:15Z] to link it to stage 3 [2022-12-08T10:17:39Z] I'm trying to remove second llvm recompilation [2022-12-08T10:18:03Z] and in result zig compiler reports that is has version SEGFAULT [2022-12-08T10:18:37Z] should you be able to make a switch for it or something, to avoid bootstrapping, if youve built zig already on that system? [2022-12-08T10:19:04Z] if there was some more interesting error message somewhere I would know what is wrong [2022-12-08T10:19:12Z] but it just segfaults [2022-12-08T10:19:28Z] run valgrind on it? [2022-12-08T10:19:29Z] so I'm not even sure where to look for problem [2022-12-08T10:20:11Z] ideally it should link to system llvm [2022-12-08T10:20:26Z] but haven't reached this step yet [2022-12-08T10:20:32Z] yeah, or that [2022-12-08T10:21:21Z] building zig with zig is pretty useless [2022-12-08T10:21:39Z] as you can only build current version with current version [2022-12-08T10:21:53Z] so no building current version with older version [2022-12-08T10:21:57Z] thats stupid [2022-12-08T10:22:00Z] I really want to like zig [2022-12-08T10:22:15Z] but if I cannot build it normally how can I? [2022-12-08T10:22:42Z] it leaves rust for my main lang… [2022-12-08T10:22:44Z] I [2022-12-08T10:23:12Z] I'll try untill evening and pass on zig if there is no way to build this compiler [2022-12-08T10:23:33Z] I need something that works *now* not 10+ years in future [2022-12-08T10:23:48Z] you can see if alpine has a bin for it though, and just use that one instead? [2022-12-08T10:23:49Z] ok i guess ill not look into zig bevause of that [2022-12-08T10:24:00Z] If it will work in future I will make switch in future [2022-12-08T10:24:25Z] it has official binary for musl ready to download [2022-12-08T10:24:41Z] this is how I was evaluating this language [2022-12-08T10:24:44Z] a switch would probably be favorable. similarly to how gcc has, to avoid bootstrapping if youre building the same version or a minor version bump [2022-12-08T10:24:55Z] ah, I see [2022-12-08T10:25:20Z] but not fucked build system is one of my requirement for language I want to by my main [2022-12-08T10:25:26Z] be* [2022-12-08T10:40:25Z] yup, even official bootstrap fails [2022-12-08T10:40:46Z] on version 0.10.0 [2022-12-08T10:40:55Z] ok, so nope for me [2022-12-08T10:41:08Z] I'll wait for 1.0 and reevaluate then [2022-12-08T10:41:23Z] if I do not fall in love in rust untill then [2022-12-08T11:24:54Z] To clarify as I never like to bitch about other people's passion projects [2022-12-08T11:25:09Z] zig is not bad, just not ready yet [2022-12-08T11:25:25Z] and I want to have something to play with this holidays [2022-12-08T11:25:32Z] so working now is requirement [2022-12-08T11:39:36Z] aelspire: buildn host llvm with all targets enabled [2022-12-08T11:39:48Z] or patch zig in one file to not use undefined llvm functions [2022-12-08T11:39:56Z] i got it to build but idk it keeps setting _start to 0x000 [2022-12-08T11:40:04Z] same issue with official binary [2022-12-08T11:40:07Z] I tried official unmodified zig-bootstrap repo last time [2022-12-08T11:40:23Z] version 0.10.0 [2022-12-08T11:40:33Z] so no bleeding-edge [2022-12-08T11:40:49Z] and it succeded but zig compiler segfaults immediately [2022-12-08T11:41:42Z] so this is not the problem with removing second recompilation of LLVM [2022-12-08T11:41:52Z] but something isn't working in zig [2022-12-08T11:41:53Z] did u check what _start is set to [2022-12-08T11:41:57Z] symbol [2022-12-08T11:42:05Z] nope [2022-12-08T11:42:19Z] check its probably null [2022-12-08T11:45:20Z] libc is linked to ldd [2022-12-08T11:45:25Z] weird [2022-12-08T11:46:24Z] thats irrelevnt [2022-12-08T11:47:28Z] what is current pastebin fad? [2022-12-08T11:47:43Z] or just paste command out on IRC? [2022-12-08T11:49:16Z] $ readelf -h ./zig gives Entry point address: 0x2dcba40 [2022-12-08T11:49:30Z] is this reliable? [2022-12-08T11:50:16Z] what I see and def is weird that all that hoops in bootstrap is so zig will be statically linked [2022-12-08T11:50:25Z] and this is dynamic linked [2022-12-08T12:34:28Z] I've installed gdb [2022-12-08T12:34:35Z] and zig crashes in address 0x0 [2022-12-08T12:34:49Z] so start is indeed 0x0 [2022-12-08T12:34:55Z] what does it mean? [2022-12-08T14:36:25Z] something causes zig to tell linker to set that as the start address instead of addr of main [2022-12-08T14:37:16Z] well, it has version 0.10.0 [2022-12-08T14:37:29Z] I'll give it more time and see [2022-12-08T14:37:45Z] I've lost my motivation to compile llvm again [2022-12-08T14:38:10Z] as first compilation of llvm is probably skippable [2022-12-08T14:38:23Z] second one is compiled by zig compiler stage2 [2022-12-08T14:38:37Z] probably not skippable I think [2022-12-08T14:39:35Z] rust is interesting too and uses system's llvm [2022-12-08T14:40:09Z] I've played with rust w few times since it doesn't even had version 1.0 yet [2022-12-08T14:40:18Z] but nothing too deep [2022-12-08T14:40:28Z] zig can use system llvm too [2022-12-08T14:40:51Z] if you make a 5 line patch for it, or build system llvm with more targets for cross compilation [2022-12-08T14:40:51Z] it should but I'm not sure why it SEGFAULT [2022-12-08T14:41:04Z] so I tried official bootstrap script [2022-12-08T14:41:17Z] and it doesn't work too [2022-12-08T14:41:25Z] might be musl related [2022-12-08T14:41:43Z] I'm not sure if this is musl problem [2022-12-08T14:41:46Z] i mean the addr not being set properly by zig [2022-12-08T14:41:50Z] not musl bug [2022-12-08T14:41:52Z] zig defaults to musl on linux [2022-12-08T14:42:37Z] so basically building it on musl is as official as it can get [2022-12-08T14:43:11Z] https://github.com/ziglang/zig-bootstrap#supported-triples [2022-12-08T14:43:16Z] Note: Generally, for Linux targets, we prefer the musl libc builds over the glibc builds here, because musl builds end up producing a static binary, which is more portable across Linux distributions. [2022-12-08T14:55:52Z] gnupg good or bad [2022-12-08T15:04:35Z] fwiw I was able to build & run ncdu2 a while back in a musl gentoo chroot a while back using dev-lang/zig from the gentoo repository, but still wasn't sure how to get it to work with kiss zig [2022-12-08T15:05:28Z] wael: bad [2022-12-08T15:05:31Z] extreme bad [2022-12-08T15:31:21Z] wael: gnupg pinentry is pretty funny [2022-12-08T15:32:03Z] instead of opening GUI or whatever to ask for password and return password to stdout which can be forwarded to app [2022-12-08T15:32:28Z] it has its own special protocol to ask for pin etc [2022-12-08T15:33:05Z] but there is no real replacement for gnupg AFAIK [2022-12-08T16:16:51Z] gnupg is cool [2022-12-08T16:17:00Z] i like to have a key to expire when i die [2022-12-08T16:17:21Z] (made a key 9000 times because i kept losinv jt [2022-12-08T18:26:25Z] hello [2022-12-08T18:27:33Z] i'm currently learning about the linux console and how to render glyphs with different console fonts (the .psf.gz type) [2022-12-08T18:28:11Z] is there a tool what will simply dump the entire character set of a font? Ideally with corrisponding mapping? [2022-12-08T19:07:33Z] nvm, it's "showconsolefont" [2022-12-08T19:15:28Z] hmmm, still don't know how to escape the various glyphs for ascii art purposes