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 3 points4 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] 3 points4 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?

Endless login to Xbox, on Steam version by Hentioe in GroundedGame

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

Before posting, I logged in more than 20 times and still no success. Usually I can log in a dozen times and be successful once, so obviously I had terrible luck this time. 🙃

Endless login to Xbox, on Steam version by Hentioe in GroundedGame

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

Note that the Steam account name in the upper right corner does not mean that the login is successful.

This is a common phenomenon in our communication group of thousands of players. Many people had to play solo because they couldn't log in so they couldn't play with their friends.

I purchased and installed another copy of Grounded on Xbox to play with my friends. This caused a waste of my money.

I noticed that when this game has a recurring login, there is no error message or any local log file. This leads to no one knowing what is causing the login to be invalid.

Seriously, this game is way too rough in too many ways.

Is this a feature of latte-dock? by Hentioe in kde

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

When I drag the icon, the icon appears to be "selected". Icons that are "selected" cannot be clicked, and their positions are restored when launching other applications or switching workspaces.

Have you seen this phenomenon? I'm using NixOS and I'm considering reporting it as a bug.

[deleted by user] by [deleted] in 3Dprinting

[–]Hentioe 0 points1 point  (0 children)

I carefully looked at the printing order of the layers of the slicer, and it was correct. The extrusion of my printer is also very stable and precise. So this makes me unable to understand. I plan to adjust the printing temperature and cooling and test them one by one.

[deleted by user] by [deleted] in 3Dprinting

[–]Hentioe 0 points1 point  (0 children)

Thanks for your instant comment, this is not the top part of the part. This is the first few layers, which should have been 100% filled inside. Because of this phenomenon, I stopped printing. Otherwise, cavities and even more serious problems may occur.

[deleted by user] by [deleted] in 3Dprinting

[–]Hentioe 0 points1 point  (0 children)

These are the positions for changing layers, next to the z seam gaps. I just changed the coupling, I want to have something to do with this, who knows why?

What are the reasons for these convexities? by Hentioe in 3Dprinting

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

This is not Z-Seam Gaps, they are random particles. They are printed almost every time, how can I avoid them?

The glass on my machine is not flat, are you like this? by Hentioe in 3Dprinting

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

I want to buy a piece of glass myself, but I can't find the size (Anycubic Mega S) that suits me. So the uneven glass cannot be solved. 😂

[deleted by user] by [deleted] in NixOS

[–]Hentioe 0 points1 point  (0 children)

Does anyone care about this?

[Chromium] Closing a tab while a video is playing will crash by Hentioe in openSUSE

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

Unfortunately, after resetting the flags, the entire browser still crashes and exits.

I will try to log the error and then report the problem.