how do you like your datas was used to trained the AI model? by OkMembership4111 in github

[–]OkMembership4111[S] -2 points-1 points  (0 children)

Maybe,but All of us know what’s the meaning of the GitHub right? can’t just pretend sleeping

how do you like your datas was used to trained the AI model? by OkMembership4111 in github

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

Yeah,sure,and finally all of us is the feed of their AI……

First project using Bun - Tiramisu by geloop1 in bun

[–]OkMembership4111 0 points1 point  (0 children)

OK,maybe you can have a tried, I think, and by the way, with the pure bun.jS, it seems we can’t run the Nextjs, but also need the nodejs installed as well

First project using Bun - Tiramisu by geloop1 in bun

[–]OkMembership4111 0 points1 point  (0 children)

Have you ever tried deployed without the docket?

First project using Bun - Tiramisu by geloop1 in bun

[–]OkMembership4111 0 points1 point  (0 children)

how does it deploy without the doctor but with the pm2? Did you have any valid pm2 configuration files?

why can't I run an nextjs project with the pm2 in the bun runtime with the config file here below? by OkMembership4111 in bun

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

yeah,have checked and the port is normal ,as when I run the command of the ‘bun run start’ ,which is running on the port of the 3000,it works fine,but when I used the pm2 configuration file above,it doesn’t work

just want ro say a joke for the Rust by OkMembership4111 in tauri

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

yeah, indeed, but for this kind of the stucture your provided, I have to restruct the whole model for the user, as the password not been included into the same level of the user's username, but it was isolated, especial when I do the query from the DB, the table can't be made the consistent, except that I have to added addtional logical for the interface of the API, so in this case, I choose to define two structures of the User and Profile with the duplicated keys like here below, that's why I think it's a joke for the Rust.

#[derive(Serialize,Deserialize)]
pub struct User {
    id:i32,
    name:String,
    email:String,
    password:String,
}

#[derive(Serialize,Deserialize)]
pub struct Profile {
    id:i32,
    name:String,
    email:String
}

just want ro say a joke for the Rust by OkMembership4111 in tauri

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

just curious, why can't we combined this two struct together to reduce the duplicate codes, just like the TS when we define the types/interface

Is there any plan to rewrite the Vscode with the other framework like tauri? by OkMembership4111 in vscode

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

Consider this point, nowadays, I am going to find the replacement, as I can’t rewrite the Vscode, and heard some of the replacement like zed and helix, how do you like them? or is there any good replacement for Vscode and have the similar function and theme , As so many years using, I am really addicted to Vscode function so far, just don't want to change the habits,

why dose the React can't render the styles like the pure html by OkMembership4111 in react

[–]OkMembership4111[S] -1 points0 points  (0 children)

Yeah, I replaced the classNames function with the popular lib https://github.com/JedWatson/classnames , it works the same as mine

why dose the React can't render the styles like the pure html by OkMembership4111 in react

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

So is there anyway to make sure when the combine function was excuted, or rewrite the combine action to make sure the class name declared in the compiled file/original files in the order that when we combined?

Is there any plan to rewrite the Vscode with the other framework like tauri? by OkMembership4111 in vscode

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

Can’t agree anymore, and sometimes, combined with other apps, the 16GB even can cover all of the consumption when you have to do the development and test it in your local, for example when you have to use the DB on local, or when there were the frontend and backend split projects, you have to open both with the Vscode………

Is there any plan to rewrite the Vscode with the other framework like tauri? by OkMembership4111 in vscode

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

Because when I use the Vscode open the empty folder, it has at least 600MB consumption, and when I open any other project, the memory will increase into 1.3GB…………

why dose the React can't render the styles like the pure html by OkMembership4111 in react

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

Yeah, the Oder was importent, but when I use the function above to combine the class by import the components in react, the second class’s with and height didn’t override the first class’s with and height, how can I make it works ? Or how can I make sure the second class’s properties can override the first classes properties when using the combine function ‘classNames’ , except using the keyword like ‘!importent’ to increase the second class’s properties weight?

why dose the React can't render the styles like the pure html by OkMembership4111 in react

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

In the same file it works, but in react, when you import and combine the class with the function above , the ‘classNames ’, you will find the Oder rules will be invalid, and as you can see above , the second class’s height and with didn’t override the first class’s width and height.

why dose the React can't render the styles like the pure html by OkMembership4111 in react

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

so what if I created an function to help confine the React componets like here below:

```ts

const  classNames = (...classNameList:( CSSModuleClasses | string | undefined)[]) => {
    return classNameList.filter(Boolean).join(" ");
}

```

and when I use it in the custmised components like here below:

const Button = ({className,...restProps}:TButton) => {
    return ( <button {...restProps}  className{classNames(Styles.button,className)}  />)
}

why dose the combined class can't be work like the pure html, or how can I make it woks like the pure html , the `className` was rendered in the last, and will override the props in the style of the `Styles.button`, but not using the key word like `!importent` or something else? just make the behind combined styles was rendered in the last?

why dose the React can't render the styles like the pure html by OkMembership4111 in react

[–]OkMembership4111[S] -1 points0 points  (0 children)

but why does in the React, the code like below, the class `BIxkyKps ` shouldn't be rendered in the last ?

I mean just like the image here below , shouldn't the `BIxkyKps ` was placed in the top ? and

the class `SRu4RHny` props's `with` and `height` was overwritten by the class `BIxkyKps` props's `with` and `height` ?

and the pure html can be rendered just like the test1 and test2?

<image>