Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
shodan45 has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
janking has joined #haiku
janking has quit []
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
dqk_ has quit [Ping timeout: 480 seconds]
Nasina has joined #haiku
AlaskanEmi has joined #haiku
* phschafft
checks the cookie bowl.
dqk has joined #haiku
<Begasus[m]>
morning peeps
<phschafft>
morning to you :)
<Begasus[m]>
Hi there Mr phschafft :)
<phschafft>
all good?
<Begasus[m]>
yeah, morning coffee should be ready by now, so almost ready to start
<Begasus[m]>
how's it over there?
Halian| has joined #haiku
Halian has quit [Ping timeout: 480 seconds]
<phschafft>
working a little on my thumbnail server/generator.
<phschafft>
that is before I need to hit the road.
OscarL has joined #haiku
<Begasus[m]>
Hola OscarL
<Begasus[m]>
first build up and running :)
<OscarL>
Buen día Begasus[m] :-)
<OscarL>
just waking up here (2 AM, LOL)
<Begasus[m]>
got my new assistant running yesterday (llama.cpp) :D
<OscarL>
saw the screenshot :-)
<Begasus[m]>
now I know it works I need to find out how i can use it with alpaka
<Begasus[m]>
next I'll throw it a build error and let it fix it for me :P
<OscarL>
Being from a region with actual llamas/guanacos/vicuñas/alpacas.. the use of those names in the context of AI... is puzzling :-D
<Begasus[m]>
I didn't invent it :p
<Begasus[m]>
sphinx 7.2.6 requires sphinxcontrib-serializinghtml>=1.1.9, but you have sphinxcontrib-serializinghtml 1.1.5 which is incompatible.
* Begasus[m]
/me pokes OscarL :)
<OscarL>
I think all (?) of those sphinxcontrib-* packages are just handled by upstream sphinx, so they might need to be updated all at once.
<OscarL>
(to be safe)
<Begasus[m]>
probably
<Begasus[m]>
but it looks like sphinx itself is fine? ... also, I hate having $portName in a recipe, can't copy paste that :P
<OscarL>
I think external "theme" and/or extension packages exists, but the ones that we package... seem to be all from upstream, no?
<OscarL>
I don't see what the issue is with using $portName for recipes that are "any". What am I missing?
<Begasus[m]>
should all be from pypi (haven't fiddled a long time there) :)
<Begasus[m]>
hp $portName doesn't work :P
<OscarL>
mmm, didn't we used to have haikuporter completion working?
<OscarL>
not sure if I misconfigured something, or just haven't set it up yet :-)
<Begasus[m]>
nah, not working here
<OscarL>
mmm, then I may be remembering one of my half-assed attempt to adding that.
<OscarL>
haikuporter itself is still too slow to use it for autocompletions.
<OscarL>
even my ssh bash sessions were slow as hell... just because I used to call `haikuporter -t` to set some variable :-D
<OscarL>
*startup time was slow, I mean.
<Begasus[m]>
fix it? ;)
<OscarL>
I just replaced that call by: $(grep TREE_PATH ~/config/settings/haikuports.conf | tr -d '"')
<OscarL>
:-D
<OscarL>
yesterday I've tested running "haikuporter --lint" with "optimized" Python 3.10, vs unoptimized Python 3.14.
<OscarL>
times were about 8m40s vs 9m50s.
<OscarL>
so optimizations do help a bit (at least on those longer runs).
<Begasus[m]>
haven't played around on those
<Begasus[m]>
much*
<OscarL>
not exactly "apples to apples" (using different versions). but... I'm lazy. Will build 3.14 with opt and LTO as soon as alpha6 appears.
<OscarL>
I'd like to move to "python3.xx" + "python3.xx_default" packages. Problem is... I have no clue how to make the transition for current users that only have installed python3.10 (would need for python3.10_default to get automatically installed *once*).
<OscarL>
Mmm, looking at how openjdk does/did it...
<Begasus[m]>
whoot
<Begasus[m]>
that's a beast :)
<Begasus[m]>
even looking at the recipe I'm lost :P
<OscarL>
Seems they ("_default" packages) first introduced it on openjdk8.... and they added a "REPLACES_default=openjdk".
<OscarL>
mmm won't work for python3.10 :-(
<OscarL>
while "openjdk8_default" replaced "openjdk"... it depends on "openjdk8" (makes sense).
<OscarL>
but on Python land that would mean something like:
<OscarL>
python3.10_default with "REPLACES_default=python3.10", while at the same time "REQUIRES_default=python3.10"... which I *really* doubt would work :-D
<Begasus[m]>
this is getting complicated :P
<OscarL>
Only thing I can thing of is... bump python3.10 revision... and make it depend on python3.10_default.
<OscarL>
s/thing/think/ (on the second thing :-P)
<OscarL>
(with that particular "python3.10_default" revison NOT REQUIRING python3.10 on this "transitional" revision).
<Begasus[m]>
my brain isn't functional enough atm to get a grip on all of this :D
<OscarL>
yea, I'm not sure it would work either way. Oh well.
<OscarL>
trying to debug mandoc already fried most of my remaining brain cells :-/
<Begasus[m]>
how do they say it, don't fix what isn't broken? ;)
<OscarL>
but things *are* broken (my brain included :-D)
* Begasus[m]
isn't going to be tricked into mandoc's pit
<Begasus[m]>
:P
<OscarL>
nah... leave mandoc alone. Unless you're "assistant" can debug weird C issues :-)
<OscarL>
s/you're/your/
<Begasus[m]>
should feed it the error on the haikuplugins for Qt 6.8.2 :P who knows lol
<Begasus[m]>
for the 6.9.0 beta even more errors there :P
<andreasdr[m]>
Hi there.
<Begasus[m]>
Arrr andreasdr
<andreasdr[m]>
Hi Begasus.
<andreasdr[m]>
Arrrrrrrr
Halian| has quit [Quit: I'll be back.]
janking has joined #haiku
<OscarL>
if korli thought that my last change was bike-shedding, he might not like my next one :-P
<janking>
good morning to all :)
<OscarL>
hello there janking.
<janking>
:)
<Begasus[m]>
Hi there janking
<janking>
:)
<erysdren>
hi
rnelson has joined #haiku
<Begasus[m]>
hi erysdren (@erysdren:matrix.org)
pvalue has joined #haiku
mmu_man has joined #haiku
janking has quit [Quit: Vision[]: i've been blurred!]
janking has joined #haiku
DragonMaus has joined #haiku
janking has quit []
pvalue has quit [Quit: Vision[]: i've been blurred!]
<OscarL>
mmm, wanted to write a small script to find which of our python packages are out-of-date... turns out to require downloading JSON data that can be *fat* for some projects (482 KB for Django) :-/
<OscarL>
a suggestion to pypi to add a "https://pypi.org/pypi/<package_name>/latest/json" endpoint was made in 2018... still not implemented.
janking has joined #haiku
<OscarL>
some of ProcessController's variable names are... not ideal. what's a "cadre" and a "grenze"? "context" and "border"?
<Begasus[m]>
by the time you finish it's outdated again :P
<OscarL>
:-D. Even so... given that we already seem to have 243 packages... seems like writting a script might save sometime anyway :-)
mmu_man has quit [Ping timeout: 480 seconds]
<Begasus[m]>
true, hence I updated diver script to bump the KDE frameworks for this :)
duncsauce has joined #haiku
AlaskanEmily has quit [Remote host closed the connection]
<Begasus[m]>
whoot, got a thumbup from DaaT on the FOSSDEM post at LinkdIn :)
<OscarL>
Begasus[m]: ask him for his sheep to also give you a thumbs up! :-P
<Begasus[m]>
lol
<Begasus[m]>
some familiar names still in there :) just saw Chris Simmons passing by ;)
janking has quit [Quit: Vision[]: i've been blurred!]
erysdren has quit [Quit: Konversation terminated!]
<OscarL>
"yt-dlp -f160+249-drc <youtube video url>"... Nice format combination for videos that you're most likely to leave playing in the background... gives me a ~30 minutes video in under 16 MiB :-)
<OscarL>
still funny that I have to download it with Haiku, and play it with Windows (audio not working on beta5 for me).
<Begasus[m]>
neat :P
janking has joined #haiku
<Begasus[m]>
biab
mmu_man has joined #haiku
JakeSays has quit [Server closed connection]
JakeSays has joined #haiku
<OscarL>
have a good one, everyone!
OscarL has quit [Quit: Gone with the wind]
Anarchos has joined #haiku
janking has quit [Quit: Vision[]: i've been blurred!]
<Anarchos>
hello
frkzoid has quit [Server closed connection]
frkzoid has joined #haiku
smalltalkman__ has quit [Server closed connection]
smalltalkman__ has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
nexus6 has joined #haiku
<nexus6>
Sorry for the silly question. I'm trying to update the numpy package to 2.2.3 but invoking haikuporter I don't get the numpy_python310. In fact, installing the hpkg produced, pip still lists 2.2.1. What am I missing?
Nasina has quit [Read error: Connection reset by peer]
<Begasus[m]>
nexus6: , installed the numpy_python310-2.2.1-1-x86_64.hpkg package?
<Begasus[m]>
ah :)
<Begasus[m]>
maybe an error in the recipe name, no error when the build starts that 2.2.3 is broken?
<Begasus[m]>
maybe missing patchset?
mmu_man has joined #haiku
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
<nexus6>
I think that's solved, I forgot to uninstall the previous package. I did that for one main reason, both chromadb and faiss-cpu insist on installing numpy-2.2.3 but even after bulding and installing it locally, they keep getting numpy-2.2.3 whose build fails, of course
<Begasus[m]>
I think OscarL mentioned something about it
<nexus6>
it is quite annoying, I built FAISS from source and installed its Python binding. And that's ok. But I don't understand why faiss-cpu fails with pip
<nexus6>
oh well, I know why. I mean, idk why it keeps downloading and building numpy. all the times
<nexus6>
maybe this is one of the cases where we need to package and distribute it via the depot
<Begasus[m]>
don't think I've ever touched that
<Begasus[m]>
and haven't touched numpy for a while (aside from checking last PR on it)
<nexus6>
on a tengential topic... I installed Jupyter on Haiku, if there's anyone interested in tinkering with ML, LLM and Python - https://0x0.st/8uKl.png
<nexus6>
great! I wen a bit further and managed to finally install almost anything I'd need to work on LLM-based agent: openai, langchain, langchain-openai, langchain-community, faiss and Jupyter.
<nephele>
good day nexus6 :)
<nexus6>
Hi Nephele!
<nexus6>
I have also run a few examples to create an embedding via llama-cpp, store it in faiss and retrieve it with another model but still on locally with llama-cpp
<nephele>
zardshard: any tips on how i can run webkit tests, as in specific ones? :)=
<nexus6>
I'd like to give MariaDB a shot, the version on the depot has a new similarity search function implemented along with an internal vector store
<Begasus[m]>
hi nephele
<nephele>
what's up Begasus[m]
<Begasus[m]>
not much nephele
<Begasus[m]>
a bit out of big challenges (in my area) :)
<nexus6>
I have one!!! Package FAISS :D
<nephele>
I really just one want a CAD i don't hate :P
<nephele>
I have not tried that native one that popped up on the forum recently
<Begasus[m]>
got a bit further with kicad, but still nogo :)
<nephele>
it works on haiku. I used it too. From the ones i tried this one suits my way of working best, but it doesn't work great
<Begasus[m]>
I think there's probably more involved then that knowing pything pithole nexus6 :)
HaikuUser has joined #haiku
<nexus6>
I tried ;)
<Begasus[m]>
it's a bit like with python packages nephele , most can easely be installed over Terminal
<Begasus[m]>
just grab the source and launch the jar file
<nexus6>
I think I'll do that by myself unless there's a way to install it via pip. If OscarL or coolcoder613 are around they may have hint or two
<Begasus[m]>
faiss is the only one you're missing? maybe I could have a look at it :)
<zardshard>
nephele: I never ran the WebKit tests. Just winged it! :P
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
<nephele>
zardshard: >:(
<nexus6>
I have two alternative FAISS and ChromaDB, both show the same behaviour. But FAISS is easier, it compiles without a glitch on my PC
<nephele>
I need to finish a test for upstreaming a patch
<nephele>
once i have done that, my iPhone will stop blinding me
<nephele>
and neither will haikuwebkit ;)
<nexus6>
the point is that faiss repo includes both the native library (faiss.so or faiss_avx2.so) and the Python bindings. I'm very bad with haikuports, never dove into it really
<Begasus[m]>
having it build in Terminal is always my first step before I start to tackle a recipe for it
<Begasus[m]>
lol first one already: Compiler requires the CUDA toolkit. Please set the CUDAToolkit_ROOT
Nasina has joined #haiku
<nephele>
i have like three haiku pcs on my desk right now
<nephele>
that seems like too many
<nexus6>
I've already built it, it's a piece of cake. FAISS can be built to support CPU only with AVX2
<nexus6>
the library itself does not require any patch just a few cmake params. I don't know how to package it along with the python bindings
<Begasus[m]>
GPU disable
<Begasus[m]>
can't you install in ~/config/non-packaged?
<Begasus[m]>
was so bored this morning I even tried KMail again :P
HaikuUser has joined #haiku
Nasina has quit [Ping timeout: 480 seconds]
HaikuUser has quit []
<nexus6>
it works already, I need some suggestion on how to create the recipe. Do you know any library on the depot which has the python bindings in the same repo?
<nephele>
nexus6: what problems do you have with the recipe?
<nephele>
you "only" need to put files in the relative root of the package tree
<Begasus[m]>
not doing the recipe yet, first build and install in a DESTDIR to see what I'm up against
<Begasus[m]>
might as well disable the tests, failure there
<nexus6>
nephele: the problem is that I have never done one :D I'm figuring out how but the main thing is that FAISS has the library itself and the python bindings in the same repo, idk much about packaging a python library with haikuporter and if I can produce both the library the the python bindings in one go
<nexus6>
it creates the wheel and install it. The step before is tricky, it requires swig but for me compiled just fine
Nasina has joined #haiku
<nexus6>
to summarize: cmake configures the build with the parameter above. then you run make twice, one for the C++ library the second for the Python binding (with swig). The third step is about installing the wheel
<Begasus[m]>
thanks, forgot it needed the extra step :)
<Begasus[m]>
k, installs default to /boot/system/non-packaged/lib/python3.10/site-packages
<Begasus[m]>
that should be do-able in a recipe like it's done with the other python recipes
<Begasus[m]>
need to make sure I don't install too much in there :P
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #haiku
<Begasus[m]>
no gentoo package it seems
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
bbjimmy has joined #haiku
<Begasus[m]>
k, let's see to build/package the base one
Nasina has quit [Read error: Connection reset by peer]
<nephele>
huh... 32bit boots on this device, but 64bit doesn't... but the 64bit doesn't even write the "32bit required" message. hmm
<nephele>
is this machine even 64bit
<Begasus[m]>
bugger, forgot to add $cmakeDirArgs ...
nephele has quit [Quit: Vision[]: i've been blurred!]
<Begasus[m]>
k, that's the base: grabbing faiss-1.10.0-1-x86_64.hpkg and moving it to /Opslag/haikuports/packages/faiss-1.10.0-1-x86_64.hpkg
Nasina has joined #haiku
nephele has joined #haiku
<nephele>
Okay. So. Can we prepend a message to the zip file, telling you to extract it before booting? :-.
<nephele>
waddlesplash: fix works
<waddlesplash>
:)
Nasina has quit [Read error: Connection reset by peer]
diver has quit [Quit: Leaving.]
<Begasus[m]>
nexus6: save this as faiss-1.10.0.recipe in dev-libs and try? https://bpa.st/6AFQ
<Begasus[m]>
heading out for a bit
<Begasus[m]>
python variables probably need to be set, but so far it packages OK here
diver has joined #haiku
Nasina has joined #haiku
Nasina has quit [Read error: Connection reset by peer]
<Begasus[m]>
ImportError: Missing library
<Begasus[m]>
... one for OscarL I guess :)
<Begasus[m]>
bbl
HaikuUser has joined #haiku
HaikuUser has quit []
<nephele>
the OS doesn't give any errors when a fat32 partition fails to mount .-. ouch. It just mounts it RO despite clicking RW. Only in the syslog does it mention that
<nephele>
though quite wierd that a *new* fat32 partition is supposed to be defectiver
OscarL has joined #haiku
<OscarL>
Here for just a second (not enough data, and already going to bed :-D).
<nephele>
"possible sector count overflow"
<nephele>
not sure what that means
<zdykstra>
hey hey OscarL
<OscarL>
nexus6, Begasus[m]: For recipes that do lib + python keybindings, you can take a look at the "unicorn" .recipe for example.
<OscarL>
Hello zdykstra :-)
<OscarL>
nexus6, Begasus[m]: notice the "installLocation=$prefix/lib/python$pythonVersion/vendor-packages/", the exports. and the "--prefix=$prefix" on the "python setup.py build install" line.
<OscarL>
Hope it helps. I'll probably be back at some unholy hour.
<OscarL>
Have a good one folks!
OscarL has quit []
<nephele>
What to do about unhandled ioctls? how is that even a thing?