Gemini and Copilot useful links and authorization.
For programmers there are two main case to receive AI help to make program - Gemini and Copilot. But, of course, most important is details how exactly you will authenticate your IDE to AI.
1. Gemini.
Firstly about Gemini https://gemini.google.com/. Gemini is currently available through the Google AI Studio and the Gemini Apps mobile application for Android and iOS devices. This is opportunity of Gemini https://cloud.google.com/gemini/docs/codeassist/overview
For last month I ask 646 questions for Gemini and Gemini create for me 5158 code hints.
Why so many? Because I'm too lazy to write various small program, like below, it's not a difficult, but details with regular expression, calculate array index and write various similar trash program takes away my strength in vain, therefore I prefer generate similar trash program automatically
I use Gemini in three case:
- Without context - as Google AI Studio https://aistudio.google.com/prompts/new_chat. And this is Google notes about price: "If you use Gemini within Google AI Studio and then incorporate the generated code into your VS Code projects, the cost is associated with your Google AI Studio usage (either the free tier or the paid Pro tier), not VS Code. VS Code simply acts as your code editor; the Gemini access and cost are external to it."
- With context as plugin to VS CODE - https://cloud.google.com/gemini/docs/codeassist/write-code-gemini
- With context as part of Android Studio
Evil, as usually, in details - how you licensed to access to AI what you need to pay for helping. For my opinion in Android Studio license included to Android studio and you don't need to pay anything. But with VS CODE you need to connect Gemini to Cloud project. And in this case you need pass OAUT2 authentication and create Google project (what usually need money) (to learn more about Google Cloud project look to this my page Google Cloud Console overview. And, you need to pay something for Gemini service, but now I'm in trial mode and don't know final price.
Most important notes for using Gemini with VS CODE - you can doing with Gemini help any projects in any folders in your computer, not exactly related to concrete code you upload to your concrete Google Cloud project.
This is links to manage Gemini:
- Gemini license https://cloud.google.com/gemini/docs/manage-licenses
- Gemini Cloud Assist in the Google Cloud consolehttps://cloud.google.com/gemini/docs/cloud-assist-pane
- Gemini project selectorhttps://console.cloud.google.com/projectselector2/home/dashboard
- Gemini admin panel of my project https://console.cloud.google.com/gemini-admin/products?inv=1
This is Gemini price (I don't know why in one place I see 60 pounds but in another place $22, because now I'm in trial mode).
2. Be careful with Gemini.
Despite Gemini is best existing AI system, this is not a human, this is only languages model, no more.
- Sometimes Gemini working unstable:
- Sometimes Gemini take absolutely wrong recipes, for example I send Gemini this information many times, I said "Gemini please:
- JCenter is Shut Down: JCenter used to host some WebRTC versions, but it's now shut down.
- Maven Central: Maven Central doesn't host the org.webrtc:google-webrtc library.
- Google's Maven: Google's Maven repository doesn't host the org.webrtc:google-webrtc library.
- Gemini time estimation already wrong, for example my current project in Java My Android Java Voip Messenger Gemini estimate as project up to 10 month, but I'm sure that this is overrated estimation:
- And finally what frustrate me with Gemini, each times I ask Gemini the same question - I received different answer. For example this is question how I can route MMS to my android emulator. I received 3 different answer in different times to the same question. All of them is wrong.
But Gemini don't ask me att all, and require from me include WebRTC library from missing repository, and even I snd Gemini correct repository https://github.com/webrtc-sdk/android, Gemini return me my file with comment "This is wrong repository"
And after that Gemini start to learn me how I can receive the same repository, even when I send Gemini correct repository with WebRTC code https://github.com/webrtc-sdk/android, Gemini start learning me how I can receive the same WebRTC library from Google source code https://webrtc.googlesource.com/src/:
This is long way with 9 steps, of course each step will produce a number of errors, what need to overcome one-by-one. This 9 steps look as job for rest of my life and all of that steps Gemini wanted to impose me, instead of admitting that WebRTC library already exist int the place I point him. That's fantastic!
3. Copilot.
Alternative to Google AI is Microsoft AI https://github.com/features/copilot. This is the same link as in Google AI studio https://copilot.microsoft.com/
This AI helping working in many environment, but I used it only with Visual Studio 2022.
In this case, as usually, main point how you will authenticate to Github you VS2022. There are a couple way:
- Permanently link you computer to Microsoft and allow Microsoft access to anything what you doing in your computer, because Windows has services what working with system privileges. Usually I don't select this way.
- Link only your VS 2022, something like this. You can select Github Account. This is intermediate way to violence to your human right and your privacy from fucking Microsoft because you can change Github account to prevent tracing your activity Change Git account.
- There are some way to allow less intrusion from fucking Microsoft to your privacy, usually I select this way. You need to download VS 2022 professional and authorise your VS 2022 thought Office 365, something like this:
But in this case fucking Microsoft also require spying for you in anything what you doing in your computer.
Of course, Office 365 account must be false and without linking to your phone if you want protect your privacy from intrusion from fucking Microsoft.
And best way is avoid to use Windows and any tools from fucking Microsoft, if you respect you and your privacy. For example I use 99% of any my operation on computer in Linux only Linux tag.
Ai context:
Privacy context:
|