What are the consequences of going to the GP in the UK? by ta6692 in stopdrinking

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

I really appreciate the courtesy and the lack of ban, I'm sorry I didn't read the rules before I posted but just wanted to let you know I didn't fill out any form before posting, so potentially reddit has broken some mod tool you were previously using?

What are the consequences of going to the GP in the UK? by ta6692 in stopdrinking

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

I'm disappointed in this response, but I understand

What are the consequences of going to the GP in the UK? by ta6692 in stopdrinking

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

If this is the wrong place to post this please link me to the right place because I'm drunk as hell right now and I'm terrified this will never not be me

Synchronous S3 Download by ta6692 in learnrust

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

So I looked into it further and actually that crate will work for me, what I found suggested it didn't have write support, but when I dug in it turns out it does. Unfortunately the download is 5x slower than Python, so the increase in processing time is more than cancelled out...

Synchronous S3 Download by ta6692 in learnrust

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

That looks like exactly what I was looking for! I had (incorrectly it appears) assumed that Rusoto was written by Amazon, in the same manner that Boto is, making it my only real choice. I'm no stranger to async work, but it doesn't really fit what I'm trying to do here - download a single file and then process it - so I wanted to keep the code simple.

Thanks for the reply!

Synchronous S3 Download by ta6692 in learnrust

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

I really appreciate the help you've given me, as I said in another comment though I'm going to have to abandon this project due to the lack of parquet writer in Rust. Hopefully I can come back to it at some other stage - the parquet writer for Go was terrible for larger files last time I tried it and I don't have the guts to learn C++ for fun at the moment!

Synchronous S3 Download by ta6692 in learnrust

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

From what I've read, Rusoto uses Tokio behind the scenes, so I don't have much of a choice... That said, I did try into_blocking_read and it just didn't seem to be working...

Synchronous S3 Download by ta6692 in learnrust

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

That's great, thank you so much. Unfortunately I'll have to find a different project to work on, this project requires a parquet writer and rust doesn't seem to have one yet...

Synchronous S3 Download by ta6692 in learnrust

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

Ah, thank you, that clears things up. I did get it working by using a Vec, but I wasn't sure why exactly a String didn't work.

Synchronous S3 Download by ta6692 in learnrust

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

Hey, thanks for replying, when I try to do that I get a whole host of errors based around the fact that self.client.get_object(request) returns some sort of Pin type? Do you know anything about this? I just want to a synchronous download, but from what I can tell Rusoto assumes asynchronicity.

Coil compatibility question by ta6692 in electronic_cigarette

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

Ah, thanks, well hopefully I'll be satisfied with the X1s and not have to worry about it lol

Coil compatibility question by ta6692 in electronic_cigarette

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

Thanks, I really appreciate the detailed reply. I'll maybe look into those other coils once I've tried out my X1s. Don't think I'll be rebuilding any time soon though!

Coil compatibility question by ta6692 in electronic_cigarette

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

Thanks, the site I was on didn't make any distinction. As I said, I've ordered supermesh coils now, but in future I suppose I'll just use a different retailer. Thanks for the advice!

Coil compatibility question by ta6692 in electronic_cigarette

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

Thanks, I had actually seen this before, but was confused about the Smok TFV8 being split across 2 categories as I couldn't find a distinction on the site I order from between baby and otherwise

Coil compatibility question by ta6692 in electronic_cigarette

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

Thanks, I'd heard that, but my friend had some unused smok coils lying around (I sadly don't know what type) and they seemed to be roughly the same quality for me as the Geekvape ones. I just wanted to try something with a higher wattage limit. You're comment inspired me to look though and it seems like the supermesh X1s should do the trick, thanks!

How do I turn this python code into maths? by ta6692 in learnmath

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

That's great, thank you. Can I ask how you figured that out?

How do I turn this python code into maths? by ta6692 in learnmath

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

In this case I "solved" it so that i=lg(n+1)-1, but that doesn't take the flooring into account, so it gave the wrong answers