veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

214
active users

#function

0 posts0 participants0 posts today

Looking for ideas for building a little #Rstats function.

Let's say I asked a bunch of people if they felt older, younger, or the same age as half a dozen randomly-selected ages.

Let's say that because that's what I did.

Example: Jane is asked this question about ages 17, 19, 25, 38, 41, and 52.

Each person answers younger/same/older to each of the ages (each person also gets a different selection of ages to answer).

Ultimately, I want to use those answers to get an estimate of the age each person feels. First, however, I want to see how numerically consistent each person's answers are.

Examples: if Jane said
17: older
19: older
25: older
38: same age
41: younger
52: younger

That's numerically consistent. However, if she said

17: older
19: younger
25: older
38: same age
41: older
52: younger

that's not consistent (she can't be both younger than 19 and older than 41).

It's also consistent if she said she felt younger than all the ages or older than all of them.

Maybe because it's late or maybe because I'm slow, I'm having a hard time approaching this. I'll leave it on the back burner for a couple of days since it's late where I am and I won't have time for it tomorrow.

If any of y'all (and many of you are ridiculously more quantitatively skilled than I am) have ideas of how to approach a function for this, or -- even better -- if a solution already exists as a formula or something, lay it on me. I'll be in your debt*.

*up to but not surpassing verbal compliments and possibly $2 USD

#Speedrunners are #vulnerability researchers, they just don't know it yet
zetier.com/speedrunners-are-vu

“Super Mario World runners will place items in extremely precise locations so that the X,Y coordinates form #shellcode they can jump to with a dangling reference. Legend of #Zelda: Ocarina of Time players will do heap grooming and write a #function pointer […] so the game “wrong warps” directly to the #end #credit sequence… with nothing more than a #game #controller and a steady #hand

Zetier · Speedrunners = vulnerability researchersVideo game enthusiasts are developing experience in the cybersecurity industry by accident. Discover how gaming skills can translate into intriguing careers.

The Fourier Transform is a mathematical operation that transforms a function of time (or space) into a function of frequency. It decomposes a complex signal into its constituent sinusoidal components, each with a specific frequency, amplitude, and phase. This is particularly useful in many fields, such as signal processing, physics, and engineering, because it allows for analysing the frequency characteristics of signals. The Fourier Transform provides a bridge between the time and frequency domains, enabling the analysis and manipulation of signals in more intuitive and computationally efficient ways. The result of applying a Fourier Transform is often represented as a spectrum, showing how much of each frequency is present in the original signal.

\[\Large\boxed{\boxed{\widehat{f}(\xi) = \int_{-\infty}^{\infty} f(x)\ e^{-i 2\pi \xi x}\,\mathrm dx, \quad \forall\xi \in \mathbb{R}.}}\]

Inverse Fourier Transform:
\[\Large\boxed{\boxed{ f(x) = \int_{-\infty}^{\infty} \widehat f(\xi)\ e^{i 2 \pi \xi x}\,\mathrm d\xi,\quad \forall x \in \mathbb R.}}\]

The equation allows us to listen to mp3s today. Digital Music Couldn’t Exist Without the Fourier Transform: bit.ly/22kbNfi

Gizmodo · Digital Music Couldn't Exist Without the Fourier TransformThis is the Fourier Transform. You can thank it for providing the music you stream every day, squeezing down the images you see on the Internet into tiny
Replied in thread

@folkerschamel @ado

And yes, many of them are #bugs that would be #agonizing to find by other routes. Your unit test #probably doesn't try passing a #float to that #function you wrote that you only considered using ints with - but with hints, mypy will find that "one weird way" that a float value returned from somewhere else could get passed into the function.

Type hints in code - used well and consistently, no using "#Any" to shut mypy up - make me 50% more productive, I think. </anecdote>

#functionalprogramming

Many people's vote for most #beautiful construct in #math is \[ e^{i\pi}+1=0. \]

Yeah, maybe. But I think a close contender (if you include the #CS realm) is \[ \lambda b.\lambda e.eb . \]

This serves as the complete #Church encoding of #exponentiation in #LambdaCalculus, driving home subtler points about #function #mapping and ordered pairs and the primacy of exponentiation over add/mult, both of which have uglier #LC representations.

en.wikipedia.org/wiki/Lambda_c

en.wikipedia.orgLambda calculus - Wikipedia

Overdue #introduction (soz):

I’m a #philosopher of science/biology currently working on social #norms, #function & #health in light of cultural #evolution. I also write on #signaling & evolution of #religion, & dabble in #modeling, #simulation, & #crosscultural analysis via R.
Past selves were into personal #identity, #ethics, & health services. Also did a #physics degree long ago.

Will discuss pretty much anything, but am prone to rambling on about my #kids.

@philosophy #philsci #philbio