ChanServ changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
AD_MOS has quit [Ping timeout: 480 seconds]
<Habbie> begasus should really get a bouncer or something :)
AD_MOS has joined #haiku
smalltalkman has joined #haiku
illwieckz has quit [Quit: I'll be back!]
Maturi0n has joined #haiku
illwieckz has joined #haiku
hightower3 has joined #haiku
Maturi0n_ has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
white-wolf has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit []
frkzoid has joined #haiku
white-wolf has quit [Ping timeout: 480 seconds]
frkazoid333 has quit [Ping timeout: 480 seconds]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
bbjimmy_64 has quit [Quit: Vision[]: i've been blurred!]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
erysdren has joined #haiku
pvalue has joined #haiku
pvalue has quit [Quit: Vision[]: i've been blurred!]
<PulkoMandy> You can use bugreports or the mailing lists if you need something asynchronous
Begasus has joined #haiku
<Begasus> g'morning peeps
Begasus_32 has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
<botifico-c849d97b> [haikuports/haikuports] augiedoggie pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/800a4d6bac24...024a8fb8d2f9
<botifico-c849d97b> [haikuports/haikuports] augiedoggie 024a8fb - emacs: update to 29.0.90 (#8321)
xet7 has joined #haiku
vdamewood has joined #haiku
floof58 has quit [Read error: Connection reset by peer]
orealis has quit [Read error: Connection reset by peer]
floof58 has joined #haiku
orealis has joined #haiku
AlaskanEmily has quit [Remote host closed the connection]
Maturi0n has quit [Ping timeout: 480 seconds]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
hightower3 has quit [Read error: Connection reset by peer]
Begas_VM has joined #haiku
pvalue has joined #haiku
nephele has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
skoe has joined #haiku
<trungnt2910[m]> Now HyClone can get official Haiku updates from pkgman.
<trungnt2910[m]> Extended attributes emulation is also implemented.
_paul0 has quit [Quit: Leaving]
<andreasdr[m]> Nice
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
jmairboeck has joined #haiku
skoe has quit [Quit: Vision[]: i've been blurred!]
pvalue has quit [Quit: Vision[]: i've been blurred!]
xet7 has quit [Quit: Leaving]
<Begasus> nice trungnt2910[m] !
<Begasus> think I need to install 32bit native on the other laptop, running 64bit, is no use if I can't check 32bit recipes ;)
<andreasdr[m]> Damn
<Begasus> I'm 99% sure if it works on 32bit, it will also on 64bit, but not the other way round (and install paths differ due to mixed arch on 32bit) :)
<nephele> damn waiting for build packages to be activated
<Begasus> give it a kick (gotta love that one ... NOT) :)
<nephele> i don't wanna delete the workdir, my patch will leave
<Begasus> leave the changed files open?
<nephele> eh...
<Begasus> hp -c ... hp -b ... (save the open files again) ...?
vdamewood has quit [Remote host closed the connection]
<nephele> what's hp?
vdamewood has joined #haiku
<Begasus> hp = haikuporter (if you changed that in your profile (alias))
<Begasus> not bad, from 25% test passed to 100% passed for librsync ;)
<andreasdr[m]> Nice
<botifico-c849d97b> [haiku/infrastructure] nielx pushed 1 commit to master [+0/-0/±1] https://github.com/haiku/infrastructure/compare/fe38aa1934d7...defffb3e48be
<botifico-c849d97b> [haiku/infrastructure] nielx defffb3 - Update HaikuDepotServer to 1.0.147
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/024a8fb8d2f9...dc8bc08d2181
<botifico-c849d97b> [haikuports/haikuports] Begasus dc8bc08 - agg, disable static library (#8324)
<x512[m]> > agg, disable static library
<x512[m]> This is probably bad idea.
<jmairboeck> x512[m]: Haiku itself uses its own private copy (see https://git.haiku-os.org/haiku/tree/src/libs/agg), so that should be fine.
<x512[m]> I mean that AGG is template based library, so static library will fit better.
<nekobot> [haiku/haiku] korli pushed 1 commit to master [hrev56913] - https://git.haiku-os.org/haiku/log/?qt=range&q=f6395def5241+%5E6239b2a907c8
<nekobot> [haiku/haiku] f6395def5241 - PowerStatus: Use BNumberFormat for percentage value
<Begasus> If so better to enable static and disable shared?
<Begasus> x512[m], could you comment on that PR? lets see if more comments follow
<x512[m]> At least Haiku internally use static AGG.
<Begasus> yeah, jamfile explicitly mentions it
<x512[m]> What software use HaikuPorts AGG package?
<Begasus> from what I see, only gnash
<x512[m]> Added comment to PR.
<x512[m]> If Gnash compiles and works fine with static AGG, it will be better to switch to static one.
<Begasus> thankx x512[m]
<Begasus> gnash is disabled for 32bit, will run a checkbuild later
<x512[m]> trungnt2910: Around?
<trungnt2910[m]> はい。
<x512[m]> Is it possible to make Haiku->Linux devfs ioctl forwarding?
<x512[m]> For example to access Linux kernel graphics drivers (DRM) from Haiku applications.
<trungnt2910[m]> Depending on the code.
<trungnt2910[m]> By devfs you mean the virtual device mounted at /dev/?
<x512[m]> Mapping Linux /dev file to Haiku VFS with ioctl support.
<trungnt2910[m]> It's possible if the code does not collide with any basic Haiku ioctl ops.
<trungnt2910[m]> monika (the syscall emulator embedded in the modified libroot) forwards all ioctl ops that are larger than B_DEVICE_OP_CODES_END to hyclone_server.
<trungnt2910[m]> Then the ioctls can be implemented there.
<x512[m]> Forwarding ioctl on hyclone_server may cause problems because opened FD will belong to server instead of client.
<trungnt2910[m]> It's also possible to check if the path starts with /dev before doing anything else.
<trungnt2910[m]> Without forwarding anything to hyclone_server.
<x512[m]> Are opened FDs belong to server? Do clients gracefully release resources on crash?
<x512[m]> Also what currently happens if run app_server?
<trungnt2910[m]> Currently, all fds belong to the emulated process, not the server.
<trungnt2910[m]> The server only stores paths of the files that these fds point to.
<trungnt2910[m]> x512[m]: It forks once, runs into a few stubbed `watch_node` syscalls, and then goes into an infinite loop.
<trungnt2910[m]> The infinite loop takes a suspiciously high amount of CPU.
<x512[m]> Does it write something to log?
<trungnt2910[m]> x512[m]: If you mean the kernel log (`_kern_debug_output`) then no, except for the stubbed `watch_node` syscalls.
<trungnt2910[m]> Also, launch_daemon doesn't seem to launch app_server automatically.
<trungnt2910[m]> trungnt2910[m]: Actually it doesn't this time. What happens instead is that after launching `app_server`, it is impossible to launch any other HyClone apps. The `hyclone_server` just hangs.
<trungnt2910[m]> Linux shell after running app_server.
<x512[m]> How watch_node stub is implemented? Does it return error? It may work if return B_OK.
<trungnt2910[m]> x512[m]: It returns `ENOSYS`.
<trungnt2910[m]> I tried to return `B_OK` instead, but the same symptoms appear. No other HyClone apps could connect to the server.
<trungnt2910[m]> Seems like it wants to call munmap at NULL.
vdamewood has quit [Remote host closed the connection]
vdamewood has joined #haiku
pvalue has joined #haiku
<x512[m]> hyclone_server freeze sounds like a bug.
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mmu_man has joined #haiku
gouchi has joined #haiku
MajorBiscuit has joined #haiku
MajorBiscuit has quit []
MajorBiscuit has joined #haiku
pvalue has quit [Quit: Vision[]: i've been blurred!]
pvalue has joined #haiku
nephele has quit [Quit: Vision[]: i've been blurred!]
nephele has joined #haiku
<nephele> Begasus: I've mostly finished minetest 5.7.0, but I've send a PR upstream to fix a build issue in irrlicht, not sure if i should just patch it out locally or wait for it to be merged and then use it directly :)
Kokito has joined #haiku
<Begasus> nephele, you probably don't know when it will be merged upstream I gues, so add it localy, and if merged on the next release it can be dropped?
<nephele> hmm, yeah. but i already need to use a newer git revision to compile it, the last released version tries to use X11 even if sdl2 is configured
<trungnt2910[m]> <x512[m]> "hyclone_server freeze sounds..." <- Yeah, it seems to be a deadlock.
<Begasus> issue is the same nephele ? (using a release or a srcGitRev tag) when patching is needed?
<nephele> Yeah, but i could also use the github "fork" as upstream
<Begasus> ah, like that :) mostly we want to keep as much upstream SOURCE_URI as possible, if that doesn't work you could mention that in the PR
Kokito has quit [Quit: Vision[]: i've been blurred!]
pvalue has quit [Quit: Vision[]: i've been blurred!]
Blendie has joined #haiku
floof58 has quit [Remote host closed the connection]
<Begasus> does Haiku support IPV6_TCLASS? (I see some patches disabling it at haikuports and getting an error for it on latest burp)
floof58 has joined #haiku
zard has joined #haiku
<nephele> Urgh, cmake with it's "this was packaged wrong" is really getting on my nerves
<nephele> this time it's qtlinquist
<PulkoMandy> nephele: I don't know if you're still using Renga (you're not in the XMPP chatroom for it anymore), but your issue with bookmarks should be fixed (it was a bug in gloox and is fixed with a patch to gloox 1.0.26 in the current recipe)
<nephele> PulkoMandy: I wasn't using it, a friend of mine hosted the xmpp server but that went down. I haven't gotten around to getting a new server or account yet
<trungnt2910[m]> I fixed that bug. Now app_server just stays there without doing anything.
<nephele> maybe you can recomend a server with biboumi? :)
<PulkoMandy> I use the one at jabberfr.org, they have a biboumi and it's working well for me
floof58 is now known as Guest10519
floof58 has joined #haiku
Guest10519 has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
<x512[m]> trungnt2910: > fix: Concurrency improvements
<x512[m]> Does it change something with running app_server?
<trungnt2910[m]> <x512[m]> "Does it change something with..." <- Like I said, instead of deadlocking `hyclone_server`, `app_server` now becomes harmless.
<x512[m]> Do Haiku strace work?
<trungnt2910[m]> It doesn't because the debugger API is stubbed.
<trungnt2910[m]> strace is actually on the top of my current todo list, I'll start working on it tomorrow.
MajorBiscuit has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> I actually attempted to work on it once, https://github.com/trungnt2910/hyclone/commit/5ca058d8e98f8e04200d4dbc1171a2ef2f5e9490, but two things blocked this:
<trungnt2910[m]> - At that time there was no way for `hyclone_server` to interrupt and force another process to spawn the nub thread (now there is, I implemented such a mechanism for `transfer_area`).
<trungnt2910[m]> - The Haiku debugger protocol is undocumented and a bit complicated.
<trungnt2910[m]> <x512[m]> "Does it change something with..." <- Some Haiku tools start to recognize the existence of `app_server`. For example, `screenmode` instead of just quitting now hangs and waits for a reply.
<x512[m]> "nub thread" is a kernel thread on Haiku.
<x512[m]> Maybe it can be created on hyclone_server side.
<x512[m]> Haiku kernel allows to create kernel thread inside any process.
<x512[m]> spawn_kernel_thread_etc
<trungnt2910[m]> It still seems to belong to the team and reads team data though.
<x512[m]> I see your hyclone_server can read client process memory.
Skipp_OSX has joined #haiku
floof58 is now known as Guest10520
floof58 has joined #haiku
<trungnt2910[m]> Yes, we could spawn the thread in hyclone_server.
<trungnt2910[m]> However, only notifying that the team is being debugged itself requires interrupting the team.
Guest10520 has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> Either way the debugged HyClone process would have to know the nub port id and report its own syscalls to it.
<trungnt2910[m]> It is possible to make hyclone_server into some kind of gdb that actually reads the process's symbols and install traps on _kern_*, but that's way too complicated.
<x512[m]> Syscall debug message format seems simple.
<trungnt2910[m]> The format seems readable enough now that I gave it more thought.
<trungnt2910[m]> Seems like the relevant structures have already been included in HyClone: https://github.com/trungnt2910/hyclone/blob/master/shared_headers/haiku_debugger.h
<x512[m]> Debug message is sent 2 times before and after syscall.
<trungnt2910[m]> After some thought the real engineering challenge here is to refactor monika to support syscall reporting.
CPYou has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+2/-0/±0] https://github.com/haikuports/haikuports/compare/dc8bc08d2181...69c44a3960f3
<botifico-c849d97b> [haikuports/haikuports] Begasus 69c44a3 - uthash, new recipe (#8325)
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
nosycat has joined #haiku
nephele has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
HaikuUser has quit []
matt1 has joined #haiku
matt1 has left #haiku [#haiku]
<Begasus> looks like no one bothered to check the binaries in the tools package for leptonica
pvalue has joined #haiku
<zdykstra> mornin' all
MajorBiscuit has joined #haiku
<nosycat> o/
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56914] - https://git.haiku-os.org/haiku/log/?qt=range&q=5cbb772a4d8c+%5Ef6395def5241
<nekobot> [haiku/haiku] 5cbb772a4d8c - libroot: Fix handling of n=0 in mbrtowc.
pvalue has quit [Quit: Vision[]: i've been blurred!]
CPYou has quit [Ping timeout: 480 seconds]
<Begasus> 'lo zdykstra
<zdykstra> beautiful spring day here
<zdykstra> I might grab a laptop and go work from the swing in my back yard
<Begasus> it was here too, untill an hour ago :)
<Begasus> other laptop here setup for both arch's too now :)
Begasus_32 has joined #haiku
Begasus_32 has quit []
Begas_32 has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 2 commits to master [hrev56915] - https://git.haiku-os.org/haiku/log/?qt=range&q=6347519ab1e0+%5E5cbb772a4d8c
<nekobot> [haiku/haiku] d9e8ef7f66cb - threads.h: Fix value of ONCE_FLAG_INIT.
<nekobot> [haiku/haiku] 6347519ab1e0 - pthread_once: Add static assertions for ONCE_INITs.
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56916] - https://git.haiku-os.org/haiku/log/?qt=range&q=4f97a431b966+%5E6347519ab1e0
<nekobot> [haiku/haiku] 4f97a431b966 - Deskbar: Make Vulcan Death Grip work in mini-mode
tuaris has joined #haiku
ClaudioM has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
Rapo has quit [Quit: Konversation terminated!]
nephele has joined #haiku
mmu_man has joined #haiku
tuaris has quit [Quit: Leaving.]
CPYou has joined #haiku
bbjimmy_64 has joined #haiku
xiku has joined #haiku
<botifico-c849d97b> [haiku/website] waddlesplash pushed 1 commit to master [+3/-0/±0] https://github.com/haiku/website/compare/37a8239eadc2...07cafacab113
<botifico-c849d97b> [haiku/website] nielx 07cafac - Add dark logo and leaf icon. Fixes #18284
CPYou has quit [Remote host closed the connection]
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
BrunoSpr has joined #haiku
nosycat has quit [Quit: Leaving]
BrunoSpr has quit [Quit: Vision[]: Ich wurde verwaschen!]
BrunoSpr has joined #haiku
matt1 has joined #haiku
matt1 has left #haiku [#haiku]
xet7 has joined #haiku
CPYou has joined #haiku
BrunoSpr has quit [Quit: Vision[]: Ich wurde verwaschen!]
zard has quit [Ping timeout: 480 seconds]
nephele has quit [Quit: Vision[]: i've been blurred!]
ClaudioM has quit [Quit: leaving]
<Begasus> g'night peeps
Begasus has quit [Quit: Leaving]
mmu_man has quit [Ping timeout: 480 seconds]
Begas_32 has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
AlienSoldier has joined #haiku
jmairboeck has quit [Quit: Konversation terminated!]
zard has joined #haiku
MajorBiscuit has quit [Quit: WeeChat 3.6]
gouchi has quit [Remote host closed the connection]
zard has quit [Ping timeout: 480 seconds]
CPYou has quit [Ping timeout: 480 seconds]
diver1 has joined #haiku
Diver is now known as Guest10567
diver1 is now known as Diver
Guest10567 has quit [Ping timeout: 480 seconds]
avisxeniasheher[m] has left #haiku [#haiku]
kinkinkijkin has quit [Quit: Leaving]