orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
erysdren has quit [Quit: Konversation terminated!]
erysdren has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
mmu_man has quit [Ping timeout: 480 seconds]
tuaris1 has joined #haiku
tuaris has quit [Ping timeout: 480 seconds]
tuaris1 has quit [Quit: Leaving.]
Maturi0n_ has joined #haiku
Maturi0n has quit [Ping timeout: 480 seconds]
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
floof58 has quit [Read error: Connection reset by peer]
floof58 has joined #haiku
orealis has quit [Read error: Connection reset by peer]
Rapo has quit [Quit: Konversation terminated!]
orealis has joined #haiku
Guest11746 has joined #haiku
AlaskanEmily has joined #haiku
<zdykstra>
hey Habbie
<zdykstra>
wie gehts?
OscarL has joined #haiku
OscarL_ has joined #haiku
OscarL has quit []
OscarL_ is now known as OscarL
HaikuUser has joined #haiku
HaikuUser has quit []
OscarL_ has joined #haiku
OscarL_ has quit [Read error: Connection reset by peer]
OscarL has quit [Read error: Connection reset by peer]
OscarL has joined #haiku
Begasus has joined #haiku
<Begasus>
g'morning peeps
<OscarL>
Wonder why HaikuDepot sorts the package contents by INVERSE alphabetical order :-/
<OscarL>
Hello Begasus.
<Begasus>
Hi OscarL
<Begasus>
Can't remember the answer I got back years ago for that OscarL :)
<OscarL>
what ever the reason is... it is mildly infuriating.
<OscarL>
Trying to understand this "vim thing" here... never actually used it, now trying to figure out how to test a simple Python plugin for it.
<OscarL>
I'm suspecting that the issue with YouCompleteMe might be, at least partially, on how the vim package works with Python, but need to test with something simpler.
<OscarL>
(by that I mean... not sure the bugs are in YouCompleteMe, it just exposes issues with vim's python integration... that's my theory, at least :-D)
<Begasus>
No easy sollotion, does vim need a rebuild for it or should it pick up YouCompleteMe when it's installed?
<OscarL>
for example... the error of (vim's) Python not finding stuff... seems to me to be due to hard-coded paths that point to Python's path that were valid when vim was built (3.9.14), but now fails because we have 3.9.16, that sort of stuff.
<OscarL>
My current thoughts are that vim is hardcoding Python paths at build time... and that will always cause issues. But to make sure that's the case... I need to test with something else than YouCompleteMe... and I'm just lost, as I've never used vim before :-D
<OscarL>
So... searching for "write vim plugins for dummies" now.
<OscarL>
To answer your question... Theorically, vim should pick YouCompleteMe just fine as is (no need to rebuild vim for it).
<Begasus>
ok, one less thing to worry about :)
<OscarL>
managed to make it work in boh the oldest and the newest recipes we have...
<OscarL>
but I need to export PYTHONPATH before calling vim (due to the non-matching paths, as I mentioned).... works OK for vim... but gvim just quits with a seg-fault :-(
<Begasus>
:/
<OscarL>
I'm afraid I will have to build vim locally to test a few things... sigh...
<Begasus>
checked if there isn't anythin usefull at repology regarding this?
<OscarL>
from what I see... part of the problem is we get hard-coded paths like "'/packages/python3.9_x86-3.9.14-1/.self/lib/python3.9'". Seems pretty Haiku specific :-D
<OscarL>
not sure... there they can actually open vim, but YCM doesn't works right... We can't even start vim if YCM is installed :-D
<OscarL>
I guess that if I'll be building vim locally.... might as well just try to updated it to the latest version, right? That is... assuming the patchset applies more or less cleanly over v9.0.1479. /me crosses fingers
<Begasus>
yep, might as well :)
<OscarL>
that was too much to ask, heh :-)
<Begasus>
heh
* OscarL
goes to make some coffee.
<Begasus>
time for the dogschool in a bit here
<OscarL>
ug, patchset is tiny! I might have a chance after all.
AlaskanEmily has quit [Remote host closed the connection]
Diver has joined #haiku
Diver has quit [Read error: Connection reset by peer]
Diver has joined #haiku
Diver is now known as Diver
<OscarL>
On beta4 32 bits, `query name="*.pc"` gives wildly different results than a similar Tracker query :-( (the former only finds things inside /boot/home, apparently, while Tracker shows >350 results, mostly from /boot/system/develop/pkgconfig AND the ones I have in /boot/home
<augiedoggie>
use -a
<OscarL>
mmm that works. Thanks augiedoggie. But I find it strange that Tracker lets me query /system, but "query -v /system " complains system is not query-enabled.
<OscarL>
and then -a works? 8-O
<augiedoggie>
you have to pick a file or subdir when using -v, like -v /system/Deskbar
<augiedoggie>
or, -v /system/.
<augiedoggie>
probably a bug :P
<OscarL>
lol @ query -v /system/. working :-D
<OscarL>
From https://dev.haiku-os.org/ticket/10040#comment:7: "In the Find dialog IMO the preferable behavior is not to list the packagefs volumes in the volume menu, but automatically include them in the search when the parent volume is selected."
<PulkoMandy>
Did you try with /boot/system? because /system is a symlink, maybe query doesn't resolve it
<OscarL>
I guess the same should apply to /bin/query.
<OscarL>
PulkoMandy: yeah.. /boot/system works. Tried /boot first and it didn't so then I tried /system instead of /boot/system.
<OscarL>
re: "/boot didn't" I mean... it didn't did what I expected: "query everything under /boot" :-D
<OscarL>
(and not only /boot/home)
<OscarL>
While you're here PulkoMandy... I've built vim 9.0.1479 locally (to see if it helps with YouCompleteMe)... I've noticed that you changed --enable-python-interp= from "dynamic" to "yes" in the past. I tried with dynamic again, same results.
<OscarL>
Question is (just because I've no idea)... any reason to prefer "yes" over "dynamic" ?
<PulkoMandy>
There probably was one but I don't remember it
<OscarL>
ok. on that commit you wrote that it was to fix the build. Just wondering, because it built ok here with dynamic. No biggie. Will mention it on the PR for the updated vim, just in case.
<PulkoMandy>
Well, if you need to switch it back, you can
<PulkoMandy>
Sometimes I don't really understand what I do either :D
<OscarL>
Doesn't seems to help with the seg-fault, so... I have no strong opinions one way or the other :-D
<OscarL>
but was worth the try, I guess :)
<OscarL>
I think that python's pkg-config file is hurting more than helping thou... It reads: "prefix=/packages/python3.9_x86-3.9.16-1/.self"... and that gets then hardcoded in both vim and YouCompleteMe.
<OscarL>
if it was "prefix/system/lib/python3.9", it would work for all 3.9.x we might have, no?
<OscarL>
(right now... updating Python after building vim... causes vim's python to fail, unless we export PYTHONPATH manually)
<OscarL>
Guess I'll mention that too on the vim PR, and @ a bunch of you to chime in.
<PulkoMandy>
All our pkg-config is done this way, and I'm not sure why, but it should only be used to find the library in developLibDir during buildtime
<PulkoMandy>
At runtime there should be only a reference to "libpython3.9.so" and let the runtime_loader locate it using LIBRARY_PATH
<PulkoMandy>
Does the pkgconfig file also define PYTHONPATH?
<OscarL>
it doesn't, but both vim and YouCompleteMe seems to take it from there.
<OscarL>
lemme find the build log.
<OscarL>
damn 32 VM with no clipboard integration :-(
<PulkoMandy>
Ok, so, yes, this pkgconfig file should get special treatment of the "prefix" variable
<Anarchos>
I got these two errors with glib-gio : Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile ; xkbcommon: ERROR: failed to add default include path /boot/home/config/non-packaged/share/X11/xkb
<OscarL>
"I'll just clean up old recipes" I thought.... will end up having to rebuild YCM, vim, Python..., and wonder what else. /me shakes fist at Begasus!!!
<Anarchos>
OscarL :)
<OscarL>
Anarchos: no idea, but that include path under home seems suspicious :-D. Tried manually creating the /boot/home/config/settings/glib-2.0/settings/ dir to see if that helps with the fisrt error?
<OscarL>
notice the weird settings/../settings on that path too.
<Anarchos>
OscarL this path exists : /boot/home/config/settings/glib-2.0/settings
<Anarchos>
OscarL maybe it is an old attempt to compile glib-2.0 myself (dir glib-2.0 dated back to 13 october 2022)
<OscarL>
heh.
<OscarL>
maybe check its permissions?
<OscarL>
or remove it and try again, I'd say.
<PulkoMandy>
"file monitor" sounds like it doesn't know how to use haiku node monitor as an alternative to linux inotify
<PulkoMandy>
I don't know about the second one, what's a "default include path"? is it trying to modify BEINCLUDES or some similar variable from Linux?
<Anarchos>
PulkoMandy same error with gtk3-demo which is supposed to work
* Anarchos
is looking for people using gtk applications on haiku
<OscarL>
mmm, why python3.pc comes from python3.8 on my system? Probably because ALL Python3.x packages include both a python3.x.pc and python3.pc file, and I just happened to install 3.8 last?
<Anarchos>
OscarL i use PKG_CONFIG_PATH=/tmp xxxx and i put fake .pc files in /tmp.
<OscarL>
That sounds dirty. /me likes :-P
* OscarL
had no idea what a .pc file was before today :-D
<Anarchos>
OscarL me neither, i find hell all those packages description files , everytime different grammar, tools, frameworks....
Blendie has quit [Quit: Connection closed for inactivity]
<OscarL>
almost makes me with I could have my lovely Delphi back :-)... oh... simpler times! :-P
<OscarL>
s/with/wish/
<Anarchos>
don't we have delphi ported ?
Blendie has joined #haiku
<OscarL>
Lazarus, the freepascal alternative to Delphi, yes. But it is a monster compared to the lean Delphi of my youth :-D
* OscarL
gets grumpy while trying to find a half-remebered comment on gerrit :-(
<Anarchos>
OscarL i used turbo pascal borland in 1992 :)
<OscarL>
nice!
floof58 is now known as Guest11945
floof58 has joined #haiku
<OscarL>
I barely touched 5.5 once or twice... started with Delphi 1 in 1996.
<OscarL>
Gotta love the speed of that 1-pass compilers! (specially on my slow Am386-SX and then also slow 486 with only 4 MB of RAM :-D
<Anarchos>
PulkoMandy can you test gtk3-demo ?
Guest11945 has quit [Ping timeout: 480 seconds]
<PulkoMandy>
I don't have any gtk things installed and I don't really plan to
<Anarchos>
PulkoMandy ok.
<Anarchos>
PulkoMandy i can understand. Overbloated to use another graphical framework on top of haiku api....
<Anarchos>
PulkoMandy what are you up to these days on haiku ?
<PulkoMandy>
Always the same things, trying to get webkit2 running again, and some work on the Renga xmpp client
<Anarchos>
PulkoMandy \o/
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Kokito has joined #haiku
Kokito has quit [Quit: Vision[]: i've been blurred!]
<PulkoMandy>
It's not very fun work for now… rebuilding webkit again and again and trying to get webkit2 back to where it was in 2019 when we had it showing a webpage, but lots of things to cleanup and rewrite :/
<OscarL>
Wish I could offer something more than a simple: thanks for your work, PulkoMandy! (specially when things are not particularly fun :-D)
<PulkoMandy>
Well you already offer your help on other things that I don't have to take care for myself, so thank you as well :)
<OscarL>
:-D
<OscarL>
Aha! found it. it is not the pkg-config file the one we need to alter, but a Makefile under /system/lib/python3.9/config-3.9/
<OscarL>
Or maybe not? Darn! I just forced vim build to look elsewhere "--with-python3-config-dir=/non-existen-dir", and it built just the same :-/... lets see what it does at runtime...
<botifico-c849d97b>
[haikuports/haikuports] korli ae391ef - coreutils: disabled 2038 support requirement for x86
Anarchos has joined #haiku
begas_ has joined #haiku
<trungnt2910[m]>
What's the "correct" way to disable `net_server` on Haiku?
<trungnt2910[m]>
Or, in general, prevent launch_daemon from restarting a dead daemon?
<Diver>
using launch_roster
<trungnt2910[m]>
Ahhh nice!
B2IA has quit [Remote host closed the connection]
B2IA has joined #haiku
Begasus_32 has joined #haiku
<begas_>
re
<trungnt2910[m]>
Doesn't seem to work for other servers. What I used is to create a file in /boot/system/non-packaged/settings/launch.
begas_ is now known as Begasus
Begas_VM has joined #haiku
gouchi has quit [Remote host closed the connection]
erysdren has quit [Quit: Konversation terminated!]
erysdren has joined #haiku
<OscarL>
Mmm, after lots of head scratching... (being dumb doesn't helps)... could it be that vim using "--enable-python-interp=yes" statically links to, say, libpython3.9.a, and THAT is where the "hard-coded" sys.path actually comes from?
<OscarL>
using "--enable-python-interp=dynamic" on vim 9.0 results in binaries almost 3 MB smaller than 8.2 built with "--enable-python-interp=yes".
<PulkoMandy>
Sounds like a good idea to use dynamic, then? :)
<OscarL>
heh, seems so. Man... how I wish I was smarter. Trying to figure things out by trial-and-error gives me head-aches :-D
* OscarL
reverts all the hacks, and tries building vim 9.0 with "yes", to see what the build log looks like.
<OscarL>
mmm "checking if -fPIE can be added for Python3... yes" aren't we supposed to not use -fPIE, or am I misremembering things?
<x512[m]>
-fPIE should really be disabled in Haiku GCC patchset.
<x512[m]>
-fPIE is not compatible with Haiku and produce semi-broken executables.
<OscarL>
wonder if that explains the seg-fault we're seeing with gvim :-/
nosycat has joined #haiku
<x512[m]>
Yes, -fPIE may cause cryptic crashes.
<OscarL>
this recipes builds vim and gvim separately. Just to see what's what, I set --enable-python-interp=yes for the first, and --enable-python-interp=dynamic for the latter. That -fPIE message only got written for the first case (that seems to statically link libpython3.9.a, judging by the size difference).
<OscarL>
(wonder why we don't simply have one vim and gvim as "vim -g" wrapper)
<PulkoMandy>
Because gvim starts a BApplication (even when run in Terminal mode) and we don't want that in the Terminal version, I think
<PulkoMandy>
Otqerwise when you start vim it is visible in DeskBar
<PulkoMandy>
No one had time to look into a way to do this more cleanly in a single executable
<Begasus>
giving up on gri for now ... still no luck with the texlive part ...
<OscarL>
thanks for the explanation PulkoMandy :-)
<OscarL>
welp, confirmed. configure.ac only adds -fPIE when static linking.
B2IA has quit [Ping timeout: 480 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mishima has joined #haiku
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
<Begasus>
hence me thinking if it would be worth the effort ;)
<Begasus>
might as well switch to gcc11 there
<OscarL>
indeed.
Diver has quit [Read error: Connection reset by peer]
<Begasus>
and see if a new version is upstream
<OscarL>
might get even a speed-up from the newer compiler, if we're lucky.
<OscarL>
kool. both builds of vim went ok. pheew! :-D
<Begasus>
+1
vdamewood has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
Diver has joined #haiku
mishima has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
<OscarL>
Question. As YouCompleteMe install itself under data/vim/vimXX/, I guess it should require exactly vimXX. How we do that in the recipes? can we specify cmd:vim >= 9.0 and <9.1 at the same time?
<PulkoMandy>
You can use == for an exact match, I think?
<OscarL>
tried that, but the vim recipe provides 9.0.xxxx
<OscarL>
(well, I tried with 8.2 yesterday)
mishima has joined #haiku
<PulkoMandy>
For the cmd entries, you can edit that in the recipe for vim if needed
<PulkoMandy>
Either put a = 9.0 there, or = $portVersion compat 9.0 or something like that (I don't remember the exact syntax for compat)
<OscarL>
Understood. Thanks!
mishima has quit [Ping timeout: 480 seconds]
AlaskanEmily has joined #haiku
<OscarL>
adding "cmd:vim >=9.0" and "cmd:vim < 9.1" on separate lines seems to work too.
humdinger has joined #haiku
<OscarL>
(HaikuDepot correctly installed vim 9.0 from the repos)
mishima has joined #haiku
<Begas_VM>
'lo humdinger :)
<Begas_VM>
OscarL, maybe because there isn't any other version for vim atm? ;)
<OscarL>
with my luck... surely that's the case :-D
<Begas_VM>
:P
mishima has quit [Ping timeout: 480 seconds]
mishima has joined #haiku
pvalue has joined #haiku
dqk_ has quit [Ping timeout: 480 seconds]
erysdren has quit [Quit: Konversation terminated!]
mishima has quit [Ping timeout: 480 seconds]
<Begas_VM>
test case for findutils-4.6.0 even fails with parse errors, time to nuke it I think ;)
<Begas_VM>
jikes, libtools seems to depend on it ...
<humdinger>
a late hi there
<OscarL>
hola humdinger :-)
mishima has joined #haiku
<OscarL>
Begas_VM: only via cmd:find and cmd:xargs, right?
<Begas_VM>
yes
<Begas_VM>
no versioning there
<Begas_VM>
so "should" be OK
<Begas_VM>
but I can't install the _x86 one I guess with the gcc2 one still being in use?
<Begas_VM>
both provides are the same
<Begas_VM>
seems I can ;)
<Begas_VM>
well, first install the new one, then uninstall the old one
<OscarL>
might want to add a REPLACES? (would that make sense?)
<Begasus>
hunting for a recipe that uses cmd:libtool without the suffix
<Begasus>
if things work out there won't be a need for the older one and I'll remove that recipe then
<OscarL>
k.
<Begasus>
allthough REPLACES could be used too
<OscarL>
Woot, got an out of memory compiliing the newer YouCompleteMe of all things! First time.
<OscarL>
"virtual memory exausted: Out of memory".
randomuser86 has joined #haiku
mishima has quit [Ping timeout: 480 seconds]
<OscarL>
mmm Web+ was in the background idling and using too much of one of my cores too.
<OscarL>
might need to reboot.
_Dario_ has joined #haiku
<humdinger>
PSA: You can help adding/updating translations for the next releases of
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
<OscarL>
nice, seems like we can use -DUSE_SYSTEM_LIBCLANG=1 instead of patching ycmd/utils.py
pvalue has quit [Quit: Vision[]: i've been blurred!]
mishima has joined #haiku
<Begasus>
if you added "-L" from the start to the cmake command you probably found out earlier? ;)
<OscarL>
I did that... that's how I found out :-P Blame PulkoMandy, not me! :-P
<Begasus>
lol
<OscarL>
I had that define commented out, while I was trying the rest of things... too many moving parts... now that vim and older YCM recipes got sorted out... managed to try that.
gouchi has joined #haiku
<OscarL>
now it gives some weird errors :-D (/me quietly test back with PulkoMandy patches :-P)
<Anarchos>
OscarL i added blank lines to make the bullet on the right lines, then manage to debug : the xkb conf files were in /boot/sustem/data/... but libxkbcommon expects them in ~/config/settings/xkb/
<Anarchos>
OscarL what is fun is i tricked the gtk<->ocaml layer to use our gtksourceview-4.8.4 as if it was a 3.0 version
<OscarL>
nice.
randomuser86 has quit [Remote host closed the connection]
<OscarL>
Anarchos: another handy tool, if you know what to look for, is "strace".
<Anarchos>
OscarL i know it, but i wanted to debug to understand what was happening
<OscarL>
Understood.
<Anarchos>
where can i post the screenshort from web+ ? imgur seems not really usable on web+
<OscarL>
I always forget the one Begasus uses for images.
<OscarL>
(and today I couldn't even remember "https://bpa.st/" for text pastes :-P)
<trungnt2910[m]>
<x512[m]> "trungnt2910: Stack trace?" <- Never mind, it came into an infinite loop (the one that tries to open `/dev/graphics` before I sent the patch to Haiku).
<trungnt2910[m]>
Haven't done a full-sync for quite a while.
<Anarchos>
OscarL not sure it will interest some users... though i am proud to be the first in world to run texlive, and now coq, on Haiku !
<andreasdr[m]>
Me loves rain too
<andreasdr[m]>
Whats CoqIDE?
<OscarL>
Heh, I was really proud to be the first Haiku user to use an FM card on Haiku... back when we didn't even had app_server :-D
<trungnt2910[m]>
<x512[m]> "trungnt2910: Stack trace?" <- Can't really get a readable stack trace on HyClone, while `strace` says that it is trying to read from a certain invalid port.
<Anarchos>
andreasdr[m] it is a formal proof assistant.
<andreasdr[m]>
Oh. Cool anarchos.
<andreasdr[m]>
Maybe I really need to check that.
<Anarchos>
andreasdr[m] every serious programming language research uses it nowadays (or lean or agda, or HOL, but same concepts : you write theorems that the proof assistant verify, and can help you filling the gaps)
<andreasdr[m]>
Coool. I will check.
<Anarchos>
andreasdr[m] try on windows or linux, my port is really a proof of concept not usable at all by someone else than me :)
<andreasdr[m]>
Arrrr. I can wait.
<andreasdr[m]>
I have time
<Anarchos>
andreasdr[m] anyway it will be a good post to write to explain what i did...
* Anarchos
keeps the idea to write a blog post.... maybe.... one day....
<andreasdr[m]>
Anarchos: Nice
<andreasdr[m]>
Just do it!
<andreasdr[m]>
I also need stilll to write a blog post about using C++/C in Haxe Projects. Had it on my list for quite some time.
mishima has quit [Ping timeout: 480 seconds]
<Anarchos>
andreasdr[m] yes but the switch in blog posts on haiku-os to be pull requests on the website git repo makes it hard for me to just sit in a café and write my blog post :)
<andreasdr[m]>
Hmm
<OscarL>
.md + md4c to preview it?
<Anarchos>
OscarL what is md4c ?
<OscarL>
a markdown to html tool
<OscarL>
"pkgman install md4c", but surely there are plenty more to choose from.
<Anarchos>
OscarL i even rely on toolbox with icons to write md, i do'nt know the shortcuts by head to go bold, italic, lists and so on :)
<OscarL>
ah, ok.
<Anarchos>
OscarL i fear my memory is already full of all those programming language grammars i had to learn at work and for years ....
<OscarL>
understandable :-) Not sure if we have a GUI tool for markdown files already.
<Anarchos>
(java sql xml css sql angular node, just to name a few at work)
<OscarL>
darn... the blockout2 PR from eblanca fails to apply the patchsets :-/
<Anarchos>
OscarL to avoid learning LaTeX , i solved all bugs i could on BeTeX, still must do the pull request for this one too
<OscarL>
to avoid learning LaTex... I "ported" Basser Lout around 2005/6 IIRC :-D
<andreasdr[m]>
I started to implement a md viewer in our engine tdme2. Arent there lots of tools already to display md files?
<andreasdr[m]>
Also in Haiku?
<andreasdr[m]>
Or is there any need?
<OscarL>
ended up spending more time adding support for it to Pe, LOL.
<andreasdr[m]>
Oh, pe can view md files?
<OscarL>
(I think only one ever used lout in Haiku :-D)
<Anarchos>
andreasdr[m] vim can :)
<andreasdr[m]>
Nice
mishima has joined #haiku
<OscarL>
andreasdr[m]: it can...as any other file, don't think it has syntax highlighting for them, thou.
<OscarL>
*other text file
<andreasdr[m]>
Ok I see
<andreasdr[m]>
I meant a md parser and display tool so in terms of WYSIWYG
<OscarL>
unlike Basser Lout... that has syntax coloring :-) hehe
<Anarchos>
andreasdr[m] it reminds me i should add a monitoring in BePDF to reload automatically when a pdf is regenerated (by pdflatex for example)
<OscarL>
maybe "retext"?
<OscarL>
not sure we have any real wysiwig.
<OscarL>
(for .md)
<andreasdr[m]>
Anarchos: This could be reallly handy
<x512[m]>
It seems some very bit value is set as timeout. Maybe some kind of integer overflow occur?
<x512[m]>
s/bit/big/
<AlienSoldier>
OscarL blockout port, nice. played a lot of this on my amiga... my mother would love to test that one :)
<OscarL>
looks almost the same as the DOS version :-)
<trungnt2910[m]>
x512[m]: That's what I'm also thinking of. Probably `B_INFINITE_TIMEOUT - <some small value>` might overflow when translated to a Linux struct, like once with the sockets.
mishima has quit [Ping timeout: 480 seconds]
* OscarL
runs "> inrecipe "cmd:python$" | wc -l" and weeps at the final: 136
<trungnt2910[m]>
<x512[m]> "It seems some very bit value..." <- Yeah, when I did that in a test program with `B_INFINITE_TIMEOUT - 2`, it timeouted nearly instantly.
<trungnt2910[m]>
So disappointed by the C++ library.
<trungnt2910[m]>
I mean, std::chrono::microseconds is meant to be portable.
<x512[m]>
Of maybe WSL1 is broken.
<x512[m]>
s/Of/Or/
<x512[m]>
Do host strace work?
mishima has joined #haiku
<trungnt2910[m]>
It does work well but straceing hyclone_server is a mess.
<trungnt2910[m]>
Seems like Linux C++ library stores everything in nanoseconds and multiplies the B_INFINITE_TIMEOUT-like value by 1000, which causes overflow.
Anarchos has quit [Quit: Vision[]: i've been blurred!]