Posts by bksp@toot.site
(DIR) Post #9sXNcQbZUyCO4fyxeq by bksp@toot.site
2020-02-29T17:53:37Z
0 likes, 0 repeats
@quad I guess you could install openstack but there probably won't be a big simplification of your set up then đ€·ââïž
(DIR) Post #9smo7IDI1bgjeUlp2G by bksp@toot.site
2020-03-08T04:33:31Z
0 likes, 0 repeats
@mayuutann>>> p = 11>>> s = '33883322005544116655'>>> len(list(filter(lambda x: x % p == 0, [int(s[i:j+i]) for i in range(0,len(s)) for j in range(1, len(s)-i+1)])))68
(DIR) Post #9smoehOvOmXzKJ8rCK by bksp@toot.site
2020-03-08T04:39:37Z
0 likes, 0 repeats
@mayuutann what part of the problem gives you trouble ?
(DIR) Post #9smorTL4za41TjQyA4 by bksp@toot.site
2020-03-08T04:41:57Z
0 likes, 0 repeats
@mayuutann oh yes I didn't check of it scales, probably not indeed. I wonder what can be done to overcome that :thinking_very_hard:
(DIR) Post #9smq8HL0xtBh8QyuPI by bksp@toot.site
2020-03-08T04:45:59Z
0 likes, 0 repeats
@mayuutann using a generator and not a list inside the filter might speed up the computation a bit, also maybe adding some cache because there might be duplicated substrings
(DIR) Post #9smsjW6TEKb1YI3xAW by bksp@toot.site
2020-03-08T05:25:18Z
0 likes, 0 repeats
@mayuutann I was actually reading it then I found this stackoverflow answer about it https://stackoverflow.com/questions/52595584/find-the-number-of-substrings-of-a-string-which-can-be-divisible-by-a-number-kIt's a bit too late here for me to really try to understand the math behind it but it's seems to be a quite interesting problem
(DIR) Post #9smtsvR6VqXygGlRS4 by bksp@toot.site
2020-03-08T05:38:12Z
0 likes, 0 repeats
@mayuutann Gambatte~ :blobstickred:
(DIR) Post #9snp10DmB6fMak74W8 by bksp@toot.site
2020-03-08T16:18:22Z
0 likes, 0 repeats
@mayuutann Sorry I could'nt answer you, I was sleeping :blobcatsleep:
(DIR) Post #9tkD5p3j49DaD1LULg by bksp@toot.site
2020-04-05T20:21:10Z
0 likes, 0 repeats
@angristan A chaque fois que tu parles de ton université en corée ça avait l'air d'etre vraiment cool, j'aurais bien aimé avoir ça, la je suis en double diplome a montréal et l'université est d'une grosse déception :"(
(DIR) Post #9uoCWa59jo51byWdAO by bksp@toot.site
2020-05-07T16:25:25Z
0 likes, 1 repeats
@quad looks like a bsd system upgrade to me
(DIR) Post #9w9bzmlQcbQ4AvFXJA by bksp@toot.site
2020-06-16T22:12:08Z
0 likes, 0 repeats
@angristan I agree, right now I am improving the metrics and monitoring of a system that process about 1.5 millions log records in 5 min
(DIR) Post #9w9cs7sgKE1RJ1YOqe by bksp@toot.site
2020-06-16T22:22:06Z
0 likes, 0 repeats
@angristan hardcore logging oof
(DIR) Post #9xcSBsVn2vQ1QFgypM by bksp@toot.site
2020-07-30T17:22:20Z
0 likes, 0 repeats
Spotify is recommending me a playlist called Life Sucks, don't really know how to take that
(DIR) Post #9zNrPyK6A4V9PAbC76 by bksp@toot.site
2020-09-21T12:42:33Z
0 likes, 0 repeats
@quad have you tried parsec?
(DIR) Post #A3Xi7Ur8whlGbSblFg by bksp@toot.site
2021-01-23T22:19:02Z
0 likes, 0 repeats
@angristan J'utilise deluge avec 2.8k torrents actifs, j'utilisais rtorrent avant mais j'ai rencontrĂ© un problĂšme que j'ai pas rĂ©ussi a rĂ©soudre donc j'ai dĂ©cidĂ© que j'avais assez bataillĂ© avec la conf de rtorrent et c'est tout de mĂȘme plus simple maintenant (mĂȘme si il y a quelques features qui me manquent)
(DIR) Post #A3XiaGJU5wrJtga4TA by bksp@toot.site
2021-01-23T22:24:15Z
0 likes, 0 repeats
@angristan j'ai pas forcĂ©ment beaucoup de torrents qui seed en mĂȘme temps (j'ai peut ĂȘtre mal interprĂ©tĂ© ton sens de actif maintenant que j'y pense), ça oscille entre 10 et 50, mais avec un upload assez bon, facilement 20+Mo/s
(DIR) Post #A3Xj7f7MtQieNpq8bw by bksp@toot.site
2021-01-23T22:30:18Z
0 likes, 0 repeats
@angristan curieusement ça va assez bien, en ayant augmenté la taille du cache mémoire je suis a 40-60% de coeur de CPU (réparti sur 8) et 2-3Go de RAM
(DIR) Post #A4cAKS8GmTnAeRtLNY by bksp@toot.site
2021-02-24T17:10:16Z
1 likes, 0 repeats
Backlogging horny chat when you wake up, the real tootsite experience as they say
(DIR) Post #A5gE2Pjp0RfSZSvno8 by bksp@toot.site
2021-03-28T20:39:40Z
0 likes, 0 repeats
@angristan I would advice to not compile in release mode if your developing (it adds more optimization and strip the debug informations)
(DIR) Post #A6ldO4Bi3R2HwMs7HM by bksp@toot.site
2021-04-30T09:09:38Z
0 likes, 0 repeats
@julienxx @bortzmeyer At this rate the future might as well be "cloud browsers", and this one is sadly real: https://www.mightyapp.com/