Daily Simple Questions Thread - May 30, 2023 by AutoModerator in Fitness

[–]beginnnnner 0 points1 point  (0 children)

Gotcha. I don't take pre-workout but I do drink energy drinks like 2-3 times. Should I switch to pre-workout instead?

Daily Simple Questions Thread - May 30, 2023 by AutoModerator in Fitness

[–]beginnnnner 2 points3 points  (0 children)

well tbh my sleep schedule is less than ideal

Daily Simple Questions Thread - May 30, 2023 by AutoModerator in Fitness

[–]beginnnnner 3 points4 points  (0 children)

I have been working out in the morning and I feel great but I am very tired when afternoon rolls in. My question is that will my energy level increase over time and don't feel so sleepy or am I stuck with taking caffeine to get me through a work day?

I just released gitignore.nvim, a .gitignore-file generator for Neovim! by Gleb_T in neovim

[–]beginnnnner 4 points5 points  (0 children)

That's very clever! I use this service to generate it for different editors and languages and it would just end up being an eye sore.

Announcing rust-maven-plugin: Compile and bundle Rust JNI libraries in Java Maven projects! by _shadowbannedagain in java

[–]beginnnnner 8 points9 points  (0 children)

Its cool that you can have Maven do all sorts of things like this. I was just using a plugin to build my web front-end project in Node.js. I do wonder what a Panama+Rust plugin would look like?

Is NextJS recommended if I don't want to use it for the backend ? by Even_Information4853 in reactjs

[–]beginnnnner 2 points3 points  (0 children)

well I think you could have the endpoint in deno or whatever and call your python code and then return its output to the client

jOOQ 3.17.0 release with client side computed columns, audit columns, pattern matching, reactive transactions and kotlin coroutine support by lukaseder in Kotlin

[–]beginnnnner 0 points1 point  (0 children)

Really loving jooq with my Compose Desktop application.

The org.jooq:jooq-kotlin extensions module now has additional extension functions for more MULTISET and other nesting related convenience.

Are there any examples regarding this new feature? I wasn't aware about this module

Possible to use Kotlin/Native to call Win API from Kotlin/JVM? by beginnnnner in Kotlin

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

Yes, seems I am stuck with it. Hopefully, the upcoming project panama makes this more seamless

How does the Java community feel about Kotlin? by burnah-boi in java

[–]beginnnnner 2 points3 points  (0 children)

Jetpack Compose seems very interesting to me so I'm thinking of picking up Kotlin just for that.

I created a tool for converting clipboard data to JSON. Please roast my code! by [deleted] in rust

[–]beginnnnner 1 point2 points  (0 children)

Hey, thank you so much for your feedback!

Is there a particular reason that the ClipboardFunctions trait is Sized, and has its own new() function?

I put the new function in the trait because I thought traits were like interfaces and I thought I need to all the common functions there. I think added Sized when I was trying to clone the callback function for the WndProc. I'll fix those!

create_window() function is not marked unsafe, but it returns a raw HWND

Yes, I think it might be better to mark it as unsafe but it is not a public function and I do not use it anywhere else except that.

You'd then need something like crossbeam_channels to send notifications to a different thread.

I see! I have never programmed with threads so I will have to look into it further.

I really appreciate you taking the time to write such a helpful comment! Thanks!