AEAsh Elixir
Created by ZachDaniel on 5/20/2025 in #showcase
Ash Weekly: Issue #17 | Ash AI Launched, ElixirConf EU Wrapped, thoughts on the Contributors Summit
1 replies
CC#
Created by Heifer on 5/20/2025 in #help
✅ MultiLine error on custom user control WinForms
Some reason I'm getting red squiggle marks on multiline parts of the code. I have a textbox with exact code and no errors on multiple. But when I create a numeric display with exact code i get error for multiline. And numeric display has multiline in properties window.
14 replies
NNovu
Created by ste on 5/20/2025 in #💬│support
Exchange notification settings icon of inbox
We think the choosen notification settings icon is very strange and we would love to exchange that one. Is there any idea how to exchange that icon? Or is that currently not possible without some custom hacking.
2 replies
UBUniversal Blue
Created by cold_t on 5/20/2025 in #🛟bazzite-help
Ace Combat 7 multiplayer lag
Hi yall. Ace Combat 7 on steam is having gigantic lags, resource monitor shows slow frames every second or so. Even happens in multiplayer menu, but campaign works just fine. I tried adjusting graphic settings, changing network, plugging in the power, didn't work. Any ideas?
1 replies
AEAsh Elixir
Created by Euen on 5/20/2025 in #support
Writing a Change with DB lock
I have a change that do some db queries in order to verify that the value being inserted in a foreign key is valid. Since I'm being based on other records to validate this field I need to lock those to prevent them to be modified in the middle of the change. Before adding any locking to my change I decided to test this concurrent scenario so first I make it fail so then I could be certain the problem is solved once I lock the records. My current issue is that the tests mean to run concurrently are not failing. No mater how many times I run the tests, the records are being updated in order as if a locking mechanism were in place Here is the change I'm talking about: https://github.com/Euen/ash_sample/blob/main/lib/helpdesk/changes/enforce_single_level_parenting.ex This is the test that I understand should fail but not: https://github.com/Euen/ash_sample/blob/main/test/helpdesk/changes/enforce_single_level_parenting_test.exs And here is the issue I have created in Github to follow up this: https://github.com/Euen/ash_sample/issues/1 Thanks in advance 🙂
7 replies
CC#
Created by jim.jam.1 on 5/20/2025 in #help
TextBlocks Not Filling Available Space
No description
2 replies
UBUniversal Blue
Created by Luca Vitiello on 5/20/2025 in #🛟bazzite-help
KDE plasma mouse wheel scrolling issue
Hello, I updated this morning and it looks like scrolling in any KDE menu causes it to crash (settings menu, app launcher, etc...) I did some research and it looks to be an issue with kirigami / QT. https://forum.manjaro.org/t/kde-plasma-6-3-5-when-the-settings-menu-was-opened-scrolling-the-mouse-wheel-caused-the-desktop-to-crash/177859/25?page=2 Apparently kirigami 6.14.1-1 fixes it is it possible to manually update it or should I wait for a new official release? Cheers!
1 replies
UBUniversal Blue
Created by Lightyear on 5/20/2025 in #🛟bazzite-help
after sleep mode controller not working
As above title, please help. Thank you very much.
5 replies
CC#
Created by Zylvian on 5/20/2025 in #help
.NET 9 - EF Core + Aspire - Database seeding
I've been looking into different ways to seed our database, and there are a lot of conflicting information. I have a .NET Aspire project, with a BackendService and a MigrationService. I want to seed a bunch of test data into the database if it's not present. I want to do this through EF and not write SQL scripts. The EF recommendation is using UseAsyncSeeding (as well as UseSeeding?): https://learn.microsoft.com/en-us/ef/core/modeling/data-seeding#configuration-options-useseeding-and-useasyncseeding-methods The .NET Aspire docs simply have this: https://learn.microsoft.com/en-us/ef/core/modeling/data-seeding#configuration-options-useseeding-and-useasyncseeding-methods I would like for the logic to be seperated from the BackendService, and potentially be an extra worker service that simply adds data to the database, from entities like SessionEntity. Any good repos with examples on how to properly do the seeding? The EF recommendation seems extremely wordy in it's implementation, and I'd like for it to be easy to add to a list of entites you want to seed.
2 replies
CC#
Created by burakkyi on 5/20/2025 in #help
Need help about c#
I don't know anything about c# and want to learn it so I can use unity to get into a job, but I don't know if I should either use the Internet to learn it or pay a course in udemy, does anyone have any suggestions
23 replies
HHomarr
Created by DullSafteyPin on 5/20/2025 in #💬・get-help
"Download Client" item wont let me move columns
I am running Homarr 1.20.0 on Docker. I have the qbittorrent integration setup with the download client item. But when I add new columns like up speed or ratio I am not able to move them. I can grab and drag them but they just stay in the same place
4 replies
CC#
Created by ewilliams on 5/20/2025 in #help
Aspnet Instrumentation OTEL Filters
I ran into an interesting problem using the Open Telemetry packages in a dotnet 8 application. We have a service that gets hammered, roughly 3b events a month so I created a custom filter to sample specific routes. After deploying the update I noticed my should be 90% reduction only went down by about half. I did some local testing and reviewed the data only to find the filter predicate was never even invoked from a specific appliance we have out in the field. It’s an old windows CE device using HTTP 1.1. Aside from that I don’t notice anything different about the request. Unfortunately these devices can’t be updated or at least not quickly as there are several thousand out in the field. Is there a different filter mechanism I can use as apposed to the packages OTEL middleware that may happen further down stream?
builder.Services
.AddOpenTelemetry()
.ConfigureResource(resource => resource.AddService(DiagnosticsConfiguration.ServiceName))
.WithTracing(tracing =>
{
tracing
.AddSource(DiagnosticsConfiguration.ServiceName)
.AddAspNetCoreInstrumentation(ops =>
{
//// code here is never invoked with old http client
ops.Filter = new RootSpanEndpointFilter("POST").Filter;
})
.AddSqlClientInstrumentation(o =>
{
o.SetDbStatementForText = true;
o.Filter = @object =>
{

/// ….
};
})
.AddHttpClientInstrumentation();

tracing.AddOtlpExporter();
})
.WithLogging(logging =>
{
logging.ConfigureResource(re => re.AddService(DiagnosticsConfiguration.ServiceName));
});
builder.Services
.AddOpenTelemetry()
.ConfigureResource(resource => resource.AddService(DiagnosticsConfiguration.ServiceName))
.WithTracing(tracing =>
{
tracing
.AddSource(DiagnosticsConfiguration.ServiceName)
.AddAspNetCoreInstrumentation(ops =>
{
//// code here is never invoked with old http client
ops.Filter = new RootSpanEndpointFilter("POST").Filter;
})
.AddSqlClientInstrumentation(o =>
{
o.SetDbStatementForText = true;
o.Filter = @object =>
{

/// ….
};
})
.AddHttpClientInstrumentation();

tracing.AddOtlpExporter();
})
.WithLogging(logging =>
{
logging.ConfigureResource(re => re.AddService(DiagnosticsConfiguration.ServiceName));
});
2 replies
CCoder.com
Created by Froz8N - SilentBuy (WR) on 5/20/2025 in #help
wow
how to get claude?
3 replies
RRefine
Created by rising-crimson on 5/20/2025 in #ask-any-question
How to change page title ?
Hey, i need help. I cant find way how to dynamicly change page title.
10 replies
CC#
Created by Adam2023 on 5/20/2025 in #help
Image locate Error
No description
1 replies
CC#
Created by Frozen Breadstick on 5/20/2025 in #help
Windows Development NamedPipeServerStream in dll halting communications with client
Hi All, I have a C# dll that I am making to side load with a game in roder to expotr data from the game to be processed by a python machine learning algorithm. Right now I am trying to use a NamedPipeServerStream but I am having unexpected issues with communications suddenly halting with no explanation as to why.
C#
public static void Write()
{
try
{
while (true)
{
string local = null;
byte[] bytes;
lock (Gary)
{
local = data + "\n";
}
bytes = Encoding.UTF8.GetBytes(local);
pipeServer.Write(bytes, 0, bytes.Length);
pipeServer.Flush(); // Flush the pipe to ensure all data is sent
Log("Wrote", "write_log.txt");
Thread.Sleep(3); // Sleep for a short time to prevent high CPU usage
}
}
catch (Exception ex)
{
Log($"Error in Write: {ex.Message}", "write_log.txt");
}

}

public static void Read()
{
var sb = new StringBuilder();
while (true)
{
Log("Reading", "read_log.txt");
int b = pipeServer.ReadByte(); // ReadByte blocks until a byte is available, returns -1 if the pipe is closed
Log("Read","read_log.txt");
if (b == -1)
{
Log("Pipe Closed","read_log.txt");
break; // pipe closed
}
if (b == '\n')
{
// Got a full message
string data = sb.ToString().TrimEnd('\r');
var parts = data.Split(',');
lock (Nathaniel)
{
for (int i = 0; i < input.Length && i < parts.Length; i++) input[i] = parts[i] == "1";
}
sb.Clear();
Log("Read full string", "read_log.txt");
}
else
{
sb.Append((char)b);
}
}
}
C#
public static void Write()
{
try
{
while (true)
{
string local = null;
byte[] bytes;
lock (Gary)
{
local = data + "\n";
}
bytes = Encoding.UTF8.GetBytes(local);
pipeServer.Write(bytes, 0, bytes.Length);
pipeServer.Flush(); // Flush the pipe to ensure all data is sent
Log("Wrote", "write_log.txt");
Thread.Sleep(3); // Sleep for a short time to prevent high CPU usage
}
}
catch (Exception ex)
{
Log($"Error in Write: {ex.Message}", "write_log.txt");
}

}

public static void Read()
{
var sb = new StringBuilder();
while (true)
{
Log("Reading", "read_log.txt");
int b = pipeServer.ReadByte(); // ReadByte blocks until a byte is available, returns -1 if the pipe is closed
Log("Read","read_log.txt");
if (b == -1)
{
Log("Pipe Closed","read_log.txt");
break; // pipe closed
}
if (b == '\n')
{
// Got a full message
string data = sb.ToString().TrimEnd('\r');
var parts = data.Split(',');
lock (Nathaniel)
{
for (int i = 0; i < input.Length && i < parts.Length; i++) input[i] = parts[i] == "1";
}
sb.Clear();
Log("Read full string", "read_log.txt");
}
else
{
sb.Append((char)b);
}
}
}
Above are my Read and Write functions (I am avoiding using StreamReaders and StreamWriters) that run in seperate threads to preserve performance at the core of the main dll. My python client is in my first reply. When the program starts I get two data transmissions that are picked up by the client and one full read by the C# dll but then reading and writing stops on the C# side and as such the python also stops. I need serious help here as I have been bashing my head against a wall for days trying to figure it out. My assumptions is maybe the threads are being killed by some lurking AV process maybe?
3 replies
BBuildShip
Created by Chris Wright | Because You Can on 5/20/2025 in #❓・buildship-help
Error on the error reporting
No description
12 replies
BBuildShip
Created by Zorro on 5/20/2025 in #❓・buildship-help
Missing or insufficient permissions.
No description
7 replies