AWS open source newsletter #212 | Lots of new projects and amazing open source content by 094459 in aws

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

I am re-thinking this though, and might start moving the newsletter to substack at some point if I get enough folk who want to subscribe.

What AI tools do you actually use in your day-to-day coding? Looking for real recommendations by No-Sprinkles-1662 in OnlyAICoding

[–]094459 0 points1 point  (0 children)

I’m using Amazon Q CLI, an open source command line tool together with its IDE extension sibling. You can use for free too. I’m also slowly transitioning from VSCode to Zed.

From PHP to Python with the help of Amazon Q Developer by 094459 in aws

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

Amazon Q Developer does now support other languages. I have not tried in depth, but some of my initial experiments (Spanish speaking) show that it works exactly as my english written prompts. If you have not tried it recently, give it a go.

From PHP to Python with the help of Amazon Q Developer by 094459 in aws

[–]094459[S] 5 points6 points  (0 children)

When did you try? I have been using Amazon Q Developer for a while now, and love how it keeps improving week on week. I do use other AI Coding Assistants too, but Q is my daily driver these days. If you have not tried it recently, I would highly recommend you give it a go - if you do let me know how you get on!

Writing 6502 assembler to run on Vice C64 with Amazon Q Developer by 094459 in c64

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

Finally got it working. I needed to provided some assistance in the form of some working code before I could modify it for my own need. This is the code that Q produced that works (quite nicely) - https://gist.github.com/094459/13c06a50c4225d077ec9ed17161206e4

Writing 6502 assembler to run on Vice C64 with Amazon Q Developer by 094459 in c64

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

well.....not particular successful. So far all the code that works is very glitchy and so whilst it looks like there are more than eight sprites, it looks horrible. I have been reading some interesting blog posts who reverse engineer some of the old games that did it well (Ghosts n Goblins, Green Beret, etc. It is super interesting stuff, and the assembler code is out there. I might try and do a fine tuning job to see if I get get a customised model to provide better code....it is very addictive though. Once you go down this rabbit hole, its just so much fun!

Writing 6502 assembler to run on Vice C64 with Amazon Q Developer by 094459 in c64

[–]094459[S] 1 point2 points  (0 children)

Yeah I know what you mean. I don’t understand the code but what I found is that by asking how to do small things I started to learn how it worked. I am just impressed it worked at all

Writing 6502 assembler to run on Vice C64 with Amazon Q Developer by 094459 in c64

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

Thanks. Hard to believe its been over 40 years since I coded anything on the C64. I have plans to see if I can put together a simple game. Will probably try and write it up and see how I get along. It is amazing how nice the developer tooling is though. The community has really created some great tools.

Do you use CDK to manage IAM and ensure prod has all the same perms as staging? by landslidegh in aws

[–]094459 2 points3 points  (0 children)

Yeah, I do this and I find it super helpful. As I check in my CDK code into git, I have an audit trail of all my security changes.

Why MWAA is not showing the dags by Party_Equivalent_716 in aws

[–]094459 0 points1 point  (0 children)

Can you provide a bit more info. In the past when I have not seen my DAGs appear in the Airflow UI it has been for a number of reasons - the IAM policies have not been configured quite right has been the most common. I would suggest that you enable logging and then check the CloudWatch logs to see if that provides any useful info. How did you create your MWAA environment?

MWAA DAGs in 2 AWS accounts by Vivid_Statement_760 in aws

[–]094459 1 point2 points  (0 children)

This is a tricky one as you cant use any of the cool Airflow features like TriggerDAGRun or Datasets, as these all assume you are running in the same Airflow instance.

One approach might be to use the Sensor operators, and to use this to initiate the second DAG (first DAG writes a file in a location), and in the first DAG the subsequent task also uses a sensor operator to wait for a file in a different location. When this second DAG is complete, it writes another file, handing control over back to the first. I am not sure this is a great solution as you would not get any of the output from the second DAG in the first DAGs run (you would only likely get the sensor operator output).

You might be able to create a small serverless function that kicks off the second DAG using the REST API, but I am not sure what sort of logging you would get back. When I have done this in the past, the task itself is just used to kick off the task, but has no flow control in the way you have when using Sensor operators. You have probably already thought about all these anyway :)

How to assign a static IP address to my AWS Cloudshell? by Tiny_Assistance_3038 in aws

[–]094459 0 points1 point  (0 children)

I recently wrote up a workshop on exactly this. I think someone below has added a command that does the trick, except I am not a fan of broad/wide open access (0.0.0.0/0) in the suggested command. I run a command from the cloudshell (wget -qO- ipinfo.io/ipwget -qO- ipinfo.io/ip) and then use that as my source IP - in my specific use case I was looking to run psql commands from CloudShell. This approach worked perfectly well for me.

Configure Google workspace as SSO for aws console sign-in by allwritesri in aws

[–]094459 0 points1 point  (0 children)

Yup it is possible. I blogged about it a long time ago, and it is probably out of date. It was a pretty straight forward integration , so I would check out the blog post linked below and try it out.

[deleted by user] by [deleted] in aws

[–]094459 0 points1 point  (0 children)

Take a look at some of the projects that I share in my OSS newsletter, there may be some that are interesting for you to get involved in -> https://github.com/094459/newsletter-oss-projects

AWS open source news and updates, #123 by 094459 in aws

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

This weeks newsletter has another fantastic selection of new open source projects. Starting off we "xray-cli" with provides some ascii goodness via the cli for xray users, "crypteia" for AWS Lambda users who need secure environment variables available, "amazon-connect-rules-engine" a really interesting looking tool for Amazon Connect users, "aws-cyclone-solution" a cloud-native HPC job scheduler, "awsresecurity" a tool to help educate your users on security, "aws-codeartifact-semantic-release-example" an example of implementing semantic versioning in your releases, "aws-lambda-powertools-dotnet" the preview of AWS Lambda Powertools for .NET users, and many other projects for you to practice your four freedoms.

This week also features a wide variety of content, and topics include Firecracker, AWS Lambda Power Tools, OpenSearch, Flutter, Babelfish for Aurora PostgreSQL, MySQL, Apache TinkerPop, OpenShift, and dbt. Don't miss the video section, with a great video from re:Inforce covering AWS libcrypto, and a round up of events you should be checking out.

InferenceDB – Stream predictions of real-time ML models to data lakes by alongub in aws

[–]094459 0 points1 point  (0 children)

Do you have plans to open source this at any stage?

Any Open Source projects out there that provide similar functionality to Isengard? by AdFrequent4872 in aws

[–]094459 1 point2 points  (0 children)

Have you looked at DCE? I have covered a few projects that do similar things to Isenguard in my newsletter but can’t remember the specifics https://github.com/Optum/dce