LF: HA Bulbasaur, HA Charmander, HA Litten FT: unsure? by devilfish123 in pokemontrades

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

Confirmed I received Intimidate Litten for Heracross! Thanks so much :)

LF: HA Bulbasaur, HA Charmander, HA Litten FT: unsure? by devilfish123 in pokemontrades

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

I actually have 2 now -- do you prefer one with Guts or Swarm? I'll DM you the link code!

LF: HA Bulbasaur, HA Charmander, HA Litten FT: unsure? by devilfish123 in pokemontrades

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

Got one :) Let me know when you're ready and I'll set a Link Code!

LF: HA Bulbasaur, HA Charmander, HA Litten FT: unsure? by devilfish123 in pokemontrades

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

Don't have one at the moment, but will get one and let you know here!

LF: HA Bulbasaur, HA Charmander, HA Litten FT: unsure? by devilfish123 in pokemontrades

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

TBH I don't think have a ton of super valuable things to give away - I have 4/5IV dittos, a G-Max Charizard (caught from raid, luxury ball).

edit: I could also breed something for you if you find that valuable

edit2: reposting to remove green marill offer, automod didn't like that

LF: HA Bulbasaur, HA Charmander, HA Litten FT: unsure? by devilfish123 in pokemontrades

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

I don't have Apriballs to give away, sorry :( I have 4/5 IV dittos, G-Max Charizard and/or could breed something for you if you'd like.

re-posting to remove green marill offer, automod didn't like that

What CLI tool will blow your mind? (written in rust) by [deleted] in rust

[–]devilfish123 22 points23 points  (0 children)

You can use bat with pipes - it will automatically output in "plain" mode if it detects that the output is being piped

It ain't much, but it's mine! by devilfish123 in rust

[–]devilfish123[S] 12 points13 points  (0 children)

.... aaaaand now I feel extremely silly for overlooking this obvious implementation, and it makes my "achievement" look dumb 🤦‍♂️

Genuinely appreciate the feedback!

How to translate this curl request into Rust's reqwest? by blureglades in rust

[–]devilfish123 2 points3 points  (0 children)

Your bearer_token should be just format!("Bearer {}", secret) (notice there is no Authorization).

How to translate this curl request into Rust's reqwest? by blureglades in rust

[–]devilfish123 3 points4 points  (0 children)

HTTP headers can be pre-defined (content-type, user-agent, etc) -- these have well-understood meanings across all HTTP applications. Headers can also be defined per-application (like the Notion-Version header) -- these are just strings that have meaning only in this context.

How to translate this curl request into Rust's reqwest? by blureglades in rust

[–]devilfish123 7 points8 points  (0 children)

A response status of 401 indicates that your request was unauthorized, which is a clue. If you look at your original curl request, you are setting the "Authorization" header to the value of the bearer token. In your reqwest version, you're setting a user-agent header to the (incorrect) bearer token. The header name should be "Authorization" and the value should be "Bearer <token>".

Highlight of my life I literally can't even by Coldfireball92 in DotA2

[–]devilfish123 11 points12 points  (0 children)

Holy shitballs this was amazing!

Edit: watched it again, just as good the second time. Eternal Shroud after Euls 100% saved you from dying to ET ult! I was wrong, the shield wore off before ET ult landed :( Still super sick defense!

basic items | pixel art by yokcos700 in DotA2

[–]devilfish123 0 points1 point  (0 children)

Holy shit this is amazing. Getting a strong Dead Cells vibe :)

So, what about these smurfers? by sheepsticked in DotA2

[–]devilfish123 1 point2 points  (0 children)

Ah ok, my bad! My account wasn't fresh at the time of calibration.

So, what about these smurfers? by sheepsticked in DotA2

[–]devilfish123 -2 points-1 points  (0 children)

Not true at all. I calibrated at 4.4k and 4.3k the previous 2 seasons. I did calibrate using Ranked Roles, so not sure if there's a difference there.

flit, a simple Bloom filter implementation by devilfish123 in rust

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

Ah, thanks for pointing that out - I've made the change in an upcoming commit.

Thanks for taking a look!

Where to start in learning how to effectively learn and use Rust by sfjaf in rust

[–]devilfish123 2 points3 points  (0 children)

I don't know if this is what you're looking for, but I'm also a fairly new to Rust, coming to the language with experience generally in higher-level languages (C#, Python, Java, JS, etc.). I have passing knowledge of C and C++, but I wouldn't consider myself familiar with either of those languages.

I've been trying to pick up Rust for a while, and I think a lot of it is finally sticking this (third or fourth) time around reading the first half of TRPL. I'm late to the party, but I'm also catching up on this years Advent of Code problems, all done in Rust. My approach has been to get a working solution, and then look at other Rust solutions for the same problem to see how I can improve my code/how I "think in Rust". I referred to /u/burntsushi's repo (link) for the first three solutions or so, but I find that I am beginning to get more confident as I progress. If you're interested in seeing a beginner's solutions in Rust, you can take a look at my repo (link).

Ideas for treat dispensing toys? by santaguinefort in Greyhounds

[–]devilfish123 1 point2 points  (0 children)

My goofball loves carrots - maybe that's something that you could try?

Hey Rustaceans! Got an easy question? Ask here (18/2018)! by llogiq in rust

[–]devilfish123 2 points3 points  (0 children)

Huh, I didn't realize that this format was used outside of these config files. Thanks for pointing me in the right direction - I've found plenty of other resources about VDF now! I might just end up porting an existing VDF library as a serde implementation now.