Adam ♿

Adam ♿'s avatar
Adam ♿
npub1lgde...63y5
nostr:npub1lgde6qaf62rqpfhrmpg492rlz0c2qvt35fan5j0n78yf4qnc8yjq7463y5 mostly everywhere. Site: https://pileofhacks.dev Pronouns: He/Him Coffee: Yes Tea: Sometimes
You may be able to build GNU findutils on Windows with VS2022/2026, ucrt/Windows SDK and bash from the Git distribution. ...however, bash ./configure takes minutes and minutes to run... on a Threadripper. Comment out the following: # if test -z "$ac_list_mounted_fs"; then # as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5 # # FIXME -- no need to abort building the whole package # # Can't build mountlist.c or anything that needs its functions # fi If someone wants to submit a patch for that FIXME - there's checks below this to exclude mountlist.c (AFAICT)
Coded an idea I've had for some time, not original but I haven't coded C# for years. Feels very comfortable. Don't use this, it hammers the shit out of servers as C# wants to use 4096 byte reads and I haven't worked out how to make it do anything better. Is anyone reading this a C# expert? The only thing I can think of is keeping a bitmap (?) of retrieved segments and blocking on Read() until everything is downloaded - set my segment size to some fraction of the total filesize for faster downloads. I think the underlying mapped file can be used from multiple threads too...