Dan Piponi's Avatar

Dan Piponi

@dpiponi.mathstodon.xyz.ap.brid.gy

Disclaimer: ๐Ÿ‘ฝ My opinions are not my own. They're beamed to me by aliens Current life: ๐ŸŽฎ Epic Games Previous lives: ๐Ÿฉ PhD in Riemann theta functions ๐Ÿงฌ Glaxo [โ€ฆ] ๐ŸŒ‰ bridged from โ‚ https://mathstodon.xyz/@dpiponi, follow @ap.brid.gy to interact

88 Followers  |  1 Following  |  699 Posts  |  Joined: 14.11.2024  |  2.3358

Latest posts by dpiponi.mathstodon.xyz.ap.brid.gy on Bluesky

Post image Post image

It's very silly but often when I see a photo (or movie/TV scene) I'm tempted to use tools like Google maps to track down the exact location.

Anyway, my reading is a random walk through book-space and I find myself reading a kids' book about magic cats [โ€ฆ]

[Original post on mathstodon.xyz]

10.11.2025 02:33 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

@BoydStephenSmithJr @TechConnectify I haven't had good tasting results making tea from microwaved water. I don't know why not. It is slightly weird - adding a teabag to a boiled cup of water causes rapid local boiling, I guess the tea acts as nucleation points for superheated water. Maybe I [โ€ฆ]

09.11.2025 22:55 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

Living in a country where if you ask for a cup of tea in a restaurant they'll bring you a cup of lukewarm water and expect you to dunk a teabag in it I shouldn't be too surprised that I can't buy a decent electric kettle. This time I decided to get an expensive one rather than a cheap one that [โ€ฆ]

09.11.2025 22:09 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
A graph with two plots showing near identical outcomes for a fight against multiple foes and a fight against a single foe with suitably chosen stats.

A graph with two plots showing near identical outcomes for a fight against multiple foes and a fight against a single foe with suitably chosen stats.

Now I have a somewhat functioning library for dice game simulation I can do with it one of the things I originally intended.

The crunchier RPGs can lead you to situations where you have to resolve complex fights with many participants and it'd make sense to [โ€ฆ]

[Original post on mathstodon.xyz]

09.11.2025 17:11 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

@futurebird Reminds me of the Roman baths under King's College London where I was a grad student. I told lots of people how amazing it was. And then with the advent of the Internet I learnt they weren't Roman at all.
https://en.wikipedia.org/wiki/Roman_Baths [โ€ฆ]

09.11.2025 01:23 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

"So not binary but base four. Quaternary. This wonโ€™t be easy to crack."
So that bit was laughable. But the rest was excellent, and laugh out loud funny towards the end.
(Plur1bus.)

08.11.2025 18:33 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
A histogram almost flat between its endpoints.

A histogram almost flat between its endpoints.

A "triangular" histogram going up from zero and then back down. Not symmetric.

A "triangular" histogram going up from zero and then back down. Not symmetric.

A slightly skewed Gaussian histogram.

A slightly skewed Gaussian histogram.

I can't believe I didn't know this fact before today - it seems so fundamental.

If you have a real symmetric matrix A, and pick some unit vector x, then x.Ax (the Rayleigh quotient) is bounded by the smallest and largest eigenvalues. So what happens if I pick [โ€ฆ]

[Original post on mathstodon.xyz]

08.11.2025 05:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I wonder how many people the Apple Podcast app has killed. The amount of interaction and puzzle solving to get it to do the simplest thing must have fatally distracted several drivers by now.

08.11.2025 02:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@djspiewak @skewray It's not so much the memcpy that's the issue but if you want to copy data from old blocks to new blocks, deleting the old blocks, you need to be sure no data in the old block isn't still in use by some thread. The page table is really small. Profiling will tell...

07.11.2025 21:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

@djspiewak @skewray Probably not a lot if your matrices are large.

The reason I was thinking about this subject is that I was playing with a scenario where it does matter: I wanted a concurrent (single producer/many consumer) expandable array with stable elements so instead of copying to the [โ€ฆ]

07.11.2025 21:00 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@djspiewak @skewray And personality type :) I've a tendency to want to be a bit more careful with memory usage even when it's clear I have the resources to be a bit more profligate.

07.11.2025 18:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

@skewray @djspiewak I feel like a 30% or so "tax" on memory allocations is a bit steep, especially in applications with heavy usage of this kind of array. So just by feel I'd use something around the golden ratio for A. There's an argument that precisely this value is optimal though I don't [โ€ฆ]

07.11.2025 17:45 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

A common strategy when implementing arrays that grow at the end is to allocate space for N bytes initially and then when more space is required resize to a block of size AN for some A, typically in the range (1, 2], and then keep reallocating as needed scaling [โ€ฆ]

[Original post on mathstodon.xyz]

07.11.2025 16:43 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
A large looking Lego model of the STTNG USS Enterprise with 9 crew minifigs.

A large looking Lego model of the STTNG USS Enterprise with 9 crew minifigs.

https://www.lego.com/en-us/product/star-trek-u-s-s-enterprise-ncc-1701-d-10356

Woohoo! An official Lego Spot the cat. And a spaceship for her to live on.

06.11.2025 20:53 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Helix doesn't seem to let me resize windows. Of course I could run tmux or similar to carve up my terminal window. But not on Windows. However, vim supports resizable terminal windows fine on Windows so problem solved: launch vim and a helix in each of its windows.

06.11.2025 16:21 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

If I had to describe in one word the political system in the US it'd be: nomic.

05.11.2025 23:04 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

Such a nice paint job, inside and out. At the De Young museum.

31.10.2025 14:36 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

Enjoying watching the marine layer float through the neighbourhood this evening.

31.10.2025 01:38 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@aniccia.bsky.social Most cars are not in use most of the time which is why I think I was seeing more Waymos than anything else in some areas. Entire "trains" of them at one point.

30.10.2025 15:47 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

When I started at Google X years ago project Chauffeur, which eventually became Waymo, was pretty new. I feel like it took a significant piece of a lifetime to turn the idea into a reality and now it seems like Waymos are the most common car on the streets of San Francisco. But I only took my [โ€ฆ]

30.10.2025 15:21 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@brouhaha That sounds, well, illegal.

30.10.2025 14:41 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Finding myself having to explain to Kobo that their no-return policy is irrelevant when they've just illegally sold me a DRMed book that was described as DRM-free.

30.10.2025 05:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@dougmerritt I'm not sure if the clocks all report their resolution and "calibrating" it yourself is an easy way to find out. I think resolution (and monotonicitiy) is an important requirement here.

29.10.2025 03:18 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@unnick Ha, no! I think they're local things like ntp (maybe, not sure).

28.10.2025 23:34 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Astronomical Engineering: A Strategy For Modifying Planetary Orbits - Astrophysics and Space Science The Sun's gradual brightening will seriously compromise the Earth'sbiosphere within โˆผ 109 years. If Earth's orbit migrates outward,however, the biosphere could remain intact over the entiremain-sequence lifetime of the Sun. In this paper, we explore thefeasibility of engineering such a migration over a long timeperiod. The basic mechanism uses gravitational assists to (in effect)transfer orbital energy from Jupiter to the Earth, and therebyenlarges the orbital radius of Earth. This transfer is accomplishedby a suitable intermediate body, either a Kuiper Belt object or a mainbelt asteroid. The object first encounters Earth during an inward passon its initial highly elliptical orbit of large (โˆผ 300 AU)semimajor axis. The encounter transfers energy from the object to theEarth in standard gravity-assist fashion by passing close to theleading limb of the planet. The resulting outbound trajectory of theobject must cross the orbit of Jupiter; with proper timing, theoutbound object encounters Jupiter and picks up the energy it lost toEarth. With small corrections to the trajectory, or additionalplanetary encounters (e.g., with Saturn), the object can repeat thisprocess over many encounters. To maintain its present flux of solarenergy, the Earth must experience roughly one encounter every 6000years (for an object mass of 1022 g). We develop the details ofthis scheme and discuss its ramifications.

It did actually get published in a journal:

https://link.springer.com/article/10.1023/A:1002790227314

It must be serious :)

28.10.2025 23:10 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I feel like this is an excellent problem to investigate using automatic differentiation.

28.10.2025 22:38 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

I couldn't get through Wandering Earth. Meanwhile here's how you actually move the Earth:

https://arxiv.org/abs/astro-ph/0102126

"In this paper, we have investigated the feasibility of gradually moving the Earth to a larger orbital radius in order to escape from the increasing radiative flux [โ€ฆ]

28.10.2025 22:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0
Original post on mathstodon.xyz

Time is such a pain.

The Unreal engine has a clock function.

On Linux it's based on one of a number of clocks provided by the OS. At startup it chooses which clock to use by testing each of them to estimate their granularity, picking the one with the finest granularity.

The best two clocks [โ€ฆ]

28.10.2025 22:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
The PSF has withdrawn $1.5 million proposal to US government grant program In January 2025, the PSF submitted a proposal to the US government National Science Foundation under the Safety, Security, and Privacy of Open Source Ecosystems program to address structural vulnerabilities in Python and PyPI. It was the PSFโ€™s first time applying for government funding, and navigating the intensive process was a steep learning curve for our small team to climb. Seth Larson, PSF Security Developer in Residence, serving as Principal Investigator (PI) with Loren Crary, PSF Deputy Executive Director, as co-PI, led the multi-round proposal writing process as well as the months-long vetting process. We invested our time and effort because we felt the PSFโ€™s work is a strong fit for the program and that the benefit to the community if our proposal were accepted was considerable. We were honored when, after many months of work, our proposal was recommended for funding, particularly as only 36% of new NSF grant applicants are successful on their first attempt. We became concerned, however, when we were presented with the terms and conditions we would be required to agree to if we accepted the grant. These terms included affirming the statement that we โ€œdo not, and will not during the term of this financial assistance award, operate any programs that advance or promote DEI, or discriminatory equity ideology in violation of Federal anti-discrimination laws.โ€ This restriction would apply not only to the security work directly funded by the grant, **but to any and all activity of the PSF as a whole**. Further, violation of this term gave the NSF the right to โ€œclaw backโ€ previously approved and transferred funds. This would create a situation where money weโ€™d already spent could be taken back, which would be an enormous, open-ended financial risk. Diversity, equity, and inclusion are core to the PSFโ€™s values, as committed to in our mission statement: > _The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of**a diverse and international community** of Python programmers._ Given the value of the grant to the community and the PSF, we did our utmost to get clarity on the terms and to find a way to move forward in concert with our values. We consulted our NSF contacts and reviewed decisions made by other organizations in similar circumstances, particularly The Carpentries. In the end, however, the PSF simply canโ€™t agree to a statement that we wonโ€™t operate any programs that โ€œadvance or promoteโ€ diversity, equity, and inclusion, as it would be a betrayal of our mission and our community. Weโ€™re disappointed to have been put in the position where we had to make this decision, because we believe our proposed project would offer invaluable advances to the Python and greater open source community, protecting millions of PyPI users from attempted supply-chain attacks. The proposed project would create new tools for automated proactive review of all packages uploaded to PyPI, rather than the current process of reactive-only review. These novel tools would rely on capability analysis, designed based on a dataset of known malware. Beyond just protecting PyPI users, the outputs of this work could be transferable for all open source software package registries, such as NPM and Crates.io, improving security across multiple open source ecosystems. In addition to the security benefits, the grant funds would have made a big difference to the PSFโ€™s budget. The PSF is a relatively small organization, operating with an annual budget of around $5 million per year, with a staff of just 14. $1.5 million over two years would have been quite a lot of money for us, and easily the largest grant weโ€™d ever received. Ultimately, however, the value of the work and the size of the grant were not more important than practicing our values and retaining the freedom to support every part of our community. The PSF Board voted unanimously to withdraw our application. Giving up the NSF grant opportunityโ€”along with inflation, lower sponsorship, economic pressure in the tech sector, and global/local uncertainty and conflictโ€”means the PSF needs financial support now more than ever. We are incredibly grateful for any help you can offer. If you're already a PSF member or regular donor, you have our deep appreciation, and we urge you to share your story about why you support the PSF. Your stories make all the difference in spreading awareness about the mission and work of the PSF. How to support the PSF: * Become a Member: When you sign up as a Supporting Member of the PSF, you become a part of the PSF. Youโ€™re eligible to vote in PSF elections, using your voice to guide our future direction, and you help us sustain what we do with your annual support. * Donate: Your donation makes it possible to continue our work supporting Python and its community, year after year. * Sponsor: If your company uses Python and isnโ€™t yet a sponsor, send them our sponsorship page or reach out to sponsors@python.org today. The PSF is ever grateful for our sponsors, past and current, and we do everything we can to make their sponsorships beneficial and rewarding.

The Python Software Foundation shows more spine than every single tech giant in just one single decision.

> Diversity, equity, and inclusion are core to the PSFโ€™s values

https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html

27.10.2025 16:03 โ€” ๐Ÿ‘ 84    ๐Ÿ” 331    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1
Original post on mathstodon.xyz

@julesh I've not read it but I think maybe this is one of the themes in https://en.wikipedia.org/wiki/The_Last_Ringbearer

Basically anyone who has non-trivial creative ambitions is bad.

"...that amazing city of alchemists and poets, mechanics and astronomers, philosophers and physicians, the [โ€ฆ]

27.10.2025 16:45 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@dpiponi.mathstodon.xyz.ap.brid.gy is following 1 prominent accounts