[-] aeon_flux@sh.itjust.works 1 points 1 year ago

Through the green? Like through parks?

[-] aeon_flux@sh.itjust.works 2 points 1 year ago

I saw that there are plenty of weird people as well. How do you stay safe in the area?

[-] aeon_flux@sh.itjust.works 7 points 1 year ago

What makes me feel so bad is feeling like I was singled out and persuaded. It was also really weird that he seemed to try to convince me to go with him - he could have asked for the money itself, right? I didn't think to ask if he'd just accept the sum without having me go with him. If he'd refused, that would have been a clear red flag that he was trying to get me to some shady spot and hurt me.

But then again, if I were in that position, I could imagine asking people to come with me to do the payment for them so they see that I'm not swindling them and taking the money to buy drugs instead.

๐Ÿ˜…

[-] aeon_flux@sh.itjust.works 5 points 1 year ago

Yes, I had the same same thing happen with the ATM being very close and all that. I even offered to get him anything he wanted from a nearby place but he insisted on the shelter (understandably so if it did truly help him have a roof over his head for a while). thanks for your reply, I think I just need someone to talk to, i am scared at the possibility of me actually going through with it and having something bad happen to me. Not used to being this guarded.

17

Hi, I am an early twenties woman just moved to London almost a month ago and was walking home after having picked up a parcel from my local Tesco. I live in the Bethnal Green/Cambridge Heath area, so not the best but I don't think it's the worst either(?).

Anyways, a homeless person just approached me and for some reason I didn't walk away like I would usually do, as I was a bit spaced out. He asked me if I could come close by to help pay for his monthly shelter at the church which would have ended up being like 17 gbp.

I considered it, especially knowing there are homeless shelters in the area (and he was following me so it was a bit awkward), but told me it's cash and I don't do cash and was not going to follow a random person to somewhere unknown even though he said it was "just around the corner" so I finally told him off and he simply left, complaining about how he is used to being ignored.

I have very mixed feelings about the encounter and wish it didn't happen. Checked the map, there does seem to be a shelter in the direction he pointed me towards but it was not "just around the corner" as he put it.

This happened on a1209, between the McDonald's and Bethnal Green tube station.

Did I just dodge a huge bullet? I feel bad - I wish I could help people in need but I feel like I would have risked too much for no reason. The entire encounter felt off somehow. I guess I'm just shocked at the possibility of someone literally picking me off the street and trying to trick me so he could hurt me, and looking believable. I must have been very lucky in my life to have never felt this, and I hate having to become cold/heartless/etc to make sure I stay safe.

Thanks for reading, I just needed to tell this to someone I guess.

1

Hi,

I'm studying for an exam coming up soon and I'm trying to figure out what is the functional difference between these two approaches:

#pragma omp parallel for
	for(unsigned int i = 0; i < G.Out.bucket_count(); i++){
		for(auto itv = G.Out.begin(i); itv != G.Out.end(i); itv++){

			unsigned int v = itv->first;

			#pragma omp parallel for
			for(unsigned int j = 0; j < G.Out[v]._map.bucket_count(); j++){
				for(auto ite = G.Out[v]._map.begin(j); ite != G.Out[v]._map.end(j); ite++){

					unsigned int w = ite->first;

					if(o[v] > o[w])
					 #pragma omp critical
					 p[o[v]] = min(p[o[v]],o[w]);

				}
			}

		}

and

	#pragma omp parallel for
	for(unsigned int i = 0; i < G.Out.bucket_count(); i++){
		for(auto itv = G.Out.begin(i); itv != G.Out.end(i); itv++){

			unsigned int v = itv->first;

			if(p[v] == v){

				unsigned int parent = v; //=p[v]

				#pragma omp parallel for reduction(min : parent)
				for(unsigned int j = 0; j < G.Out[v]._map.bucket_count(); j++){
					for(auto ite = G.Out[v]._map.begin(j); ite != G.Out[v]._map.end(j); ite++){
						unsigned int w = ite->first;
						if(v > w)
						 parent = min(parent,w);
					}
				}

				p[v] = parent;
				if(p[v] != v) changes = 1;

			}

		}
	}

In the first example, the minimum between the two values is calculated using a critical section, while the second one uses a reduction. Both work, and they seem equivalent to me, when would one choose one or the other?

Thanks, and sorry if the question is too niche. Any other info about OpenMP is greatly appreciated :D

aeon_flux

joined 1 year ago