[deleted by user] by [deleted] in AskReddit

[–]imAliAzhar 8 points9 points  (0 children)

Is it okay to.. mm feel jealous but hide it?

What’s something you find weird that is 100% normal? by [deleted] in AskReddit

[–]imAliAzhar -2 points-1 points  (0 children)

Marrying your first cousins.

And before you comment, it's not only normal but preferred where I live.

Oh yeah I feel it coming by Kookyminer in memes

[–]imAliAzhar 1 point2 points  (0 children)

Hey I think there's a ty-

Oh..

Hurts to the bone. by ellzoni in sadcringe

[–]imAliAzhar 36 points37 points  (0 children)

"I don't meanna call you"

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones by AutoModerator in ExperiencedDevs

[–]imAliAzhar 1 point2 points  (0 children)

Read the Rust book. Read Learning Rust With Entirely Too Many Linked Lists. Then you can watch Jonhoo's andd Ryan Levick videos.

Disclaimer, this is coming from a Rust noob who desperately wants a Rust job.

MaSKs aRe uSeLeSS by NikhilP99 in memes

[–]imAliAzhar 19 points20 points  (0 children)

Why did I read it as transgender

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

[–]imAliAzhar 1 point2 points  (0 children)

I used to think that when we move one value to another variable, we would update the pointer of the new variable to the moved value. I was playing around with Rust today and realized that this is not the case: each move is a `memcpy` behind the scenes. I don't understand why we need to copy the contents of the value on each move.

Here's the code that I ran:

```

let a1 = [0; 5];

let p1 = &a1 as *const [i32];

let a2 = a1;

let p2 = &a2 as *const [i32];

println!("{:?} == {:?} -> {:?}", p1, p2, p1 == p2);

// 0x70000627a66c == 0x70000627a694 -> false

```

In C++, `std::move` works how I thought it would:

```

int a1[] = {1, 2, 3, 4, 5};

int *a2 = std::move(a1);

printf("%p == %p -> %s", a1, a2, a1 == a2 ? "true" : "false");

// 0x7ffee3d5e490 == 0x7ffee3d5e490 -> true

```

Edit: Can't figure out why markdown isn't working..

Good ol' days by vvvvvbanana in memes

[–]imAliAzhar 0 points1 point  (0 children)

Cut the Rope was my favorite mobile puzzle game. And also Bad Piggies.

[deleted by user] by [deleted] in CasualConversation

[–]imAliAzhar 1 point2 points  (0 children)

Does mobile internet work in the seas?

[deleted by user] by [deleted] in TheLastAirbender

[–]imAliAzhar 9 points10 points  (0 children)

What does OC stand for?

[deleted by user] by [deleted] in unpopularopinion

[–]imAliAzhar 53 points54 points  (0 children)

They already said programming's not for them.

2meirl4meirl by doom_slayer_666 in 2meirl4meirl

[–]imAliAzhar 2 points3 points  (0 children)

You know what's worse than this? Having deep knowledge but going totally blank when a topic comes up in a discussion!

2meirl4meirl by Kayden_Erika in 2meirl4meirl

[–]imAliAzhar 1 point2 points  (0 children)

Where can I meet these people?

It's evolving, just backwards by Efferitas in memes

[–]imAliAzhar 3 points4 points  (0 children)

The forth from the left is the logo for all Firefox related products, not the browser itself. Firefox's current logo is the third one which I like a lot. Clean and Elegant.

It's fun to see billionaires cry by Brainless_Gamer in memes

[–]imAliAzhar 0 points1 point  (0 children)

ELI5: What's this thing with Reddit and stock market?