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
tuaris has quit [Read error: Connection reset by peer]
tuaris has joined #haiku
<puck_> okay, made a small head start on splitting the hobbit emulator code into somewhat more comprehensible bits
<botifico> [haikuports/haikuports] augiedoggie pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/d3830cd9ab8a...e2110bc675da
<botifico> [haikuports/haikuports] mywave82 e2110bc - media-sound/ocp: 0.2.103 version bump (#7861)
<x512[m]> puck_: Are you involved in Nix?
<augiedoggie> bah, 64 bit builder is hosed
<augiedoggie> both of the builders have been misbehaving for a couple days now
<augiedoggie> heh, 32 bit failed to upload the package from the buildmaster too
<puck_> x512[m]: somewhat?
<x512[m]> Is it possible to run Nix on Haiku?
<puck_> Now That Is A Question
<bjorkintosh> x512[m], why would you want that?
<puck_> the answer to this is a bit too complex for almost 2am here, and will probably need a small blogpost to compare nix and hpkg stuff
<puck_> oh it'd be funny as heck
<bjorkintosh> the haiku package manager is what Nix is trying to be, if this is anything to go by: https://news.ycombinator.com/item?id=34879304
<x512[m]> HaikuPorter python infrastructure is too clunky.
<bjorkintosh> it's nothing to do with Haiku. it's everything to do with python tradition.
<bjorkintosh> ever played with anaconda and that sorta thing?
<bjorkintosh> it's always half broken.
<bjorkintosh> it's a python-ing.
<puck_> x512[m]: *that* is a different question entirely and one that won't work quite as easily
<x512[m]> In theory it should be possible to use Nix for building Haiku software.
<bjorkintosh> in practice nix is inferior! thank goodness for that.
<puck_> x512[m]: i don't entirely believe so, and it'd be a bunch of compromise one way or the other
<puck_> bjorkintosh: meh, hpkg and nix don't really overlap that much
<x512[m]> Nix supports crosscompiling, HaikuPorter doesn't.
<x512[m]> You need to run real RISC-V machine to build packages from sources.
<puck_> okay i gotta write "packagefs for Nix users" and "Nix for packagefs users" i think, lol
<x512[m]> I had an idea of making "PackageBuilder", an alternative of HaikuPorter with simpler declarative recipe language and full cross compile support. Write in C++.
<x512[m]> Haiku still have no RISC-V package building infrastructure :(
<bjorkintosh> yet.
<bjorkintosh> consider how new risc-v is.
<x512[m]> HaikuPorter lack of crosscompile support is major issue.
<bjorkintosh> x512[m], do you have risc-v hardware?
<x512[m]> Yes. HiFive Unmatched.
<puck_> i kinda want a visionfive 2
<x512[m]> Still not available on regular market.
<x512[m]> > This item will be released on March 20, 2023.
OrangeBomb has joined #haiku
OrngBomb has quit [Ping timeout: 480 seconds]
talos has quit [Quit: Lost terminal]
mmu_man has quit [Ping timeout: 480 seconds]
OrangeBomb has quit [Ping timeout: 480 seconds]
OrangeBomb has joined #haiku
Maturi0n has joined #haiku
Maturi0n_ has quit [Ping timeout: 480 seconds]
AlaskanEmily has joined #haiku
bbjimmy_64 has joined #haiku
Blendie has joined #haiku
netposit1ve has joined #haiku
OrngBomb has joined #haiku
netpositive has quit [Ping timeout: 480 seconds]
OrangeBomb has quit [Ping timeout: 480 seconds]
<andreasdr[m]> I got one baked :)
<andreasdr[m]> VK and GL3 was not working for me last time I used the visionfive with their official debian
<andreasdr[m]> Waiting for the next release
kinkinkijkin has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
<x512[m]> andreasdr: It will work with llvmpipe or lavapipe, but I don't know how show.
<x512[m]> show -> slow
<andreasdr[m]> Ah I see. No worries. I have time with this nice little hardware :) Can wait until they fix that.
<andreasdr[m]> The GPU should be about as 4 times as fast the one from the PI4 i read somewhere, so I was very curious about the 3d performance.
<andreasdr[m]> 4 times faster
<andreasdr[m]> The CPU seems to be quite slow
<x512[m]> Did they solve a problem with slow memcpy()?
OrngBomb is now known as OrangeBomb
bbjimmy_64 has quit [Quit: Vision[]: i've been blurred!]
<andreasdr[m]> They have release notes here. Let me check.
<botifico> [haikuports/haikuports] augiedoggie pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/e2110bc675da...e05df5f680fd
<botifico> [haikuports/haikuports] augiedoggie e05df5f - cdogs_sdl: update to 1.4.1 (#7880)
dby has joined #haiku
<andreasdr[m]> x512: I found nothing about slow memcpy
<x512[m]> You can compile simple program that do memcpy() of some large buffer and measure time.
bbjimmy_64 has joined #haiku
kinkinkijkin has quit [Ping timeout: 480 seconds]
<PulkoMandy> I wonder how haikuports.cross works without cross compiler support in haikuporter… sounds like it should be possible
<PulkoMandy> There are many hroblems with haikuporter (mainly being a python/bash tool written by a c++/perl developer) but I don't think cross compiling is one of them
kinkinkijkin has joined #haiku
humdinger has joined #haiku
brian_ has quit [Quit: Leaving]
<x512[m]> Right now haikuports.cross can't be used from Haiku, only from Linux.
<x512[m]> It use alternative Python code path in HaikuPorter code and totally separate set of recipes.
<x512[m]> GCC built from haikuports.cross is known to produce broken exception support.
<x512[m]> So HaikuPorter cross compiling support is currently in disaster shape.
<x512[m]> *.recipe format would be like need to be changed for cross compile support. Otherwise why separate repo exists for crosscompiled recipes?
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
<PulkoMandy> Recipe format has no problems and the separate repo uses that support. All you need in recipes is build_requires (things that run on the target) vs build_prerequires (things that run on the host)
Begasus has joined #haiku
<Begasus> g'morning peeps
<PulkoMandy> Cross-compile recipes were separated because they add some complexity to the recipes (not because the tools are bad, but because cross compiling is more complex than single target compiling), and it was best to keep that out of the way
<PulkoMandy> And yes, haikuports.cross recipes are out of date and mostly unmaintained. But this has nothing to do with haikuports itself
<x512[m]> Not to forget that haikuports.cross is supposed to produced some special bootstrap packages that is strange idea in the first place.
<x512[m]> Crosscompiler should produce proper packages.
<PulkoMandy> Yes. But again that's not a haikuporter problem, that's a Haiku buildsystem problem
<x512[m]> PulkoMandy: Anybody succeed to crosscompile regular haikuporter recipes?
<x512[m]> Haiku have no build system. That is haikuporter build system.
<x512[m]> There are Jam rules, but that are mostly used by Haiku itself internally and a few native apps.
<PulkoMandy> all the bootstrap thing and haikuports.cross is designed specifically for building haiku and tied with haiku buildsystem
<PulkoMandy> regular haikuporter recipes needs some changes, to start with, replace "cmd:gcc" in the recipe with the name of the cross compiler. And then tell the buildsystem of whatever software you are building that you want to use that compiler
<PulkoMandy> recipes in haikuports.cross can be used as an example of this, they have these changes, but they also have more: an attempt to reduce dependencies for each recipe to the very minimum, so that the recipes can be built without needing a full haiku.hpkg (for the host or the target system)
<PulkoMandy> what else is needed from haikuporter?
dby has quit [Quit: Vision[]: i've been blurred!]
<Begasus> buildmaster(s) still lost ...
<nekobot> [haiku/haiku] autocommitter pushed 1 commit to master [hrev56789] - https://git.haiku-os.org/haiku/log/?qt=range&q=f369023834b3+%5E08f748dea76c
<nekobot> [haiku/haiku] f369023834b3 - Update translations from Pootle
tqh has joined #haiku
hackkitten has joined #haiku
jmairboeck has joined #haiku
tqh has quit [Quit: Leaving]
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
Miccet has joined #haiku
Miccet has quit [Quit: Vision[]: i've been blurred!]
Begasus has quit [Ping timeout: 480 seconds]
tuaris has quit [Read error: Connection reset by peer]
bjorkintosh has quit [Ping timeout: 480 seconds]
Begasus has joined #haiku
AlaskanEmily has quit [Remote host closed the connection]
vdamewood has joined #haiku
kinkinkijkin has quit [Quit: Leaving]
HaikuUser has joined #haiku
HaikuUser has quit []
gouchi has joined #haiku
<nekobot> [haiku/haiku] pulkomandy pushed 2 commits to master [hrev56790] - https://git.haiku-os.org/haiku/log/?qt=range&q=6ae6a38e5326+%5Ef369023834b3
<nekobot> [haiku/haiku] 76b2fd5bed5b - app_server: include the manager in the font cache key
<nekobot> [haiku/haiku] 6ae6a38e5326 - app_server: refactor font managers
<nekobot> [haiku/haiku] pulkomandy pushed 1 commit to master [hrev56791] - https://git.haiku-os.org/haiku/log/?qt=range&q=e70df3f778b0+%5E6ae6a38e5326
<nekobot> [haiku/haiku] e70df3f778b0 - app_server: AppFontManager does not need a BLooper
Begasus_32 has joined #haiku
Begas_32 has joined #haiku
Begas_32 has quit [Quit: Vision[]: i've been blurred!]
gouchi has quit [Quit: Quitte]
mmu_man has joined #haiku
pinaraf has quit [Ping timeout: 480 seconds]
Begasus has quit [Ping timeout: 480 seconds]
nosycat has joined #haiku
humdinger has joined #haiku
HaikuUser has joined #haiku
Begasus has joined #haiku
<Begasus> nosycat, https://ibb.co/n1wnj26 :)
HaikuUser has quit []
MrSteelRat has joined #haiku
<nosycat> Good work!
<Begasus> heading out for a while, will do some finetuning on the recipe, but so far looks good :)
<nosycat> It's no hurry. Take care!
xet7 has quit [Ping timeout: 480 seconds]
Begasus has quit [Ping timeout: 480 seconds]
<puck_> hmm. once the EGL stuff works i couold probably properly make https://puck.moe/up/jabak-zapib.png work (it creates two GL contexts, and the SDL2 haiku stuff doesn't like it)
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
Begasus has joined #haiku
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
bbjimmy has joined #haiku
bjorkintosh has joined #haiku
talos has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
Begasus has quit [Ping timeout: 480 seconds]
mmu_man has quit [Ping timeout: 480 seconds]
dcatt has joined #haiku
HaikuUser has joined #haiku
MrSteelRat has quit [Quit: Vision[]: i've been blurred!]
MrSteelRat has joined #haiku
hightower2 has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
xet7 has joined #haiku
dcatt has quit [Quit: Vision[]: i've been blurred!]
hightower2 has joined #haiku
dpirate has quit [Remote host closed the connection]
dpirate has joined #haiku
<B2IA> (nintendo1889) any former be devs working on haiku?
dpirate_ has joined #haiku
<PulkoMandy> Not currently and actively
HaikuUser has joined #haiku
HaikuUser has quit []
dpirate has quit [Ping timeout: 480 seconds]
<B2IA> (nintendo1889) have any ever worked on it besides travis? I guess they all had NDA's when they left
Begasus has joined #haiku
<nosycat> o/
xet7 has quit [Quit: Leaving]
<B2IA> (nintendo1889) nosy, what was the culture at be like?
gouchi has joined #haiku
<PulkoMandy> NDAs? They opensourced what they could and carried some of it over to their next employers
<PulkoMandy> That's how Android got Binder, which was originally an experiment from Be and later Palm
bjorkintosh has quit [Quit: Leaving]
bjorkintosh has joined #haiku
Begasus has quit [Remote host closed the connection]
<x512[m]> I wonder why Binder was made instead of extending existing scripting.
Begasus has joined #haiku
<x512[m]> With Binder they remade almost all BeAPI from scratch.
michel has joined #haiku
vdamewood has quit [Quit: Life beckons.]
<B2IA> (nintendo1889) cool. Someday when haiku rules the world, we will make a proper documentary about beos & haiku development. I read the att hobbit wiki article yesterday. It reminded me of riscv and how awesome it will be to have a 32 cpu riscv system someday.
<B2IA> (nintendo1889) It gave me hope for the future of computers. Just wanted to say thanks for such a great system. I know it's a labor of love.
michel has quit [Quit: Vision[]: i've been blurred!]
<PulkoMandy> X512: the goal of Binder was to avoid having to write MessageReceived with big switch/case and instead have something directly calling methods. Back then CORBA was very popular and this looked like the future, and so they had a try at it
<x512[m]> MessageReceived switch can be autogenerated.
<x512[m]> The problem with scripting is a lack of ownership management (reference counting etc.), but I think it can be fixed.
<nosycat> That's funny, I was just reading recently how MacOS Classic worked exactly like that.
<nosycat> Apps had a big loop with a switch, like in SDL.
<nosycat> Or Yab.
<PulkoMandy> It can be generated but even having to subclass everything just to add a few things to MessageReceived is annoying. And also that you can send messages to only one place (StartWatching/;endNotices solves this already, but it add one more layer to the thing)
FreeFull has joined #haiku
<x512[m]> I just think that it is better to extend existing API instead rewriting everything from scratch.
<x512[m]> Do we really need to rewrite all API for Bindler like Be did?
<x512[m]> > And also that you can send messages to only one place
<x512[m]> You can subscribe for receiving messages.
nosycat has quit [Quit: Leaving]
DragonMaus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
dcatt has joined #haiku
DragonMaus has joined #haiku
<PulkoMandy> With modern C++ we have a lot more options. It would be nice to be able to directly set a lambda to handle clicks on a button, instead of having to define a message constant, make sure it is sent to the looper/handler where you want to handle it, getting the message in a switch/case, extracting the data from the message to convert it into c++ variables or function arguments
<PulkoMandy> Rather than code generation I would try doing it with a new API, possibly using the same BMessage based protocol so it can interoperate with existing code
<PulkoMandy> But in BeOS days I can see why they would dare to drop compatibility, especially if this was for BeIA or some other of the late projects they tried
<phschafft> I mean you could just register a on-click callback.
<phschafft> which would get a random ID assigned or something.
<x512[m]> PulkoMandy: It is possible to add generic message handled in BHandler/BLooper that will execute function pointer.
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<x512[m]> Code generation seems required for inter-process RPC.
<x512[m]> You can't just call a function pointer in another team.
<Begasus> heading down, g'night peeps!
Begasus has quit [Quit: Leaving]
<PulkoMandy> Well, Binder does it, so does Corba. But it works the other way around: you subscribe to some event in another team, and when the event happens, you receive a notification and that calls your method
<PulkoMandy> If you do things in this publish-subscribe way, and with more standardized messages so you can automate extracting their contents into things you can pass as function parameterr, no code generation is needed
<PulkoMandy> It's an interesting approach if there are no compatibility constraints, but also this trend didn't really live past the 90s or early 2000s so surely it didn't quite work?
<x512[m]> Definition contents extraction can already be automated with get scripting suite request.
HaikuUser has joined #haiku
HaikuUser has quit []
dcatt has quit [Quit: Vision[]: i've been blurred!]
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
mmu_man has quit [Ping timeout: 480 seconds]
MrSteelRat has quit [Quit: Vision[]: i've been blurred!]
jmairboeck has quit [Quit: Konversation terminated!]
mmu_man has joined #haiku
tuaris has joined #haiku
xet7 has joined #haiku
gouchi has quit [Remote host closed the connection]
xet7 has quit [Remote host closed the connection]
xet7 has joined #haiku
<andreasdr[m]> Good morning.
BrunoSpr has joined #haiku
<BrunoSpr> hello all
BrunoSpr has quit []
<andreasdr[m]> Hi BrunoSpr
<andreasdr[m]> Any news in Haiku universum?
BrunoSpr has joined #haiku
BrunoSpr has quit []
BrunoSpr has joined #haiku
AlienSoldier has joined #haiku
zdykstra has quit [Read error: Connection reset by peer]
<BrunoSpr> hello all
Maylay has quit [Ping timeout: 480 seconds]
Maylay has joined #haiku
Blendie has quit [Quit: Connection closed for inactivity]
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
hackkitten has quit [Ping timeout: 480 seconds]