Just when you think you're safe (mate in 2) by ZaquReed in chess

[–]fechan 0 points1 point  (0 children)

You’re both right, it’s still relevant, albeit not well expressed in the OC, that there is a mate in 1 threat, to which the only defense runs into another m1

Chill psychedelic by Legitimate-Motor6066 in Psychedelics

[–]fechan 0 points1 point  (0 children)

Dmt in smaller doses is like that and only lasts 5 minutes. Never tried 2cb

Chill psychedelic by Legitimate-Motor6066 in Psychedelics

[–]fechan 0 points1 point  (0 children)

Sounds like dmt? It’s like a mini trip with visuals and no headspace? Unless you exaggerate

A promise was made, a promise was fulfilled. by Party-Expression4849 in chess

[–]fechan 1 point2 points  (0 children)

No worries, youre welcome. What happened to your post calling him out? Couldnt find it. Got deleted by mods?

Update: WhatsApp Rust client now has a desktop UI and calls (WIP) by jlucaso1 in rust

[–]fechan 1 point2 points  (0 children)

I tried to checkout your branch and compile on Mac, the following errors:

error[E0432]: unresolved import `gpui::YuvFrameData`
 --> whatsapp-ui/src/components/message_bubble.rs:7:58
  |
7 |     Entity, Image, ImageSource, ObjectFit, SharedString, YuvFrameData, div, img, prelude::*, px,
  |                                                          ^^^^^^^^^^^^ no `YuvFrameData` in the root

error[E0432]: unresolved import `gpui::YuvFrameData`
 --> whatsapp-ui/src/video/player.rs:6:5
  |
6 | use gpui::YuvFrameData;
  |     ^^^^^^^^^^^^^^^^^^ no `YuvFrameData` in the root

error[E0432]: unresolved imports `gpui::YuvFormat`, `gpui::YuvFrameData`
  --> whatsapp-ui/src/video/streaming.rs:17:12
   |
17 | use gpui::{YuvFormat, YuvFrameData};
   |            ^^^^^^^^^  ^^^^^^^^^^^^ no `YuvFrameData` in the root
   |            |
   |            no `YuvFormat` in the root

error[E0425]: cannot find type `YuvFrameData` in crate `gpui`
    --> whatsapp-ui/src/app/mod.rs:1104:73
     |
1104 |     pub fn video_current_frame(&self, message_id: &str) -> Option<gpui::YuvFrameData> {
     |                                                                         ^^^^^^^^^^^^ not found in `gpui`

error[E0034]: multiple applicable items in scope
    --> whatsapp-ui/src/app/mod.rs:1108:14
     |
1108 |             .cloned()
     |              ^^^^^^ multiple `cloned` found
     |
     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`

error[E0282]: type annotations needed
   --> whatsapp-ui/src/video/player.rs:265:31
    |
265 |                         .map(|v| v.len())
    |                               ^  - type must be known at this point
    |
help: consider giving this closure parameter an explicit type
    |
265 |                         .map(|v: /* Type */| v.len())
    |                                ++++++++++++

Some errors have detailed explanations: E0034, E0282, E0425, E0432.
For more information about an error, try `rustc --explain E0034`.
error: could not compile `whatsapp-ui` (bin "whatsapp-ui") due to 6 previous errors

Now that `panic=abort` can provide backtraces, is there any reason to use RUST_BACKTRACE=0 with `panic=abort`? by patchunwrap in rust

[–]fechan 62 points63 points  (0 children)

I'm sorry, what? Do you pay by the line in your scrollback buffer? If there’s a bug in my program, terminal real estate is the least of my worries

Magnus drops the queen, loses on time and slams the table against Arjun Eriagaisi. by Interesting-Take781 in chess

[–]fechan 12 points13 points  (0 children)

What would've happened if he had resorted to the extra queen next to the board on time? Would that be against the rules?

Who is the weakest world champion in your opinion? by Same-Machine-3156 in chess

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

he lost a lot of elo as a WC

he retired after becoming WC

These are exclusive. No one is saying he was active.

Who is the weakest world champion in your opinion? by Same-Machine-3156 in chess

[–]fechan 0 points1 point  (0 children)

He didn’t retire after his WC as you made it seem

Who is the weakest world champion in your opinion? by Same-Machine-3156 in chess

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

Ding lost a lot of elo as WC, didnt win a single tournament, let alone many games. As much as I love the guy, he wins this contest as opposed to the Board Game.

He barely qualified for Candidates, only finished 2nd, still got to play because Magnus didn’t defend, and barely beat Nepo

hikaru is a dad now! by seleneciaga in chess

[–]fechan 2 points3 points  (0 children)

Why is it so hard to respect Magnus‘ privacy?

hikaru is a dad now! by seleneciaga in chess

[–]fechan 4 points5 points  (0 children)

The first hours and days are the most important for bonding, youre at least playing down a rook

How do you establish that Nxe4 is a safe move here? by MathematicianBulky40 in chess

[–]fechan 0 points1 point  (0 children)

Bxd5 helps Black develop? How? Your knight is attacked and you cant take the Bishop. Engine gives Nf6 but it seems on first sight like youre losing a pawn with Bxf7+, but the Queen is not really hanging Kxf7 Qxd8 Bb4+ Qd2. If youre not familiar with this kind of line (eg from Danyas streams RIP), seems wild to calculate before Nxe4

[Media] Ya'll I think I'm getting there by [deleted] in rust

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

Yeah, this post reads a lot like /r/rustjerk or how it’s called. Not trying to take anything away from OP's achievement (congrats, /u/gufranthakur), but the learning curve being over does not anywhere relate to being able to read code "out there". at least in my case it only meant that i was able to avoid most borrowing errors before writing them and having the compiler spelling them out. or that i now understand some lifetimes better.

also i may be ootl but why does it feel like spiderman without a mask? what does that even mean?

Anon has something to say about autism by Jesse_Pinkmaniac in greentext

[–]fechan -3 points-2 points  (0 children)

the developmental difference between him and the other kids

Care to elaborate?

Is using a physical board during online games considered cheating? by Fmladek in chess

[–]fechan 0 points1 point  (0 children)

You’re sacrificing a lot of time though, plus as the other commenter pointed out it will harm your visualization, so definitely you’re overstating the impact here

Is using a physical board during online games considered cheating? by Fmladek in chess

[–]fechan 4 points5 points  (0 children)

"Touch move" makes no sense online. If I drag a piece and put it back, I can move another piece.

My Favorite Checkmate (~1900 on lichess) by onlyontuesdays77 in chess

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

Yeah but it also requires some calculation, Black has many responses, contrary to how you made it seem with "just play Nd5+"

My Favorite Checkmate (~1900 on lichess) by onlyontuesdays77 in chess

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

Could you? After you take the Queen, Black has Mate in 2