How to Average in Prolog (2017)
https://storytotell.org/how-to-average-in-prolog
#HackerNews #How #to #Average #in #Prolog #Prolog #Programming #Average #Function #Hacker #News #2017
How to Average in Prolog (2017)
https://storytotell.org/how-to-average-in-prolog
#HackerNews #How #to #Average #in #Prolog #Prolog #Programming #Average #Function #Hacker #News #2017
https://dev.to/425show/securing-a-net-azure-function-with-azure-ad-31da - #AzureAD (now #Entra) #auth to a #dotNET #Azure #Function. Awesome video and code walk-through https://uk.linkedin.com/in/christosmatskas.
@bvibber oh boy now you're talking my language. ;)
We should chat, I've got some ideas on how to better transfer structured data as "wikitext" args. And the Wikifunctions folks have some useful interactions there as well.
Short story is that arguments and return values for parser functions are PFragments, which can be rendered as wikitext/HTML but also passed directly as a structured value.
Eg {{#function:foo|{{#function:bar}}}} - the value returned by bar could be rendered as a wikitext string, but could also be addressed directly as a zobject by #function:foo avoiding all the games we usually have to play to armor structured data against wikitext transforms.
Generalizing a bit: {{foo:{{#array:foo|bar|baz}}...}} is a way to pass a structured array as an argument, with {{#array}} being a constructor function for that value.
Etc.
Level up your R functions! Discover best practices for returning multiple values - from simple vectors to structured outputs. Perfect for data pipeline development.
Level up your R functions! Discover best practices for returning multiple values - from simple vectors to structured outputs. Perfect for data pipeline development.
I am getting into writing PostgreSQL functions in the C language and I am particularly interested in ordered-set aggregate functions.
Is there anyone out here who can direct me in the right direction?
️ Quick tips for R function returns! Learn about explicit vs implicit returns and how to document your functions. Read the full guide and share your thoughts!
How to Return Value from a Function in R: https://www.spsanderson.com/steveondata/posts/2025-04-21/
️ Quick tips for R function returns! Learn about explicit vs implicit returns and how to document your functions. Read the full guide and share your thoughts!
How to Return Value from a Function in R: https://www.spsanderson.com/steveondata/posts/2025-04-21/
Unicursal ABSOLUTE RULE ABSOLUTE LIBERTY INDIVIDUAL WILL Propaganda from Hermetic Library Office of the Ministry of Information https://hermetic.com/information/absolute-rule-absolute-liberty-individual-will/index
One day, one decomposition
A217139: Numbers n such that phi(n) = phi(n+12), with Euler's totient function phi = A000010
3D graph, threejs - webGL https://decompwlj.com/3Dgraph/A217139.html
2D graph, first 500 terms https://decompwlj.com/2Dgraph500terms/A217139.html
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
https://zetier.com/speedrunners-are-vulnerability-researchers/
“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”
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: http://bit.ly/22kbNfi
Motivation:
Let \(X\subseteq \mathbb{R}\) and \(Y\subseteq\mathbb{R}\) be arbitrary sets, where we define a function \(f:X\to Y\).
I want a measure of discontinuity which ranges from zero to positive infinity, where
• When the limit points of the graph of \(f\) is continuous almost everywhere, the measure is zero
• When the limit points of graph of \(f\) can be split into functions, where \(n\) of those functions are continuous almost everywhere, the measure is \(n-1\)
• When \(f\) is discrete, the measure is \(+\infty\)
• When \(f\) is "hyper-discontinuous" [1], the measure is \(+\infty\)
• When the graph of \(f\) is dense in the derived set of \(X\times Y\), the measure is \(+\infty\)
• When the measure of discontinuity is between zero and infinity, the more "disconnected" the graph of \(f\), the higher the measure of discontinuity.
Question 1: How do we fix the criteria in the motivation, so they are consistent with eachother?
Question 2: Is there a measure of discontinuity which gives what I want?
Attempt: I tried to answer [2] this using a previous question, but according to users it's needlessly complicated and likely is incorrect. I'm also struggling to explain why this answer [2] has potential.
[1]: https://math.stackexchange.com/questions/4347133/do-these-hyper-discontinuous-functions-exist
https://www.europesays.com/1899157/ Expressen Direkt – senaste nytt i korthet #Function/taBortAiRöst #nyheter #Sverige #sweden
https://www.europesays.com/1895572/ En till sjukhus efter olycka på E18 – Expressen #Function/taBortAiRöst #nyheter #Sverige #sweden
Python's built-in help() function: It's like the #Clippy of #programming languages, ready to offer "helpful" advice that you didn't ask for.
If you're ever lost in the labyrinth of Python's #documentation and want to feel even more confused, just type help()!
https://www.pythonmorsels.com/help-features/ #Python #help #function #humor #confusion #HackerNews #ngated
The features of Python's help() function — https://www.pythonmorsels.com/help-features/
#HackerNews #Python #help #function #Python #features #programming #tips #tech #education
Pipeline release! nf-core/funcscan v2.1.0 - v2.1.0 - Egyptian Koshari - 2025-03-05!
Please see the changelog: https://github.com/nf-core/funcscan/releases/tag/2.1.0