orealis has quit [Read error: Connection reset by peer]
<jessicah>
daily driver? hmm, probably a better working web browser, and multi head support
orealis has joined #haiku
<jessicah>
oh and spdif output
<jessicah>
my main machine has three monitors and my 4K TV as well
<jessicah>
so a single monitor is pretty limiting
<jessicah>
I'd also miss not having vscode, I guess
<jessicah>
unfortunately can't even build vscode, triggers a kernel panic
<Skipp_OSX>
web browser and 3d
<jessicah>
it's not too bad on my airbook, but lacks wifi support; thunderbolt to ethernet works, just not portable :p
<jessicah>
always things that need improving :p
<Skipp_OSX>
yep
<Skipp_OSX>
such as I am in a bit of a predicament here
<Skipp_OSX>
upgraded to Ventura for reasons only VirtualBox 7 runs on Ventura and video on Haiku guest is all messed up
<Skipp_OSX>
vmware works but it's a pain
<Skipp_OSX>
and qemu the mouse is too slow to use which I think is also a video problem.
OscarL has joined #haiku
<OscarL>
Skipp_OSX: have you tried using VirtualBox with VMSVGA (with at least 32 MB of VRAM) and installing the the vmware_addons (so it uses "vmware.accelerant") ? Works pretty well for me, albeit on Win10.
<Skipp_OSX>
yes, yes, and maybe, is that an extension?
<Skipp_OSX>
I have the extension pack but not vmware accelerant ...
<OscarL>
"pkgman install vmware_addons"
<Skipp_OSX>
oh on the guest
<Skipp_OSX>
and that makes video work on vbox?
<OscarL>
yup
<OscarL>
at least when you set VBox to use VMSVGA+32MB of VRAM, that's it :-)
<OscarL>
You can then even use, for example, "VBoxManage.exe controlvm <name_of_your_vm> setvideomodehint 1360 768 32" to set the res to what you want.
<OscarL>
well. minus the .exe part in your case, I guess.
<OscarL>
I use that command only because Haiku doesn't shows that particular resolution in the Screen preflet, but it works.
<Skipp_OSX>
ok you're right it's still slow af but it does work
<Skipp_OSX>
at least the video's not all messed up
<Skipp_OSX>
ok I gotta figure out how to install the package
<Skipp_OSX>
wait only 16mb vram hold on
<OscarL>
On my PC (old Phenom II X4), VBox is around 70-75% native speed, VMWare 16 around 75-80%, and Qemu around 80-85%.
<Skipp_OSX>
still slow af but yes it displays correclty
<Skipp_OSX>
this is nowhere near native speed but ot
<Skipp_OSX>
it's definitely a virtual box issue
<andreasdr[m]>
I see jessicah.
<andreasdr[m]>
But for me it could work soon. Lets see..
<OscarL>
Skipp_OSX: some folks seem to have a better experience in VBox when using less CPU cores for it. Not my case, but... something to try.
<Skipp_OSX>
yeah 1 core is worse
<zdykstra>
Hey OscarL
<OscarL>
Hello there zdykstra! :-)
<OscarL>
Skipp_OSX: only other settings of note in my case... PAE/NX and Nested VT-x/AMD-v both enabled., and on the Acceleration tab... "Enabled nested paging".
mmu_man has quit [Ping timeout: 480 seconds]
<zdykstra>
How are you? :)
<OscarL>
Still a bit low energy and having trouble focusing on things (that's why I "dissapeared" for a while), a bit preocupied by the ever increasing inflation down here.... but other than that... crazy as ever... I mean... fine! :-D
<OscarL>
Thanks for asking zdykstra. How about you? Better weather yet at least?
<zdykstra>
Alternating between warm, cold, warm, rainy. So, typical spring :)
<zdykstra>
Glad you're doing better. It's important to take breaks if needed, to help recharge your battery.
<OscarL>
+1
Maturi0n has joined #haiku
Maturi0n_ has quit [Ping timeout: 480 seconds]
<Skipp_OSX>
luckily vmware seems to be working ok
<Skipp_OSX>
Ventura!!!!
<Skipp_OSX>
*shakes fist*
<jessicah>
ventura? oh, is that macOS?
<jessicah>
OscarL: ah, breaks are important... I flit about between things all the time, else I get worn out
<jessicah>
I don't really like working on just one thing
<Skipp_OSX>
yeah
<andreasdr[m]>
Yarrrrrr, you all are mighty pirates.
<OscarL>
jessicah: True. I guess being bipolar sometimes makes it harder for me to distinguish between regular ups-and-downs, and hypo-maniac/depressive states :-D
<OscarL>
Some day I'll learn about this "balance" thing I keep hearing about...
erysdren has joined #haiku
kevans91 has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest11849
floof58 has joined #haiku
Guest11849 has quit [Ping timeout: 480 seconds]
<OscarL>
I saw a shadow from the corner of my eye. Some big ass spider crawling up the wall. Turn on the lights to have a better look, now I see three spiders. I should have left the lights off.
<jessicah>
hehe
<OscarL>
Some of these spiders hunt scorpions regularly, so I tend to leave them alone. Too bad they can do nothing about the centipedes. :-D
<jessicah>
eep, scorpions too?
<jessicah>
gosh, NZ is so tame :p
<OscarL>
yup. Not so much now that the temps start to get lower, but in summer... you have to be careful where you step if you're bare foot :-D
<OscarL>
Down here, having properties for rent is... meh... I have a property for rent (better than my own home, but still pretty basic for 1st world standards)...
<OscarL>
It nets me 50-70 USD per month (depending on our crazy currency exchange), on a property valued at around 45k USD.
<OscarL>
Also, we have >8% monthly core inflation, and rent is, by law, only adjusted annually, and 3 years contract minimum.
<OscarL>
not a particularly lucrative investment, and both owners and renters are pissed at that law. Just Argentine things...
kinkinkijkin has quit [Quit: Leaving]
kevans91 has joined #haiku
AlaskanEmily has joined #haiku
<OscarL>
At last... "games-puzzle/monsterz" looks good. Now we wait for the reviewers :-D
* OscarL
goes to play Monsterz with the music on.
Raposa has quit [Remote host closed the connection]
<OscarL>
Adrien's "Dev console" is shaping up nicely! Would make a fine addition to haiku_devel package (or haiku_extras), me thinks.
HaikuUser has joined #haiku
HaikuUser has quit []
<jessicah>
what is "Dev console"?
<OscarL>
PulkoMandy's rewrite of BeDC.
<OscarL>
an app that collects logging output sent by other apps.
<OscarL>
(instead of using printf() everywhere, like the cavemen that I am :-P)
<botifico-c849d97b>
[haikuports/haikuports] Begasus b0d4d3d - soundpipe, sources are removed from the netout of respect for the Csound community (#8477)
<PulkoMandy>
Yes, it just receives BMessages. It can show just a text line or show all the content in a message if you want. I think I'll change some things in the protocol (to have more log levels and more colors at least)
<Begasus>
Looks like some didn't check their 32bit PR's well enough :)
<OscarL>
Just my usual ups and downs, I guess :-). Nothing critical. I just couldn't really concentrate, and... believe it or not... sometimes I am NOT chatty :-D
<OscarL>
Thanks for asking Begasus.
<Begasus>
Np, thought so, it just was too quiet in here without you :)
<OscarL>
Noticed that when reading the logs, LOL :-D
<Begasus>
fixed a few of the python packages mentioned in your list (but didn't update the list) :)
<OscarL>
Already marked most (if not all) of them. Thanks!
<Begasus>
repology is up again (was down the whole day yesterday)
<Begasus>
np, they needed some small changes anyway ;)
<Begasus>
the web is closing in on the static libraries I think ;)
<OscarL>
*that* was/is a long list :-D
<Begasus>
media-libs is done (that was one of the major directories)
HaikuUser has joined #haiku
HaikuUser has quit []
<OscarL>
Saw you having "fun" with sci-libs too :-P
<Begasus>
hate those buggers :P
<Begasus>
atm sci-mathematics, sci-libs are done
<Begasus>
bumping pari
<Begasus>
one advantage there, not much dependencies :)
<OscarL>
Question, Begasus: the monsterz recipe list WTFPL license, but also GPL and LGPL. I left those there, just in case, but I couldn't see any GPL/LGPL code in the sources.
<OscarL>
*forgot the question...
Diver has joined #haiku
<OscarL>
Do you think it is due to monsterz.py relying on pygame or something?
<OscarL>
in any case, pygame lists only GNU LGPL v2.1, and I don't even know how "linking" applies to interpreted code :-D
<Begasus>
mygame license should not be part of monsterz
<Begasus>
otherwise the list in licesnes would be long for some recipes :)
<OscarL>
*applied them, then extracted the patchset.
<OscarL>
What I mean is... before even those patches... not sure where people got the GPL/LGPL when downloading the sources from http://sam.zoy.org/monsterz/
<Begasus>
I try to keep the patches as they sometimes contain the auther and reason for the patchset
<Begasus>
did you try grep'n the source for it?
<OscarL>
re: patches... some had author info in them, I made sure to keep that in our patchset.
<OscarL>
the ones that didn't, I mentioned where they came from.
<OscarL>
ah...
<Begasus>
+1
<Skipp_OSX>
arg
<OscarL>
some of the sound effect files are apparently GPL/LGPL, lol.
<Begasus>
;)
<Begasus>
'lo Skipp_OSX
<OscarL>
how can those licenses apply to data files.... beats me.
<Begasus>
no expert there :P
<OscarL>
and that's why I stick to the shortest license I can find :-D
<Begasus>
said the wise man :P
<OscarL>
schismtracker seems to build, install, and start OK on 64 bits Begasus.
<Begasus>
wasn't that done already OscarL ?
<OscarL>
Just tested it because when reading the logs I've noticed that it wasn't there in the 64 bits buildmaster.
<OscarL>
for now only lilypond, libreoffice, etc all only use "cmd:fontforge" and I don't see any recipe depending on the lib (checked just to be sure, as the lib version changes between the fontforge recipes).
tqh has joined #haiku
<OscarL>
I guess "youcompleteme-20190107.recipe" could be retired as well (as it depends on libpython3.6 :-D)
<Begasus>
newer one there?
<OscarL>
the new one (2022) uses 3.9
<OscarL>
both the older ones need 3.6, so I guess both of them could go "bye bye".
<OscarL>
Should check with PulkoMandy, just in case.
<Begasus>
guess so :)
CPYou has joined #haiku
<PulkoMandy>
If there's a newer recipe there's no need to keep the old one?
<PulkoMandy>
I think none of the youcompleteme versions work quite right currently? I should investigate this again… and also we need to update to vim 9.0
<Begasus>
with one of the PR's from Habbie it worked ok PulkoMandy
<PulkoMandy>
Nice, I guess I didn't check the recent developments :)
<OscarL>
of all the three recipes... only the older one has one ARCH enabled (x86), the rest are either ! or ?, so I guess that will need changing.
<Begasus>
might as well update to the latest release OscarL ? ;)
<OscarL>
depot only has youcompleteme_x86 from the oldest recipe :-)
<OscarL>
"ycmd was originally part of YouCompleteMe's codebase, but has been split out into a separate project so that it can be used in editors other than Vim."
<OscarL>
"win8linux[m]", that's a name I keep seeing pop up semi-randomply on some of my PRs... usually in the form of merge commits, see for example: https://github.com/haikuports/haikuports/pull/8256
<OscarL>
wonder why is that?
<Begasus>
eeps ... also used by ffmpeg4 :/
<OscarL>
also seen some of win8linux commits being co-authored by win8linux :-D (I guess that win8linux[m] has repos set to different email addresses).
<Begasus>
I use upstream to keep my fork on par, works fine :)
<OscarL>
I have origin (my fork), upstream (haikuports), and now I have one local, so I can exchange things faster when switching between 64 and 32 bits :-D.
<Begasus>
the forked repo has both (upstream fetch, origin push) (using alias gmp to keep things on track)
AlaskanEmily has quit [Remote host closed the connection]
<Begas_VM>
k, 1.2.4 > 1.2.0, so all things should be fine there (unlike the one from libsndfile (1.0.0 is not > 0.1.34)) :)
<OscarL>
good. less people complaining on the forum then :-D
<x512[m]>
Is there any option in Haiku to blacklist some USB device/port?
<Begasus>
never been there x512[m]
<x512[m]>
Some strange built-in USB device appear on new PC that is recognized as USB mass storage, but do not actually work as USB mass storage and cause DriveSetup to freeze.
Blendie has joined #haiku
<OscarL>
seems we don't have something like usb_modeswitch either.
<OscarL>
albeit that recipe is still marked as broken.
<Begasus>
the newer one isn't enabled?
<Begasus>
;)
<OscarL>
that's my point... seems like a WIP recipe to me. You mean I should try to revive the oldest one (the only one that had any ARCH enabled) and try to update that to newer python?
<Begasus>
right OscarL
<Begasus>
did you try to build one of the newer versions?
<OscarL>
not yet. I was just trying to do some clean up.
<OscarL>
Trying to revive the oldest recipe will be a pain in the butt... lets see.
<OscarL>
depends on clang 7. fantastic! :-D
<Begasus>
hehe
<Begasus>
from one pit into another one :)
<Begasus>
grabbed a new source (more recent) for gri, back to basics ...
Anarchos has joined #haiku
<OscarL>
this is nuts. the oldest youcompleteme recipe requires Python 2 (for some python embedded thin inside vim 8.1).
<OscarL>
at least that's what a comment says in the recipe :-P (but also requieres some python 2.x packages so... ¯\_(ツ)_/¯
<PulkoMandy>
yes, I did that
<PulkoMandy>
at the time, vim was built with gcc2, so the code running inside vim needed to be in python 2
<PulkoMandy>
but that is fixed now, vim is a secondary arch package, so that hack can be removed
<|cos|>
Python 2 will outlive everyone on this channel.
<OscarL>
I mean... I understand the need then. The nuts part is trying to make it work now :-D
<Begasus>
keeps you busy ;)
<OscarL>
you mispelled crazy :-P
<Anarchos>
PulkoMandy i compiled vim with python3 it works well
<Anarchos>
vim --version : (...) +python3 (...)
<bitigchi[m]>
It would be nice if someone could bump the vim version as well. Normally I’d do that, but I am away from my Haiku setup at the moment…
Babaj has joined #haiku
gouchi has joined #haiku
<OscarL>
Too bad hp gives no feedback on the progress when "Fetching package for..."
<OscarL>
Begasus: "unable to resolve required packages for build youcompleteme_x86". Seems you can't have both llvm12 and 7 at the same time?
<Begasus>
maybe conflicts in the devel package? (haven't checked)
<OscarL>
seems like it. I ended up using pkgman directly to see the problem (haikuporter didn't gave much info).
<Begasus>
right, would be nice though (hint) :)
<OscarL>
if only I wasn't occupied with this old recipe... :-P
<OscarL>
holy mother.... 190 MB AFTER the 36 MB it already downloaded?!?!
<Begasus>
whoops, enjoy! :O
<Begasus_32>
warning: kpathsea: configuration file texmf.cnf not found in these directories: /boot/system/data/texlive/texmf-dist/web2c:/packages/texlive_core_x86-2022-1/.self/data/texlive/texmf-dist/web2c:/boot/system/non-packaged/data/texmf-dist/web2c:/boot/home/config/settings/texmf-dist/web2c.
<Begasus>
can't seem to track this down
<Begasus>
if jmairboeck sees it maybe he got some pointer ;)
<Begasus>
going out to the grandchildren
<OscarL>
enjoy them.
<Begasus>
will do, thanks :)
<Begasus>
cu later!
Babaj has quit [Quit: Leaving]
<trungnt2910[m]>
Any tool to debug Haiku's messaging services (the one that uses _kern_register_messaing_service)?
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
AtomoZero has joined #haiku
orealis has quit [Read error: Connection reset by peer]
orealis has joined #haiku
<x512[m]>
trungnt2910: I don't know any.
<x512[m]>
What kind of debugging are you want?
Anarchos has quit [Ping timeout: 480 seconds]
gouchi has quit [Quit: Quitte]
itaniumdream has joined #haiku
illwieckz has quit [Ping timeout: 480 seconds]
illwieckz has joined #haiku
itaniumdream has quit [Quit: Vision[]: i've been blurred!]
AtomoZero has quit [Quit: Vision[]: i've been blurred!]
<andreasdr[m]>
jessicah, waddlesplash, OscarL: Good talk yesterday still, dont ask about ability to find a flat in Berlin or even the price of it. :(
<andreasdr[m]>
We had no real winter here for years, and in the summer its hotter here now too than 10 years ago. However for me its not a problem. Living in a backyard here with decent temperature even in hottest summer.
<andreasdr[m]>
x
<OscarL>
be glad I can't afford to travel there... I'll be squatting your backyard otherwise :-P
<andreasdr[m]>
OscarL you can come by for a beer :)
<andreasdr[m]>
Something like our Wiesenfest in Bavaria. Thats not for me. :)
<OscarL>
I mean... I'm only interested in the beer aspect, not the people :-P
<OscarL>
also the food, of course.
<andreasdr[m]>
Berlin was crazy like 5 years ago already. I had a affordable flat visit in Prenzlberg once. With 300 people waiting in the queue to see that flat. 50squarementers for < 500€ per month.
<andreasdr[m]>
First the price happens super rarely and second sooooo many people :DDD
<OscarL>
I remember hearing about the "mil-euristas" in Spain (people that earned only 1000 per month) some years ago, and how difficult it was to find something to rent while earning that. Guess now it just even worse :-/
<OscarL>
meanwhile... switching to llvm12... another 99 MB of slow download :-/
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
AlienSoldier has joined #haiku
<OscarL>
getting closer to having a working YouCompleteMe for vim... just need to find the right place to patch it :-D
floof58 is now known as Guest11876
floof58 has joined #haiku
Guest11876 has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
humdinger has joined #haiku
BrunoSpr has joined #haiku
BrunoSpr has quit []
BrunoSpr has joined #haiku
BrunoSpr has quit []
<humdinger>
PSA: You can help adding/updating translations for the next releases of
<botifico-c849d97b>
[haikuports/haikuports] korli 5d03c2c - libopenshot_audio: bump version
<botifico-c849d97b>
[haikuports/haikuports] korli ca28994 - grpc: bump version
cocobean has joined #haiku
jessicah has quit [Quit: Connection closed for inactivity]
dovsienko has joined #haiku
<dovsienko>
hello all. I came across an oddity in Haiku C headers and before filing a bug report would like to confirm this is not what was originally intended
tqh has quit [Quit: Leaving]
AlienSoldier has quit [Ping timeout: 480 seconds]
<dovsienko>
specifically, /system/develop/headers/posix/unistd.h declares ioctl() as a macro:
<dovsienko>
however, struct ioctl_args comprises two members (argument and size)
<PulkoMandy>
yes, the size is optional, not all ioctl operations use it
<PulkoMandy>
but it will be set to 0 by the struct ioctl_args initializer
<dovsienko>
the matter is, Clang, when it runs with -Werror, generates an error about a struct member not initialized
<dovsienko>
without -Werror it does not generate the warning (this is not consistent, but this is not the first time I see such discrepancy in warnings handling in C compilers)
<PulkoMandy>
well, this is compliant to both the C and C++ standards as far as I can see, so that warning should be disabled in clang in this case (I understand why they have it, but in this case the code is correct)
<dovsienko>
so when some user code compiles using clang -Werror, the build fails due to a warning made error that comes from the system header
<dovsienko>
PulkoMandy: so, would it help to make this a bug report?
<PulkoMandy>
I don't know if we can do anything on our side to fix this
<PulkoMandy>
I will add a comment to the header file explaining how this works, at least
<dovsienko>
if it helps, GCC somehow does not generate a warning about that particular bit, regardless if given -Werror or not
<PulkoMandy>
yes, I don't think there should be an error here, this code is standards compliant, we're doing something unusual, but allowed
<dovsienko>
PulkoMandy: let me check if changing the macro definition to init the size to 0 explicitly eliminates the warning from Clang
<PulkoMandy>
you can probably use -Wno-missing-field-initializers or -Wno-error=missing-field-initializers to avoid getting an error
<PulkoMandy>
I don't see how you can do that, the macro parameter is "c..." which can expand to one or two parameters that will be used to initialize the structure
<Begasus>
re
<dovsienko>
oh, /boot/system is packagefs, so I cannot just edit the file in place
<PulkoMandy>
so if you call ioctl(a, b, c, d) the structure is initiqlized with { c, d } and if you call ioctl(a, b, c) the struct is initialized with { c } which is equivalent to { c, 0 }
<dovsienko>
okay... so, alternatively, the user code could call the ioctl with an additional sizeof() argument #ifdef __HAIKU__, correct?
<dovsienko>
that's something I can also try
<PulkoMandy>
yes, or you can probably pass an explicit 0 as well
<dovsienko>
okay, that works
<dovsienko>
(sizeof works)
<dovsienko>
it would help to have at least a comment in the header
<dovsienko>
alright, thank you for your input
<dovsienko>
it may be practicable to disable the specific warning for the specific macro by pushing the current state, disabling it and then enabling it, specifically for Clang
<dovsienko>
let me know if you would like to look at a working example
<PulkoMandy>
yes, let me check what syntax clang allows for this, and if we can write it in a way that our compilers (especially gcc2) can allow
<dovsienko>
with whatever simplifications and corrections required for the use case
<PulkoMandy>
this uses _Pragma, which needs C99. So we can't directly use that for gcc2. But yes, we can probably make this work just for clang
<PulkoMandy>
this things gets a bit more complicated than I'd like it to :(
<dovsienko>
well, since the warning only pops on Clang, that needs to be conditional to #ifdef __clang__ and possibly a major version test if required
<dovsienko>
in tcpdump the problem appears from the opposite perspective: the developer has control over the code, but not over the OS, the complier and the compiler version that the user happens to have
<PulkoMandy>
yes, not blaming tcpdump for that :)
<dovsienko>
hence the complication of guessing which compiler name and version it is in compiler-tests.h above
<andreasdr[m]>
Oh. gcc2 requires #pragma, never tried to compile our engine with gcc2. But we are using C++11++ for tdme2, so wont work anyways I guess.
<PulkoMandy>
it would be nice if C had default arguments for functions like C++, but we'll have to do with what we have for now
<dovsienko>
in Haiku you know if it is Clang, it is Clang >= 6.0
<andreasdr[m]>
:x
<BrunoSpr>
hello all... is it possible to move a window with the Keyboard only? If mouse is not working?
<dovsienko>
and according to the header Clang supports diagnostic pragmas since 2.8, so that's another conditional you don't need
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
<PulkoMandy>
untested, let's see if the buildbots are happy with it
<andreasdr[m]>
BrunoSpr. I use from time to time Ctrl+Space+X for maximizing windows with XFCE4. In newest gnome this also does not work anymore. Indeed keyboard controls for that can help with productivity.
BrunoSpr has joined #haiku
nosycat has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
Begas_VM has quit [Quit: Vision[]: i've been blurred!]
<Begasus>
closing down for today, cu peeps
Begasus has quit [Quit: Leaving]
<dovsienko>
PulkoMandy: s/-stc=c89/-std=c89/
OscarL has quit [Quit: Page closed]
<dovsienko>
I am not sure why the warning is in double quotes in diag-control.h above. the difference may or may not be meaningful
<dovsienko>
other than that, thank you for a quick response
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
tqh has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
<PulkoMandy>
thnaks, fixed that
HaikuUser has joined #haiku
HaikuUser has quit []
<x512[m]>
That long comment makes hard to understand whole header. I think it is better to move text to separate file.
<PulkoMandy>
where would you put it? the comment is useless without the code next to it
<x512[m]>
Doxygen file?
<dovsienko>
traditionally comments are next to the code they explain
<x512[m]>
Public headers are often used for reference.
<x512[m]>
PulkoMandy: Did you looked at argument overload macro solution I posted above?
<PulkoMandy>
I put it in the header because it is helpful to people trying to call ioctl to understand how this works, but I'm not sure it would be right to put it in the Doxygen because this is somewhat of an "internals" thing
<PulkoMandy>
yes, I had seen that option, I find it even more confusing than what we have now
<PulkoMandy>
you need 4 different macros, one for ioctl with 2, 3 and 4 arguments, and one to select which of the other 3 to call. And also, more importantly, compilation doesn't fail if you have 5 arguments or more
<x512[m]>
> And also, more importantly, compilation doesn't fail if you have 5 arguments or more
<PulkoMandy>
I think korli had implemented it this way initially before I did the current version, this can probably be found in the gerrit history for this change
<x512[m]>
It can be achieved with macro wrapper over regular C variable argument function.
<PulkoMandy>
feel free to submit a better implementation if you want :)
<dovsienko>
from a practical perspective, would it be better for me not to add the #ifdef __HAIKU__ wrappers because the warning is going just to go away eventually?
<PulkoMandy>
it depends how long you want to wait for it, we may not include this change in the beta 4 branch, so it may be several months before this gets merged. And it's always safe to call ioctl with 4 arguments (with or without that change)
<PulkoMandy>
so you can keep it in if you want to support haiku R1 beta4 (the latest release), or wait until beta 5
<dovsienko>
okay, belt and braces then
<dovsienko>
let's make it a conditional at my side of the #include with a comment that after R1b5 it will need to be re-tested and possibly simplified back how it was
Anarchos has joined #haiku
<dovsienko>
meanwhile, would it help to open a bug report so that there is a long-term reference?
mmu_man has quit [Ping timeout: 480 seconds]
BrunoSpr has joined #haiku
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
mmu_man has joined #haiku
tuaris has joined #haiku
kinkinkijkin has joined #haiku
Anarchos has quit [Quit: Vision[]: i've been blurred!]
BrunoSpr has joined #haiku
<PulkoMandy>
I don't think that's really useful, the git log and the comment I added will probably be enough? but you can create one if that's useful for your own tracking of this
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
BrunoSpr has joined #haiku
BrunoSpr has quit []
Blendie has quit [Quit: Connection closed for inactivity]
<dovsienko>
PulkoMandy: I will put the review URL into the comment for reference then
BrunoSpr has joined #haiku
BrunoSpr has quit []
Anarchos has joined #haiku
BrunoSpr has joined #haiku
BrunoSpr has quit []
BrunoSpr has joined #haiku
BrunoSpr has quit []
BrunoSpr has joined #haiku
BrunoSpr has quit []
BrunoSpr has joined #haiku
BrunoSpr has quit []
HaikuUser has joined #haiku
HaikuUser has quit []
BrunoSpr has joined #haiku
BrunoSpr has quit []
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
gouchi has quit [Remote host closed the connection]
Diver has quit [Quit: Leaving.]
<Anarchos>
why this : xkbcommon: ERROR: failed to add default include path /boot/home/config/non-packaged/share/X11/xkb
<Habbie>
also, pity that partition names are only shown once you go to parameters for a partition
<dovsienko>
PulkoMandy: thank you for your help today, I may check in at a later time if there's anything else in need of a discussion
dovsienko has left #haiku [Leaving]
higen has quit [Quit: left - chatz]
<PulkoMandy>
I'm happy to help
<PulkoMandy>
Habbie: yes, it looks like Linux has not invented directories yet
<Habbie>
well, that was not the point, the 5/6 difference was :)
<PulkoMandy>
Ah, yes, they s art counting partitions at 1, we start at 0
<Habbie>
yes
<Habbie>
i had also given the partition a name but haiku drivesetup does not show that in the overview
<PulkoMandy>
I think historically on unix, partition 0 was used for the whole drive. Itws possibly still the case in linux minor/major device numbers?
* Anarchos
is tired of gtk errors ... xkbcommon: ERROR: failed to add default include path /boot/home/config/non-packaged/share/X11/xkb <Anarchos> <Anarchos> (coqide:6080): GLib-GIO-WARNING **: 23:50:11.220: Failed to create file monitor for /boot/home/config/settings/glib-2.0/settings/keyfile: Impossible de trouver le type de moniteur de fichier local par défaut
tqh has quit [Quit: Leaving]
<Habbie>
PulkoMandy, indeed, sda is 8,0 and sda1 is 8,1 etc.