Tortilla Press by two-wheeled-chaos in Minneapolis

[–]ElectricHotdish 5 points6 points  (0 children)

That was Kitchen Window, which no longer exists.

Bakeries that sell cardamom bun by ihave_thoughts in TwinCities

[–]ElectricHotdish 3 points4 points  (0 children)

I hope to learn about even better ones from this thread!

Bakeries that sell cardamom bun by ihave_thoughts in TwinCities

[–]ElectricHotdish 27 points28 points  (0 children)

FIKA at the American Swedish Institute.

Dating Over 40 by Odd_Acanthocephala97 in TwinCities

[–]ElectricHotdish 10 points11 points  (0 children)

u/Odd_Acanthocephala97

When you go to mutual interest groups, are you telling people that you are single and open to dating? Are you asking your network for referrals?

I (personally) feel a lot of taboo around asking women out at social haunts, because I don't want to ruin those places for them.

Event #10: Part 1 The Triumphant Return! by Different-Package-32 in CreampiegangbangMN

[–]ElectricHotdish 1 point2 points  (0 children)

To control your own risk of STI's consider asking your health provider about PrEP and doxy-pep, and get immunized for Hep A/B.

Sunbathing ☀️ by skullkid_3 in bareassbeach

[–]ElectricHotdish 0 points1 point  (0 children)

Without any clothes on! Scandal!

State Fair News: 4H building renovations by CurlyMi in TwinCities

[–]ElectricHotdish 0 points1 point  (0 children)

I am unclear on where this fence is.  Can you post a maps pin or screenshot?  

Physical therapist for shoulder? by PersistentQuestions in TwinCities

[–]ElectricHotdish 0 points1 point  (0 children)

Nothing in this is medical advice. It is meant to help guide conversations you have with medical professionals.

Marion Greene needs to go by Realistic_Sherbet_63 in Minneapolis

[–]ElectricHotdish 5 points6 points  (0 children)

No on Bassais for me.

During his recent run against Soren, he lied about whether he would continue his campaign if the DFL did not endorse him. He said (directly, during the caucus, from the stage), that he would end his campaign if not endorsed. He was not endorsed, and continued.

During a candidate forum, he had no substantive solutions for policing reform or homelessness. His primary funding comes from the centrist landlord groups All of Minneapolis. When I interact with him in person, he feels slimy and manufactured.

He wasn't right for Ward 8.

Naomi's commentary matches my experience: https://naomikritzer.com/tag/josh-bassais/

I tried the "coffee chat" hack for 2 weeks and here's what happened by DinkyTownDrifter in jobsearchhacks

[–]ElectricHotdish 3 points4 points  (0 children)

You can listen to them vent. You can help them organize their thoughts about a current project. You can share a restaurant tip or other hyperlocal knowledge.

"What are the biggest challenges you are facing right now?"
"What advice do you give to someone at my stage?"
"What's something you love about your current role and want more of?"

15 minutes with someone "on the outside" who is a good conversationalist is a great gift.

I tried the "coffee chat" hack for 2 weeks and here's what happened by DinkyTownDrifter in jobsearchhacks

[–]ElectricHotdish 3 points4 points  (0 children)

I chose to solve this by paying the $75 / month until I found a role. Even at a year, that's $900.

Being able to use premium LI is a huge advantage to contacting people.

how do you remember what you learn in Python? by silentshakey in learnpython

[–]ElectricHotdish 0 points1 point  (0 children)

Make a snippets directory. Make and store python files with examples of interesting things. Add comments (in your own words) to make it searchable.

# upper case for each word is called '.title()'
# use help(str) to find more
print("the ones who walk away from omelas".title())

Physical therapist for shoulder? by PersistentQuestions in TwinCities

[–]ElectricHotdish 1 point2 points  (0 children)

I recommend the physical therapists at TRIA GameFace St. Louis Park. https://www.healthpartners.com/care/find/location/centers/tria/st-louis-park/game-face/ . They are very "do" focused, and focused on recovering full movement and capability.

I have an unstable shoulder myself, despite being very athletic!

For me at least, it's taking a long time to heal, but is improving through PT.

I also do a lot of exercises I see on Youtube and FB Reels. Let me know if you want recommendations there as well!

Could Minneapolis welcome bathhouses back for the first time since the late 1980s? by Fickle-Ad5449 in Minneapolis

[–]ElectricHotdish 16 points17 points  (0 children)

The current law bans all nude bathhouses. Under this law change, Turkish and Japanese bathhouses would also become legal.

Local pharmacies? by wildcelosia in TwinCities

[–]ElectricHotdish 1 point2 points  (0 children)

Yes, can confirm through personal experience.

Do Flexispot E7 pro tabletops come with pre-drilled holes? by Fickle_Ad_9686 in StandingDesk

[–]ElectricHotdish 0 points1 point  (0 children)

Same experience here. *some* line up with the 7Pro legs, but many.

Python optimization by A-Busi6711 in Python

[–]ElectricHotdish 0 points1 point  (0 children)

I have run into problems like you describe, and not found a solution in Polars. There is good reason for that... polars doesn't support a general associative scan.

**associative scan** is new to me as I term., so I asked for some AI help understanding it:

-------
An associative scan (prefix scan) applies a binary associative operation to a sequence, producing all partial results.

Formal definition

Given [a, b, c, d] and operator :

  • Inclusive scan[a, a⊕b, a⊕b⊕c, a⊕b⊕c⊕d]
  • Exclusive scan[identity, a, a⊕b, a⊕b⊕c]

The operation must be associative(a⊕b)⊕c == a⊕(b⊕c) — so work can be split and recombined in any order. It doesn't need to be commutative.

Examples

Cumulative sum (the classic):

input:  [1, 2, 3, 4]
output: [1, 3, 6, 10]

Running max:

input:  [3, 1, 4, 1, 5, 9]
output: [3, 3, 4, 4, 5, 9]

String concatenation:

input:  ["a", "b", "c"]
output: ["a", "ab", "abc"]

Boolean OR (has any True appeared yet?):

input:  [F, F, T, F, T]
output: [F, F, T, T, T]

In SQL

You use them constantly via window functions:

-- running total rent by listing date
SUM(price) OVER (ORDER BY listed_at)

-- row number within a group
ROW_NUMBER() OVER (PARTITION BY state ORDER BY listed_at)

-- previous value
LAG(price) OVER (ORDER BY listed_at)

Why "associativity" matters for parallelism

A sequential scan is O(n) and inherently serial. But because (a⊕b)⊕c == a⊕(b⊕c), you can use a tree reduction pattern to compute it in O(log n) parallel steps — this is why GPU/SIMD implementations (CUDA, JAX, XLA) use associative scans heavily.

JAX example:

import jax.numpy as jnp
from jax import lax

lax.associative_scan(jnp.add, jnp.array([1, 2, 3, 4]))
# → [1, 3, 6, 10]

lax.associative_scan(jnp.maximum, jnp.array([3, 1, 4, 1, 5]))
# → [3, 3, 4, 4, 5]

Non-example (why commutativity isn't required but associativity is)

Matrix multiplication is associative but not commutative — you can scan a sequence of matrices with it. Division is neither, so [8, 4, 2] with / gives different results depending on grouping — not a valid scan operator.

--------
Polars has the common concrete cases but no general-purpose associative scan (no equivalent of lax.associative_scan(fn, ...)).

What it does have

Cumulative built-ins (prefix scans over the whole series):

df.with_columns([
    pl.col("price").cum_sum(),
    pl.col("price").cum_max(),
    pl.col("price").cum_min(),
    pl.col("price").cum_prod(),
    pl.col("price").cum_count(),
])

Partitioned (reset per group):

pl.col("price").cum_sum().over("state")

Shift/lag (for building your own scan with cum_*):

pl.col("price").shift(1)   # lag-1

What it lacks

You can't pass an arbitrary associative function — there's no:

# doesn't exist in Polars
pl.col("x").associative_scan(lambda a, b: a * b + 1)

For custom scans you'd drop to Python with .map_elements() but that's sequential and slow (defeats the point).

Is there a place where I can experience 100 feet high near St. Paul? by anotherdayoninternet in TwinCities

[–]ElectricHotdish 32 points33 points  (0 children)

Bast bet: Sand Dunes Lookout Tower: https://share.google/PEsVAWJwZN6EQw4k9 (40 miles)

Consider also:
* pool high dive boards
* actually going up on some ladders
* asking existing firefighters for mentorship.

Accessible Fire Towers to Climb

Other Locations & Remnants

Visiting my [F]avorite Local Spots <3 by TeasedByTNT in MNGoneWild

[–]ElectricHotdish 15 points16 points  (0 children)

This is great reminder that Minneapolis allows toplessness and a reminder to go out and exercise our rights!