Stringbuilder has a very particular use pattern and it is ideal if it can be used without creating garbage
Therefore a plausible hypothetical optimization would be to have Stringbuilder backed by an unmanaged, VM-owned object, and to have these objects live in pools. Create a StringBuilder, it comes out of the pool, when it Finalizes it goes back in the pool. This object would probably need to be as large as it's largest allocation
@unormal In your program, you are running in a tight loop and there is no change for the GC to run between iterations. Therefore the VM (in this hypothetical case) is forced to assume all those Stringbuilders are in active use and more must be created each time (the pool is empty).
Evidence for this hypothesis would be if the error goes away upon:
Using ONE stringbuilder for all loop iterations,
Requesting a GC collect at the end of each loop iteration (this Finalizing & returning to pool)
@unormal as you've probably already realized, limiting your number of ever-initialized StringBuilders, for example to one per thread, would ALSO solve the problem in the other, less pleasant hypothetical case (the VM has a bug)
@unormal another unpleasant thought: does the problem go away / change characteristics if you toggle your naked project to the other BCL (.NET vs .NET Standard)
Short version: all language-related UI on mastodon.social choke (in one way or another) if a post has its language code in uppercase letters, despite BCP 47 (the controlling standard for country codes in software) requiring parsers treat unusual capitalizations equivalently. I run into this all the time.
It seems like it must be really easy to fix, but the main mastodon dev team legitimately has a ton of other stuff to do at all times so will probably never get to this, and I have still never gotten around to setting up a Mastodon test bed so I'm probably not going to be attempting a patch myself
@hikari I was seriously considering installing ReactOS a month or so ago but when I looked into it it appears ReactOS has just never got that Big Community Love and the compatibility of ReactOS is worse than modern Wine.
So at that point… yeah , if I understand your proposal right that would be a useful thing, and when MS pulls the plug on Win10 there will be demand for that
Maybe u could even reuse the ReactOS shell. Seems "obvious" the ReactOS GUI probably runs in Wine
If I were going to play exactly one game from the classic Wizardry series (or if such a thought horrifies you, imagine I"m asking which one to play first), which one would you recommend? Assume I'm totally flexible about platform (but do have access to un-emulated NES and SNES hardware)
Been trying to figure out—in principle, the reason StackOverflow is CC-BY-SA is to allow for community mirrors, right?
Is there any way that I could just get a total local mirror of StackOverflow and search that locally, instead of having to visit StackOverflow which really doesn't deserve my support?
…Or does SO ban scraping, and the only reason for CC-BY-SA was so StackOverflow could (now that the rugpull's happened) claim the right to block u from delerng posts?? CC for them but not for us?
This makes so much sense! Looking at this I feel like this is what I've been Actually wanting from the moment they announced the NTS-1 I just didn't know it
For the last two years I've been semi-daily posting "What I'm Listening to Today" links here. Mastodon has some problems with threads containing hundreds of posts, so I re-create the thread once a year.
Or, alternately, every song from year two in the least practical format possible: A 301-song, 38-hour YouTube playlist (note: video #1 contains flashing):
What I'm listening to today: "THEM5000 (Monomachine only track)"
A futuristic, kinda IDM-y electronic jam. Flits stream-of-consciousness between several different ideas while maintaining the same dark groove. Actually kinda feels like a little mixtape, except for the fact it is six minutes long. Nice energy.
Made on the Monomachine, the old idiosyncratic Elektron box that defined the sound of SOPHIE and Quaristice-era Autechre.
When supernatural urban fantasy film "Night Watch" (2004) was released outside of Russia, a new version was produced. An inferior one, imo. Since then the "International" version became the one distributed across all formats, and the original 115 min cut became confined to a DVD released only in Russia.