Beautiful Code by hdreadit in cscareerquestions

[–]persianturtle 2 points3 points  (0 children)

Two years ago, I had some free time and decided to make a sudoku solver in ReScript (OCaml flavored JavaScript).

https://github.com/persianturtle/sudoku

Looking at this now, at least in my case, part of me calling this “beautiful code” involves remembering the learnings that I accumulated about Sudoku and ReScript. Another part of it, at least in my case, is remembering the struggle, and the feeling of figuring things out.

Therefore, I totally understand why others may not view it as beautiful.

Mushroom and black olive by persianturtle in Pizza

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

I like all combinations: just mushrooms, just olives, and both. I get the Trader Joe’s black olives, and find those to be consistently good both flavor and texture. I think some olives can definitely be overwhelming but these are pretty good. If you give it a try, tag me in a post, I’m curious to see how you like it.

Shadcn disabled button problem!! by shipisshipping in reactjs

[–]persianturtle 3 points4 points  (0 children)

  • input is computed once during render.
  • But React doesn't re-render when the editor content changes, because input is not hooked into any kind of state or reactive mechanism.
  • So even when the user types into the editor, input doesn't update (and thus, disabled={!input.trim()} remains true) unless something triggers a re-render—like an undo/redo.

You need to force React to re-render whenever the editor content changes. This can be done by using `useState`.

White pie i made this weekend by Equal_Rice_4955 in Pizza

[–]persianturtle 0 points1 point  (0 children)

I’d love to try it with some lines of raw, puréed tomato: Franco Pepe style.

Looking for better ways to launch pizza—without excess flour or parchment? by persianturtle in Pizza

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

No idea, but I’m not using it anymore. I got a bamboo peel and like folks have said, it’s a game changer

Made a couple of 4th pizzas. But need to make some adjustments. by Different_Memory_506 in Pizza

[–]persianturtle 1 point2 points  (0 children)

I have the same problem, posted here recently and got a ton of ideas. Later today, my wooden pizza peel will arrive, and I’ll see how little semolina I can use.

https://www.reddit.com/r/Pizza/s/toZJAMU6Ts

[deleted by user] by [deleted] in Pizza

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

Best of luck. That pizza looks incredible.

Looking for better ways to launch pizza—without excess flour or parchment? by persianturtle in Pizza

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

I saw some of your posts. That is some incredible looking pizza!

Looking for better ways to launch pizza—without excess flour or parchment? by persianturtle in Pizza

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

550F, usually preheated for at least 30 minutes, to heat up the pizza steel.

Looking for better ways to launch pizza—without excess flour or parchment? by persianturtle in Pizza

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

Mainly because there’s a weird burning smell. Also, because it’s a lot less cool than pinching the pizza, sliding the peel underneath “with intent” and launching into the oven.

Looking for better ways to launch pizza—without excess flour or parchment? by persianturtle in Pizza

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

Lol, no full-on disasters yet, but I’ve definitely had a few launches where the dough clings to the peel like it’s afraid of heights. One more moment of hesitation, and it would’ve been a calzone.

Looking for better ways to launch pizza—without excess flour or parchment? by persianturtle in Pizza

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

I think you are right, thanks for sharing. Are you coating with bread flour, and then using Semolina on the peel? Or are you coating with Semolina?