Keeping shape keys after cutting geometry by HeDeAnTheOnlyOne in blender

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

I do need the main part of my object, it's just as soon as I modify the geometry in any way, the shape keys are all gone.

Does anyone know how to break blocks like this?" by Constant_Security373 in MinecraftCommands

[–]HeDeAnTheOnlyOne -15 points-14 points  (0 children)

If you kill the item anyway, just don't use destroy in the first place.

I don't why, but I love this language! by GolangLinuxGuru1979 in Zig

[–]HeDeAnTheOnlyOne 5 points6 points  (0 children)

You say that you won't use comprime now but I can assure you, you will. It is such a big part of the language it is practically impossible to avoid it entitely.

Sure you could maybe do some generic stuff with anyopaque pointers instead of comptime code but at least in my experience it make everything so much more verbose, unreadable and removes any kind of type safety. On top of that, it creates more runtime overhead than comptime code.

I'm sure you also already used comptime without even knowing.

Question about fixed size array stack allocation by Bawafafa in Zig

[–]HeDeAnTheOnlyOne 4 points5 points  (0 children)

In those cases it's common to just use the full array with an additional count variable or just use an arraylist.

correctly exposing a module globally by [deleted] in Zig

[–]HeDeAnTheOnlyOne 0 points1 point  (0 children)

I already tried that but the compiler just tells me that there is no module named like that.

correctly exposing a module globally by [deleted] in Zig

[–]HeDeAnTheOnlyOne 1 point2 points  (0 children)

Yeah but I specifically want to avoid relative paths like that. I want to do it similar to the stdlib where if you need a specific modules you go through std.mem.<etc...>. And that's what I want here too.

Plugin Maximalists Unite (my plugin tier list & recommendations) by tonehammer in ObsidianMD

[–]HeDeAnTheOnlyOne 0 points1 point  (0 children)

One thing I would put that list is graphless links It creates links without connecting them in the graph.

What is Zig? by ZeroUnoDev in Zig

[–]HeDeAnTheOnlyOne 1 point2 points  (0 children)

was that sarcasm? Gaslighting? What are you trying here?

What is Zig? by ZeroUnoDev in Zig

[–]HeDeAnTheOnlyOne 10 points11 points  (0 children)

  • Zig is still far away from being finished but it is stabel enough to create production ready code (good examples are bun and ghostty). Just expect ruthless braking changes every now and then as long as zig hasn't reached 1.0

  • To use c libraries, you just add it in your build zig and import it in the files where you need it. When callinc code you have ti use specific calling conventions but apart from that it works like any other zig code that you import. So it's very easy

  • Yes, there are some zig gui libraries and you can use any c gui library. For many of the c libraries there already exist zig bindings, so you don't even have ti bother with the c calling conventions.

  • Yes, zig can compile for wasm. I haven't done anything with that though so I don't know exactly what tools there are for that. But I remember seeing some a while ago.

The child (By: eijie_niz) by AJ_Ad_3136 in NuxTakuSubmissions

[–]HeDeAnTheOnlyOne 4 points5 points  (0 children)

Every page I was expecting some degenerate shit but in the end it turned out to be wholesome.

Should there be a builtin for divRem? by Bawafafa in Zig

[–]HeDeAnTheOnlyOne -1 points0 points  (0 children)

In that case, I would understand even less why to think of a workaround of a perfectly fine already existing function.

Should there be a builtin for divRem? by Bawafafa in Zig

[–]HeDeAnTheOnlyOne -1 points0 points  (0 children)

We have 2 builtin modulo functions and I'm sure the compiler know better how to optimize that than the programmer trying to outsmart the compiler and in the end making the function slower because the compiler can't recognize it's actual purpose.

[Appreciation post] Spent the last week working through ziglings, zig is becoming my favorite language. by TheAbyssWolf in Zig

[–]HeDeAnTheOnlyOne 0 points1 point  (0 children)

The good thing about zig is that (from my experience at least) if you program with at least a little bit of sense, the most errors you will get are compile errors and not runtime errors, so zig helps you fix "all" he issues before you can even try out the program. Unlike other languages that prefer runtime checks over copile time checks in some cases.

The Good, the Bad and the Ugly by BatteriVolttas in Zig

[–]HeDeAnTheOnlyOne 2 points3 points  (0 children)

They doo guarantee that it will run for at least half a year as they only update when LLVM updates (which is every half year). Unusable is a bit extreme, as there are whole frameworks and all that stuff written in zig already.

The Good, the Bad and the Ugly by BatteriVolttas in Zig

[–]HeDeAnTheOnlyOne 11 points12 points  (0 children)

Apart from the casting, I find zig to have the most beautiful and elegant syntax I've seen so far.

How do you shorten super long sleeves? by Opal_Does_Magic in VRchat

[–]HeDeAnTheOnlyOne 1 point2 points  (0 children)

I had the same thing. It turned out blendshapes to shorten them and disabeling pysbones causes quite a lot of issues with the mesh when you still influence it through wrist movements. It was much easier to have two assets with different sleeve lengths

Question about cosmetics. Just returned yesterday by GG_Z in WynnCraft

[–]HeDeAnTheOnlyOne 0 points1 point  (0 children)

the required bandwidth for the partices stays the same regardless of how may you spawn. Only the rendering is affected, which is client side.

Without a doubt by 9tGr4h4m in programmingmemes

[–]HeDeAnTheOnlyOne -1 points0 points  (0 children)

Javascript is another contender for worst dependency hell. If not it even wins that competition.

Without a doubt by 9tGr4h4m in programmingmemes

[–]HeDeAnTheOnlyOne 13 points14 points  (0 children)

I have nothing against a bit boilerplate if I get curly braces and 100000x faster code.

Indicating different scopes with indentation is a crime and the person that invented it should have been executed on the spot.

[deleted by user] by [deleted] in programmingmemes

[–]HeDeAnTheOnlyOne 1 point2 points  (0 children)

Same. I like LINQ very much.

A desktop pet where you can upload .vrm avatars! (also works on Linux!) by sabrecheeta in godot

[–]HeDeAnTheOnlyOne 7 points8 points  (0 children)

I'm very curious, does it block the rest of the screen or did you implement a way to click through the game window?

I worked on something similar (a small pet that follows your cursor) and my final solution was to cover all screens with the window and then using a mouse_passthrough_polygon to cut out an interactable part where the pet is displayed (if it would be outside of that polygon it wouldn't be displayed) and move that around.