00:04:27 wouldn't a better abrouch be try to invert the O_CLOEXEC logic in kernel? 00:04:35 no 00:04:45 I'm not touching the kernel 00:06:31 I also can't assume that fdescfs is mounted 00:07:06 there is a way to get the process's whole fd table via sysctl, but that's way more overhead than I want 00:07:54 the problem I see is that you might close an fd which expected to not be closed on exec but ovesee by the user because it's created inside a lib 00:09:04 well that's kind of the point - the child program in this case must not inherit fds that are not explicitly specified by the parent 00:09:35 no library has any business passing down fds that aren't exposed to the main program anyway 00:10:20 the answer in general has been "use the CLOEXEC flag everywhere" but that's messy and error-prone 00:11:15 thats why I proposed to invert the CLOEXEC logic in libc/kernel 00:11:41 that's a non-starter because of contravening all the existing standards 00:12:10 but using your wrapper will do the same 00:12:32 no it won't, because my code will only affect programs that actually use it 00:13:36 (my lower-level improvements to posix_spawn could be implemented as posix_*_np functions in libc, but the higher-level interface is wholly new) 00:13:47 (and also is not in C) 00:21:02 yeah, looking at the call to get the whole fd table, it's pretty costly, though only O(numfds) rather than O(maxfd) 00:21:25 it returns a huge struct for each open fd 00:26:23 it's annoying because the kernel has a perfectly good fdlastfile(fdp) function that's not exposed via any reasonable interface 00:27:48 my alternative plan is just to say "don't do that" and enforce the constraint that the parent can not specify that any files remain open above the child's soft fd limit 00:40:40 .vim 00:47:04 I finally compiled xfce, installed it by first making pkg install from the stuff built by poudriere as opposed to the online binary repos and I ended up installing… all 395 packages thwt were built alongside xfce 00:47:20 I tried to use pkg autoremove but none of them go away 00:47:34 How do I get rid of the packages i dont need? 00:47:40 what command did you use to install them? 00:48:09 it wouldn't surprise me if xfce had that many dependencies, either 00:48:35 I first modified the freebsd,conf to disable freebsd and install from my poudriere folder instead, then pkg install 00:49:06 I remember xfce from pkg pulling less than 395 00:49:12 packages including dependencies though 00:49:13 pkg install with what options? 00:49:22 Just pkg install 00:49:34 not specifying a package name? 00:49:51 Pkg install xfce 00:49:56 ah ok 00:50:13 I should have used like, xfce4-desktop instead 00:50:22 how many packages are listed by pkg query -e '%a==1' '%n-%v' ? 00:51:54 That didn’t trigger anything other than usage help 00:52:05 Like nothing 00:52:14 absolutely nothing useful other than muh help 00:52:25 Oh wait 00:52:31 I did a typo 00:53:03 And now I typed it properly 00:53:14 As for how many packages are listed, I cannot even count 00:53:24 pkg query -e '%a==1' '%n-%v' | wc -l 00:53:30 you have a computer to count for you 00:53:42 Ikr 00:53:57 (that's a lowercase L after the -, not a 1) 00:54:23 Kek I thought it was an | 00:54:39 And I got a 0 from that command 00:56:59 Got disconnected for whatever reason, sorry 00:57:22 you must have had some other typo 00:59:43 What was it again 01:00:41 I can’t see the comma dnd because kiwi irc refreshes afain 01:00:52 pkg query -e '%a==1' '%n-%v' | wc -l 01:03:07 Nope, nothing 01:03:21 In fact I get told that - and l are “no such file or directory” 01:04:18 you mistyped something 01:04:30 G'day all 01:04:44 Nope, nada 01:04:55 I did not mistype anythig 01:04:58 there's no space between - and l 01:05:25 Oh 01:05:36 If so then 401 packages total 01:06:32 I suspect a lot of these packages were already in my system 01:06:34 ok. so most likely installing xfce did install 395 dependencies 01:07:22 Many of these being actually just reinstalls of packages that were already on my system 01:07:47 how many packages have %a==0 ? 01:09:44 I added a new mirror drive to my zfs on root setup, how can I install the bootcode on this device as well ? 01:10:35 nineteen 01:12:16 What does this nineteen to 401 ratio mean 01:15:14 last1: is it GPT partitioned, and does the partitioning match the existing drive? and is this UEFI or legacy boot? 01:15:34 Got disconnected again, my bad 01:15:56 puddinghead: the ratio means nothing, the 19 packages are just the ones you explicitly installed (rather than were installed as dependencies) 01:16:23 I see 01:17:08 it's GPT partitioned, I copied the partitions 100% the same from the original drive 01:17:19 autoremove will remove packages which are both %a==1 AND not needed as a (direct or indirect) dependency of any package with %a==0 01:17:29 last1: UEFI or legacy? 01:17:50 https://pastebin.com/uKsQGcVq 01:17:51 Title: gpart show=> 40 15002931808 diskid/DISK-PHYI2423002X7P6FGN GPT (7. - Pastebin.com 01:17:52 legacy 01:20:18 then you need to run gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 diskname on whichever is the new disk 01:21:30 that will populate the freebsd-boot partition (index 1) with /boot/gptzfsboot which is the legacy first-stage ZFS-capable boot program 01:22:10 (gptzfsboot then goes on to load /boot/loader from the appropriate zfs dataset) 01:22:28 alright, let's see how this goes 01:22:57 just of curiosity, can't I do something like dd if=/dev/ada0p1 of=/dev/ada1p1 bs=1M ? 01:22:59 Thanks a lot! 01:23:35 I have a last question though, how easy it should be to dual boot freebsd with Linux? Im considering to also keep them in the same drive since I only have one ssd 01:23:45 well, yes, you could, but that wouldn't cover the /boot/pmbr part 01:24:00 I mean, im planning to use grub on the Linux partition 01:24:05 puddinghead: legacy bios or UEFI? 01:24:08 Uefi 01:24:28 any UEFI boot manager will handle it just fine 01:25:28 Njce 01:26:01 Partitioning while on the live Linux environment should be fine rifgt 01:26:16 freebsd should have installed a copy of loader.efi on the ESP, and running that from within UEFI, whether as the default or via a boot manager will boot freebsd 01:26:36 as long as you don't try and move or overwrite any freebsd partition 01:28:00 Yeah all im planning to do is to resize a partition 01:28:24 currently, freebsd installs loader.efi both as /efi/boot/bootx64.efi and /efi/freebsd/loader.efi 01:28:43 resize a partition not used by freebsd? 01:30:46 A partition used by freebsd 01:30:57 uh 01:31:05 used for what? 01:31:09 Storage 01:31:14 what filesystem? 01:31:19 Zfs 01:31:24 To ext4 on linux 01:31:53 this is a zfs filesystem you're not using and are going to destroy? 01:32:23 no, I am using it rn 01:32:25 because reducing the size of a zfs partition WILL destroy it 01:32:30 I see 01:32:38 So im better off just making a persistent usb then 01:32:56 you may be able to resize it from within zfs, I'd have to check 01:32:59 Although my largest usb drive is 32gb and I plan to use this usb for ai stuff 01:37:10 anyone happens to know the order in which FreeBSD starts the various nfs daemon services ? 01:37:18 aka, rpcbind -> lockd -> nfsd ? 01:37:33 it always works when I reboot the box but if I do it manually I must get the order wrong or something 01:38:08 look at the provide/require lines in the rc.d files 01:38:43 Although tbf 01:38:45 or do rcorder /etc/rc.d/* and pick out the nfs ones 01:39:02 I feel like im tired of configuring freebsd 01:41:23 I guess I’ll prob go back to Linux and testing freebsd on vms again until I feel like I have enough experience and resources (read: a better Ethernet cable since the one I have doesnt exactly work the way I want it to on my intel either net port, as well as a second ssd and gpu for pass through with bhyve) to painlessly use freebsd 01:42:39 what do you mean by pick the nfs ones ? 01:45:57 in any case, I think I got it 01:46:06 it's: rpcbind, statd, lockd, mountd, nfsd 01:49:26 nfsv4 requires at least two more, I think 01:50:53 though they may be optional 01:51:29 never really made the switch to nfsv4 01:52:08 Inb4 I get a spare laptop that can run freebsd 01:52:17 ah, you're back 01:52:25 so what makes you want to give up on Linux ? 01:54:24 Well, I think its just how fragmented it feels like 01:54:52 It feels like patchwork and how the distros just dont fit what my ideal os should be 01:55:08 Im actually just going to start running freebsd on a vm as opposed to bare metal though 01:55:14 I run FreeBSD on a 10 year old Alienware, it's my Python programming pc, works well 01:55:52 I wonder 01:56:13 Althouh tbh last time I was using FreeBSD as a vm I didn’t do much stuff 01:56:23 Heya FreeBSD people! 01:56:30 Hi 01:56:34 hello 01:56:49 I feel like changing the desktop enviroment From xfce to something else on Linux and keeping xfce for the freebsd vm in order to motivate myself to use thwt vm more 01:57:07 But at the same time its also quite intimidating since I like using my xfce config a lot whenever I can 01:57:40 G'day kenrap 01:57:57 o/ 01:58:33 I feel victorious after porting a linux application that I was struggling with for a few days 01:58:40 Nice 02:02:34 What did you port over? 02:03:05 BraveheartBSD: https://github.com/easymodo/qimgv 02:03:06 Title: GitHub - easymodo/qimgv: Image viewer. Fast, easy to use. Optional video support. 02:05:09 RhodiumToad: just updating you because I know this is a riveting story - I can find no reference to the zpool that doesn't exist, not in zdb or anything, but just mounted the ufs boot drive and I did find references in /boot/zfs/zpool.cache 02:05:49 So I could see when booting off those drives that gets looked at, but odd that booting off a cd the loader would want to look at every damn drive on the system for a zpool.cache file - seems a bit aggressive 02:07:09 aha 02:07:28 I wondered if there was a cache, but I looked around on my zfs vm and didn't find one 02:08:07 obviously didn't look hard enough 02:12:17 and I can't find whatever code reads or writes it, either 02:13:35 ah, here it is 02:15:47 Yet after removing it... still the same issue, lol. I am so lost as to where it's finding this. The problem is I currently have time to tinker, and I'm having a hard time not trying the "If I get rid of all references to hdpool, does that solve the problem?" option. 02:17:29 BraveheartBSD: I'm also interested learning about writing or modifying FreeBSD drivers. I'm reading an ebook about it. The C code after the first chapter is intimidating though, however this would be the best way for me to get the most out of FreeBSD. 02:18:11 spork_css: do you still get messages about hdpool, or is it just slow now? 02:20:04 still get the message, which is what's driving me totally nuts 02:21:15 I moved the zpool.cache out of the way, and after booting into a livecd (12.2), still had the hdpool message from the loader, so I mounted my ufs root again and zpool.cache is still gone. 02:21:35 ran "zdb -l" on all the other drives, no mention of "hdpool" 02:22:11 There is another zfs zpool cache in /etc, but that probably references my data pool 02:22:58 on what fbsd version? 02:23:12 13.2 02:23:21 I don't see a cache in /etc 02:24:35 (also 13.2) 02:24:35 I have /etc/zfs - compatabilty.d exports and zpool.cache 02:24:54 I only have compatibility.d and exports 02:25:29 this is in a pretty freshly-installed vm 02:26:39 It could be my 20tb data pool. zfs is on my boot ssd, it has the same cache in /boot. 02:27:40 * RhodiumToad must sleep now 02:28:14 G'night 02:28:21 Night 02:29:22 A 20TB pool is pretty impressive 02:30:49 It's old ...... an old Dell T610, Perc H700 with 8 x 3gb sas drives, i saved it from going to landfill 02:31:27 Truly a learning experience, lol 02:31:37 Awesome! 02:32:29 20Tb pool impressive ? that's like 1 HDD these days 02:33:32 The age of the thing maybe working against me, ubunutu-server/zfs failed horribly, the pool survived, the data on it didn't 02:33:41 All I've got is /etc/zfs/exports 02:35:14 I think /etc/zfs/zpool.cache is created when the first zpool import is run 02:43:13 I see reference to that location in the zdb manpage (-C flag is the first mention). 03:04:37 doing two zfs send/receive in parallel, this box rocks: >>> Transfer 61% 503MB/s (total 690813MB, 8 minutes left) >>> Transfer 16% 583MB/s (total 2076016MB, 49 minutes left) 03:04:58 almost 1.1GB/sec 03:19:39 i'm writing from a headless weechat install in a jail connected with wireguard on geli+zfs ... not too exciting, but it's my first "on metal" freebsd install, so i'm pretty proud of myself :) 05:35:17 markmcb: nice! 08:15:22 ^C 08:15:22 --- google.com ping statistics --- 08:15:22 2 packets transmitted, 2 packets received, 0.0% packet loss 09:07:46 hm, someone was asking here recently about blocking ips for sending SYN with no follow-up? 09:28:57 Hello, do you know how can install 'pkg install misc/compat4 / pkg: No packages available to install matching 'misc/compat4' have been found in the repositories ' on '13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC arm64' ? 09:31:05 compat4 ? 09:31:30 there never was a freebsd 4 on arm64, so there is no such package 09:33:00 (and the port origin names for the compat libs are misc/compat4x etc., but that won't help you) 09:35:25 other than a couple of versions that supported sparc64, the compat libs are only available for non-intel architectures from compat12x onward 11:21:30 Drat! broken apachectl now is preventing certbot from renewing my cert. I previously worked around https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268318 by using service stop/start, but py39-certbot-apache insists on using "apachectl graceful" 11:21:32 Title: 268318 – www/apache24 with www/mod_php82: opcache + ASLR turned on crashes Apache 11:22:08 Time to get rid of my last apache install and transition that machine to nginx as well. 11:28:10 can I drop PORTREVISION when DISTVERSION is increased? 11:28:18 yes, and you should 11:28:24 thank you! 11:45:39 fireglow: as RhodiumToad mentioned. the only exception is when the "newew" version actually goes backwards. then you need to increase PORTEPOCH and never decrease it. 11:47:12 right. but even then you should drop PORTREVISION. 12:44:01 anyone know offhand if there exists a SIMD-optimized way to convert decimal ipv4 addresses to binary? 13:17:07 greetings everyone 13:17:27 i'm interested in helping with package maintenance 13:17:58 is this a good place to start? 14:37:51 Bah. xrs left. I was going to point them to https://docs.freebsd.org/en/articles/contributing/ and specifically https://docs.freebsd.org/en/articles/contributing/#ports-contributing. 14:37:52 Title: Contributing to FreeBSD | FreeBSD Documentation Portal 16:00:33 zfs list says 824G used by postresdb but `select pg_size_pretty(pg_database_size('mydb') );`  in postgres says 149G. My drive got full and only 1 Gb left. What can i do here? 16:02:42 du -h -depth=1 /mydb/* | sort -rh also says 137G 16:02:54 why zfs says 842. 16:03:00 and my OS gets unusable? 16:03:43 pg_database_size doesn't include WAL 16:04:12 RhodiumToad I wonder why WAL would go that big 16:04:21 How to remove all WAL files for now? 16:04:23 did it? how big is the pg_wal dir? 16:04:33 do not ever touch the WAL files 16:04:33 How can I check? 16:04:38 I see 16:04:51 du -hs pg_wal 16:05:33 PG_15_202209061/pgsql_tmp 16:05:38 if that's not very big, the next question is, do you have any snapshots on this dataset? 16:06:24 what's that supposed to mean? 16:07:01 137G /mydb/ PG_15_202209061/12054723 16:07:01 512B /mydb/PG_15_202209061/pgsql_tmp 16:07:16 no snaps 16:07:53 so this dataset has a tablespace on it, and the main data dir is somewhere else? 16:07:58 yes 16:08:12 but the size zfs shows is on that dataset 16:08:18 du -ks mydb says what? 16:08:22 despite the files on that location are 140GG 16:08:24 checking 16:08:58 143782304 16:09:59 what exactly was the zfs list output? use a paste site 16:10:06 ok 16:11:19 https://pastebin.mozilla.org/y861J1kS 16:11:20 Title: Mozilla Community Pastebin/y861J1kS (Plain Text) 16:11:48 https://pastebin.mozilla.org/y861J1kS/raw  better format 16:12:55 RhodiumToad confusing. isn't it 16:13:45 zfs compression is enabled? 16:14:18 compression zstd-7 16:14:43 what's the total file size of the files in /mydb/PG_15_202209061/12054723 ? 16:15:01 (not as reported by du, but the sum of the sizes shown by e.g. ls -l) 16:18:08 also, how big is your zroot pool actually? 16:19:46 RhodiumToad https://pastebin.mozilla.org/KxOLjWYA/slim 16:19:47 Title: Mozilla Community Pastebin/KxOLjWYA (Plain Text) 16:20:07 zroot drive is 2tb in total having other things, os, etc as well 16:21:34 use ls -l | awk '{ t += $5 }; END { print t; }' (note, no -h or similar crap) 16:23:01 doing, its taking time 16:25:58 it shouldn't do 16:26:03 you probably did it wrong 16:26:08 still taking high cpu and time for that command 16:26:16 one sec. pasting 16:26:47 I did this: `ls -l | awk '{ t += $5 }; END { print t; }' /mydb/PG_15_202209061/12054723/` 16:27:07 no 16:27:11 kill that 16:27:24 ok 16:27:31 ls -l /mydb/PG_15_202209061/12054723/ | awk '{ t += $5 }; END { print t; }' 16:27:41 oops 16:27:42 doing 16:28:15 159679648559 16:29:10 zpool list says what? 16:30:36 same. the size avaialble got smaller now. from 1.3T to 850M 16:30:45 checking zpool again 16:32:31 also what's the output of zfs list -o space 16:37:45 RhodiumToad https://pastebin.mozilla.org/XPhLUQPd/raw 16:38:32 USEDSNAP is 686G for mydb 16:39:25 that's the space consumed by snapshots of mydb 16:39:49 RhodiumToad do I nees crub? 16:39:50 need* 16:39:50 scrub* 16:40:22 zfs list -t all 16:40:45 but I never made a snape since months 16:41:06 just look at zfs list -t all 16:41:35 right. got it 16:43:52 maybe you were using some tool that created snapshots? 16:44:18 will this be accurate commadn to destroy the snap? `zfs destroy zroot/mydb⊙z2`  ? 16:44:31 no idea.. really 16:44:39 didn't used any tools lately 16:45:52 I believe that is correct. but my zfs experience is minimal 16:50:00 RhodiumToad your experience solved the issue. I am getting the space back with time in `zfs list` . thanks 16:57:01 can i use gpart with ufs to extend the size of a virtual machine disk? 16:57:13 i think i tried it before and the vm wasn't bootable 16:59:34 has the underlying physical storage been extended? 17:00:17 in theory you can do it, but it depends on the current layout, where any swap partition is, etc 17:00:29 there's even a builtin script for it that usually works 17:01:09 i did some command with qemu-img to extend the qcow2 file and then i couldnt' boot multi-user 17:01:20 i guess there is a way to do it i just don't know 17:01:46 in what way did it fail? 17:02:25 well you got me there. if you like i can try to recreate it 17:02:31 but it was a boot failure 17:02:44 so presumably it didn't like the fact the disk drive was different now 17:04:03 that in itself shouldn't cause failure, after all that's the normal case when booting of e.g. memstick images 17:04:23 (where the image is usually much smaller than the drive) 17:08:26 hmm. maybe i should use a faster drive for this 17:15:09 is there a good way to benchmark the different encryption options zfs provides? I want this external drive used by an rpi to be encrypted, but I worry about performance, as freebsd doesn't have the aes-adiantum cipher 17:16:21 what model of rpi and what cpu? 17:16:26 rpi4 17:16:29 4gb ram 17:16:43 hrm. dmesg read the new size correctly. that's odd. maybe the problem was i just didn't know how to extend the disk right 17:16:55 cortex z72, running at 1.5G 17:17:00 *A72 17:17:38 on linux I used aes-adiandum with it, as its optimized on run on cpu-only, without aes hardware accelleration 17:17:50 *t 17:17:59 which the pi sadly lacks 17:18:13 does the cpu in fact have the armv8-a encryption instructions? 17:21:03 hm, are you sure it lacks them? 17:21:13 i'm looking into this rn 17:21:51 freebsd-13.2 at least seems to have a module for armv8crypto, which mentions AES instructions 17:21:58 if that module loads, then you should be good 17:22:34 RhodiumToad: i'm not sure but i think it's frozen at devd right after bringing up the network 17:22:38 although cpu % is still high 17:22:45 RhodiumToad: `armv8crypto0: CPU lacks AES instructions` 17:22:56 in dmesg 17:22:58 oh. well that settles that then 17:23:01 i'm on 13.2 release 17:23:55 ye, that's why linux people recommended that google adiantum cipher, they developed that for fs encryption on phone SoCs, and its fast 17:37:02 if you want to test crypto overhead, I'd try creating an md device, putting a geli partition on it, and using dd to read and write it 17:37:30 I'd rather just test it on the actual drive 17:39:42 Does GELI provides all the encryptions schemes that ZFS does? 17:41:38 I have no idea what zfs does 17:54:40 RhodiumToad: actually it does boot surprisingly 17:55:03 so you were definitely right. now i guess would be the question how to extend ufs so it takes the entire new disk size. 17:55:14 gpart list reports the new size. i added +1G to it 17:55:29 service growfs enable; touch /firstboot; shutdown -r now 17:55:34 but the partition or slice or whatever you call it is the same 17:56:31 the growfs script will try and adjust the partitioning to use the new space, and extend the filesystem 17:57:01 it only runs once, if /firstboot is present (that's removed after one boot) 17:59:08 amazing 18:01:35 did it work? 18:04:14 df says it did. 18:04:33 of course i'm not going to actually try writing a huge file because i think i probably shouldn't be using an sd card for this at all. 18:04:40 but yes... i think it worked. you're a genius! 18:05:07 * RhodiumToad just has a good technical memory 18:09:12 well reality sides with you on this one. chapter 19 of the handbook does indeed mention growfs 18:14:46 anyway thanks again 18:14:48 yw 18:42:39 o/ I cannot seem to catch a break with these network cards of mine. This 13.1 machine with a re0 device doesn't want to route any traffic despite having an active link, and if I switch over to em0 that seems to work fine until some NIC bug causes it to stop sending traffic (says things like sendto: no buffer space) 18:44:10 so, you have the bug on both cards? 18:52:47 costly: heh, hard to tell for sure. The machine has always felt haunted 18:52:57 on reboot it kernel panicked with some unrecoverable EHCI error 18:54:26 rtyler: hmm, sounds a bit more like an issue on the motherboard than on each card? 18:55:13 I cannot remember for sure, but I could have sworn I swapped this motherboard out earlier this year. Waiting for some more errors before I shut it down and take a look 19:41:48 why does it seem chromium is missing from pkg repos to me? I am on latest 19:47:06 i see chromium no longer accepts BSD patches 19:48:04 chromium build often times out 19:49:57 latest for what fbsd version? 19:50:14 13.2 19:51:29 13.x release latest build seems to be running right now, chromium build is 11.5 hours in 19:51:51 so it should be available in the next few days? 19:52:12 the build is about 20% done out of 14399 ports 19:53:06 ungoogled-chromium is availavle but brings in Pulse Audio and sndio as a dependacy... firefox does not support 'sandboxing' 19:54:55 would I be ok to mix my own build of chromium with the rest of my system using precompiled pkg's 19:59:28 sure, if you have the patience 19:59:51 that said, I looked at the failed build log, and it doesn't look like a timeout 20:00:13 unfortunately it's uninformative, it just says "FAILED" for some of the compiles, and stops 20:02:00 the containerisation built around Chromium on openbsd is a great feature 20:02:53 could I run my webbrowser is a Linux bhyve or something? 20:03:20 still learning freebsd 20:03:31 without GPU passthrough you won't get any accelerated rendering 20:04:09 I have firefox open in a bhyve vm at the moment for various reasons, it works ok other than the rendering performance 20:04:29 (I wouldn't try and play video with it for example) 20:05:16 any fix for that? 20:06:28 do you have an extra GPU available? :-) 20:07:03 I don't know the status of GPU passthrough, whether it works properly yet or not 20:08:22 power intel integrated 20:08:49 on wayland too, very unchanted territory 21:57:27 hi 21:58:33 I've started porting components from FreeBSD's source tree to Windows (Cygwin, MSVC, MinGW). 21:59:31 that does not sound like a pleasant project 22:01:12 True dat 22:01:28 I'm almost 2 down so far - https://github.com/SamuelMarks/freebsd-getopt-portable - https://github.com/SamuelMarks/freebsd-m4-portable 22:01:29 Title: GitHub - SamuelMarks/freebsd-getopt-portable: FreeBSD's `getopt` and `getopt_long` ported to MSVC 22:04:01 SamuelMarks: what's the motivation / goal? 22:05:09 meena - I'm porting random interesting C projects to Windows and some depend on m4 or getopt or ; and the FreeBSD ones are nicely licensed and pretty portable 22:09:02 I may possibly be mad 22:09:20 I just wrote an optimized IP address reader 22:13:12 RhodiumToad: SIMD? 22:13:19 yes 22:13:22 nice 22:13:38 now to find out if it's actually any faster than the obvious method 22:13:53 If it is send link I'll send PR ;) 22:28:39 well, it's not slower. 22:29:27 (I tried the binary to decimal example from the intel optimization manual once. it's slower than a decent non-SIMD approach.) 22:33:08 on the other hand it's less than 10% faster. 22:34:57 mmmm that's within the margin of error I think 22:35:33 oh also why is fetch so weird in FreeBSD, I tried porting it years ago but it failed without error 22:36:01 This attempt: https://github.com/offscale/libacquire/tree/master/acquire/freebsd_libfetch 22:36:03 Title: libacquire/acquire/freebsd_libfetch at master · offscale/libacquire · GitHub 22:38:28 hm so I've put a new NIC in this machine and configured that statically. It's not able to ping the router at all however which has me a little confused 22:38:45 ifconfig shows that it has a link 22:39:58 checked with and without pf, still am unable to ping the gateway 22:41:26 netmask and broadcast domain all look correct too >_< 22:44:18 definitely ghosts. Was doing a `service netif restart re1` and the machine panicked and rebooted, so that's no good 22:50:24 another reboot and somehow re1 is now properly connected. GHOSTS 22:52:32 rtyler: did the ghosts leave a crashdump? 22:53:54 meena: the crash file in /var/crash just says to install a kernel debugger xD but I did get a picture of the trace 22:54:09 I'm going to bump this host up to 13.2 while it's offline 23:24:39 well upgrade went fine. but I get this panic on reboot xD https://gist.github.com/rtyler/d64ccb5ecfcd832b08bec23f4723f838 23:24:41 Title: watermelon.reboot.txt · GitHub 23:25:05 when the machine comes back up, it doesn't have network until I `service netif restart re1` and `service routing restart`, which leads me to the ghosts conclusion again 23:46:39 I am pretty sure I should just go buy a different less haunted box and move my disks over