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
2
votes
1 answer

Get screen height and width in cosmos C#

How would I get the screen height and width in C# Cosmos? I'm making a OS and I'm doing GUI and I need the center point for a welcome text. Like: int centerX = SCREENWIDTH / 2; // and int centerY = SCREENHEIGHT / 2; // Would get the center
Eli Ozcan
  • 412
  • 6
  • 10
2
votes
1 answer

how to save a file in the directory you are currently in (COSMOS)

So I'm making a Cosmos OS and I am having some trouble. I have this code that makes a file. what it does is it asks What is the name of the file and extension then what is the files contents then makes the file. The Problem is is that it only saves…
user13324519
2
votes
2 answers

Partition Key Vs Document Id in CosmosDB

If I store documents without providing partition key, In this case documentId will be treated as Partition Key of Logical Partition? If yes: how about Billion logical partitions in that collection? I have query to only look by documentId. Now inside…
2
votes
1 answer

Edges creation is not working in gremlin python

Trying to create edges between vertices using gremlin-python, but it is not working jupyter notebook "g.V('ProdDev').addE('belongs').to(g.V('Dept'))" edges should create....currently empty edges are creating...
2
votes
1 answer

How to check if a key was pressed in Cosmos c#

I am creating an operating system using Cosmos C# and how would I check if a key was pressed like A, CTRL, SHIFT, F1, etc. even in graphics mode?
2
votes
0 answers

What is wrong with this VGA driver code? I'm attempting to enter into Mode X, can only set certain pixels

I've been tinkering with this C# code for about a week now (intended to be used with the COSMOS operating system). I'm attempting to enter into Mode X, and clear the screen to a certain desired color. What actually happens is I wind up with colored…
Dave B.
  • 47
  • 6
2
votes
0 answers

How can I know if Cygnus is connected to Cosmos correctly?

I have Cygnus instance configured. I'm publishing information through Orion Context Broker, but now I want to check if everything is working properly. How could I ensure that everything is fine?
miguelbemartin
  • 417
  • 3
  • 10
2
votes
1 answer

Weird GUI issue in cosmos

When i do display.init() I get these white lines and a few other different pixels. The next thing that happens is they disappear one line at a time and it's preventing my VGA from booting. I'll post my kernel code and display driver. DISPLAY DRIVER…
2
votes
1 answer

How to "interrupt" a while loop in C# and return to the same place (without using any Threading)

I need help switching between while loops and resuming to the exact state that they were in. An example would be this: while(1==1) { x++; x++; x++; x++; } while(1==1) { Console.WriteLine("X=" + x); Console.WriteLine("X=" +…
Cyber
  • 33
  • 10
2
votes
1 answer

Fi-Ware Cosmos: Name node is in safe mode

I am trying to delete a folder in my Cosmos account, but I get the SafeModeException: # hadoop fs -rmr /home//input rmr: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete /user//input. Name node is in safe mode
nichel
  • 51
  • 2
2
votes
2 answers

Error while launching "hive" command in shell

When I try to run the "hive" command from the shell I get the following error: 'Exception in thread "main" java.io.IOException: Mkdirs failed to create /tmp/hadoop-USERNAME/hadoop-unjar1448268252380539144 at …
sbrahma
  • 21
  • 2
2
votes
0 answers

In Cosmos, how do I use plugs properly?

I'm in the process of creating my own operating system with Cosmos, but I have a problem. I need help with plugs! So far I've managed to write my operating system using code that doesn't require plugs. But this makes my OS really limited. I can't…
2
votes
0 answers

COSMOS public instance - ssh to Head node

I have read COSMOS documentation and the wiki. I can login at http://cosmos.lab.fi-ware.org/cosmos-gui, but when I try to ssh pablo@cosmos.lab.fi-ware.org I get a "Permission denied" with my credentials. I have tried both ssh form my machine and…
Pablo Albaladejo
  • 2,950
  • 1
  • 17
  • 21
2
votes
1 answer

COSMOS - Operating System Development - Error Setup Did Not Start?

As a result of starting to use c# more often, I decided to start using the COSMOS development kit. A link to the project can be found here. However, I have read a tutorial of how to use COSMOS with vs 2013. Everything was going well until the…
rodit
  • 1,746
  • 2
  • 19
  • 33
2
votes
0 answers

NAsm error with c# and Cosmos

I am trying to build a small operating system using c# and Cosmos At fisrt this went pretty good only from one moment to the other it stoped working and gave me the following error: Error occurred while invoking NAsm. OSBoot.asm Line: 241424…
Edo Post
  • 727
  • 7
  • 18
1
2
3
9 10