Connect with us

Technology

The goal of Microsoft’s GitHub Copilot is to utilize AI in programming as soon as possible

Published

on

The goal of Microsoft's GitHub Copilot is to utilize AI in programming as soon as possible

There is a lot of disagreement over how much generative AI can assist programmers. David Gewirtz of ZDNET has discovered through first-hand testing that OpenAI’s ChatGPT “can write pretty good code.” However, some research has shown that the overall code quality of large language models, like GPT-4, is far lower than that of human coders.

However, some contend that the argument over whether AI is a better coder or not is missing the mark. According to some, the key to providing coding assistance through automation is to alter the nature of a programmer’s work.

“If you ask me what is the big change, what’s happened with the world of generative AI is that we have created another abstraction layer on top of AI,” said Inbal Shani, chief product officer for GitHub, the developer site owned by Microsoft, in an interview recently with ZDNET.

Originally, the purpose of that abstraction layer—natural language—was limited to code completion. “That’s the basic layer that we’ve seen,” she stated. Shani contends that the abstraction layer’s power lies in its ability to extend AI’s applications far beyond code completion.

GitHub Copilot, their version of code assistance, was released in June 2021. According to Shani, this year has been “a transformational year” for AI in programming. As per the October announcement made by Microsoft CEO Satya Nadella, GitHub has more than 37,000 organizations and over a million paying customers utilizing Copilot.

Shani mentioned well-known Copilot users like Accenture, which has used Copilot to train hundreds of developers. “They’ve seen that there was a lot of usage to reduce what we call boilerplate code, the repetitive code that developers do not necessarily like to write, but have to because it’s part of their foundations.”

Shani stated that Accenture has kept 88.5% of the Copilot code. “So this means that copilot was able to provide a high accuracy — high-fidelity answers to their developers that they choose to keep that code and not need to rewrite it.”

Using Copilot at Accenture has increased productivity by 15%, as measured by the number of pull requests that are completed on time when new code is merged with the main source for a project. Furthermore, the process of turning code into a working binary is known as the “build process,” and “they’ve seen developers more apt to go through it.”

“Sometimes, developers hold themselves back” from doing builds, she noted. “They say, I don’t trust, I need to test again, but using Copilot, it kind of helped build that trust to deploy more code into production.”

More pull requests, more builds, and less boilerplate code writing could all result in small but meaningful improvements in the way developers spend their days right away.

“If we can increase the build rate in a consistent way, then that basically helps developers to spend less time waiting for builds, to have more time back to focus on architecture and so on,” said Shani.

“A shocking discovery that happened for me is that developers have less than two hours a day to write code,” on average, said Shani. “They need to do many things that are around the software development lifecycle, but not around the coding — they do builds, they write tests, they sit in meetings, they need to engage with other folks, they need to write PRs [pull requests].”

One possible benefit of automating some of those tasks is that “we’re giving more bandwidth for developers to invest in the other areas.”

Shani acknowledged that none of this had been fully and rigorously measured in terms of increased productivity. Regarding the productivity measurement process, she stated, “I think we’re in the middle of that.” The likes of Copilot “have not been adopted for long enough for us to get real, substantial data that we can say, here’s how we’ve changed lives forever.”

She said that definitions are difficult for productivity. Since “you can write really crappy code really fast,” code completion is “not necessarily an indicator of success” when it comes to accelerating code.

Rather, said Shani, “the work that we have ongoing is, What is really time to value? What is that impact? How do we measure the impact of these tools that we have been adopting along the way? That’s still ongoing.”

“How to define developer happiness,” according to Shani, is another crucial component that needs to be quantified in some way. “It’s very important for developers to be recognized, and right now, the recognition is coming in some companies from measuring how many lines of code am I writing.” She does, however, point out that a programmer’s verbosity may not be the best measure of their skill.

The elimination of the need to switch between tools is one of the more significant components of the new abstraction layer emerging in AI.

“Usually, if I’m looking for something I don’t know how to write, I’ll go to some sort of search engine,” explained Shani. “Copilot was able to bring all of that into the same environment.” The interface, the prompt, “is right there in your IDE [integrated development environment],” so that “you don’t need to go to different tools, you don’t need to copy-paste, you don’t need to do all that; you basically stay where you write your code.”

The result, according to her, is that “developers are happy because they have less context-switching between tools.”

Within the programming team, Copilot is starting to spread to other departments. According to Shani, one significant Copilot user is the online retailer Shopify, which uses the tool for coding interviews with prospective employees. Additionally, Copilot is being used as a “peer programmer” or educator to help new programmers get up to speed during the onboarding process.

According to Shani, a major factor in the cases where Copilot and comparable tools are unable to yield the desired outcomes is likely prompt engineering’s learning curve. “You still need to know how to ask the right question,” she stated.

“The more you ask a broader question [at the prompt], the more general the solution you’ll get that is not necessarily applicable for your situation,” whereas, “the more you know how to ask the right questions, the better you get an answer from Copilot.”

As for “that change management,” she explained that Microsoft is working with clients like Accenture on “how to think about the question you ask Copilot to get the right answer that is applicable” and “how to write a proper prompt.”

Copilot still needs a lot of development, which will probably have a significant influence on both its accuracy and usefulness. Programs are starting to be able to be “personalized” for a specific developer. “An aspect we’re working on is how we can help these models to understand your coding style,” stated Shani, “to understand which of these elements are critical for you as a software developer, to adjust the recommendations we give you.”

An enterprise version of Copilot will be generally available from GitHub in February. “This is specifically about more customized models for enterprises that want to have their own flavor of that implementation,” Shani stated.

In the business version, “you’re going to have the ability to summarize PRs or add comments to the code using Copilot, or search your documents and get that document you’re looking for.” Additionally, more attention will be paid to how Copilot handles testing and stress testing.

According to Shani, the main goal is to “centralize everything with the same kind of AI flow model across software development, from inception to production.”

The chipmaker Advanced Micro Devices is among the enterprise edition beta testers, primarily for optimizing AMD’s in-house generative AI models. “We have a long waiting list of more customers that want to enter,” she said. “We’re taking it through a lot of rigorous testing, and we want to get a lot of feedback from customers that are currently on our beta program before we feel confident to share.”

Speaking of developer happiness may seem odd considering that some have claimed programming jobs can be eliminated by using AI to automate code. But Shani is adamant that’s not the case. “It’s not going to replace developers, not in the next, I would say, five, ten years,” she stated. “I’m in the camp that says never, because we’re just going to evolve as developers.”

Shani has been working with AI for more than 20 years. A year ago, she joined GitHub and ran the Elastic Containers product at Amazon AWS. She talks about her own experience transitioning from Fortran to C++ to Java to Python as a programmer. “At every point in time, everyone was freaking out: oh, my God, this is going to take away the work of developers.”

But, “We’ve seen more increase in developers because now we have lowered the barrier to be able to write more software.”

In the meantime, Shani compares the development of AI Copilots to “the same industrial revolution that led to factories that scaled food production to meet demand.” “That’s what’s taking place now: there’s more demand for software, so there’s more demand for software developers.”

Could Copilot and similar software actually reduce the time it takes to develop a project if accurate code generation can be automated and if context switching can be minimized by the abstraction layer?

Programmer Fred Brooks noted in his book The Mythical Man-Month that merely adding resources to a large programming project did not always expedite it; in fact, most of the time, it made matters worse.

It’s unclear yet if artificial intelligence (AI) will significantly improve project scheduling and management or lower the overall amount of work needed for a big programming project.

“I don’t know if the concept of many months will turn to seconds,” Shani replied. “Things will still take the right time to mature, but I think that the way to get there will be smoother and more efficient along the way if we can get to that value that we’re looking for in a shorter period of time.”

Technology

Threads uses a more sophisticated search to compete with Bluesky

Published

on

Instagram Threads, a rival to Meta’s X, will have an enhanced search experience, the firm said Monday. The app, which is based on Instagram’s social graph and provides a Meta-run substitute for Elon Musk’s X, is introducing a new feature that lets users search for certain posts by date ranges and user profiles.

Compared to X’s advanced search, which now allows users to refine queries by language, keywords, exact phrases, excluded terms, hashtags, and more, this is less thorough. However, it does make it simpler for users of Threads to find particular messages. Additionally, it will make Threads’ search more comparable to Bluesky’s, which also lets users use sophisticated queries to restrict searches by user profiles, date ranges, and other criteria. However, not all of the filtering options are yet visible in the Bluesky app’s user interface.

In order to counter the danger posed by social networking startup Bluesky, which has quickly gained traction as another X competitor, Meta has started launching new features in quick succession in recent days. Bluesky had more than 9 million users in September, but in the weeks after the U.S. elections, users left X due to Elon Musk’s political views and other policy changes, including plans to alter the way blocks operate and let AI companies train on X user data. According to Bluesky, there are currently around 24 million users.

Meta’s Threads introduced new features to counter Bluesky’s potential, such as an improved algorithm, a design modification that makes switching between feeds easier, and the option for users to select their own default feed. Additionally, it was observed creating Starter Packs, its own version of Bluesky’s user-curated recommendation lists.

Continue Reading

Technology

Apple’s own 5G modem-equipped iPhone SE 4 is “confirmed” to launch in March

Published

on

Tom O’Malley, an analyst at Barclays, recently visited Asia with his colleagues to speak with suppliers and makers of electronics. The analysts said they had “confirmed” that a fourth-generation iPhone SE with an Apple-designed 5G modem is scheduled to launch near the end of the first quarter next year in a research note they released this week that outlines the main conclusions from the trip. That timeline implies that the next iPhone SE will be unveiled in March, similar to when the present model was unveiled in 2022, in keeping with earlier rumors.

The rumored features of the fourth-generation iPhone SE include a 6.1-inch OLED display, Face ID, a newer A-series chip, a USB-C port, a single 48-megapixel rear camera, 8GB of RAM to enable Apple Intelligence support, and the previously mentioned Apple-designed 5G modem. The SE is anticipated to have a similar design to the base iPhone 14.

Since 2018, Apple is said to have been developing its own 5G modem for iPhones, a move that will let it lessen and eventually do away with its reliance on Qualcomm. With Qualcomm’s 5G modem supply arrangement for iPhone launches extended through 2026 earlier this year, Apple still has plenty of time to finish switching to its own modem. In addition to the fourth-generation iPhone SE, Apple analyst Ming-Chi Kuo earlier stated that the so-called “iPhone 17 Air” would come with a 5G modem that was created by Apple.

Whether Apple’s initial 5G modem would offer any advantages to consumers over Qualcomm’s modems, such quicker speeds, is uncertain.

Qualcomm was sued by Apple in 2017 for anticompetitive behavior and $1 billion in unpaid royalties. In 2019, Apple purchased the majority of Intel’s smartphone modem business after the two firms reached a settlement in the dispute. Apple was able to support its development by acquiring a portfolio of patents relating to cellular technology. It appears that we will eventually be able to enjoy the results of our effort in four more months.

On March 8, 2022, Apple made the announcement of the third-generation iPhone SE online. With antiquated features like a Touch ID button, a Lightning port, and large bezels surrounding the screen, the handset resembles the iPhone 8. The iPhone SE presently retails for $429 in the United States, but the new model may see a price increase of at least a little.

Continue Reading

Technology

Google is said to be discontinuing the Pixel Tablet 2 and may be leaving the market once more

Published

on

Google terminated the development of the Pixel Tablet 3 yesterday, according to Android Headlines, even before a second-generation model was announced. The second-generation Pixel Tablet has actually been canceled, according to the report. This means that the gadget that was released last year will likely be a one-off, and Google is abandoning the tablet market for the second time in just over five years.

If accurate, the report indicates that Google has determined that it is not worth investing more money in a follow-up because of the dismal sales of the Pixel Tablet. Rumors of a keyboard accessory and more functionality for the now-defunct project surfaced as recently as last week.

It’s important to keep in mind that Google’s Nest subsidiary may abandon its plans for large-screen products in favor of developing technologies like the Nest Hub and Hub Max rather than standalone tablets.

Google has always had difficulty making a significant impact in the tablet market and creating a competitor that can match Apple’s iPad in terms of sales and general performance, not helped in the least by its inconsistent approach. Even though the hardware was good, it never really fought back after getting off to a promising start with the Nexus 7 eons ago. Another problem that has hampered Google’s efforts is that Android significantly trails iPadOS in terms of the quantity of third-party apps that are tablet-optimized.

After the Pixel Slate received tremendously unfavorable reviews, the firm first declared that it was finished producing tablets in 2019. Two tablets that were still in development at the time were discarded.

By 2022, however, Google had altered its mind and declared that a tablet was being developed by its Pixel hardware team. The $499 Pixel Tablet was the final version of the gadget, which came with a speaker dock that the tablet could magnetically connect to. (Google would subsequently charge $399 for the tablet alone.)

Continue Reading

Trending

error: Content is protected !!