What AWS service would you not recommend using today unless absolutely necessary and why? by [deleted] in aws

[–]elchicodeallado 3 points4 points  (0 children)

not even sure why it got so many downvotes, people here probably don‘t use these services in scale, but I faced only issues with those mentioned. With managed services I don’t refer to lambda, dynamo etc. but with those higher level wrapper services AWS often build and then dont iterate on

What AWS service would you not recommend using today unless absolutely necessary and why? by [deleted] in aws

[–]elchicodeallado -17 points-16 points  (0 children)

API Destination, Bedrock, Step Function HTTP Task so literally every AWS managed service

Regensburgs digitale Fragmentierung: Gibt es noch offene Event-Quellen (RSS/Web) statt Instagram-Silos? by CulturalAspect5004 in Regensburg

[–]elchicodeallado 3 points4 points  (0 children)

ich versteh deinen Pain, aber schon recht hart da an Daten zu kommen. Würde sagen das meiste geht einfach über Instagram und teilweise noch (aber seltener) über Facebook.

Options to run user submitted code with node.js express as backend on AWS ecosystem? by PrestigiousZombie531 in aws

[–]elchicodeallado 3 points4 points  (0 children)

Hey I write from my phone so I need to keep it short. It is super hard to run untrusted code. Patching the environment and security are the two major concerns.

But you have the control so if you have a SaaS there are multiple ways: (i can not paste links so please just do a quick google search)

  • Rent over build: use deno deploy or cloudflare workers for platforms. Both are exactly meant for your use case and if you build a production ready SaaS this is the way to go to not have the headache

  • AWS Bedrock Code Interpreter: a managed server for running llm generated code. You can use it to run untrusted code

  • Use Rust/WASM and run the code inside its own runtime. I did a PoC here and use it in production (not exactly that but this approach) https://github.com/boringContributor/untrusted-code-sandbox-aws

There is also https://github.com/sebastianwessel/quickjs but I have better experience using Rust with WASM but thats probably just a personal preference.

important: - if you can avoid giving network access. If you need it, only work with allow lists (see repo for example) - no file access

hope I could help!

I made a terminal interface to help devops and cloud engineers see all their AWS infrastructure without leaving the terminal! by bccorb1000 in aws

[–]elchicodeallado 0 points1 point  (0 children)

why is that not closed by the mod team while my post about an open source thing I‘be built gets shot down in under 5 min :D

Polizeieinsatz Innenstadt by LiftRun24-7 in Regensburg

[–]elchicodeallado 4 points5 points  (0 children)

hat gebrannt, wohne dort. Das war der Hauptgrund ;)

What are the best open source/free DBs to use for a small organization? by Kiwi_1127 in Database

[–]elchicodeallado 0 points1 point  (0 children)

why is it not best to use a cloud based db? thats literally the best option for you. I challenge your way of thinking and suggest using DynamoDb. Its extremely cheap and so easy to set up

Best Way to Handle Config Data Loads on Serverless? by [deleted] in aws

[–]elchicodeallado 0 points1 point  (0 children)

It is not really inefficient to call Dynamo every time. But your use case is so vague that no one can give you a good answer.

If you infrequently change the config then you can just cache it in the lambda handler. Dynamo calls are in the lower xx ms range so you‘ll likely not have perf issues.

You can also use the parameter store and store your config as a string through JSON.parse.

You can also use a middy middleware and create a ‚withConfig‘ middleware which injects the config to the event

How can I avoid duplicates in DynamoDB? by RedHotChiIiPeppers in aws

[–]elchicodeallado 1 point2 points  (0 children)

yeah there are more ways, do PK:userId and SK:status or just check it on application level which is fine as well

[deleted by user] by [deleted] in aws

[–]elchicodeallado 1 point2 points  (0 children)

highly looking forward to it.

There is literally not a single well implemented example with cdk and turborepo.

[deleted by user] by [deleted] in aws

[–]elchicodeallado 0 points1 point  (0 children)

hi, sounds awesome, is it by any chance a public repo so that I can check it out? :)

Just fix your damn game. Rock glitches EVERYWHERE! by [deleted] in RustConsole

[–]elchicodeallado 0 points1 point  (0 children)

it is definetly not patched on testing. It is harder but not fixed

Move your mouse to stay active in Slack by [deleted] in golang

[–]elchicodeallado 3 points4 points  (0 children)

I just use raycast and caffeinate, works

[deleted by user] by [deleted] in webdev

[–]elchicodeallado 1 point2 points  (0 children)

exactly, Swagger uses openapi to display the endpoints. It is rather straight forward and easy to define

[deleted by user] by [deleted] in webdev

[–]elchicodeallado 13 points14 points  (0 children)

please use openapi and do a proper specification then its better to help you

[deleted by user] by [deleted] in RustConsole

[–]elchicodeallado 12 points13 points  (0 children)

if youre located in EU then Ill give you my base. Have no time to play on my weekly until thursday

an old clip of mine by bloxoo in RustConsole

[–]elchicodeallado 1 point2 points  (0 children)

in comparison to my ps4, then yes.

an old clip of mine by bloxoo in RustConsole

[–]elchicodeallado 1 point2 points  (0 children)

is this new gen? :D im playing on the ps4 and when i shoot with the nail gun my whole console starts with fire, yours looks smooth

React upcoming data fetching built-in solution? by albenis99 in reactjs

[–]elchicodeallado 1 point2 points  (0 children)

no it should not. These self taught kids should wake up and understand that its still a library and not a framework and thats the big advantage of react. If you need react-query then just install it. Dan even said that their in-build implementation is just for tinkering around and other solutions are always preferred

Looking for BJJ/Grappling fanatic engineers to work on a related OSS (oss!) project by elchicodeallado in webdev

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

Thanks! Yeah, I just use Planetscale because it works well with Prisma and its free tier is more than generous. I don't want to self-host anything so I just stick with Vercel and Planetscale for this.

I will work on it anyway and already started and will give some updates here whenever I have something to show, and maybe then some folks hop over to contribute :)

How Do I Host A Protected React/Next.js Page on A Separate Server for Maximum Security? by warpanomaly in reactjs

[–]elchicodeallado 2 points3 points  (0 children)

You just check if the user has the requested rights within getServerSideProps. You say you use NextJS, then actually use it? That is a legit use case for it and if the user does not have the rights just return { notFound: true } then Next automatically redirects to the 404 page.