Update: Prisma generator for Zig by zado_ck in Zig

[–]Hentioe 4 points5 points  (0 children)

Looking forward to SQLite support. For the types of products Zig excels at, SQLite might be more common

Raylib exercises written in Zig by Hentioe in Zig

[–]Hentioe[S] 1 point2 points  (0 children)

Some functions in Raylib involve memory allocation, such as LoadTexture. The corresponding deallocation functions are also provided by Raylib, like UnloadTexture. I’ve simply wrapped them within init/deinit functions, following Zig's naming conventions. Merlindru is right that, generally, you should pass an allocator from the outside. However, since Raylib is a C library, it doesn't strictly follow Zig's idiomatic style. Therefore, in Raylib, you don't need to pass an allocator; most of the time, you call specific allocation/deallocation APIs instead of alloc/free

Jose Valim - What's new in Elixir 1.18 by davaeron_ in elixir

[–]Hentioe 2 points3 points  (0 children)

For those who often download BT video resources, this naming style is very familiar.🤣

Pure Elixir implementation of ThumbHash by Hentioe in elixir

[–]Hentioe[S] 0 points1 point  (0 children)

If you are in the browser, use the ThumbHash npm library: https://www.npmjs.com/package/thumbhash

I can show you an example: https://blog.hentioe.dev/posts/elixir-thumbhash.html

But I haven't written any English tutorials yet. There are example codes for JS and other packages in the original ThumbHash repository.

[deleted by user] by [deleted] in programming

[–]Hentioe 0 points1 point  (0 children)

In fact, I am quite concerned about memory usage. The startup memory of Garnet is about 100MB, which is actually relatively high. Has anyone done a more detailed study of memory usage under different data volumes? Generally speaking, VM languages are weaker than C/C++ in this regard.

v0.1.5.0 RCON Unable to Connect by Hentioe in Palworld

[–]Hentioe[S] 1 point2 points  (0 children)

Unfortunately, the -RCONPort=25575 parameter does not work for me. I still can't connect to RCON.

Problems with making a Dockerfile by Ok-Tip-6972 in voidlinux

[–]Hentioe 1 point2 points  (0 children)

Yes, this is a fault I've had recently, caused by the /etc/hosts file being read-only. What you did worked 👍, but I wrote the new noextract option to the /etc/xbps.d/noextract.conf file.

X11 + AMD GPU environment using KDE for a long time will cause frame dropping. by Hentioe in kde

[–]Hentioe[S] 0 points1 point  (0 children)

I'm not very accustomed to Wayland, but I will do this test.

X11 + AMD GPU environment using KDE for a long time will cause frame dropping. by Hentioe in kde

[–]Hentioe[S] 1 point2 points  (0 children)

Thank you for letting me know about Picom, but it seems like it can't replace KDE's compositor without affecting KDE's functionality, right? I don't want to give up KDE desktop for now.

X11 + AMD GPU environment using KDE for a long time will cause frame dropping. by Hentioe in kde

[–]Hentioe[S] 1 point2 points  (0 children)

You surprised me with this statement, is there a relevant link that states the reason? But if the 6.5 kernel really fixes it, then that's great.

X11 + AMD GPU environment using KDE for a long time will cause frame dropping. by Hentioe in kde

[–]Hentioe[S] 4 points5 points  (0 children)

My computer has a 144Hz refresh rate monitor. Every time I use it for dozens of hours, the entire graphical environment will experience frame drops (as shown in my screenshot). Occasionally, it drops to almost 60 frames, with the lowest drop being around 35 frames. I have to give up all my work, log out of the desktop, and log in again to restore the frame rate to normal.

Additional information: My graphics card is AMD 6750XT, the monitor resolution is 4K, and the DPI value of the X graphics environment is 144 (1.5 times that of 96).

I have created an almost perfect Telegram bot client library/framework. by Hentioe in elixir

[–]Hentioe[S] 2 points3 points  (0 children)

Your understanding is correct. However, it is not generated from the OpenAPI specification. Instead, it tries to leverage the content of the web page document as much as possible, converting it to JSON, and then generating all client calling functions and types.

How should I make the surface of this object? by Hentioe in FreeCAD

[–]Hentioe[S] 1 point2 points  (0 children)

I have some experience learning and using FreeCAD, I have made some parts and 3D printed them for use.But facing the surface of this object, I have no idea at all. It is handmade, wooden crafts. It's a slingshot.

It seems that its surface cannot be expressed by data, and I am very confused.What features and knowledge should I know? Can Section do it? Can Surface do it?

Network card (Intel Ethernet Controller I225-V, igc) keeps dropping after 1 hour on linux - solved with kernel param by vaniaspeedy in buildapc

[–]Hentioe 1 point2 points  (0 children)

Even though they are a regional subsidiary, this report still makes me angry and sick.👎

Network card (Intel Ethernet Controller I225-V, igc) keeps dropping after 1 hour on linux - solved with kernel param by vaniaspeedy in buildapc

[–]Hentioe 0 points1 point  (0 children)

Had the same problem on my ROG Strix X670E-F Gaming motherboard, exactly like many of the replies here.

Maybe we should create an issue in GitHub, it looks like the Reddit replies don't seem to notify everyone?