{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"Programmatic","title":"Web Hosting and Programming Styles","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/7bcd4675\"></iframe>","width":"100%","height":180,"duration":1554,"description":"Episode Notes\nOn this episode, Michael discusses the following topics.\nChallenge\nSwift\nstruct ContentView: View { \n    // Declare the array with elements to display in the List \n    let names = [\"John\", \"Jane\", \"Alice\", \"Bob\"] \n    var body: some View { \n        // Use the List view to create rows for each element in the array \n        List(names, id: .self) { name in \n            Text(name) } \n            .navigationTitle(\"Names\") \n        }\n     }\n}\nPython\nhash Declare the list with elements to display \nnames = [\"John\", \"Jane\", \"Alice\", \"Bob\"] \nHash Iterate through the list and print each name \nfor name in names: \n    print(name)\nDiscord Bot\nimport discord \nfrom discord.ext import commands \nclient = discord.Client(intents=discord.Intents.default()) \n@client.event async def on_voice_state_update(member, before, after): \n    if before.channel is None and after.channel is not None: \n        channel = client.get_channel(123456789) hash Replace with the ID of the text channel where you want to post the message \n        message = f'{member.mention} has joined {after.channel.name}' \n        await channel.send(message) hash Replace 'YOUR_BOT_TOKEN' with your actual bot token client.run('YOUR_BOT_TOKEN')\nTopics\nPick a good Web hosting provider with good tech support. Use Michael's DreamHost Referral.\nWe also discuss the different styles of programing from Object Oriented programming to event driven programming, and declarative programming. \nTranscript\nWeb Hosting And Programming Styles\nMichael Doise\nProgrammatic\nEdit TranscriptRemove HighlightingAdd Audio FileExport...?\n[0:00] Music. \n[0:19] And hello everybody, welcome back to Programatic. My name is Michael Doeys and it's good to be back with you all this wonderful week. \nWe recorded a day late because there was just a lot to get done to publish the last episode. \nWe had a lot of code that we had in the results. \nSo something that we thought about was if you could basically take your code that you have for a...","thumbnail_url":"https://img.transistorcdn.com/u1FwW-Ww-8mTlvX-YIC8PDqGNDANoIn3Mt6VKu-pOZ0/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS8xMzhi/OGEyNGM3YjZjZjk4/N2VjYWVhMWNjZDcw/MmI3OS5wbmc.webp","thumbnail_width":300,"thumbnail_height":300}