Recent Discussions
Web Development for Beginners: Learners Matchmaking!
Hey Everyone, Thanks for joining the Web Development for Beginners course! Learning and building together is the goal of this course. Post the below information and I will make sure to connect you with similar students so you can build together in this 8 weeks! Name Experience Level Location / Timezone Where can we find you? LinkedIn / Twitter / Telegram / etc Example: Korey Stegared-Pace I love JavaScript Europe/Sweden Twitter - koreyspace / LinkedIn: Korey Stegared-Pace6.7KViews0likes45CommentsAzure CLI Basics
What's the advantage of using an Azure command-line tool? Azure runs on automation. Every action inside the portal translates to code being executed to read, create, modify, or delete resources. Azure command-line tools automate routine operations, standardize database failovers, and pull data that provide powerful insight. Chose the right Azure Command Line Tool You have two options when it comes to Azure command-lines: Azure CLI and Azure PowerShell. Both are cross-platform, installable on Windows, macOS, and Linux. The most significant difference is that Azure CLI runs in Windows PowerShell, Cmd, Bash, and Unix shells. Azure PowerShell requires Windows PowerShell or PowerShell to run. Choose the tool that uses your experience and shortens your learning curve but use a different tool when it makes sense. Read more about this here How to install the Azure CLI The Azure CLI is available to install in Windows, macOS and Linux environments. It can also be run in a Docker container and Azure Cloud Shell. I personally use Azure CLI in Ubuntu on WSL. Pick whatever option is best for you. View them all here Commands you should know az login Before using any Azure CLI commands with a local install, you need to sign in with az login. If you're using the Azure Cloud Shell, you don't need to login. If a browser is not available for you to sign in, use az login --use-device-code Set your subscription It's important to set the CLI to work within the subscription you want to. When you login, a default subscription is set for you but you can change that using the az account commands. az account set --subscription {subscription-name} : Will set the subscription. You must provide the name. az account list : Will give you a list of available subscriptions. az account show : will display the current set subscription The Anatomy of an Azure CLI command Prefix: All CLIs have prefixes. Azure's is az . Group: Commands are organized into command groups. Each group represents an Azure service. Subgroup: If a service has various types or services, it will have a or various subgroups. Command: An operation on the service. Arguments: Values you provide the command for context. Arguments can be required, optional, and/or global. The words arguments and parameters are often used interchangeably. az config and az init The Azure CLI allows for user configuration for settings such as logging, data collection, and default argument values. The CLI offers a convenience command for managing some defaults, az config, and an interactive option through az init. az init is an extension that is intended to quickly set up global configurations suitable for your current environment. It adjusts the same configuration file as az config and is meant to help simplify the configuration process whereas az config allows you to go a bit deeper. az init You can set defaults for the CLI with the az config set command. This command takes a space-separated list of key=value pairs as an argument. The provided values are used by the Azure CLI in place of required arguments. az config set defaults.location=eastus2 defaults.group=MyResourceGroup Interactive mode You can use Azure CLI in interactive mode by running the az interactive command. The Azure CLI interactive mode places you in an interactive shell with auto-completion, command descriptions, and examples. Finding commands and help To search for commands, use az find . For example, to search for command names containing secret, use the following command: az find secret Globally available arguments There are some arguments that are available for every Azure CLI command. --help prints CLI reference information about commands and their arguments and lists available subgroups and commands. --output changes the output format. The available output formats are Json, Jsonc (colorized JSON), tsv (Tab-Separated Values), table (human-readable ASCII tables), and yaml. By default the CLI outputs Json. --query uses the JMESPath query language to filter the output returned from Azure services. --verbose prints information about resources created in Azure during an operation, and other useful information. --debug prints even more information about CLI operations, used for debugging purposes. If you find a bug, provide output generated with the --debug flag on when submitting a bug report. Persisted Parameters Azure CLI offers persisted parameters that enable you to store parameter values for continued use. Persisted parameter values are stored in the working directory of the Azure storage account used by Azure Cloud Shell. If you are using a local install of the Azure CLI, values are stored in the working directory on your machine. # Reminder: function app and storage account names must be unique. # turn persisted parameters on az config param-persist on # Create a resource group which will store "resource group" and "location" in persisted parameter. az group create --name RGlocalContext --location westeurope # Create an Azure storage account omitting location and resource group. az storage account create \ --name sa1localcontext \ --sku Standard_LRS # Create a serverless function app in the resource group omitting storage account and resource group. az functionapp create \ --name FAlocalContext \ --consumption-plan-location westeurope \ --functions-version 2 # See the stored parameter values az config param-persist show Reference Scope Set Use az config set defaults.= Scoped globally across the CLI Set explicitly using az config set defaults.= Use for settings such as logging, data collection, and default argument values az config param-persist Scoped locally to a specific working directory Set automatically once persisted parameters are turned on Use for individual workload sequential commands. Querying The Azure CLI uses the --query parameter to execute a JMESPath query on the results of commands. JMESPath is a query language for JSON, giving you the ability to select and modify data from CLI output. The --query parameter is supported by all commands in the Azure CLI. Even when using an output format other than JSON, CLI command results are first treated as JSON for queries. CLI results are either a JSON array or dictionary. Arrays are sequences of objects that can be indexed, and dictionaries are unordered objects accessed with keys. Commands that could return more than one object return an array, and commands that always return only a single object return a dictionary. A few examples: # The following command gets the SSH public keys authorized to connect to the VM by adding a query: az vm show --resource-group rg-demo1 --name vm1 --query "osProfile.linuxConfiguration.ssh.publicKeys" # To get multiple values, put expressions separated by commas in square brackets [ ] (a multiselect list) az vm show --resource-group rg-demo1 --name TestVM --query "[name, osProfile.adminUsername, osProfile.linuxConfiguration.ssh.publicKeys[0].keyData]" # To get a dictionary instead of an array when querying for multiple values, use the { } (multiselect hash) operator. az vm show --resource-group rg-demo1 --name TestVM --query "{VMName:name, admin:osProfile.adminUsername, sshKey:osProfile.linuxConfiguration.ssh.publicKeys[0].keyData}" # To access the properties of elements in an array, you do one of two operations: flattening or filtering. Flattening an array is done with the [] JMESPath operator. All expressions after the [] operator are applied to each element in the current array. If [] appears at the start of the query, it flattens the CLI command result. az vm list --resource-group rg-demo1 --query "[].{Name:name, OS:storageProfile.osDisk.osType, admin:osProfile.adminUsername}" # We can also use filters az vm list --resource-group rg-demo1 --query "[?storageProfile.osDisk.osType=='Linux'].{Name:name, admin:osProfile.adminUsername}" --output table Formatting TSV output format The tsv output format returns tab- and newline-separated values without additional formatting, keys, or other symbols. This is useful when the output is consumed by another command. USER=$(az vm show --resource-group QueryDemo --name TestVM --query "osProfile.adminUsername") echo $USER Table output format The table format prints output as an ASCII table, making it easy to read and scan. Not all fields are included in the table, so this format is best used as a human-searchable overview of data. Fields that are not included in the table can still be filtered for as part of a query. az vm show --resource-group QueryDemo --name TestVM --query "{objectID:id}" --output table4.6KViews2likes0CommentsHow Linux Works: A Primer
If you attended my session on How Linux Works, you'll be able to find my notes here. - https://publicnotes.blob.core.windows.net/publicnotes/0-how-linux-works.png Don't forget to sign up for my next session on Linux on Azure talk here https://developer.microsoft.com/en-us/reactor/events/18178/4.3KViews10likes7CommentsRust Learners - Matchmaking
Hey Everyone, Thanks for joining the Getting Started with Rust workshops! The interest in Rust is incredible. In order to help learners find other learners that are at the same skill level, geographic area and maybe even previous programming experience, I have created this thread. Feel free to post and contact others that you would like to learn Rust with. I will start with my own: Name: Korey Experience with Rust: Advanced Beginner Previous Programming Experience: Python (AI/ML), Javascript Where to Contact Me: Twitter - @koreyspace LinkedIn: /koreyspace3.6KViews0likes20CommentsBuild Your Own ChatGPT Links and Resources
Hey everyone, thanks for joining the session! Here are the links and resources for the session: Links Workshop Recording Azure Open AI Documentation Getting Started with Azure OpenAI Course Github Repo Blog Post LangChain Documentation Azure OpenAI Pricing Speakers Korey Stegared-Pace - LinkedIn / Twitter Yashoda Singh - LinkedIn Next AI Session Integrating Generative AI with Gaming3.1KViews0likes0CommentsWeb Developement for Beginners - Links and Resources
Thanks for everyone joining Week 1 of our Web Development for Beginners Course! Here are the links and resources shared: Web Development Challenge - 8 Weeks Meet Other Students Week 8 Week 8 Recording Week 8 Lesson Tailwind Documentation Week 7 Week 7 Recording Week 7 Lesson React Docs about State Redux Hookstate Recoil Week 6 Week 6 Recording Week 6 Lesson Github Repo Supabase Week 5 Week 5 Recording Week 5 Lesson React Documentary New Official React Docs Week 4 Week 4 Recording Week 4 Lesson MDN - Fetch API MDN - Async/Await Thunder Client Extension Pokemon API Week 3: Week 3 Recording Lessons for the Week Making Decisions with JavaScript Week 2: Week 2 Recording Lessons for the Week JavaScript Variables and Data Types JavaScript Functions Week 1: Week 1 Recording Lessons for the Week Github VS Code Other Resources VS Code Extensions - Prettier, Code Runner, Live Share WSL2 - For Windows Terminal Node JS Install Node JS With WSL2 Github Desktop Find Korey Here Twitter LinkedIn Feel free to post any links you think are helpful to the other students here! Let me know if you get stuck anywhere.2.6KViews0likes0CommentsMicrosoft Power Pages - Q&A
Hey Everyone, Thanks for joining the https://aka.ms/decpowerpagesbootcamp This space is dedicated to help learners find solutions or answer questions related to Power Pages. Feel free to share your question, and we will use this space to learn together. Regards.2.5KViews4likes6CommentsMicrosoft Power Pages - Matchmaking
Hey Everyone, Thanks for joining the https://aka.ms/decpowerpagesbootcamp To help learners find other learners that are at the same skill level, geographic area, and even previous experience, I have created this thread. Feel free to post and contact others that you would like to learn Power Pages with. I will start with my own Name: Bruno Capuano Power Platform Experience: Intermediate Twitter: https://twitter.com/elbruno LinkedIn: https://www.linkedin.com/in/elbruno/2KViews6likes4CommentsBuilding your resume API with GitHub Codespaces and Azure Functions
Hi everyone, I'm Gwyn, host of the "Building your resume API with GitHub Codespaces and Azure Functions" workshop. Wanted to stop by and share the workshop resources and if you have any questions after the workshop, let me know here. Here's what the workshop walks you through building, you'll get hands-on with several Azure and GitHub services including GitHub Actions, Codespaces, Azure Functions, Azure Bicep, and more: You'll need: - Azure account - GitHub account No prerequisites when it comes to knowledge All the source code can be found here: madebygps/serverless-resume-api: Your resume api in Azure serverless (github.com) Please share any questions or comments below1.9KViews5likes4CommentsGetting Started with Rust: Getting Your First Rust Job AMA
Hey Everyone, We will have Marcus Grass speak at the Reactor on Wednesday, Nov. 2nd! He will talk about his journey working as a Java Developer to working now as a full-time Rust Developer at Embark Studios in Stockholm. He will share his tips and advice of moving from using Rust just as a "hobby" language to working with it professionally. If you have any questions for Marcus, please ask them here and we will make sure they get answered during the stream!1.7KViews0likes5CommentsIntegrating ChatGPT into Apps Links and Resources
Integrating ChatGPT Into App Links and Resources Hey everyone, thanks for joining the session ! Here are the links and resources for the session: Links Workshop Recording Azure OpenAI Service Documentation Introduction to Azure OpenAI Service Github Repo - Jupyter Notebook Github Repo - StardewGPT System message framework and template recommendations for Large Language Models (LLMs) Prompt Injection, explained Speakers Korey Stegared-Pace - LinkedIn / Twitter Henri Schulte - LinkedIn1.6KViews0likes0CommentsLaunch your Career: Episode 1 Cybersecurity Engineer
Missed all those certs that Sarah was discussing in today's livestream? I've attached the powerpoint presentation to this thread. I loved when Sarah talked about pursuing free/cheaper resources before you purpose expensive industry certifications. Take a look at the security learning we have Microsoft Learn or start with our Launch your Career Cloud Skills Challenge here: https://aka.ms/launchyourcareerskills Missed the livestream? We'll air a pre-record with live speaker chat Q&A Feb 7th at 9AM PT. Joylynn Kirui, Senior Security Cloud Advocate will be joining us live! https://aka.ms/launchyourcareer Have a question for any of us? Ask it here! 🙂Rust Learners LATAM - Matchmaking
Buenas, ¡Gracias por unirse a los talleres Primeros Pasos con Rust! El interés en Rust es increÃble. Con el fin de ayudar a los estudiantes a encontrar otros estudiantes que tengan el mismo nivel de habilidad, área geográfica y tal vez incluso experiencia previa en programación, he creado este hilo. Siéntete libre de publicar y contactar a otras personas con las que te gustarÃa aprender Rust. Voy a empezar con la mÃa: Nombre: Bruno Capuano Experiencia con Rust: Principiante Avanzado Experiencia previa en programación: Python (AI/ML), C#, C++ Dónde contactarme: General - https://aka.ms/elbruno Twitter - https://twitter.com/elbruno LinkedIn: https://www.linkedin.com/in/elbruno/1.4KViews4likes3CommentsProblema con cargo!!
cuando le doy run al programa me sale error: "the 'cargo.exe' binary, normally provided by the 'cargo' component, is not applicable to the 'stable-x86_64-pc-windows-msvc", no se si tengo que desinstalar e instalar o si tengo que actualizarlo pero por lo pronto me cambie de computadora para poder practicar asi que no hay apuro en solucionarlo, desde ya muchas gracias!1.3KViews1like1CommentLevel up your app development using GitHub Copilot and Codespaces - Links and Resources
Hey everyone, thanks for joining the stream. Here are the links and resources Liam and I shared: Workshop Recording Codespaces and CoPilot Survey Register for VS Code Day Github Repo Other Great CoPilot and Codespaces Next JS Codespace Template Get Started with the Future of Coding: GitHub Copilot Introduction to Codespaces1.2KViews0likes0CommentsBuilding NLP Products with OpenAI - Links and Resources
Hey Everyone, thanks for watching the workshop! Below are all the links and resource that we shared: Speakers: Korey Stegared-Pace - Twitter / LinkedIn Shubham Saboo - Twitter / LinkedIn Workshop Recording Resources Azure OpenAI Service Documentation Gpt-3: The Ultimate Guide To Building NLP Products With OpenAI API OpenAI Tokenizer Tool GPT-3 Sandbox Shubham's Unwind AI Newsletter GPT-3 and our AI-Powered Future Next Workshop: Building AI Products with Hugging Face1.2KViews0likes0CommentsGetting Started With Rust: Rust Basics Recap and Discussion
Hey Everyone, Thanks for joining the Rust Basics session earlier! Listed below are all the Rust resources we shared in the session. Let us know if you have any questions and please feel free to share your own resources you have found helpful on your own Rust learning journey! Session Links Session Recording Building Your First Rust Project Course Rust with VS Code Crates.Io What Can You Do With Rust Build a CLI App Tutorial Create a Rust function in Azure using Visual Studio Code Bevy Game Engine Rust and WASM wasm-pack wasmtime Learning Materials The Rust Book Rust Playground Rust User Forum Feel free to share any other great resources here and share any questions and challenges you have had on your Rust learning journey!1.1KViews4likes0CommentsUn programa RUST de ejemplo
Primeros Pasos con Rust Hola programadores Rust, ¿Qué cambios necesita este programa en Rust para ejecutarse exitosamente? struct Person { name: String, age: u8, genre: char, } fn main() { // Vector of family members let family: Vec<Person> = Vec::new(); family.push(Person { name: "Frank".to_string(), age: 23, genre: 'M', }); family.push(Person { name: "Carol".to_string(), age: 25, genre: 'F', }); family.push(Person { name: "Edwin".to_string(), age: 34, genre: 'M', }); // Show current info println!("-".repeat(50)); for individual in family { println!("{:?}", individual); } // Add family lastname for member in family { member.name = member.name + "Thompson"; } // Increase age by 2 for adult in family { adult.age += 2; } // Show updated info println!("-".repeat(50)); for individual in family { match individual { 'M' => { println!("{} is a man {} years old", individual.name, individual.age); } 'F' => { println!( "{} is a woman {} years old", individual.name, individual.age ); } } } } #rustlang #programming1.1KViews1like2CommentsCreating TypeScript Apps with React and Node
Hey Everyone thanks for joining the session, here are all the resources and links we shared! Workshop Recording Get Started with React Introduction to Node.JS Episode 1 of Typescript For Beginners Series Episode 2 of Typescript For Beginners Series Node/ Backend Github Repo React/ Frontend Github Repo Interfaces in Typescript React TypeScript Cheatsheets Transform JSON to Interface Tool Challenge! Connect the Frontend to the new route on the Backend that allows a user to type in a Station Name and ping the new endpoint to get the station ID. This allows the user to get transit times without knowing the station id. Feel free to write in here if you get stuck!977Views2likes0Comments