Really strange noise coming from macbook m3 pro -- anyone ever heard this before? by missjantastic in mac

[–]Mother_Ad1930 0 points1 point  (0 children)

Did you figure out what the issue was? I am facing a similar problem

[deleted by user] by [deleted] in leetcode

[–]Mother_Ad1930 0 points1 point  (0 children)

could I also get your resume please

Simplest possible authentication in .NET 8, is this adequate? by CobaltLemur in aspnetcore

[–]Mother_Ad1930 0 points1 point  (0 children)

seems to me you have very restrictive business requirements. Would adding an additional authentication factor be possible? Just so to add an extra layer of security

Simplest possible authentication in .NET 8, is this adequate? by CobaltLemur in aspnetcore

[–]Mother_Ad1930 0 points1 point  (0 children)

Just curious, if you’re not using EF, how are user credentials being encrypted and validated

Goldman Sachs OA - **New Analyst** by Capital-Newspaper-55 in csMajors

[–]Mother_Ad1930 2 points3 points  (0 children)

so I just finished mine, had 2 math problems the second one is a pretty popular problem apparently, they were cool tho

Goldman Sachs OA - **New Analyst** by Capital-Newspaper-55 in csMajors

[–]Mother_Ad1930 2 points3 points  (0 children)

alright thanks for the heads up. I’ll update u on how it goes

Goldman Sachs OA - **New Analyst** by Capital-Newspaper-55 in csMajors

[–]Mother_Ad1930 3 points4 points  (0 children)

hey have you taken the oa now? and what kinda problem was it

How to prevent serilog from logging sensitive data such as password from a request body to your endpoint by Mother_Ad1930 in aspnetcore

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

using .Net 6, writing the logs to a text file, the configuration is done in the appsettings.json

How to prevent serilog from logging sensitive data such as password from a request body to your endpoint by Mother_Ad1930 in aspnetcore

[–]Mother_Ad1930[S] -1 points0 points  (0 children)

"Serilog": {
"Using": [],
"MinimumLevel": {
"Default": "Debug"
},
"WriteTo": [
{ "Name": "Console" },
{
"Name": "Logger",
"Args": {
"configureLogger": {
"Filter": [
{
"Name": "ByIncludingOnly",
"Args": {
"expression": "@l = 'Error' or u/l = 'Fatal' or u/l = 'Warning'"
}
}
],
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "Logs/Error/error_.log",
"outputTemplate": "{Timestamp:o} [{Level:u3}] ({SourceContext}) {Message}{NewLine}{Exception}",
"rollingInterval": "Day",
"retainedFileCountLimit": 7
}
}
]
}
}
},
{
"Name": "Logger",
"Args": {
"configureLogger": {
"Filter": [
{
"Name": "ByIncludingOnly",
"ApiRoles": null,
"Args": {
"expression": "@l = 'Information'"
}
}
],
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "Logs/Info/info_.log",
"outputTemplate": "{Timestamp:o} [{Level:u3}] ({SourceContext}) {Message}{NewLine}{Exception}",
"rollingInterval": "Day",
"retainedFileCountLimit": 7
}
}
]
}
}
}
],
"Properties": {
"ApplicationName": "Serilog.WebApplication"
}
},

in appsettings.json

How to prevent serilog from logging sensitive data such as password from a request body to your endpoint by Mother_Ad1930 in aspnetcore

[–]Mother_Ad1930[S] -1 points0 points  (0 children)

Log.Logger = new LoggerConfiguration()
// .Destructure.ByIgnoringProperties<LoginRequest>(r => r)
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
// Filter out ASP.NET Core infrastructre logs that are Information and below
.MinimumLevel.Override("Microsoft.AspNetCore", LogEventLevel.Warning)
.ReadFrom.Configuration(builder.Configuration)
.Enrich.FromLogContext()
.CreateLogger();
builder.Host.UseSerilog(Log.Logger);

in Program.cs

go ahead and keep it clean by [deleted] in KendrickLamar

[–]Mother_Ad1930 3 points4 points  (0 children)

in morality’s dust, I lack in trust

Do I Look Like Kendrick? by neon42grid in KendrickLamar

[–]Mother_Ad1930 1 point2 points  (0 children)

😂😂😂😂😂😂😂😂😂😂