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
vdamewood has quit [Quit: Life beckons.]
bjorkintosh has quit [Quit: Leaving]
bbjimmy_64 has joined #haiku
Maturi0n has joined #haiku
Maturi0n_ has quit [Ping timeout: 480 seconds]
mmadia has joined #haiku
<mmadia> so uh, has anyone played with ChatGPT for coding purposes in Haiku?
<erysdren> lol
<mmadia> because it definitely knows about Haiku, it's API and stuff.
<erysdren> just seems like a waste of time to me
<zdykstra> mmadia: does that compile and work?
<mmadia> the terminal stuff, definitely not. a lot of the filenames aren't accurate. i didn't try the first example as i've trouble running chatgpt in falkon (or whatever that browser is called)
<mmadia> i'm interested in trying to setup a linux box with autogpt and a haiku box, for it to ssh into and doing coding tests.
<mmadia> right now, its a wisp of a pipe dream though. :-)
mmu_man has quit [Ping timeout: 480 seconds]
Forza has joined #haiku
<erysdren> i compiled a haiku application with the cross-tools from linux
<erysdren> for some reason, they won't launch on my haiku VM
<erysdren> "could not open 'gears' with application 'gears' (Not an executable)."
<erysdren> trying to compile this, with cmake:
<erysdren> my toolchain file:
<mmadia> have you tried force identifying the file in haiku? maybe its attributes arent set properly since being cross compiled?
<erysdren> how do i do that?
<erysdren> Haiku's info window says it's a Be application
<mmadia> SHIFT+right-click the file, i think.
<erysdren> hang on, i think i'm stupid
<mmadia> ... we all have our moments
<erysdren> yep, my bad
<erysdren> sec
<erysdren> thought i was booting the 64 bit version, turns out i was booting the 32 bit version
<erysdren> its a 64 bit application, so of course it doesn't work
<waddlesplash> wow, it's mmadia!
<waddlesplash> "now that's a name I haven't heard in a long time"
<erysdren> it's linked against SDL2, and it gives the error that it can't find the SDL2 shared object file
<erysdren> even after installing SDL2 through haikuepot
<erysdren> haikudepot*
<mmadia> hi waddlesplash , long time.
<waddlesplash> erysdren: pkgman install devel:libsdl2
<mmadia> congrats on R1b4 too
<waddlesplash> mmadia: indeed :)
<waddlesplash> and thanks!
<erysdren> my "qmdlview" tool running in Haiku
<erysdren> (under VM)
mmadia has quit [Quit: Page closed]
erysdren has quit [Quit: Konversation terminated!]
erysdren has joined #haiku
oldkenobi has quit [Quit: ...]
<erysdren> my qmdlview tool running in x86 haiku on bare mteal
<erysdren> metal*
<erysdren> it breaks on window resiz
Diver has joined #haiku
diver1 has joined #haiku
Diver is now known as Guest894
diver1 is now known as Diver
Begasus has joined #haiku
<Begasus> g'morning peeps
Begas_VM has joined #haiku
Guest894 has quit [Ping timeout: 480 seconds]
<erysdren> good morning
<Begas_VM> good morning erysdren
<erysdren> i wonder if tinyfiledialogs could be forked or modified to support haiku
<erysdren> probably not, since the Haiku API is all C++ and tfd is supposed to be strictly C
<erysdren> i think
diver1 has joined #haiku
Diver is now known as Guest899
diver1 is now known as Diver
Guest899 has quit [Ping timeout: 480 seconds]
tqh has joined #haiku
<botifico-c849d97b> [haiku/website] pulkomandy pushed 1 commit to master [+1/-0/±0] https://github.com/haiku/website/compare/c8d4803d30a8...018703115f6b
<botifico-c849d97b> [haiku/website] trungnt2910 0187031 - blog/trungnt2910: .NET port progress 1
AlaskanEmily has quit [Remote host closed the connection]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
Blendie has joined #haiku
Forza has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Forza has joined #haiku
OscarL has joined #haiku
<jezek2> erysdren: you can access C++ from plain C without much problems, extending of classes is a bit hacky (copying and patching of vtables) but works well
<jezek2> I use that approach in my cross-platform GUI library to support haiku (and similarly I use ObjC low-level API on MacOS to avoid Objective-C)
HaikuUser has joined #haiku
HaikuUser is now known as nephele_
HaikuUser has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
phoenix has quit [Quit: gone fishing]
phoenix has joined #haiku
Begasus has quit [Quit: Leaving]
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
HaikuUser has quit []
mmu_man has joined #haiku
jmairboeck has joined #haiku
tqh has quit [Remote host closed the connection]
vdamewood has joined #haiku
nephele_ has quit [Quit: Vision[]: i've been blurred!]
kinkinkijkin has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
Begasus has joined #haiku
<Begasus> re
Begas_VM has joined #haiku
<Begasus> OscarL, did you try to build a newer version for Cutter with rizin?
<Begasus> so far I haven't been able to let cutter pick up rizin :/
<OscarL> Hi Begasus. No, I haven't touched cutter. I kept rizin on the same version, just to be safe, and to avoid possible newer dependencies (already getting tired, and didn't wanted to mess up things too much :-D)
<Begasus> ok :)
<Begasus> but has been a while again
<OscarL> might be in part because the cutter recipe already uses 3.9?
<OscarL> (and you have 3.7 there?)
tqh has joined #haiku
<OscarL> Just thinking out loud. No idea really :-D
<OscarL> besides a possible version missmatch, of course. Maybe that "subprojects_check=false" helps? (one can dream :-P)
<OscarL> Begasus: just in case, all my recent PRs were made/tested on 32 bits.
<OscarL> (except for dblatex, that's untested)
<Begasus> ok, I know who to blame then :)
<OscarL> :)
<Begasus> ps, in the recipe there is rizin 0.5.1
<Begasus> ah :)
<Begasus> yeah nice catch
<jmairboeck> OscarL: I can test dblatex if you want (on 64 bit)
<OscarL> jmairboeck: that would be nice, thanks!
floof58 has quit [Read error: Connection reset by peer]
<Begasus> I could do one on 32bit (after assimp finishes)
floof58 has joined #haiku
<OscarL> today I had a build failing... due to lack of free space on the drive.... I doubt I could handle tex any time soon :-D
<Begas_VM> heh
<Begas_VM> llmv9 seems to be ok here, kdevelop had no problems with it during build
<Begas_VM> so I guess I'll merge that one later today
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/a329ef6cbf87...0204c912144f
<botifico-c849d97b> [haikuports/haikuports] OscarL 0204c91 - rizin: switch to Python 3.9 (#8704)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/0204c912144f...ac9b1b6ee506
<botifico-c849d97b> [haikuports/haikuports] OscarL ac9b1b6 - spice: switch to Python 3.9 (#8703)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/ac9b1b6ee506...d71460b2ed55
<botifico-c849d97b> [haikuports/haikuports] OscarL d71460b - cegui: switch to Python 3.9 (#8701)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/d71460b2ed55...44e22950d3b1
<botifico-c849d97b> [haikuports/haikuports] OscarL 44e2295 - thepowdertoy: update to version 97.0.352 (#8700)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+4/-0/±2] https://github.com/haikuports/haikuports/compare/44e22950d3b1...390bc8f0bcd7
<botifico-c849d97b> [haikuports/haikuports] OscarL 390bc8f - btanks: fix build, move to $appsDir. (#8699)
<Begasus> how's tor OscarL ?
<OscarL> damn rizin had me scratching my head with meson complaining about "no machine compiler for 'xxx'" errors :-/
<OscarL> Tor seems to work fine on 64 bits. (and didn't explode on 32)
<Begasus> k, let's merge and see if anythin pops up with an issue
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+3/-2/±0] https://github.com/haikuports/haikuports/compare/390bc8f0bcd7...7d44f0eb449d
<botifico-c849d97b> [haikuports/haikuports] OscarL 7d44f0e - tor: update to version 0.4.7.13 (#8696)
<Begasus> list in the reports on 64bit is small :)
<OscarL> yup!
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
<OscarL> damn fife-0.4.0 uses Python 2.x
<Begas_VM> tried to build fife, but ran into problems on 32bit
<OscarL> So add that to the boost issue :-D
bbjimmy has joined #haiku
<Begas_VM> almost 15MiB for the latest version there (source)
<Begas_VM> current one is almost 40MiB
<OscarL> tried updating "mozc"... 42 mb tarball... several hundred mb unpacked :-(
<OscarL> and seems there's either a problem with one of the data files, or newer Python changed something, and bails out complaing of some invalid unicode data. :-(
<OscarL> Will try with Python 3.7 (original recipe) to see what's what (but not today).
<OscarL> rizin failed on 64 bits :-/
<OscarL> that's odd.
<OscarL> mmm, and btanks failed on 32? what?
<Begas_VM> dblatex build is ok
<Begasus> eeps, tree-sitter again ...
<OscarL> Will recheck the failing builds (the 32 bits one first)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/7d44f0eb449d...4d8f82fa4b67
<botifico-c849d97b> [haikuports/haikuports] OscarL 4d8f82f - dblatex: switch to Python 3.9 (#8702)
HaikuUser has joined #haiku
<OscarL> btanks failing is puzzling. I had to patch that specific line to make it build, and both buildmaster and I are using lua 5.3.
<OscarL> mmm, now I saw a "lua 5.1" fly by in Terminal ?!?! sigh...
<Begasus> set >= 5.3 for the devel requirement?
<OscarL> and revert the last patch I've added, yeah.
<Begasus> which devel package do you have installed? should be only one present for lua
<OscarL> "s lua5.1_x86_devel" on this one (and the lua_jit I added later).
<OscarL> I've started fixing btanks on 64 bits, and then switched to 32... seems I tripped there :-/
<OscarL> k. at least we now it works with lua5.1 :-P (build finished ok here again)
<Begasus> it's older source, so probably needs 5.1 :)
<Begasus> rizin failed on 32bit too
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
<OscarL> at least it's the same error :-P
<Begas_VM> checking rizin 0.5.2
<OscarL> keeps reinstalling lua5.1 here... sigh...
<Begas_VM> ? bzflag?
<Begas_VM> rizin build launches ok here
<Begas_VM> biab, food :)
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
<OscarL> seems btanks originally expected lua 5.1, one of the patches from korli was on that line to make it work wit 5.3, and I had to revert it (thinking I was fixing it for 5.3), due to getting 5.1 pulled in here for some reason.
<OscarL> k, btanks fixed. (/me crosses fingers)
<OscarL> no idea what's the issue with rizin. Build works here.
<OscarL> damn rizing using git to get files in the background :-/ (sed fails on a clean install with rizin 0.3.4, but works on second run).
<OscarL> better update the damn thing then to > 0.3.4, Begasus.
HaikuUser has joined #haiku
HaikuUser has quit []
oldkenobi has joined #haiku
selfish has quit [Ping timeout: 480 seconds]
illwieckz has quit [Quit: I'll be back!]
illwieckz has joined #haiku
<OscarL> Begasus: Cutter warns that USE_BUNDLED_RIZIN=OFF might fail to compile: https://github.com/rizinorg/cutter/blob/44917603fa48412a0471d2bba9888367ff83bf24/docs/source/building.rst?plain=1#L114
<OscarL> Maybe build cutter with bundled rizin, disable standalone rizin? reversers wanting it without GUI, should be able to manage a simple build on their own using the recipe :-D
vezhlys has joined #haiku
selfish has joined #haiku
illwieckz has quit [Quit: I'll be back!]
illwieckz has joined #haiku
Halamix2 has quit [Quit: ZNC - https://znc.in]
Halamix2 has joined #haiku
selfish has quit [Ping timeout: 480 seconds]
<Begasus> most of the other OS's do the same as we do OscarL
<Begasus> ps, you should be sleeping a long time ago I guess :)
<OscarL> my circadian clock is one of the broken parts on my brain :-/ (14:15 here, and just about to hit the bed, lol)
floof58 is now known as Guest939
floof58 has joined #haiku
jjido has joined #haiku
<jjido> Does Web+ file upload not work in latest nightly?
<Begas_VM> grabbing rizin_x86-0.5.2-1-x86_gcc2.hpkg and moving it to /boot/home/haikuports/packages/rizin_x86-0.5.2-1-x86_gcc2.hpkg
<Begas_VM> so still builds fine here
<OscarL> Begas_VM: nice.
<OscarL> py 3.9?
<Begas_VM> done for today, gonna hit the TV :)
<Begas_VM> yep, python3.9
<OscarL> cool.
<Begas_VM> 0.5.2
<OscarL> Later Begas_VM!!!!
<Begas_VM> cu peeps!
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
<OscarL> jjido: haven't tested, sorry.
Begasus has quit [Quit: Leaving]
<OscarL> but I had some issues with downloads on beta4 (had to revert to wget)
Guest939 has quit [Ping timeout: 480 seconds]
xet7 has quit [Remote host closed the connection]
OscarL has quit [Quit: "zzzZZZzzz"]
AlaskanEmily has joined #haiku
smalltalkman has quit []
thelounge4920776 has joined #haiku
tuaris has joined #haiku
tuaris has quit []
HaikuUser has joined #haiku
HaikuUser has quit []
HaikuUser has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
diver1 has joined #haiku
Diver is now known as Guest945
diver1 is now known as Diver
kinkinkijkin has quit [Quit: Leaving]
Guest945 has quit [Read error: Connection reset by peer]
jjido has quit [Quit: Connection closed for inactivity]
tqh has quit [Remote host closed the connection]
<erysdren> where in the API can i find documentation on opening a file picker / tracker dialog?
<erysdren> to return the path of a file to my program
diver1 has joined #haiku
Diver is now known as Guest948
diver1 is now known as Diver
Guest948 has quit [Ping timeout: 480 seconds]
jmairboeck has quit [Quit: Konversation terminated!]
<erysdren> and i assume there's no way to get that functionality in pure C?
CPYou has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
diver1 has joined #haiku
Diver is now known as Guest952
diver1 is now known as Diver
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
selfish has joined #haiku
Guest952 has quit [Ping timeout: 480 seconds]
<Skipp_OSX> https://www.haiku-os.org/docs/userguide/en/applications/cli-apps.html <= "filepanel displays a load or save file panel and lets the user choose a file or location. As a return value you'll get the chosen file or folder's path."
<Skipp_OSX> So you could call the filepanel app from your C app, or you could look at the source and see how it does it and copy it (unless it uses too much C++ for you)
<erysdren> C++ itself is fine, but i wanna see if i can add it to something like TinyFileDialogs
<erysdren> which is strictly C
Ampilin has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
<Skipp_OSX> BFilePanel *fPanel = new BFilePanel(fpMode, NULL, NULL, nodeFlavour, allowMultiSelect, NULL, NULL, makeModal); <= Looking at the source in src/bin/filepanel.cpp the secret sauce is this, you create a BFilePanel be_app and run it.
<erysdren> got it
<erysdren> looking at filepanel.cpp, i don't exactly understand how it's meant to return the path to the file
<erysdren> unless that's handled in BFilePanel
Ampilin has quit [Quit: Vision[]: i've been blurred!]
vdamewood has quit [Quit: Life beckons.]
vezhlys has quit [Quit: Leaving]
<erysdren> oh i see
CPYou has quit [Ping timeout: 480 seconds]
<erysdren> got it working using popen in my C program, but fopen won't work with the resulting file string for some reason
<erysdren> i can see that the resulting string is a valid path to the file
<erysdren> but fopen won't take it for some reason
<PulkoMandy> Which error does it return?
<erysdren> i haven't checked errno yet, but fopen is just returning NULL
<erysdren> my null check shows the path of the file it tried to open, and it's a valid path
Diver has quit [Quit: Leaving.]
jaycie has joined #haiku
jaycie has quit []
erysdren has quit [Ping timeout: 480 seconds]
erysdren has joined #haiku
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku