haashemi.dev
bi-directional texts are planned
🔹 Loading fonts, creating faces, getting basic text bounds, writing on image with bidi support are all done!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Using standard Go's font package, you are able to pass an image instead of a color for your text. The good news is that you can do the same thing with writer too!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Writer is a simple and easy-to-use package to write texts on images.
🔹 Its goal is to make writing any text in any language possible with least effort, without even depending on multiple packages! writer tries its best to do it all for you.
🪄 https://github.com/haashemi/writer
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Now you can use any OpenType feature you want! Most of the common features have already been added to the package!
🪄 https://github.com/haashemi/writer
Please open Telegram to view this post
VIEW IN TELEGRAM
haashemi.dev
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 TGO's API has been updated to Bot API v7.3
🪄 [TGO]
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Tinasha is an unofficial MyAnimeList client built with React Native as a hobby project to explore how one of many ways of mobile development works..
🔹 It aims to have a better UI/UX than the official client (as it's worst of all) and also be open-source and free to everyone. It's currently work-in-progress, and there's a long way until its official release, but there's also no rush/plan for that. (Contributions are welcome, btw.)
🪄 https://github.com/haashemi/Tinasha
Please open Telegram to view this post
VIEW IN TELEGRAM
Tinasha v0.2.4-74bea79.apk
29.2 MB
✅ Tinasha v0.2.4 Android build.
❤️ Installing it, exploring it, and giving all type of feedbacks are appreciated.
⚠️ Built on commit
🪄 [Tinasha]
⚠️ Built on commit
74bea79 using eas build locally, you can build it yourself too.🪄 [Tinasha]
Please open Telegram to view this post
VIEW IN TELEGRAM
haashemi.dev
🔹 TGO's API was also updated to Bot API v7.4 with the v1.4.0 update.
🔹 This update mainly focused on bug fixing, code cleaning, and starting to write tests.
🪄 [TGO]
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 TGO's API has been updated to Bot API v7.7 (after 8 minutes of its release)
🪄 [TGO]
Please open Telegram to view this post
VIEW IN TELEGRAM
haashemi.dev
((
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 I've always struggled with random panics from the vector's package, but I thought maybe I'm just using it wrong. Until someone reported an issue to my writer package for some unexpected drawings (here). At first, I was like, "Ok, it's how vector works. I can't do anything." But it stayed in my mind until I did my own research.
🔹 These issues will only happen in some specific cases, which is also a very common use case of the package!
— They will only happen when you try to draw an
image.Uniform on an image.RGBA or image.Alpha.🔹 I created a repository for this research, covering almost everything I could find out. I'd be appreciate you to give some time and read it!
🔸 https://github.com/haashemi/exp-vector-overflow
🔹 No response at the moment, but here is it anyway.
🔸 https://github.com/golang/go/issues/68335
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
DEV Community
The Myth of GraphQL
It's often said that GraphQL fixes the problems of under-fetching and over-fetching. But is that...
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Fix: Laggy cursor on Hyprland in Telegram
🔸 If you have a HiDPI screen and feel a massive lag on your cursor on Hyprland in Telegram, just update these settings and it'll be fixed:
— Disable hardware cursors:
— Enable precise High DPI scaling
➖@HaashemiDev
🔸 If you have a HiDPI screen and feel a massive lag on your cursor on Hyprland in Telegram, just update these settings and it'll be fixed:
— Disable hardware cursors:
hyprland.conf
cursor {
no_hardware_cursors = true
}
— Enable precise High DPI scaling
Telegram Settings
Settings -> Advanced -> Experimental settings -> Enable precise High DPI scaling
➖@HaashemiDev
🔹 Windows layout for Persian keyboard on Linux
🔸 If you're used to Persian (Windows layout) keyboard and want it so bad on Linux, good news is that you just need to set the
— Example: hyprland
➖@HaashemiDev
🔸 If you're used to Persian (Windows layout) keyboard and want it so bad on Linux, good news is that you just need to set the
variant to winkeys!— Example: hyprland
input {
kb_layout = us,ir
kb_variant = ,winkeys
kb_options = grp:alt_shift_toggle
}➖@HaashemiDev
👎12👍3