<nekobot>
[haiku/haiku] c2f017dd255e - platform/efi/riscv64: Drop extra SetSatp before jumping into kernel
<OscarL>
Mmm, I'm always *really* suspicious when my code changes compile OK on the first try. Half expecting a KDL when I try the binary :-/
<OscarL>
No KDL and everything seems to work? Spooky!
<zdykstra>
somewhere in an alternate universe, a Haiku system just crashed
smalltalkman has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
<waddlesplash>
zdykstra: lots of USB HID devices report multiple keyboards for random rasons
<waddlesplash>
there are tickets about trying to deal with this, yes
<OscarL>
zdykstra: most certainly :-D
AlaskanEmily has joined #haiku
<OscarL>
Is strictly necessary (or preferable?) to call .String() when passing a BString to a method that accepts "const char*" ?
<OscarL>
I ask because I'm seeing (in the same file) code that uses both forms (calling that, or just passing the BString), and I would prefer to make my changes be consistent with "The Right Way" (TM).
<OscarL>
(first uses .String(), the latter doesn't)
* OscarL
wishes he was from an alternate universe where he wouldn't need to ask such basic questions :-/
<OscarL>
I guess it is obviously not "strictly necessary" (seeing the above works, and BString has an "operator const char*() const"). Still, is one preferred over the other?
Habbie has quit [Ping timeout: 480 seconds]
Maturi0n has joined #haiku
Habbie has joined #haiku
Maturi0n_ has quit [Ping timeout: 480 seconds]
<OscarL>
I'm torn between "explicit is better than implicit" (going for .String()), and the succinctness of the operator :-D
<win8linux[m]>
This may potentially affect how ported Qt-based apps look in Haiku.
<win8linux[m]>
This also covers Qt applications using QML/Kirigami (e.g. NeoChat), which at the moment don't look as well-integrated as those using QtWidgets.
<win8linux[m]>
nephele: Part of this discussion involves handling colour schemes and dark modes. Would this be relevant to your work on a Haiku dark mode?
<nekobot>
[haiku/haiku] 5292bd2993f2 - ActivityMonitor: Adjust last commit for style.
<Habbie>
nosycat, perhaps you know this - is Qt telling Haiku to render Haiku UI elements? or is this a faithful copy of Haiku elements in Qt5?
<waddlesplash>
there is a QHaikuStyle which uses BControlLook to render the UI elements
<nosycat>
I didn't know that. So basically it asks the OS how it's supposed to look / draw controls?
<nosycat>
In any event it has OS-specific stock icons and keyboard shortcuts.
gouchi has joined #haiku
OscarL has joined #haiku
<PulkoMandy>
we provide a "control look" class that can draw various parts of controls on a BView, and the Qt port has a special ahiku "style" to make use of that code
<PulkoMandy>
for icons it is handled separately, the icons are converted to SVG(normally in haiku apps we use HVIF which is a lot more compact) and then packaged in the format and filenames that Qt expects
<nosycat>
Sounds like a lot of work, but so worth it.
<PulkoMandy>
if we were afraid of a lot of work we would not be writing an OS from scratch :D
tuaris has joined #haiku
tuaris has quit [Read error: Connection reset by peer]
tuaris has joined #haiku
MajorBiscuit has quit [Quit: WeeChat 3.6]
jmairboeck has quit [Ping timeout: 480 seconds]
Begasus has joined #haiku
<OscarL>
welcome back Begasus :-)
<nosycat>
o/
<OscarL>
Hola nosycat :)
<OscarL>
Mmm, noticed that the merging of one of my changes caused an already approved (but not yet merged) change proposal, to be marked as "Merge Conflict" (https://review.haiku-os.org/c/haiku/+/6157). Oops!
<Begasus>
Hi OscarL nosycat :)
<OscarL>
Thankfully, it is pretty easy to rebase and resolve the conflict. Albeit... not sure if I should upload an updated patchset for that, or if the original author should do so (bitigchi[m]1 in this case, sorry for getting in the way of your patch! :-D)
<bitigchi[m]1>
OscarL: I will fix it later on
<bitigchi[m]1>
No problem
<bitigchi[m]1>
waddlesplash, can I poke you after rebasing? I have other patches waiting in line fixing similar stuff :)
<waddlesplash>
don't know why I need to be poked in particular, patches submitted to Gerrit get reviewed by anybody
<waddlesplash>
but I suppose so
<Begasus>
Wanted to poke you for the sock PR waddlesplash but I see you merged it :)
<waddlesplash>
indeed
<Begasus>
Hope it does what it is meant to do
<Begasus>
n0toose[m], build is fine here and ddnet_srv launches ok on 32bit, but DDNet itself still crashes, so if it's working fine for you on 64bit just disable 32bit in the recipe for now
shann_ is now known as shann
mmu_man has joined #haiku
<Habbie>
waddlesplash, awesome, and something similar for GTK?
<Habbie>
and somehow wayland or x11 is still in between?
<zdykstra>
I don't think wayland/x11 is in place for QT applications. They've been ported for quite a while now.
<Habbie>
right
<Habbie>
ah, but gtk runs on the wayland or x11 layer?
<zdykstra>
that's how I understand it, yup. An expert can hopefully correct me if I'm wrong :)
mmu_man has quit [Quit: Lost terminal]
nephele has joined #haiku
<Begasus>
wb nephele :)
<nephele>
Thank you begasus
* OscarL
starts building Python 3.7.16, attempting to fix the last remaining known issue with install paths.
<OscarL>
Hope my CPU doesn't melts :-/
<OscarL>
(it's kinda hot down here right now... 39 C)
lkw has joined #haiku
prosy has joined #haiku
<augiedoggie_>
3.7 should just go away :P
<OscarL>
yup! going EOL in 3 months.
<OscarL>
But.. as I need to apply the same little patch to all of the python versions... why not start with the older one :-D
<augiedoggie_>
there are too many python versions in the ports repo, 3.8 should be dropped too
<OscarL>
augiedoggie_: totally agree, I was rooting for 3.10 as default on beta4, sadly I failed to fix the install issues in time (and thankfully, korli stepped up and did 99.9% of the necessary work :-D)
<OscarL>
just trying to do the remaining 0.01% now :-D
lkw has quit [Quit: leaving]
augiedoggie_ is now known as augiedoggie
nephele has quit [Quit: Vision[]: i've been blurred!]
mmu_man has joined #haiku
nephele has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<augiedoggie>
i was using my own custom icon but i was too lazy to submit it upstream :P
<Habbie>
sadly i'm about to install a slightly older refind so i'll have to deal with the old one for a bit
<augiedoggie>
you can use custom icons
<Habbie>
i believe that, but i probably won't :)
<nephele>
You can also just replace the icon with the one pulkomandy submitted :)
<nephele>
in the old version
<augiedoggie>
that's what i was implying
<PulkoMandy>
yes, icons are just installed as png files in the EFI partition so it's easy to replace
DKnoto has quit [Ping timeout: 480 seconds]
<Habbie>
oh i see a dir
nosycat has quit [Quit: Leaving]
AlienSoldier has joined #haiku
DKnoto has joined #haiku
mmu_man has joined #haiku
<OscarL>
Habbie: "Error: Error: Patch file python3.8-3.8.16.patchset is not referenced in PATCHES, so it will not be used" Nice :-D
<Habbie>
:D
<OscarL>
"Error: Error" :P
<Habbie>
oh
<Habbie>
how did you get that?
<OscarL>
I've renamed the patchset, but forgot to update the filename on the recipe
<Habbie>
i mean the double Error:
<Habbie>
or did i just mess up :)
<OscarL>
So I ended up with:
<OscarL>
"Error: Patch file python3.8-3.8.16.patchset is not referenced in PATCHES, so it will not be used"
<OscarL>
and then the message above.
<Habbie>
locally? or in github actions?
<OscarL>
locally.
<Habbie>
ok
<OscarL>
Just wanted to point out that your change worked! (only then I've noticed the "Error: Error" after pasting it here)
<Habbie>
got it :)
<Habbie>
will check the duplication
<Habbie>
ok, so i can boot bios->refind->grub->haiku
<Habbie>
don't know why i'd want that
<Habbie>
but i can!
<nephele>
that sounds overcomplicated and error prone :D
<Habbie>
it was not the goal
<Habbie>
but i added refind last
<Habbie>
i can also boot bios->refind->haiku i trust :)
<nephele>
refind can boot haiku directly, no need to involve grub
<Habbie>
ack
<zdykstra>
assuming you put the haiku loader on your ESP, yeah
<Habbie>
zdykstra, i did, grub needed that to boot haiku too, it seemed
<zdykstra>
everything will need to, since the haiku loader is what speaks bfs
<Habbie>
ack
smalltalkman has quit []
<Habbie>
yes, refind boots haiku fine :)
<Habbie>
the haiku entry in grub has now become useless
* OscarL
shouts: BootManager on MBR for life! (or while he has only BIOS machines, at least)
<Habbie>
:)
<nephele>
grub2 just seems bad wherever it is, if you have efi using gummiboot or efistub is much nicer for linux
<nephele>
(or well systemd-boot is also gummiboot)
<zdykstra>
I used to hate EFI, but after writing a ton of tooling to boot root-on-ZFS I've grown to love it
<Habbie>
i think i want to switch to systemd-boot, yes
<Habbie>
especially now that i have refind
<Habbie>
(or switch to efistub)
<nephele>
i don't have that much experience with systemd-boot, but i have tons of bad experience with grub :D
<Habbie>
need to see what's easy with debian 12
<nephele>
Ubuntu has an efistub kernel by default
<zdykstra>
nephele: GRUB being a dumpster fire is what prompted me to write my own replacement for it :)
<nephele>
the problem is that if you do this you have to manually update the kernel after kernel updates
<nephele>
since you copy it to the ESP
<Habbie>
OscarL, so uhm, do you get Error: Error: *from hp --lint* ?
<nephele>
so systemd-boot may be more reliable if you don't want that extra step
<Habbie>
nephele, ah
<OscarL>
Habbie: just from "hp -b python3.8"
<Habbie>
zdykstra, which replacement is that?
<Habbie>
OscarL, ah -b
<nephele>
zdykstra: Hmm, a grub replacement? for zfs root i've only dabbled in hacking the alpine linux installer once to support this :)
<OscarL>
(I need to add a small patch in there :-D)
<Habbie>
OscarL, ok i see it
<nephele>
I also ported 0ad to alpine linux... but it doesn't seem to be in their repos :D
<Habbie>
OscarL, good news, it's not my fault ;)
<zdykstra>
nephele: zfsbootmenu.org - it's exclusively for root-on-ZFS systems though
<nephele>
Ah... i'll have to read it later
<OscarL>
Habbie: wish I could experience something like that! :-P
<nephele>
no dark mode makes my eyes hurt :/
<zdykstra>
yeah, waiting for sphinx theme to get a patch so I can default to it
<nephele>
you shouldn't need to default anything, a well behaved theme would allow the user to pick which mode is preffered :)
<zdykstra>
default to the theme that respects dark mode
<Habbie>
OscarL, other messages have it too: Error: Error: SUMMARY must start with a capital letter (/boot/home/haikuports/dev-util/pkgdiff/pkgdiff-1.7.2.recipe).
<nephele>
ah, that makes more sense
<nephele>
I wonder if we have any sphinx docs i should update
<nephele>
this is docs/develop in the sourcetree I assume
<nephele>
thansk, i'll check it out :)
<Habbie>
oh, quick question if i may before i consume those docs - can i rebuild, say, the dosfs driver and load it separately? or would this always involve a kernel build and a reboot?
<nephele>
you can blacklist kernel add ons and load them from the non-packaged directory
<nephele>
if it's a big problem for you you can use qemu maybe?
<nephele>
I don't think so no
<Habbie>
it's not a big problem, was just wondering
<PulkoMandy>
there is some runtime loading but not for everything
<PulkoMandy>
basically if you can unplug/replug the device, the driver will be reloaded
<nephele>
OscarL: I'll happily fix such stuff if it's in a ticket ;), i think in this case it may be already
<PulkoMandy>
a more generic thing could probably be added
<Habbie>
PulkoMandy, right, and a bit of debugging printf will tell me in syslog whether i got my new version loaded
<PulkoMandy>
nephele, it looks like Sphinx is considering removing some of the themes from their default release package, so if you update the haiku theme, maybe let them know
<nephele>
I thought we aren't using the haiku theme?
<OscarL>
Habbie: drivers using the legacy-driver API seem to be able to be be (re)loaded no problem, at least on my experience with misc/poke, and while writing drivers for the ITE 87xx SuperIO chips, and for AMD CPU temp sensors.
<Habbie>
ok, neat
<OscarL>
the ones using the newer API, are a bit less convenient :-D
<OscarL>
"I just replaced the driver binary, why does this acts like the previous version?"... "oh... forgot to reboot!" :-/
* OscarL
seems to fall for that on the regular :-D
<Habbie>
i found out why i thought strace didn't get filenames from open() etc.
<Habbie>
-f is fast, not follow forks :D
<zdykstra>
lol
<Habbie>
strace does not like to trace python scripts
<Habbie>
need to explicitly say 'python3 haikuporter/haikuporter'
<nephele>
well, that is that dark mode thing sorted
<nephele>
do you have a second one? otherwise i'll go play sims 1 :D
<OscarL>
re: the docs css... thank you nephele!
<OscarL>
go play :-D
<nephele>
unified diff doesn't work in gerrit in webpositive anymore .-.
<nephele>
thanks :D
nephele has quit [Quit: Vision[]: i've been blurred!]
<AlienSoldier>
found a tracker bug, i can make thing disapear ofscreen. Take a traker window and put it halfway offscreen to the right. expand the "Name" section to send the size offscreen. Slide it back and you will see white emptiness, not redrawing as we are sliding it back.
<AlienSoldier>
The name,size,created etc... work fine, only the content on white disapear.
<Habbie>
OscarL, well, this is special, I have -no clue- where that second Error: comes from
<OscarL>
Spooky :-D
<Habbie>
yes
<OscarL>
AlienSoldier: Also spooky :-D
<OscarL>
I can reproduce it here.
<AlienSoldier>
the amiga OS guys knew you must not venture outside the border of the screen, paranolmal and statue of liberty in the sand is there.
<OscarL>
"statue of liberty in the sand" ah... that's from the original "Planet of the Apes", right? (I think I saw it on a B&W TV)
<zdykstra>
oh man, I haven't seen that movie in years
<AlienSoldier>
more the first adaptation of the novel, but yeas, first movie.
bradsco has quit [Quit: bradsco]
bradsco has joined #haiku
nhtello has joined #haiku
<Habbie>
OscarL, turns out hp might cache errors on disk!
<Habbie>
OscarL, you know, like when you rebuild a module and it doesn't get reloaded.. i changed code and did not see a change :D
<OscarL>
them bugs more insidious than Argentine Ants :-(
<Habbie>
:)
<OscarL>
"real 6m16,590s" to build Python3.8? that's way too fast... Oh... it failed :-/
<Habbie>
:>
<OscarL>
Renamed the python38 to python3.8 for consistency, but forgot to rename it in the PROVIDES, heh.
<OscarL>
Still, VMware is indeed faster than VBox (still slower than QEMU/KVM).
<zdykstra>
what hardware are you running on, OscarL ?
<OscarL>
I finally entered the Quad Core era in Jun 2022... after changing my Athlon II X2 for a Phenom II X4.
<OscarL>
DDR2 @ 800.... kill me now.
<zdykstra>
hey on the plus side, if you had any more cores you'd really feel your memory speed
<Habbie>
lol
<Habbie>
Warning: Found old repository format - repopulating the repository ...
<Habbie>
this can take really long on a slow machine
<OscarL>
zdykstra: this mobo would implode with a Phenom II x6 anyway :-D
HaikuUser has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser has quit []
HaikuUser2 has quit []
<OscarL>
I *almost* bought an AMD 4700S 13 months ago... (was really cheap, specially considering prices here in Argentina). Now... it got WAY too expensive, and is still one of the cheapest alternatives for me.
<OscarL>
Oh well... who needs speed? (/me sniffs)
<zdykstra>
do you have any good resources like eBay? I get a lot of stuff there that's come off of a corporate lease.
<OscarL>
Nah... and the local second-hand market is mostly inexistent. We use things till they are absolutely trash-level.
<OscarL>
"real 6m19,638s" and this time the package was built. nice... around 1:30 faster than on VBox.
<OscarL>
(Maybe more like 1 minute faster, really)
<OscarL>
Someday I'll get me a R5 5600G. For now.... I pretend that I'm a retro-computing hardcore enthusiast :-P
<Habbie>
ohh, surprise Haiku reboot
<zdykstra>
I haven't actually had one of those - what happened?
<Habbie>
i don't know
<Habbie>
it's the second one this week
<Habbie>
haikuports was repopulating the repository
<Habbie>
which it did many times before, this evening
<zdykstra>
then just bam, reboot?
<Habbie>
and suddenly i see rEFInd popping up in the corner of my eye
<OscarL>
Jeez... out of the blue, I was getting really weird results while testing my Python{3.7,3.8} packages... seems like Python was importing a stray "sysconfig.py" I just happen to have lying around since months ago :-(
* OscarL
kicks himself.
gouchi has quit [Remote host closed the connection]
<waddlesplash>
Habbie: uhh, do you have an AMD FX processor
prosy has quit [Quit: Leaving]
<dqk_>
i do have one, the 9590 which needs the biggest motherboard of this generation (an asus rog) to be able to run without problem
<dqk_>
obviously the biggest rad you can find is also needed to tame the beast
<dqk_>
at least you can compile on all 8 cores and double it's use as a space heater, great in winter
<zdykstra>
is netfs basically a haiku-native network filesystem ?
<OscarL>
Would appear so, judging by: "NetFS is a native Haiku network file system that provides peer-to-peer networking capabilities for computers running Haiku on a LAN and includes full support for BFS attributes and live queries."
<PulkoMandy>
Yes
<PulkoMandy>
I mean, what else could "netfs" possibly mean? :>
_Dario_ has joined #haiku
<zdykstra>
it could be a GUI manager for network filesystems in general (samba, nfs)
<PulkoMandy>
Network preferences already can do some of that. Only fusesmb-haiku makes use of it currwntly
<OscarL>
at one point, I thought it was an NFS client (like.. to connect to linux's nfs), but... I'm known to confuse things.
<BarmenduChakraborty[m]>
Hey PulkoMandy , Would you be able to help with some 3rd party stuff?
<PulkoMandy>
Yes, there are two nfs clients in haiku as well
<PulkoMandy>
Not now, it's midnight and I'm going to sleep
<BarmenduChakraborty[m]>
No problems. Have a good night :)