Theo's Typesafe CultTheo's Typesafe Cult
Created by Inbestigator on 6/10/2025 in #questions
createContext in Next server
Does Next really disallow all access to contexts on the server? I've got a custom React render (specifically only being used in the backend, contexts are required in react-reconciler, but Next seems to remove them whenever I run the route (TypeError: (0 , __TURBOPACK__imported__module__...__.createContext) is not a function)
3 replies
C#C#
Created by PurplePeopleEater on 6/10/2025 in #help
Best way to send my app a command
I want to send my Windows GUI app a command. It uses WPF and WinForms. The app will be running in VS via pressing the F5 key. Specifically I want to be able to hit a hotkey (of my choosing) while VS has focus but my app is running (minimized) via F5 and have two things happen. So for example... Step 1) Run my app via F5. Step 2) Minimize my app. (or the app may not even have a window open since sometimes I have it start with only a Tray Icon) Step 3) In VS hit a hotkey that should do the next two steps. Step 4) Have VS save all my files. Step 5) Send my app a message notifying it that I have pressed this hotkey so that it can take action. I can write a custom "Command" in C# (up to C# v8) using this extension https://vlasovstudio.com/visual-commander/index.html Or I can write my own VS Extension which I have done before - that said, I am trying to avoid writing an VS Extension. First my custom command would run the "Save All" command in VS. Then I want that same command to run some additional code to send my app a message/command. I want to know what is the best way for my command to talk to my app. The message/command that I send will initially not require any accompanying data to be sent to my app but it probably will need some data (i.e. parameters) in a future version. I am considering the following options and am looking for feedback (hopefully from someone who has experience doing something like this): Options I have considered for sending the message/command to my app: 1) Windows Pipes 2) RPC / gRPC 3) Windows Message (i.e. via the Windows message pump) 4) Create a file on the hard drive that my app knows to look for 5) In memory (RAM) shared file 6) Run a webserver inside my app and then hit a special URL that it exposes I want to do this from VS, but I am open to using VS Code, Rider, or an extension for VS or VS Code if one exists. (or I may need to write one myself) What do you recommend? Any help is appreciated, thanks!
7 replies
tRPCtRPC
Created by switz on 6/10/2025 in #❓-help
Preventing action from throwing error due to zod schema?
I have trpc creating server actions, fronted by a zod form data schema.
const createDatasetSchema = zfd.formData({
name: zfd.text(
z
.string()
.min(1, 'Name is required')
.max(100, 'Name must be less than 100 characters')
.lowercase()
.regex(/[a-z0-9-_]/)
),
});
const createDatasetSchema = zfd.formData({
name: zfd.text(
z
.string()
.min(1, 'Name is required')
.max(100, 'Name must be less than 100 characters')
.lowercase()
.regex(/[a-z0-9-_]/)
),
});
I don't want this to throw an error, I want to return errors to the frontend form (useActionState) so it can render what the errors are. Is there a good way to do this?
3 replies
C#C#
Created by PurplePeopleEater on 6/10/2025 in #help
REPL for C# in VS that lets you run methods that are defined in the app you are currently debugging
Does anyone know of a REPL for C# that allows you to run methods (which are defined in your app) in the context of the app that you are currently debugging (via F5) ? Does anyone know of a REPL for C# that allows you to arbitrary code in the context of the app that you are currently debugging (via F5) so that this code would have access to all of the values for the variables in my running app? Example: Step 1) Hit F5 to debug my app. Step 2) Use a REPL to run the myMethod() method which is defined in my already running app. Alternate Step 2) Use a REPL to run arbitrary code in the context of my already running app so that this code would have access to all of the values for the variables in my running app. I am specifically asking about VS but am also interested in the answer for VS Code and Rider too. I am also open to using an Extension to accomplish this. My app is a desktop WPF (and WinForms) app. I am aware of the Command Window, the Immediate Window, and the C# Interactive Window but none of these seem to let me do what I want. What I am asking for can be done when using Common Lisp environments, when using the MIT Scheme compiler, SmallTalk environments, and even for JavaScript running in web browsers. So I know that some languages/compilers support this (because I have used them) but I can't seem to figure out how to get it to work in VS. In these other environments this would be considered interacting with a live image of the application, but the closest thing to this that I have found in VS is "Edit and Continue" which is very limited. Any help is greatly appreciated, thank you.
82 replies
🎶  Moonlink.js - Imagine a Music Application🎶 Moonlink.js - Imagine a Music Application
Created by INSANE17?.!! on 6/10/2025 in #help
Spotify Access Token Fetch Error
No description
5 replies
Convex CommunityConvex Community
Created by Peacock on 6/10/2025 in #support-community
[Feature Request] Table & Relationship visualization
One feature I miss about Supabase is the ability to easily visualize my relationships between documents. I love the direct links in the table itself, would be cool to see this at a higher level.
2 replies
Heroic Games LauncherHeroic Games Launcher
Created by robust-apricot on 6/10/2025 in #🆘-support
HDR in Alan Wake 2 from Epic Store
I managed to get HDR enabled in game by using "--hdr-enabled" in gamescope but the colours appear to be washed out and not really running HDR. I'm running CachyOS with KDE Plasma on an AMD 7900XTX. First time getting this all setup from running Winodws so it's quite new to me. I found a bit of information about running it for a steam game but epic games seem a little different.
2 replies
Evrim AğacıEvrim Ağacı
Created by ! Lucid on 6/10/2025 in #❔┃sorular
Öğrenim yolları?
Arkadaşlar merhaba birisi bişey öğrenirken en hızlı nasıl öğrenir Okumak, Dinlemek ve yazmak bunlar zaten ideal başka ne tür var bu 3 öğrenim yolunu aşabilcek bir öğrenim yolu varmı mesela yazılım öğrenen biri en hızlı nasıl öğrenir
3 replies
Heroic Games LauncherHeroic Games Launcher
Created by flat-fuchsia on 6/10/2025 in #🆘-support
How does the cloud save sync features work?
I was playing Mafia III and Mafia III is one of those games that doesn't have a save button. When I exited the game(properly, I just didn't close the game) and when I re-entered the next day; everything went back to defaults and it didn't load the saves. I checked inside the wine prefix and there were .sav files but I guess they didn't load. Looking back, that was probably some bug on the game's end. I didn't realize this at the time and I enabled Autosync in the cloud save sync tab. I got the game to save this time, however, two days later, I opened the game and I got sent back to one of the beginning missions. I don't know why or how. Anyways, I think I do have it solved, I just manually hit the upload button every time I exit the game so that if anything weird happens, I'll hopefully have the save in the cloud. I don't know if I did something wrong, so I'm asking here. Game Logs(I didn't know to have verbose logging enabled, sorry): https://0x0.st/8E-n.log Heroic Logs: https://0x0.st/8E-5.log
1 replies
Heroic Games LauncherHeroic Games Launcher
Created by implicit-lime on 6/10/2025 in #🆘-support
err:service:device_notify_proc failed to get event, error 1726
This error is driving me insane. This appears at the very end of my PROTON_LOG when trying to launch Skyrim Anniversary Edition. I also get this error launching it through Steam, but I bought the game again for ease of future Skyblivion use.
2 replies
FilamentFilament
Created by Asmit on 6/10/2025 in #❓┊help
Please help, Record not resolved in visible() method of a SelectColumn
I’m trying to conditionally show a column based on the current record like this:
SelectColumn::make('car_color')
->label('Colors')
->options(CarColors::class)
->sortable()
->visible(function (Car $record) {
dd($record);
}),
SelectColumn::make('car_color')
->label('Colors')
->options(CarColors::class)
->sortable()
->visible(function (Car $record) {
dd($record);
}),
But the dd($record) inside the visible() callback never gets triggered, and it seems like the $record is not being resolved at all. Is visible() supposed to have access to the record for SelectColumn, or is it evaluated globally (i.e., not per record)? Would love some clarification on this. Thanks!
5 replies
Better AuthBetter Auth
Created by aris_22 on 6/10/2025 in #help
access user data in hooks
What's the correct way to retrieve user information within an after hook? I need to perform some additional validations during login.
2 replies
TermuxTermux
Created by exfurr on 6/10/2025 in #support
TigerVNC xkeyboard-config problem
No description
5 replies
RSM.GGRSM.GG
Created by SmokeyGT on 6/10/2025 in #📞|support
connection issue
No description
7 replies
Ash ElixirAsh Elixir
Created by Steve on 6/10/2025 in #support
Shared Validations
Where are shared validations typically stored? For example, say I have a User resource that has an email that has format and length requirements. Say there was a second resource where I wanted to share those same validations. Where would I store that? Normally I would put it in the MyApp.Accounts.User.Validations.Email module, but I'm not sure if that's appropriate to share across resources as a validation. The only alternative I can think of is having something like MyApp.Accounts.Shared.Validations.Email to make it clear this is a shared validation. Is there a best practice when it comes to this?
7 replies
PUBG MOBILEPUBG MOBILE
Created by DILSUZE on 6/10/2025 in #questions
How do i get my account BACK?
My account got stolen yesterday and now i cant claim it because they made a claim and now i have to wait 3 months. I know all the info about the account like all the people i played with the most, the past usernames and even the uc purchases receipts. I need you guys to help me get my account back please.
3 replies
Satisfactory ModdingSatisfactory Modding
Created by djGrrr on 6/10/2025 in #help-using-mods
Crash with Infinite Nudge
While nudging a power pole i got this crash which appears to be caused by Infinite Nudge, which doesn't seem to have been updated for 1.1.0.6 yet
9 replies
Universal BlueUniversal Blue
Created by serfma on 6/10/2025 in #🛟bazzite-help
Shader Pre-Caching Update Per Steam Account?
Unsure if this is a Steam issue, linux issue, or bazzite-related issue (assuming linux/steam but not sure). I am playing Deadlock daily and I have a 6.3GB shader pre-caching update. I have 600kbps download speed so I can't just download it in 20 minutes and go on with life. I have found even if I double click the desktop icon it will boot the game anyways. However, sometimes this does not work and it forces me to download the update. Clicking the icon just brings up the downloading prompt. If I switch Steam accounts it has the download but boots fine. Switching back to the other account after I have not tested but I'm forced to download the same chunk of shader precache randomly. No updates to the game occur and I'm forced to download a random amount.
2 replies
Theo's Typesafe CultTheo's Typesafe Cult
Created by BATO on 6/10/2025 in #questions
Upload Rate Limit Free Account UploadThing ?
Do anyone know the rate limit on upload files to uploadthing on a free account? I tried to upload several files and some got rejected Will paying for a subscription would change this? Tried looking into the docs, and looked at the post here, and also google, but found no info on the upload limits
2 replies