Sumofabith

u/Sumofabith







r/serverless•

Hi there, novice developer working with the serverless framework. Im running to an issue when trying to implement layers with my serverless project.

I packaged my functions without the external dependencies because I want to include those in a layer that I can share to all my functions. However, I can't seem to get it to work. Can i even make it work with webpack? Do i even need webpack at all?

I defined a layer in my serverless file and pointed the path to a layer directory containing my package.json file with all my dependencies. I Referenced the layer to my functions and it's still not creating a layer for me when i deploy my functions. Can anyone guide me here?

10

r/AMDHelp•

Hey, just wanted to know if anyone is experiencing any driver issues? My driver keeps crashing and I keep getting a black screen.

Sometimes my windows wont load the driver at all even after a restart, sometimes after after restart I get a screen but the driver itself is disabled so I have to go to device manager to enable it again and restart to get full functionality.

Anyone know what's causing this? Could the GPU itself be dying? Is it a windows issue? I am losing my mind at this. Thinking of getting rid of my RX 6700 XT and switching to nvidia.

12

r/pchelp•

Ever since i updated to windows 11. My driver keeps crashing and I get black screen. I usually restart and I get display back

But, Now its crashed one more time and even when I restart. My monitor isnt showing anything.

Note that I could hear my pc booting up, i could hear my friends on discord when my pc automatically launches discord and puts me back in the voice channel back as I was in there when i restarted my PC. I could even talk to my friends all the while my monitor is not displaying anything.

Its like my driver is just gone.

I cant see shit and I cant do shit.

Im using a ryzen 5 5600, RX 6700 xt, 16gb 3200 MhZ ram, Asrock b550 motherboard, a 650 watt psu.

11

r/AMDHelp•

Ever since I accidentally updated to windows 11. My driver sometimes crashes and i get a black screen.

I’ve restarted my pc and can hear it booting up and Im even able to talk on discord when it launches and throws me back into the server I was in when it crashed but my monitors arent displaying anything. They’re black

I don’t know what to do, i tried window ctrl shift B to restart the driver but its not working. I’ve restarted my PC and i still get no display despite hearing it boots up and launching discord.

Fuck windows 11

16

r/expo•

Hi, very very new to mobile app development. Learning expo router for navigation and initialized a new react native expo app with router.

​

​

https://preview.redd.it/cwijayo6d2oa1.png?width=581&format=png&auto=webp&v=enabled&s=f2683087aa319694439e621ae478e4b343b87b19

I started the app and I am greeted with this screen :

​

​

https://preview.redd.it/tu46of5ad2oa1.png?width=271&format=png&auto=webp&v=enabled&s=e5df53d31c9d0a6754b5096375fc852abab4ca52

​

However, when I try clicking/tapping on the "$ touch app/index.js" button. It won't redirect me to the index.js screen/page. Tried it both on the web

13

r/webdev•

Wanted to know if there is a way to extract multiple snippets of text from a long string of text based on a keyword. The "snippet" of text would include the specified keyword as well as a few characters in front and behind the specified keyword in the text.

Here is an example long text :

Sitting in the sun, away from everyone who had done him harm in the past, he quietly listened to those who roamed by. He felt at peace in the moment, hoping it would last, but knowing the reprieve would soon come to an end. He closed his eyes, the sun beating down on face and he smiled. He smiled for the first time in as long as he could remember.

Lets say the keyword is : "sun"

Here's the expected

13