▲ 1 r/vuejs

use vue3-sfc-loader with typescript

I have "screens" in my app (basically vue file).

Different clients will have their own version of screens. So instead of pre-compiling them into application i want to load them dynamically based on the login.

So want to use vue3-sfc-loader but not sure how to use it with typescript.

Is it possible? Or should i somehow compile/convert .vue file with typescript to .vue file with JavaScript and then feed to vue3-sfc-loader? If yes, then how can i convert .vue(ts) to .vue(js)?

reddit.com
u/gevorgter — 4 days ago
▲ 5 r/csharp

Serilog, mix enriched properties and passed as parameter.

How can i mix enriched properties and passed as parameters.

ILogEventEnricher[] enrichers =
[
    new PropertyEnricher("OrderId", "ORD-12345"),
    new PropertyEnricher("UserId", "User_99"),
];

using var logContext = LogContext.Push(enrichers);
log.Information("Item:{item}", 23);
//Item:23
log.Information("OrderId: {OrderId}, UserId {UserId}");
//OrderId: ORD-12345, UserId User_99
log.Information("OrderId: {OrderId}, UserId {UserId}, item:{item}", 23);
//OrderId: 23, UserId User_99, item:{item}

I want my line

log.Information("OrderId: {OrderId}, UserId {UserId}, item:{item}", 23); 

to produce output

"OrderId: ORD-12345, UserId User_99, item:23"

How can i do that?

reddit.com
u/gevorgter — 11 days ago
▲ 10 r/csharp

WASM in .NET

So decided to test how WASM will work (not blazer, plain wasm app).

Created a project with type "Console exe", changed runtime to browser-wasm

Problems:

  1. Publish does not work although says "Success", just does not do anything when i try to publish to some folder. No folder is created and stays empty if i create folder manually.

  2. When i compile as Release, bunch of extra is generated. I get files in "Release\net10.0\browser-wasm", "Release\net10.0\browser-wasm\AppBundle" but everything appears to be working with just files from "Release\net10.0\browser-wasm\AppBundle\_framework"

That folder appears to have my app compiled and dotnet.js (wasm modules).

  1. No typescript definitions for dotnet.js. Anyone knows where i can get them? My code works

    const dotnetModule = await import('/_framework/dotnet.js'); const { getAssemblyExports, getConfig } = await dotnetModule.dotnet .withDiagnosticTracing(false)   .create(); const config = getConfig(); const exports = await getAssemblyExports(config.mainAssemblyName); const result = exports.MyWasmFunctions.GreetUser("Alex"); //My function

But i can't find typescrypt definitions for getConfig, getAssemblyExports... or any other method that might exist in dotnet.js module.

reddit.com
u/gevorgter — 18 days ago

Canceled flight

So we were supposed to go from Philly to Chicago. Flight was at 5 pm, right after we passed security, around 4 pm we get notification that flight is canceled.

​

Rebook option was only with XX hours connection with total time of about 17 hours. So we would have to get a hotel there as well..

We already paid for 3 days hotel in downtown chicago and did not want to lose that money.

​

We decided to refund tickets, rented a car one way and drove to Chicago. Only 12 hours so not bad. We did stop for the night at the hotel.

​

Question, it's my first time in this situation, and what I could have done better, and what reimbursement can I expect from airline?

​

​

​

​

​

reddit.com
u/gevorgter — 23 days ago

SqlServer 2025/Ubintu/Docker crashes occasionally.

Upgraded to Sql 2025 recently, running in docker on Ubuntu (big mistake).

All latest patches, It crashes occasionally

Anyone else having problems?

Here is the latest crash info.

This program has encountered a fatal error and cannot continue running at Mon May 25 12:27:36 2026 The following diagnostic information is available:          Reason: 0x00000004         Message: ASSERT: Expression=((seenByMonitor) <(NonYieldThreshold)) File=LibOS\Windows\Kernel\SQLPal\common\dk\sos\src\sosschedmon.cpp Line=202     Stack Trace:                  file://package6/windows/system32/sqlpal.dll+0x000000000000A5D6                  file://package6/windows/system32/sqlpal.dll+0x0000000000009909                  file://package6/windows/system32/sqlpal.dll+0x00000000000055D4                  file://package6/windows/system32/sqlpal.dll+0x00000000000F11A5                  file://package6/windows/system32/sqlpal.dll+0x00000000000F0C2F                  file://package6/windows/system32/sqlpal.dll+0x00000000000E366A                  file://package6/windows/system32/sqlpal.dll+0x00000000000A8D41                  file://package6/windows/system32/sqlpal.dll+0x00000000000A8FA1                  file://package6/windows/system32/sqlpal.dll+0x000000000000510C         Process: 12 - sqlservr          Thread: 22 (application thread 0x38)     Instance Id: 698f99b3-2b72-404a-abef-aca8906a4676        Crash Id: b89c2da1-119f-48c2-9dd5-6423ed2f748c     Build stamp: 869cbfe2a28bbc5800059f48feda967144643fd64d79a439b5c6333420172b72    Distribution: Ubuntu 24.04.4 LTS      Processors: 4    Total Memory: 8322883584 bytes       Timestamp: Mon May 25 12:27:36 2026 Capturing a dump of 12 Successfully captured dump: /var/opt/mssql/log/core.sqlservr.5_25_2026_12_27_36.12 
Executing: /opt/mssql/bin/handle-crash.sh with parameters      handle-crash.sh      /opt/mssql/bin/sqlservr      12      /opt/mssql/bin      /var/opt/mssql/log/            698f99b3-2b72-404a-abef-aca8906a4676      b89c2da1-119f-48c2-9dd5-6423ed2f748c            /var/opt/mssql/log/core.sqlservr.5_25_2026_12_27_36.12 Ubuntu 24.04.4 LTS Capturing core dump and information to /var/opt/mssql/log... Capture info: Kernel Version Capture info: OS release Capture info: System memory information Capture info: Command line Capture info: Start Time Capture info: Process limits Capture info: Thread list Capture info: Processor topology Capture info: Process mounts Capture info: Process statistics Capture info: Process status Capture info: Process memory maps Capture info: Process memory maps (detailed) Capture info: Core Dump filter Capture info: Process CGroup information Capture info: Process scheduler information Capture info: Process list Capture info: Process handle information Capture info: Process environment variables Capture info: System package list (dpkg) dmesg: read kernel buffer failed: Operation not permitted timeout: failed to run command 'journalctl': No such file or directory timeout: failed to run command 'journalctl': No such file or directory Mon May 25 12:28:50 EDT 2026 Capturing program information Dump already generated: /var/opt/mssql/log/core.sqlservr.5_25_2026_12_27_36.12, moving to /var/opt/mssql/log/core.sqlservr.12.temp/core.sqlservr.12.gdmp Moving logs to /var/opt/mssql/log/core.sqlservr.12.temp/log/paldumper-debug.log Mon May 25 12:28:51 EDT 2026 Capturing program binaries Mon May 25 12:28:57 EDT 2026 Not compressing the dump files, moving instead to: /var/opt/mssql/log/core.sqlservr.05_25_2026_12_28_46.12.d SQL Server 2025 will run as non-root by default. This container is running as user root. Your master database file is owned by root. To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
reddit.com
u/gevorgter — 1 month ago

"TypeError: Failed To Fetch" on Safari, Anyone have similar experience?

Starting about 2 weeks ago, apple users (IPhone or Mac computer) occasionally get a message from my web app. "TypeError: Failed To Fetch"

Anyone have similar experience? The code works but occasionally Safari throws that error.

My code bellow to send request is a javascript (method). The "await rp" throws the error and my function showError shows that to the user.

  1. There are no errors on a server in a log, like request did not even make it.

  2. Happens only on Safari (Mac, IPhone). Never happens on Chrome in windows.

  3. We do use Clouldflare as a front for the website.

  4. Started to happen about 2 weeks ago.

I am pulling my last hair, I do not have Mac and i can not install Safari on windows.

let rp = fetch(apiurl, {
     method: "POST",
     headers: {
      'Content-Type': 'application/json'
    },
    body: jsonstring,
});

try {
  let response = await rp;
   ........
}
catch (error: any) {
    showError('Error:' + error);
}
reddit.com
u/gevorgter — 2 months ago