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: