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
<phschafft> what I'm really missing in basically all operating systems is a special syscall you can make, that contains some kind of marker. normally it does nothing. but it can be used to halt or terminate the process if a specific marker is passed.
<phschafft> the idea is that you can use this for debugging. both passive and active.
<augiedoggie> sounds like dtrace or systemtap
<phschafft> does it?
<augiedoggie> i'm not an expert with either one, a lot of times it's used for performance measurements
zard has joined #haiku
<phschafft> naturally all those interfaces are related by code and my ideas. but I think I haven't communicated what I'm looking for clearly.
<phschafft> I'm not looking into anything for performance messuements or something. I'm looking for something that can be used as a marker to demonstate that some point in the code binary was reached.
<augiedoggie> right, you can monitor that with either of them
<augiedoggie> that's one of its uses is to troubleshoot code paths
<phschafft> and how do I add such a marker?
<augiedoggie> its sort of inherent in the operating system
<phschafft> which means?
<augiedoggie> dtrace uses a special pseudo debugging format called CTF to store information in the binaries
<phschafft> so I need special tooling.
<augiedoggie> i don't recall how systemtap works
<phschafft> everything that requires tooling means it cannot be used in production. ;)
<augiedoggie> i guess that depends on what you mean by tooling, the support for it is usually built into the kernel
<phschafft> so I can just add some line in my code and that can be picked up on any system?
<augiedoggie> any system that supports that type of profiling
<augiedoggie> systemtap is linux only, dtrace is everything else
<phschafft> I mean I could add some #ifdef or something.
<augiedoggie> it's been a really long time since i've looked at it but i don't think you need any code changes unless you wanted
<augiedoggie> you can probe all kinds of things with the tools
<phschafft> and how can I mark a place if not by a code change?
<augiedoggie> you can if you wanted
<augiedoggie> i don't recall the method used to create it
<phschafft> I still think that we talk about to completly different problems.
<phschafft> I value your input, but what you suggest seems to be (while surely useful) another part that might be just used on high level debugging.
<augiedoggie> if you just want to conditionally stop execution then why not just call exit() or debugger()?
<phschafft> I generally don't want to stop. I just noted that using those traps as a kind of breakpoint might be a nice extra.
<augiedoggie> isn't that what breakpoints in a debugger do?
<augiedoggie> or you want to be able to do that without debugging information in the binary?
zard has quit [Quit: leaving]
B2IA has quit [Quit: Vision[]: i've been blurred!]
<phschafft> there is no debugging info in production. ;)
B2IA has joined #haiku
<augiedoggie> but you're trying to debug it
<phschafft> that is what I mean with tooling.
<phschafft> I might not even know exactly what binary I have.
<phschafft> so even if it would be possible I could for example not work with line numbers.
<augiedoggie> if you have specific places where you want to break then you could listen on a socket or file descriptor for a message
<mmu_man> grrrr, it keeps wanting to redownload the same packages
<phschafft> augiedoggie: in a sense, yes. but not the code. it's about how things play together.
nmbosley has joined #haiku
<phschafft> augiedoggie: again, that is all active stuff with tooling.
x10z has joined #haiku
x10z_ has joined #haiku
x10z_ has quit []
x10z has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
x10z_ has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
x10z has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
x10z_ has quit [Read error: Connection reset by peer]
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nmbosley has quit [Quit: leaving]
x10z has joined #haiku
amitbora has joined #haiku
amitbora has quit [Ping timeout: 480 seconds]
x10z_ has joined #haiku
x10z has quit [Read error: Connection reset by peer]
ablyss has quit [Ping timeout: 480 seconds]
OscarL has quit [Quit: Gone with the wind]
HaikuUser has joined #haiku
Maturi0n has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
HaikuUser has joined #haiku
Maturi0n_ has quit [Ping timeout: 480 seconds]
HaikuUser2 has joined #haiku
HaikuUser has quit []
HaikuUser2 has quit []
FreeFull has quit []
wintp has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit [Remote host closed the connection]
wintp has joined #haiku
x10z has joined #haiku
x10z_ has quit [Ping timeout: 480 seconds]
wintp has quit [Ping timeout: 480 seconds]
x10z_ has joined #haiku
_Dario_ has quit [Quit: Vision[]: i've been blurred!]
x10z__ has joined #haiku
x10z___ has joined #haiku
x10z has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
x10z_ has quit [Ping timeout: 480 seconds]
x10z__ has quit [Ping timeout: 480 seconds]
linuxmaster has joined #haiku
HaikuUser has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
HaikuUser has quit []
x10z___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mmu_man has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
wintp has joined #haiku
HaikuUser has quit [Remote host closed the connection]
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
wintp has joined #haiku
v_harkonnen has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
The_Ringmaster has joined #haiku
wintp has joined #haiku
<The_Ringmaster> hello ladies and gents!
<The_Ringmaster> I have haiku running in my hyper-v infrastructure. I am unable to get scrolling working within the haiku vm, any ideas?
<Al2O3> do you have your USB mouse plugged in :)
AlaskanEmily has joined #haiku
v_harkonnen has quit [Ping timeout: 480 seconds]
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
tuaris has quit [Quit: Leaving.]
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
OscarL has joined #haiku
<botifico> [haikuports/haikuports] augiedoggie pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/5c205cdcafa4...a988ce3cdf7c
<botifico> [haikuports/haikuports] augiedoggie a988ce3 - nextcloud_client: remove cmocka dependency, remove extra files (#10155)
Begasus has joined #haiku
<Begasus> g'morning peeps
<OscarL> lo Begasus.
<Begasus> Hola OscarL
wintp has joined #haiku
<Begasus> catching up on mail and logs :)
<OscarL> I'm pretending to be a kernel haxor (at 3:30 AM, no less)
* OscarL braces for some possible KDLs
* Begasus hands OscarL some coffee
<OscarL> thanks :-)
* coolcoder613 waves
<OscarL> acpi_lid reads values seems a bit funny. I would expect, say 0 = closed, 1 = open, or the other way around. Currently, seems to only report changes, and not *current* state.
<OscarL> 'lo coolcoder613 :-)
<Begasus> heh, remember why I needed the python package for pkgconfig :) https://github.com/borgbackup/borg/issues/4117
<Begasus> Hi coolcoder613
<OscarL> my bad. it does reports 0 for closed, and 1 for open. it is just the first read value the one that's wrong.
<OscarL> (first time I read() it... it reported 0 while the screen was open)
<OscarL> Anyway... that's a different bug, for a different day :-)
<OscarL> acpi_ac correctly reports AC being connected (too bad my battery died, so can't test the opposite on this netbook :-D).
<Begasus> ah, used vagrant back then too :)
wintp has quit [Ping timeout: 480 seconds]
<OscarL> tests on old netbook, acpi_ac/acpi_lid/acpi_thermal drivers: still as functional as before my changes.
<OscarL> Now lets see if I managed to fix the KDLs those drivers gave me on the "new" netbook... of if I managed to create new ones :-D
<Begasus> or nuked every one else's one? :P
<OscarL> grrr, keep forgetting touchpad doesn't works on this one :-(
sg94 has joined #haiku
<OscarL> Begasus: :-P (hoping I either fixed the bug... or at least see it crashing in new and interesting ways :-D)
<Begasus> lol
<Begasus> either way progress? ;)
<OscarL> got a KDL... but I was just testing that the bug WAS still happening with the original driver :-P
wintp has joined #haiku
<OscarL> (can't even reboot, won't be trying that again :D)
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Begasus> small pythonScript.sh with "python3 setup.py build install --root=/ --prefix=/boot/home/destdir" in it works fine too :D
<OscarL> mmm, how come that /bin/eject doesn't has a --all option?
coolcoder613 has quit [Ping timeout: 480 seconds]
wintp has quit [Ping timeout: 480 seconds]
<Begasus> /Opslag/patchUpstream/borg> borg -V
<Begasus> borg 1.4.0b2.dev54+g5017d925
<Begasus> not bad :)
<OscarL> beware, first the borg, then nephele/waddlesplash becoming one with the AI overlords...
<Begasus> ai ...
<Begasus> now how did I testrun this :P
coolcoder613 has joined #haiku
wintp has joined #haiku
<Begasus> k, borgweb opens too, so that should be good
<OscarL> alright! acpi_ac no longer KDLs on read()... and reports correct values for AC plugged/unplugged.
<OscarL> acpi_thermal ALSO doesn't KDLs anymore! Reports seemingly correct Critical Temp value, but "Current Temp" value is complete bogus :-D
<Begasus> err ... where does pip3 install the files OscarL?
<OscarL> two locations, system or user... give me a sec to give the exact ones.
<OscarL> "/system/non-packaged/lib/python3.10/site-packages" and similar under $HOME
<OscarL> if you use `pip install`, uses system, if you use `pip install --user`, goes under the $HOME one.
<Begasus> yep /boot/system/non-packaged/lib/python3.10/site-packages
<OscarL> brings me back to my days trying to figure out why "pip install --user pyserial" was so broken a couple of years ago :-P
<Begasus> cleeanup :)
<Begasus> yeah, remembed something there, didn't want to hunt it down at github :)
<Begasus> should remember the --user thingy here :)
<OscarL> similar to `pkgman install -H`
<OscarL> (albeit the latter has some rough edges still :-/)
wintp has quit [Ping timeout: 480 seconds]
<Begasus> jikes ModuleNotFoundError: No module named 'PyQt6' :P
<OscarL> ha, good luck!
<Begasus> lol
<OscarL> now.. lets see if I get a KDL out of acpi_lid at least!
coolcoder613 has quit [Ping timeout: 480 seconds]
<OscarL> Holy crap. I think I got them all three right on the first try :-D
<Begasus> pip install didn't work on this one :P
<OscarL> heh.
<OscarL> whooops! power_daemon_event_loop_ is pegging one core to 100% :-/
<Begasus> downside :P
<OscarL> not shure yet if it was my fault :-)
<Begasus> no qt6webkit yet :/
moparisthebest has quit [Ping timeout: 480 seconds]
<OscarL> power_daemon doesn't likes it when I close and open the screen :-/
<Begasus> hmm .. why doesn't python come with an uninstall option :/
<OscarL> pip uninstall ?
<Begasus> even after a python build/install?
wintp has joined #haiku
<OscarL> you mean uninstall .hpkg that were needed for the build?
<Begasus> Uninstalling vorta-0.9.1:
<Begasus> Would remove:
<Begasus> /boot/home/config/non-packaged/bin/vorta
<Begasus> seems to work, thanks!
<OscarL> Begasus: np, just be aware that you need to use "--user" for uninstall, if you used --user when installing with pip.
<OscarL> I don't like using pip in recipes, for those kind of things.
<Begasus> all good, installled that one with setup.py
<Begasus> no recipes involved there
<OscarL> ok.
coolcoder613 has joined #haiku
<Begasus> biab
<OscarL> oh, wow, just noticed that power_daemon was ALSO misbehaving on my old netbook.
freddietilley has joined #haiku
<OscarL> definitively some weird interactions between acpi_lid, power_daemon, and whatever "general acpi" component handles things.
wintp has quit [Ping timeout: 480 seconds]
Calisto has joined #haiku
wintp has joined #haiku
The_Ringmaster has quit [Ping timeout: 480 seconds]
bitigchi has joined #haiku
<Calisto> Heyyyyyy
<OscarL> whasaaap!?
<Calisto> Just had a tiny question... Is the cloning speed for cloning the src repo limited l
<Calisto> ?
<OscarL> just pretty slow in general, I think.
<Calisto> Ohhh that explains it
<Calisto> It doesn't cross 300 kbps 🥲🥲
<OscarL> I know that at least one dev sometimes does the following:
<Calisto> And like idk I was cloning the repo
<Calisto> And at 99%
<Calisto> The application crashed 🥲
<Calisto> So I have to restart it now
<OscarL> clone/update using th github mirror, then fetch all the tags from the main repo.
<Calisto> Ohhh yah i guess I'll do that instead
<Calisto> The GitHub one cloned on my Ubuntu really quick I'll do the same on Haiku
<OscarL> Calisto: you can always do --depth=1, and "unshallow" it later.
<Calisto> Also just a small question... The ticket that I need to try and fix today uses the BGroupLayout builder class which ig is deprecated.. so to fix it for now do I just use the same features
<Calisto> Or is it like I need to change it to use the newer one
<OscarL> I'll leave that one for actual developers to answer :-D
<Calisto> xD
<Calisto> Wait aren't u a developer also tho 😐😐
<OscarL> nah... I'm just a hack (on my best days), and a nuisance most of the time :-D
AlaskanEmily has quit [Remote host closed the connection]
<Calisto> xD
<OscarL> Calisto: but not being an actual dev... doesn't stops me from some keyboard smashing, and, occasionally, get some small patch accepted :-D
<Calisto> Idk I just want to try and hopefully fix atleast one issue today
<Calisto> From that ticket thing
<Calisto> Btw do you know about the LayoutAPI and the Group layout Builder?
<Calisto> Like I just had a small question about the Grid one *
<OscarL> noup, sorry. I suck specially bad at GUI code (unless I'm allowed to use Delphi for it :-D)
x10z has joined #haiku
<OscarL> all I can offer regarding BLayoutBuilder/Group, is an example from an really small app being modified to use Layouts.
<OscarL> (old code hacked by me, newer code by humdinger)
Calisto has quit [Ping timeout: 480 seconds]
x10z_ has joined #haiku
<Begasus> re
x10z has quit [Ping timeout: 480 seconds]
bitigchi_2 has joined #haiku
<Begasus> OscarL, re Delphi, can't you use NetBeans? :P
<Begasus> or being the python master, PyCharrm :P
<OscarL> jikes. that's like comparing Michel Pfeiffer to a gorilla.
<OscarL> *Michelle
<OscarL> Eclipse, NetBean, PyCharm, etc... I rather use StyledEdit instead :-D
<Begasus> tss ... doing all this stuff here for no one then ... ^^
<OscarL> Oh, I'm sure you'll find someone that loves them... (or that will curse you if they don't work 100% OK :-D)
<Begasus> heh
bitigchi has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
* OscarL using Turbo as commit editor: 8^D
<OscarL> now I just need to blacklist default Terminal, and use my patched one instead.
<Begasus> what's wrong with nano?
<OscarL> keybindings are not CUA.
<OscarL> and even after trying my best at making them at least similar... not good enough.
<OscarL> I want to be able to select text with shift+arrow keys (or shift+home/end), like a normal person :-D
<Begasus> tss ... platform haiku1 is not supported
x10z_ has quit [Ping timeout: 480 seconds]
<Begasus> any normal person uses mouse drag for selection :P
* OscarL thinks what he will just YOLO it, and send his patch for review, as-is.
<Begasus> I'm busy :P
<OscarL> that also works on turbo at least :-)
<OscarL> Begasus: good thing my patch is for kernel drivers then :-D
<Begasus> +1 :D
* Begasus stick to R1B4 a bit longer ...
<OscarL> don't worry, these drivers are not part of the default images, yet :-D
<Begasus> why is the python psutil package disabled?
<Begasus> keyword ... *yet*
sg94 has quit [Quit: Textual IRC Client: www.textualapp.com]
<OscarL> if they get in... I'll just blame the one that merged them :-P
<Begasus> ImportError: cannot import name 'AccessDenied' from 'psutil._common' (/packages/python3.10-3.10.13-3/.self/lib/python3.10/vendor-packages/psutil/_common.py)
<Begasus> OscarL? ;)
<Begasus> lol
<OscarL> psutil for Haiku needs A LOT of love.
<OscarL> and I'm a heartless b*tch.
<Begasus> tss ... need that to check vorta ...
<Begasus> psutil - vorta - borgbackup
<OscarL> yeah, not gonna happen anytime soon.
<OscarL> unless you convince mmu_man to resume work on it :-)
<Begasus> plop!
<OscarL> weird... not seeing "Comment-Id" on my commit message :-/
<Begasus> weird?
<OscarL> for Haiku, there's a "commit-msg" hook that should be running and adding that.
<Begasus> blame turbo? :P
<OscarL> nah... found it... seems you now need to "chmod +x" it for it to work.
<OscarL> (I had an older version, and updated it not long ago, but haven't used it till now, it seems)
<Begasus> execute?
<OscarL> yup
<Begasus> Falkon doesn't like too many github tabs open
<OscarL> "Can you paste the output of grep -r IFF_RUNNING /usr/include/?" <<< LOL :-D
<OscarL> these linux guys are funny.
<Begasus> /system/develop/headers/Qt6/QtNetwork/6.6.0/QtNetwork/private/qnetworkinterface_unix_p.h:# define IFF_RUNNING 0x0001
<Begasus> /system/develop/headers/Qt6/QtNetwork/6.6.0/QtNetwork/private/qnetworkinterface_unix_p.h: flags |= (rawFlags & IFF_RUNNING) ? QNetworkInterface::IsRunning : QNetworkInterface::InterfaceFlag(0);
<Begasus> /system/develop/headers/QtNetwork/5.15.11/QtNetwork/private/qnetworkinterface_unix_p.h:# define IFF_RUNNING 0x0001
<Begasus> /system/develop/headers/QtNetwork/5.15.11/QtNetwork/private/qnetworkinterface_unix_p.h: flags |= (rawFlags & IFF_RUNNING) ? QNetworkInterface::IsRunning : QNetworkInterface::InterfaceFlag(0);
<Begasus> :P
<Begasus> jikes, that patchset is huge!
<Begasus> well, 2 new files in there that take the most part
<Begasus> let's see if we can bump to newer version
<Begasus> can always blame Francois :P
<OscarL> won't matter, without proper Haiku support, it will be pretty useless.
linuxmaster has quit [Ping timeout: 480 seconds]
<Begasus> hasn't stopped me before (from trying) ;)
<Begasus> hm, first bump borg
<OscarL> was just trying to spare you the pain... have fun thou! :-)
<Begasus> plenty of time to spare now :D
<OscarL> merge "previous"? or better yet, try to build it on 32 bits! :-)
<Begasus> think I already did (isn't booted *yet*) :P
<Begasus> getting a deja-vu "merge * " :P
<botifico> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/a988ce3cdf7c...5fa5be42e16b
<Begasus> there ... merged :D
<botifico> [haikuports/haikuports] Begasus 5fa5be4 - borgbackup, bump version (#10156)
<OscarL> BTW, Begasus... regardig my xash3d PR... not sure when I'll try an updated version.
<OscarL> first need to wrap my head around all the differnt parts/repos/SOURCE_URIs, and whatever upstream is doing with their tags/releases.
<OscarL> important thing for me was to see if we could still build current version with modern Python.
<Begasus> yeah, a bit of a mess there :/
coolcoder613 has quit [Ping timeout: 480 seconds]
coolcoder613 has joined #haiku
linuxmaster has joined #haiku
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Begasus> k, let's test this
<Begasus> whoops ...
<OscarL> welp... I can't see straight anymore. Think it's time for me to go zzzZZZzzz (6:20 in the morning, sigh).
<OscarL> Have a nice day, Begasus!
<OscarL> Read you soon!
OscarL has quit [Quit: Gone with the wind]
<Begasus> enjoy :)
<Begasus> whoot! :P
<Begasus> grabbing psutil_python310-5.9.8-1-x86_64.hpkg and moving it to /Opslag/haikuports/packages/psutil_python310-5.9.8-1-x86_64.hpkg
mmu_man has joined #haiku
mmu_man has quit [Read error: Connection reset by peer]
mmu_man has joined #haiku
<Begasus> Hi mmu_man!
<Begasus> got psutil to import with python3 without error this time :)
<Begasus> tss ... vorta 0.8.12 requires platformdirs<4.0.0,>=2.6.0, but you have platformdirs 4.2.0 which is incompatible.
<Begasus> OscarL ... eat that! :P https://0x0.st/HRAZ.12.png
<Begasus> is IFF_RUNNING still an issue on the nightlies?
Calisto has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
ablyss has joined #haiku
ablyss has quit [Remote host closed the connection]
ablyss has joined #haiku
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
HaikuUser has quit [Ping timeout: 480 seconds]
bitigchi_2 has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
mmu_man has joined #haiku
CalistoMathias has joined #haiku
bitigchi has joined #haiku
bitigchi has quit [Ping timeout: 480 seconds]
coolcoder613 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
HaikuUser has joined #haiku
HaikuUser has quit []
<mmu_man> WTF
<mmu_man> so I had a corrupt BFS
<mmu_man> then I copied older packages to it from a USB key, it boots, but won't update, it says Nothing to do
<mmu_man> but I know it's older
<Begasus> corrupt packages too maybe?
<mmu_man> maybe
<mmu_man> I tried copying over a newer haiku package, it wanted to update from HaikuPorts, but not the rest from the Haiku repo
<mmu_man> tried with more, now it seems to act up, let's see
<Begasus> tried with just "pkgman update"?
<Begasus> ps, upstream psutils is still not wanting to add Haiku support :)
<mmu_man> it says "Nothing to do"
<mmu_man> people sux :-(
<Begasus> ;)
bitigchi has joined #haiku
<Begasus> good enough for me (vorta builds/installs fine with it) :)
HaikuUser has joined #haiku
<HaikuUser> haiku is the best os ev3r made
<Begasus> thanks and welcom HaikuUser :)
<HaikuUser> How do i change my user name in Vision?
<Begasus> "/nick new_user"
andreaa72 has joined #haiku
HaikuUser is now known as Floppa
<Begasus> better Floppa :)
<Floppa> Thanks
<Begasus> time for a toot about borgbackup and vorta :)
x10z_ has joined #haiku
andreaa72 has left #haiku [#haiku]
bitigchi has quit [Ping timeout: 480 seconds]
xet7 has quit [Remote host closed the connection]
x10z has quit [Ping timeout: 480 seconds]
coolcoder613_32 has quit [Ping timeout: 480 seconds]
<Begasus> whoot, @python already boosted :)
Floppa has quit [Ping timeout: 480 seconds]
<B2IA> (UnrealNeil) butler catsup
bitigchi has joined #haiku
CalistoMathias has quit []
CalistoMathias has joined #haiku
<CalistoMathias> Hey so I think im finally getting around to fixing the ticket issue on thee Media Player settings
bitigchi has quit [Ping timeout: 480 seconds]
<CalistoMathias> just had a really small question which unfortunately I couldn't find on the docs
<B2IA> (UnrealNeil) ask away. i know nothing
HaikuUser has joined #haiku
HaikuUser has quit []
<CalistoMathias> at the top of the src file for the media player settings window there is "const float kspacing = be_control_look->DefaultItemSpacing()". The same value is used for creating a grid that places the item... It is used for both the padding as well as creating a horizontal strut that fills in the respective spaces...
<CalistoMathias> is there a particular number that the kspacing refers to? so that I can wrap my head better around it
<CalistoMathias> right above they have declared a strut of width 10
x10z_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<CalistoMathias> also in the case of the media player misalignment... I think its because the code has both a padding as well as a horizontal strut, which adds into the extra space? or am I gooing about this the wrong way. For reference, this is the ticket https://dev.haiku-os.org/ticket/10475
<B2IA> (UnrealNeil) well, you could be onto something there...
<B2IA> (UnrealNeil) what happens with a strut width of 5?
<Calisto> Yup that's what I'm going to play around with rn
<Calisto> I think it's that the padding and the strut width are both adding together to give the unwanted extra space
<Calisto> I think what I could do is first remove the padding and only keep the grid layout's items flush against each other
<Calisto> And then edit the strut's width
<Calisto> I honestly need a bit of help with this Jam compile tool.... If I change the source code...how do I build and execute the new version of the app?
<Calisto> I've never used something like Jam before
CalistoMathias has quit [Ping timeout: 480 seconds]
<mmu_man> so, not sure how but it seems to be getting there
<mmu_man> had to reinstall packages that aren't activated
Begasus has quit [Quit: Vision[]: i've been blurred!]
Begasus has joined #haiku
v_harkonnen has joined #haiku
CalistoMathias has joined #haiku
<CalistoMathias> So if anyone could guide me on that, it would be a great help :D
<CalistoMathias> of*
hightower2 has joined #haiku
bitigchi has joined #haiku
<B2IA> (UnrealNeil) butler catsup
<CalistoMathias> I didn't get what you meant :(
<B2IA> (UnrealNeil) how can I change a folders attrib to unhide the folder in terminal??
_orealis has joined #haiku
bitigchi has quit [Ping timeout: 480 seconds]
orealis has quit [Ping timeout: 480 seconds]
_orealis is now known as orealis
bitigchi has joined #haiku
<mmu_man> ok, that machine is *finally* usable again, pffff
<Begasus> heh
xet7 has joined #haiku
<CalistoMathias> I tried reading through the page about jam on the Haiku Website but there is nothing specific about compiling a specific app or anything like that? I think if I can understand how to do that then maybe I can try playing around with the layout until I fix that issue. So if anyone has any resource link.. that would be helpful too :)
bitigchi has quit [Ping timeout: 480 seconds]
<Begasus> Tried "jam AboutSystem", not sure if it's only taking care of that one or rebuilding the lot :D
<CalistoMathias> oh so that rebuilds the whole system?
CalistoMathias has quit [Quit: Vision[]: i've been blurred!]
<Begasus> not sure, never tried building only "one" part of the system
<Begasus> but I've seen comments about it, so it should be possible :)
zard has joined #haiku
<Begasus> Seemed to work ;) https://0x0.st/HRBO.png
mr_lou has joined #haiku
<Calisto> Cool
<Calisto> Would u recommend that I build the whole thing?
CalistoMathias has joined #haiku
<CalistoMathias> I'm just slightly confused as to how to approach this whole thing... Like right now If I want to see the live changes of what I have edited into the code in the src/apps/<whatever_file> am I supposed to compile the whole thing again?
<CalistoMathias> is there nothing like Paladin where I can launch that app to which I am making the edits directly?
<zard> "jam AboutSystem" indeed only compiles what is necessary to run the AboutSystem app
<zard> If you make changes, then only what needs to be recompiled will be recompiled
<zard> So, compiling for the first time may take a while, but subsequent times shouldn't take as long
<Begasus> CalistoMathias, I guess you need a full build first before starting on individual parts?
<zard> I don't think so... Jam should be able to compile just the things that are needed to run AboutSystem
<Begasus> jam -qa -j12 AboutSystem :)
<Begasus> ah, didn't know that zard
<CalistoMathias> after compiling using this command, where are all the executables going to be stored? how do I see the version of the app to which I am making changes?
bitigchi has joined #haiku
<Begasus> generated.x86_64/objects/haiku/x86_64/release
<CalistoMathias> I probably need help on this process once xD (i g after that everything should make sense)
<CalistoMathias> oh okay
<CalistoMathias> cool
<CalistoMathias> ill try doing that in a while and ask here if I need more help :)
<Begasus> depending on your "generate*" target
<CalistoMathias> thanks @zard @Begasus
<CalistoMathias> so from that folder I can run the app's executable which was generated basically?
<Begasus> I can do only small things there ;)
<Begasus> yep
<CalistoMathias> cool
<CalistoMathias> ill try doing that
<CalistoMathias> can't wait to actually try and fix something xD
<CalistoMathias> I was thinking that rather than using a grid to render the items, I could end up doing the same thing that was done in order to indent items by creating a horizontal Group layout and adding a struct there... will let you know if that works :D
<Begasus> lost me there halfway :D
<CalistoMathias> xD
<CalistoMathias> thanks for all the help tho @Begasus :)
<Begasus> np CalistoMathias
<CalistoMathias> cool imma be AFK for a while
<Begasus> now what was I doing ....
<CalistoMathias> Got to have dinner before it leaves :D
<CalistoMathias> byeee :)
CalistoMathias has quit [Quit: Leaving]
<mbrumbelow> Begasus: Thanks again for the help on the Paladin release.
<Begasus> oh, forgot what I did there mbrumbelow ;)
<Begasus> but thanks :D
<mbrumbelow> 🙃
<Begasus> at least the guy at psutil is honested(?) :)
<Begasus> honest? ... not taking on English tutoring anymore :P
<Begasus> heh, not the only one having issues with kirigami/akonadi :D
bitigchi has quit [Ping timeout: 480 seconds]
<Begasus> lol, I did read (or started) the readme: Exit You must NOT copy UserBuildConfig.ReadMe directly but use parts of it! ; :D
bitigchi has joined #haiku
<muhamed_emad[m]> what is the proper way to deal with unused function error in (werror)?... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/fLEGEdxgXaexpobzlyYhzmPG>)
<Begasus> delete -Werror if you can trace it
<Begasus> depending on build system there are options too
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
<Begasus> err ... probably -Wno-unused or the like?
<muhamed_emad[m]> Begasus: do you mean to delete the -Werror in the ArchitectureRules file?
<Begasus> if that is preventing the build then yes muhamed_emad[m]
<Begasus> I've used it pretty much :)
<Begasus> another anoying one is deprecated-warnings :P
<zard> Do you mean the ArchitectureRules file in the Haiku build system?
<Begasus> oh! didn't made me think about Haiku ;)
<muhamed_emad[m]> Actually, This is opposite to what I am doing XD. I am working on removing the comments in ArchitectureRules file and resolving the error warnings
* zard takes a look at the ArchitectureRules file
<Begasus> muhamed_emad[m], then fix the error ;)
<muhamed_emad[m]> Begasus: That's what I am doing. I am just asking what's is the best way to XD.
* zard can't find the file
<zard> Where is it?
tuaris has joined #haiku
<muhamed_emad[m]> build/jam/
<zard> k, found it
<zard> Ok, I see what you're trying to do. Uncomment those EnableWerror's
<Begasus> somewhere in line 127?
<zard> Looks to me like line 677, for example
<muhamed_emad[m]> zard: yes
<Begasus> -Wno-unused-function ?
<zard> Seems to me to be a tricky problem. Someone might still want the function so deleting the unused one would not be ideal
<zard> Commenting it out doesn't seem ideal either, nor does -Wno-unused-function... Seems easiest to keep things the way they are
<Begasus> it wouldn't zard, just thinking out loud
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus> yep, updated/build finished here without errors in about 15minutes (deleted *objects* first)
<zard> Perhaps somebody more experienced with that region of code knows better?
<muhamed_emad[m]> zard: this is actually an issue in the bug tracker so I need to make it done
<zard> Which issue?
<Begasus> ah! :D
<zard> Maybe one of the other changes that addressed this issue shows how someone else dealt with unused functions?
<zard> (thanks to the people linking their fixes to the ticket, very handy to reference!)
ablyss has quit [Remote host closed the connection]
<muhamed_emad[m]> I can't seem to find the diff files. if you found it please send it.
<zard> One change linked by the ticket is, for example, https://review.haiku-os.org/c/haiku/+/4503
<zard> In it there is a list of files...
<zard> If you click on one of those files, it will show you the diff for that file
<muhamed_emad[m]> zard: okay, thanks.
bitigchi has quit [Ping timeout: 480 seconds]
<muhamed_emad[m]> I thinks deleting it is the right choice
<zard> Looks like it :)
<zard> I suggest only uncommenting one EnableWerror, and making the changes for that one, then uploading those changes for review
<zard> That way, you'll quickly learn if you're taking the wrong path
<zard> (And I believe smaller changes are easier to review)
<muhamed_emad[m]> K, Thanks will do.
bitigchi has joined #haiku
v_harkonnen has quit [Ping timeout: 480 seconds]
nosycat has joined #haiku
bitigchi has quit [Ping timeout: 480 seconds]
Calisto has quit [Ping timeout: 480 seconds]
v_harkonnen has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57600] - https://git.haiku-os.org/haiku/log/?qt=range&q=cccb5efb1154+%5E8d35d9578827
<nekobot> [haiku/haiku] cccb5efb1154 - acpi_{ac,lid,thermal}: avoid SMAP related KDLs.
Calisto has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57601] - https://git.haiku-os.org/haiku/log/?qt=range&q=7644bd25fc54+%5Ecccb5efb1154
<nekobot> [haiku/haiku] 7644bd25fc54 - Tracker: Offer "Get info" when a symlink fails
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57602] - https://git.haiku-os.org/haiku/log/?qt=range&q=0aede635f114+%5E7644bd25fc54
<nekobot> [haiku/haiku] 0aede635f114 - AboutSystem, Installer: show light/dark logos
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57603] - https://git.haiku-os.org/haiku/log/?qt=range&q=8cc8ec9ef9db+%5E0aede635f114
<nekobot> [haiku/haiku] 8cc8ec9ef9db - BSpinner: do not redefine fValue
<zard> waddlesplash: What does the +v mode do?
<waddlesplash> since this channel allows anyone to talk, nothing really, but it puts the bots in a separate section
<waddlesplash> and means they appear in the channel with + in front of their nick, so they can be identified easily too
<zard> ah, ok
<mmu_man> nice video from ActionRetro! https://www.youtube.com/watch?v=GW2V034859k
freddietilley has quit [Quit: WeeChat 4.1.2]
HaikuUser has joined #haiku
HaikuUser has quit []
humdinger has joined #haiku
<Begasus> ok, commenting out one of those werror issues is enough to enable that werror?
bitigchi has joined #haiku
<Begasus> hi humdinger!
<humdinger> hullo!
<Begasus> does it work on an already build Haiku?
<botifico> [haiku/website] waddlesplash pushed 1 commit to master [+0/-0/±1] https://github.com/haiku/website/compare/53e092e580ee...4eed25940381
<botifico> [haiku/website] nielx 4eed259 - RFC update: modify proposal after community feedback (see changelog in document)
<Begasus> seems it does, broke ntfs :P
<humdinger> A can't find how to abandon a change in gerrit...
<humdinger> did it before, but forgot.
<humdinger> do I dare clicking on "code review +2"?
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57604] - https://git.haiku-os.org/haiku/log/?qt=range&q=60429495b6bc+%5E8cc8ec9ef9db
<nekobot> [haiku/haiku] 60429495b6bc - Improve styles and visibility in dark mode
* Begasus searches for "Abandon change in gerrit for dummies" ...
<humdinger> Found "What exactly is the button "Abandon Change" in gerrit?"
<humdinger> there is no such button
<Begasus> lol
<humdinger> waddlesplash did the deed.
<humdinger> thanks. still want to know how... :)
<Begasus> so waddlesplash removed you button?
<Begasus> k, bbl, hunting for food (for the dogs)
* humdinger hands out bows and arrows
BrunoSpr has joined #haiku
<BrunoSpr> hello?
<nosycat> Hi!
Calisto has quit [Ping timeout: 480 seconds]
Calisto has joined #haiku
x10z has joined #haiku
<BrunoSpr> What is this: https://0x0.st/HRMg.png? Mini Icon view in Tracker!
<humdinger> Does SHIFT+ALT+K help?
gouchi has joined #haiku
v_harkonnen has quit [Ping timeout: 480 seconds]
gouchi has quit [Ping timeout: 480 seconds]
Calisto has quit [Ping timeout: 480 seconds]
Calisto has joined #haiku
bitigchi has quit [Ping timeout: 480 seconds]
<BrunoSpr> humdinger, a bit yes https://0x0.st/HRuv.png
<BrunoSpr> what is SHIFT+ALT+K about?
<humdinger> yeah, the grid layouting isn't quite there yet...
<BrunoSpr> Only going back to list view helps
<BrunoSpr> Oh, no the mini icon view is distorted
<humdinger> I never use Mini icon view...
<BrunoSpr> Me too that way I just found this
<BrunoSpr> Maybe related to font change Mono Display sans to Mono Sans?
<humdinger> I'm on a current nightly and it works here.
<humdinger> but switching to Mini icon view pretty much demands a SHIFT+ALT+K, because many icons are drawn over another.
<humdinger> esp. if you switch between Icon view and Mini view.
<BrunoSpr> It happens in Mini Icon view, when you select the files and Drag n' Drop them on the same view
<BrunoSpr> or windonw
<humdinger> oh. yeah, I see those drawing artefacts too
mmu_man has quit [Ping timeout: 480 seconds]
<BrunoSpr> never mind I never use Mini Icon mode, only now by accident
<humdinger> still.
<humdinger> I'll file a bug later
<BrunoSpr> Thanks humdinger! ;-)
<humdinger> alright. dinner time!
* humdinger is idle: BRB
tqh has joined #haiku
mmu_man has joined #haiku
hightower3 has joined #haiku
v_harkonnen has joined #haiku
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
BrunoSpr has joined #haiku
BrunoSpr has quit []
bitigchi has joined #haiku
hightower2 has quit [Ping timeout: 480 seconds]
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
x10z_ has joined #haiku
bitigchi has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
x10z has quit [Ping timeout: 480 seconds]
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
bitigchi has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
bitigchi has quit [Ping timeout: 480 seconds]
x10z_ has quit [Read error: Connection reset by peer]
x10z has joined #haiku
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
cocobean has joined #haiku
OscarL has joined #haiku
<OscarL> humdinger: Abandon "Button"... Top left corner of the page: https://ibb.co/2ZPSkff
<cocobean> Videoconferencing on Haiku.... such possibilities
bitigchi has joined #haiku
<OscarL> Begasus: nicely done on borg/vorta/psutil :-)
v_harkonnen has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
cocobean has quit []
OrangeBomb has quit [Quit: Slacking off]
<Begasus> Thanks OscarL :)
<Begasus> with psutil installed you can just use pip to install vorta :)
<OscarL> that goes to show why you're the master, and I just lurk from the shadows :-)
bitigchi has quit [Ping timeout: 480 seconds]
<Begasus> nah, it was all mmu_man's work, only a few minor changes involved, you could've done that too
<OscarL> btw, got my small patch merged... wheee! :-)
<Begasus> +1 :)
<OscarL> Begasus: IIRC, I *did* took a look at psutil... but maybe at the very beginning of my HaikuPorts journey :-)
<Begasus> largest chunk are the two new files in the patchset
<Begasus> those probably could use an update, but out of my zone on that ;)
<OscarL> (while giving "glances" a try, IIRC)
<Begasus> heh
wintp has quit [Ping timeout: 480 seconds]
<Begasus> vorta even launches from Tracker :)
<OscarL> always a nice touch.
<Begasus> but maybe leave psutil disabled for now, don't know enough about it to be sure it's ok atm
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57605] - https://git.haiku-os.org/haiku/log/?qt=range&q=44073aa60c27+%5E60429495b6bc
<nekobot> [haiku/haiku] 44073aa60c27 - kernel/vm: Do not try to reserve more memory than the system has.
B2IA has quit [Quit: Vision[]: i've been blurred!]
OrangeBomb has joined #haiku
B2IA has joined #haiku
HaikuUser has joined #haiku
<HaikuUser> this works fine too :)
<HaikuUser> Haiku shredder 1 hrev57603+dirty Feb 27 2024 15: x86_64 x86_64 Haiku
<Begasus> :P
<Begasus> didn't know about the +dirty thingy ;)
wintp has joined #haiku
HaikuUser has quit []
<Begasus> ah flatcontrollook also merged
nosycat has quit [Quit: Leaving]
bitigchi has joined #haiku
* humdinger has returned
<humdinger> OscarL: thanks, but I had a "code review +2" there. Never mind, I'll figure it out the next time I have to give up on a patchset...
<OscarL> maybe there's a difference when you're the "owner" vs "reviewer" of patchset. Oh well.
<humdinger> I was the owner of it...
v_harkonnen has joined #haiku
<OscarL> humdinger: maybe some issue due to there being TWO humdingers on gerrit?
<OscarL> let me see if I can find the link to show you what I mean.
<humdinger> good call. it was a very old patchset...
<bitigchi> waddlesplash: updated the precision PR, hope got it right this time
<humdinger> before my miraculous duplication
Calisto has quit [Ping timeout: 480 seconds]
<OscarL> still 2 of you there :-)
nephele has joined #haiku
<Begasus> only 2 :D
<nephele> 2?
<humdinger> Better not touch that... I might kill the wrong one.
<nephele> kill? D:
<OscarL> shh, neither of them knows they are clones of the real one.
<waddlesplash> bitigchi: very close. instead of doing if(&& && &&), just do 3 ifs
<humdinger> the avatar it too small to see the mustache of my evil twin
<bitigchi> ... alright
<bitigchi> and return B_OK on each?
<waddlesplash> no
<waddlesplash> eh
<waddlesplash> bitigchi: maybe it's fine as-is
<waddlesplash> so long as it works, of course
<waddlesplash> that looks like your old user
<bitigchi> I still think the other one was more elegant, but anyway
<nephele> waddlesplash: I would use || and return B_ERROR; and then continue on with the function
<bitigchi> this is easier for the applier
<waddlesplash> yes, it is
<waddlesplash> nephele: probably makes sense to do all-or-nothing, now that I think about it
<waddlesplash> bitigchi: so, leave it as is
<humdinger> waddlesplash: I won't touch anything... besides this one old changeset, everything's working well.
<nephele> if (decimalFormatter == NULL || currencyFormatter == NULL || percentFormatter == NULL)
<waddlesplash> humdinger: well, I want to touch something, because I don't know who's who :-p
<nephele> and then return B_ERROR; on the next line
<nephele> so the rest of the function is not indented, as an early exit
<waddlesplash> ah, that's a bit eaiser to read, sure
<nephele> (but i don't want to chase bitigchi around the block another 10 times to rewrite it ;)
<waddlesplash> humdinger: how's that look?
<waddlesplash> please make sure you can still sign out and in
<humdinger> signing out works...
B2IA has quit [Quit: Vision[]: i've been blurred!]
<waddlesplash> ... but does signing in work?
wintp has quit [Ping timeout: 480 seconds]
<humdinger> waddlesplash: works too!
B2IA has joined #haiku
<bitigchi> waddlesplash: I'm running a full build to test the change, I will see that it works, and let you know
<waddlesplash> humdinger: :D
<Begasus> cool, can bump the number of cores in qemu up to 16 :P
<nephele> bitigchi: you don't need to
<nephele> you can build "just" the local kit and put it in the lib/ directory next to a test app
* humdinger cackles sinisterly... Ha, I AM THE EVIL TWIN! hihihihi
<nephele> locale*
* nephele slaps humdinger with a large trout, as the irc traditions demand
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<humdinger> and I thank you. well deserved.
<waddlesplash> now they can certainly be told apart :)
<humdinger> "undefined" and faceless... normally people say I'm "unrefined".
<humdinger> a step, I say!
<OscarL> RIP old humdinger, sniff.
<humdinger> *up
<nephele> rename the other one to proto-humdinger
<humdinger> anti-humdinger
<humdinger> never they shall meet
<nephele> (unless you want to do that in a reactor to power a city block)
wintp has joined #haiku
<Begasus> food ... cu peeps!
Begasus has quit [Quit: Vision[]: i've been blurred!]
<nephele> i should really make a new haikuwebkit version to fix those damn scrollbars
<nephele> i'm amazed nobody has complained about them yet
andreaa72 has joined #haiku
<nephele> maybe nobody uses webpositive :D
<humdinger> like e.g. on the IRC logs at https://oftc.irclog.whitequark.org/haiku ?
<nephele> No, that it's light there is a problem with the website
wintp has quit [Ping timeout: 480 seconds]
<humdinger> Gets even nice if you zoom in with ALT+mousewheel
<nephele> Webkit had some wierd codepath for overlay scrollbars that made those dark instead of light, but that was a bug ;) and pulkomany noticed that
<nephele> humdinger: I'm talking about the damn colors! If you compare it to StyledEdit you will notice the background color is different
<nephele> on dev.haiku-os.org for example
<nephele> ... which causes the contrast too bee too low in webpositive for me to tell where the thumb is
<humdinger> now that you say it, I see it too.
<humdinger> guess it's worse with a dark theme
x10z has joined #haiku
<nephele> doesn't help that many websites do a shit job at supporting the dark theme and never declare they support rendering dark controls, leading to light buttons and scrollbars
<nephele> looked at the css of the irc log. not sure wtf it's doing. probably javascript after the fact.
<nephele> yeah, if i reload the page it flashes white... with apropriate colors. before turning dark
<nephele> quite jarring
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57606] - https://git.haiku-os.org/haiku/log/?qt=range&q=1701b7b537e2+%5E44073aa60c27
<nekobot> [haiku/haiku] 1701b7b537e2 - usb_webcam/uvc: fix 64 bit build
<humdinger> welcome to the world wide web of your seizure dreams
wintp has joined #haiku
<nephele> yeah. I don't really understand it. Making a dark theme with css is straightforward and simple
<nephele> why do so many websites then employ half assed javascript implementations that only partially work .-.
<OscarL> Gerrit also blinds me with a brief white background before dark theme kicks in (not talking about Web+ here, can't remember if it does that there too).
<nephele> it does, the implementation there is also kinda half done
hightower4 has joined #haiku
<nephele> hmm, opening a new tab also flashes white very briefly
<nephele> thought that was fixed (by me) guess there is a second issue
<nephele> I don't like that all our websites use different schemes. especially discourse looks pretty bad. I'll fix that eventually
<nephele> but one website at a time... .)
* OscarL steals humdinger's trout and slaps nephele back with it: "Chop, chop, lazy folk!"
andreaa72 has quit [Remote host closed the connection]
<nephele> Pfft. this is getting too meta. nighty night
nephele has quit [Quit: Vision[]: i've been blurred!]
<humdinger> Right.
<humdinger> without a trout, I'm out.
<humdinger> cu you guys later!
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57607] - https://git.haiku-os.org/haiku/log/?qt=range&q=e523bfeb06f4+%5E1701b7b537e2
<nekobot> [haiku/haiku] e523bfeb06f4 - NumberFormat: add floating-point precision support
* humdinger waves
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
zard has quit [Quit: leaving]
<OscarL> quitters!
hightower3 has quit [Ping timeout: 480 seconds]
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
CalistoMathias has joined #haiku
<CalistoMathias> Hey so i tried compiling the haiku source code on my haiku setup
<CalistoMathias> but it pretty much failed
<CalistoMathias> like it first asked me to run the ./configure command which I did
<CalistoMathias> it did start to compile and everything was going fine
<CalistoMathias> but then the compilation failed by giving a fatal error of <zstd.h>: no such file or directory
<CalistoMathias> what should I do?
wintp has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
<OscarL> CalistoMathias: that's easy to fix... from memory:
<CalistoMathias> are there any packages apart from zstd_devel that need to be installed in order for the compilation to go ahead
<OscarL> `pkgman install zstd_devel`
<CalistoMathias> yup i just did that
<CalistoMathias> found it on some old issue from 2 years back
<CalistoMathias> in general how long does it take to compile the OS?
<OscarL> not sure why it sometimes still pop ups, I thought jessicah had fixed that zstd issue already :-/
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
<OscarL> CalistoMathias: depends on cpu specs, but it doesn't takes THAT long, even on my old Phenom II X4.
<CalistoMathias> cool
<CalistoMathias> and is it like only the first time for compiling takes a while longer?
<OscarL> don't recall my exact times, but I would say... less than an hour for me, IIRC.
<CalistoMathias> or is it like everytime it compiles everything from scratch?
<OscarL> Best to use an example here...
<CalistoMathias> okay then I have a question... for now im finally starting to play around with the Media Player Settings code
<CalistoMathias> so everytime ill need to compile
<CalistoMathias> with jam -q right?
<CalistoMathias> so like there is no other way for me to just see the changes that I make in the media player application directly?
<OscarL> (I'm a slow writter)
<CalistoMathias> the compilation crashed again :(
<CalistoMathias> it gave a lot of undefined references
<CalistoMathias> to things like _divdi3
<CalistoMathias> and _moddi3
<CalistoMathias> is there something I should do :(
<OscarL> one question at a time, my dude... I type slow.
<CalistoMathias> yah yah np take your time :)
<OscarL> you should be able to do `jam -q -jN MediaPlayer` (with N the number of cores you want to use)
<CalistoMathias> ohhhhh
<CalistoMathias> okay thats cool
<OscarL> that should compile MediaPlayer, and *all* the libraries it links to.
<OscarL> first time you try that... it will have to build A LOT of stuff.
wintp has joined #haiku
<CalistoMathias> oh okay thats so much better i guess... i thought I would have to wait for the entire compilation every single time I need a change xD
CalistoMathias has quit [Quit: Vision[]: i've been blurred!]
<OscarL> libbe.so, libtracker.so, libroot.so, etc, etc, etc.
CalistoMathias has joined #haiku
<OscarL> Depending on the complexity of that your changing...
<OscarL> just testing the newly created binary might be enough...
<CalistoMathias> oh okay
<CalistoMathias> so basically the next time I compile the source code... i can just do it for the media player and run that specific executable... that helps a ton :)
<OscarL> or you could need to also test those libraries I've mentioned.... or just go ahead, and build your own "haiku.hpkg" file, and install that
<OscarL> (kind of an "update" from your locally build changes)
<CalistoMathias> so it like updates the current media player or something like that?
<CalistoMathias> (in the case that I run this for the media player)
<OscarL> jam will only re-compile things outside of what you're working on, if, say, some header file changed.
<OscarL> as in... some haiku commit changes some "header/os/whaterver.h"..., if you update your repo to a commit that contains that change....
<OscarL> you'll see jam rebuild all the things that depend on that header
<CalistoMathias> ohhhh okay
<OscarL> jam only builds stuff.
<OscarL> leaves things under the "generated" directory.
<CalistoMathias> so whatever header file / code that I edit... jam will rebuild all the things that depend on that file and keep it under the gneerated directory.. and then I will have to go and run the executable that it generates from there?
hightower3 has joined #haiku
<OscarL> under "generated/[...]/release/", it will follow the same directory structure as under src/
BrunoSpr has joined #haiku
<OscarL> yes.
<CalistoMathias> cool that makes sense.... ill probably keep this log handy when I get to compiling the changes that I make for media player :D
<CalistoMathias> what about that undefined reference thign?
<CalistoMathias> to __moddi3 and __divdi3, etc.
wintp has quit [Ping timeout: 480 seconds]
<CalistoMathias> for context, I was trying to build the entire source code of Haiku atleast once to get the hang of this jam thing and everything... so i installed the zstd_devel library through pkgman but I have no idea what to do for this error :(
<waddlesplash> you don't need to build everything
<waddlesplash> just build MediaPlayer if you're working on that
<CalistoMathias> oh okay ill do that instead then
BrunoSpr has quit []
<CalistoMathias> btw for an i7-13650HX how many cores would you suggest I put for the compilation? considering that i am on bare metal ?
<OscarL> all of them? :-)
<CalistoMathias> okay xD
BrunoSpr has joined #haiku
<OscarL> CalistoMathias: I never have any issues with compiliing stuff giving it all my cores.
<OscarL> (issues as in... being able to still use my PC while compiliing, I mean)
itaipu has joined #haiku
<OscarL> gcc priority is low enough as to not be an issue with user input.
bitigchi has quit [Ping timeout: 480 seconds]
<OscarL> (unlike on some linuxes I've tried, cough, cough)
<BrunoSpr> hello OscarL
<BrunoSpr> hello all
<OscarL> Hi there BrunoSpr!
hightower4 has quit [Ping timeout: 480 seconds]
mr_lou has quit [Quit: Leaving]
HaikuUser has joined #haiku
CalistoMathias has quit [Read error: Connection reset by peer]
HaikuUser has quit []
wintp has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev57608] - https://git.haiku-os.org/haiku/log/?qt=range&q=c9d1e840ac26+%5Ee523bfeb06f4
<nekobot> [haiku/haiku] c9d1e840ac26 - Terminal: try to fix SHIFT+{Arrow,Home,End} keys handling.
<OscarL> YAHOO!
wintp has quit [Ping timeout: 480 seconds]
bbjimmy has joined #haiku
wintp has joined #haiku
janjo has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
bitigchi has joined #haiku
bitigchi has quit []
janjo has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
BrunoSpr has joined #haiku
<BrunoSpr> oh the USB 2.0 camera is recognized in listusb! Great!
wintp has quit [Ping timeout: 480 seconds]
CalistoMathias has joined #haiku
tqh has quit [Quit: Leaving]
<x512[m]> BrunoSpr: libuvc example may work with camera.
Atomozero has joined #haiku
Atomozero has quit []
wintp has joined #haiku
janjo has joined #haiku
Atomozero has joined #haiku
CalistoMathias has quit [Quit: Vision[]: i've been blurred!]
CalistoMathias has joined #haiku
<CalistoMathias> Heyyy... could someone like tell me what does the SetExplicitMaxSize() function do for a BGroupLayout?... I'm not understanding its direct implications :(
v_harkonnen has quit [Remote host closed the connection]
wintp has quit [Ping timeout: 480 seconds]
janjo has quit [Remote host closed the connection]
<OscarL> Sounds like it is setting the upper bound on how big the whole thing can get, no?
<CalistoMathias> yah that was what I was thinking as well
<OscarL> As in: "listen child-views... you can't grow past *this* big, ok?"
<CalistoMathias> so what happens if something wants to get bigger than that? like a BStringLabel?
<OscarL> CalistoMathias: here's how/where that method is called on Haiku's sources: https://xref.landonf.org/source/search?q=SetExplicitMaxSize&defs=&refs=&path=&hist=&type=&project=haiku
<CalistoMathias> will it get rendered technically outside the confines of the BGroupLayout but like not affect the sizes of the other items?
<CalistoMathias> oh okay ill just go through that
<CalistoMathias> btw to what degree is hardcoding the values allowed?
<CalistoMathias> because I fixed the issue that corresponds to the ticket but I had to play around with the width of the strut (more like trial and error)
<OscarL> I'd say... see what other "src/apps/" do, and follow that :-)
<OscarL> unless said apps are ALSO broken.
wintp has joined #haiku
<CalistoMathias> oh okay Ill try finding something that does something similar
<CalistoMathias> because this settings window is pretty much unsizeable
<OscarL> welcome to self-learning!
<CalistoMathias> so I don't think there would be any issue with hardcoding as such too i guess since anyways it doesn't have to be like responsive or whatever... any heads up btw? as to where I can find similar kinds of interfaces like the Media Player Settings Window?
<CalistoMathias> yup definitely gotta self-learn a lot for this one xD
<OscarL> (seriously... sorry if I'm not much of real help)
<CalistoMathias> nah nah you have have been so very helpful
<CalistoMathias> I wouldn't have even known how to start if not for you :)
<CalistoMathias> and @nephele, @PulkoMandy, etc.
v_harkonnen has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
<BrunoSpr> x512[m], lubuvc ah, where to find it?
<BrunoSpr> libuvc ah ok got it
<OscarL> Mmm, that MediaPlayer Settings window surely is annoyingly long. Not very nice on a 1024x600 screen :-D
<CalistoMathias> yah its pretty long
<CalistoMathias> but its also unresizable
<OscarL> I would rather it used more horizontal space, but that's just my opinion.
<CalistoMathias> Honestly im kind of scared to make a commit and a push
<CalistoMathias> lol
<OscarL> CalistoMathias: oh, I know the feeling all too well :-D
<CalistoMathias> like on my personal projects I've never had to use too many features of git
<CalistoMathias> so I think I should probably learn the details of git
<CalistoMathias> before committing it
<CalistoMathias> tho the ticket is fixed
<OscarL> I was REALLY nervous on at least my first 15/20 pushes to gerrit :-D
<CalistoMathias> i got it aligned exactly as the required image
<CalistoMathias> Like i suggested before, I ended up replacing the GridLayout with a GroupLayout instead anad it was relatively straightforward after that
<OscarL> coolio!
<CalistoMathias> also for Haiku source code, it is preferred to rebase?
<CalistoMathias> while doing git pull?
<OscarL> it is what I do.
<CalistoMathias> so if I want to write in a commit right now... I should first pull along with the rebase option enabled
<CalistoMathias> followed byy the usual commit
<CalistoMathias> and push
<OscarL> I have git's config set as "pull.rebase=true".
<CalistoMathias> oh okay like the thing that was said in the page on gerrit
<CalistoMathias> on the haiku website
<CalistoMathias> for right now I won't need to worry about the warning right?
wintp has joined #haiku
<OscarL> for pushing my changes... I followed the guide here: https://www.haiku-os.org/guides/building/get-source-git/
<CalistoMathias> on Gerrit for the shared branches thing ?
<CalistoMathias> yup i was reading the same thing
<OscarL> Beware that you might need to do "chmod +x" after installing the commit-msg hook.
<CalistoMathias> then got second thoughts after reading that warning xD
<CalistoMathias> oh okay wait lemme just do that and come back
<CalistoMathias> clear
<OscarL> guide can be a bit confusing (not sure if due to my lack of skills/experience, or my self-taught "english" :-D)
<CalistoMathias> for me its my first time doing Open Source so everything is confusing as it is xD
coolcoder613_32 has joined #haiku
<CalistoMathias> yup you were right
<CalistoMathias> did the chmod +x on the commit-msg hook
<OscarL> just make sure to "chmod +x .git/hooks/commit-msg" (assuming your current dir is the "haiku" clone.
<CalistoMathias> yup just did that right now
<OscarL> ah... see.. I type too slow :-D
<CalistoMathias> xD
<CalistoMathias> that is the only one thing that I do decently well xD
<OscarL> not sure why that changed, it used to not be necessary (the chmod step, I mean)
<OscarL> CalistoMathias: remember that you can work on a local branch (as to not worry too much for what's happening on master)... and then just push your changes from there.
<CalistoMathias> yah i was thinking about doing that right now
<CalistoMathias> idk seems like i need to get a much better hang about the git workflow
<OscarL> having that commit-msg properly setup, working on your own branch, should take away most of the pitfalls.
<CalistoMathias> do you have any really good web resources on learning the git workflow... the ones on youtube aren't generally comprehensive to the level that this requires :(
<CalistoMathias> okay so i should probably just checkout to a new branch
<CalistoMathias> and then do the same regular thing?
wintp has quit [Ping timeout: 480 seconds]
v_harkonnen has quit [Remote host closed the connection]
<OscarL> yea, regular git stuff.
<CalistoMathias> cool
<OscarL> the "weird parts" for me was that "push to HEAD:refs/for/master" (just for being unfamiliar with it)
<OscarL> and the process to update my local commits, in case some changes are made ON gerrit, (by reviewers, for example).
<CalistoMathias> so just for confirmation (so as to not screw things up)
<CalistoMathias> create branch -> commit -> rebase -> push (all while following the guide)
<CalistoMathias> even im unfamiliar with that one
<CalistoMathias> never seen it before xD
<OscarL> I *think* it is because how gerrit keeps track of changesets... you do not push a branch, but particular commits.
<CalistoMathias> oh okay
<OscarL> sounds all greek to me but... even I managed to use it, so... can't be *that* bad :-D
<CalistoMathias> so wait in this like for the branch to get merged with the main/master branch? what exactly is the process... is it the regular merge request?
<CalistoMathias> i know these are really bad questions but I just want to be sure so that I don't mess up really bad xD
<OscarL> As I see it: you don't "merge request", you "propose changesets"
<CalistoMathias> oh okay
<OscarL> those gets revied on Gerrit, they get merged or not.
<CalistoMathias> oh okay
<CalistoMathias> so that's after the review is done
<CalistoMathias> and not to be done by me right?
<CalistoMathias> like it doesn't have to be initiated from my side like on GitHub or something?
<OscarL> you may have to iterate on your changes a few times before it gets merged.
<CalistoMathias> cool
wintp has joined #haiku
<OscarL> you'll see how it works when your first push ends...
<CalistoMathias> so ill create a branch do the things and come back ...
<CalistoMathias> yahhh
<OscarL> git will output a message...
<CalistoMathias> hopefully it doesn't screw up :(
<OscarL> saying SUCESS... and giving you a link to the gerrit review for your changeset.
<CalistoMathias> okay I should probably go and read a commit message format
<CalistoMathias> have to write my first one xD
<CalistoMathias> kind of excited lol
<OscarL> indeed!
<CalistoMathias> Do I need too add in information about Author, AuthorDate, etc. by myself in the commit message file? or is it automatically done by commit-msg or something?
<OscarL> "MediaPlayer: fixed this and that." <<< first line of commit, then on body, explain why, add link to ticket number, as in "Fixes #10475".
<OscarL> No, all those are filled in automatically. Just make sure your git username/email are properly setup.
<OscarL> First line is "summary", then add an empty line, and then more text if you need to (that's the "body").
<OscarL> the commit-msg hook should add a "Change-Id:" line at the bottom (for Gerrit tracking purposes)
<OscarL> "git commit --amend" always comes in handy :-D
wintp has quit [Ping timeout: 480 seconds]
<CalistoMathias> okay so i created the branch by the name of MediaPlayerSettings added a commit
<OscarL> Try to keep line width on commit message to < 80 colums (some even suggest 72)
<CalistoMathias> now I just need to rebase and push it right?
<OscarL> sounds about right to me.
<OscarL> (using branches makes it easier for me to not screw things up, do clean up afterwards when things get merged)
<CalistoMathias> so on the branch i ran the rebase
<CalistoMathias> but it gave me that "There is no tracking information for the current bracnh blah blah"
CalistoMathias has quit [Quit: Vision[]: i've been blurred!]
<OscarL> they are not strictly necessary, in fact, I didn't used them for most of my (small) contributions, but that's just because I was really confused by the whole gerrit thing :-P
CalistoMathias has joined #haiku
<OscarL> you tried to just git push? or used:
<OscarL> git push origin HEAD:refs/for/master -o topic="MediaPlayer"
<OscarL> as the guide suggests?
<CalistoMathias> no no this was for rebasing
<OscarL> wait... I read you wrong.
<CalistoMathias> i ran the command while on the new branch
<CalistoMathias> so i typed in git pull --rebase
<CalistoMathias> and it asked me for tracking info and gave me a command
<CalistoMathias> "git branch --set-upstream-to=origin/master MediaPlayerSettings"
<OscarL> git pull --rebase origin master ?
<CalistoMathias> okay wait ill try that one out
<OscarL> set-upstream also sounds like a good thing to do :-D
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
ClaudioM has quit [Quit: leaving]
ClaudioM has joined #haiku
<CalistoMathias> okay im going to push now xD
<CalistoMathias> lets see :death
* OscarL crosses fingers!
<nekobot> [haiku/haiku] waddlesplash pushed 2 commits to master [hrev57609] - https://git.haiku-os.org/haiku/log/?qt=range&q=b3a7feb16884+%5Ec9d1e840ac26
<nekobot> [haiku/haiku] e4efd92e7872 - ipv4 & ipv6: implement connect() by setting the socket's peer address
<nekobot> [haiku/haiku] b3a7feb16884 - network/ping: remove workarounds for connect()
<OscarL> CalistoMathias: it may take quite a while on the "remote: Counting objects" steps, do not worry if that's the case.
wintp has joined #haiku
<CalistoMathias> yup
<CalistoMathias> i got worried for a second
<CalistoMathias> but it gave out SUCCESS
<CalistoMathias> and a link
<OscarL> :-D
<CalistoMathias> https://review.haiku-os.org/c/haiku/+/7481 Is everything alright with this?
<OscarL> look so to me. Commit message lines could split to < 80 or 72 chars, but that's not mandatory, AFAIK.
<CalistoMathias> oh okay ... ill keep that in mind from next time... it didn't strike this time.. i did put linebreaks in tho
<CalistoMathias> honestly thank you so much OscarL
<OscarL> no problem at all CalistoMathias :-) thank you for your interest on Haiku!
<CalistoMathias> I'm glad you were so patient while helping me out with this... it means a lot :)
<OscarL> we all have to start somewhere...
<CalistoMathias> i know the questions are really lame but its my first time so please don't mind :)
<CalistoMathias> yup
<OscarL> some of us (me) don't progress much, but... still :-D
<CalistoMathias> well I should probably go and sleep xD ... Have Uni in 4 hours :death
<CalistoMathias> ill come back online tomorrow xD
<CalistoMathias> thanks again :)
<OscarL> +1 Sleep well!
<CalistoMathias> :)
CalistoMathias has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
HaikuUser has quit []
wintp has quit [Ping timeout: 480 seconds]
Atomozero has quit [Quit: Vision[]: i've been blurred!]
wintp has joined #haiku
TMM has quit [Ping timeout: 480 seconds]
wintp has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit []
TMM has joined #haiku
wintp has joined #haiku
<OscarL> Bah... trying to run "git instaweb -l" on Haiku, "500 Internal Server Error" when using lighttp, timeouts when using python as server :-(
<OscarL> mmm, "suitesparse" providing "cmd:mongoose" surely is confusing!
wintp has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser has quit []
HaikuUser2 has quit []
coolcoder613 has joined #haiku
AlaskanEmily has joined #haiku
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
wintp has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
mmu_man has quit [Remote host closed the connection]
mmu_man has joined #haiku
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
wintp has joined #haiku
x10z has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x10z has joined #haiku
wintp has quit [Ping timeout: 480 seconds]
x10z has quit []