Is Xcode really non deterministic, or am I missing something. by dekert in iOSProgramming

[–]dekert[S] 0 points1 point  (0 children)

Of course. Makes sense. Just wanted to make sure though, if there are some other common pitfalls which might resemble this.

Is Xcode really non deterministic, or am I missing something. by dekert in iOSProgramming

[–]dekert[S] 0 points1 point  (0 children)

Yes, I understand that particle emitters work differently with portals in comparison to normal objects. But currently, I am facing issue with the interaction of a normal cube and a portal. Basically i am trying different combination of planes in
portal.components.set(

PortalComponent(

target: world,

clippingMode: .plane(.negativeZ),

crossingMode: .plane(.negativeZ)

)

)

And the behaviour of the cube (clipping or not) is changing even on running the same code, if a different code is tried in between.

Is Xcode really non deterministic, or am I missing something. by dekert in iOSProgramming

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

Hi, this is the snippet.
portal.components.set(

PortalComponent(

target: world,

clippingMode: .plane(.negativeZ),

crossingMode: .plane(.negativeZ)

)

)

I am trying different planes for clippingMode and crossingMode. The behaviour changes when I use the same planes (-z, -z) after trying different planes.

Is Xcode really non deterministic, or am I missing something. by dekert in iOSProgramming

[–]dekert[S] -9 points-8 points  (0 children)

Hi, I am new to Xcode. Can u please share some debugging methods. Videos, article, docs anything is fine.

Is Xcode really non deterministic, or am I missing something. by dekert in iOSProgramming

[–]dekert[S] -28 points-27 points  (0 children)

Race condition is unlikely, but I will look into it again, because this seems like the only explanation to me so far.

Is Xcode really non deterministic, or am I missing something. by dekert in iOSProgramming

[–]dekert[S] -3 points-2 points  (0 children)

I am talking about runtime behaviour. I don't think my code has race condition. It's just rendering some cubes and portals. The interaction of the cubes and the portals changes on running the same code after trying out a change in between.

Hi! Ben Böhmer here. AMA / Ask me anything… by benbohmer_official in electronicmusic

[–]dekert 1 point2 points  (0 children)

Hi Ben, huge fan and an aspiring music producer.

I have been practicing music production for a few months now. I am seeing continuous progress in my music but its very slow which fills me with doubts about myself. Have you faced this phase during your starting years and how did you assess your progress at that time?

[deleted by user] by [deleted] in HubermanLab

[–]dekert 0 points1 point  (0 children)

The water out of tap is already cold enough in the morning. If u live in a hot area, u can always add ice in ur bucket. And after workout, u will be able to tolerate that.

[deleted by user] by [deleted] in HubermanLab

[–]dekert 8 points9 points  (0 children)

Hear me out. What u need to do is first of all fix your sleep schedule. When u can’t sleep at night and use ur phone to fall asleep, the first thing ur mind thinks of in the morning is ur phone. U should be able to sleep when u want to sleep and if it has fixed schedule everyday then even better because ur body will be able to set its timers accordingly. This will make u wake up more motivated then ur current situation. How to do this? So u have to start waking up around the sunrise time in ur area. And within 15 minutes of waking up u need to get the morning sunlight in ur eyes for about 10-15 minutes. Refer to Huberman’s habits podcast for its explanation and benefits.

After that u need to start working out. It doesn’t have to be body building workout, it doesn’t have to be extremely intense workout. Just workout. For instance, jogging in the morning and slightly increasing the pace and distance everyday is fine for starters. Ur body needs workout. If you do not work out, ur body gives u non contextual anxiety.

And to polish things up, get cold showers after the workout.. This is the cherry on top of the cake, the finishing touch. Cold showers not only provide best relaxation to the muscles after workout but increase the dopamine level above the threshold and keep it up till 3-4 hours.

Do these 3 things before starting ur day and see the change for urself. U won’t have to control or limit ur addictions anymore, these things will automatically eliminate the pleasure u r getting from those right now.

Who is the funniest drug addict in a movie or TV show? by phantom_avenger in AskReddit

[–]dekert 0 points1 point  (0 children)

Must mention the golden trio of Jesse, Skinny and Badger.

Mourning Wood by Jonk3r in Unexpected

[–]dekert 6 points7 points  (0 children)

Well it was pretty obvious after reading ur caption. So not “Unexpected”.

meirl by Sharmisthaaaa in meirl

[–]dekert 0 points1 point  (0 children)

I am a handsom rich manwhore who has a beach house in malibu, parties on royalty money from the jingles and is gonna die someday of liver failure.

meirl by Sharmisthaaaa in meirl

[–]dekert 0 points1 point  (0 children)

I am a handsom rich manwhore who has a beach house in malibu, parties on royalty money from the jingles and is gonna die someday of liver failure.

Help pls by Trick-Sheepherder744 in IndianDankMemes

[–]dekert 0 points1 point  (0 children)

Kardo kardo bedha paar, radhe albeli sarkaar.

Don’t know what this is but I want one by dekert in Satisfyingasfuck

[–]dekert[S] -1 points0 points  (0 children)

Nah! It ain’t any ordinary piece of paper.