I’m using aws from last 2 years for my tiny projects and got lots off surprise bill but thanks to jeff bezos and their support team they always help this 20 y/old kid.
And there’s good reason for it:
❌ Never set billing alerts = ui interface is hard for newbie
✅ Setting up alerts = build without fear + sleep well
Here’s what we’ll cover:
Installing webhook in slack
Creating lambda function which send billing details in slack
CloudWatch to schedule time (we want daily updates)
Adding CloudWatch trigger
Let’s get into it!
🪝Installing webhook in slack
First step is to install “Incoming Webhook app in slack” This App allow us to send http repones on slack with external integration
Go to Slack App Directory > Search ‘Incoming Webhooks’
Installing incoming Webhook from slack app directory
Select Slack channel where you want aws billing alerts
Example: Here mine is “aws-billing”
Select slack channel for alerts
Copy Webhook URL
Enter the Description of your WebHook.
Add “funny jeff Bezos laughing icon”
Click on Save Setting
Adding jeff-Bezos icon so you scare more
🤖Creating lambda function
this step is where we need some code but don’t worry you don’t need to understand all just copy paste
But solving problems and thinking of solutions for complicated problems in a limited time is what we programmers live for…
the 💚 grass is not always green on this side of the fence.
Sooner or later, you face some problems 😢Right solution is not always on Google’s First page with optimized SEO, and of course not without ads distraction📵
To be blunt, it can be challenging and time-consuming to find a faster solution. That’s what we’ll solve in this tutorial.
Ready? Let’s go!
Today I will be reviewing this novel search engine YouCode for programmers which I found last month and discussing how I use it to improve my coding.
🌐 First Search Engine – Birth of Search
The first search engine on the internet
Before going to 2022 Let’s discuss the Father of all search engines Archie, created in 1990 by Alan Emtage, a student at McGill University in Montreal. The first search engine on the internet is cool.. not?
The search engine I’m talking about in this blog is called “YouCode”.
👣 YouCode snippets
One of my favourite feature from this search engine is code snippets from various websites. All just in one place how cool was that!
Copy solutions direct from your developer focus apps Like stack overflow, GitHub, and geeks for geeks in one tab. you are just 4 clicks away from your answer
Find answer from developer-focused websites like🏫 ArXiv 📦 AWS 💾 Code Complete 🎨 Color Picker 🤓 Geeks for Geeks 🐈⬛ GitHub 🤗 Hugging Face ✅ JSON formatter 🪟Microsoft Docs Ⓜ️ MDN 🧱 PyPi 🔥 PyTorch 📜 Read The Docs 📂 StackOverflow 👓 Towards Data Science 📗 Tutorials Point
Code snippiest in one place
🤖 Code with AI
“YouCode” can generate AI-based code based on your search query with a large neural net.
For Example“How to sort dictionary in python “👇
AI writing code for you free!
Read whole documentation from the side panel step by step from official websites
Read the documentation in the side panel
Want to search for something with 1 click? 👀
Try YouCode bang feature Type ! and website shortcut
Select the word or function you want to search, right-click, and then click on Search with code.you.com in the drop-down menu and blah…
Search right from your vs code editor!
Today google mainly focuses on SEO stuff and Paid Advertisements with high-tracking algorithms, blogs written by old experienced developers are not written with SEO intent so their articles are not always on Google’s first page.
👨💻 Why YouCode is best for programmers?
Let me compare end results YouCode vs Google and why you is better for programmers.
Right Solution + Less Clicks = Productive programming
Google vs you clicks compression
Ad Free search engine
Optimized for developer-focused sites
Search through your favorite developer sources and write code, faster.
So excited to announce our 25m Series A to build a better and more open search engine. We will focus on * youCode – the search engine for developers and * opening up the platform for more search apps, search APIs and more. A short 🧵 with more info->
I love how their slack community and founder Richard Socher are building all these features on public demand. asking regular 📌feedback, giving answers, and listing programmer’s pain.
You.com public feedback & upcoming updates
In my opinion, the recent release of YouCode has the great potential to reshape how programmers use the internet, expedite problem-solving, and enhance solutions by focusing on user’s privacy, not on ads
👇Here is YouCode link if you want to give chance after google or Duk-Duk go.
“Bhai-Lang” is a new funny Indian programming language, written in Typescript by two Indian engineers.
In Indian slang, Bhai means brother or bro, the whole code conversation is used by this type of funny Indian programming accent and that’s the reason it is easy to understand.🤣and this is hilarious.
Bhai lang screenshot
Either you can use this Bhai language via “bhailang – npm” or directly run on their live coding playground.
Bhai-Lang: Starts and Ends with
The program starts with 👋’hi bhai’ and ends with‘bye bhai’ everything outside of this will be ignored.
hi bhai
// Write code here
bye bhai
Bhai-Lang: Variables
In Bhai-Lang variables is declared using “Bhai ye hai”
hi bhai
bhai ye hai a = 10;
bhai ye hai b = "two";
bhai ye hai c = 15;
a = a + 1;
b = 21;
c *= 2;
bye bhai
Bhai-Lang: Types
Numbers and strings are like other languages. Null values can be denoted using nalla. sahi and galat are the boolean values.
In this programming language if you want to give value null to any variable you can use “nalla”,
for boolean values like “sahi” for true, “galat” for false.
hi bhai
bhai ye hai e = nalla;
bhai ye hai f = sahi;
bhai ye hai g = galat;
bye bhai
“bol bhai” is used to print something on the console
Bhai-Lang: Conditionals
Bhailang supports simple if else construct , agar bhai block will execute if the condition is sahi and warna bhai block will execute if condition is galat.
hi bhai
bhai ye hai a = 10;
agar bhai (a < 25) {
bol bhai "a is less than 25";
} warna bhai {
bol bhai "a is greater than or equal to 25";
}
bye bhai
Playground Bhai-lang
Bhai-Lang: “Bhai kya kar raha hai tu”
if your code runs successfully this programming language gives “🎉Shandar Bhai” message in green color as output
but for error, you see Ashneer Grover Famous message “Bhai kya kar raha hai tu” with red text.
Here is the open-source GitHub repo of this ‘Bhai-Lang’ you can see whole language directory loops, programming conditions also contribute more to adding your own funny Hindi coding keywords for further improvement.
Amazing language with two amazing Indian developers! Rishabh and Aniket both are from India Bhopal, Madhya Pradesh. Rishabh is working with Grow and Aniket with Amazon.
looking for website templates but don’t know where to download? don’t worry here is the list where you download HTML, react, bootstrap and more both personal and commercial use.
Why templates?
Save Time
We are stuck with technology when what we really want is just stuff that works. – Douglas Adams –
Creative Tim is Fully Coded UI Tools to create web and mobile apps. It is one of the most popular free HTML templates website it contains 100+ templates that are free to use and looks eye fascinating 😀
Start Bootstrap creates free, open source, MIT license, Bootstrap themes, templates, and code snippets for you to use on any project, guides to help you learn more about designing and developing with the Bootstrap framework
Will Copilot AI replace programmers? Yes, Github Copilot going to do this thing with help of OpenAI by using our already written billions lines of public code and our coding behavior.
What is Copilot?
GitHub Copilot is an AI-Powered tool from OpenAI which uses billions of lines of public code and helps developers to write code by suggesting code lines and even help full functions. here is the official demonstration from the GitHub Twitter account.
Copilot Only Available in Visual Studio Code right now
Github Copilot supports Python, JavaScript, TypeScript, Ruby, and Go programming languages
AI learns from your rejections and becomes more powerful over time
Update: Free for or verified students and maintainers of popular open-source projects
Update:available to all developers for $10 USD/month or $100 USD/year
How Copilot Works?
Amazing tool, but how this pair programmer works? the technology behind copilot is also interesting as writing “Hello word with AI”.
GitHub Copilot uses a new language-generating algorithm by OpenAI called Codex
Codex algorithm has been trained on terabytes of public code which was directly pulled from GitHub and create machine learning model from our public source code and reading tones of code comments
At the end, code extension sends you an automated suggestion response from the extension service
Github Copilot’s Codex can generate up to 10 alternatives for single-question suggestions.
this tool learns from your code and your mistakes and suggestions approval and rejections and try best and improve Codex machine learning model
The resulting scenario of Copilot was 43% of the time, and the accuracy increased to 57% after 10 attempts.
Full work flow – Graph
Developers at GitHub have been using the Copilot feature all day while coding, and the majority of them are accepting suggestions and the experience was quite amazing said Gunnika Batra (GitHub Field Expert)
Currently, github-copilot available as a beta preview, you can register it by clicking here
Github assigns rights to the person who writing code, because “Copilot-AI is a tool, like a Magic pencil” which indirectly means Microsoft doesn’t take any responsibility for your AI-generated code.
What is Copilot Alternatives?
Yes, there are two other tools in the market which provide the same features as Github Copilot (also available in major code editors)
Tabnine (Supports over 30 languages in 15 IDEs)
Kite
Github Copilot + StackOverflow = Your Code is Ready
“In the first day, GitHub Copilot already taught me about a nuance in Javascript object comparison and is as comfortable with our database schema as I am. This is the single most mind-blowing application of ML I’ve ever seen.”
Use Machine Learning algorithm to help coders code faster? Brilliant What’s your thoughts?
So finally StackOverflow get dark mode most requested feature since 2008. this option definitely reduce programmers eye strain, but you hardly find this option if you’re a new StackOverflow user
Stackoverflow is one of the leading websites for programmers and tech professionals which recently sold to & Prosus.
Here is the simple step to enable and disable dark mode in StackOverflow without using any other plugins or extensions this update is still on beta mode but don’t worry you find the final rollout within a month
Enable dark mode on stackoverflow
First Click on your Profile on the right side
Then select Edit profile and settings
Select Preferences
Where you find Dark and Light selection options
Click on “Dark” site automatically switch to the dark mode
Edit profile and settings
It’s hard to believe a website who’s have 51 million monthly programmers took so long to have a dark mode