Readit News logoReadit News
jwmerrill commented on Amazon confirms 14,000 job losses in corporate division   bbc.com/news/articles/c1m... · Posted by u/mosura
latexr · 2 months ago
I was just thinking the same, this is quite the weasel wording. Not only the “losses” but the passive voice. As if Amazon is a person who walked to work one day and realise it has a hole in its pocket from which thousands of jobs fell off. “Oh well, these things happen, not my fault and nothing I can do about it”, Amazon says as it shrugs its shoulders and whistles down the factory floor with a skip in its step.
jwmerrill · 2 months ago
“Passive voice” is a grammatical term.

“Amazon confirms 14,000 job losses,” is not an example of the passive voice.

“14,000 workers were fired by Amazon,” is an example of the passive voice.

There is not a 1:1 relationship between being vague about agency and using the passive voice.

jwmerrill commented on Creating Bluey: Tales from the Art Director   substack.com/home/post/p-... · Posted by u/cfcfcf
ninkendo · 8 months ago
Was this in the article somewhere? I searched and didn’t see it (and I’m most interested in why she left, and haven’t found anything on it.)
jwmerrill · 8 months ago
The article is a four part series.
jwmerrill commented on 100 Years to Solve an Integral (2020)   liorsinai.github.io/mathe... · Posted by u/blobcode
jwmerrill · 8 months ago
This is also the inverse Gudermannian function [1]. That Wikipedia page has some nice geometrical insights.

[1] https://en.m.wikipedia.org/wiki/Gudermannian_function

jwmerrill commented on Zig's new LinkedList API (it's time to learn fieldParentPtr)   openmymind.net/Zigs-New-L... · Posted by u/todsacerdoti
ralferoo · 8 months ago
Yeah, that's what I was trying to say, but obviously not clearly enough.
jwmerrill · 8 months ago
My mistake! It seems clear in hindsight…
jwmerrill commented on Zig's new LinkedList API (it's time to learn fieldParentPtr)   openmymind.net/Zigs-New-L... · Posted by u/todsacerdoti
ralferoo · 8 months ago
I don't use Zig, but one advantage of having a genericised intrusive linked list where the next pointer doesn't have to be the first thing in the structure is when you want to use larger types, such as 128-bit fields. Sticking a pointer at the beginning would mean the compiler would have to insert alignment padding after the pointer or break the default alignment.
jwmerrill · 8 months ago
The next pointer doesn’t have to go first in the structure here. It can go anywhere, and you can use @fieldParentPtr to go back from a reference to the embedded node to a reference to the structure.
jwmerrill commented on Derivatives don't always act like fractions (2021)   johncarlosbaez.wordpress.... · Posted by u/c1ccccc1
slooonz · a year ago
I still don’t understand what "at constant something" means. I mean formally, mathematically, in a way where I don’t have to kinda guess what the result may be and rely on my poor intuitions and shoot myself continually in the foot in the process.

Does someone has a good explanation ?

jwmerrill · a year ago
For problems in the plane, it's natural to pick two coordinate functions and treat other quantities as functions of these. For example, you might pick x and y, or r and θ, or the distances from two different points, or...

In thermodynamics, there often isn't really one "best" choice of two coordinate functions among the many possibilities (pressure, temperature, volume, energy, entropy... these are the must common but you could use arbitrarily many others in principle), and it's natural to switch between these coordinates even within a single problem.

Coming back to the more familiar x, y, r, and θ, you can visualize these 4 coordinate functions by plotting iso-contours for each of them in the plane. Holding one of these coordinate functions constant picks out a curve (its iso-contour) through a given point. Derivatives involving the other coordinates holding that coordinate constant are ratios of changes in the other coordinates along this iso-contour.

For example, you can think of evaluating dr/dx along a curve of constant y or along a curve of constant θ, and these are different.

I first really understood this way of thinking from an unpublished book chapter of Jaynes [1]. Gibbs "Graphical Methods In The Thermodynamics of Fluids" [2] is also a very interesting discussion of different ways of representing thermodynamic processes by diagrams in the plane. His companion paper, "A method of geometrical representation of the thermodynamic properties of substances by means of surfaces" describes an alternative representation as a surface embedded in a larger space, and these two different pictures are complimentary and both very useful.

[1] https://bayes.wustl.edu/etj/thermo/stat.mech.1.pdf

[2] https://www3.nd.edu/~powers/ame.20231/gibbs1873a.pdf

jwmerrill commented on The Static Site Paradox   kristoff.it/blog/static-s... · Posted by u/alraj
codazoda · a year ago
I tried the SuperHTML on a hand-coded site of mine and it reported only one problem and that problem is incorrect as far as I can tell. It tells me that the `</html>` tag is never opened on an HTML 5 doc with a `<!DOCTYPE html>` opening tag. The author does say it's not perfect and I probably need to double-check my understanding just to be sure. In any case, it seems like a useful thing and I am also surprised I never thought it was missing.

For those who are like me and don't know the term, "a language server for HTML" is referring to the plugin that evaluates your HTML syntax. That might be a narrow explanation of the tool but that's the basic idea I got from trying it.

jwmerrill · a year ago
`<!DOCTYPE html>` is not an html opening tag. It is a preamble.

https://html.spec.whatwg.org/multipage/syntax.html#writing

jwmerrill commented on Evaluating a class of infinite sums in closed form   johndcook.com/blog/2024/0... · Posted by u/beefman
pontus · a year ago
Another way to get to the same result is to use "Feynman's Trick" of differentiating inside a sum:

Consider the function f(x) = Sum_{n=1}^\infty c^(-xn)

Then differentiate this k times. Each time you pull down a factor of n (as well as a log(c), but that's just a constant). So, the sum you're looking for is related to the kth derivative of this function.

Now, fortunately this function can be evaluated explicitly since it's just a geometric series: it's 1 / (c^x - 1) -- note that the sum starts at 1 and not 0. Then it's just a matter of calculating a bunch of derivatives of this function, keeping track of factors of log(c) etc. and then evaluating it at x = 1 at the very end. Very labor intensive, but (in my opinion) less mysterious than the approach shown here (although, of course the polylogarithm function is precisely this tower of derivatives for negative integer values).

jwmerrill · a year ago
Instead of differentiating c^(-xn) w.r.t. x to pull down factors of n (and inconvenient logarithms of c), you can use (z d/dz) z^n = n z^n to pull down factors of n with no inconvenient logarithms. Then you can set z=1/2 at the end to get the desired summand here. This approach makes it more obvious that the answer will be rational.

This is effectively what OP does, but it is phrased there in terms of properties of the Li function, which makes it seem a little more exotic than thinking just in terms of differentiating power functions.

jwmerrill commented on The Second Law of Thermodynamics (2011)   franklambert.net/secondla... · Posted by u/luu
yamrzou · a year ago
If you want an independent definition of temperature without reference to entropy, you might be interested in the Zeroth Law of Thermodynamics (https://en.wikipedia.org/wiki/Zeroth_law_of_thermodynamics).

Here is a intuitive explanation for it from [1]:

“Temperature stems from the observation that if you bring physical objects (and liquids, gases, etc.) in contact with each other, heat (i.e., molecular kinetic energy) can flow between them. You can order all objects such that:

- If Object A is ordered higher than Object B, heat will flow from A to B.

- If Object A is ordered the same as Object B, they are in thermal equilibrium: No heat flows between them.

Now, the position in such an order can be naturally quantified with a number, i.e., you can assign numbers to objects such that:

- If Object A is ordered higher than Object B, i.e., heat will flow from A to B, then the number assigned to A is higher than the number assigned to B.

- If Object A is ordered the same as Object B, i.e., they are in thermal equilibrium, then they will have the same number.

This number is temperature.”

[1] https://physics.stackexchange.com/a/727798/36360

jwmerrill · a year ago
From later in [1]

> Mind that all of this does not impose how we actually scale temperature.

> How we scale temperature comes from practical applications such as thermal expansion being linear with temperature on small scales.

An absolute scale for temperature is determined (up to proportionality) by the maximal efficiency of a heat engine operating between two reservoirs: e = 1 - T2/T1.

This might seem like a practical application, but intellectually, it’s an important abstraction away from the properties of any particular system to a constraint on all possible physical systems. This was an important step on the historical path to a modern conception of entropy and the second law of thermodynamics [2].

[1] https://physics.stackexchange.com/a/727798/36360

[2] https://bayes.wustl.edu/etj/articles/ccarnot.pdf

u/jwmerrill

KarmaCake day1598April 5, 2012
About
Physicist, probability and geometry enthusiast, and software developer at https://www.desmos.com.

You can reach me at jwmerrill@gmail.com

View Original