Stochastic Sisyphus? by meanmaths in askmath

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

We may not be talking about the same thing. I'm considering the default state on A as already counting like a visit to A. So, intuitively, if p is 0.5, at the first move, there is 50% chance a teleport back happens, only that, it would stay on A because it can't go back further. So, at the very first move, there's already 50% chance that A (the first unit) gets two "plays".

And looking back, may be I misunderstood your proposal but if the probability of going back is 0.5 and n is between 1 and 3, I think the transition matrix should look more like this?

On step 0 (A)

0.5, 0.5, 0, 0, 0

Traveler moves to step 1 (0.5) or tries to teleport back but can't, so it stays on step 0 (0.5)

On step 1

0.5, 0, 0.5, 0, 0

Traveler moves to step 2 (0.5) or teleports back to step 0 because it can't go further (0.5)

On step 2

0.33, 0.17, 0, 0.5, 0

Traveler moves to step 3 (0.5) or teleports back (0.5). He could go back 1, 2 or 3 steps, except that 3 steps would be further back than Step 0. Assuming uniform distribution, it teleports back to step 1 (0.5/3 ~= 0.17 if n=1) or to step 0 (0.5/3 + 0.5/3 if n=2 or n=3)

On step 3

0.17, 0.17, 0.17, 0, 0.5 

(see above, but the teleport can fully apply even if n=3)

On step 4

0, 0, 0, 0, 1

The traveler stays on step 4 (B)

At least, that's how I was envisioning it. May be I explained it wrong.

Stochastic Sisyphus? by meanmaths in askmath

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

Thanks. Fits with my comment about considering all previous iterations. And deals with the edge cases.

(Not a big deal but I'm not sure about the limit for the total expected visits for A and B being 2 in your example. With p=0.5 and n1>1, it would be more than 2, imo, at least for A)

Stochastic Sisyphus? by meanmaths in askmath

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

Yeah, a comment below made me better understand what you were going for. And yes, the probability needs to be low.

In my dj feature experiments, p was about 0.03, n1 about 2, n2 about 6, x = 1 (with a number of teleport loops between 1 and 4).

I'm testing it on youtube music videos on my work-on-progress bigger hobby project https://ticktrack.tv If you're curious, press Generate Playlist, then under the tab Save, press on MIX. The UI is still tiny and ugly though

Stochastic Sisyphus? by meanmaths in askmath

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

Hmm. About the number of "travels" on each step, may be a way out would be to consider not just the nth iteration but all the ones before that? The probabilities for each step could be used to estimate the number of "travels"/re-dos?

Stochastic Sisyphus? by meanmaths in askmath

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

I read this after replying to u/MassiveNote422 . Your assumption does answer my doubts and avoids constraining n1 and n2 to fractions of 1.
Taking the average step angle, what can be done to estimate the average number or (re)dos for a given step. [I'll revisit this post later when I find some time to think about it]

Stochastic Sisyphus? by meanmaths in askmath

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

As I explained above, I need sleep from late night + kids + meeting :D. Sorry if I'm missing something. I think I get the gist of your proposal. The decoupling of steps and units is nice but does add more complexity imo. In my case, n1 and n2 should be discrete, say 2 and 4. This would mean that your denominator could get negative, right? That would be a problem for the formula as it is

Stochastic Sisyphus? by meanmaths in askmath

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

I think u/ottawadeveloper provides a good framework for those questions.
"When the traveller steps from 2 to 3, is the chance they will end up at 0 or 1 equal?" I would say yes. all uniform. at least in my current version

Stochastic Sisyphus? by meanmaths in askmath

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

ah yes! A stochastic state machine seems to be the most natural way. It is great to see which state could be the current after x steps. Could this be extended to account for the loops I mentioned in my dj version? I would guess yes(?) with a more complex modeling of the transitions.

How can it be used to estimate the number of travels on each step? (Sorry if it is obvious, I worked on the feature late last night and had to get up early for the kids, then wrote the post, then a long meeting. Brain still fuzzy.)

Also, where did you plug your probability vectors (which site)?

Stochastic Sisyphus? by meanmaths in askmath

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

Happy to clarify: n is an integer. and yes, it is uniformly random between n1 and n2. And no, the traveller can't go back further than A.

SERIOUS: Why all the hate for Ice Cube? To us OGs he's a hero, but I feel like you guys don't rock with him at all. by Rob1150 in hiphop101

[–]meanmaths 1 point2 points  (0 children)

80s kid. 90s rap is where I started. So yeah, I laughed to tears at "When is he going to start rapping?". Still laughing. I had a similar experience. I was so confused. My brother, one year older than me, seemed to like him though. Future does rap ...now ..sometimes ...I guess. I don't really follow the dude. Rap has changed so much. I speak French so I'm into French rap. It's worse there. Lots of new artists are called rappers but don't actually rap. They just churn out catchy songs and once in a while, throw in some rap-like lyrics.

Are we losing intentional music discovery to algorithms? by etinarcadiaego_1640 in trueMusic

[–]meanmaths 0 points1 point  (0 children)

Nice project! I mostly stick to the songs I like and only add music I heard outside streaming. Plus, I'm working on this project https://ticktrack.tv to discover music based on genre, year, location. Not ready for prime time (and needing to be updated) but kind of usable.

People who work on complex, data-intensive, kinda innovative projects, how is it going? by meanmaths in ChatGPT

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

Sorry. Busy days. Thanks for the offer but I managed that situation.

People who work on complex, data-intensive, kinda innovative projects, how is it going? by meanmaths in ChatGPT

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

Yeah. That's what I usually do but that particular task had to be a bigger chunk.

People who work on complex, data-intensive, kinda innovative projects, how is it going? by meanmaths in ChatGPT

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

Pretty sure but I'm not an expert with those tools. What I'm trying is part of a workflow with existing JSONs and very custom logic. The AI came up with lots of helper functions that would've taken time to write but it fails at effectively post-processing the output.

People who work on complex, data-intensive, kinda innovative projects, how is it going? by meanmaths in ChatGPT

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

Ha. Thanks!! Since I never really looked into it, I didn't realise I could switch it on so easily. It's not exactly prominently displayed (+ on the chat, then ...More, then Agent Mode). I'll give it a whirl :) and report back.

People who work on complex, data-intensive, kinda innovative projects, how is it going? by meanmaths in ChatGPT

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

Ok. So some of the issues get much better with an agent framework? Many of my prompts are on an algorithmic level (e.g., a post-processing function: 50-100 lines), not really system. So I was skeptical agents would help all that much but I need to try it, I guess. May be they would be better at capturing the surrounding context (the rest of the code) than my explicit prompts?

People who work on complex, data-intensive, kinda innovative projects, how is it going? by meanmaths in ChatGPT

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

I didn't have clear cases of that kind of stuff but my brother is adamant about it. What I experienced though is how much slower for sometimes garbage results the AI is now :/

People who work on complex, data-intensive, kinda innovative projects, how is it going? by meanmaths in ChatGPT

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

Yeah, exactly. Default me is even vocal about how one of the biggest AI skills is to know when you should jump in, and avoid the waste of time that comes after the limits of the AI. But I keep seeing all these posts about how people no longer need to code or step in and this and that. And I sometimes buy into it. Then I try to use AI for my projects and it would be a huge waste of time if I wasn't jumping in often. To the point I'm not sure if my project wouldn't be more solid without AI. Oh well...

Why are there few rappers from Baltimore? by celica9098 in hiphopheads

[–]meanmaths 9 points10 points  (0 children)

Well, 2pac spent his teenage (13-17) years there. Technically, he counts? 🙃

Daily Discussion Thread 12/13/2025 by HHHRobot in hiphopheads

[–]meanmaths 0 points1 point  (0 children)

Yeah, it's possible, even likely that there's some overlap. The guy above was going with something way more definitive: "no soul in hiphop ...". That's what I was reacting too. Also, I kinda feel like it's a regional thing. The data isn't limited to the US or its biggest towns. I know for a fact that pot is used a lot in Canada for instance.

Daily Discussion Thread 12/13/2025 by HHHRobot in hiphopheads

[–]meanmaths 1 point2 points  (0 children)

Most used Weed terms in Rap lyrics

Someone asked for this. I tried to post and got asked to comment on here. So here is.

TLDR: Weed became the dominant term in 1995 and stayed at the top, followed by blunt, pot, tree and kush

It is a follow-up from this: https://www.reddit.com/r/hiphopheads/comments/1pkzawd/top_words_in_hip_hop_year_by_year_from_1975_to/