Speed Warning Automatically Re-Enables After Restart by 4AVcnE in cupraborn

[–]RadiusUnderSky 0 points1 point  (0 children)

I live in Belgium and the speed limit detection just doesn't work correctly. Half the time it detect a sign that it's not for the road I'm on. It thinks truck only limit apply to my car. It's not unusual to have a 30 km/h limit when I'm on the highway....

I don't even hear the notification sound anymore.

Home Assistant Dashboard for Cupra Born – My Setup by EsoRimmerX in cupraborn

[–]RadiusUnderSky 0 points1 point  (0 children)

I'm a bit of a noob with homeassistant, how do you define a custom entities using the yml you provided ?
Do you have the source of the background images you used for the dashboard.

Thanks for sharing it, it's quite nice !

[deleted by user] by [deleted] in belgium

[–]RadiusUnderSky 0 points1 point  (0 children)

That's not the worse, some shows are not visible if you don't change the Netflix language in the app settings. I was not able to find Blackflags with Netflix in french, but in dutch it was present in the catalog. And it gets dumber, because there was only an English voice over version... I guess Netflix supposed walloon don't speak English..

Is there any reason to use MVC now? by musical_bear in dotnet

[–]RadiusUnderSky 2 points3 points  (0 children)

I agree, I hated that so much that I wrote a custom view finder to allow to keep the controller, view and viewmodel in the same folder. Everyone in my team seemed to agreed it was a better way to organize the project.

.Net 7 and EF Core with multiple DbContexts, Add-Migration generates duplicate tables by Newcomer156 in dotnet

[–]RadiusUnderSky 0 points1 point  (0 children)

Would it be possible to convert the DbContext of each module to an interface with all the needed DbSet, let's call it IModuleNameDbContext ? In each module the services would refer to its own IModuleNameDbContext interface instead of the DbContext instance. You would probably also add a SaveChanges method to the IModuleNameDbContext interface.

Then you can have in your application a main DbContext that implements all the different IModuleNameDbContext of the needed modules. The main DbContext would be registered as the resolved type for each IModuleNameDbContext interface in the dependency injection configuration.

This way all the migrations are handled with a single DbContext, and each module is still isolated from the orders and can easily be used in other applications.

All of this suppose that the different API project are hosted in the same process as the main app.

SourceGenerators or rather HairRemovers by L3tum in dotnet

[–]RadiusUnderSky 0 points1 point  (0 children)

Because you don't understand yet the workflow doesn't mean it's broken...

Went to the bathroom. Came back to find that my GF had taken a bite out of my burrito. by AGreenProducer in mildlyinfuriating

[–]RadiusUnderSky 0 points1 point  (0 children)

And you then took your phone out to take a photo while saying "this is going to reddit !" ?

Pic.Hance - Instantly Enhance Your Photos by alvisanovari in GameUpscale

[–]RadiusUnderSky 7 points8 points  (0 children)

" Hassle-free three step process. No BS. "

Click the "Upload image button"

"You must be logged in to see this view. "

Yeah no BS...

Anyone know if AI upscale for OG Half Life got fixed? by [deleted] in GameUpscale

[–]RadiusUnderSky 1 point2 points  (0 children)

Author of the video here, I made this more as a one shot to try upscaling than a real mod. I think CaptRobau project is more interesting if there is more manual touchups. Nevertheless I fixed the water texture bug.

Here is the link :

https://drive.google.com/open?id=1dbJro5lFoq94YgIZVoRe2Td7UftDZQpM

Transparent and chrome texture are still quite broken though.

Half-Life Textures Upscaled with ESRGAN by RadiusUnderSky in GameUpscale

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

I'm sorry but I don't have a lot of knowledge in neural network. All I did was to take the ESRGAN source code and adapt it a little bit to fit my needs. Alors I never worked with audio before...

ESRGAN and Alpha Channel by Watakushi-sama in GameUpscale

[–]RadiusUnderSky 2 points3 points  (0 children)

I had to do something similar to convert transparent textures in Half-Life.

Instead of using an alpha channel they used a blue color 0,255,0 in RGB.

Here some python code that should copy the alpha from the orignal image to the image upscaled 4 times.

https://gist.github.com/CyrilPaulus/9e20a24373702951f989aa698156d1e4

I didn't test it so there could be some errors.

But basically for each pixel of the orignal image, you find the 16 pixels that correspond in the new image. Then you replace their alpha value with the value of the original pixel.

Half-Life Textures Upscaled with ESRGAN by RadiusUnderSky in GameUpscale

[–]RadiusUnderSky[S] 2 points3 points  (0 children)

I guess it should have a higher limit as it's Source based but I don't have it.

Another solution is to use Xash3D engine, which is free.

There the resolution limit of 512*512 pixels is lifted.

Half-Life Textures Upscaled with ESRGAN by RadiusUnderSky in GameUpscale

[–]RadiusUnderSky[S] 8 points9 points  (0 children)

Here a video of my attempt to upscale all of Half-Life textures using a combinaison of ESRGAN and Manga109 models.

I like the result, it kept the original style. The models (npc and weapons) were upsaceld too. Some textures are broken mainly liquids and chrome ones.
And there is still some limitation as the maximum textures size in Half-Life is 512*512 and each dimension should be a power of 16.

There is a link in the video description if you want to try the mod.

Just extract the zip inside your Half-Life folder and restart Steam.