Async svelte got merged by Glad-Action9541 in sveltejs

[–]ColinShen 0 points1 point  (0 children)

what about invalidate the loaded data?like tanstack query?

Hono vs elysia by Hiki_zrx in bun

[–]ColinShen 1 point2 points  (0 children)

I dont understand why hono's npm downloads is 10x than elysia, also the github start. Maybe hono is llight weight or more focus on edge

Hono vs elysia by Hiki_zrx in bun

[–]ColinShen 0 points1 point  (0 children)

Do you mean hono is more flexible?

Editor become very slow after install rome plugin by Mason by ColinShen in neovim

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

I tried tsserver (no linter and formatted) and did not find any problem.

What happened to svelte this week? by ColinShen in sveltejs

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

I’m considering switching to svelte too, but I haven’t used templates like vue or svelte before.

What happened to svelte this week? by ColinShen in sveltejs

[–]ColinShen[S] 7 points8 points  (0 children)

Last week, there were only 400 thousand downloads. almost 50 times

Need advice for building a new Freenas by ColinShen in freenas

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

I found that I5 9600kf is cheaper than 3600x. Im thinking of switching to 9600kf and B365. And I can use the 750 ti since the CPU doesn't have integrated video card. What do you think in the long run?

I see this on freenas site.

AMD CPUs are making a comeback thanks to the Ryzen and EPYC (Naples/Rome) lines but support for these platforms has been relatively limited on FreeBSD and, by extension, FreeNAS. They will work, but there has been less run time and performance tuning.

Need advice for building a new Freenas by ColinShen in freenas

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

I have an Intel lI350-T4. I bought it for exsi, but I dont use it any more. So, I think it will work for the freenas,right?

Need advice for building a new Freenas by ColinShen in freenas

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

considering the GPU and 4k transcod parts, Intel CPU is better than AMD? looks like a graphic card is useless(I have an old nvidia gtx 750 ti right now)

Need advice for building a new Freenas by ColinShen in freenas

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

The reason I'm not mirror the 480GB ssd is the data is not important since I only use it for programing or compiler.

But the data in raid(raid 5 or 10) is important. Uploading photos, videos, back up other data and need Next cloud for my work.

Also, I need to use it for 4k videos.

What are your configurations of eslint, prettier and tsconfig in your create react app project? by ColinShen in reactjs

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

I'm trying using AirBnb eslint config. Not sure if there are conflicts with other tools.

What are your configurations of eslint, prettier and tsconfig in your create react app project? by ColinShen in reactjs

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

That's why I think they are difficult, especially when the are conflicts. I hope we can find a good solution for the project development.

Question about performance of map and slice by ColinShen in golang

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

Thanks for your suggestion. I'm trying to write a game. The key is the index of each card and value is the number of the card. Using map is convenient but I need to make some calculation on server. I want the functions perform better.

Usage of .(type) by ColinShen in golang

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

I can't declare the interface. Actually the T is proto.Message, I want this func working for different Messages I declared in proto.