adplus-dvertising
Connect with us

Tech

Open Source Git Project Releases Version 2.40

Published

 on

Recently, the open-source Git project released its latest version 2.40, bringing some new features and bug fixes. Highlights of this release include updates to the git jump tool, enhancements to cat-file tool, and faster response on Windows.

Taylor Blau, Staff Software Engineer at GitHub provided a detailed walkthrough of the updates in Git 2.40. git jump, an optional tool in Git’s contrib directory, now supports Emacs and Vim. The git jump tool works by wrapping Git commands, such as git grep, and feeding their results into Vim’s quickfix list.

If you are using Emacs, git jump can be used to generate a list of locations using the command M-x grepgit jump --stdout grep foo. The command will then show all matches of “foo” in your project, enabling easy navigation. Git jump also works with diff and merge.

Git’s cat-file tool is commonly used to print out the contents of arbitrary objects in Git repositories. With Git version 2.38.0, cat-file tool got support to apply Git’s mailmap rules when printing out the contents of a commit. To understand the size of a particular object, --batch-check and -s options were used with cat-file tool. However, the previous versions of Git had an issue causing incorrect results when using the --use-mailmap option with the cat-file tool in combination with the --batch-check and -s options. With Git 2.40, this has been corrected, and the --batch-check and -s options will now report the object size correctly.

300x250x1

The git check-attr command is used to determine which gitattributes are set for a given path. These attributes are defined and set by one or more .gitattributes files in a repository. For complex rules or multiple .gitattributes files, check-attr git command was used:

$ git check-attr -a git.c 
git.c: diff: cpp 
git.c: whitespace: indent,trail,space

Previously, check-attr required an index to be present, making it challenging to use in bare repositories. A bare repository is a directory with a .git suffix without a locally checked-out copy of any of the files under revision control. Now in Git 2.40 and newer versions, there is a support for --source= option to scan for .gitattributes in, making it easier to use in bare repositories.

GitHub’s Twitter handle posted the highlights, which caught the attention of the tech community on Twitter. One of the Twitter users Andrew retweeted the announcement with a quote, “git jump seems pretty useful! https://github.com/git/git/tree/v2.19.0/contrib/git-jump

Git 2.40 also includes improvements to rewrite old parts of Git from Perl or Shell to modern C equivalents. This allows Git commands to run faster on platforms like Windows. Now, git bisect is now implemented in C as a native builtin and the legacy implementation git add --interactive has been retired.

There are some improvements to Git’s CI infrastructure in version 2.40. Some long-running Windows-specific CI builds have been disabled, resulting in faster and more resource-efficient CI runs for Git developers.

728x90x4

Source link

Continue Reading

Tech

You can now use Siri with ChatGPT on iPhones – Yahoo Canada Sports

Published

 on


“Hey Siri, ask ChatGPT…” (Apple)

A handy little update to the official ChatGPT app means you can now use Apple’s Siri to talk to the chatbot.

The useful trick works through an Apple feature called Shortcuts that lets you automate tasks on your iPhone.

Once set up, you can basically ask Siri to fetch answers from ChatGPT. It’s kind of like rewiring Siri’s brain to make the otherwise limited digital assistant a lot smarter. Until Apple gives the voice bot an AI language upgrade, this is the next best thing.

300x250x1

OpenAI launched the free ChatGPT iPhone app in the US last month, and quickly brought it to the UK. Although the app already offers a voice input feature that relies on its Whisper speech-recognition system, linking it to Siri means you can also use it on other Apple devices like a HomePod smart speaker.

Setting up the new feature is a breeze – here’s what you need to do.

How to get Siri to work with ChatGPT

First, make sure to update the OpenAI ChatGPT app on your iPhone.

Now, head to the Shortcuts app, which is available on any iPhone running iOS 12 or later.

Here, you can click the plus icon in the top-right corner and search for ChatGPT to set up the default Shortcut.

However, if you want to customise it, then you should click on the Shortcuts button in the top-left corner, and you should see ChatGPT under “App Shortcuts.”

Now, select “Add to shortcut” and tweak it how you want. For instance, you can set it to react to a specific command, such as “Hey Siri, Ask AI” instead of the standard prompt “Hey Siri, Ask ChatGPT”.

Watch out for ChatGPT clones

Within three weeks of its launch, the OpenAI ChatGPT app was downloaded 5 million times, according to data.ai.

The bot landed in an App Store full of clones and duplicates with similar-sounding names, some of which were using shady tactics to charge users for their services.

Thankfully, you can usually spot these dubious “fleeceware” apps by their low review scores. Google and Apple also removed some of the worst rip-offs after they were contacted by cybersecurity researchers.

Adblock test (Why?)

728x90x4

Source link

Continue Reading

Tech

Assassin’s Creed Mirage Gameplay Highlights Stealth And Classic Elements

Published

 on

Assassin’s Creed Mirage finally showed the much-anticipated return of classic elements from the franchise during the PlayStation Showcase. This trailer highlighted various elements, encouraging fans to anticipate future gameplay from Ubisoft.

A developer diary from the studio has now been released, highlighting classic elements featured in the Assassin’s Creed title. This includes stealth, assassinations, and parkour mechanics.

Why it matters: Many fans have been waiting for a classic Assassin’s Creed experience since the RPG trilogy. Mirage promises a return to the basic formula, focusing on the core Assassin’s Creed experience.

The developer diary explains Ubisoft’s thought process and focuses when returning to the classic formula.

300x250x1

Assassin’s Creed Mirage brings parkour mechanics like elevators, vaulting, and a dense map that encourages creative movement. Basim is more agile than recent Assassins, making parkour more fluid than before. Ubisoft also introduces new mechanics like the pole vault.

For fans of stealth, elements like social stealth will be making a comeback. Additionally, players can utilize bench assassinations, and Ubisoft has added more animations for stealth kills. This should ensure players are encouraged to pick the stealthy approach as they play through the upcoming release.

The game promotes freedom in story missions, allowing players to approach assassinations at their own pace. Assassin’s Creed Mirage also features bureaus that act as mission hubs, allowing players to take up side quests like assassinations and rescue missions.

Latest Updates

Assassin’s Creed Mirage is set to launch on October 12. Ubisoft has previously stated that the game was inspired by fan demand for a classic Assassin’s Creed experience, and the first developer diary shows just a few ways, in which Ubisoft is looking to bring the old formula to life.

728x90x4

Source link

Continue Reading

Tech

9 Final Fantasy VII Rebirth Trailer Deets That Have Fans Stoked

Published

 on

 

One interpretation of the beginning footage in the trailer is that it’s showing the events in an alternate timeline. Cloud is missing from the group of Avalanche members’ bodies recovered by Shinra, seemingly after their attempt to break out of the headquarters or potentially during a routine reactor bombing mission. The fact that the spikey-haired hero is missing has some fans wondering if the footage is a brief look at a Final Fantasy VII timeline where he never made it to Midgar, or perhaps one where he joins Sephiroth instead of fighting him at the end of Final Fantasy VII Remake.

A screenshot shows a destroyed city in flames.

 

Another theory is that the footage is made-up altogether. We don’t actually see direct shots of the Avalanche members’ bodies. Instead it’s through the eyes of Shinra TV, an organization with a clear and documented history of fake news and propaganda. It’s possible the footage is just showing how Shinra will eventually try to cover up the team’s headquarters rampage and ensuing car chase to keep the residents of Midgar calm and in the dark.

A screenshot shows Cloud walking toward a Chocobo.

 

The trailer gives us our first look at a Chocobo out in the wild at the farm where players were eventually able to breed them in the original game. It’s unclear if that mechanic will be saved for the final game in the remake trilogy, or if players will get the chance to breed a Gold Chocobo in Rebirth and even take it to race it at the Gold Saucer. I can only imagine how many hours I’ll be spending on the Chocobo tracks if that’s the case.

A screenshot shows Elena in Rebirth.

 

The Turks are on the chase again and Elena is their newest member. The reckless recruit is as much of a punk as ever in the new trailer. She has a crush on Tseng, the leader of the Turks, and her antics with Rude and the rest will no doubt spawn an endless number of memes. Her cameo in the trailer is already leading to a ton of fan art.

300x250x1
A screenshot shows the new, improved version of Bugenhagen.

 

Ho Ho Hooo! Bugenhagen has made the jump to PS5 as well and the Cosmo Canyon elder looks glorious. Red XIII’s surrogate grandfather can be heard explaining how the planet relies on the Lifestream to exist, and he still doesn’t have legs and floats around instead. One of the game’s most beloved and strange-looking characters in his original 32-bit form, the glow up is real and players are loving it.

A screenshot shows the large Highwind airship in the distance.

 

The Shinra airship doesn’t get a moment to shine in the trailer, but it can be seen in the background of the initial shot of the seaside military base Juno. It might end up that only in the trilogy’s final game will players get to step inside and take the reins over for themselves, but in the meantime the Highwind is already getting fans excited for when that moment comes.

A screenshot shows Tifa and Sephiroth fighting.

 

“I saw you lying there. I figured it was too late,” Cloud said in the first Rebirth trailer. “Wait, what are you implying? That I died? That I’m some kind of imposter?” responded Tifa. In the new trailer Sephiroth says, “You know that I killed her, so who is she?” This has fans wondering if the Tifa we know from Remake is actually a clone, or a version of Jenova, Sephiroth’s mutant alien half-mom. It’s possible that the developers are just building intrigue by how the dialogue is framed, or maybe it’s laying the groundwork for a radically different outcome to the rest of Final Fantasy VII Rebirth’s story.

A screenshot shows Aerith from the new trailer.

 

This all culminates in what would be the weirdest twist of all: Aerith not dying in the remake trilogy. The dream of saving Final Fantasy VII’s iconic flower girl is as old as the game itself, with urban legends that an option to stop Sephiroth from killing her or bring her back to life were hidden inside the game or cut at the last minute. If Tifa, or at least the original version of her, was killed at some point, maybe it implies that Aerith will live instead, or that Cloud will have the option to choose between different timelines where one set of tragic events is replaced with another. Or maybe this is all just the same type of wishful thinking Final Fantasy VII fans have been using to cope since the game came out. We’ll see what answers Rebirth provides when it arrives early next year. For now it’s fun to believe anything’s possible.


Kotaku is covering everything Summer Game Fest, from the main show on Thursday to other events happening throughout the next week. Whether you’re into larger-than-life triple-A games or intimate, offbeat indies, you can keep up with all things SGF here.

 

728x90x4

Source link

Continue Reading

Trending