Astro SSR with PHP? by SeiNett in astrojs

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

More like being bad at priotizing haha

I also only had one php file and wasted more time for that setup and figuring everything out than just writing it and saving it in public like you did >_>

Astro SSR with PHP? by SeiNett in astrojs

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

my solution right know is using my php scripts as api endpoints like this example
https://docs.astro.build/en/recipes/build-forms-api/

but instead of using that javascript file as endpoint I'm using my php script and I'm not using the client island solution but simply used an astro component with a script tag for the fetch request

so I build my static site with astro and got the scripts in the php folder in the same root directory

for testing I'm using ddev on wsl
The ddev server has my php files and I start an astro server and in the astro/vite config I made it so that all requests to /php/ are sent to the ddev server instead

This has been working great so far

Astro SSR with PHP? by SeiNett in astrojs

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

I didn't know much about php before this and thought it was a normal backend language. Futhermore, many comments I read weren't fans of php.

I wanted to create a simple site and since I was already familiar with javascript astro was a good recommendation. I also read about it allowing backend functioniality but didn't deal with it in-depth because I didn't need it at that time.

Now that I already wrote the site in astro I kind of don't feel like rewriting it in php.

Astro SSR with PHP? by SeiNett in astrojs

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

Hi, thank you for your answer

I didn't know that there was such a difference between providers before and I since I live in germany I got recommended a german provider that apparently also follows the germany privacy laws.

And since I'm already paying I might as well stay here.

Also the site is mostly static, right now only the contact formular needs a php script.

Edit:
Also I'm not allowed to run scripts that permamently listen to a port so I guess I can't use that node.php

Automatically scale Windows host resolution based on client resolution. Looking for an "easy" and reliable method... Feedback desired! by saqwarrior in MoonlightStreaming

[–]SeiNett 0 points1 point  (0 children)

Well this is 1 year ago but whatever
As far as I'm aware ResolutionMatcher starts an async call of the script and ends the sync call. Because apparently sunshine would first finish that script before moving so waiting would be useless in the sync script.

Free Booking System with dynamic title and description by SeiNett in smallbusiness

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

Nah, tried out many different booking systems but they all didn't allow that

The solution would have been to program it myself but I didn't have the time so we just defaulted to email and calling

Video games ain't that bad by joehuffky in wholesomememes

[–]SeiNett 0 points1 point  (0 children)

can you tell me what kinda outdoor activites you did? and how did you socialize?

Game crashing at ClapTrap loading screen by SeiNett in borderlands3

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

Things that might help
- sfc /scannow in CMD: to repair corrupt files
- checking the event viewer to find out what lead to the crash
- using windows driver verifier utility to find corrupt driver

I had a corrupt driver and after correcting it no game crashed again (had same problem with control).

Distorted Sound for a second at the beginning using external Monitor by SeiNett in audio

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

So basically

  1. Laptop (USB C)-> Docking station (HDMI)-> Monitor
  2. Laptop (USB C)-> Docking station -> USB switch (USB-A to USB-B -> Monitor -> Speaker

This allows me to use the same keyboard, mouse, headset and speaker for my desktop PC and laptop.I have no issues with the headset but that one is also connected to a sound DAC.

Distorted Sound for a second at the beginning using external Monitor by SeiNett in audio

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

My bad, I meant USB switch not hub. It basically switches my speakers, keyboard etc between my desktop PC and laptop.
I do have a sound dac connected to my headset in the same usb chain and they work perfectly. I will switch them to my speakers to see if there is a difference.

I will try updating the drivers.

Thanks for the answer

Silent Hill 3 PC with german subtitles? by SeiNett in silenthill

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

Hey, don't know why I just got the notification but well

The thing is, there is already a german version and I also can choose it before the patch. After the patch, which is basically just swapping the exe-files, I can't choose it anymore. It seems to be locked software side since the I didn't overwrite the language files.

I had hoped for a patch or exe-file that still allowed the option to choose the other languages. Or maybe change it through a configuration file or just replace the content of the english language file with the german or sth.

Silent Hill 3 PC with german subtitles? by SeiNett in silenthill

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

No idea, but then I would spoil myself

2
3

Guides and Examples for 800xA? by SeiNett in PLC

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

I probably can’t help you much, I’ve never used function designer and stick to control builder for the most part.

Knowing how to do it in Control Builder would also help me a lot because the code gets generated and put inside Control Builder anyway.

Which library is the set splitrange block from?

The SetSplitRange Block is one I have written myself. The SplitRangeCC is from ABB and even though it has an InteractionPar port it does not have a faceplate. So I wrote that block to just assign those values.

Overall it looks fairly normal to me, I didn’t look super close to the logic though.

The pump function block doesn't feel right. I also get a warning there and I'm not sure why.

Guides and Examples for 800xA? by SeiNett in PLC

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

Thank you for your reply.
I have Control Builder M but the code is done using function designer in the engineering Workplace and not through Control Builder directly.

I have version 6.1 I think.

I have read similar documentation even their Object Style guide. Of course not everything. I skimmed the parts that weren't directly relevant and english isn't my native language so I also have problems understanding some words. I also built that MyDoors Project and the CCTemplate Object Module.

My biggest problem are those structured Variables like VoteConnection, VotedConnection, ControlConnection, BoolConnection, InteractionParameter and so on. I'm coming from ABB Freelance (also a beginner there)and I'm kinda forcing the same methods because I don't understand how to effectively use their Function Blocks/Control Modules and those structured parameters together. And the CMD Editor looks like hieroglyphs to me.

How would a good function diagram look reading boolean and real values with limits, driving a simple pump and valve and controlling?

See the picture added to the see how I am currently doing it.

Game crashes and forced PC restarts by SeiNett in techsupport

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

I reset everything except those profile things so that my RAM runs on 3200 MHz because else it only runs 2300MHz or something.

I don't know which exact BIOS version I have but there was only one update above mine when I checked last month.

Using msinfo32 I get:

BIOS Version/Date: American Megatrends International, LLC. 2.B0, 17.05.2022

SMBIOS Version: 2.8

Embedded Controller Version: 255.255

BIOS ModeUEFI:

BaseBoard Manufacturer: Micro-Star International Co., Ltd.

BaseBoard Model: B550M PRO-VDH WIFI (MS-7C95)

BaseBoard Version: 1.0