@mcc@mastodon.social
@mcc@mastodon.social avatar

mcc

@mcc@mastodon.social

glitch girl

This profile is from a federated server and may be incomplete. Browse more on the original instance.

unormal, to random
@unormal@mastodon.social avatar

it reproduces in a naked project

mcc,
@mcc@mastodon.social avatar

@unormal So here is a hypothesis

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

mcc,
@mcc@mastodon.social avatar

@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)
mcc,
@mcc@mastodon.social avatar

@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)

mcc,
@mcc@mastodon.social avatar

@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)

unormal, to random
@unormal@mastodon.social avatar

ITS FUCKING STRINGBUILDERS running this code over and over again explodes "untracked"

image/png

mcc,
@mcc@mastodon.social avatar

@unormal wait wait hold on

I think I know what's happening, do you want advice or are you just venting

mcc,
@mcc@mastodon.social avatar

@unormal …although looking at your sample code closely uh… wow wtf

peterb, to random
@peterb@mathstodon.xyz avatar

Someone who has played the Grandia games, please sell me on the re-masters. Worth my time?

mcc,
@mcc@mastodon.social avatar

@peterb asked in a private vidgames forum and got these three responses from @nfinit.bsky.com, @beigemoth , and (DD)

image/png
image/png

mcc, to random
@mcc@mastodon.social avatar

I think this is the bug in Mastodon that has the biggest gap between "the bug is small" and "my annoyance level at it is large" https://github.com/mastodon/mastodon/issues/28947

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.

mcc,
@mcc@mastodon.social avatar

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, to random EN
@hikari@noyu.me avatar

dear twitter should i make my own linux distro

“you mean gnu/linux?”

no, win32/linux

i have a very specific vision for the kind of os i want but idk if it's a good use of my time

mcc,
@mcc@mastodon.social avatar

@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

mcc, to random
@mcc@mastodon.social avatar

Considering having a nice day today

mcc,
@mcc@mastodon.social avatar

Not saying I'm going to do it. Just considering. Maybe

mcc, to random
@mcc@mastodon.social avatar

Today, in poorly considered UI messages:

"Loaded model in 1.43e+02s"

mcc,
@mcc@mastodon.social avatar

@orlin I think it is

mcc, to random
@mcc@mastodon.social avatar

I would like to suggest you watch the part of this Commodore 64 demo from 5:06 on

https://youtu.be/9RVLPgfkXb4?t=306

mcc,
@mcc@mastodon.social avatar
peterb, to random
@peterb@mathstodon.xyz avatar

Coming next Friday: the one you've all been asking for.

mcc,
@mcc@mastodon.social avatar

@peterb Mr. B, I have a question

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)

mcc,
@mcc@mastodon.social avatar

@peterb That is very interesting, thank you!

mcc, to random
@mcc@mastodon.social avatar

Somebody should make an OS-agnostic program that searches the hard drive and returns a count of how many versions of Python you have installed

mcc,
@mcc@mastodon.social avatar
mcc,
@mcc@mastodon.social avatar

@mdione @demiurg is it possible to write a Python/sh polyglot?

mcc,
@mcc@mastodon.social avatar

@aburka Would you like a suggestion

mcc,
@mcc@mastodon.social avatar

@aburka use pipx, it is a variant of pip designed to rest safely on top of the break-system-packages weirdness instead of screwing with it

It is basically a drop in replacement, it is annoying to switch python tools AGAIN but once you do it just works

The downside is pipx packages are not shared between accounts

mcc,
@mcc@mastodon.social avatar

@aburka oh. Really?

Hm, I need to reread some docs.

mcc, to random
@mcc@mastodon.social avatar

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?

mcc,
@mcc@mastodon.social avatar

@brandon wait, where does non-commercial come from? That's not a condition of BY-SA.

I don't think BY-SA gives you permission to relicense under BY-NC.

mcc, to random
@mcc@mastodon.social avatar

OMG KORG RELEASED WHAT https://www.youtube.com/watch?v=-Bi0V6TgB5M

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

mcc,
@mcc@mastodon.social avatar

@benjohn @polotek Incidentally I just ran across this… https://www.youtube.com/watch?v=dTXn-WfZHUw noteworthy both for the fact it seems to work pretty well, and also that i can't remember seeing a second instance of this workflow.

mcc, to random
@mcc@mastodon.social avatar

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.

If you'd like to see, here's my "year two" thread: https://mastodon.social/@mcc/110266770603341546

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):

https://www.youtube.com/playlist?list=PLLIjft6ja7DM_kacOW8zo2vtr-aWpTNX6

And here's the thread for "year three":

mcc,
@mcc@mastodon.social avatar

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.

https://www.youtube.com/watch?v=q8nyRgppkng

dosnostalgic, (edited ) to random
@dosnostalgic@mastodon.social avatar

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.

Now you can find a direct stream copy of the DVD together with official English subtitles in an MKV here: https://archive.org/details/night-watch-2004-original

Comprehensive version comparison: https://www.movie-censorship.com/report.php?ID=2891

mcc,
@mcc@mastodon.social avatar

@dosnostalgic We finally got around to following this rec, and that was really fun.

Should we watch Day Watch?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • khanakhh
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • DreamBathrooms
  • megavids
  • magazineikmin
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • JUstTest
  • All magazines