Questions tagged [haiku]

Haiku is a free and open source operating system (MIT licensed) that is mostly binary- and source-compatible with BeOS. Its development began in 2001.

13 questions
8
votes
1 answer

OS Multi threading differences

I'm asking this question because I was investigating the Haiku OS (a BeOS descendant). The goal of the BeOS operating system was to create a desktop environment that handles multimedia well and is very responsive. They manage this by creating a…
Joep
  • 4,003
  • 3
  • 28
  • 32
4
votes
1 answer

Compiling Haiku OS for mobile devices

Is it possible for me to compile Haiku OS (a BeOS descendant) for mobile devices, for example, a phone? If yes, has anybody done it yet? Are there any examples?
wantoknow
  • 573
  • 1
  • 6
  • 15
4
votes
1 answer

Error installing rails: Error building native extension (-Wl insilde ld call)

Currently I'm trying to install rails on Haiku R1 aplha 4 OS. I must warn you that I'm very new to Haiku and ruby as well. I have failed to find posts with similar problem and I'm terribly sorry if I was wrong and such topic already…
Alexey
  • 49
  • 2
3
votes
1 answer

module 'jax' has no attribute 'tree_multimap' in AlphaFold2 CoLab

I am attempting to model a protein using an AlphaFold2 (AlphaFold v2.1.0.) CoLab (https://colab.research.google.com/github/deepmind/alphafold/blob/main/notebooks/AlphaFold.ipynb#scrollTo=pc5-mbsX9PZC). I have done this successfully on 9/2/2022.…
Dr. Wilson
  • 31
  • 1
  • 2
2
votes
0 answers

Unable to parse composition when using lotti animation designed in Haiku

I have created the following lotti animation using…
Alexander Solonik
  • 9,838
  • 18
  • 76
  • 174
2
votes
1 answer

How does one get a parameter from a params (pytree) in haiku? (jax framework)

For example you set up a module and that has params. But if you want do regularize something in a loss what is the pattern? import jax.numpy as jnp import jax def loss(params, x, y): l = jnp.sum((y - mlp.apply(params, x)) ** 2) w =…
mathtick
  • 6,487
  • 13
  • 56
  • 101
1
vote
1 answer

How to use AES or DES algorithm on SliTaz or Haiku

How to use AES or DES algorithm on SliTaz 4.0 or Haiku Sorry, but, I missed that I should include the programming environment: I want to use AES or DES in C++ or Python.
Ivan Drago
  • 11
  • 2
1
vote
0 answers

Threads in Haiku

I am running the Haiku desktop in a virtual machine, and have written a threaded python program. The program will create threads on each execution. It works fine the first few times, but if I keep running it, even though the threads are done, they…
1
vote
1 answer

Running Haiku r3alpha1 with VirtualBox

I am trying to run Haiku r3alpha1 vmdk using Virtual Box (4.1.14 r77440) on Mac OS X 10.7.3. When I start the VM all I see is a row of icons and there is no activity on the OS. Does anyone have any idea how I can make it work? Here is my…
russoue
  • 5,180
  • 5
  • 27
  • 29
0
votes
1 answer

Does Haiku cache parameters when combined with jax.vmap?

I have a haiku Module with a call function as follows class MyModule(hk.Module): __call__(self, x): A = hk.get_parameter("A", shape=[self.Ashape], init=A_init) B = hk.get_parameter("B", shape=[self.Bshape], init=B_init) C…
Algopaul
  • 3
  • 2
0
votes
0 answers

Creating custom Haiku model parameters

I am trying to create custom parameters for a Haiku hk.Module. I know that hk.get_parameter() does create new parameters/returns existing parameters, however, I also want to modify the values of those parameters before they are returned when calling…
Yusha Arif
  • 11
  • 1
0
votes
1 answer

How to reorder different sets of parameters in dm-haiku

In dm-haiku, parameters of neural networks are defined in dictionaries where keys are module (and submodule) names. If you would like to traverse through the values, there are multiple ways of doing so as shown in this dm-haiku issue. However, the…
VdZ
  • 95
  • 5
0
votes
1 answer

Finding an unnamed union in a struct

I have to find an unnamed union in struct _pthread_rwlock in pthread.h in the Haiku open source project. I began this assignment with some knowledge of c++ (past inheritance, polymorphism, and classes), but I find that what I learned do not help at…
Freeman Lou
  • 139
  • 2
  • 7