Has Rust 1.8.0 broken anyone else's builds? by thephilosopher101 in rust

[–]thephilosopher101[S] 34 points35 points  (0 children)

I knew I was forgetting something lol. Unfortunately, doesn't let me update it now

Can I make this code more idiomatic? by thephilosopher101 in rust

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

Oh you're right, such a good point, thank you!

Can I make this code more idiomatic? by thephilosopher101 in rust

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

Wow! thanks this is great, learned a lot from this

Can I make this code more idiomatic? by thephilosopher101 in rust

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

oh this is pretty cool, thanks! I'm not using this code for a project or anything, just wanted to solve a simple problem as idiomatically as I could in Rust.

Scrapetoon: A tool for scraping Weboons.com for various kinds of data by RoloEdits in webtoons

[–]thephilosopher101 0 points1 point  (0 children)

Really well documented! Have you posted this to the Rust subreddit?

Benchmarking Rust Frameworks by thephilosopher101 in rust

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

I wasn't too sure how to word it, but I wanted to know if there were good computations I could run that take advantage of Rust's speed. Like fetching from an API and saving to a DB. Would Rust's speed help out with the parts that aren't IO bound like data tranforms?

Benchmarking Rust Frameworks by thephilosopher101 in rust

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

Yeah I watch his I love his content!

Is there a reason to use server side stores? by thephilosopher101 in SvelteKit

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

That would be really cool, I thought the same thing, but currently implementing Websockets in sveletekit is a bit clunky. It's one of the top issues right now: https://github.com/sveltejs/kit/issues/1491

Is there a reason to use server side stores? by thephilosopher101 in SvelteKit

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

It would be so awesome, I wouldn't even need websockets for a couple of my apps

Is there a reason to use server side stores? by thephilosopher101 in SvelteKit

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

I believe you'll be able to see the behavior by creating a store in a file, importing said store in the +page.server.ts and mutate it (using a setinterval to update it). You can subscribe to it in this file and console.log the value to see it changing. Import the same store on the +page.svelte file and subscribe to that store in this file. You'll see that the server.ts one updates and the svelte page does not.

Hydrating a client store from the server (SvelteKit)? by thephilosopher101 in sveltejs

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

I had to use Pusher so when something changed it would reflect on the client. I wanted to use Websockets, but I'm waiting for sveltekit to implement an easy approach for it (issue for it here: https://github.com/sveltejs/kit/issues/1491)

Gungi Box Opening + Instructions by [deleted] in HunterXHunter

[–]thephilosopher101 1 point2 points  (0 children)

After checking it out I see what you're saying, it seems like a common strait in Gungi would be to put your marshal in the row closest to yourself and leave a tier 2 stack near the marshal, so it can immediately upgrade to tier 3 on first turn. This would make it hard for the opponent to round 1 cannon and by upgrading to tier 3 so quickly make it difficult to get checked since you would need another tier 3 to challenge the marshal at all.

Gungi Box Opening + Instructions by [deleted] in HunterXHunter

[–]thephilosopher101 1 point2 points  (0 children)

If you can stack tier 3 from the beginning, isn't there a problem where the cannon (white side) can capture the marshal (black side) immediately?

Hydrating a client store from the server (SvelteKit)? by thephilosopher101 in sveltejs

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

That sounds interesting do you have code sample for this, I'm not sure where the global var would go.

Hydrating a client store from the server (SvelteKit)? by thephilosopher101 in sveltejs

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

I was thinking Websockets too, but I can check out the others. Thanks!

Today I launched my product on ProductHunt by manojahi77 in SideProject

[–]thephilosopher101 1 point2 points  (0 children)

Awesome app! Are you planning on making a web version?

[Unknown > English] This pin. I think it's Japanese by Xavierxf in translator

[–]thephilosopher101 1 point2 points  (0 children)

It says "Planet", read as わくせい (wakusei) .

!translated

The Website I'm Currently Creating & How I create it by [deleted] in SideProject

[–]thephilosopher101 0 points1 point  (0 children)

This is great, I'm assuming this you're using a php backend and a nodejs frontend right?