Hacker News new | past | comments | ask | show | jobs | submit | more 0xcoffee's comments login

The C# version will copy the list into an array during Task.WhenAll, it may save some memory to use an array directly.

Souce: https://github.com/microsoft/referencesource/blob/master/msc...


The referencesource repository is only relevant if you are using the legacy .NET Framework. Modern .NET has a special case for passing a List<Task> and avoids the allocation:

https://github.com/dotnet/runtime/blob/1f01bee2a41e0df97089f...


It doesn't take that much space, and not all languages have option to easily map an initial range onto an iterator that produces tasks. Most are dominated by the size of state machines/virtual threads.

Please note that the link above leads to old code from .NET Framework.

The up-to-date .NET implementation lives here: https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...


(2022)


In Section 03 there is a video showing the physical setup.


Thank you, I tend to ignore videos when on mobile. Checked it from my laptop.

Feels useless to me, to setup the whole physical thing for the sake of photo that could be just rendered. But to each their own.


fyi on this page, when the 'subscribe to newletter' popup appears, it force scrolls the page back up to the top. Seems only only occur in Firefox, Chrome is fine.


huh. I just did it from Firefox and saw the "email sent to verify" response, no scrolling. I'll ask around to see if anybody else can reproduce here - thanks for letting us know


There is a MR to update it to FFMPEG 7: https://github.com/HandBrake/HandBrake/pull/5884


Because HandBrake uses some parts of the FFmpeg libraries, but HandBrake scope is much smaller than FFmpeg, and while it uses some parts, it's definitely not FFmpeg CLI GUI.


I struggle to see how the car market has ever been fair, subsidies, protectionism, import fees. Cars are not exactly the golden child of the free market. At the end of the day, car prices remain high, and consumers are desperate for cheaper options.


I was an expat child that moved many times in my childhood. The broken connections of each move hurt me more than any 'new experience'. I wouldn't recommend it, imo social stability is very important.


I love the art style, is it self made?


Same, but even missing the deadline was realistic.

Manager: This is urgent, fix it today. Dev: Rush rush, miss deadline.

Manager: Ok no problem, let's move the deadline by a week just in case.


I recently started a new job that uses SVN, one thing that really catches me out is that it doesn't automatically add new files. Is there some easy trick I am missing to tell SVN to automatically track everything recursively under a folder?


Are you using the CLI or something like TortoiseSVN? Tortoise has a fairly intuitive UI for adding untracked files when you commit.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: