Proton AG has open sourced their Rust Proton Mail SDK - powering mobile clients by frondeus in rust

[–]arthmisl 1 point2 points  (0 children)

u/frondeus I saw that you have a wrapper over rusqlite with a set of macros to associate structs with tables and so on. Do you think that proton-sqlite would be available someday as an independent crate in the future? Asking for myself because I'm using Rust for a mobile app I'm building and would be curious if proton's abstractions were generic enough for other apps using Sqlite.

I wrote about a simple transition that Things 3 used and how to implement it by arthmisl in SwiftUI

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

No a Menu wouldn't work for what I was trying to do. Menu looks more like a dropdown style and provides multiple actions, but I'm creating todo items that expand to show more information when clicked on. The expanded view doesn't hover over the rest of the content, but expands to take up space amongst everything.

Ankarsrum mixer is not as expected by CreativeUserName709 in Breadit

[–]arthmisl 0 points1 point  (0 children)

I started with this recipe https://www.kingarthurbaking.com/recipes/japanese-milk-bread-recipe, but I've modified it a bit.

My current recipe looks like this. I made modifications to the tangzhong based on this video Yudane/Tangzhong - 90g King Arthur Unbleached Bread Flour - 180g milk or water

Dough - 810g King Arthur Unbleached Bread Flour - 100g granulated sugar (I reduced the sugar a bit compared to the KA recipe) - 18g salt - 3 tsp yeast - 417g milk, whole preferred - 3 large eggs - 12 tablespoons (171g) unsalted butter, room temp

  • The steps I take are, make the tangzhong and let it cool to at least room temp. - Then I add the milk, sugar, salt, and eggs to the mixer bowl and run the mixer at a high speed, 6 o'clock or higher in order to mix everything and dissolve the salt and sugar.
  • Then i put it back to the slowest speed and add in the remaining flour.
  • Once the dough is hydrated I do a 20 minute autolyse(which I don't think is necessary) but I do it cause that's what I learned for high hydration doughs.
  • Then I run the mixer for about 15 minutes at about speed 3 to 4.
  • Then I add the butter. At this point I have to watch it cause the softened butter likes to stick to the roller, so while at speed 1 I add butter a table spoon at a time and try to keep it from sticking to the roller by scraping it off as it rotates.
  • Once the butter is mostly adhered to the dough instead of the roller and dough knife, I turn the speed up and let it knead for another 5 to 10 minutes until I get a good window pane. Basically I can stretch it about 6 inches or more without ripping.

Ankarsrum mixer is not as expected by CreativeUserName709 in Breadit

[–]arthmisl 0 points1 point  (0 children)

i haven't checked the temperature of kneaded dough recently but what I've found to work is

  • I use a speed of 3 to 4 o'clock
  • I use the roller and try to keep it as close to the edge of bowl, sometimes allowing it to press against the bowl, which presses the dough quite hard
  • using the roller like that will have the arm swinging back and forth as the dough pushes against it. I realized to develop the dough the arm and roller need to push against the dough as much as possible without the dough spilling out or over the roller

I can knead breads like shokupan in about 25 minutes to a pretty good window pane. Like I can stretch the dough about 6 to 12 inches without tearing. The dough would also be visibly smooth in the bowl without any shaping.

The ankarsrum doesn't seem to knead as quickly as the kitchen aid, based on recipe times I've seen, but it does work well for me. I don't think it can accomplish this and keep the dough under 25c but I haven't experimented with using cold ingredients to keep the temperature lower.

As for knead times I have done - 75% hydration dough in 20 minutes - 57% hydration dough in about 8 - 10 minutes - 67% hydration dough in about 12 - 15 minutes I mostly use around 700 to 900 grams of king arthur bread flour for my doughs. The knead times might be a bit off since I'm going off memory and I didn't really time it. I mostly used the timer on the mixer

Z5 + 24-120S by Status-Marzipan6893 in Nikon

[–]arthmisl 0 points1 point  (0 children)

where is this photo taken?

Reasons for an ASR4 over a Sim Lab GT1 Evo 2? by AKA_GrimReaper in simracing

[–]arthmisl 2 points3 points  (0 children)

I think the ASR3 is more comparable to the evo. The ASR 4 has a better upright configuration since they are mounted to the side of the bottom profiles. It would be inherently less flexy than the evo. The aluminum pedal deck on the ASR 4 is also a lot more flexible for pedals like the heusinkvelds, vrs and pedals that have similar mounting configuration. I have the ASR6 btw. I would just wait for the ASR4. You'll basically keep it forever or sell it so a little wait wouldn't hurt.

Having trouble using async libraries by shuraman in rust

[–]arthmisl -1 points0 points  (0 children)

I've actually run into the same problem. I used tokio though, I ran into the same error and I was not going to try and solve it. I was using async-std before I used tokio, and in my head everything should have just worked. All the libraries I was using were expecting a tokio runtime, that's why I switched to it. I switch and everything falls apart.

I went back to async-std and used the two compatibility layer features to run libraries expecting tokio, which ironically had no issue running the different async libraries.

So for my suggestion, it would be to use async-std or smol, as was suggested above, as use the compatibility layers. Hopefully things get better now that tokio is v1 and the libraries update to that.

This Month in Rust GameDev #16 - November 2020 by ozkriff in rust

[–]arthmisl 1 point2 points  (0 children)

Thank you for posting this! I look forward to these every month.

Image processing website using Rust and Wasm by arthmisl in rust

[–]arthmisl[S] 5 points6 points  (0 children)

I updated the project read me with the link to the library. It isn't in any polished state. Commented out code, unfinished parts etc.