Questions tagged [mirage]

An OCaml-based programming framework for building type-safe, modular systems.

MirageOS is a library operating system that constructs unikernels for secure, high-performance network applications across a variety of cloud computing and mobile platforms.

Code can be developed on a normal OS such as Linux or OS X, and then compiled into a fully-standalone, specialised unikernel that runs under the Xen hypervisor.

Links

MirageOS website

Mirage on GitHub

See Also:

32 questions
1
vote
0 answers

Mirage JS add pagination data to response

I have a problem with mocking backend by mirage JS. How to add pagination data to response after creatList? My server js returns JSON https://miragejs.com/repl/v2/6563736c78 { "users": [ { "title": "test title", "id": "1" }, …
Petro
  • 21
  • 1
1
vote
1 answer

Putting lwt.t code in infinite loop in Ocaml for mirage os

I have the following code block which I modified from the mirageOS github repo: open Lwt.Infix module Main (KV: Mirage_kv.RO) = struct let start kv = let read_from_file kv = KV.get kv (Mirage_kv.Key.v "secret") >|= function …
atakanyenel
  • 1,367
  • 1
  • 15
  • 20
1
vote
1 answer

Remove news, description and image from collection and communities

How can i remove news, description and image from the main collection and collection view in dspace. What are the files to edit?
phang
  • 518
  • 4
  • 20
1
vote
1 answer

How to deal with all those functors

I was here for something else but trying to write up my question, I realize there's no way I'm doing this right. I've been using mirage and irmin for a little while, and as long as all the code stays in the Main module everything is great. But of…
Ulrar
  • 895
  • 8
  • 17
1
vote
1 answer

ember mirage seed db dynamically

I know when application loads, mirage seeds the database. But I wanted to know is there a way to change the seeded database dynamically later on (for example on some user actions). So, I have an API which gives me the status of the progress and I am…
Bhavya Bansal
  • 257
  • 1
  • 15
1
vote
0 answers

Build unikernel mirage on mac OS X

I would like to build a unikernel image of a mirage app for use with Kubernetes on a VirtualBox on my Mac OS X. How should I go about building it? All attempts at make specifically deny the use of Darwin.
1
vote
1 answer

Mirage OS and Xen - Storing data on a DB

Which are the best options available if I want my MirageOS unikernel to store some information on an external DB (doesn't matter the type)? I had a look at different solutions but it seems that none of the libraries offering DB bindings are…
Vittorio Cozzolino
  • 931
  • 1
  • 14
  • 31
0
votes
0 answers

How do i Implement a variant of connect that takes and offset and a length and returns a single partition?

Currently working on a mirage block partition issue. "The current connect interface has the nice property that it is difficult to create overlapping partitions. However, in the context of Mirage the Functoria API doesn't have a concept of pairs. It…
0
votes
0 answers

Ember Observers getting broken

We have a complex app and we do write test cases for testing. While writing an acceptance test case for my changes, I have encountered one issue. The issue was my test case was running perfectly fine when it was ran alone but it get’s failed when it…
Manoj
  • 1
  • 2
0
votes
1 answer

Ember.js ajax POST request not going through mirage

I am writing some tests for a component in my Ember application, where the component performs an ajax POST request to my servers API that will return a string of the location of a file. I have added in the mirage/config.js file a route that should…
DjangoBlockchain
  • 534
  • 2
  • 17
0
votes
0 answers

How to use pp_write_error from mirage-channel

I'm using mirage-channel and Channel.flush returns a (unit, Channel.write_error) Result.result. I can't figure out how to convert that Channel.write_error to a string, seems like there is a pp_write_error but I just don't get how to use it. Thanks
Ulrar
  • 895
  • 8
  • 17
0
votes
1 answer

Pass modules to other modules

I'm trying to use Irmin with MirageOS, and I'm struggling with all those modules. I took a look at the Canopy sources to try and figure out how Irmin is supposed to be used, and I have this : let start console clock resolver conduit = let (module…
Ulrar
  • 895
  • 8
  • 17
0
votes
1 answer

connect localhost elastic search cluster on mirage

I'm trying to use Mirage to build my elastic search queries. I have started elastic search on localhost and when i do curl localhost:9210 on terminal, i get below details : "name" : "RN48HFb", "cluster_name" : "elasticsearch", "cluster_uuid" :…
0
votes
0 answers

How disable "my account" box from all mirage theme in dspace

i need remove the box "my account" from mirage theme in dspace, I found this, but only works for the box in the frontpage.
CesarH
  • 1
  • 1
0
votes
1 answer

MirageOS and Xen - Virtual interface unable to acquire IP address

I've compiled and built a MirageOS unikernel for XEN following this guide https://github.com/mirage/mirage-www/blob/master/tmpl/wiki/hello-world.md (mostly last part, Step 4, stackv4) but after I launch it I'm not able to pass the DHCP discovery…
Vittorio Cozzolino
  • 931
  • 1
  • 14
  • 31