Posts

Understanding Time Complexity and Space Complexity

Image
 When it comes to evaluating algorithms, two critical aspects often come into play: time complexity and space complexity. These concepts help in understanding how an algorithm performs in terms of execution time and memory usage, respectively. Let's dive deeper into these essential topics. Time Complexity Time complexity is a measure of the amount of computational time that an algorithm takes to complete as a function of the length of the input. It gives an estimate of the running time of an algorithm in terms of the size of the input data. Time complexity is usually expressed using Big O notation, which provides an upper bound on the running time. Big O Notation Big O notation is used to classify algorithms according to their worst-case or upper bound performance. Here are some common time complexities: O(1) - Constant Time : The execution time is constant and does not change with the size of the input. Example: Accessing an element in an array by index.

Instagram is going to let you set video statuses / You’ll be able to add a two-second video loop to your Instagram Notes.

Image
Instagram is going to help you spice up your Notes by letting you post video Notes, Meta announced on Wednesday. Notes have so far been text-based, meaning they currently function like the AIM status messages of my millennial youth. (You can even share what song you’re listening to!) The addition of video gives you a little more room to be creative with your Notes, and you can add a text caption, too. But since video Notes can only be two-second loops, they probably aren’t going to replace Instagram Stories anytime soon. The company is also introducing additional ways to reply to Notes from your friends, including photos, videos, audio messages, stickers, and GIFs. If you reply to a Note, your friend will see that reply as a DM. Screenshots showing replies with Instagram Notes. Image: Meta Meta introduced Notes late last year, and they’ve apparently proven to be popular with teens. Personally, I currently prefer to make my short posts on another Meta platform, but I still wear skinny j

Epic win: Jury decides Google has illegal monopoly in app store fight / The jury decided Google’s sweetheart deals were too much.

Image
Three years after Fortnite-maker Epic Games sued Apple and Google for allegedly running illegal app store monopolies, Epic has a win. The jury in Epic v. Google has just delivered its verdict — and it found that Google turned its Google Play app store and Google Play Billing service into an illegal monopoly. After just a few hours of deliberation, the jury unanimously answered yes to every question put before them — that Google has monopoly power in the Android app distribution markets and in-app billing services markets, that Google did anticompetitive things in those markets, and that Epic was injured by that behavior. They decided Google has an illegal tie between its Google Play app store and its Google Play Billing payment services, too, and that its distribution agreement, Project Hug deals with game developers and deals with OEMs were all anticompetitive. Google affairs and public policy vp Wilson White said the company plans to appeal the verdict, and that “The trial made clear

Google Gemini is here… but is it better than ChatGPT 4?

Image
What is Google Gemini? Why does Gemini come in three sizes? Will Gemini also impact Google search? We explain. Google Gemini, a new multimodal general AI model, which the tech giant calls its most powerful yet, is now available to users around the world through Bard, some developer platforms, and even the new Google Pixel 8 Pro phones. Google took its next leap in artificial intelligence on December 6 with the launch of project Gemini, an AI model trained to behave in human-like ways that is likely to intensify the debate about the technology’s potential promise and perils. The rollout will unfold in phases, with less sophisticated versions of Gemini called “Nano” and “Pro” being immediately incorporated into Google’s AI-powered chatbot Bard and its Pixel 8 Pro smartphone. With Gemini providing a helping hand, Google promises Bard will become more intuitive and better at tasks that involve planning. On the Pixel 8 Pro, Gemini will be able to quickly summarise recordings made on the dev

Apple Granted Patent for External Flashlight on Apple Watch Bands, Could Come With Dedicated Battery

Image
 The modular light assembly could be controlled, turned on or off via both a dedicated switch and the controls on the watch display. HIGHLIGHTS: Apple Watch models currently utilise the display as a flashlight The light could be turned on, off via a dedicated switch or the display It will cast light perpendicular to the plane defined by watch display Apple Granted Patent for External Flashlight on Apple Watch Bands, Could Come With Dedicated Battery We've come to accept flashlights as a core feature on smartphones, serving the dual purpose of acting as a camera flash while taking pictures in low light conditions and as a torch in the absence of light. But a dedicated flashlight on smartwatches remains a niche feature. That could change soon as Apple is reportedly looking to add an external flashlight to Apple Watch. The company has been granted a patent for an external flashlight to be fitted on the bands of Apple Watch models. According to a report in Apple Insider, which first sp

What Is Q*, OpenAI’s Rumored Breakthrough? The Theories—and Why Elon Musk Isn’t Worried.

Image
  OpenAI has been at the center of attention in the artificial-intelligence world after the dramatic firing and swift return of CEO Sam Altman. The reason behind his firing is still unknown, but there has been speculation that it was triggered by a significant breakthrough in AI. Reuters reported last week that OpenAI staff researchers wrote a letter to the board warning an internal project named Q*, or Q-Star, could represent a breakthrough in creating AI that could surpass human intelligence in a range of fields. That letter was sent ahead of Altman’s firing. Altman couldn’t be immediately reached for comment. The thought that OpenAI is on the brink of creating genuinely intelligent machines, and all the risks that involves, might be too hasty. Neither OpenAI nor its largest backer Microsoft (ticker: MSFT) have publicly confirmed the existence of Q*, much less the possibility that it is a dangerous breakthrough in AI technology. OpenAI didn’t respond to requests for comment. These so

Why python is an interpreted language?

Image
    Python is one of the most popular interpreted languages, but have you ever thought about why Python is called an interpreted language while other programming languages like C, C++, Java, etc., generate results after compilation? So, you might be curious about what is this interpreted language. And how is this different from the language which generates results after compilation? To answer the question, we must know what interpreted means. Interpreted in simple terms means running code line by line. It also means that the instruction is executed without earlier compiling the whole program into machine language. Now, let us discuss how Python works as an interpreted language. Consider a scenario where you are trying to run a python code, but unfortunately, you have made some mistakes at the bottom of the code. You will find that there is an error generated for obvious reasons, but along with the error, you will find the output of the program till the line of the program is correct. T