Questions tagged [cosmos]

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more! THIS TAG IS NOT FOR QUESTIONS ABOUT THE AZURE COSMOS DB DATABASE - for any questions related to Cosmos DB, please use the [azure-cosmosdb] tag.

141 questions
1
vote
0 answers

Mobile App: Use "Microsoft.Azure.Cosmos" .NET SDK V3 in Xamarin.Forms - Cross Platform

I created a small mobile app using Xamarin.Forms This app use Cosmos DB (Azure Database). I need to know if it is possible to use Microsoft.Azure.Cosmos (Nuget) in Xamarin.forms. If it is possible, can you help me to figure out what I am doing…
1
vote
2 answers

How should I get one item from Cosmos using the v3 API?

I want to retrieve one item from Cosmos DB and there must be a better way than what I am doing here. I've tried other commands, but this seems to actually work. public async Task GetAsync(string id) { FeedIterator
1
vote
2 answers

How to read Azure CosmosDb Collection in Databricks and write to a Spark DataFrame

I am querying a CosmosDb collection, and, could able to print the results. When I try to store the results to a Spark DataFrame, it fails. Referred this site as an example: How to read data from Azure's CosmosDB in python Followed the exact steps…
Shan K
  • 11
  • 3
1
vote
1 answer

Query Records Across Multiple Collections in Azure Cosmos

Is it possible to query records across multiple collections in Azure Cosmos, using the SQL Rest API? I'll note that I am using jupitern/cosmosdb, which is just a handy wrapper around the SQL Rest API. I have not been able to find any documentation…
Crayons
  • 1,906
  • 1
  • 14
  • 35
1
vote
1 answer

UPSERT /INSERT/ UPDATE between Databricks to Cosmos

Currently we are using Azure Databricks as Transformation layer and transformed data are loaded to Cosmos DB through connector. Scenario: We have 2 files as source files. 1st File contains name,age 2nd file contains name, state, country In Cosmos, I…
1
vote
1 answer

How to draw mouse cursor in Cosmos when there isn't any definition for X and Y in mouse class?

I'm creating an Operating System in C# using Cosmos User Kit. I want to draw a mouse cursor in my OS. But the "Mouse" class does not contain a definition for X and Y. Here's my code: using Cosmos.System.Graphics; using System; using…
Sdrf1445
  • 147
  • 2
  • 2
  • 9
1
vote
2 answers

can multiple key value pairs be inserted in a single tx in tendermint?

curl -s 'localhost:26657/broadcast_tx_commit?tx="zid=1 title=xyz"' Can something be done like this? I want to store multiple data in a single transaction, so can it be done using key value pairs or any other technique that would work?
renny
  • 590
  • 4
  • 23
1
vote
0 answers

Is it possible to add a text and unicode characters to a cosmos gui?

I was wondering if it would be possible to add text to a GUI in cosmos in another way then drawing it out line by line. Maybe this could be achieved if only a small portion of the screen is GUI and the other part is still console allowing for text…
1
vote
4 answers

Clear Cosmos console

I'm developing an Operating system with cosmos and I'm wondering if someone knew how to clear the console in Cosmos? I want to create a /clear command, and I've tried some solutions, but what is wrong with this code? Console.Clear();
1
vote
1 answer

Cosmos not showing up for me

I've been searching for a few hours for a solution for my problems. But I've downloaded Cosmos (operating system) using visual studio 2015 community edition. At first I downloaded the userkit, then realized that I wanted the devkit (maybe). All the…
Vince
  • 2,596
  • 11
  • 43
  • 76
1
vote
1 answer

c# run method not looping

I am making a simple OS using cosmos. I am a beginner in c#. Run() method in cosmos's default code loops until I quit VMware. However, once I fix little bit, my program exits automatically. I don't understand why. I am trying to make it…
m.k
  • 73
  • 1
  • 10
1
vote
3 answers

c# check if a string has a certain word

I am using Cosmos to make a simple OS to understand a bit about it. If I want to make a command line called echo that echos user's input, first I need to check if the input has "echo" in front of it. For example, if i input "echo hello world", I…
m.k
  • 73
  • 1
  • 10
1
vote
0 answers

(Cosmos) This line of code won't work: [assembly: Rings(System.Rings)]

using System; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Cosmos.HAL; using Sys = Cosmos.System; using Cosmos.Common; [assembly: AssemblyTitle("Package…
1
vote
1 answer

connecting spagobi to cosmos

I'm trying to connect SpagoBI to Cosmos via Hive JDBC driver. The connection works but I need to add jar (json-serde-1.3.1-SNAPSHOT-jar-with-dependencies.jar) to be able to execute map reduce when querying. The problem is that spago bi doesn't…
FrAG
  • 11
  • 2
1
vote
1 answer

No overload for method 'run' takes 1 arguments

I'm creating an operating system in COSMOS when I was running into this little problem. else if (HOLOOS.seperate(MyGlobals.input, 5) == "login") { if (MyGlobals.input == "login") { Console.Write(Commands.login.usage); } else …
Hige Mayhem
  • 13
  • 1
  • 3