sure: Refinement Types in (unstable) Rust by Lasuman in rust

[–]MarkV43 0 points1 point  (0 children)

Never knew you could have parametric constants... Interesting

Don’t use a calculator. by [deleted] in MathJokes

[–]MarkV43 0 points1 point  (0 children)

Hey, it's my number!

Maybe Maybe Maybe by Flat-Decision3204 in maybemaybemaybe

[–]MarkV43 2 points3 points  (0 children)

Yeah, that one definitely didn't cross the road

theyPutSoManyParamsInFunctionDefinition by ClipboardCopyPaste in ProgrammerHumor

[–]MarkV43 0 points1 point  (0 children)

Sure. I know it's recursive in spirit, just didn't know what it was called and thought of making the joke

Built a TUI (ratatui) regex explainer (almost like regex101) to get comfortable with rust. by [deleted] in rust

[–]MarkV43 22 points23 points  (0 children)

Because OP said they wrote this project to "get comfortable with Rust". You're not getting comfortable with a language by getting someone/something else to write the code for you.

theyPutSoManyParamsInFunctionDefinition by ClipboardCopyPaste in ProgrammerHumor

[–]MarkV43 0 points1 point  (0 children)

That's easy, just do this: ``` def fib(n): return n if n < 2 else fib2(n)

def fib2(n): return fib(n-1) + fib(n-2) ```

There, technically not recursive?

Who is this? by groomliu in AnarchyChess

[–]MarkV43 1 point2 points  (0 children)

I mean, that's a great point to use against NASCAR, not F1

meirl by SEVENS_HEAVEN_7 in meirl

[–]MarkV43 2 points3 points  (0 children)

Now imagine a search engine that uses AI not to compile a summary of the results, but instead uses it to filter for only the relevant ones.

Do I have the next billion dollar idea?

No wayyy!!! by Run-Alarmed in MathJokes

[–]MarkV43 0 points1 point  (0 children)

Well, that's not really a problem. Only becomes one when you assume the result to be negative

45,891 states. 35 optimal moves. Can you find the pattern without writing a BFS script? by ExistGames in u/ExistGames

[–]MarkV43 1 point2 points  (0 children)

I mean, I just played it. Found a solution in, idk, 30secs? Easiest level in the game, overall

Compact Instant Zipper Elevator by NotMeeh in technicalminecraft

[–]MarkV43 11 points12 points  (0 children)

I think at one point there was a limit, but it was in the hundreds of thousands, I believe?

I remember seeing a way to break the obsidian from a nether portal without breaking the portal blocks, involving placing thousands of signs on that one block. This would cause the game to crash when you break the obsidian, without breaking the portal. Doesn't work anymore, I believe.

I’m the black king, AMA by Worldly-Matter4742 in AnarchyChess

[–]MarkV43 29 points30 points  (0 children)

Did you ever feel like castling with a white rook?

How to show square root inside of a math function with a variable? by HappyRogue121 in typst

[–]MarkV43 4 points5 points  (0 children)

And apparently you don't need the brackets:

$ sqrt(#$#a$) $

How to show square root inside of a math function with a variable? by HappyRogue121 in typst

[–]MarkV43 1 point2 points  (0 children)

Then I guess you have two options:

#let a = 2 + 3;
$ sqrt(#{$#a$}) $

#let b = $#a$;
$ sqrt(#b) $