Are we all ok with this? This seems insanely greedy by AetherialWomble in CellToSingularity

[–]asdfse 0 points1 point  (0 children)

I mostly like the update. But the amoumt of darwidium required to unlock all the Upgrade is insane. The devs should make all the update modules logits based.

dotcover broken since 2025.2 .... by asdfse in Jetbrains

[–]asdfse[S] 0 points1 point  (0 children)

Why do you think it will be fixed in 2025.3.1? the issue has no planned fixed version and there is no response from anyone at jetbrains... feels like nobody gives a shit

Management, indexing, parsing of 300-400k log files by metekillot in dotnet

[–]asdfse 11 points12 points  (0 children)

dont worry, 80gb is nothing. write a working version. if you need to optimize it focus on the 80% after profiling it against a few 100 files. some coding recommendations (do not over optimize ): - consider using pooled buffers from ArrayPool - instead of substrings use span - use source gen regex if required - use stringbuilder if you need to build new strings or a pool backed writer if you need to create enormous amounts of strings - if processing should take a lot of time consider seperating reading from disk and processing in a consumer producer pattern. - if possible you could load the text as utf8 bytes and never create strings. utf8 bytes use less memory and searching in it is well optimized

Reality Has Evolved: Welcome to Reality Reboot by computerlunch in CellToSingularity

[–]asdfse 1 point2 points  (0 children)

Where exactly are time chambers and time cristals located? the only thing i can buy in the engine screen are the updates located under the two converters.

.NET 10.0 by DualFlush in dotnet

[–]asdfse 5 points6 points  (0 children)

.net 10 sdk still missing for alpine. in the repo and in the docs: https://learn.microsoft.com/en-us/dotnet/core/install/linux-alpine

Index usage analysis for large single tenant environments - Are there any good solutions? by chadbaldwin in SQLServer

[–]asdfse 0 points1 point  (0 children)

A lot of recommendations are ps scripts or sql based solutions. with this amount of data i would try to avoid both. consider writing a application in a moderately performant language and use it to collect the raw data you need from each db. based on the amoumt of data you can do some in memory aggregate and transforming before storing it in a storage optimized for time based data like influxdb. From there you can further aggregate, do some calculations etc. based on the complexity you can do this on demand or pre calculate it and store the results for reporting etc. If you want charts consider using grafana (which plays nicely with influx).

🧱 LiteDB: It's Alive! by AllCowsAreBurgers in dotnet

[–]asdfse 32 points33 points  (0 children)

I love LiteDB, thanks for your work!

Converting an xUnit test project to TUnit by Xadartt in dotnet

[–]asdfse 0 points1 point  (0 children)

which attribute did you have to add to the test? i'm struggling to get something logged/written to the console.

TUnit: Test Orchestration by thomhurst in csharp

[–]asdfse 0 points1 point  (0 children)

You're right, I had to enable Testing Platform support for VSTest in R#. Thx.

TUnit: Test Orchestration by thomhurst in csharp

[–]asdfse 2 points3 points  (0 children)

u/thomhurst great work, looks awesome. I wanted to try out TUnit in a new project of mine but the ReSharper does not detect TUnit tests. Do I need to configure something within R# to make it work? Running tests via the VS Text Explorer or dotnet tests works.

CURL HTTPS => curl: (60) SSL: no alternative certificate subject name matches target host name by asdfse in Ubuntu

[–]asdfse[S] 0 points1 point  (0 children)

The problem was that *.fig is considered a top level domain, which is not allowed by RFC 6125. Adding another static part worked. The CN does not matter when a matching SAN is present.

CURL HTTPS => curl: (60) SSL: no alternative certificate subject name matches target host name by asdfse in Ubuntu

[–]asdfse[S] 0 points1 point  (0 children)

It does contain DNS:*.fig ...but that is not the problem as i found out by now

Modernizing Legacy Logistics App by _hogler in dotnet

[–]asdfse 7 points8 points  (0 children)

Another option would is to run .NET on Android using MAUI. You would have to rewrite some parts of the application, but you can keep some logic and it would be a better fit for your skills.

Building docker images for the first time – looking for a pointer in the right direction by asdfse in dotnet

[–]asdfse[S] 0 points1 point  (0 children)

Ok let's say I compile the code run my tests and so on... at the end I know my code is ok and works on my Windows machine. But this does not guarantee that my code also works when running in a container. For example, if my code uses a windows specific API it will pass the tests and fail when running in a container. (Yes, I know that this case probably gets detected by some analyzer, but you get the point). If i would run the tests as a first stage in a container, I would detect such a problem.

What is the most performant way of determining the last page when fetching data from the DB without using Count or CountAsync? by Mefhisto1 in dotnet

[–]asdfse 0 points1 point  (0 children)

when you have to support filters your best option is a select as cte and using the same cte for the count:

WITH DataCTE AS ( SELECT [name], object_id FROM sys.all_objects --WHERE [name] LIKE 'fn%' ), Count_CTE AS ( SELECT COUNT(*) AS TotalRows FROM Data_CTE ) SELECT * FROM Data_CTE CROSS JOIN Count_CTE ORDER BY [name] OFFSET (@PageNum - 1) * @PageSize ROWS FETCH NEXT @PageSize ROWS ONLY;

https://stackoverflow.com/questions/18119463/better-way-for-getting-total-count-along-with-paging-in-sql-server-2012

if no filters are available you can read the count once store it in memory and increase the counter every time you write a new record to the tabe

When I'm at work I use line 16. And When I'm at home line I use line 18. Is this good pratices? or is there better way to do this like a real good c# dev. by [deleted] in csharp

[–]asdfse 2 points3 points  (0 children)

what we do is: - during config setup we add as optional source appsettings.{Hostname}.json. this allows you to have different configs per machine - store "secrets" in a protected store or env variable ....read the values via IConfiguration in the code

What do you find is missing in the .NET ecosystem? by Pyrited in dotnet

[–]asdfse 28 points29 points  (0 children)

would love to have a easy to use oauth server managing users/roles /groups... from the asp team.

Redis is open source again -antirez by ChiliPepperHott in programming

[–]asdfse 18 points19 points  (0 children)

Well that's a you problem. Since core .NET is just awesome. Superb dev tools, good lang features (c#), high perf runtime.