-
Python code for calling DALL-E2 API in Azure OpenAI service
I haven’t had this much fun in a long time writing a few lines of sample code and getting it to work. Calling the REST API for the #dalle2 in #azureopenai service was a breeze. What made it fun were the bugs in the example code generated by the DallE2 Preview Playground page in the Azure Portal and while fixing them I was able to learn how the service works. You don’t need to deploy a model in Azure for this REST service, unlike the text completion Davinci models. I also played around with the Text completion Davinci models using both AzureOpenAI and #openai APIs directly as well.
-
Seven years ago what I had dreamed is now Microsoft CoPilot
Today, Microsoft unveiled the next lineup of their products to use the incredible, Large Language Model powered by OpenAI’s ChatGPT. Called Microsoft 365 Copilot, a similar tech has been in service in #github for nearly a year auto-generating software source code from simple prompts, this one does repetitive work for you automatically inside productivity apps like Microsoft Word, PowerPoint, Excel, Outlook & Teams. The demos were breathtaking. To me, having designed solutions in the early days of VBA with VBScripts, and later with Office API for SharePoint. From that lens, the engineering that would’ve gone into Microsoft Office Copilot to work looks unbelievable. I am curious to learn about the…
-
The future for Software Engineers by 2040
How latest trends will impact software engineering by 2040 and how developers can thrive. For the next three days, Azure Community Conference is happening online. With over 200+ talks across ten tracks, speakers from around the world, this is one of the largest technology conferences organized by Microsoft community enthusiasts. I was invited to deliver a talk on the future trends that are under way in the software industry. Titled “The future for Software Developers by 2040” I presented on four topics: First, the current job market, immediate changes expected post pandemic and long-term trends. Second, the changes that have in the last eighteen months around the practice “Work from…
-
Broken images in new WordPress blog posts in Windows
Been years since I fiddled a lot with IIS & Windows Server. But when you had to do it, you do get a thrill by dirtying your hands when debugging a problem in production and solving it. Today, it started for me when I upgraded the server I run #Wordpress from PHP7.4 to 8.0, new posts were not showing uploaded images. I was getting a 500.50 HTTP error. After hours of debugging which involved: Disabling and enabling every single plugin in WordPress, Enabling Debugging in PHP & IIS, Eliminate any file format issues with the ImageMagick CLI utilities that I use to resize the images and add my blog logo;…
-
The software programming course in 1989 that changed my life for good
Today, I found an old certificate from 1989, and that set up a train of thoughts & recalling of old memories. It was the first computer programming certification given to me thirty-two years ago for completing a course on BASIC, Word-Processing & Database management. Below is a summary of my early years with IBM PC & MS-DOS. My first contact with a computing device was probably in 1986 when my uncle gifted me an Atari 2600 gaming console. I used to spend every waking hour on the device, playing games and creating quiz presentations (a question popped up on screen and an inbuilt delay before the answer was shown) and…
-
Engineers and Documentation – Random thought
Today I had this thought and I am penning it down immediately here. Later, I will try and expand on this. Thanks. Fact: #Engineers don’t like to write #documentation. Probable reasons: No one reads them or gives a ‘like’ for a good one. Only the code matters (it runs) & brings $$$. Today, source #code have become self-explanatory (?). Possible Solution: #ArtificalIntelligence to analyse & generate tutorial videos :-)
-
Windows Subsystem for Linux and Visual Studio Code
It feels like magic when it all works out of the box on the first try. The free open-source IDE “Visual Studio Code” is one of the finest out there for coding. Combine that with a convenient platform like Windows Subsystem for Linux which allows running your favourite Linux distro with the frameworks and tools you need, and you have a perfect system to do development especially on Python. Today, after a fresh install of Windows 10 on my AMD Ryzen 7 desktop, I went with enabling support for WSL through the following commands (or through Add/Remove Programs) and then setting the default version to WSL2: You can then install…
-
The Top Programming Languages in 2020 by IEEE Spectrum
In the list published by IEEE Spectrum on the top programming languages for 2020, it is interesting to see the change in trends. My observations: Python (as expected) retains the top slot for the last four years. JavaScript is slowly raising in popularity, it would’ve been in the top 2, had it not been for AI, ML & Python. C# suddenly has vanished from the top 10 this year, feels odd as the comments in the article page point out. Similarly, PHP going out from the top 10 for last two years, I am surprised with this – as WordPress which is powered by PHP, still runs over 30% of…