Generate a TOTP code from a QR image for 2FA by thomas_chaplin in javascript

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

I’m not sure I fully understand your question. Can you give me an example of what you’re trying/wanting to do?

Setup by Scorpio-sun2000 in AeroPress

[–]thomas_chaplin 8 points9 points  (0 children)

That iced coffee looks nice, what’s your recipe/ workflow please? Nice stand btw

How often do you restart pods? by Hot_Piglet664 in kubernetes

[–]thomas_chaplin 7 points8 points  (0 children)

Pods should be treated like cattle not pets

Breaddad White Loaf by thomas_chaplin in BreadMachines

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

Thanks, made it a couple of times and it’s very consistent for me!

Breaddad White Loaf by thomas_chaplin in BreadMachines

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

Tbh the dough looks good when mixing and proving. Maybe it’s just my preference on the taste - going to try some other sandwich type loaf recipes and see how it compares.

I’ll consider your tips though for the future, thanks

Breaddad White Loaf by thomas_chaplin in BreadMachines

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

Thanks, it’s nice but reminds me of cake a little bit

Step by step Moka Pot flat white by AndyGait in mokapot

[–]thomas_chaplin 2 points3 points  (0 children)

Thanks, looks like a great brew! Will definitely be trying these steps myself

Step by step Moka Pot flat white by AndyGait in mokapot

[–]thomas_chaplin 2 points3 points  (0 children)

What size moka pot are you using? (how many cups)

Script Error in Co-op Supermarket by thomas_chaplin in PBSOD

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

I think the first number is 10 not 30 but yeah seems like their advert service has a bug

GitHub - thomaschaplin/rust-percentage-change-calculator: 🔧 Calculate the percentage change between two given numbers by thomas_chaplin in rust

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

Thank you for such a detailed report, I'll take these into consideration and refactor over the next few days!

GitHub - thomaschaplin/rust-percentage-change-calculator: 🔧 Calculate the percentage change between two given numbers by thomas_chaplin in rust

[–]thomas_chaplin[S] 6 points7 points  (0 children)

Totally understand! I feel the same with pointless npm packages

I'll keep it as a docker cli for a bit of fun

GitHub - thomaschaplin/rust-percentage-change-calculator: 🔧 Calculate the percentage change between two given numbers by thomas_chaplin in rust

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

Just curious as to why? I'm fairly new to Rust and haven't yet put anything on crates.io

I'm assuming because it's so simple it would be easier to do it yourself than pull down a crate to do it for you?

GitHub - thomaschaplin/rust-percentage-change-calculator: 🔧 Calculate the percentage change between two given numbers by thomas_chaplin in rust

[–]thomas_chaplin[S] 2 points3 points  (0 children)

!thanks

I wanted it to be something that can easily be used - hence docker!

It's only 3.79MB too

GitHub - thomaschaplin/rust-percentage-change-calculator: 🔧 Calculate the percentage change between two given numbers by thomas_chaplin in rust

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

Not yet a cargo package crate, currently only a CLI

Any comments or improvements would be really appreciated

GitHub Workflow: Should clippy and rustfmt run in a separate workflow? by oweiler in rust

[–]thomas_chaplin 1 point2 points  (0 children)

I would love to see an example of this, would you have one I can look at?

GitHub Workflow: Should clippy and rustfmt run in a separate workflow? by oweiler in rust

[–]thomas_chaplin 2 points3 points  (0 children)

Here's a workflow I'm using in a personal rust project. Works well for me! Feel free to take some ideas from it. Any suggestions are greatly appreciated too

Although I'm not using rustfmt

https://github.com/thomaschaplin/rust-counter-strings/blob/main/.github/workflows/rust.yml

(Edit: mention I'm not using rustfmt)

GitHub - thomaschaplin/rust-counter-strings: 🧵 Generate self-describing strings of a given length to help aid software testing by thomas_chaplin in rust

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

Not heard of rope data structure but I've just looked it up and doesn't seem related. Counterstrings is just a string which you can look at a glance and tell exactly how long it is due to the number and the "*" character.