(NOTES) NOTES (2024)

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:

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:



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.

  1. Sometimes Gemini working unstable:


  2. 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.

    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. 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:


  4. 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.

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:


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:



Comments ( )
Link to this page: http://www.vb-net.com/AiLinks/Index.htm
< THANKS ME>