mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#function

2 posts2 participants0 posts today
Rémi Eismann<p>One day, one decomposition<br>A001494: Numbers k such that phi(k) = phi(k+2)</p><p>3D graph, threejs - webGL ➡️ <a href="https://decompwlj.com/3Dgraph/A001494.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">decompwlj.com/3Dgraph/A001494.</span><span class="invisible">html</span></a><br>3D graph Gen, threejs animation ➡️ <a href="https://decompwlj.com/3DgraphGen/A001494.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">decompwlj.com/3DgraphGen/A0014</span><span class="invisible">94.html</span></a><br>2D graph, first 500 terms ➡️ <a href="https://decompwlj.com/2Dgraph500terms/A001494.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">decompwlj.com/2Dgraph500terms/</span><span class="invisible">A001494.html</span></a></p><p><a href="https://mathstodon.xyz/tags/decompwlj" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>decompwlj</span></a> <a href="https://mathstodon.xyz/tags/math" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>math</span></a> <a href="https://mathstodon.xyz/tags/mathematics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mathematics</span></a> <a href="https://mathstodon.xyz/tags/sequence" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sequence</span></a> <a href="https://mathstodon.xyz/tags/OEIS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OEIS</span></a> <a href="https://mathstodon.xyz/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://mathstodon.xyz/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a> <a href="https://mathstodon.xyz/tags/3D" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>3D</span></a> <a href="https://mathstodon.xyz/tags/numbers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>numbers</span></a> <a href="https://mathstodon.xyz/tags/Euler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Euler</span></a> <a href="https://mathstodon.xyz/tags/totient" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>totient</span></a> <a href="https://mathstodon.xyz/tags/function" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>function</span></a> <a href="https://mathstodon.xyz/tags/phi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phi</span></a> <a href="https://mathstodon.xyz/tags/graph" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>graph</span></a> <a href="https://mathstodon.xyz/tags/threejs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>threejs</span></a> <a href="https://mathstodon.xyz/tags/webGL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webGL</span></a></p>
FunctionalProgrammingPython match vs Traditional if-elif: A Modern Take on Switch Statements In Python, the match keyword is used for pattern matching, introduced in Python 3.10 as part of structural pattern matching, ...<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/programming" target="_blank">#programming</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/languages" target="_blank">#languages</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/python" target="_blank">#python</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Python" target="_blank">#Python</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/code" target="_blank">#code</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/comparison" target="_blank">#comparison</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/function" target="_blank">#function</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/dispatch" target="_blank">#dispatch</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/if" target="_blank">#if</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/elif" target="_blank">#elif</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/match" target="_blank">#match</a><br><br><a href="https://helloacm.com/python-match-vs-traditional-if-elif-a-modern-take-on-switch-statements/" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=FunctionalProgramming" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=LXfpPzYQMiHsPmYdcuTozaM013Y&amp;interestId=FunctionalProgramming" rel="nofollow noopener" target="_blank">Match</a>
LLMsAI use linked to lower thinking skills Recent scientific studies are shedding light on a worrying trend: the growing use of artificial intelligence (AI) tools, including popular […] Recent scient...<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/News" target="_blank">#News</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Technology" target="_blank">#Technology</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Technology" target="_blank">#Technology</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/News" target="_blank">#News</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/AI" target="_blank">#AI</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Artificial" target="_blank">#Artificial</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Intelligence" target="_blank">#Intelligence</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/cognative" target="_blank">#cognative</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/function" target="_blank">#function</a><br><br><a href="https://euroweeklynews.com/2025/07/17/ai-use-linked-to-lower-thinking-skills/" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=LLMs" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=D9QssTHhrSbsVrqOcXLxju8gyo4&amp;interestId=LLMs" rel="nofollow noopener" target="_blank">Match</a>
Microfractal<p>Look at this 8 second long loop of visualizing \(f(z)=sin(z^a)\) with a rotating along the unit circle.</p><p><a href="https://mathstodon.xyz/tags/Math" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Math</span></a> <a href="https://mathstodon.xyz/tags/Complex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Complex</span></a> <a href="https://mathstodon.xyz/tags/Function" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Function</span></a> <a href="https://mathstodon.xyz/tags/GLSL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GLSL</span></a></p>
Microfractal<p>Made a new <a href="https://mathstodon.xyz/tags/complex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>complex</span></a> <a href="https://mathstodon.xyz/tags/function" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>function</span></a> <a href="https://mathstodon.xyz/tags/visualizer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visualizer</span></a> using <a href="https://mathstodon.xyz/tags/Shadertoy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shadertoy</span></a> <a href="https://mathstodon.xyz/tags/GLSL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GLSL</span></a> </p><p>It creates more lines in regions with a lower gradient/derivative, which feels like a grid with repeating steps/lines. Functions can be explored much better in my opinion.</p><p>Link: <a href="https://www.shadertoy.com/view/tXc3Ws" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">shadertoy.com/view/tXc3Ws</span><span class="invisible"></span></a></p><p><a href="https://mathstodon.xyz/tags/ComplexAnalysis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ComplexAnalysis</span></a> <a href="https://mathstodon.xyz/tags/DomainColoring" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DomainColoring</span></a> <a href="https://mathstodon.xyz/tags/Math" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Math</span></a> <a href="https://mathstodon.xyz/tags/CreativeCoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CreativeCoding</span></a></p>
LLMsHow To Keep AI From Making Your Employees Stupid Where I live in Bend, Oregon, the biggest challenge often used to be deciding which hiking trail to conquer. These days, a new, more existential que...<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Features" target="_blank">#Features</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/AI" target="_blank">#AI</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/brain" target="_blank">#brain</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/function" target="_blank">#function</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/cognitive" target="_blank">#cognitive</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/offload" target="_blank">#offload</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/GenAI" target="_blank">#GenAI</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/LLM" target="_blank">#LLM</a><br><br><a href="https://www.bigdatawire.com/2025/07/09/how-to-keep-ai-from-making-your-employees-stupid/" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=LLMs" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=FqcOgj8VpbvTzvgJj5md2zamOlU&amp;interestId=LLMs" rel="nofollow noopener" target="_blank">Match</a>

One day, one decomposition
A258024: Natural numbers n such that the iteration of the function floor(tan(k)) applied to n eventually reaches [the fixed point] 1 (or any larger integer if such fixed points exist), where k is interpreted as k radians

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A258024.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A2580
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

Oh my have I been having fun at this Glass nerd Art Society conference.

Just recently we went to the Parlay pipe show (usually in Philly) after Susie Silbert gave an amazing talk about glass pipes. The pipes in person are really wild- the level of detail is incredible!

I have been hearing such nice things about my work and it leaves me super flattered every time. I'm thrilled to see so many glass friends and artists I admire. I bent Kacie Lees' Texas pattern a few days ago in front of some friends... Gonna pump it tomorrow before I give a demo at 10:30am- WIIFM in ruby red with wholesale bends.

Meryl Pataky and Taylor Healy gave an amazing lecture on neon conservation that had some of my work in it and made my eyes tear up it was so beautiful. Its been so fun to see old friends and make new ones! Some usernames on this other weird photo site include @alexfreschglass and @calyxann

Integrals of inverse functions!

Proof without words (see image; credit: Jonathan Steinbuch, CC BY-SA 3.0, via Wikimedia Commons)...

For any montonic and invertible function \(f(x)\) in the interval \([a,b]\):
\[\displaystyle\int_a^bf(x)~ \mathrm dx+\int_{f(a)=c}^{f(b)=d}f^{-1}(x)~\mathrm dx=b\cdot f(b)-a\cdot f(a)=bd-ac\]

If \(F\) is an antiderivative of \(f\), then the antiderivatives of \(f^{-1}\) are:
\[\boxed{\displaystyle\int f^{-1}(y)~\mathrm dy=yf^{-1}(y)-F\circ f^{-1}(y)+C}\]
where \(C\) is an arbitrary constant (of integration), and \(\circ\) is the composition operator (function composition).

For example:
\[\begin{align*}\displaystyle\int \sin^{-1}(y) \, \mathrm dy &= y\sin^{-1}(y) - (-\cos(\sin^{-1}(y)))+C\\ &=y\sin^{-1}(y)+\sqrt{1-y^2}+C\end{align*}\]

\[\displaystyle\int \ln(y) \, dy = y\ln(y)-\exp(\ln(y)) + C= y\ln(y)-y + C.\]

#Function #InverseFunction #InverseFunctions #Functions #Integral #Integrals #Antiderivative #Integration #Calculus #FunctionComposition #CompositeFunction)

Replied in thread

@cocoaphony I've gone back and tested it and tearDown is being called even if the test throws.

This is with

print("⚠️ \(#function): start")
defer { print("⚠️ \(#function): end") }

in the provideScope, setUp, tearDown functions.

I guess that means the Test macro is wrapping the body and not really throwing but rather reporting the error when `provideScope` has finished running.

The test function still has to be throws so that we can write tests that throw in case of failure.