<OscarL>
Adjusting the % formatting should be enough to get the decimal printed at least.
<OscarL>
Not sure if it will already use the proper locale settings.
<aazam[m]>
The % formatting is done, just replaced the 0f with 2f
<OscarL>
but just removign those ".0" from the formatting, and then testing sounds reasonable to me.
<aazam[m]>
Yes
<OscarL>
%2f ? what happens if the point is in a 4k screen?
<OscarL>
I'd go for the old and trusty "%f", and call it a day :-)
<aazam[m]>
you mean %.2f right?
<aazam[m]>
That works too
<OscarL>
there are some new API additions to set the desired precision in decimal/currencies/etc, but that's pretty fresh. For PrintToStream (basically a debugging helper), I think plain %f is reasonable.
<aazam[m]>
Yeah, I was reading about the API additions yesterday
<aazam[m]>
But as you said for a debug helper it shouldn't matter as much
<OscarL>
or at least can be improved further in the future if needed :-)
<OscarL>
Mmm, BPoint doesn't seems to have a unit-test under /src/tests/kits/interface.
<OscarL>
maybe adding a simple one could be a good idea? (can test that PrintToStream() call there :-D)
mr_lou has joined #haiku
<aazam[m]>
Sure, I'll try that as well
<OscarL>
a basic one seems pretty straight forward that even *I* was able to just add a short one :-)
<OscarL>
and it is my first time trying to do so. Ask around if you get stuck at any point.
<aazam[m]>
The directory name of the test will be bpoint but what do I name the test file specifically? PrinttoStreamTestor PointTest?
<OscarL>
I would just add a PointTest.cpp file under "src/tests/kits/interface"
<aazam[m]>
that keeps it simple
<OscarL>
you can just simply add a "main()" funtion to it, as other "SimpleTest" do in that directory.
<OscarL>
See ScreenTest.cpp, for example, but you don't need most of that. Just instantiate a BPoint variable, PrintToStream() to show that its values are 0/0, change both point.x/point.y, PrintToStream() again.
<OscarL>
That would be my quick-and-dirty version :-)
<aazam[m]>
Alrighty lemme try it
<OscarL>
To add it to the build system... look into the "Jamfile" in that directory...
<OscarL>
copy what any of the "SimpleTest" do.
<OscarL>
as in... just add a new SimpleText to Jamfile, that references PointTest / PointTest.cpp.
<OscarL>
for quick tests, without using jam, you can of course just compile your test with "gcc -o PointTest PointTest.cpp -lbe"
<OscarL>
(but that would be using the libbe.so that its installed in the system, not the one with your changes in %f formatting)
<aazam[m]>
I see.
<OscarL>
Adding it to the Jamfile, and then using something like "jam -q -j4 PointTest", should compile/link things propertly
<aazam[m]>
Adding it to Jamfile seems rather straightforward
<OscarL>
I'm not *exactly* sure if PointTest will find the updated libbe.so right away, of if more "incantations" are needed...
<OscarL>
puting both "PointTest" and a "./lib/libbe.so" next to it in the same dir, should work thou.
<OscarL>
Hopefully real devs will wake up soon, and assist you better than I can :-)
<aazam[m]>
I'll try to get the test done atleast
tuaris has quit [Read error: Connection reset by peer]
tuaris has joined #haiku
Bluemare has joined #haiku
Begasus has joined #haiku
<Begasus>
g'morning peeps
<OscarL>
Hey Begasus.
Bluemare has quit [Ping timeout: 480 seconds]
<Begasus[m]>
Hola Oscar-L :)
<OscarL>
damn ghosts in the matrix! :-P
<Begasus[m]>
It's easy to read back here :P
<Begasus>
no need to open whitequark anymore ;)
<OscarL>
So... it seems /dev/misc/poke had another user I didn't know about? (pciutils).
<Begasus>
yeah, did he get in contact with you?
<OscarL>
not yet.
<Begasus>
probably timezone
<OscarL>
test-driving an updated pciutils-3.11.1 right now.
<OscarL>
should probably just upstream extrowerk's patch for it.
<Begasus>
+1
<OscarL>
heh, "cmd:setpci" not testing that one for now (forgot what's safe to touch on PCI config space)
<Begasus>
messed up system before? ;)
<OscarL>
plenty of fun when writting poke, and using it to tests drivers and such.
<OscarL>
plenty of crashes, parts of the screen turning green, too :-P
<Begasus>
create basic setup in vm, clone and then you can f* up that one :)
<OscarL>
the less funs: just system freezing.
<OscarL>
new cmd:pcilmr on pciutils. I have no idea what it does.
<Begasus>
man pcilmr?
<OscarL>
not doing much on Haiku (or at least on this VM).
<OscarL>
Begasus: I have no idea what's for AFTER reading the man page :-P
<OscarL>
"Links with Lane Margining at the Receiver capabilities:" / "Links not found or you don't have enough privileges."
<OscarL>
at least doesn't seems to break anything :-P
<Begasus>
heh
<Begasus>
k, thanks to jmairboeck I now have to rewrite the KF5 recipes here :P
<OscarL>
srcGitRev vs release tarballs?
<Begasus>
all 93 recipes :P
<OscarL>
ouch.
<Begasus>
it's not a srcGitRev :)
<Begasus>
tagged releases at gitlab
<OscarL>
ah, same thing with github then. "releases preferable", but... sometimes they left you with no choice :-D
<OscarL>
PriyanshuGupta[m]: one of the real devs surely will have better answers. Keep trying at different timezones, or ask in the forum or mailing list too.
<gordonjcp>
bit of a weird one this morning, my laptop wouldn't respond to keypresses or trackpad/trackpoint movement
<gordonjcp>
booted Haiku off a USB stick, worked fine
<gordonjcp>
rebooted into the install, worked fine
<gordonjcp>
it worked with an external mouse and keyboard before I booted off USB
<gordonjcp>
"one of those things" eh
<OscarL>
Grüß Gott, mister... we speak UTF-8 down here! (had to look that one up, /me barely speaks Spanish and some English :-P)
<Begasus>
Guten Morgen gordonjcp :)
<OscarL>
gordonjcp: you where asking for APIs to do PCI enumeration, right?
<coolcoder613>
Morgen? not here (7:42 pm)
<phschafft>
gordonjcp: Ei gude, wie?
<Begasus>
This is getting confusing ... :)
* OscarL
will start typing gibberish and try to convince people it is a real language.
<B2IA>
(UnrealNeil) 6:42 pm, sun is going down
<Begasus>
OscarL, compared to? :P
<OscarL>
my typing a few days ago when I had half a bottle of wine, but forgot I had taken a myorelaxant the day before? :-D
<B2IA>
(UnrealNeil) Gibberish - spoken on the Island of Gibber, where the Gibberoen people live happy but confused lives
<OscarL>
boy... THAT was hard to read :-D
<Begasus>
lol
<coolcoder613>
lol
<B2IA>
(UnrealNeil) T H A T, not so difficult to read...
tuaris has quit [Quit: Leaving.]
<OscarL>
ah... it was "gibsonpil" the one asking about PCI enumeration. started with "g" close enough... I've done worse :-P
<OscarL>
Begasus: korli's "hw-probe" seem to just need "cmd:lspci" (provided by pciutils). We should be good moving to x86.
<OscarL>
(famous last words)
<Begasus>
I'll let him be the judge :)
<B2IA>
(UnrealNeil) ...written on the tomb of the unknown coder
Begasus has quit [Quit: Vision[]: i've been blurred!]
Begasus has joined #haiku
<Begasus>
ok, this seems to work :D
Begasus has quit []
Begasus has joined #haiku
<Begasus>
k, if we can't have theming for Vision I'll just save the settings file with different names :D
<Begasus>
save/copy*
<B2IA>
(UnrealNeil) Flash Gordon once defeeted TheMing... but not for Vision
<Begasus>
short term solution :)
<Begasus>
biab
coolcoder613 has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser is now known as scops
scops is now known as scops_
<scops_>
hey :)
<B2IA>
(UnrealNeil) ho
<scops_>
just a question; is there a how to tu connect to cifs/smb shares? i installed the old fuse packages - and created a fusesmb.conf but nothing is listed on the desktop
<Begasus>
re
<OscarL>
scops_: IIRC, only SMB1 is supported. And Win pretty much have that disabled in favor of newer versions.
<Begasus>
k, 'bout to brake my KF6 install :P
coolcoder613 has joined #haiku
<scops_>
thanks, OscarL :( i will try sshfs next to connect to my nas
scops_ has quit [Quit: Vision[]: i've been blurred!]
<OscarL>
too late to mention that some folks use their NAS with NFS4.
HaikuUser has joined #haiku
HaikuUser is now known as scops_
<scops_>
re...
<scops_>
i assume sshfs via fuse doesn't work either?
<OscarL>
I've heard a few users say they do use sshfs, but I do not know the details.
<OscarL>
I've read of users using their NAS with NFS4 too (some info on the forums might come in handy there).
<OscarL>
coolcoder613: you use sshfs, no?
<scops_>
NFS would be also an option for me ... hm
<coolcoder613>
I use sshfs to Haiku, not from Haiku
<OscarL>
scops_: apparently, something like this should work for NFS4: `mount -t nfs4 -p "192.168.1.253:/my_folder" /boot/home/Desktop/mount_point`
<scops_>
^^" yeah this works nicely
<scops_>
thanks... i try it
<OscarL>
scops_: some other user reports needing to drop the "" around the IP:/folder, so... YMMV.
<botifico>
[haikuports/haikuports] OscarL bf2b58f - pciutils: update to version 3.11.1. (#10209)
dovsienko has joined #haiku
<Begasus>
Hello dovsienko
<scops_>
i must say... thanks to the guy fixed the haiku terminal (last checked about half a year ago...) now unicode emojis work nicely with for example gomuks running on a pi next to my haiku laptop x)
<dovsienko>
hi all
<scops_>
though, not all multibyte stuff but it is useable at least
<scops_>
for example multibyte stuff with amfora isn't displayed at all... yeah OscarL, it isn't perfect but better as nothing (like a few months back)
mr_lou has quit [Quit: Leaving]
<OscarL>
Reading about multi-code-points emojis...
<OscarL>
"Placing a man 👨, a woman 👩, a girl 👧 and a boy 👦 next to each other renders as a one family emoji. All concatenated with special joiner character."
* phschafft
hears a something like 'in the good old days when a character had a fixed number of bits and that was 5' between the lines ;)
<OscarL>
"👨👩👧👦" liars! where's my family emoji? /me wants his money back.
<OscarL>
copy/pasting emojis in Terminal is pretty much broken too.
<Begasus>
why would you use emojis in Terminal in the first place?
<OscarL>
I woudln't but other people do.
<OscarL>
and then tests fails, and you blame me :-P
<Begasus>
wouldn't dare to .. aside from these :P
<OscarL>
emoticons for life! :-D (specially the 3-chars ones)
<Begasus[m]>
Or use one from the matrix 👪
<OscarL>
at the font sizes I use... all emojis are just a blob of pixels to me.
<cyrusbuilt>
morning all
<Begasus>
noon cyrusbuilt
<OscarL>
I think I have less problems distiguising CKJ chars than emojis :-D
<Begasus>
lol
<cyrusbuilt>
Begasus: Good work on KDevelop! I saw the screenshot last night as I was closing up my office
<Begasus>
nothing new there cyrusbuilt (just the latest version), prior work was done by M3dEyes[m]
<cyrusbuilt>
ah
<Begasus>
well, not nothing ... you get my point :)
<cyrusbuilt>
well my hats off to M3dEyes[m] too then
<Begasus>
righto!
<dovsienko>
Internet and Unicode were designed for missions more noble than pushing poor quality miniature pictures around the globe
<cyrusbuilt>
Don't forget cat videos
<Begasus>
cats? tsss
<dovsienko>
to convey the idea of a family, just use the letters "f", "a", "m", "i", "l", "y" placed next to each other in the correct order and without any special joiner characters. this is a particular case of a generic concept called "word". this is the word "family". please take notes carefully and prepare for the next lesson of how to add 2 and 2...
<dovsienko>
and do not leave the kindergarten until your responsible adults come to pick you up
<Begasus>
LOL
mr_lou has joined #haiku
<Begasus>
whoops, I broke it? :P Codeberg is currently unavailable for technical reasons.
<dovsienko>
just as I thought Haiku build of tcpdump finally requires no more attention and it would be fine to forget about it for a while, it broke
<dovsienko>
apparently, it finds pcap_findalldevs_ex() before compiling the code, but not at the time of linking, and only in a very specific combination of parameters...
<Begasus>
back to the design board then dovsienko :)
<zard>
Time to build haikuwebkit from scratch... again. I need a debug build, not a release build.
<zard>
Probably going to take all day, just like last time
<Begasus>
not that bad zard :)
<cyrusbuilt>
Please forgive me if I'm about to ask a stupid question, but I've been gone for 4 years and trying to get re-acquainted with haikuports recipes...
<Begasus>
fire away cyrusbuilt
<cyrusbuilt>
I just pulled the latest source for GitQlient. I was able to build and run it without any patches at all. Looks like francescm removed the platform checks and such that necessitated the original patch I had. That being said, the current version (1.6.2) runs just fine without any modifications needed.
<Begasus>
and the question is? ;)
<cyrusbuilt>
That being said, to update the recipe, it seems like I need to: 1) delete the patchset. 2) Update the recipe with the URL to the latest tar file and bump the revision, etc. 3) Rename the recipe file with the current version?
<cyrusbuilt>
Is that correct?
<Begasus>
if you got $portVersion in the SOURCE_URI it's enough to rename the recipe with the correct version and drop the patchset
<Begasus>
set REVISION to 1 (as it's a new version)
<cyrusbuilt>
ah ok
<cyrusbuilt>
Begasus: awesome. Thanks! I'll hopefully get a PR in to haikuports later today or tomorrow then. I gotta build and test the package and such after I finish testing the app and make sure there aren't any surprises in functionality.
<Begasus>
+1 cyrusbuilt, I'll do some checking here too once you get the PR up :)
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
<Begasus>
bugger ... need to finish the KF6 frameworks before checking that up in KDevelop :)
walkingdisaster has joined #haiku
ClaudioM has joined #haiku
<OscarL>
later folks. (zzzZZZzzz)
OscarL has quit [Quit: Gone with the wind]
bbjimmy has joined #haiku
itaipu has quit [Ping timeout: 480 seconds]
scops_ has quit [Read error: Connection reset by peer]
<cyrusbuilt>
I need to set up a VM with Haiku in it so I don't have to go to my basement to work on this. Maybe I'll do that first. I'm terrible about juggling my day job with 'extra curricular' work lol
<cyrusbuilt>
Time to go get virtual box
<cyrusbuilt>
oh wait. do they not have a macOS ARM build?
<cyrusbuilt>
crap it's still in beta
<Begasus>
doesn't mac have something like paralel?
HaikuUser has joined #haiku
HaikuUser is now known as scops_
itaipu has joined #haiku
xet7 has joined #haiku
v_harkonnen has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
<cyrusbuilt>
yeah. My employer bought me the business edition a while back, but the license needs upgraded. I don't currently have a valid reason to get that expendature approved though.
<Begasus>
heh
<Begasus>
Just tell him Haiku is the future! :D
<cyrusbuilt>
I installed the developer preview v7.0.8 of virtualbox for M-series macs, but the VM keeps crashing when the haiku iso starts booting up
<Begasus>
:/
<cyrusbuilt>
I have a linux laptop I can install virtualbox on here too though. Going that route.
<cyrusbuilt>
Not a very beefy system though (core i3 w/8GB RAM)
<cyrusbuilt>
Should be just good enough though. I think.
<cyrusbuilt>
I'll give haiku 2 cores and 4GB
<Begasus>
haven't looked into the source, so can't tell how many sources it needs :)
<Begasus>
96 packages ... getting closer ;)
mmu_man has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
v_harkonnen has quit [Ping timeout: 480 seconds]
mmu_man has quit [Ping timeout: 480 seconds]
<cyrusbuilt>
Sweet. Got the VM setup
mmu_man has joined #haiku
<Begasus>
almost there then ;)
<cyrusbuilt>
Yep. Installing all the software I need now
<Begasus>
got a little script here I can use on new installs to setup all that's needed :)
v_harkonnen has joined #haiku
<cyrusbuilt>
I prolly need to put together something like that
<Begasus>
nowadays I just use an existing install if I need to do it over, saves me that step, but yeah, in the past it was handy
nosycat has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
mmu_man has quit [Ping timeout: 480 seconds]
v_harkonnen has quit [Ping timeout: 480 seconds]
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
HaikuUser has joined #haiku
mmu_man has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
v_harkonnen has joined #haiku
v_harkonnen has quit [Ping timeout: 480 seconds]
Bluemare has joined #haiku
<Begasus>
bugger ... missed one in the list ...
<Begasus>
done :)
walkingdisaster has quit [Quit: Vision[]: i've been blurred!]
tuaris has joined #haiku
vdamewood has joined #haiku
v_harkonnen has joined #haiku
jmairboeck has joined #haiku
<jmairboeck>
Hi Begasus! Sorry for causing you some extra work with my little pedantic review comments ...
nosycat has quit [Quit: Leaving]
zard has quit [Quit: leaving]
v_harkonnen has quit [Ping timeout: 480 seconds]
<Begasus>
Hi jmairboeck, np, done now :)
<Begasus>
at least for the frameworks :D
<gordonjcp>
evening
<Begasus>
evening gordonjcp
<Begasus>
arived safely I gather? :)
Begasus has quit [Quit: Vision[]: i've been blurred!]
Begasus has joined #haiku
<Begasus>
switching to dark mode :)
coolcoder613_32 has quit [Ping timeout: 480 seconds]
<gordonjcp>
yup
mmu_man has quit [Ping timeout: 480 seconds]
<gordonjcp>
just waiting for dinner in the hotel
ClaudioM has quit [Quit: leaving]
<Begasus>
k, closing down here, enjoy your meal later gordonjcp :-)
<Begasus>
cu peeps!
Begasus has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
mr_lou has quit [Quit: Leaving]
v_harkonnen has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
mmu_man has joined #haiku
BrunoSpr has joined #haiku
BrunoSpr has quit []
BrunoSpr has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nekobot>
[haiku/haiku] 490d2ed4270d - arm64: Remove arch_cpu_memory_read/write_barrier functions as they are not used anywhere
BrunoSpr has quit [Quit: Vision[]: Ich wurde gewaschen!]
cyrusbuilt has quit []
jmairboeck has quit [Quit: Konversation terminated!]
v_harkonnen has quit [Ping timeout: 480 seconds]
cyrusbuilt has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
coolcoder613_32 has joined #haiku
<cyrusbuilt>
Getting some weird build output with haikuporter. Working on the recipe for GitQlient. v1.6.2 builds and runs just fine from QTCreator and looks like I more or less have the recipe changes done, but I get: cp: target '/sources/GitQlient-1.6.2/BenchmarkTool': No such file or directory
<cyrusbuilt>
Can't find any reference to 'BenchmarkTool' in the source, so I'm not sure where that is coming from
<cyrusbuilt>
hmmmm.... think I figured it out
Anarchos has joined #haiku
<coolcoder613_32>
Good morning
<coolcoder613_32>
Is there any program i can use to make a daily alarm on Haiku?
scops_ has quit [Quit: Vision[]: i've been blurred!]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<dovsienko>
there's a cron daemon in the ports, although I have not tried it
<coolcoder613_32>
I want command-line args for MediaPlayer!
<coolcoder613_32>
The BeOS MediaPlayer had them
<dovsienko>
VLC/MPlayer then?
<dovsienko>
or maybe it would not be too difficult to implement the ones you need? it is nice to have a real-world use case for software development
<dovsienko>
also, there's QMMP with plugins, and if it has a plugin XMMS once had (an alarm with the function to ramp the volume up slowly), then that would scratch the itch
<coolcoder613_32>
I'm using mpv
<coolcoder613_32>
with cronie
<cyrusbuilt>
Getting a new error now: Error: Reason: build-requires "devel:libqt6core" of package "gitqlient-1.6.2" could not be resolved
<cyrusbuilt>
Not sure why it's having trouble resolving libqt6core
<cyrusbuilt>
I gotta be doing something dumb
dovsienko has quit [Quit: Leaving]
zard has joined #haiku
tombhadAC has quit [Quit: Vision[]: i've been blurred!]
coolcoder613 has joined #haiku
tombhadAC has joined #haiku
<coolcoder613>
Hi zard
Bluemare has quit [Remote host closed the connection]