Posts by bemyak@lor.sh
 (DIR) Post #AMdoHRspaUg8IOIz1U by bemyak@lor.sh
       2022-08-18T04:25:52Z
       
       0 likes, 0 repeats
       
       @drq IIRC, instead of `?` you can use `$1`, `$2` and so on.If you're tired of writing SQL strings by hand, we maintain the sqrl project at my current job:https://github.com/SharperShape/sqrlIt's a bit nicer than concatenating strings with possible typos all the time :)
       
 (DIR) Post #AMgD0wuBRE8B5XfTAu by bemyak@lor.sh
       2022-08-19T08:12:34Z
       
       0 likes, 0 repeats
       
       @drq yep, sorry, it works in Postgres, not in MySQL. Have you tried `?1` ?
       
 (DIR) Post #AMr6bWclgt5VfkdC8O by bemyak@lor.sh
       2022-08-24T14:04:28Z
       
       0 likes, 1 repeats
       
       I recall somebody posted a really nice NextCloud hosting some time ago, but I can't find the link πŸ€”Any hints please, fedibrain?@rf #askfedi
       
 (DIR) Post #AP1ZRJikePUnwaIYiW by bemyak@lor.sh
       2022-10-28T11:17:02Z
       
       0 likes, 0 repeats
       
       @drq Is this a @Fairphone  ad? πŸ˜„Great device, btw. Checks all the boxes:- repairability- honest labour- renewable materials- amazing software support
       
 (DIR) Post #APPC4H53vmPUwCmZMW by bemyak@lor.sh
       2022-11-08T16:57:11Z
       
       0 likes, 1 repeats
       
       I convinced my spouse to join Mastodon! She's an artist and mainly posts on Instagram. Could anyone send me a mastodon.art invite? πŸ™
       
 (DIR) Post #APVMDcaTcjw4Fynh8C by bemyak@lor.sh
       2022-11-11T17:49:24Z
       
       0 likes, 1 repeats
       
       TIL: IP address is a legit part of email address!You can (theoretically) send a message e.g. to user@1.1.1.1 (and maybe even @1.1?)Imagine also IPv6 was a real thing and we could send messages directly to any device. P2P email... I wonder if that could work out :blobcatthinkOwO:For boring details, see https://www.serviceobjects.com/blog/ip-address-vs-domain-in-an-email-address/
       
 (DIR) Post #APVZroaTj57ySgIUxk by bemyak@lor.sh
       2022-11-11T22:43:06Z
       
       0 likes, 0 repeats
       
       @L29Ah Sorry, what I meat is that you can't assume that a random person will have it. Many providers simply refuse to deal with it, unfortunately.How did you get yours? Was it given by default or did you request it specifically?
       
 (DIR) Post #APfWUjdLcZJ09iXePw by bemyak@lor.sh
       2022-11-16T17:15:42Z
       
       0 likes, 0 repeats
       
       One thing that annoys me in Russian language is how people tend to call an underscore (_). 10/10 people will name it literally as "lower underline" <Π½ΠΈΠΆΠ½Π΅Π΅ ΠΏΠΎΠ΄Ρ‡Ρ‘Ρ€ΠΊΠΈΠ²Π°Π½ΠΈΠ΅>.It make NO sense! What is being underlined? Empty space? How do you imagine an upper UNDERline?C'mon it's an underscore! <ниТняя Ρ‡Π΅Ρ€Ρ‚Π°>
       
 (DIR) Post #AR2NU3LaQCgemNG0XI by bemyak@lor.sh
       2022-12-27T16:21:47Z
       
       0 likes, 0 repeats
       
       @drq AFAIK, большая Ρ‡Π°ΡΡ‚ΡŒ Ρ„ΠΈΡ‡Π΅ΠΉ ΠΊΠ°ΠΌΠ΅Ρ€Ρ‹ ΠΆΠΈΠ²Ρ‘Ρ‚ Π² HAL (hardware abstraction layer), ΠΊΠΎΡ‚ΠΎΡ€ΡƒΡŽ ΠΏΡ€ΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»ΠΈ ΠΎΡ‚ΠΊΡ€Ρ‹Π²Π°ΡŽΡ‚ ΠΈΠ·-Π·Π° GPL. Π‘Π°ΠΌΠΎ ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΠΊΠ°ΠΌΠ΅Ρ€Ρ‹ ΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ΡΡ стандартным API, ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠ΅ этот HAL ΠΈ Ρ€Π΅Π°Π»ΠΈΠ·ΡƒΠ΅Ρ‚.ΠšΠΎΡ€ΠΎΡ‡Π΅, ΠΏΠΎ ΠΈΠ΄Π΅Π΅, ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌ Π±Ρ‹Ρ‚ΡŒ Π½Π΅ Π΄ΠΎΠ»ΠΆΠ½ΠΎ, Π½ΠΎ я Ρ‚ΡƒΡ‚ ΠΌΠΈΠΌΠΎ ΠΊΡ€ΠΎΠΊΠΎΠ΄ΠΈΠ», особо Π½Π΅ Π² курсС Π΄Π΅Ρ‚Π°Π»Π΅ΠΉ.
       
 (DIR) Post #ARMbYrKFpWzbp8RYh6 by bemyak@lor.sh
       2023-01-06T10:33:59Z
       
       0 likes, 0 repeats
       
       Написал пост с ΠΈΡ‚ΠΎΠ³Π°ΠΌΠΈ ΠΏΡ€ΠΎΡˆΠ»ΠΎΠ³ΠΎ Π³ΠΎΠ΄Π° (хотя это скорСС просто пСрСчислСниС ΠΌΠΎΠΈΡ… ΠΏΡ€ΠΎΠ΅ΠΊΡ‚ΠΎΠ²):https://bemyak.ml/ru/2022/
       
 (DIR) Post #ARsAt9uiTheGXEux8a by bemyak@lor.sh
       2023-01-21T16:05:50Z
       
       0 likes, 0 repeats
       
       @drq ΡˆΡƒΡ‚ΠΊΠΈ Π·Π° 300: "Π― собрал 10 ΠΏΠ°Ρ‡Π΅ΠΊ Π΄Ρƒ-Π½ΠΎΡ‚-ΠΈΡ‚Π°, подскаТитС, ΠΊΠ°ΠΊ ΠΈΡ… Π³ΠΎΡ‚ΠΎΠ²ΠΈΡ‚ΡŒ?"
       
 (DIR) Post #AWDqjHSv0cbUED6NRw by bemyak@lor.sh
       2023-05-31T18:23:32Z
       
       0 likes, 0 repeats
       
       I'm trying to wrap my head around Nix and NixOS. I've read the pills and some random docs, so I have a basic understanding of the language (at least I think so)Now I need more advanced guides on how to organize my configuration in a concise way. Most of the guides that I found are using the "old Nix": without flakes and fancy 3rd party imports.Are there any up-to-date practical yet elegant guides on configuring NixOS with home-manager?Boosts are appreciated πŸ™
       
 (DIR) Post #AXceDdzzh8jPSRwH2W by bemyak@lor.sh
       2023-07-12T15:31:47Z
       
       0 likes, 0 repeats
       
       @skobkin ΠΊΠ°ΠΊ ΠΆΠ΅ ΠΌΠ½Π΅ нравится ваша ΠΏΠΎΠ»ΠΈΡ‚ΠΈΠΊΠ° ΠΌΠΎΠ΄Π΅Ρ€Π°Ρ†ΠΈΠΈ! :ablobcatheart: На самом Ρ„Π°ΡˆΠΈΡΡ‚ΡΠΊΠΎΠΌ инстансС ΠΌΠΎΠΆΠ΅Ρ‚ Π±Ρ‹Ρ‚ΡŒ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒ, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ с этими самыми Ρ„Π°ΡˆΠΈΡΡ‚Π°ΠΌΠΈ борСтся (спорит с Π½ΠΈΠΌΠΈ ΠΈΠ»ΠΈ ΡƒΠ±Π΅ΠΆΠ΄Π°Π΅Ρ‚), ΠΈ ΠΌΠ½Π΅ ΠΌΠΎΠΆΠ΅Ρ‚ Π±Ρ‹Ρ‚ΡŒ интСрСсно Π½Π° Π½Π΅Π³ΠΎ ΠΏΠΎΠ΄ΠΏΠΈΡΠ°Ρ‚ΡŒΡΡ. Π― Π½Π΅ понимаю, ΠΏΠΎΡ‡Π΅ΠΌΡƒ ΠΌΠ½ΠΎΠ³ΠΈΠ΅ сСрвСра это Π·Π°ΠΏΡ€Π΅Ρ‰Π°ΡŽΡ‚.
       
 (DIR) Post #AY51XMCWNtE0UELkWG by bemyak@lor.sh
       2023-07-26T08:04:58Z
       
       0 likes, 0 repeats
       
       @causa_arcana К ΠΏΠΎΠ»Π΅Π·Π½Ρ‹ΠΌ ссылочкам Π² ΠΊΠΎΠ½Ρ†Π΅ ΠΌΠΎΠΆΠ½ΠΎ Π΄ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ freenom - это бСсплатныС Π΄ΠΎΠΌΠ΅Π½Ρ‹ Π²Ρ‚ΠΎΡ€ΠΎΠ³ΠΎ уровня. НСсмотря Π½Π° Ρ‚ΠΎ, Ρ‡Ρ‚ΠΎ поисковики ΠΈΡ… ΠΏΠΎΡ‡Ρ‚ΠΈ Π½Π΅ ΠΈΠ½Π΄Π΅ΠΊΡΠΈΡ€ΡƒΡŽΡ‚, это Ρ…ΠΎΡ€ΠΎΡˆΠΈΠΉ старт.Π•Ρ‰Ρ‘ ΠΏΠΎ Ρ‚Π΅ΠΌΠ΅ Ρ€Π΅Π»Π΅Π²Π°Π½Ρ‚Ρ‹ Π³Π΅Π½Π΅Ρ€Π°Ρ‚ΠΎΡ€Ρ‹ статичСских Π²Π΅Π±-сайтов, ΠΎΠ½ΠΈ ΠΏΠΎΠ·Π²ΠΎΠ»ΡΡŽΡ‚ ΠΎΡ‚Π΄Π΅Π»ΠΈΡ‚ΡŒ прСдставлСниС сайта (HTML, CSS) ΠΎΡ‚ Π΅Π³ΠΎ содСрТания (Markdown), ΠΏΠΈΡΠ°Ρ‚ΡŒ становится быстрСС ΠΈ приятнСй. ΠžΡ‡Π΅Π½ΡŒ Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡƒΡŽ Zola (https://getzola.org)
       
 (DIR) Post #AY53W9T4RKySc9dxlQ by bemyak@lor.sh
       2023-07-26T08:27:07Z
       
       0 likes, 0 repeats
       
       @causa_arcana Freenom - это ΠΏΠΎΠ»Π½ΠΎΡ†Π΅Π½Π½Ρ‹ΠΉ рСгистратор (Π² Π·ΠΎΠ½Π°Ρ… ml, tk ΠΈ Π΅Ρ‰Ρ‘ Π½Π΅ΡΠΊΠΎΠ»ΡŒΠΊΠΈΡ…), поэтому Π΄ΠΎΠΌΠ΅Π½ "Ρ‚Π²ΠΎΠΉ", просто Ρ‚Ρ‹ Π΅Π³ΠΎ ΠΏΠΎΠΊΡƒΠΏΠ°Π΅ΡˆΡŒ Π½Π° Π³ΠΎΠ΄ Π·Π° $0. Если Π½Π΅ хочСтся ΠΏΡ€ΠΎΠ΄Π»Π΅Π²Π°Ρ‚ΡŒ ΠΊΠ°ΠΆΠ΄Ρ‹ΠΉ Π³ΠΎΠ΄ - ΠΌΠΎΠΆΠ½ΠΎ Π·Π°ΠΏΠ»Π°Ρ‚ΠΈΡ‚ΡŒ, ΠΊΠ°ΠΊ Ρƒ ΠΎΡΡ‚Π°Π»ΡŒΠ½Ρ‹Ρ… рСгистраторов.
       
 (DIR) Post #AYUxqlcQwIj1M0zy40 by bemyak@lor.sh
       2023-08-07T20:16:10Z
       
       0 likes, 2 repeats
       
       I'm updating my project from Godot3.4 to Godot4.1, and it... sucks :(1. TileMaps were reworked, so the upgrade tool just deleted the whole thing. I had to recreate all TileSets manually and then draw all the maps from scratch.2. Parallax works somehow differently, so the initial sprite placement was completely off, had to adjust everything manually.3. In total, I've spent ~8 hours fixing all the quirks in a project with only one level just to make it work locally as it was before.4 ... and then I launched it on my phone, and it instantly crashed. Spent 3 more hours to find the cause: `uniform` usage in shaders. I changed it to `const` instead. Less flexible, but whatever.5. ... and then I tried HTML5 export. Turns out, it now requires SharedArrayBuffer feature, and the webserver needs to set some headers. So it's no longer possible to host on Github/Gitlab Pages.6. I've tried switching to Cloudflare (which supports it), but it has a filesize limit of 25Mb. The only file that is bigger is the engine itself, and after some digging around, it turns out that Godot always bundles:* JS runtime* 2D/3D runtime* 3D Physics* OpenGL AND Vulkan backends* Virtual Reality runtime (XR)7. To get rid of the features I'm not using, I'm now recompiling "export templates" from the engine sources...It's amazing how quickly software rots :blobcat_thisisfine:
       
 (DIR) Post #AbPO7LDYWjrPXnBpvE by bemyak@lor.sh
       2023-09-15T10:21:12Z
       
       0 likes, 0 repeats
       
       If we remove gender markings, in Barbie Land there are 2 classes: oppressors and oppressed. Through the course of the movie, the oppressed peacefully overthrow the government, but then oppressors infiltrate their ranks, provoke internal conflicts, and using a moment of weakness take the majority in the Parliament and pass a law that enforces the status quo.Now, the oppressed ones are back to square one and are told to achieve what their had for a brief moment by NORMAL means (while the power is still in the oppressors' hands).All of this is told like a happy-ending story. Guess the big corporations *really* don't get the point 🀦#barbie
       
 (DIR) Post #AcbMRGsah4FnuEUSOG by bemyak@lor.sh
       2023-12-08T13:58:20Z
       
       0 likes, 0 repeats
       
       @skobkin Π£ Π½ΠΈΡ… Π΅Ρ‰Ρ‘ ΠΈ TOTP backend ΡƒΠΏΠ°Π» πŸ™ˆ
       
 (DIR) Post #AdSq9xJ0uPzos4qGK8 by bemyak@lor.sh
       2024-01-03T09:11:03Z
       
       0 likes, 0 repeats
       
       @skobkin @huravarman Official lorsh bookwork instance confirmed? :ablobcatheartsqueeze:
       
 (DIR) Post #AdfvOwAPfTSkmyGEGe by bemyak@lor.sh
       2024-01-09T16:41:02Z
       
       0 likes, 0 repeats
       
       @MrClon ΠžΡ‡Π΅Π½ΡŒ Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡƒΡŽ ΠΏΠΎΠΏΡ€ΠΎΠ±ΠΎΠ²Π°Ρ‚ΡŒ :)Оно ΠΎΠ΄Π½ΠΈΠΌ элСгантным ΠΌΠ°Ρ…ΠΎΠΌ замСняСт jq, yq, xargs, cut awk, sed, head, tail, curl, wget ΠΈ Π΅Ρ‰Ρ‘ ΠΌΠΈΠ»Π»ΠΈΠΎΠ½ ΡƒΡ‚ΠΈΠ»ΠΈΡ‚, Ρƒ ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Ρ… Π½Π΅Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ Π·Π°ΠΏΠΎΠΌΠ½ΠΈΡ‚ΡŒ синтаксис :ablobcatcoffee: