Posts by dima@social.3dots.lv
 (DIR) Post #AG5Xb9OMMtLiLV3amO by dima@social.3dots.lv
       2022-02-03T03:52:52Z
       
       0 likes, 0 repeats
       
       A training step on a CPU in a intel/intel-optimized-tensorflow-avx512 container takes 138 ms.It is slower than my old GPU, but it might be fast enough to get the first version of a model.
       
 (DIR) Post #AG7szm3GloEoYCh89A by dima@social.3dots.lv
       2022-02-04T02:40:51Z
       
       0 likes, 0 repeats
       
       More on my cheap GPU experience.I got a Tesla K40m. This card is meant to be used in workstations and datacenters. It doesn't have a fan. Instead, it has a massive heat sink. It's assumed that there is enough airflow to keep the thing cool.
       
 (DIR) Post #AG7szmeqW6IOQkH8iW by dima@social.3dots.lv
       2022-02-04T02:42:16Z
       
       0 likes, 0 repeats
       
       I'm using the card in an external enclosure. In theory, I could have gotten required airflow but I decided to go alternative way.
       
 (DIR) Post #AG7sznCWUtEa7C22D2 by dima@social.3dots.lv
       2022-02-04T02:43:48Z
       
       0 likes, 0 repeats
       
       Initially I used a fan that is attached on the side of the card.It did keep the card cool, but was very loud. The noise was too loud to do any work.
       
 (DIR) Post #AG7sznhicuBhfwcwpk by dima@social.3dots.lv
       2022-02-04T02:45:28Z
       
       0 likes, 0 repeats
       
       I had a broken Titan card and decided to use a fan from there. I replaced the heat sink, glued the fan. The result worked, but still was loud.To mitigate the issue, i got a fan controller. It slowed down the fan when the card was cool.
       
 (DIR) Post #AG7szo8J23SH0P4BH6 by dima@social.3dots.lv
       2022-02-04T02:49:44Z
       
       0 likes, 0 repeats
       
       It could have been a good option for a data center, but not for an office desk.My next idea was to try liquid cooling. I got a GPU mounting bracket from NZXT and Corsair fan from e-bay.The end result looks great and is quiet enough.My noise baseline is the fridge. My laptop and the GPU enclosure are quieter than the fridge.
       
 (DIR) Post #AG8NhfTvYWSTXa0gOe by dima@social.3dots.lv
       2022-02-04T13:15:19Z
       
       1 likes, 0 repeats
       
       @benis it works. Temps are reach 70°C. I would go with a bigger radiator - 140mm or even one that hosts 2 or 3 fans. My current radiator is for a 120mm fan.
       
 (DIR) Post #AGuWyTrESTqqOyn1Rw by dima@social.3dots.lv
       2022-02-27T18:49:40Z
       
       0 likes, 0 repeats
       
       @toby3d я добавил тебя. Я там briar://aclsxmk2ypcxtahst7l3k3tdbiqbbhrhmurw4onns4fn2wzyec5gy
       
 (DIR) Post #AHUltNcicJRnZZJZAG by dima@social.3dots.lv
       2022-03-17T06:26:26Z
       
       0 likes, 0 repeats
       
       @thor lol
       
 (DIR) Post #AHUlyOfIAjISFbuVqy by dima@social.3dots.lv
       2022-03-17T06:00:44Z
       
       2 likes, 0 repeats
       
       Last weekend I went skiing with a friend. We spent most of the day hitting moguls, it was a lot of fun.
       
 (DIR) Post #ALEAt4Jp7dwRGhDatM by dima@social.3dots.lv
       2022-07-06T14:14:22Z
       
       0 likes, 0 repeats
       
       Is it possible to publish the stream of liked toots as an RSS or Atom feed?
       
 (DIR) Post #AMmxi8FX2OTBsmzxpY by dima@social.3dots.lv
       2022-08-22T14:24:07Z
       
       0 likes, 0 repeats
       
       @drq мне на глаза https://zulip.com/ попался, но я не знаю насколько он плох
       
 (DIR) Post #AQ2DkqghhGTF66zP2e by dima@social.3dots.lv
       2022-11-27T16:40:49Z
       
       1 likes, 0 repeats
       
       @matrix @thor I wonder if storage box over samba would work nicely with https://garagehq.deuxfleurs.fr/This might be the cheapest storage solutions. I've looked into other hetzner storage offers, they are considerably more expensive.
       
 (DIR) Post #ATg0IbMuuU2ucTas9A by dima@social.3dots.lv
       2023-03-16T14:54:52Z
       
       0 likes, 0 repeats
       
       @mo Если первый вариант был такимfrom main import rmq_connectionТо новые значения rmq_connection не будут видны.import main....print(main.rmq_connection)Должен видеть новое значение.
       
 (DIR) Post #ATg1Qdig9XOUBLAYt6 by dima@social.3dots.lv
       2023-03-16T15:07:29Z
       
       0 likes, 0 repeats
       
       @mo интересно, но не понятно, почему он видит старое значение.Я стараюсь такие ситуации избегать или созданием объекта, который хранит состояние и передается кому надо, или избежанием присваиванияВместоdef f():    global x = 1Что-то типаx = []def f();    x.append(1)Список это просто пример мутабельной структуры.
       
 (DIR) Post #ATg1mOSLaAslDKu4Dg by dima@social.3dots.lv
       2023-03-16T15:11:17Z
       
       0 likes, 0 repeats
       
       @mo это загадка для меня. Тут надо код смотреть
       
 (DIR) Post #ATg290TCvcc9U05YCu by dima@social.3dots.lv
       2023-03-16T15:15:24Z
       
       0 likes, 0 repeats
       
       @mo ок, у меня тоже дела
       
 (DIR) Post #AVZ7aZfSICsugDgdk0 by dima@social.3dots.lv
       2023-05-12T02:57:45Z
       
       0 likes, 1 repeats
       
       @selea I'm setting up https://www.crowdsupply.com/traverse-technologies/ten64 OpenWRT comes out of the box. It's a true DIY device as they don't ship with wifi cards, but it's designed to host 2 wifi cards and a LTE/5G modem.
       
 (DIR) Post #AYiEmr5AuNDdPsdq3k by dima@social.3dots.lv
       2023-08-14T06:07:03Z
       
       0 likes, 0 repeats
       
       @selea It was very similar to the example test.kube (see the bottom of the link I shared):[Unit]Description=A kubernetes yaml based service[Kube]Yaml=deployment.ymlI've just noticed that they have at the bottom[Install]# Start by default on bootWantedBy=multi-user.target default.targetMaybe that's enough to start them on boot.
       
 (DIR) Post #AYj18moEGxYOKkEr9E by dima@social.3dots.lv
       2023-08-14T15:08:42Z
       
       0 likes, 0 repeats
       
       @selea this is new functionality, I've been playing around