Steve Fan

Results 123 comments of Steve Fan

> This example works: > > Program.cs: > > ```cs > var builder = CoconaApp.CreateBuilder(args); > builder.Services.AddSingleton(); > > var app = builder.Build(); > app.AddCommands(); > app.AddCommand(ExecuteAspNetCore); > app.Run(); >...

I copied some code and ended up like this: ```rustuse core::{ alloc::{GlobalAlloc, Layout}, cell::{RefCell, UnsafeCell}, marker::PhantomData, mem::MaybeUninit, ops, ptr::{ self, NonNull, }, }; use const_default::ConstDefault; use rlsf::Tlsf; use spin::Mutex; pub...

@yvt I'm using embassy and is suspectable to this. Any recommendation to mitigate locks? Of course we can't redesign TLSF to go lock-free...

@yvt Based on your suggestion I implemented the following instead: ```rust use core::{ alloc::{GlobalAlloc, Layout}, mem::MaybeUninit, ptr::{self, NonNull}, }; use const_default::ConstDefault; use embassy_sync::blocking_mutex::raw::NoopRawMutex; use embassy_sync::mutex::Mutex; use riscv::interrupt; use rlsf::Tlsf; pub...

bruh use webpack

@ashish1099 I decided to remove Netbird from my K8S node simply because of this

This is needed for [Den](https://github.com/stevefan1999-personal/den) now. For now I have to mask it with not implemented...pity

https://github.com/buehler/dotnet-operator-sdk/blob/bfc9f7b0fdec13646d45cd84b4801db2416a0682/src/KubeOps.Operator.Web/LocalTunnel/DevelopmentTunnelService.cs#L90 Offending line

For the lulz, just derive the drivers as dependencies and inject them on-demand with TypeDI🙃. However, the GCDs of the drivers aren't...so well compatible to each other, for example, mongo...