Conversation
Notices
-
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Sunday, 19-Jan-2025 10:25:41 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
struggling with doing basic mathematics to determine the number of threads to create based on a number provided by the user -
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Sunday, 19-Jan-2025 10:27:29 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
like
int q = 2;
for (int i = 0; i < q; i += q/2) spawn();
would not be sufficient if the number is not even, i don't think, i want to take care of the remainder as well. -
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Sunday, 19-Jan-2025 10:28:28 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
i could have an if that does a modulo and adds number and remainder together to take care of the last thing, i guess -
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Sunday, 19-Jan-2025 10:28:51 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
i need to provide a beginning offset and an end offset to a function btw -
þernia (pernia@cum.salon)'s status on Sunday, 19-Jan-2025 10:31:56 JST þernia
@nyanide for loop that spawns a billion threads and opens a billion fd's and exhausts all the sockets on every port -
hazlin no plap pirate (hazlin@shortstacksran.ch)'s status on Sunday, 19-Jan-2025 11:22:02 JST hazlin no plap pirate
@nyanide my extra silly solution :D -
MercurialBlack (merc@lab.nyanide.com)'s status on Sunday, 19-Jan-2025 11:31:50 JST MercurialBlack
@nyanide mathematics is up to the user if they enter n make n threads -
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Sunday, 19-Jan-2025 11:33:16 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
@Merc would not end well i would imagine -
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Monday, 20-Jan-2025 02:21:57 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face:
@hazlin i just woke up I'm gonna do a few things then look into this a bit more -
hazlin no plap pirate (hazlin@shortstacksran.ch)'s status on Monday, 20-Jan-2025 02:21:58 JST hazlin no plap pirate
@nyanide You still working on this thing, or have you figured it out? -
hazlin no plap pirate (hazlin@shortstacksran.ch)'s status on Monday, 20-Jan-2025 02:35:33 JST hazlin no plap pirate
@nyanide Roger roger, also, DM me the code if you don't mind. I'd like to take a look at, what you are actually trying to do xD
-