<nekobot>
[haiku/haiku] d75f6109c213 - kernel/arch: Prioritize post_interrupt_callback over invoke_scheduler.
wolfdog has quit [Server closed connection]
wolfdog has joined #haiku
HaikuUser has joined #haiku
utzig has quit [Server closed connection]
utzig has joined #haiku
HaikuUser has quit []
dominicm has quit [Server closed connection]
dominicm has joined #haiku
toasterking has quit [Server closed connection]
toasterking has joined #haiku
LinuxUser has joined #haiku
m_eiman has quit [Server closed connection]
m_eiman has joined #haiku
Begasus has joined #haiku
<Begasus>
g'morning peeps
LinuxUser has quit [Ping timeout: 480 seconds]
petterhj has quit [Server closed connection]
petterhj has joined #haiku
BlueSky76 has quit [Server closed connection]
BlueSky76 has joined #haiku
LinuxUser has joined #haiku
<LinuxUser>
@Begasus hi!
<Begasus>
Hi LinuxUser :)
PulkoMandy has joined #haiku
ClaudioM has quit [Server closed connection]
ClaudioM has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
dby has quit [Quit: Vision[]: i've been blurred!]
freddietilley has joined #haiku
zayd has quit [Server closed connection]
zayd has joined #haiku
fury999io has quit [Server closed connection]
fury999io has joined #haiku
yann64 has joined #haiku
Forza has quit [Server closed connection]
Forza has joined #haiku
stux- has joined #haiku
stux|away has quit [Ping timeout: 480 seconds]
paul0 has joined #haiku
paul0 has quit [Quit: Leaving]
Calisto has joined #haiku
<Calisto>
Heyy
<LinuxUser>
hello
<Calisto>
Hi LinuxUser
<Calisto>
how are you?
<LinuxUser>
nice, and you?
<Calisto>
im doing good
<Calisto>
just trying to figure out this HashSet thing
<Calisto>
wbu?
* phschafft
waves.
* Calisto
waves back :D
<LinuxUser>
currently i'm doing nothing, several days ago did some pentesting(CTF)
<Calisto>
oh woww
<Calisto>
that sounds like fun
<LinuxUser>
now thing about future new pc
<LinuxUser>
think*
<LinuxUser>
but sometimes it's not so easy
<Calisto>
btw phschafft: in the HashSet that is present, does the comparison use the == operator or does it do something like compare iterators/pointers?
<Calisto>
I was trying to create a HashSet that stores the inode numbers of the directories for O(1) lookup
<Calisto>
but it was giving me an error because it is a primitive data type --> So i created a wrapper class around ino_t and overloaded the == operator as well
<Calisto>
still doesn't work as expected tho
<LinuxUser>
even when the task level is easy
<LinuxUser>
hmm interesting is your pc modern?
<Calisto>
the one im running Haiku on?
<LinuxUser>
yes, you have several computers, aren't you?
<Calisto>
just 2... the one im running Haiku on is pretty old tho
<Calisto>
one sec
<Calisto>
like the other one is more modern
<Calisto>
like 2023 model
<Calisto>
but I have to use it for college use :)
<LinuxUser>
hmm interesting, cpu is intel, or amd?
<Calisto>
intel
<Calisto>
this one is a dell inspiron 15
<Calisto>
does that have something to do with the HashSet thing??
<Calisto>
i was wondering why it wasn't working :(
<Calisto>
i tried making the constructor explicit as well
<Calisto>
so that you have to create the object by directly callnig the constructor
<Calisto>
doesn't seem to work though :(
<Calisto>
any idea why it might not be workign
<LinuxUser>
i've reviewed specs, and i'd like to say that it's better than my laptop(around it was manufactured in 2014)
<Calisto>
im trying to see whether I made some stupid mistake
<Calisto>
yupp this thing has been with me for quite a while :)
<Calisto>
I learnt my first programming language on it
<Calisto>
so have a sort of attachment to it xD
<LinuxUser>
what programming language?
<Calisto>
Java
<Calisto>
:)
<LinuxUser>
My first OS was win7, and first PL was(and is) C#
<LinuxUser>
now i also use python
<Calisto>
ohhh
<Calisto>
for me I had learnt Java during school
<Calisto>
but then I prety much had a 2 year break
<Calisto>
with anything related to programming
<Calisto>
because I had to prep for college entrance exams
<Calisto>
so then started with C++ and then here I am :)
<Calisto>
though I wish I never had to take that break :(
<LinuxUser>
if not secret, how old are you?
<Calisto>
im 18
<Calisto>
going to turn 19 in a few months
yann64 has quit [Quit: Vision[]: i've been blurred!]
<Begasus>
kiddos :)
<LinuxUser>
i hope you won't be shoched, i'm 12
<Calisto>
woahhhh
<Calisto>
I am very very shocked xD
<LinuxUser>
and i'm almost pc master in school
_-Caleb-_ has left #haiku [#haiku]
<LinuxUser>
i clean pcs from viruses, even can reinstall windows, linux, and etc
<Calisto>
dude that's amazing
<Calisto>
you have such an early start :D
<LinuxUser>
on one laptop(school) i've set up linux(gentoo) and installed programs
OscarL has joined #haiku
<Calisto>
that's niceee
<Calisto>
even i used to be interested in interesting operating systems etc.
<Calisto>
but never did PC
<Calisto>
you have such a great start
<Calisto>
keep it up lol
<Calisto>
or CTFs
<Calisto>
though im going to get started on it soon :)
<Calisto>
have you tried this OS called parrot?
<Calisto>
i think its pretty well known for penetration testnig
<Calisto>
testing*
<LinuxUser>
yes
<LinuxUser>
now on laptop i've kali linux
<Calisto>
has a reallly nice UI for the terminal
<Calisto>
ohhhh that's niceee
<LinuxUser>
on pc i had parrot
<Calisto>
oh alr
<Calisto>
that makes senser
<LinuxUser>
now i'll return it for my pc
<Calisto>
sense*
<LinuxUser>
The first pc's age is 15 years
<LinuxUser>
the second(laptop) is 10 years
<Calisto>
ooooo
<Calisto>
that must be nicee
<Calisto>
my first laptop was like the Compaq presario C700
<Calisto>
used it till I was in the 8th grade
<Calisto>
then got the dell inspiron 15 (which im currently using for GSoC)
<LinuxUser>
But the cpu of first pc isn't so good(core quad 9400, due to avx instruction lack)
<LinuxUser>
I even have 2 robots
<Calisto>
I am so completely blown away xD
<LinuxUser>
The second is temporarily disassembled(it has sbc mini pc, orange pi zero 2w)
<OscarL>
Morning kids... and old fellas (sorry about that Begasus :-P)
<LinuxUser>
Oh, you maybe will be shocked, i'm from Russia
<Calisto>
that part I am not shocked about xD
<Calisto>
Hey OscarL
<Calisto>
how are you??
<OscarL>
Freezeing. I should stop waking up 5 AM in mid of winter :-)
<Calisto>
xD
<LinuxUser>
oh nice that you are not shocked
<Calisto>
yeee (not in any bad way) but I was expecting Russia for some reason ... I've heard of so many really really smart people coming out of Russia :0
<Calisto>
:)
<Calisto>
so was expecting it for some reason xD
<OscarL>
Calisto: While, as usual, I can't offer explanations myself... maybe pointing you to HashSet usages might be enough.
<Begasus>
patch was upstreamed, so no need for patching anymore now :)
WahidShaikh[m] has quit [Remote host closed the connection]
tulili[m] has quit [Remote host closed the connection]
x512[m] has quit [Remote host closed the connection]
andreasdr[m] has quit [Remote host closed the connection]
<OscarL>
always nice not to require patches.
<OscarL>
23 minutes for the 64 bits python build. buildmaster is faster than my bare-metal Phenom II X4 install.
<Calisto>
alright so I tried using HashSet<HashKey64<ino_t>> OscarL
<Calisto>
still doesn't work as expected
<OscarL>
:-(
<Calisto>
probably need to put in some debugger statements
<Calisto>
to see why its happening :(
<Calisto>
btw each directory has a unique inode number right?
<OscarL>
maybe one of the real devs will chime in, once they wake up :-)
<Calisto>
and the entry_ref stores the inode number of the parent directory right?
<Begasus>
next scipy OscarL?
SLema has quit [Ping timeout: 480 seconds]
<OscarL>
Begasus: yeah, once the slower 32 bits builds ends.
<Begasus>
ok, will wait for it then :)
flag has quit [Server closed connection]
flag has joined #haiku
JakeSays has joined #haiku
<OscarL>
man, first use of git on a "big" repo on a fresh boot... slower than me waking up after a driking night :-)
mmu_man has joined #haiku
<Begasus>
like waking up late in the afternoon then ...
JakeSays1 has quit [Ping timeout: 480 seconds]
<OscarL>
given that my sleep schedule keeps rotating... I do that pretty often, even without booze :-)
<Begasus>
heh
<Calisto>
OscarL: I got it fixed :)
<Calisto>
turns out (as usual) I was the one messing up xD
<OscarL>
nice Calisto!
<Calisto>
was using the wrong inode number for the directories :) time to clean up a lot of the code...
<Calisto>
btw i had a general question
<Calisto>
is it a good practice to do checks at each isolated section of code?
<OscarL>
as most things in life... depends.
<Calisto>
i know this might be like a bad question... but like... suppose in one section of the code you ensure that you have saved only traversed entry_refs and in another sectino of the code you are reading these... is it a good idea to check anyways?
<Calisto>
this is basically what im diong
<Calisto>
basically checking at every step of the way
<Calisto>
to ensure that the inputs to each section are completely correct
<Calisto>
i mean its over-the-top since it probably isn't going to be tampered with anyways
<OscarL>
in general, I would say that checking for errors "closest to their possible source" is the way to go (to avoid callers having to deal with lower-level stuff all the time).
<Calisto>
alright
<Calisto>
then i guess its probably a good idea to remove the redundant checks :)
<OscarL>
you don't see is_computer_on() called that often after all :-)
<Calisto>
yah xD
<Calisto>
so basically if i check for all the errors in the place where I am saving things into an attribute its probably just redundant to check for errors again while reading the attributes
<Calisto>
anyways this is only a file created by tracker :)
<OscarL>
forgot "--no-build-isolation" for build deps.
<Begasus>
bugger :)
SLema has joined #haiku
LjLoverlylongpoliticalstatemen has joined #haiku
<OscarL>
man, removal of 2to3 in python 3.12, and the "GIL vs no-GIL" split on 3.13 would make packaging SO. MUCH. MORE. FUN.
* OscarL
wishes he had a bottle of gin at hand.
<phschafft>
of gil? ;)
<OscarL>
arrrrhhh, noooo!!!! /me rans away with hands in the air :-D
<OscarL>
so, we have packages for 5 of esptool.py's 7 main deps. no wonder I tried getting "esputil" as an alternative.
<OscarL>
k, pip mananged to install the remaining two at least.
<Begasus>
95% tests passed, 3 tests failed out of 65 (not that bad) :)
<Begasus>
Compared values are not the same
<Begasus>
seems to be a known issue atleast
<OscarL>
"esptool chip_id" autodetected ports at least (with patched pyserial :-P)... too bad for "esptool.py chip_id" I get:
<OscarL>
"/dev/ports/usb0 failed to connect: Failed to connect to Espressif device: Invalid head of packet (0x01): Possible serial noise or corruption."
<Begasus>
ticket time? ;)
<OscarL>
nah, most likely hardware issue on my side (USB ports are in shambles on this 13+ y/o mobo).
SLema has quit [Ping timeout: 480 seconds]
<Begasus>
just don't go add blockers for R1B5 :P
<OscarL>
USB cable might not be helping... and boards where the absolutely cheapest I could find at the time :-)
<Begasus>
ENABLE_TESTS:BOOL=OFF
<Begasus>
ENABLE_TEST_ANALYSIS:BOOL=ON
<Begasus>
why doesn't that apply to the other tests? :/
<OscarL>
"ENABLE_FORCE_TEST_RESULTS_OK=ON" <<< not that I haven't seen something like that while doing QA work :-P
pinaraf has quit [Server closed connection]
pinaraf has joined #haiku
<OscarL>
(the idea was for that to be used only for a test of the "test results report generator" tool, but... if course it got abused at least once)
<Begasus>
not going down there, over 20 tests mentioned in there (already ran with tests, no need to build them a third time) :P
_-Caleb-_ has left #haiku [#haiku]
<Begasus>
enabling clang_tidy ...
_-Caleb-_ has joined #haiku
<OscarL>
buildmaster is having a harder time with scipy than with python, lol :-)
<Begasus>
yeah :)
<OscarL>
was worried it was stuck on 64 bits, given it seems to go slower than on my PC.
<phschafft>
when you want to do a big rebase and the first commit git already dislikes and throws you a random conflict.
Anarchos has joined #haiku
<Begasus>
always fun there phschafft :)
<phschafft>
specifically as I seem to always hit the cases git is 'creative'.
<phschafft>
stuff like adding of a single line resulting in a conflict of that line with an empty block ;)
shann_ has quit [Server closed connection]
shann has joined #haiku
<phschafft>
as in ac -> abc resulting in a git conflict a<b|>c
<Begasus>
not found: * Julia, A high-level, high-performance dynamic programming language for technical computing, <https://julialang.org/>
<Begasus>
someone fix that! :)
JakeSays1 has joined #haiku
<Begasus>
/boot/system/develop/headers/posix/size_t.h:9:10: error: 'stddef.h' file not found [clang-diagnostic-error]
<Begasus>
9 | #include <stddef.h>
<Begasus>
<Begasus>
k, maybe not enable clang_tidy
<Begasus>
seen these before
JakeSays has quit [Ping timeout: 480 seconds]
<Begasus>
hmm ... should see if any of the other clang version have the same ...
<Begasus>
OscarL, I think you nuked the buildmasters :P
<OscarL>
mmm, 64 bits at least does seems stuck.
<OscarL>
I had 2 deadloks on 32 bits, but that was after several builds, and after a reboot, it worked right away, thus why I went and open the PR :-(
<Begasus>
right, some progress still on 32bit
<phschafft>
A missing <stddef.h> sounds like a fundamental problem (such as the compiler missing basic search paths or something)
<Begasus>
probably a llvm issue phschafft
<Begasus>
it's provided by both gcc and llvm
pbsds has quit [Server closed connection]
pbsds has joined #haiku
<Anarchos>
hello
<OscarL>
Hola Anarchos.
* OscarL
sees two Genio recipes. Do we need the older one?
coolcoder613_ has joined #haiku
<Begasus>
TLTL :P
<Begasus>
Hi Anarchos!
<OscarL>
does Genio really neads gcc${secondaryArchSuffix}_syslibs_devel or only gcc${secondaryArchSuffix}_syslibs? /me will find out soon enough.
<OscarL>
"cmd:clang" should be "cmd:clangd", if I'm not mistaken.
<OscarL>
first... to try my clangd free Genio! :-P
<Begasus>
new check: Fetching package for cmd:clang_tidy >= 17 ...
<Begasus>
that went too fast ... cleaning build ...
<OscarL>
seeing data/mime_db in the genio .hpkg, reminds me that there's a problem for non-packaged apps, when they gain support for a newer filetype.
<OscarL>
their mime time (under ~/config/settings/mime_db/) do not get updated, unless you delete the old entry, so it gets re-created when you run the updated app.
<OscarL>
(should report that, assuming there's no ticket for it already).
<Begasus>
/sources/labplot-2.11.1/src/3rdparty/Qt-Advanced-Docking-System/src/AutoHideDockContainer.cpp:57:10: warning: enumeration value 'SideBarNone' not explicitly handled in switch [clang-diagnostic-switch-enum]
<Begasus>
atleast that seems to do it's job :)
<OscarL>
"readelf -d Genio | grep NEEDED" >>> libgcc_s.so.1 and libstdc++.so.6. That's covered by gcc_syslibs (can drop the "_devel").
<Begasus>
you can mention that upstream or in the forum thread :)
<OscarL>
unless something in the _devel package is needed for something else, I guess (starts just fine).
<OscarL>
Begasus: Will do, but given that those folks are way smarter than me... makes me wonder what am I missing.
<Begasus>
probably something like the one for clang, not a hard requirement, but more a runtime dep?
<Begasus>
headers?
novaphoenix has quit [Quit: gone fishing]
<Begasus>
maybe I should nuke this clang-tidy for labplot, lots of warnings :P
novaphoenix has joined #haiku
* OscarL
run strip Genio. Nice... starts with only one tiny Icon :-D
probono98 has quit [Server closed connection]
probono98 has joined #haiku
<OscarL>
great KDL :-(
<Begasus>
that's what you get from stripping other peeps binaries :P
<OscarL>
wish I know how to grab more usefull info on this state (besides a screenshot)
<Begasus>
OK, so building with clang-tidy from llvm16 and llvm17 is good it seems
<Begasus>
llvm18 borked?
<OscarL>
wish KDL didnt pegged all my cores to 100% too :-)
<Begasus>
heats up the room though? ;)
<OscarL>
can't even take a screenshot :-(
<Begasus>
write it down? :P
<Begasus>
and use noteshring then :D
<Begasus>
ng/nk*
<OscarL>
heh.
<Begasus>
k, clean build with llvm18
<Begasus>
broken ...
* phschafft
nods to Begasus.
<phschafft>
seems my code still works after rebase...
rodolphoeck_ has quit [Server closed connection]
rodolphoeck has joined #haiku
<OscarL>
vm page fault around Volume::GetVNode() on ramfs. Mmm. I understood some of those words.
SLema has joined #haiku
<Begasus>
nice phschafft ... atleast someone with progress here :)
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mmu_man has joined #haiku
<OscarL>
s/complaing/complain/
Begasus has quit [Read error: Connection reset by peer]
Begasus has joined #haiku
<Begasus>
jikes KDL too here
<OscarL>
at least most are well organized (users/xxx/xxx)
<Begasus>
it's catching ...
<OscarL>
it is just beta4 getting too old :-P
<Begasus>
couldn't take a picture, screen went black
<Begasus>
heh
<phschafft>
nephele's shell might require some alternative way of calling program resulting in the need of patching between _init() and main(). GCC seems to have some way to do that in a portable way.
<Begasus>
note to self, don't build stellarium with $jobArgs
trungnt2910[m] has joined #haiku
<trungnt2910[m]>
OscarL: Most of them are upstream branches 🐧
<Begasus>
not sure if it's the real issue, but still :)
<trungnt2910[m]>
Only the branches with haiku are owned by me.
<OscarL>
trungnt2910[m]: indeed! I was just messing with Begasus :-)
<Begasus>
must have missed something ...
<OscarL>
KDL, or memory loos by aging... mmm... :-P
<Begasus>
I could point to someone (not around to defend), but that doesn't bring anything :P
<OscarL>
for mine at least try to use "archive/" and "wip/" prefixes, for my own sanity's sake :-)
<trungnt2910[m]>
What's the issue with too many branches anyway, provided that they're systematically named.
<OscarL>
*I at least try...
<trungnt2910[m]>
Branches are basically just volatile tags...
<OscarL>
yeah, as long as I'm able to filter out cleanly the stuff I'm too lazy to either drop, or finish... I'm good :-)
<Begasus>
trungnt2910[m], mostly I add them as remote's here, so running a "git fetch *" to checkout 1 branch .... :D
Begas has joined #haiku
Begasus has quit [Read error: Connection reset by peer]
<Begas>
jikes ... second one ...
<phschafft>
seems that I cannot call getenv() outside of main() on GNU/Linux.
<phschafft>
results in a segfault.
zard has joined #haiku
_-Caleb-_ has left #haiku [#haiku]
<Begas>
reboot
Begas has quit [Quit: Vision[]: i've been blurred!]
_-Caleb-_ has joined #haiku
<phschafft>
ah, I think the resolver function is called too early. hm.
<phschafft>
it seems to be called before the constructor functions. likely at link time. hm.
<phschafft>
still, was a nice idea.
js has joined #haiku
kallisti5[m] has joined #haiku
tulili[m] has joined #haiku
win8linux[m] has joined #haiku
x512[m] has joined #haiku
Begasus has joined #haiku
<Begasus>
buildmasters both stuck OscarL
<OscarL>
ouch :-(
<Begasus>
don't know if merging stellarium will unfreeze it?
<OscarL>
seems 32 bits went just a *tiny* bit further than 64 bits.
<Begasus>
or maybe kallisti5[m] , nielx can do that remotely?
<OscarL>
I think it does needs a kick on the reboot button, yeah.
<Begasus>
:/
arti_ has quit [Server closed connection]
arti has joined #haiku
MisthaLu has joined #haiku
<Begasus>
poked mmlr in the PR for stellarium
<Begasus>
cantor/labplot update will have to wait ...
<OscarL>
I saw scipy build "freeze" for a solid 5/6 minutes a couple of times (I think it was busy linking something)... and it does seems to need at least 1.5/2GB of free ram.
<OscarL>
but given that it only took < 30 minutes for my Phenom II X4... didn't thought it would be that hard on buildmasters.
<kallisti5[m]>
<Begasus> "or maybe kallisti5 , nielx can..." <- I can take a look. I don't really have full access to those buildmaster vm's
<Begasus>
thanks kallisti5[m], maybe mmlr got the poke there also ... crosses fingers
<kallisti5[m]>
it shows connected and healthy... let me try to ssh in
<botifico>
[haiku/website] Zardshard e55f410 - Post "Drawing to the Screen"
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
bbjimmy has joined #haiku
<Begasus>
bugger zard, and I was expecting nice screenies :P
<Begasus>
+1 though :D
<zard>
:D
<Begasus>
is it an internal browser window you check with, or with WebPositive?
<zard>
You'll get the screenies soon enough :P
<Begasus>
bummer :D
<zard>
I use MiniBrowser, which is a very simple test browser
<Begasus>
it can count as a big teaser now :P
<Begasus>
the one from gtk?
<zard>
No. But all of the ports have their own MiniBrowser to test with afaik
<Begasus>
ah :) gotcha
<zard>
Now you know why our test browser is also called MiniBrowser :D
<Begasus>
+1
DKnoto has quit [Ping timeout: 480 seconds]
* Begasus
ponders now if kdevelop really needs a specific llvm version ...
<zard>
If it doesn't quite fit, just jam it in :P
<Begasus>
that's the point zard, it already is :)
<Begasus>
but it looks like clang-tidy for llvm18 is borked
carlomonte has joined #haiku
DKnoto has joined #haiku
aosync has quit [Server closed connection]
aosync has joined #haiku
<Begasus>
bugger ... Warning: POLICY WARNING: "/packaging/kdevelop/lib/libKDevClangPrivate.so.514" needs library "libclang.so.16", but the package doesn't seem to declare that as a requirement
MisthaLu has quit [Quit: Leaving]
tib has quit [Server closed connection]
tib has joined #haiku
<Calisto>
Heyyy
<zard>
Hello Calisto :-)
<Calisto>
guys is anyone proficient in Data Structures and Algorithms here? I'm assuming many of you guys might be :)
<Calisto>
Heyy zard
<Calisto>
how are you?
<zard>
busy twisting Haiku's API into weird shapes to suit WebKit :P
<Calisto>
ohhh that's nice :)
<zard>
Yes, pretty proficient in DS&A
<Calisto>
so I'm planning to start it from absolutely 0
<Calisto>
i have a very basic understanding of a few things
<Calisto>
like time complexity, etc.
<Calisto>
but I need to do it properly?
<Calisto>
what things did you follow?
<zard>
Mmm... been a long time since I've learned it. How did I do it?
<zard>
I guess just a lot of reading of different resources
<Calisto>
I just realised that i'm not too good at DSA when waddlesplash mentioned that a HashSet implementation for a certain feature would be much more efficient... But i was wondering whether it would be less efficient or more efficient in the case of recursive searches
<zard>
Ah yes! Neetcode was nice for learning!
<zard>
"recursive searches"?
<waddlesplash>
Calisto: for recursive searches you should just add all directories you want to search to the HashMap
<waddlesplash>
err. HashSet
DKnoto_W has joined #haiku
flag has quit [Ping timeout: 480 seconds]
dby has joined #haiku
DKnoto has quit [Ping timeout: 480 seconds]
linuxmaster has quit [Ping timeout: 480 seconds]
<waddlesplash>
anyone interested in release coordination work, feel free to join #haiku-release
<Calisto>
oh okay alright that's what I was thinking as well
carlomonte has quit [Quit: leaving]
<Calisto>
zard: oh okay cool ill check out neetcode
linuxmaster has joined #haiku
<Begasus>
k rebuild for kdevelop and llvm16
<Begasus>
those llvm patches would be nice if the kept the layout from previous version (me wonders if I was part of that doing) :)
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
freddietilley has quit [Quit: WeeChat 4.2.2]
AlienSoldier has joined #haiku
akash has joined #haiku
<AlienSoldier>
i have the xbox 360 wireless adapter and a bunch of xbox 360 gamepad (even keyboard for the pads). Would be nice to all have that supported, seem at least the game pad are on linux https://askubuntu.com/questions/599940/wireless-xbox360-like-pad
<AlienSoldier>
If anybody want to try that let me know, i could test it.
<nekobot>
[haiku/haiku] 189a9bbf63c9 - strace: Resume target threads with the debugger API not resume_thread().
<nekobot>
[haiku/haiku] 421a5795ae1b - profile: Stop new threads and resume them with the debugger API.
<AlienSoldier>
ho, and i have the headphone and mic that connect to the joypad also.
dalme_ has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
<Begasus>
kallisti5[m], no change on the buildmasters so far :)
<kallisti5[m]>
bah. ok. Rebootin'
<Begasus>
thank you! :D
_-Caleb-_ has left #haiku [#haiku]
akashkumar has joined #haiku
akashkumar has quit []
_-Caleb-_ has joined #haiku
mmu_man has joined #haiku
akashkumar has joined #haiku
<augiedoggie>
xbox360 gamepads have been supported for a long time
<augiedoggie>
iirc, the only problem is that button mappings are a bit weird
<OscarL>
VoidLinux's xbps package manager makes me wish pkgman would copy some of its ways. On the other hand... I need to write my own wrapper on top of xbps, because it is as intuitive as git in 2008.
<waddlesplash>
what "ways" are you referring to?
<OscarL>
mostly not attempting to refresh repos meta data on each run, and showing packages sizes before asking to install/update, small things like that.
<OscarL>
Begasus: welp. esputil at least gives me the same error on Linux than on Haiku :-P
<OscarL>
(esptool.py seems to work a bit better, at least identifies the chip, but just have me a Traceback, so... not great :-D)
<Begasus>
progress? :P
kescher has joined #haiku
<OscarL>
yeah, one of the 2 boards at least responds (still testing on linux), will re-learn things there first, and then re-test on Haiku.
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
<Begasus>
+1
<Begasus>
food here :)
<AlienSoldier>
augiedoggie wireless or wired? i have a candy brand one and it is not recognised in haiku
<AlienSoldier>
the wired one i mean
<augiedoggie>
i think i've tried both wired and wireless but it's been a really long time
<augiedoggie>
i haven't tried to use one in Haiku for several years probably
akashkumar has quit [Quit: Leaving]
akashkumar has joined #haiku
<AlienSoldier>
ok
<OscarL>
Mmm. Can't get neither esputil, nor the official esptool.py to work on Haiku with the one working ESP8266 board I have.
akashkumar has quit [Quit: Leaving]
akashkumar has joined #haiku
<OscarL>
flashed micropython on with without much problems from Linux, so I guess we might still have some issues with our serial port drivers.
<OscarL>
s/on with/on it/
<phschafft>
may I ask what you're working on?
<OscarL>
right now, just wanted to test if esputil (a "no-dependencies, written in C" replacement for esptool.py flasing utility) works on Haiku (have a PR for it set to draft on HaikuPorts).
<OscarL>
before, when I got these boards... was playing with the idea of having a computerized tachometer for my motorbike.
<AlienSoldier>
augiedoggie indeed my rock candy work in joystik utiliser pref. no idea why the xbox logo flash on it that said
<AlienSoldier>
i should say it see it, but lot of button are not working
<OscarL>
kallisti5[m]: for reference, build took < 30 minutes on my Phenom II X4. and comparing other build times... buildmasters should be faster than that.
<AlienSoldier>
well, no analog, but it make sense for a keyboard mapper
<AlienSoldier>
dpard don't work eiter, making that useless
<AlienSoldier>
*dpad
<AlienSoldier>
it probably use the analog axis
<AlienSoldier>
same for strigger
<AlienSoldier>
*triggers
<AlienSoldier>
i don't see the game pad showing int he pref inputs
<phschafft>
was thinking today about connecting my test board here to Haiku and see how that works. and then the two of you started talking about such things.
<OscarL>
:-)
<Calisto>
waddlesplash: so I tried the recursive folder adding into the HashSet
<Calisto>
but the time it takes is just exceptionally long
<Calisto>
and its not at all instantaneous
<Calisto>
like it was before :(
<waddlesplash>
hmm
<Calisto>
it takes quite a while to recursively add everythign
<Calisto>
since it has to check each and every directory's files
<Calisto>
and then the moment it finds a directory has to recursively do it there as well :(
<Calisto>
the older solution seemed to work better.... what do you suggest I do?
<waddlesplash>
files? huh?
<Calisto>
like it has to find the sub-directories right?
<waddlesplash>
it should be as fast or faster than find here
<waddlesplash>
Calisto: "time find . -type d"
<waddlesplash>
I ran that on the Haiku repository, 5000+ directories
<waddlesplash>
and it returns results in < 1 second
<Calisto>
for me it takes real 3.385s user 0.308s and sys 3.048 s
<Calisto>
and this is on the desktop directory
<Calisto>
illl try it on the home directory
<waddlesplash>
second run any faster?
<Calisto>
still gives around real: 3.491s user 0.342s sys 3.144s
<Calisto>
this is on the home directory now
<Calisto>
and i tried running it twice
<Calisto>
these are the times from the second run through
<Calisto>
even a third run gives similar times
<Calisto>
real: 3.497s user 0.324s sys 3.146
<Calisto>
and it takes nearly like 4ish seconds on the find panel too
<Calisto>
with smaller more specific directories it doesn't happen
<Calisto>
for example i have a directory on my desktop called TestFolder which has 1 subdirectory (containing 3 files), along with a few dummy files at the same level
<Calisto>
in this it runs jsut fin e
<Calisto>
and the recursive search is also working just fine
<Calisto>
i tried putting a debug statement right after the loading into the hashset and was able to notice this for larger directories
<Calisto>
have been trying to fix it since an hour :(
Maturi0n_ has quit [Remote host closed the connection]
<Calisto>
perhaps this is the reason that augiedoggie implemented it without inode hashsets?
<Calisto>
the initial change was heavily taken from that for the filtering
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
dalme__ has joined #haiku
dalme_ has quit [Ping timeout: 480 seconds]
<augiedoggie>
i didn't do anything with that stuff
<augiedoggie>
i may have fixed a few lines of code but that's about it
<Calisto>
ohhh alright nevermind then
<Calisto>
i got confused i guess
<Calisto>
i just remember seeing your change on it last
<waddlesplash>
Calisto: how many directories is it?
<waddlesplash>
I guess it may make sense to use path comparison then, yeah
mmu_man is now known as Guest495
mmu_man has joined #haiku
<Calisto>
if im searching in home then about 12133
<Calisto>
sorry on the Desktop*
Guest495 has quit [Ping timeout: 480 seconds]
<Calisto>
waddlesplash: alright then i'll revert back to that commit and then remove the PassThroughFilters function
<waddlesplash>
yeah
<Calisto>
and instead make use of the QueryRefFilter
<Calisto>
alright
<Calisto>
thanks for all the help waddlesplash :)
<waddlesplash>
no problem :)
<Calisto>
and most of all, I really really need to do DSA :(
<Calisto>
idk why I have developed this fear of DSA xD
<Calisto>
probably cuz of my home country situations :(
<waddlesplash>
DSA?
<Calisto>
Data Structures and Algorithms :(
<waddlesplash>
why :( ?
<Calisto>
well mostly because I used to have interest in doing it a lot... but here in India, doing DSA is now pretty much just a competition of who is the smartest.... the thing is I just got out of like 2 years of JEE prep (the college entrance prep for India) a while back, so doing DSA feels to me like I am back studying for something like JEE :(
<Calisto>
but i gotta do it from this month onwards :D
<Calisto>
so hopefully things should be fine :D
<Calisto>
basically to get into my CS course at my university, I had to study 2 years of Physics, Chemistry, and Maths xD