Live data from Hacker News

Poisson's Equation

mattferraro.dev

31–40 of 167 posts

Re: Poisson's Equation

#31

EDIT: I'm leaving this here to help anyone else who might have been confused by this, which I imagine is likely. What confused me is that the author is not treating the matrix as a function from vectors to vectors, as is the customary way to treat matrices as functions. Rather, they're using the matrix to represent a sparse, regular sampling of a function from vectors to scalars. --- This article makes no sense right…

A matrix can be seen as the discrete representation of a function…

Re: Poisson's Equation

#32

Earlier quoted context omitted.

Wow! It seems you have the magical capacity to ingest the reference to an equation and instantly derive an intuition for how it works and what it's useful for. Learning technology this advanced has never been seen before by humankind, I hope you share it with the rest of us!

Everything being referenced is stuff you'd learn in a typical technical education as part of either calculus or statistics. Your reply comes off as of defensive in a way that implies that you're shocked some one would know any of this stuff.

Numerical solutions of PDE are hardly studied in a typical technical education in calculus (it requires more theoretical machinery) or statistics (PDEs in statistics is somewhat narrow and specialized).

Re: Poisson's Equation

#33
post #9

Sorry but can there be more context to why it is a powerful tool?

This is a typical issue with HN posts. Some poor soul wrote a somewhat competent and maybe even lengthy blog post / article about something they really care about and are knowledgeable about. It may be directed at a specific audience, or maybe just screaming into the void to record down some insight they had for themselves to read again later, or similar. And they use a more-than-necessary general title like "the bes…

Well said. There is also the other extreme, where articles of the kind you described don't "use a more-than-necessary general title" but one that is so specific and narrow that it will never fly on HN, even if the content is otherwise a good fit for a valuable HN discussion.

The dilemma with titles is that most of them fall into one of two categories:

- titles where the author didn't put much effort into

- titles where the author tried too hard

The first category is often confusing because the article doesn't fit the title well. The second category often ends up as clickbait.

Re: Poisson's Equation

#34

EDIT: I'm leaving this here to help anyone else who might have been confused by this, which I imagine is likely. What confused me is that the author is not treating the matrix as a function from vectors to vectors, as is the customary way to treat matrices as functions. Rather, they're using the matrix to represent a sparse, regular sampling of a function from vectors to scalars. --- This article makes no sense right…

Poisson's Equation takes another function as an input, the matrix is the representation of the output of said function

Re: Poisson's Equation

#35

EDIT: I'm leaving this here to help anyone else who might have been confused by this, which I imagine is likely. What confused me is that the author is not treating the matrix as a function from vectors to vectors, as is the customary way to treat matrices as functions. Rather, they're using the matrix to represent a sparse, regular sampling of a function from vectors to scalars. --- This article makes no sense right…

Think of the matrix as a precomputed lookup table.

Given the arguments to the function, locate the cell in the matrix and use its value as the result of the function.

Re: Poisson's Equation

#36

Sorry but can there be more context to why it is a powerful tool?

It's a simple and general method that works in many domains, which is an usual combination.

The other ways of solving the example of arbitrary heat sources and sinks on a plate range from hacky combinations of simpler methods, to tedious math, to complicated general methods. If you switch from heat to pressure distribution, you'd have the same types of options, but the specific methods would be different.

Re: Poisson's Equation

#37

Earlier quoted context omitted.

Wow! It seems you have the magical capacity to ingest the reference to an equation and instantly derive an intuition for how it works and what it's useful for. Learning technology this advanced has never been seen before by humankind, I hope you share it with the rest of us!

Everything being referenced is stuff you'd learn in a typical technical education as part of either calculus or statistics. Your reply comes off as of defensive in a way that implies that you're shocked some one would know any of this stuff.

My reply stems from enriquto's misunderstanding of the purpose of the article, which is the "typical technical education" itself. It's like they are wondering why the article even exists, and isn't just a one line reference to the julia docs. Clearly there's nothing wrong with already having specific knowledge of a subject, but questioning the purpose of technical education because you already have it is bizarre.

Maybe an analogy would better explain my perspective. I imagine that enriquto would greatly appreciate my latest article, reproduced in its entirety below:

# Learn how to write a JSON parser

> j = JSON.parse("[1,2]")

Fin.

Re: Poisson's Equation

#38
My (unorthodox and somewhat rickety) note-taking gizmo uses Poisson's equation to classify (continuously) entries.

Basically the note-taking gizmo is a graph. Nodes are given conceptual masses either through pagerank or betweenness centrality (i.e. either through how many random walks or how many shortest paths cross a node). Then we calculate a potential energy (gravity potential) if we by inverting the graph laplacian (a few methods are available). Special attention is given to nodes that "float the most.

E: forgot to link to it! https://github.com/asemic-horizon/sursis/

Re: Poisson's Equation

#39
post #9

Sorry but can there be more context to why it is a powerful tool?

This is a typical issue with HN posts. Some poor soul wrote a somewhat competent and maybe even lengthy blog post / article about something they really care about and are knowledgeable about. It may be directed at a specific audience, or maybe just screaming into the void to record down some insight they had for themselves to read again later, or similar. And they use a more-than-necessary general title like "the bes…

From the poster sharer username here in HN it seems "the poor author" is also the one sharing it here, so it seems this blog post is at least partly directed to the general HN audience, not like the hypothetical situation you are placing here. So the whole "It's just not for the overall HN crowd" is probably not a valid point?

I found it a throwback to my university years, but I did study Industrial Engineering with thermodynamics, fluid mechanics and whatnot so I did find it interesting. I'm pretty sure it's usable by a bunch of people in HN as well in many fields where software intends to emulate the real world, like designing a smart appliance, games, VR, etc.

Re: Poisson's Equation

#40

Earlier quoted context omitted.

Also, what's confusing is that algebra usually uses matrices to describe linear functions from n-dimensional to m-dimensional vector spaces. Matrix has n rows, m columns, you give it an n-dim vector and after matrix multiplication you get back an m-dim vector. The author uses a matrix quite differently. You give it two integer coordinates i and j and it gives you the value at position (i, j) back. That's a valid use,…

Can you link to context for this? I learned both in linear algebra, so it seems like either would be just as 'expected'.

Here's a concrete example. The first matrix in the post is f = [[1, 1, 1], [1, 1, 1], [1, 1, 1]].

In linear algebra, we would interpret this as a linear map. A true equation would be f([1, 2, 3]^T) = [6, 6, 6]^T (where I'm using ^T to mean "transpose to a column vector").

But here, the author means f(1, 2) = 1, i.e. the (1,2) coordinate of the matrix is 1.

Post reply on HN