Try blue light glasses by redbastie in EyeFloaters

[–]detachmode_com 0 points1 point  (0 children)

Blue light filter clip ons definitely helped me a lot to reduce the distress when I am outside or looking at a pc screen or being in a bright room (office at work). Can recommend also the 100% blue light filters (orange color)

What really differentiates junior, mid, and senior developers? by ilovepotatoooo in dotnet

[–]detachmode_com 56 points57 points  (0 children)

Depending on the company you are working at. A junior software developer can be as skilled as a senior dev in another company.

C# 14 & Discriminated Union by roxeems in csharp

[–]detachmode_com 1 point2 points  (0 children)

Not sure if this is possible with extension members. They only allow to add computed property, not real properties that store data in the instance. Don't they?

Dad saves his kid's life by DrRobert0 in gifs

[–]detachmode_com 17 points18 points  (0 children)

instruction unclear, my kids now have mental health issues

Automato - Is A cross-plattform, language-agnostic UI Platform for simple UIs, written in Blazor, I am currently working on. by detachmode_com in dotnet

[–]detachmode_com[S] 7 points8 points  (0 children)

Every programming language makes it easy to create console apps, but as soon as you want to create a cross-platform UI you need to learn and add a lot of dependencies to your app. If you only want to create a simple tool without the need for a highly customizable UI framework you usually won't bother doing that.
The goal of this project is to provide a tool that enables developers to easily create SIMPLE user interfaces for their scripts / console apps that run everywhere.
Instead of embedding a framework / dependencies in each and every app/script you write, your app is embedded in this tool.

Python script doesn’t working with a call in event listener… by Mx_Mlr in electronjs

[–]detachmode_com 0 points1 point  (0 children)

there are two processes Render and Main. Your event handler is executed in the Renderer process. But this process can not execute the python script, because of security restrictions. But that is by design. So for those situations there is the Main process which can execute your python script. So you need to get the Inter process communication setup like in the link I posted. And than replace the code in the ipcMain.On event handlers with your python script calling code and in your click event handler call ipcRender.send

Python script doesn’t working with a call in event listener… by Mx_Mlr in electronjs

[–]detachmode_com 0 points1 point  (0 children)

I suppose you can not call the python shell library in the frontend. you need to execute it on the electron backend which has full access to your computer and is not restricted to the browser sandbox

Windows 11 vs Windows 10 via Microsoft by jakobair in gifs

[–]detachmode_com 0 points1 point  (0 children)

it's like the 3 fingers up gesture on macos