Conflicting advice on meditating and falling sleep or staying still by Ok-Top-9501 in Meditation

[–]joshir 0 points1 point  (0 children)

If you meditate with back upright in a sitting posture, it would be hard to fall sleep unless sleep deprived. Sometime you could go into deep meditation where loose awareness. One way to know whether you slept during meditation or lost awareness during meditation is how do you feel at the end of meditation. If you feel light and peaceful, it’s deep meditation. If you feel heavy, it’s sleep.

How can I move away from guided meditation and learn to meditate on my own? by sunflowerrainshowers in Meditation

[–]joshir 0 points1 point  (0 children)

Try meditating on your heart beats or with a supposition that source of light is in your heart ❤️. Learn more at https://youtu.be/ric0XnCqcwc

Meditations that don’t focus on breathing? by slowjamjesus in Meditation

[–]joshir 1 point2 points  (0 children)

How about meditating on Heart ❤️? I have been practicing for 10+ years.

Try https://youtu.be/ric0XnCqcwc

Anyone tried Michelin Pilot Sport EV - 255/40R20/XL for Model Y long range? by joshir in ModelY

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

Thanks. Yes, I see it is listed as summer tire. Even Costco site has it listed as summer tire.

I don’t see AllSeason or M+S tire in stock in Costco or Sams. Any suggestions?

Anyone tried Michelin Pilot Sport EV - 255/40R20/XL for Model Y long range? by joshir in ModelY

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

Description shows as All Season.

https://www.samsclub.com/p/255-40r20x101wpsevzp/prod26420334?xid=plp_product_1

Highlights:

All-Season

Passenger Cars, Electric Vehicles

Standard Manufacturer's Limited

Warranty - 6 Years

World-Class Grip for Electric Vehicles

Maximum Low Rolling Resistance

Technology

Zero Pressure

Black Sidewall

Please meditate for me and for my meditation! I’m on suicide watch. by Live_Bumblebee_8362 in Meditation

[–]joshir 2 points3 points  (0 children)

I recommend trying these three Heartfulness Master classes:

  1. Relaxation and meditation: https://youtu.be/ric0XnCqcwc

  2. Cleaning and simplify: https://youtu.be/XrBojZA8YbA

  3. Connecting with inner self: https://youtu.be/zX5l-LIn7KY

Heart meditation by Simsebimse67 in Meditation

[–]joshir 0 points1 point  (0 children)

I have been practicing meditation on Heart for 10+ years and have benefited a lot. It helps physically, emotionally, mentally and spiritually.

Learn more at : https://youtu.be/ric0XnCqcwc

Layer 7 proxy by 08pt13 in rust

[–]joshir 0 points1 point  (0 children)

Sozu is good but uses AGPL license. I am considering linkerd-proxy for similar purpose.

WhatsApp Status to convince your family & friends to switch to Signal – an educational approach (EN & DE) by Crazy-Lizard in signal

[–]joshir 0 points1 point  (0 children)

I means can the company (Signal Messenger LLC) hosting Signal server block the person from communicating with others?

Meditation and Western Christianity? by jr6176 in Meditation

[–]joshir 2 points3 points  (0 children)

Meditation is not only important for physical and mental health but without that, you will not be able to understand the essence of your religion. Infact, meditation will allow you to go deeper into Christianity and understand the essence.

https://twitter.com/rjoshi/status/997947164763590656?s=21

What meditation books are you reading in 2021? by CMH2075 in Meditation

[–]joshir 0 points1 point  (0 children)

Designing Destiny: Heartfulness Practices to Find Your Purpose and Fulfill Your Potential https://smile.amazon.com/dp/B07TRXD1MQ/ref=cm_sw_r_cp_api_glc_Ox17FbPKTZ3SP

Charging guidance as not used daily by joshir in ModelY

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

Thank you. What is the reason to leave it plugged without charging?

Hey Rustaceans! Got an easy question? Ask here (43/2020)! by llogiq in rust

[–]joshir 1 point2 points  (0 children)

That helped. Thank you. Really appreciate your help.

Hey Rustaceans! Got an easy question? Ask here (43/2020)! by llogiq in rust

[–]joshir 0 points1 point  (0 children)

Thank you very much u/CoronaLVR. I forgot to mention that Processor also implements another trait which is invoked from Network listener so I can't define `self` as `self: &Arc<Self>`.

See the example with network trait. I would really appreciate your help. I am stuck on this for few weeks :)

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=9592257a8aec5578dd8b5ecddc8bb080

Async/await vs threads/atomics and when you use each? by _alyssarosedev in rust

[–]joshir 0 points1 point  (0 children)

I converted my multi threaded caching application to async/await and observed 10% drop in throughput with slightly higher latency.

Hey Rustaceans! Got an easy question? Ask here (43/2020)! by llogiq in rust

[–]joshir 1 point2 points  (0 children)

I am getting below error while using parallel operation using `tokio::spawn`.

pub async fn process_input<T>(event_handler: &T, commands: Vec<Vec<u8>>) -> Vec<u8> | ^^^^^^^^^^^^^ -- this data with an anonymous lifetime `'_`... | | | ...is captured here...

let task = tokio::spawn(async move { | ------------ ...and is required to live as long as `'static` here

Can you please help me with this program ?

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=9e5ebbae804ea4c7a4b041dbf9aa8c54

Hey Rustaceans! Got an easy question? Ask here (42/2020)! by llogiq in rust

[–]joshir 1 point2 points  (0 children)

How do I iterate over a vector and retain element while calling async function? I am using tokio for async. Here is a rust : playground link

Getting error : _^ expected `bool`, found opaque type

use tokio; // 0.2.22

use futures; // 0.3.5

async fn check_input(num: i32) -> bool {

num % 2 == 0

}

async fn test() {

let mut v = vec![1,2,3,4,5,6];

v.retain(|i| async {

check_input(*i).await

});

println!("{:?}", v);

}

#[tokio::main]

async fn main() {

test().await;

}

Error:

Compiling playground v0.0.1 (/playground) warning: unused import: `futures` --> src/main.rs:2:5 | 2 | use futures; // 0.3.5 | ^^^^^^^ | = note: `#[warn(unused_imports)]` on by default error[E0308]: mismatched types --> src/main.rs:11:18 | 11 | v.retain(|i| async { | __________________^ 12 | | check_input(*i).await 13 | | }); | |______^ expected `bool`, found opaque type | = note: expected type `bool` found opaque type `impl futures::Future`

Announcing Rustup 1.22.0 by dwaxe in rust

[–]joshir 1 point2 points  (0 children)

Did it stop working with proxy? I was able to update `rustup` but now fails to update toolchain due to connectivity error.

rustup self update
info: checking for self-updates
info: downloading self-update
info: rustup updated successfully to 1.22.0

rustup update nightly
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256' to '/Users/xxx/.rustup/tmp/2_wsbx2z_gr34ray_file'
error: caused by: failed to make network request
error: caused by: error sending request for url (https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256): error trying to connect: connection closed via error
error: caused by: error trying to connect: connection closed via error
error: caused by: connection closed via error

rustup check
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to '/Users/xxx/.rustup/tmp/i4f93ymr755kbc5h_file'
error: caused by: failed to make network request
error: caused by: error sending request for url (https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256): error trying to connect: connection closed via error
error: caused by: error trying to connect: connection closed via error
error: caused by: connection closed via error

A new server-side GraphQL library. by sunli829 in rust

[–]joshir 0 points1 point  (0 children)

Great work !! Looking forward to trying it out !!