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
<OscarL> No idea really. Maybe ask AGMS if you see him around?
<B2IA> (UnrealNeil) I might ask Siri ;-)
<OscarL> "Siri, can I run a muscle server on my nas?" --- "sure... hit the gym first."
<B2IA> (UnrealNeil) oh! a rebbot is required...... back Soon!
mishima has joined #haiku
<B2IA> (UnrealNeil) <takes a seat in the corner behind a potted palm>
mishima has quit [Ping timeout: 480 seconds]
jess has quit []
mishima has joined #haiku
<B2IA> (AGMS) Butler message for UnrealNeil Yes, you can run a BeShare server (and bots) on Linux. Source code is part of the https://github.com/agmsmith/BeShare repository.
<B2IA> (AGMS) That code uses the old 3.40 BeShare Muscle library, on purpose for backwards compatibility when compiling BeShare for PPC computers.
<B2IA> (AGMS) Hi UnrealNeil, did you get the messages from Butler?
<B2IA> (UnrealNeil) yes
<B2IA> (UnrealNeil) one
<B2IA> (AGMS) Should be 2, try a butler catsup 10 instead.
<B2IA> (UnrealNeil) butler catsup 10
<B2IA> (UnrealNeil) thanks
mishima has quit [Ping timeout: 480 seconds]
<B2IA> (AGMS) Anyway, this Beshare server is running on Fedora Linux, recently recompiled so new new compiler quirks with GCC12.
<B2IA> (UnrealNeil) i have an old debian, and it's argueing with me about unsafe repositorys
<B2IA> (AGMS) Oops, "no new compiler quirks""
<B2IA> (UnrealNeil) i'll look into it more tonight
<B2IA> (AGMS) Have fun, I'll be away tomorrow at a big data conference at the local university.
<B2IA> (UnrealNeil) but since it's running 24x7, i might as well set it up...
<B2IA> (UnrealNeil) AGMS thanks very much for the link
<B2IA> (AGMS) No problem.
<B2IA> (AGMS) Would be nice to have an alternate BeShare server too!
<B2IA> (UnrealNeil) ok, what do i need to read up on for that?
<B2IA> (AGMS) Bonus points if your router can do Hairpin Routing, so you can access your server as if you were outside (otherwise other users get your internal LAN address rather than your BeShare client address when querying the server).
<B2IA> (AGMS) There should be docs in that repository. Basically you run muscled with some command line argments and config files, and then run Atrus or whatever the bot is called.
<B2IA> (UnrealNeil) ahhhh maybe more apt for my sons server setup
<B2IA> (UnrealNeil) ok. i'll look into it
<B2IA> (AGMS) Just means that without Hairpin, people can't download files from your BeShare.
<B2IA> (AGMS) Though you could just log into my BeShare and then other people will see your external IP address and be able to download (if your firewall is open for BeShare file sharing).
<B2IA> (AGMS) Anyway, that's what I have set up for the #Haiku BeShare client user, which shares files and copies text to IRC.
<B2IA> (UnrealNeil) ok, thanks
<jessicah> beshare file sharing back in the day was pretty epic
<B2IA> (AGMS) Must have been a lot of people who knew how to forward ports in their router.
mishima has joined #haiku
<jessicah> hmm, pretty sure beshare handled traversal pretty well
<jessicah> but it was a long, long time ago
<B2IA> (AGMS) It couldn't handle routing if both ends of a file transfer were firewalled.
<jessicah> and jealous of people with their dual cpu systems :p
<B2IA> (AGMS) So if you were sharing files, it was best to forward the BeShare file sharing ports, 7000-7009 (or more for however many simultanous connecitions you were expecting).
<zdykstra> Dual P2-350, awww yeah
<zdykstra> That thing was the bees knees
<B2IA> (AGMS) Yup, dual P3/550Mhz Pentiums here. Big slot cartridges with built in fans, now failing, so I don't run it much.
<OscarL> reading the IRC logs... I see that BrunoSpr managed to hit what I suspected could happen with the AboutSystem replicant, sigh. (https://review.haiku-os.org/c/haiku/+/6158, first comment).
<B2IA> (AGMS) I'm surprised how zippy my laptop from last year is.
<zdykstra> I upgraded to P3s of some kind when there was a fire sale on them. That system is long gone, though :(
<OscarL> way to trigger that bug? Add a AboutSystem replicant to desktop, change your CPU, then update your Haiku install :-D
<zdykstra> lol
<zdykstra> Back in the day of slot mount CPUs, that'd be easy!
<OscarL> or just moving your HDD/USB-drive to another PC, I guess
<OscarL> Any way.... Adding that to my ToDo list. At least I know how to fix that one :-D
<zdykstra> Pff, don't be practical
mishima has quit [Ping timeout: 480 seconds]
AlienSoldier has joined #haiku
<jessicah> ah yeah, I hate a slot mount P3-600
<jessicah> had*
<jessicah> they've kind of made a comeback of sorts with the nuc compute element
<B2IA> (AGMS) Also annoying people with dual P3-800 systems. Oh well, at least mine had error correcting memory.
mishima has joined #haiku
<B2IA> (AGMS) Anyway, that Pentium series (PII the first really) let you view JPEGs quickly. Then the Core 2 let you do video. Intel generation 12 lets you do what? Hmmm, maybe running AI is the next benchmark.
<B2IA> (AGMS) Anyway, bedtime, got a day of head spinning lectures tomorrow on big data. I'm sure someone will mention AI there too.
<AlienSoldier> Well video can still be compressed a lot i think if more cpu is available
<AlienSoldier> not something completely new that said
mishima has quit [Ping timeout: 480 seconds]
<Skipp_OSX> AVX512, VMX
mishima has joined #haiku
<Skipp_OSX> let's you do vm's quickly basically
HaikuUser has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
HaikuUser has quit []
<B2IA> (UnrealNeil) butler catsup 100
<AlienSoldier> OscarL blockout is quite nice. full screen in 16x9 screen is a bit anoying because the askpect ratio resolution are only 4:3 so it is stretched. Also it crash on exit here. It also weirdly never appear in my "recent application" directory after i run it. It would also need an icon (hopefully with the hand from the coverart of the original hand on the current binary 3 block haiku icon)
<OscarL> AlienSoldier: it not appearing on your recent list is due it missing .rsrc (with App flags/icon/version) I think.
<B2IA> (UnrealNeil) butler catsup 50
<OscarL> Should be an easy fix if that's the case. We need someone to draw an icon for it thou :-D
<AlienSoldier> OscarL now i feel challenged to rank #1 on the online score :P
<OscarL> :-D
<OscarL> bbiaw.
mishima has joined #haiku
<B2IA> (UnrealNeil) <suspect>
mishima has quit [Ping timeout: 480 seconds]
<AlienSoldier> comparing pc version and amiga one, the amiga one is better. Copper list depth effect and a better selection for different height level.
<AlienSoldier> UI is also better, so is the title screen and music
<AlienSoldier> the remake is definitively based on the PC version
mishima has joined #haiku
<AlienSoldier> genesis one seem the worst
mishima has quit [Ping timeout: 480 seconds]
Maturi0n_ has joined #haiku
<AlienSoldier> ho, arcade one have 2 player simultaneous option
smalltalkman has joined #haiku
<AlienSoldier> I think that game could be done quite well on vectrex
<moparisthebest> Does anyone use rust much on haiku ? Like can I do something to make libc compile?
<waddlesplash> nielx[m] is the one who maintains the rust port, and I know kallisti5[m] is also a rust programmer
<moparisthebest> It fails to link because -lunix can't be found
<waddlesplash> we don't have any such thing as "-lunix" so I'm not sure why it would try to link against that
<moparisthebest> Right
<waddlesplash> the system C/POSIX library is "libroot"
<waddlesplash> with network-related (socket, etc.) functions in libnetwork
xet7 has quit [Ping timeout: 480 seconds]
<waddlesplash> moparisthebest: pretty sure the "libc" crate has haiku support
mishima has joined #haiku
Maturi0n has quit [Ping timeout: 480 seconds]
<waddlesplash> I think this PR broke it
<waddlesplash> link name=unix
<waddlesplash> that's wrong
<waddlesplash> it should be name=gnu
<moparisthebest> Aaaahhhhh could be
<moparisthebest> Yea there are some binary rust crates in the package repo but "cargo install" failed to compile them, hence my question
<waddlesplash> looks like that PR was just last month
<waddlesplash> so this has not been broken for very long
mishima has quit [Ping timeout: 480 seconds]
<moparisthebest> I want to mention, I've been using Linux for... 18 years now? And I'm very impressed with haiku
mmu_man has quit [Ping timeout: 480 seconds]
<OscarL> SuSE 5.1 in 1998... trying to test that "linux thing" without borking my father's PC... oh the memories.
<waddlesplash> moparisthebest: :)
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
Disreali has joined #haiku
Disreali has quit []
<OscarL> removing a big "work-" dir under haikuporter (for lapack in this case) seems to take as long as actually build the package :-D
<OscarL> (exaggerating, of course... mmm maybe not *that* much)
mishima has joined #haiku
<waddlesplash> condvars post just crossed 100 points on HN, and it still has 0 comments
<waddlesplash> I wonder how often this happens?!
<OscarL> everytime the topic at hand makes people upvote it while not actually being smart to critique it :-P
<waddlesplash> but HN commenters *love* to talk about things they doesn't understand :-p
<OscarL> I may be confusing it with reddit thou
<OscarL> :D
<waddlesplash> or, if they really don't understand it, accuse it of being a poor explanation
mishima has quit [Ping timeout: 480 seconds]
<OscarL> I'm with nipos (over the forum) here... even if I can't say understand it all, it is damn good to have such articles.
* OscarL gets back to read the rest of it :-D
<waddlesplash> well, part of the idea was to make it comprehensible to the "average programmer"
<waddlesplash> if you can understand locks/semaphores, and atomic operations, then the idea was this should be comprehensible to you
<B2IA> (UnrealNeil) butler catsup 10
<OscarL> yeah, I mean to say... I understand what is said (it is clear enough, thank you!).... I'm just not good enough of a programmer to do much more than admire the work :-D
<waddlesplash> ah
<waddlesplash> well, that's fair I suppose :)
<waddlesplash> good to know that I succeeded in clarity, at least :)
<OscarL> +2
<OscarL> I still rember reading about benaphores WAY back, and being equally impressed :-P
mishima has joined #haiku
<zdykstra> also damn it, why is the Haiku GUI so pretty?
<OscarL> Also... articles like this help me better understand things when reading actual code, so... double thanks :-)
<OscarL> zdykstra: work of love, I guess? (and having at least some people with actual graphical talent working on it surely helped :-D)
<OscarL> still remember some of the early discussion over using gradients on the tabs... purist went mad :-P
mishima has quit [Ping timeout: 480 seconds]
<waddlesplash> heh, now I got a comment on HN, at just over 100 points
<zdykstra> They took some getting used to, that's for sure :)
<zdykstra> The icons, for me, are the best part. Nothing else comes close to them.
<jessicah> moparisthebest: ah, yeah, that's definitely a new failure; I've also done work on porting rust libs in the past
<waddlesplash> jessicah: pretty sure that PR I linked from a month ago is the culprit
<jessicah> the biggest issue with rust on haiku is the lack of an equivalent of kqueue and friends
<jessicah> waddlesplash: yep, I saw
<OscarL> zdykstra: Stippi did an awesome job (gui/hvif).
<waddlesplash> zdykstra: yeah, Haiku's icons really are awesome
<jessicah> lots of things want to use mio and such, which has no haiku implementation last I checked
<waddlesplash> we should agree on how to implement kqueue and then do it
<waddlesplash> x512[m] has this interesting prototype using KMessage delivery to BLooper ports
<jessicah> well, we don't need to implement kqueue itself; but yeah, something similar, but designed for haiku
<waddlesplash> however, it requires some pretty odd additions to the port code and to BLooper to send messages back upon message receipt
<jessicah> was wait_for_objects meant to do that?
<waddlesplash> wait_for_objects is just glorified select
<x512[m]> waddlesplash: I also plan to use it for sigevent with POSIX timer and async IO.
<jessicah> ah that's right, it wasn't a single fd to wait on, right? which is the difference?
<waddlesplash> hamishm has an old branch where he implemented an event_queue that was a stateful wait_for_objects
<waddlesplash> which had a single FD to wait on
mishima has joined #haiku
<waddlesplash> that's more in line with what Linux and the BSDs have, and implementing kqueue on top of it would be pretty easy
<waddlesplash> inside libbsd for example
<jessicah> I really should try and get into kernel dev at some point...
<waddlesplash> x512[m]: yeah, but I wonder if it makes sense to use/require BLoopers for this. it means everything that wants async IO simply has to link to libbe and use BLoopers, which take up a whole thread
<waddlesplash> or, they have to implement the "Reply" logic outside BLooper
<waddlesplash> while your solution does on the surface seem more "Haiku-y" I wonder if it's not a great idea for that reason alone
<x512[m]> I originally planned 2 modes: KMessage and raw struct passed to port. Second one can be used for pure C code.
<waddlesplash> and thus the event_queue FD, directly building off wait_for_objects, is the better idea
<x512[m]> POSIX timer generating KMessage's can be used to implement BMessageRunner without registrar thread.
<x512[m]> Why FD is better idea?
<x512[m]> It can't be integrated with BLooper event loop.
<waddlesplash> because most of the things that want to do asynchronous IO notifications are not using BLoopers
<waddlesplash> e.g. curl, node.js, rust applications
<waddlesplash> they will be the major consumers of this new API; and moreover, they aren't even linked to libbe at all, much less using BLooper
<x512[m]> Using something like waiting for both FD and BLooper port will cause unfair scheduling. For example if FD will be first, port message processing will stall if there are a lot of FD events.
<waddlesplash> or even BMessage
<waddlesplash> x512[m]: so, use another thread
<waddlesplash> and that other thread can process I/O messages, and decide to generate BMessages if needed
<waddlesplash> we are a "pervasively multithreaded" system after all
<x512[m]> Use another thread is bad idea, introduce additional overhead and complexity.
<waddlesplash> but we already do that all the time
mishima has quit [Ping timeout: 480 seconds]
<moparisthebest> make it work first, optimize later, imho
<waddlesplash> x512[m]: wineserver would use this API, won't it? doesn't it already do all IO on one thread?
<waddlesplash> moparisthebest: sure, but that doesn't exactly apply to API design
<moparisthebest> yea, tricky there
<waddlesplash> you need to think about performance at least a little bit in these ares
<waddlesplash> areas
<x512[m]> It should be not a problem to read events from port in wineserver.
<waddlesplash> no, but the point is, you're not using ports there already
<waddlesplash> so I agree it does sound neat to have select/waitforobjects messages go directly to a port ... but what is the actual use-case for that?
<x512[m]> I am against bringing Linuxish things for no reason.
<waddlesplash> x512[m]: oh, also this is another case of string comparison overhead being introduced
<waddlesplash> x512[m]: well, sure. but we already have wait_for_objects
<waddlesplash> I agree very much that we should not introduce all these "fd"s objects Linux has because of epoll
<waddlesplash> but we already have wait_for_objects which can handle multiple object types very well, so, why not extend it?
<x512[m]> port reading fits better to Haiku design than introducing some Linux epoll like FD.
<waddlesplash> x512[m]: under your model, every IO event message will have to do string comparisons to read the message and process it, that's not small overhead ultimately
<waddlesplash> x512[m]: the BSDs don't have epoll, they have kqueue, it's not nearly as Linuxy
<waddlesplash> x512[m]: oh, also ... how will your model handle fork()?
<waddlesplash> I think you can share a kqueue across a forked process
<waddlesplash> we don't support sharing ports
<waddlesplash> unless I missed something
<x512[m]> Again, I also planned raw struct mode.
<waddlesplash> okay, but then we've got a bunch of extra complexity in the kernel
<waddlesplash> for the 1-2 applications that *really* want to process IO events on a BLooper thread, easy enough to create a forwarding system
<waddlesplash> we could even put it in the support kit or at least libshared, in tree
<waddlesplash> (or, storage kit, or whatever)
<waddlesplash> forks are the biggest thing, I think, though
<x512[m]> An idea is allow to use existing application kit to build networking and IO-heavy applications.
mishima has joined #haiku
<x512[m]> When fork is needed for event processing? Multiple processes can read from the same port anyway.
<waddlesplash> they can?
<waddlesplash> I kind of doubt many people are going to build network/IO heavy apps with the Application Kit, honestly
<waddlesplash> network/IO "light" apps, sure
<waddlesplash> but "heavy" apps, that's stuff like node.js or golang or rust these days
<waddlesplash> Haiku doesn't, strictly speaking, need this API for our native apps, so we should think primarily around the consumers who do
<x512[m]> It is very strange idea that efficient event processing is not needed for native applications. As well as abandoning making native Haiku networking/IO applications. That basically is admitting that Haiku is dead OS.
<x512[m]> Fully featured OS should promote using native API.
<x512[m]> If the task is only run ported applications then using original OS instead (Linux etc.) is better idea.
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
<x512[m]> There are also common use case for GUI applications that need networking/IO.
<x512[m]> Application Kit integration would simplify writing such applications. No need to design custom loop threads etc..
<x512[m]> Async IO can be used for example for flasg disk imaging GUI application.
<moparisthebest> any dropdown terminal applications for haiku? often referred to as "quake style" ?
<moparisthebest> after so long I basically can't use a computer unless I can type into a bash terminal immediately after pressing F12
<augiedoggie> i have a script that i use to emulate a drop-down that is set to F12 too :P
mishima has quit [Ping timeout: 480 seconds]
<moparisthebest> please share :)
<zdykstra> I was just going to say that it sounds like a job for hey
<waddlesplash> x512[m]: I genuinely think that native applications, if they need so much event processing to warrant asynchronous processing should do it on another thread entirely
<waddlesplash> that should be plenty efficient. we are, again, the OS of many threads, after all
mishima has joined #haiku
<moparisthebest> augiedoggie, works beautifully, thank you
<augiedoggie> nice :)
<zdykstra> Insert Oprah 'you get a thread, you get a thread' gif
mishima has quit [Ping timeout: 480 seconds]
randomuser86 has quit [Remote host closed the connection]
<OscarL> mmm Can't seem to be able to "Save as" a text file (augiedoggie's qtem-toggle.sh gist) with Web+... no file gets saved :-/
mishima has joined #haiku
<OscarL> That was when trying to "Save as" the "raw file". Using "Download Linked file" on the "Raw" button, downloaded the file just fine.
<OscarL> or not... can't actually find th darm file now :D
<OscarL> wget to the rescue.
mishima has quit [Ping timeout: 480 seconds]
<OscarL> coolio.. works like a charm, another thanks from here augiedoggie!
<augiedoggie> :)
<moparisthebest> augiedoggie, any thoughts on how to adjust the height or width :)
<augiedoggie> i use the terminal profile option in the script to do that
<augiedoggie> save a custom profile to a file from inside Terminal
<OscarL> "windowLocation=140" works for my setup (res / Terminal font size)
<augiedoggie> you could also do it with another hey command
HaikuUser has joined #haiku
<OscarL> (so it get nicely horizontally centered)
<augiedoggie> but it's easier to set the size in the profile
frkzoid has joined #haiku
mishima has joined #haiku
HaikuUser has quit []
<OscarL> it even autohides after it looses focus?!?! double coolio.
<moparisthebest> works perfectly, 50,0 works with max terminal size
<moparisthebest> (to center it)
frkazoid333 has quit [Ping timeout: 480 seconds]
mishima has quit [Ping timeout: 480 seconds]
higen6 has joined #haiku
mishima has joined #haiku
<jessicah> I removed the frame resize and used `hey ${QTERMPID} set Frame of WIndow 0 to "BRect(0, -20, 1920, 1200)" for fullscreen
<jessicah> and then assigned to win+tab :)
Skipp_OSX has quit [Quit: Textual IRC Client: www.textualapp.com]
mishima has quit [Ping timeout: 480 seconds]
<OscarL> A purist would use ` (or º on my Spanish keboard layout :-P)
mishima has joined #haiku
<OscarL> "`" would make using code block quite a nightmare on markdown-based apps/sites, thou :-D
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/61ce97a342c0...6bfff6549cd2
<botifico-c849d97b> [haikuports/haikuports] humdingerb 6bfff65 - Monsterz: Add type and app signature (#8511)
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
<OscarL> blockout2 could use a small patch to move its setting dir ("./bl2") out of $HOME. /me tries.
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
<OscarL> Something's odd with the blockout2 .patchset file from eblanca. After adding my small patch, and using hp -e to extract them all, the new patch set has plenty more lines modified than it should.
<OscarL> (lots of "^M" is what gvimdiff is showing)
Begasus has joined #haiku
<OscarL> mix of \n and \r\n, I guess?
<Begasus> g'morning peeps
<Begasus> 'lo OscarL :)
<OscarL> hey there Begasus :-)
<B2IA> (UnrealNeil) 15:38 good afternoon Begasus
<OscarL> no wonder I coudln't apply eblancas patch set when running hp with -G (was failing to apply then), but when having a git work repo, it worked.
Begas_VM has joined #haiku
<OscarL> I think git is doing an auto-conversion of those end-lines.
mishima has quit [Ping timeout: 480 seconds]
Begasus_32 has joined #haiku
<OscarL> UnrealNeil 2:39 AM here... guess it is morning somewhere :-D
<Begasus> it is ... here :)
<Begasus> g'afternoon UnrealNeil :)
<OscarL> ah... yes... Pe shows that some (most?) of blockout sources have "DOS" line endings.
<OscarL> Guess eblanca used an editor that didn't checked for that, or the patches he applied used only \n.
<OscarL> heh, the patched files have "Be/Unix" line endings according to Pe. That explains why I see ^M when comparing the resulting .patchsets... git doing the right thing.
<Begasus> part of that patchset came from other patches (debian etc I think)
<OscarL> yeah... either those had the wrong line-endings, or those got screwed in the process of appliying them, I guess.
<OscarL> hp -e should have fixed that on eblanca's side in anycase, I guess. Oh well.
mishima has joined #haiku
* OscarL attempts a build after "hp -c blockout2" to see if everything applies cleanly now (even with hp -G)
<Begasus> something needs changing there?
<OscarL> yep, was talking abot that *right* before you logged in :-)
<OscarL> I wan't to move blockouts settings out of $HOME.
<OscarL> ~/.bl2 looks ugly :-P
<Begasus> ah, stored in ~.?
<OscarL> will use find_directory() and use "blockout2" for the dir name.
<Begasus> move it to ~/config/settings/blockout2 then :)
<OscarL> adding an .rdef too and a crude icon :-)
<botifico-c849d97b> [haikuports/haikuports] humdingerb pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/6bfff6549cd2...8119bd88ade2
<OscarL> already have the patch Begasus... but can't run the build if I'm explaining things... sigh...
<botifico-c849d97b> [haikuports/haikuports] humdingerb 8119bd8 - ffmpegGUI: update to v1.2
<OscarL> :-P
<Begasus> heh
mishima has quit [Ping timeout: 480 seconds]
<OscarL> for the app_signature.... does "application/x-vnd.games-puzzle.blockout2" sounds about decent, right?
<Begasus> sounds good enough to me (not an expert there)
<OscarL> (reusing parts of the recipe location/name)
<OscarL> as long as it doesn't clash with anything else... we're fine, I guess (that's why I'm using the "games-puzzle" part too)
<Begasus> don't know how many use the sub parts :)
<OscarL> cool, hp -G now has no trouble patching the sources.
<Begasus> is edk being used system wise?
<Begasus> looks like it is connected to some EFI development
mishima has joined #haiku
<OscarL> inrecipe edk2 doesn't finds anything other than edk2's own recipe.
<OscarL> and that only provides "edk2" so... I guess not?
Begasus_32 has quit [Remote host closed the connection]
<Begasus> from 2018, trying to see if it builds with python3.9
<OscarL> will check in Haiku's sources.
<OscarL> only mentioned in a comment, and on a test file, it seems: https://xref.landonf.org/source/search?q=edk2&defs=&refs=&path=&hist=&type=&project=haiku
<OscarL> (not the package, but "edk2", I mean)
mishima has quit [Ping timeout: 480 seconds]
<Begasus> not enabled for 32bit, so I gather nothing is being used there
<trungnt2910[m]> Another good way to render a Haiku system unstable:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/xQnVbCSGAqJVpRNVHsVmoiQX>)
mishima has joined #haiku
<OscarL> really hate these "error: conflicting declaration 'typedef unigned int...." sigh.
<Begas_VM> SupportDefs.h to the resque! :P
<OscarL> guess so, with an "#elif __HAIKU__", I guess?
<Begas_VM> should do the trick yes
<Begas_VM> mostly I use "#if defined ..." there
<OscarL> there's already an #ifdef WINDOW...#else... that's why I went for the #elif.
<OscarL> aaand... I mangled the rdef somehow :-D
<Begas_VM> makes sense :)
<Begas_VM> nice going :P
<OscarL> ah... this $portVersion doesn't has MINOR_VERSION, that's why... pheeew.
<OscarL> can deal with that.
mishima has quit [Ping timeout: 480 seconds]
<Begas_VM> tssss :P
mishima has joined #haiku
<PulkoMandy> waddlesplash, x512[m]: regarding tonight discussion about kqueue/wait_for_object (this kind of discussion should be somewhere else than the irc channel so people can participate and not miss it in the middle of the night)
<PulkoMandy> For netservices it would be extremely useful to have some way to process network stuff and BLooper messages in the same thread. Waddlesplash you say it's easy but netservices shows it is not at all
<PulkoMandy> We had massive performance issues, threading problems, abuse of signals, and a few more things I don't want to remember
<PulkoMandy> And this is not the only case where I had to solve "I want to have my BLooper handle some non-BMesage events", the other case is in the ACE emulator, but I managed to do it there by waiting for the next BMessage with a timeout
<PulkoMandy> I don't really care which way it is done: serialize all events into a port and read them from there, or have some new API like kqueue and allow it to wakeup when a port is ready to read, alongside fds and other stuff (ideally also pthread_mutex and the like, tqatws not possible with linux epoll and it's a bit annoying)
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
Diver has joined #haiku
MajorBiscuit has joined #haiku
Diver is now known as Diver
freddietilley has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Quit: WeeChat 3.6]
<OscarL> Begasus: https://github.com/haikuports/haikuports/pull/8512 ready on my end.
mishima has joined #haiku
<Begasus> did you add the icon in the rdef?
<Begasus> don't see any change there in the PR
<OscarL> darn.
<OscarL> added the .hvif only I guess, heh, lemme check.
<OscarL> Done. thanks Begasus :-)
<Begasus> thanks :)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+2/-0/±2] https://github.com/haikuports/haikuports/compare/8119bd88ade2...8e5f0e8d4bc7
<botifico-c849d97b> [haikuports/haikuports] OscarL 8e5f0e8 - blockout2: small tweaks. (#8512)
mishima has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #haiku
<OscarL> just noticed humdingerb's change on Monsterz, nice.
<Begas_VM> tss, keep up :)
* Begas_VM feels another PR comming up for BO2 :P
<OscarL> did I forget something? (other than that, addin the .rdef/rcrs should accomplish the same for Blockout II)
mishima has joined #haiku
<OscarL> builds look fine... pheew.
<Begas_VM> ah ok :)
mishima has quit [Ping timeout: 480 seconds]
<Begasus> thought you needed that too now :)
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/8e5f0e8d4bc7...64f4f53b5ed1
<botifico-c849d97b> [haikuports/haikuports] Begasus 64f4f53 - bind_utils, build fix (#8513)
<OscarL> I think is time for me to update Pe's Lout support (now that we have lout in the repos)
<Begas_VM> rings a bell here :)
<OscarL> :-)
<Begasus> wasn't wrong :D
<OscarL> mmm we have "finddir" for the command line.. is there something similar for B_FIND_PATH_* ?
<Begasus> that doesn't ring a bell here :P
<OscarL> re: lout... yeah, you added it after I talked about it in september last year (amid some talks of Tex/texlive)
<OscarL> duh... "/bin/findpaths" :-D
<Begasus> see, I aim to please :)
<OscarL> consider yourself patted in the back! (can't do much more from down here :-P)
mishima has joined #haiku
<Begas_VM> argh .. manpages for bind_utils are in the wrong place ...
<Begas_VM> heh
<Begas_VM> lol, libsolv manpage also in wrong place :P
<Begas_VM> hmm ... should be for another cleanup
mishima has quit [Ping timeout: 480 seconds]
<OscarL> no wonder I don't recongnize parts of the code on Pe's "Lout_Popup.l" code... AxelD was kind enough to do some refactoring there :-D
<Begasus> issue created
<OscarL> "Improved the code by using BPath instead of doing ugly string stuff." How *dare* he call my code ugly?!?!?
<OscarL> Atrocious is much more fitting!
<Begasus> lol!
<Begas_VM> might as well fix this one for bind_utils while I'm at it
mishima has joined #haiku
tuaris has quit [Quit: Leaving.]
mishima has quit [Ping timeout: 480 seconds]
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/64f4f53b5ed1...bfd07545a2b4
<botifico-c849d97b> [haikuports/haikuports] Begasus bfd0754 - bind_utils, move manpages to the correct place (#8515)
kikadf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Begasus> that should fix the manpages for bind_utils
<OscarL> mmm, I will either need to change the recipe (so Lout's data ends up in data/lout/ (with no version), or find out how to get the installed version from the Pe addon :-D
mishima has joined #haiku
<Begas_VM> patches welcome :)
<Begas_VM> --oscar=0/1 Disable/enable Oscar part :)
<Begas_VM> (from bitlbee)
mishima has quit [Ping timeout: 480 seconds]
<OscarL> LOL
<OscarL> does that disables the crazy part or the sane one. (not much difference here, really :-P)
<Begas_VM> another python one :P
<Begas_VM> yep ;)
<Begas_VM> updated automake to use python3 for the test, build is fast, tests take forever ...
<OscarL> I plant to stay away of auto* :-D
<OscarL> s/plant/plan/
<Begas_VM> no changes in the base packages, only for the tests (hence I'm running it) :)
mishima has joined #haiku
<OscarL> good guy Gugasus!
<Begas_VM> Gugasus? :)
<OscarL> silly attempt at a word play gone wrong :-P
<OscarL> "Good guy Gegasus" sounded even weirder :P
<Begasus> heh
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/bfd07545a2b4...b5d98e9214a4
<botifico-c849d97b> [haikuports/haikuports] Begasus b5d98e9 - bitlbee, switch to python3.9, cleanup (#8516)
<Begasus> another one you can strike from the list :)
<OscarL> nice.... will have to add it first :-P
mishima has quit [Ping timeout: 480 seconds]
<Begasus> lol
<OscarL> no wonder we make little progress on closing that list.
<Begasus> you need to step up :)
<OscarL> yeah... no.
<OscarL> :P
<Begasus> heh
<Begasus> that was fast (on buildmasters) :)
<OscarL> 150s... about the same as my mental delay. nice.
<Begasus> not so bad :P
mishima has joined #haiku
<Begas_VM> jikes ... kotatogram_desktop
<Begas_VM> this is gonna hurt I think (python2)
<OscarL> sounds "fun". Good luck!
mishima has quit [Ping timeout: 480 seconds]
<Begas_VM> llvm12 ...
mishima has joined #haiku
<Begas_VM> 1394 objects to build with ninja ...
<Begas_VM> meanwhile, tests for automake still running :P
<OscarL> BGhostview doesn't seems functional :-(
<OscarL> tried to open a .ps file with it... shows the correct number of pages, but no content, and then it freezes when you interact with it :-/
mishima has quit [Ping timeout: 480 seconds]
<Begas_VM> eeps
<OscarL> and even after a gazillion prompts from Debugger to install debug_info packages... I still don't know what am I doing there so... :-D
<OscarL> let's see if it says something when invoked from the console.
<OscarL> BLooper::ReadRawFromPort()... I guess it is wating for something (CPU usage is extremely low at least).
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/b5d98e9214a4...2af4698c00ef
<botifico-c849d97b> [haikuports/haikuports] Begasus 2af4698 - automake, switch to python3.9 for the tests, no revbump (#8517)
<OscarL> nothing on the terminal. it just hangs when you try to close it even.
<Begasus> create an issue for it so you can fix it later? ;)
mishima has joined #haiku
<OscarL> creating the issue now. Press X for doubt on the second part :-D
<Begas_VM> :P
<OscarL> As Lout's PDF output is suboptimal (works, but only for less complex things), having something to open .ps is kind of necessary :-)
mishima has quit [Ping timeout: 480 seconds]
<OscarL> maybe it broke with some update to ghostscript?
<Begas_VM> me doesn't know
<OscarL> mmm There's a "GhostScriptGUI" from the BeSly repos... let's see.
<OscarL> doesn't even starts :-(
<OscarL> had to manually crreate some a dir to make it start. Another case of "Works on my PC!" :-D
mishima has joined #haiku
<OscarL> it calls BGhostview so... no help there either :-(
<OscarL> using ghostview to do the PS->PDF converison works at least.
<OscarL> *conversion (I sound dyslaexci :-P)
mishima has quit [Ping timeout: 480 seconds]
<Begas_VM> another python one ... distcc
<OscarL> wanna the full list? run "ìnrecipe cmd:python$" :-/
<Begas_VM> I just tackle them as I see them :P
mishima has joined #haiku
<OscarL> "ìnrecipe cmd:python$ | grep -v rust | wc -l" -->> 100 (rust alone adds 30 more :-D)
<Begasus> not touching rust things!
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/2af4698c00ef...acb4eabb050f
<botifico-c849d97b> [haikuports/haikuports] Begasus acb4eab - distcc, switch to python3.9 (#8519)
<Begasus> there :)
HaikuUser has joined #haiku
<OscarL> nice... that was WAS in the list :P
HaikuUser has quit []
<Begasus> heh
mishima has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit []
<Begas_VM> jikes ... static and shared for libtool :/
<Begas_VM> and libtool file ...
mishima has joined #haiku
matt1 has joined #haiku
matt1 has left #haiku [#haiku]
HaikuUser has joined #haiku
<Begasus> :)
mishima has quit [Ping timeout: 480 seconds]
<OscarL> that's lucky :-D
<Begas_VM> yeah (one major library) :)
<OscarL> darn, I forgot how slow building the User docs for lout was... and I'll need to do it at least once more to test the recipe, heh.
<OscarL> (want to include "ready made" .pdf files for them... otherwise I doubt anyone would even bother with the docs)
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
<OscarL> All to avoid looking at Tex :-D
CPYou has joined #haiku
mishima has joined #haiku
<OscarL> PDFs look great at least.
<Begas_VM> tss ... in tex they look nicer :P
<OscarL> considering that the lout package is < 2 MB... I'd made my mind about it :-D
<Begas_VM> considering the removed static libraries you gain several MB's for larger packages :P
<OscarL> imaging filling a texlive worth of .a files... /me shudders
mishima has quit [Ping timeout: 480 seconds]
<Begas_VM> would double the build time :P
<Begas_VM> another 1035 objects for kotagram ...
CPYou has quit [Ping timeout: 480 seconds]
<Begasus> waddlesplash, if OK can you give the green light for libtool, should be fine imho
mishima has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-1/±0] https://github.com/haikuports/haikuports/compare/acb4eabb050f...4657e6bcc879
<botifico-c849d97b> [haikuports/haikuports] OscarL 4657e6b - hugen: retire recipe (Python 2.x only). (#8502)
<Begasus> don't think anyone is missing that :)
<OscarL> darn... another one, yeah :-D
<OscarL> to be fair the list was supposedly only for 3.7 :-P
<OscarL> (and 3.8, but don't tell korli, shhh!)
<Begasus> anythin lower then 3.7 should have been gone long ago :)
<OscarL> lazy guys over there on Haikuports, right? :P
<Begasus> :P
<Begasus> openwatcom? INSTALL ... false ... :P
<OscarL> we had openwatcom ?!?!
mishima has quit [Ping timeout: 480 seconds]
<Begasus> PulkoMandy, did some work there, but as it says false there is nothing in the depot for it
* OscarL founds the recipe.
<OscarL> s/founds/finds
<OscarL> ftp:// for the URI... you don't see that anymore these days :-/
<Begasus> from around 2015 so ... :)
<Begasus> patch for sparse and no recipe ...
<Begasus> jikes 2010 :P
<OscarL> some cleaning overdue :-)
<Begasus> me thinks so too
<Begasus> I'll leave the one for openwatcom, PulkoMandy can clean that too if he wants to keep it or not :)
<OscarL> k... try 2, this time trying to build the docs from INSTALL and not from BUILD :-D
mishima has joined #haiku
<OscarL> I'm still trying to wrap my head around the work-chroot thing.
<Begasus> why not in BUILD?
<OscarL> becaouse the resulting Lout doesn't seems to find its data files.
mishima has quit [Ping timeout: 480 seconds]
<OscarL> after adding the missing $binDir/ in front of "lout"... seems to be working. /me crosses fingers.
<OscarL> well, $prefix/bin, really (I'm on x86).
<Begas_VM> $commandBinDir then? :P
<OscarL> recipe said "cmd:lout" already so... who knows.
<OscarL> seems I miss read... I was thinking of $commandSuffix.
<Begasus> ah defaults to $prefix/bin (BINDIR not set there) :)
<OscarL> good thing I used that then :-P
<OscarL> too bad no fails because it can't find the OTHER command it provides... prg2lout :-/
mishima has joined #haiku
<OscarL> actually build the package, with the 4 pdfs in it still. 3.53 MB total size.. not bad. But the missing prg2lout surely has broken at least the code examples in the .pdfs :-D
<Begasus> it's not being build?
Anarchos has joined #haiku
<OscarL> it think the problem is how "lout" is trying to call "prg2lout".
<Anarchos> hello
<Begasus> hi Anarchos
<OscarL> seems to be looking for it on the wrong place, I guess.
<OscarL> Hi Anarchos!
Anarchos1 has joined #haiku
<Anarchos1> Begas_VM did you see my wonderful screenshot ?
<Begasus> not that I know of Anarchos1 :)
<Begasus> looks good, wxgtk?
<OscarL> Ah... Anarchos... https://ibb.co/ is the one Begasus uses to upload images (the one I couldn't recall the other day)
Anarchos has quit [Read error: Connection reset by peer]
mishima has quit [Ping timeout: 480 seconds]
<Anarchos1> Begasus no idea. I uses the haikuports version of gtk3, with gsourceview4 to interface to a layer ocaml<>gtk, used by coqide to display :)
<Begasus> Looks somewhat like Geany :) https://ibb.co/v1hMpgy
<Anarchos1> OscarL no trouble, i managed to get my screenshot upload to imgur :)
xet7 has joined #haiku
<Anarchos1> Begasus maybe geany uses gsourceview too ?
<Begasus> not to my knowlidge (in the recipe)
<Begasus> gtksourceview* (was looking around at repology) :)
<Begasus> outdated on haikuports it seems :)
Anarchos has joined #haiku
<Begasus> well ... maybe not, but there is gtksourceview5 already also :)
<Begasus> geany not listed as something using it :)
mishima has joined #haiku
<OscarL> (Lout's package and its PDFs look great, except the example prg2lout outputs in them appears only as "??" :-D) I need more coffee.
* Begasus hands OscarL a big cup of coffee ... extra strong
<OscarL> awesomo!
Anarchos1 has quit [Ping timeout: 480 seconds]
<Anarchos> 512[m] i had to copy xkb files from /boot/system/data/X11/xkb to /boot/home/config/settings/xkb to get gsourceview to work
<Anarchos> Begasus coq is a wonderful tool anyway
<Begasus> PR comming up in a bit then Anarchos ?
mishima has quit [Ping timeout: 480 seconds]
<OscarL> wonder if I need to add $prefix/bin to $PATH to make the recipe work :-/
xet7 has quit [Quit: Leaving]
<Anarchos> Begasus for the xkb config files ?
<Anarchos> Begasus anyway, time to get back to work...
<Anarchos> see you soon, folks
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<OscarL> didn't even got to say bye o/
<OscarL> wish I could stop the recipe a particular point, and then enter the chroot to see what's what.
<Begasus> put "false" at the end of INSTALL?
mishima has joined #haiku
<OscarL> some sort of "breakpoint" but for recipes... mmm wonder if my "my "press_key_to_continue()" could work...
xet7 has joined #haiku
<OscarL> Begasus: that might work. but be a real "break"point. no change to continue the build :-D
<OscarL> s/change/chance/
Blendie has quit [Quit: Connection closed for inactivity]
<OscarL> "false" it is then...
<OscarL> darn... hp -E enters the chroot... but first it clean ups the dirs :-/
mmu_man has joined #haiku
<OscarL> I want the enter the chroot in the state it was when it hit that "false" call :-(
mishima has quit [Ping timeout: 480 seconds]
<Begasus> some patches around at fedora
<OscarL> well the $PATH does points to /boot/system/bin/x86 (among others), but it doesn't includes $prefix/bin, so I guess that's why it doesn't finds prg2lout ?
mishima has joined #haiku
<OscarL> one way to find out...
<Begasus> ;)
Begasus_32 has joined #haiku
zard has joined #haiku
<OscarL> alright! that seems to have done the trick. will need to wait for the full build to confirm.
mishima has quit [Ping timeout: 480 seconds]
<Begasus> progress! :)
<OscarL> guess I shouldn't need to do $prefix/bin/lout after putting that $prefix/bin in export PATH=... :-D
mishima has joined #haiku
<OscarL> Unable to unmount :-/
<OscarL> but package under /hpkgs looks ok... lets see the PDFs
<OscarL> success!
mishima has quit [Ping timeout: 480 seconds]
Anarchos has joined #haiku
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
Blendie has joined #haiku
<Begasus> nice!
<OscarL> one last build to make sure everything is fine with my last tweaks... and to the PRs we go :-)
<OscarL> uff hp -c fails with "read-only file system: '.self' :-D
<OscarL> should learn to unmount /boot/system from the workdir.
mishima has joined #haiku
nosycat has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
mmu_man has quit [Ping timeout: 480 seconds]
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
<Begasus> looking into bumping libHX
mishima has joined #haiku
<Begasus> from version 4.* they started to use SO_DOMAIN/SO_PROTOCOL (linux only it seems)
<Anarchos> Begasus what is libHX ?
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
<Begasus> one of the libraries in sys-libs Anarchos
<OscarL> k PR open for Lout's doc... now to see if I my one-line patch for Pe's Lout support works as I wish :-D
mishima has quit [Ping timeout: 480 seconds]
xet7 has quit [Ping timeout: 480 seconds]
<Begasus> good to go OscarL ?
<OscarL> yup!
<OscarL> mmm WAIT
<OscarL> :-D
<Begasus> phew ...
eroux has joined #haiku
<OscarL> always something... sigh...
<OscarL> just noticed that my Pe patch didn't worked as expected...
<OscarL> seems my moving of louts data isn't working as intented :-/ "system/data/lout/lib" instead of just "system/data/lout/" sigh...
<Begasus> update your patch for Pe? ;)
<OscarL> :D
<Begasus> let's see if there is any test case ...
mishima has joined #haiku
<Begasus> ah, that's why it needed libnetwork ... :P
<Begasus> passed 4/4 ;)
mishima has quit [Ping timeout: 480 seconds]
<OscarL> man... that AxelD refactoring left a bug in there since 2008 :-D
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/4657e6bcc879...9d47280ce176
<botifico-c849d97b> [haikuports/haikuports] Begasus 9d47280 - libhx, bump to building version (#8523)
<OscarL> that shows you how many Lout users Haiku ever had... me :-D
<waddlesplash> PulkoMandy: x512[m]: hmm, perhaps the best solution would be, instead of forcing these events to go through a port, extending BLooper to wait on an event queue instead of just a single port
<waddlesplash> then it can invoke some other function if the event queue has events besides the bloopers own port
mishima has joined #haiku
<x512[m]> waddlesplash: I already said that waiting on port and something else have problem with fair event handling.
<waddlesplash> x512[m]: no, how would that be the case? wait for objects already handles multiple events occurring just fine.
<waddlesplash> so there may be dozens of events but as long as one of them is the port read there's no problem
<waddlesplash> in fact this is more ideal because if things really are congested, the port will still be more usable
<x512[m]> Multiplex all events over single port allows to properly enqueue events and handling in FIFO order without stalling events that are registered later.
<x512[m]> Win32 have such problem: for example if you have a lot of messages to HWND, it will stop repainting and timer will stop working because user sent messages have higher priority than WM_PAINT, so WM_PAINT is never processed until all messages with higher priority are processed.
<x512[m]> So you can easily freeze application by sending a message as result of handing another message, causing message processing loop. The same case work fine in Haiku.
mishima has quit [Ping timeout: 480 seconds]
<waddlesplash> x512[m]: but multiplexing over a single port in FIFO order means that the io events could clog out the messages
<waddlesplash> the same case as on Windows may work fine in Haiku, yes, but why would we "tempt fate" here?
<x512[m]> > the io events could clog out the messages
<x512[m]> Can you tell the details?
mishima has joined #haiku
<x512[m]> With FIFO multiplexing any single event source can't cause other events to be not processed. Even if single event will flood 100% of time, it will be handled at 1/activeEventCount rate.
mishima has quit [Ping timeout: 480 seconds]
Anarchos has quit [Read error: Connection reset by peer]
gouchi has joined #haiku
<waddlesplash> yes, and the same would be true for event_queue
<waddlesplash> only one Read event would be sent until that Read event is read from the queue
<waddlesplash> then the next Read would be sent
<waddlesplash> so it's the same thing
gouchi has quit [Quit: Quitte]
mmu_man has joined #haiku
<x512[m]> Adding additional event queue layer over ports in BLooper will also increase syscall overhead and kernel object count.
<waddlesplash> kernel object count must increase anyway?
mishima has joined #haiku
<x512[m]> Why make new entities is port is enough?
<waddlesplash> whether the kernel event queue object delivers to a BLooper, or has its own access mechanism, there's more kernel objects
vdamewood has joined #haiku
<waddlesplash> x512[m]: we already have this entity, it's the wait_for_objects data structure and enums, we'd just be adding a stateful interface for it
<waddlesplash> instead of a stateless interface
<x512[m]> One port vs one port and one event queue for each BLooper.
<waddlesplash> no, in my proposed design, BLoopers only have event_queues attached if you need them to
<waddlesplash> they wait on the port only without a queue, but can optionally wait on a queue instead
<waddlesplash> avoids extra overhead and objects, indeed
<x512[m]> More unnecessary complexity.
<x512[m]> > Why make new entities is port is enough?
<x512[m]> Occam's razor.
<x512[m]> It is of course also possible to multiplex multiple ports over single port.
<x512[m]> That will be exactly the same as event queue.
<waddlesplash> er, where do we support that already?
<waddlesplash> x512[m]: I think Occam's razor can also go in the other direction here
<x512[m]> Port can be a subject of wait_for_objects.
<waddlesplash> the additions to the port code, BLooper, and then the "reply" system you have set up in order to get events to be queued through BLooper/BMessageQueue without initiating "floods" are not simple
<waddlesplash> a separate system for events would, in fact, be simpler than this I am pretty sure
<waddlesplash> wouldn't that be Occam's razor also?
mishima has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> Sorry to interrupt, but with this proposal, every BLooper would loop with the wait_for_objects syscall to handle things such as semaphores and file descriptors right?
<waddlesplash> no
<waddlesplash> under either proposal, x512[m] or mine's, wait_for_objects is uninvolved
<trungnt2910[m]> Then what's this even queue?
<trungnt2910[m]> s/even/event/
<waddlesplash> a new system that's more like kqueue/epoll
<waddlesplash> the main question is whether to have it return events using raw structures and its own syscall (as I think it should) or whether it should just write to ports (as x512[m] thinks it should)
freakazoid332 has joined #haiku
<waddlesplash> the "just write to ports" sounds simpler and more "native" but I think it is actually much more complicated
<x512[m]> trungnt2910: For my proposal it will be something like wait_for_objects, but it will send port message instead of unblocking thread. So thread can read port messages to know what events are occurred. Events to be watched are attached to kernel port object and event subscription can change at runtime.
<waddlesplash> yes, and the other proposal is basically the same, but without ports -- and it's worth noting, a prototype implementation of that has existed for years, hamishm tried it, but needs refactoring and cleanup
stux|away has quit [Quit: Aloha!]
stux|away has joined #haiku
<x512[m]> My implementation is near complete, but I currently do different things.
<x512[m]> I do not see any big complexity in that.
<trungnt2910[m]> So this new system is different from _kern_wait_for_objects in the same way that epoll is different from poll on Linux?
<waddlesplash> yes
<waddlesplash> but epoll is just FDs only, so it's very limited
<waddlesplash> this is more like kqueue, which supports more than just FDs
<waddlesplash> x512[m]: I mean the amount of complexity added to, what, 5-6 different components? on its own, each is only a small amount of complexity, but added up you get a lot
<waddlesplash> this other proposal adds 1 new system (same as yours) and touches 1 other, that's it
<trungnt2910[m]> waddlesplash: Not very limited on a system where everything is an FD.
<waddlesplash> trungnt2910[m]: except everything isn't a FD. they added more FD types in order to make it work
<waddlesplash> timerfd, signalfd, etc.
DHowett_ has quit [Remote host closed the connection]
<x512[m]> In Haiku there are various non FD objects like port_id, sem_id that can't be changed because of compatibility.
DHowett has joined #haiku
<trungnt2910[m]> It's possible and still make sense (but not very elegant) to do the same on Haiku like semfd, portfd, teamfd,...
<waddlesplash> definitely not
<waddlesplash> and we usually follow the BSDs more here anyway
mishima has joined #haiku
frkzoid has quit [Ping timeout: 480 seconds]
<x512[m]> Technically is is possible to make FD wrappers for sem_id etc.
<trungnt2910[m]> I don't really have a deep understanding of the underlying differences between `poll` and `epoll` or similar multiplexing APIs, so...
<trungnt2910[m]> I'm just interested as the discussion mentions getting a `wait_for_objects`-like mechanism into a core Haiku class `BLooper` which means that `wait_for_objects` (or something similar to it) would become a much more essential syscall than it is right now...
<trungnt2910[m]> x512[m]: It might be possible right now with a `procfs` style filesystem, no?
mmu_man has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> `open("/proc/sem/[sem_id]", O_RDONLY)` and then `poll` it.
<x512[m]> But Haiku have no procfs...
<trungnt2910[m]> I mean by writing a custom kernel driver for it, of course.
<botifico-c849d97b> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/9d47280ce176...0c40094f91ae
<botifico-c849d97b> [haikuports/haikuports] Begasus 0c40094 - kotatogram_desktop, switch to python3.9 (#8524)
freddietilley has quit [Quit: WeeChat 3.8]
HaikuUser has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
HaikuUser has quit [Remote host closed the connection]
HaikuUser has joined #haiku
OscarL has quit [Quit: Download IceChat at www.icechat.net]
HaikuUser has quit []
mishima has joined #haiku
<x512[m]> waddlesplash: About BLooper event flooding: it can be solved by auto reset events, events that are automatically unsubscribed after enqueue. Message handler can resubscribe for event after handling current event.
<waddlesplash> Yes, right; but that's more complicated than just a single syscall to fetch event(s)...
<waddlesplash> it adds more complexity on *both* ends
<x512[m]> No changes are needed to BLooper logic.
<x512[m]> event queue will need to rewrite BLooper loop thread code.
<waddlesplash> I thought you said you would be changing BLooper to auto-resubscribe after something is dequeued from BMessageQueue?
<x512[m]> For message handler it is just single line of code to resubscribe.
<waddlesplash> well that's more syscall overhead isn't it?
<waddlesplash> now we have 2 syscall invocations for every message
<waddlesplash> so the other proposal I'm advocating for thus has less overhead
<x512[m]> Client code will manually resubscribe in BHandler::MessageReceived.
<x512[m]> Not every message, only for subscribed events.
<waddlesplash> yes, I mean every single io-events message
<x512[m]> End for event queue case it will be also syscall overhead: first time you need to read event queue and second time you need to read port.
<x512[m]> End -> And
Skipp_OSX has joined #haiku
<waddlesplash> right, but that's once per loop
<waddlesplash> yours adds it once per event
Skipp_OSX has quit []
<waddlesplash> that's very different
Skipp_OSX has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
<x512[m]> It may be possible to collect resubscribe requests to single syscall. But such things need to be benchmarked first. Premature optimization is a root of all evil (c).
TurboFaygot has joined #haiku
TurboFaygot has quit []
MajorBiscuit has quit [Ping timeout: 480 seconds]
<Skipp_OSX> The road to hell is paved with well-intentioned code
<PulkoMandy> I'm sorry but this discussion really shouldn't be happening over irc, we will not make any progress on such a complex topic with short messages and no usable logs. We need, I don't know, a muiling list? A forum? A bugtracker with enhancement tickets maybe?
tuaris has joined #haiku
mishima has joined #haiku
<PulkoMandy> It is too much effort for me to read a hundred messages sent here while I wasn't looking, information density is too low, it's not worth it
<PulkoMandy> I will add some comments in #16846
<x512[m]> PulkoMandy: I am happy to use forum if Waddlesplash is fine.
<waddlesplash> yes, sure
<x512[m]> I have already mentioned auto reset events for BLooper use in #16846.
<waddlesplash> right
mishima has quit [Ping timeout: 480 seconds]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ClaudioM has joined #haiku
<Skipp_OSX> unrelated question, are we still doing custom background colors on Tracker windows or is that no longer a thing?
mishima has joined #haiku
mishima was banned on #haiku by waddlesplash [mishima!*@*]
mishima was kicked from #haiku by waddlesplash [mishima]
<waddlesplash> let's see if that works
<Skipp_OSX> Seems like it's not a thing anymore
<nekobot> [haiku/haiku] waddlesplash pushed 8 commits to master [hrev56936] - https://git.haiku-os.org/haiku/log/?qt=range&q=bd7bb43761ff+%5E26704b5974c2
<nekobot> [haiku/haiku] e942269a1f11 - pci: generic MSI interrupts support
<nekobot> [haiku/haiku] 97b7c7719d77 - bus_managers/pci: move MSI handling to generic code
<nekobot> [haiku/haiku] a23ac85fa9e3 - bus_managers/pci: split PCI controller to separate add-on
<nekobot> [haiku/haiku] 912bdb2acae3 - busses/pci/ecam: add
<nekobot> [haiku/haiku] f33c8f9ce239 - busses/pci/designware: add
<nekobot> [haiku/haiku] 3b91d73bce71 - bus & drivers: drop PCI_x86
<nekobot> [haiku/haiku] 2982f45075f9 - freebsd_network: drop PCI_x86
<nekobot> [haiku/haiku] bd7bb43761ff - PCI_x86: remove
<Skipp_OSX> yay new commits
HaikuUser has joined #haiku
HaikuUser has quit []
TkTech has quit [Ping timeout: 480 seconds]
mbrumbelow has quit [Ping timeout: 480 seconds]
<augiedoggie> moparisthebest: i've added a $windowFrame variable to the github gist to allow overriding the size directly from the script
<nekobot> [haiku/haiku] waddlesplash pushed 2 commits to master [hrev56937] - https://git.haiku-os.org/haiku/log/?qt=range&q=69929490eb25+%5Ebd7bb43761ff
<nekobot> [haiku/haiku] 3ce66fb079ad - pci/designware: Add missing include.
<nekobot> [haiku/haiku] 69929490eb25 - locale_t.h: Add missing newline at end of file.
<moparisthebest> augiedoggie: awesome thanks, I'll try it out later
<augiedoggie> i would have preferred to do it differently but it seems the ResizeBy()/ResizeTo() scripting commands are broken :/
gouchi has joined #haiku
mmu_man has joined #haiku
<Molniya> I'm impossible
<waddlesplash> augiedoggie: ouch
<waddlesplash> sounds like we should fix that
<waddlesplash> is there a ticket?
gouchi has quit []
<augiedoggie> i haven't looked or full investigated the problem
<augiedoggie> but the command "should" have worked and hey didn't report an error
<augiedoggie> s/full/fully/
<augiedoggie> i don't see a ticket
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56938] - https://git.haiku-os.org/haiku/log/?qt=range&q=4ba629698f3f+%5E69929490eb25
<nekobot> [haiku/haiku] 4ba629698f3f - pci/designware: Add another missing include.
<zard> Just discovered `fortune`, a command-line program that prints riddles, jokes, quotes, and, of course, fortunes.
<Skipp_OSX> SetProperty on "Frame" doesn't work?
<zdykstra> augiedoggie: can you link that gist again?
<augiedoggie> Skipp_OSX:i can set the frame directly but i'd rather use the custom commands that BWindow provides...MoveTo, MoveBy, ResizeTo, ResizeBy
<augiedoggie> MoveTo works fine and should take the same syntax as ResizeTo
mmu_man has quit [Ping timeout: 480 seconds]
pvalue has joined #haiku
<Molniya> administration levels are reaching a critical 354%
<Skipp_OSX> I see, BWindow has some MoveTo/MoveBy ResizeTo/ResizeBy values that View doesn
<Skipp_OSX> BView doesn't
pvalue has quit [Ping timeout: 480 seconds]
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56939] - https://git.haiku-os.org/haiku/log/?qt=range&q=6fa3716c79e0+%5E4ba629698f3f
<nekobot> [haiku/haiku] 6fa3716c79e0 - docs/user: Import syslog documentation from an old Haiku newsletter article.
<botifico-c849d97b> [haiku/website] waddlesplash pushed 2 commits to master [+0/-2/±4] https://github.com/haiku/website/compare/2faee1d8c138...2d6722b063ec
<botifico-c849d97b> [haiku/website] waddlesplash 50d54dc - dev: Delete obsolete pages.
<botifico-c849d97b> [haiku/website] waddlesplash 2d6722b - dev: Fix some broken links to old Be documentation.
Blendie has quit [Quit: Connection closed for inactivity]
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56940] - https://git.haiku-os.org/haiku/log/?qt=range&q=419abdb265a9+%5E6fa3716c79e0
<nekobot> [haiku/haiku] 419abdb265a9 - openbsd_wlan: Add implementation of IEEE80211_IOC_SCAN_REQ.
<Skipp_OSX> how do you even get to those docs?
<waddlesplash> Skipp_OSX: you don't lol, they're not really cross linked
<waddlesplash> we should work on cleaning them up and deleting them from there
<Skipp_OSX> okay then
HaikuUser has joined #haiku
HaikuUser has quit []
<waddlesplash> Skipp_OSX: https://dev.haiku-os.org/ticket/18173
<waddlesplash> this one is probably a trivial fix, some check is inconsistent between Desktop and drill down menus
nosycat has quit [Quit: Leaving]
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
<Skipp_OSX> RAM FS in in DiskUsage too
<waddlesplash> that one can probably stay
<Skipp_OSX> good times
<Skipp_OSX> mmmmmmmmmmmmmmmm k
glog78 has joined #haiku
<glog78> I have a question , where do i need to put a terminfo for a console which is not 100% xterm-256color compatible ?
<glog78> $HOME/.terminfo doesn't work
<waddlesplash> possibly ~/config/settings/terminfo -- however, I'm not sure about this
<waddlesplash> what application are you using?
<waddlesplash> I mean, what application will be reading the terminfo?
<glog78> i want to use vim and mc throu ssh
<glog78> vim needs a clean terminal info to give you menus for example
<glog78> https://i.imgur.com/qr4rJeC.png << this is an example running vim in urxvt
<Begasus> waddlesplash, did some work on libtool: https://ibb.co/F67fq7w (below is the new situation for both packages, above is the current situation)
<glog78> but i would love to use contour for the better utf8 support
<Begasus> don't the binaries need the library to run? (if so, maybe keep the static in the base package?
<waddlesplash> static libraries are only ever needed at build time, never at runtime
<waddlesplash> shared libraries are needed at both times
<waddlesplash> so yes, this is what we want: static library only, and only in the devel package
<Begasus> ah, so it's OK to keep the static one in the other package
<botifico-c849d97b> [haiku/website] waddlesplash pushed 1 commit to master [+0/-0/±1] https://github.com/haiku/website/compare/2d6722b063ec...844ff28d6ccb
<botifico-c849d97b> [haiku/website] waddlesplash 844ff28 - fundraising: Tweak layouts and add prefers-reduced-motion option.
<Begasus> waddlesplash, shouldn't the headers be moved to the devel (libtool_libltdl) package too? (guess they are not needed at runtime too)
<waddlesplash> Glog78: Vim does appear to check $HOME/.terminfo on Haiku
<waddlesplash> Begasus: yes
<glog78> let me try again
<waddlesplash> Begasus: that should be handled just by packageEntries devel $developDir
<Begasus> k, might as well do that also then
<Begasus> yep
<waddlesplash> well
<waddlesplash> Begasus: actually, to be honest
<waddlesplash> we probably should not have a devel package for libtool
<waddlesplash> it is itself a development tool
<waddlesplash> there aren't any non-devel usages of it. so don't bother with a devel package
<Begasus> so remove the headers?
<waddlesplash> no
<waddlesplash> put everything in the main package
<waddlesplash> no devel package
<Begasus> also the static library?
<waddlesplash> yes
<Begasus> k, that was the second part of my first question :)
mmu_man has joined #haiku
<glog78> waddlesplash: https://i.imgur.com/IpvehDZ.png << this is mc
<glog78> waddlesplash: https://i.imgur.com/NKYnO6M.png << vim
<waddlesplash> not seeing that mc even tries to check a local database
MajorBiscuit has joined #haiku
<waddlesplash> not sure about vim. I see clearly in strace that it checks $HOME/.terminfo (which I don't have)
<glog78> strace is a good idea moment
<Begasus_32> Warning: POLICY ERROR: development library entry "/packaging/libtool_x86/lib/x86/libltdl.a" should be placed in "develop/lib/x86"
<Begasus> in strict mode this fails, or I need to move it to developLibDir? ...
CPYou has joined #haiku
<Begasus> getting there :)
CPYou has quit [Remote host closed the connection]
zard has quit [Quit: leaving]
<glog78> ok found it as it looks
<glog78> ok so vim works / mc doesn't
dpirate_ has joined #haiku
dpirate has quit [Ping timeout: 480 seconds]
<Begasus> updated PR waddlesplash , will do some more testing here with recipes using libtool in the next days
<glog78> i have one more question
<glog78> does rust-analyzer work on haiku ?
<glog78> waddlesplash: btw my bug was i forgot the c subfolder
<waddlesplash> ah
<Begasus> waddlesplash, this will break some packages I presume (needing lib:libltdl): https://github.com/haikuports/haikuports/search?q=lib%3Alibltdl
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<waddlesplash> yes, these may need to be rebuilt
<Begasus> removed the libtool_ltdl package (took about 5 packages down with it), building "flex" pulls libtool_ltdl back in ...
<Begasus> needs further testing
<Begasus> but that's for tomorrow (or the next days)
<Begasus> heading down here, cu peeps!
Begasus has quit [Quit: Leaving]
<glog78> have a great evening
<andreasdr[m]> Good night Begasus!
CPYou has joined #haiku
Anarchos has joined #haiku
FreeFull has joined #haiku
floof58 is now known as Guest12153
floof58 has joined #haiku
Guest12153 has quit [Ping timeout: 480 seconds]
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
ClaudioM has quit [Quit: leaving]
bbjimmy has joined #haiku
<botifico-c849d97b> [haikuports/haikuports] waddlesplash pushed 1 commit to master [+3/-3/±0] https://github.com/haikuports/haikuports/compare/0c40094f91ae...69e0cd446e63
<botifico-c849d97b> [haikuports/haikuports] davidkaroly 69e0cd4 - qemu: update to 7.2.1 (#8525)
CPYou has quit [Remote host closed the connection]
<Anarchos> [ 2282] exec("/Data1/INFORMATIQUE/OCAML/lwt/_build/default/src/unix/config/discover.exe", 0x11846ccdbb20, 0x163c, 0x1, 0x34, 0x12) = 0x8000000f Operation not allowed (185 us)
<Anarchos> i can't understand this one as the path is a valid executable
<Skipp_OSX> a valid Windows executable ...
<waddlesplash> nah, some random projects build ELFs into ".exe"
<waddlesplash> they just tack on the extension just because
<Skipp_OSX> interesting
<Anarchos> it is an ELF
<Anarchos> first line of file : ELF@8@#" 33 ȰȰ3ȰPd(
<Anarchos> and i can ./(...)discover.exe successfully
<Anarchos> but it is run from a pthread_func
CPYou has joined #haiku
<Skipp_OSX> I believe you
<Anarchos> and i see if (team == team_get_kernel_team()) return B_NOT_ALLOWED;
<Anarchos> and if (currentThread != team->main_thread) return B_NOT_ALLOWED;
<Anarchos> l 1981 and so on in team.cpp
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev56941] - https://git.haiku-os.org/haiku/log/?qt=range&q=3c51bd6a2bcf+%5E419abdb265a9
<nekobot> [haiku/haiku] 3c51bd6a2bcf - libroot: Fix initialization of LocaleNumericDataBridge.
<waddlesplash> Anarchos: what thread is it run from? that may be the trick
<Anarchos> waddlesplash it is run from the first thread shown in debugger so i guess it is the main thread
<waddlesplash> the first thread shown in debugger may not be the main thread
<waddlesplash> also ... is it legal to exec() when there are multiple threads?
<Anarchos> l1980 of team.cpp seems to imply it is legal from the main thread
<waddlesplash> yes, but what if there's other threads active?
<Anarchos> waddlesplash no idea, i didn't write this code
<Anarchos> maybe i should use fork instead of exec
<Anarchos> waddlesplash it is a posix (linux ?) app at the start
<Anarchos> dune (a kind of make for ocaml), and this is the command 'dune exec' used to run freshly built executables
<Anarchos> man 2 execve(linux) notes : All threads other than the calling thread are destroyed during an execve(). Mutexes, condition variables, and other pthreads objects are not preserved.
HaikuUser has joined #haiku
HaikuUser has quit []
<phschafft> does Haiku have a posix_spawn(3)?
<Anarchos> https://pubs.opengroup.org/onlinepubs/9699919799.2016edition/functions/exec.html ==> A call to any exec function from a process with more than one thread shall result in all threads being terminated and the new executable image being loaded and executed. No destructor functions or cleanup handlers shall be called.
* Anarchos is not sure if it is the relevant posix version that haiku uses.
<waddlesplash> phschafft: yes
<waddlesplash> Anarchos: this should probably be using posix_spawn
<Anarchos> waddlesplash thanks for the advice, i will look at that.
<Anarchos> waddlesplash i guess the intent is really to replace the running process with the new image ; maybe i should kill myself other threads before calling execve ?
* Anarchos found the solution : [execve] doesn't exist on Windows, so instead we do a [Unix.create_process_env] followed by [Unix.waitpid] and finally [sys_exit]. We use [sys_exit] rather than [exit] so that [at_exit] functions are not invoked. We don't want [at_exit] functions to be invoked to match the behaviour of [Unix.execve] on Unix. *)
<Anarchos> for this one i will put haiku on the windows side :)
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<botifico-c849d97b> [haikuports/haikuports] diversys pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/69e0cd446e63...cb838b06d570
<botifico-c849d97b> [haikuports/haikuports] davidkaroly cb838b0 - libpcap: update to 1.10.4 (#8526)
<glog78> against which library do i need to link to use the application-kit ?
<waddlesplash> -lbe
<glog78> thank you
<glog78> is there maybe a cmake file / snippet or just add predefined to the LDFLAGS?
<waddlesplash> target_link_libraries(your_program be) ?
<glog78> yeah thats most likely the easiest way
<glog78> https://i.imgur.com/XccAOKN.png << feels and looks usable ;)
<waddlesplash> Glog78: btw, Haiku does have gvim
<glog78> yes but it runs in a kvm ;) and the ui feels unresponsive (kinda)
<waddlesplash> that's strange, ui should be extremely responsive in KVM
CPYou has quit [Ping timeout: 480 seconds]
<glog78> it's hard to describe ... maybe the closest i would come up with is the kvm refresh feels "slow" compared to my usual 144hz work desktop (?? frametimes / refreshrate / vsync .. ??)
<glog78> but i also can't for unknown reason utilize the full 100mbit dsl line inside of the haiku
<jason123santa> does haiku have password locking?
<glog78> and the biggest issue .. i guess there is no copy and paste from outside of kvm
<glog78> so i would need to use the haiku browser which are "interesting"
<botifico-c849d97b> [haikuports/haikuporter] waddlesplash pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuporter/compare/adc25c2375d3...df3c0a88bcd5
<botifico-c849d97b> [haikuports/haikuporter] waddlesplash df3c0a8 - HaikuPorter: Make check for both static and shared more robust.
<waddlesplash> Glog78: oh, well, Haiku is probably operating at 60Hz
<waddlesplash> that can be changed, depending on what VESA modes your QEMU/KVM supports
<glog78> https://i.imgur.com/xqxoXMq.png << my current desktop
<waddlesplash> we have clipboard integration for VMware, but not for QEMU/KVM at the moment
<waddlesplash> jason123santa: after Screensaver exit, yeah.
<glog78> and vim + ssh is great
<augiedoggie> you could join a private IRC channel from both Haiku and the host and paste things into the channel :P
<glog78> part of my current desktop ;) i meant
<waddlesplash> oh, are you using the GTK3 interface of Qemu?
<waddlesplash> might try the SDL one and see if it's "faster"
<waddlesplash> (and also see about increasing refresh rate)
<augiedoggie> i couldn't tolerate the redraw speed of qemu until i switched it to use the vmware drivers
<jason123santa> waddlesplash is there any password at boot?
<glog78> augiedoggie is there a wiki ?
<augiedoggie> i don't think there is one specific to haiku
<glog78> i have currently qxl
<glog78> i guess virtio won't work since no guest drivers
<augiedoggie> i still have the shell script around which launches Haiku with that driver enabled
<glog78> i am ok with taking a look even it's just toying currently for me
<augiedoggie> iirc the vmware driver requires the sdl qemu frontend?
<augiedoggie> not sure about the details now because i use vmware
<augiedoggie> https://bpa.st/E44CS
<augiedoggie> it's a bit verbose because it was dumped from a virt-manager config
<augiedoggie> and then modified
<glog78> augiedoggie thank you i might try this out on my next reinstall ;)
<glog78> btw what i still didn't found is fuzzy search cli tool :( fzf doesn't compile because of a too old go and skim doesn't compile because the nix crate seems not to work with haiku
<augiedoggie> there is at least one in the ports repository and i have a couple built that i toy around with
<augiedoggie> most of them don't play nicely with the Haiku terminal
<glog78> yeah
<augiedoggie> i guess i was thinking of 'hstr' which is specific to history searching
<glog78> i search something to include into a vim setup
<glog78> so the options with a ready to use plugin are limited
<glog78> i am already happy that clangd is running
<augiedoggie> i have pick/percol/selecta built and mostly fine
<augiedoggie> i kludged heatseaker into running but it was unhappy
<augiedoggie> heatseeker
<glog78> augiedoggie -> my current vimrc https://termbin.com/dwq0g
<glog78> a good utf8 terminal + COLORTERM="truecolor" ;)
* augiedoggie uses ccls as his lsp server (with emacs)
<glog78> :)
<glog78> so it's nearly midnight , thanks everyone for the help today
<glog78> good night
glog78 has quit [Quit: WeeChat 3.8]
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
Diver has quit [Quit: Leaving.]
braewoods has joined #haiku
<braewoods> Hello. I've been doing research on Haiku's available kernel APIs trying to see if there's a way to implement something in the future. I have a very specific use case where I am trying to write userspace code to drive USB screens that either use a custom serial protocol through a USB serial interface or through a custom USB driver. Essentially I want to see if there is a way to map a given USB device to its
<braewoods> corresponding serial port, or to find the USB device behind a given serial port. So far I have found nothing in the source code to suggest this is possible from a userspace API. Anyone know more?
AlaskanEmily has joined #haiku
<braewoods> If all else fails I can leave it up to the user to figure out the mapping but if I can do it automatically that would be better.