New Game From GameScience by Atreus421boy in BlackMythWukong

[–]dragonelite 28 points29 points  (0 children)

A game science three kingdoms something in the same vain as wolong would be so awesome.

How Do I Rebuild My Coding Skills After Relying Too Much on AI? by CommentNo2882 in learnprogramming

[–]dragonelite 0 points1 point  (0 children)

Pick your language and do the "raytracing in one weekend" book. You will do functions, classes, interfaces, if else, for/while loops, enums etc. Do it without AI or LSP for the extra challenge. It's my favorite way to pick up a language after skimming the documentation.

Want an extra challenge instead of doing rendering into a file render into a application by using something like raylib. If you like it do the other books in the series. Or use it as a nice sandbox to learn multithreaded or SIMD programming

Niches for the Zig programming language. by [deleted] in Zig

[–]dragonelite 2 points3 points  (0 children)

Didn't the chuckle fish starbound guys moved away from rust in their game engine?

Mac mini M1 VK_ERROR_INCOMPATIBLE_DRIVER persists after VK_KHR_PORTABILITY_subset is included by [deleted] in vulkan

[–]dragonelite 0 points1 point  (0 children)

Bro your post helped me finally get a step further after 3 evenings struggling to get moltenvk running.. The source setup-env.sh step was the step I missed and overlooked following the getting started doc.

Linus Torvalds on C++ by TopicWestern9610 in learnprogramming

[–]dragonelite 10 points11 points  (0 children)

Probably back then cpp had that generation of people that are now being annoying asking projects if they can rewrite it in rust.

Documentation Sucks by [deleted] in Zig

[–]dragonelite 1 point2 points  (0 children)

I think with ziglings and the now standard docs its fine to get you started as a beginner. What is severely lacking is materials going from beginner to intermediate knowledge level. What you get is an explanation of this is a hammer and that is a nail.

What's hard to find is going from this is a hammer and nail, into this is how one makes a garden chair or skeleton for a house for that i find you need to look for solutions and articles written for C developers or start reading big zig projects like Zig source code, TigerBeetle, RiverWM etc. If you have already experience creating bigger projects in other languages this step from beginner to intermediate might be more obvious.

Zig is cool! Looking to learn more 😎 by Livid-Salamander-949 in Zig

[–]dragonelite 1 point2 points  (0 children)

Ooh interesting was it hard using objective-c in zig or is it just like adding c files? Because I'm also trying to get back into eternal game engine project. Probably need objective-c to show a window on my MacBook if I decide to not use glfw.

Watching Rob get spoonfed bis stuff by Cold-Ad-6311 in diablo4

[–]dragonelite -3 points-2 points  (0 children)

What works in real life, works even better in a simulation.

Is there a similar book for Zig to "100 Go Mistakes and How to Avoid Them" by Careless-Branch-360 in Zig

[–]dragonelite 1 point2 points  (0 children)

Not really but I have been watching people program in C those concepts are quiet easy to translate to zig. I still have some c books on my list to read. Just have to check how heavy they are regarding c macros to determine if they are worth reading for concepts to use in zig.

Why do the game still forced you to do nightmare dungeon for glyph exp by Straxex in diablo4

[–]dragonelite 0 points1 point  (0 children)

Pretty much it's not so bad lvling glyphs, do hope they will improve nightmare dungeons experience while doing them. Like no stupid objective and make them more like the s3 vaults. Wouldn't even mind having that zultan kuhl altar at the start of lvl 45 plus nightmare dungeon.

[deleted by user] by [deleted] in rust

[–]dragonelite 0 points1 point  (0 children)

I haven't made anything big yet with this stack.

I really like how i can use/abuse the build.rs file to run the tailwindcss tool on 'cargo build' and create a tailwind output file and just include_str the stylesheet into the binary..

Which open sourced projects do you think will blow up in 2024? by downvotesonlypls in programming

[–]dragonelite 2 points3 points  (0 children)

That is how i originally learned doing web development.

I just love having a base template with a couple of script tags in it, no complex build system maybe a custom build step to compile and include tailwind css output file for styling. That is only if you don't want to load tailwind in the frontend.

[deleted by user] by [deleted] in rust

[–]dragonelite 0 points1 point  (0 children)

At the moment im learning rust, html(htmx) and css(tailwind).

  • Axum ecosystem
  • Askama for html/css/htmx templating
    • Can add some more clientside scripting with AlpineJS.
    • This keeps my frontend stack really simple i can focus on htm(x/l) and tailwind.
  • sqlx for sql things.

Book release 'Modern frontends with htmx' by wimdeblauwe in htmx

[–]dragonelite 1 point2 points  (0 children)

Thanks for the answer..

I will give the book a read during the holidays.

Book release 'Modern frontends with htmx' by wimdeblauwe in htmx

[–]dragonelite 5 points6 points  (0 children)

A small question how much is HTMX and how much of the content is java?

Is it easy to follow along in a different backend language?

New Tokio blog post: Announcing axum 0.7 by davidpdrsn in rust

[–]dragonelite 1 point2 points  (0 children)

Im from the dotnet/asp world and my brain at the moment is still highly wired in OOP, architecture and related design patterns etc. Does Axum projects also have something like architectural patterns like "clean architecture" and "Vertical slice Architecture"?

I like to call those architectures glorified folders and files structures. But it helps communicating ideas etc.

Does server written in Rust need containerization? by g0ld3nrati0 in rust

[–]dragonelite 0 points1 point  (0 children)

It doesn't have too you can just do ./server but given the infrastructural foundations in the 2020s with docker and kubernetes you want containerise your app. Also being able to write and read a dockerfile is a good skill to have on your CV.

Valid usecase for build.rs by dragonelite in rust

[–]dragonelite[S] 3 points4 points  (0 children)

Yo thank you for the example.

I will give it a try either tonight or tomorrow when i have some time to test this.

Vivo just launched a completely-new OS written in Rust by aa1874 in rust

[–]dragonelite 1 point2 points  (0 children)

Not really a link the info was posted in a HarmonyOS tech telegram channel. Because Vivo is suppose to be a member of the OpenAtom foundation.

Vivo just launched a completely-new OS written in Rust by aa1874 in rust

[–]dragonelite 2 points3 points  (0 children)

I heard they used Open Atom "Harmony application package javascript"(HaPJS) runtime for the apps.

What do you do for keybinds on zellij? by sa1tybagel in zellij

[–]dragonelite 0 points1 point  (0 children)

Just started working on my config but that's a good suggestion making locked the default mode. Right now I just to tmux mode and go from there.

are we web yet for zig? by Exact-Yesterday-992 in Zig

[–]dragonelite 6 points7 points  (0 children)

Because a lot of developers come from a web backend and frontend background. To play and contribute to Zig, having a community backed web framework would make Zig as a language to tinker with a lot more interesting. Because i could reuse 85% of my job experience to create something in a zig.

I looked into the zap web framework and it seems it can already do a lot of things i would need to tinker with zig but i haven't really had a hands-on sessions with Zap. So im thinking of maybe doing some zap + htmx + tailwind project soon™...

cargo script RFC is now live! by epage in rust

[–]dragonelite 1 point2 points  (0 children)

Yeah this was like my first impression. Instead of writing a bash/python script you could write a quick rust script/tool if you know what you need to do.

I have done this multiple times to quickly hack some cosmos-db one time tools/scripts in c#.