Skip to main content

Posts

Amazon Bedrock

Amazon Bedrock is Amazon web service AI foundation models offering service. ✓ Using Amazon Bedrock, we can use popular large language model (LLM) from single place. Currently Amazon Bedrock offers high performaning foundation models from companies:  ÷ AI21 Labs ÷ Anthropic ÷ Cohere ÷ Meta ÷ Stability AI ÷ Amazon Own AI - Titan ✓ Amazon Bedrock is serverless service, we don't need to worry about many any infrastructure. ✓ We can easily plug this foundation models as API inside our application to incorporate generative AI really quick. ✓ We can leverage AWS Lambda for invoking actions. ✓ Amazon S3 can be used for training and validation data for the models. ✓ Amazon CloudWatch can be used tracing and tracking the metrics. ✓ Amazon Bedrock offers playground for developer's to play with AI foundation models via conversational chat interface. We can use any available pre trained models to generate text or image based on the users prompt. ✓ Amazon Bedrock gives users an ...

Google Gemini

Gemini is Google founded kind of Large Language Model (LLM). ✓ Google Gemini is multi model large language model. ✓ Gemini is AI model which comes with three varients ultra, pro and nano. ÷ Gemini Ultra : for highly complex task and high performance. ÷ Gemini Pro : for best performance and all use cases with broad range task. ÷ Gemini Nano : most efficient for and capable of running on devices task. ✓ Gemini can run in all the devices , starting from your data center to your smartphones. ✓ And even in your smartphone it can run without having network connection - nice isn't?  ✓ According to Google AI CEO: "Gemini can understand world around us". ✓ Google Gemini understand " text ", " code ", " audio ", " image " and " video ". ✓ Also the beautiful things they showed in the introduction session is Google Gemini can understand even aerodynamic by just seeing an cars moving postion image and answers which car mo...

ARTIFICIAL INTELLIGENCE

ARTIFICIAL INTELLIGENCE ✓ Artificial Intelligence or AI is the simulation or duplication of human intelligence. Where we make machines to act or mimic like humans intelligence. ✓ Mostly you can see it's usage or applications of artificial intelligence on computer science field. ✓ Let me try to help you understand what is artificial intelligence in simplest way I understood. ✓ Think about any children or born baby you have seen or known. ✓ Initially that baby does not know who you are, what you are, how you are related, what you do. ✓ But over a period of time that baby understand you better and more about you as it grows or mature. How this happens? - It's all happens because that baby learned about you based on information or data being seen or shown. - Similar way, we build computers and feed lots of data or information to it and make it understand what is what, who is who, how to do, what is good, what is bad, what's all in earth, etc. - Now this computer k...

AWS Step Functions

What is AWS Step functions? ✓ It's is an serverless orchestration service that allows you to integrate with various other AWS service so easily. Example:  You can connect series of lambda function in a step function and you can define when or in which order the lambda functions should execute. ✓ Using AWS console you can easily, visualize the steps associated and understand failed step quickly and can take action. ✓ Step function runs based on state machine and task. ✓ Step functions allows you to create starting from simple workflow (eg: like call an lambda function ) to complex workflow (eg: like call 100 lambda function in parallel and once 100 lambda execution completes, call 200 glue jobs in series and publish success or failure message to SNS topic). ✓ Step functions reduces that extra lines code that you need to write for system/service integration, wait and error handling. ✓ Right from the AWS step functions you can able to call the AWS SDK's to perform extr...

AWS Secrets Manager vs Parameter Store

AWS Secrets Manager vs Systems Manager Parameter Store What is AWS Secrets Manager? ✓ it's an AWS service offerings to store secrets. ✓ it gives benefits of cross account sharing. ✓ it's also has cross region replication feature. ✓ it's supports resources based policy, using which we can restrict access to this resource. ✓ it's supports password or key creation or rotation as an inbuilt feature. ✓ encryption is enabled for the every secrets manager variable created. ✓ it can help you store upto 4096 charcters. ✓ yes, using intrinsic function we can refer this resource from cloud formation templates. ✓ it's comes with cost of $0.40 per secrets stored. ✓ additionally it's cost $0.05 per every 10,000 API calls. Good to store: Database creds, API keys, any secrets strings that must be encrypted along with periodic rotation. What is AWS Systems Manager Parameter Store? ✓ it's an AWS service offerings to store any secrets, strings, urls, common values...

How to write good code?

How To Write Good Code? At some point of time we all hate reading other people code. Am I Right? Because we think it's is not human readable, not debugging friendly, not clear comments, no clean log statements, clumsy code, not proper naming patterns followed, irregular function calls, repetitive lines of code, no OOPS concepts is utilized, etc... ✓ But if we ask the questions ourselves, are we writing really a good code? ✓ What if other developer think our code is bad? Ever thought about this? If not, let's start from today to see if we are really writing good code. So what is good code?  📑 1. Proper naming patterns should be followed. 2. Proper comments section can be added inline . 3. Avoid repetitive lines of code. 4. Make modular in nature. 5. Avoid writing big lines of code to just show, you know that programming language better than others. 6. Avoid using complex patterns, if simple 'if-else' can solve the problem then why to go for complex '...

How To Do UPI Payment Without Internet?

How To Do UPI Payment Without Internet? Have you ever want or been in situation you want to send money to others bank account when there is no internet or without internet like me. Yes right? You would thought many a times but not sure how to do it or it's possible or not and left behind? No worries, without further talking let's get started... Points to remember: ✓ *99# - is the number you need to dial in your phone to make payments or transactions. ✓ You need to have UPI bank account linked to your phone number. ✓ By the time of writing, Maximum amount you can send using this payment mode is Rs.5000/-. ✓ Rs.0.50 is charged per transaction to use this service. ( But TRAI is not charging atleast in 2023 while I am writing this ) Steps to do UPI payment without internet: 1. Dial  *99# in your phone and call this USSD number. 2. You will be shown various options with number to choose. Select 1 to 'Send Money'. 3. On next enter your UPI ID to make payment. Als...

If you become YouTuber, then who will?

In today's world every one wants to become as YouTuber. And everyone have 100's of reasons to become YouTuber. But here I am with just simple 10 reasons, that why you should not and get lost in ocean, where many people already sailing... 1. If you become YouTuber, then who will become scientist who is going to save the earth if there comes any alien's from other planets? Sounds like more filmy and funny, but if really happens who will save tell me? 2. If you become YouTuber, then who will become doctor, who is going to save humans from another pandemic like covid-19(corono virus)? Did you remember, covid-19 outbreak and how many lives have lost and how many doctors sacrifice and risk their life and saved humans? 3. If you become YouTuber, then who will become that army/navy/airforce national who is safeguarding their nation, day and night, snow and rain, sun and moon without thinking any other things? 4. If you become YouTuber, then who will become that beauti...

AWS Eventbridge Pipes

What is Amazon Eventbridge pipes? ✓ It's a new feature released by AWS in recent re- invent'23. ✓ This service is available under AWS Eventbridge console. ✓ Eventbridge Pipes helps you connect your source and targets seemlessly without any integration code. ✓ When you are creating an event driven architecture, you must give a chance to eventbridge pipes in your architecture and see the magic. ✓ You can set up pipe easily, by choosing your source, add filtering (optional), add additional enrichment step (optional) and add your target. That's all you are done! Image source:  Amazon Web Services How it works? What are the source and targets? Image source: Amazon Web Services ✓ You have Amazon AWS, Amazon Kinesis Data Streams, Amazon DynamoDB, Amazon MSK, Amazon MQ as source for pipes currently. ✓ Optionally, in your filtering step you can select or refine you input data and send to next step seemlessly. ✓ Additionally an enrichment step is available be...

Money Transferred To Wrong Account From UPI App?

Money Transferred To Wrong Account From UPI App? Have you ever sent money mistakenly to others or transferred to wrong account number from any UPI apps? And not sure how to get back that money and worried, worried, asked others how to get back the money and no luck and forgot... No more worries, here is the steps for you to get back your hard earned money. First thing first: ✓ If you transferred money using phone number based UPI id, then directly call to that number and see if you are able to talk to them and get back your money mistakenly sent. If above way doesn't work for you, follow the below steps: Step 1: ✓ From your UPI app report the issue first and get a compliant register for that transaction which is made by mistake. Eg: Google Pay, Paytm, Phone Pay, BHIM, etc inside your app itself you are having an option called report this transaction or refund redressal request or go to help section and raise ticket as sent by mistake or raise a compliant against this tr...