floof58 has quit [Read error: Connection reset by peer]
Maturi0n has joined #haiku
floof58 has joined #haiku
B2IA has quit [Ping timeout: 480 seconds]
Maturi0n_ has quit [Ping timeout: 480 seconds]
accessays has joined #haiku
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
accessays has quit [Remote host closed the connection]
floof58 is now known as Guest10332
floof58 has joined #haiku
B2IA has joined #haiku
Guest10332 has quit [Ping timeout: 480 seconds]
__gyr has quit [Remote host closed the connection]
__gyr has joined #haiku
_paul0 has joined #haiku
__gyr has quit [Remote host closed the connection]
<AlaskanEmily>
Skipp_OSX: Yeah I saw that, I'm thinking more like libco where you can cheaply change tasks on a single OS thread. I can just use libco or ucontext or something similar, but I was just curious if Haiku or BeOS had their own thing like that already.
<x512[m]>
Waiting for running app_server on Linux 😀
<x512[m]>
Should be possible by implementing custom accelerant add-on.
<Begasus>
nice trungnt2910[m] !
AlaskanEmily has quit [Remote host closed the connection]
<trungnt2910[m]>
<x512[m]> "What was needed to implement?" <- `launch_daemon`, `registrar`, `package_daemon`, and `pkgman` itself.
<trungnt2910[m]>
On the kernel side I have to implement the ioctls for the packagefs driver.
<trungnt2910[m]>
And a lot, lot, lot, lot of Haiku-ism syscalls.
<x512[m]>
trungnt2910[m]: Are original binaries used for `registrar` etc.?
<trungnt2910[m]>
On the high level it's tempting to say that Haiku is a UNIX-like OS, but when one dives deep into it to do things like HyClone they'll feel that Haiku is as different from UNIX as Windows is.
<trungnt2910[m]>
x512[m]: All of these are original binaries downloaded from official haiku-os.org sites.
<trungnt2910[m]>
Only libroot and runtime_loader is modified.
<trungnt2910[m]>
* Only libroot and runtime_loader are modified.
<x512[m]>
Can you show process tree when running pkgman?
<trungnt2910[m]>
launch_daemon is automatically started by hyclone_server. It then launches other required daemons (most of which dies nearly immediately because of stubs), including package_daemon.
<x512[m]>
What is level of isolation between Linux and Haiku? Are same PID used? Can Haiku run Linux application and opposite?
<trungnt2910[m]>
<x512[m]> "Waiting for running app_server..." <- Are there any existing protocols to forward Haiku app windows to an external server?
<trungnt2910[m]>
x512[m]: The same PIDs are used. However, syscalls like `get_team_info` do not work on native Linux applications.
<trungnt2910[m]>
A Haiku shell can start any Linux binary, or even Windows ones.
<x512[m]>
Yes. There is TCP based remote desktop protocol that work in a way similar to RDP.
<trungnt2910[m]>
A Linux shell can get to Haiku by using haiku_loader.
<x512[m]>
There is HTML5 client for app_server remote desktop.
<trungnt2910[m]>
x512[m]: Is it based on widget forwarding or framebuffer forwarding?
<Begasus>
bbl, cu peeps
<x512[m]>
It is based on vector drawing commands forwarding.
<x512[m]>
It works, but not polished yet.
<trungnt2910[m]>
In the far future something that forwards Haiku app windows and let the server render itself would be nice. Something like a remote `app_server` or the reverse of `xlibe`.
<trungnt2910[m]>
Then I could host a WinUI3 app server and then forward hyclone apps there :)
<x512[m]>
app_server may need some hacks to run with remote mode only and without local screen.
<x512[m]>
How file system integration is handled? Can Haiku applications access Linux FS?
white-wolf has joined #haiku
diver1 has joined #haiku
Diver is now known as Guest10349
diver1 is now known as Diver
Guest10349 has quit [Ping timeout: 480 seconds]
<trungnt2910[m]>
<x512[m]> "How file system integration is..." <- Of course. Everything is on the Linux's filesystem.
<trungnt2910[m]>
Currently the Linux's FS can be accessed through a magic mount called /SystemRoot.
<x512[m]>
Can packagefs be accessed from Linux?
<trungnt2910[m]>
"packagefs" is nothing more than just a bunch of packages extracted on disk.
HaikuUser has joined #haiku
HaikuUser has quit []
<trungnt2910[m]>
This has the limitation of not being able to activate and deactivate packages instantly like on Haiku.
<x512[m]>
HPKG mounting is not working yet?
<trungnt2910[m]>
Currently not, but implementing the ioctls required for activating packages and using Linux inotify to watch /boot/system/packages for changes is on my to-do list.
<trungnt2910[m]>
Currently any changes to the activation state (installing or removing a package) requires restarting HyClone. hyclone_server on startup synchronizes /boot/system/packages with the rest of the environment using a simple extraction technique.
<trungnt2910[m]>
In the future it might be possible to use packagefs with Haiku's userland_fs, but this will require a lot of work as the emulated apps work on the assumption that all emulated Haiku files have a corresponding path on the host's disk.
<trungnt2910[m]>
Or we can implement packagefs using FUSE and mount it directly on Linux.
Blendie has joined #haiku
<trungnt2910[m]>
Also... what is AF_LINK? What is it used for?
<x512[m]>
Something inherited from FreeBSD.
<trungnt2910[m]>
What is it used for? I see pkgman wanting it a lot despite being able to function without it. Also, ifconfig seems to depend on it to function.
<x512[m]>
I don't know. It seems nothing specific to Haiku. Pure *BSD thing.
<trungnt2910[m]>
Returning `B_INTERRUPT` on a HTTP error is so confusing. Took me a half hour `strace`ing and hunting for `EINTR` while the actual cause is a HTTP 416...
gouchi has quit [Remote host closed the connection]
<bjorkintosh>
I don't know why to be honest. but the link I just posted is why the OS is named haiku.
<trungnt2910[m]>
But those poems are in English and only written in that style. I don't see any Japanese text (and therefore I don't see the need for a Japanese font installed by default).
<Habbie>
i recall looking at this and finding that the dependency was indirect
<Habbie>
but i could be misremembering
<trungnt2910[m]>
pkgman install -y noto installs only noto.
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
<Skipp_OSX>
heyo I'm here, waddlesplash you're right it's all bad but I can't fix things the way you want me to.
<waddlesplash>
lol
erysdren has joined #haiku
<waddlesplash>
what about this: move all the "real" mouse-down logic of TTeamMenuItem to another method (e.g. TTeamMenuItem::HandleMouseDown() or something) which accepts all applicable parameters, i.e. from the BMessage
<waddlesplash>
and then TTeamMenuItem::MouseDown extracts parameters from CurrentMessage and calls HandleMouseDown (or whatever it's named)
<Skipp_OSX>
yeah I guess I could do that
<waddlesplash>
and then ExpandoMenuBar can also call this method
<Skipp_OSX>
yeah RemoveItem you're right about that in the TeamMenu that's probably going to be fine
<waddlesplash>
wait a minute
<Skipp_OSX>
The TeamMenu is used in mini-mode, ExpandoMenuBar is used in expando mode
<waddlesplash>
yeah ok I am seeing this now
<Skipp_OSX>
that's the problem we have multiple menus and we move the menu items between them.
<waddlesplash>
ugh
nosycat has joined #haiku
xet7 has quit [Ping timeout: 480 seconds]
nosycat has quit []
nosycat has joined #haiku
<Skipp_OSX>
Deskbar used to destroy everything and rebuild it all every time you switched modes at least now we reuse the same objects preserving their states
<waddlesplash>
Skipp_OSX: try just not removing the team immediately
<waddlesplash>
i.e. remove delete, RemoveTeam, etc.
<waddlesplash>
we should see the team destruction notification and let that handle removal
<waddlesplash>
that should make this work out
xet7 has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
vdamewood has quit [Remote host closed the connection]
vdamewood has quit [Remote host closed the connection]
vdamewood has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
CPYou has quit [Ping timeout: 480 seconds]
AlaskanEmily has joined #haiku
MajorBiscuit has quit [Quit: WeeChat 3.6]
HaikuUser has joined #haiku
gouchi has quit [Remote host closed the connection]
<HaikuUser>
Hello. this is my first time using haiku. is anyone around? I had a quick question. I dragged the volume slider out of the deskbar and I don't know how to get rid of it now
<augiedoggie>
is there a little hand icon in the lower right?
* augiedoggie
opens a VM
<HaikuUser>
yes, but for one of them it's very hard to see because it's right at the edge
<augiedoggie>
right click and choose "remove"
<HaikuUser>
ah, thanks. That worked great.
<HaikuUser>
I'm trying to get this working on an old macbook that my mother left behind. I still can't get the wifi or sound working though
<HaikuUser>
I tried the wifi firmware installation script.
<augiedoggie>
i don't have much experience with wifi on haiku, for certain audio chips you may need to install the opensound package
<HaikuUser>
oh, I installed that too, no luck. It's a 2012 macbook, I think it just isn't supported yet
<waddlesplash>
wifi on 2012 MacBook may never be supported
<waddlesplash>
audio is another matter, that one we can and should fix
<waddlesplash>
jessicah may know something about that
<HaikuUser>
the only other spare hardware I have is an '06 era Mac Mini, and that's a lost cause
<HaikuUser>
I somehow got Debian loaded onto it, but the mac boot loader can't even see a USB with the 32bit Haiku iso on it
<HaikuUser>
ditto for the disk boot. just spits it back out
<jessicah>
I can't remember which airbook I have, but did get audio partially working
<jessicah>
I think it was speakers only, no headphone jack
<jessicah>
think it's 6,2
<augiedoggie>
i have a mini from ~07 that needs a custom boot cd in order to start haiku
<jessicah>
as needs some quirk support in hda
<HaikuUser>
well, all things considered, I'm amazed by how quickly Haiku installs and boots
<jessicah>
for my airbook, I use an apple Thunderbolt to ethernet adaptor
<HaikuUser>
I kinda wish I could get trackpad gestures, but I figure that's down the line. I'm not much of a developer, but I love tinkering with stuff like this. Amazing work.
<jessicah>
as long as it's plugged in at system boot, it works fine
<jessicah>
hotplug doesn't work
AlaskanEmily has quit [Remote host closed the connection]
<HaikuUser>
if it helps, according to Devices the sound is NVIDIA Corporation MCP79 High Definition Audio
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
DKnoto has joined #haiku
AlienSoldier has joined #haiku
<AlienSoldier>
was back on the computer being away for the afternoon and app server (or input server as mouse was not mouving anymore) was hang. I disabled the screensaver (was set to blackness) to see if this is the component that sometime freeze. Not the fisrt time this happened to me and not on just this computer.
tuaris has quit [Quit: Leaving.]
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]