<augiedoggie_>
otherwise it gets caught by that 'else if'
<coolcoder613>
root@dsldevice:~# uname -a
<coolcoder613>
Linux dsldevice 4.1.38 #1 SMP PREEMPT Thu Sep 19 01:08:25 UTC 2019 armv7l GNU/Linux
* coolcoder613
is going to write a blog post about this
MiuST[m] has quit [Quit: Client limit exceeded: 20000]
<OscarL>
oh... nice of you taking a look at that augiedoggie_!
<waddlesplash>
yeah, look at that
<waddlesplash>
NetBSD has some different logic here
<waddlesplash>
we should just have 1 inside an __HAIKU__ block
<waddlesplash>
ultimately we should probably have DNS handled inside net_server but that's a problem for another time
<coolcoder613>
The router web pages are written in... lua?
augiedoggie_ is now known as augiedoggie
<OscarL>
NetBSD's logic for is_dynamic() is at least 14 years old... from what age is the NetBSD in Haiku's tree then? :-D
<waddlesplash>
very recent
<waddlesplash>
but I didn't merge all changes from NetBSD
<OscarL>
I see. Welp... glad to just have something to try test tomorrow. Thanks augiedoggie! (and waddlesplash too)
* OscarL
signs off for today.
<OscarL>
Later folks!
OscarL has quit [Quit: Gone with the wind]
ablyss has joined #haiku
<cynic[m]>
<PetePete> "Ipv6 is for nerds" <- ipv4 addresses are over
The_DarkFire_[m] has quit [Quit: Client limit exceeded: 20000]
<PetePete>
NERDS, I SAY!
<PetePete>
*uses ipv5 to srick it to the man*
dqk has joined #haiku
dqk_ has quit [Ping timeout: 480 seconds]
<arraybolt3>
*ipv7 cautiously peers around the corner*
<x512[m]>
<cynic[m]> "ipv4 addresses are over" <- ipv4 addresses are more than enough. Recently allocated ipv4 address for work server without problems.
<cynic[m]>
> You need CoPilot Pro! Please use Bing! Please! I know where you sleep. Ư̷̙̰̖̣̿͑ŝ̸͎̖̻̺̽e̵̛̘̽͗̋ ̴̫͓̮͗ͅB̸͉͍̬̍ì̵̟͒̈́͋n̵̯̒g̶̦̫̖̜̈́.̴̧̡̖͉̼͠ ̷͓͕͋̿̈́N̸͈͓̈͒̈́͜ö̵͕̲w̶̤͆̄̒̊.
<cynic[m]>
lol
dabao1955[m] has quit [Quit: Client limit exceeded: 20000]
faveoled[m] has quit [Quit: Client limit exceeded: 20000]
halide[m] has quit [Quit: Client limit exceeded: 20000]
jason123santa[m] has quit [Quit: Client limit exceeded: 20000]
HaikuUser has joined #haiku
HaikuUser2 has joined #haiku
Blurgh has quit [Quit: Leaving]
linuxmaster has quit [Ping timeout: 480 seconds]
HaikuUser2 has quit []
HaikuUser has quit []
coolcoder613 has quit [Ping timeout: 480 seconds]
coolcoder613 has joined #haiku
akash has joined #haiku
coolcoder613 has quit [Ping timeout: 480 seconds]
coolcoder613 has joined #haiku
linuxmaster has joined #haiku
Begasus has joined #haiku
linuxmaster has quit [Ping timeout: 480 seconds]
<Begasus>
g'morning peeps
linuxmaster has joined #haiku
nutcracker500[m] has quit [Quit: Client limit exceeded: 20000]
ablyss has quit [Quit: Konversation terminated!]
Begasus_32 has joined #haiku
erysdren has joined #haiku
<erysdren>
morning
<Begasus>
Hi erysdren
<erysdren>
how are things going Begasus?
<Begasus>
polishing up exr-translator :)
<Begasus>
well ... packaging*
PetePete has quit [Ping timeout: 480 seconds]
<erysdren>
i should figure out why SDL2 segfaults on exit on Haiku
<erysdren>
it keeps bothering me every time i try to port a game
<erysdren>
also, ive been playing with SDL3 a lot on Linux. it's really cool! i like the new features
PeetPeet has quit [Ping timeout: 480 seconds]
DKnoto_W has quit [Quit: Leaving]
PeetPeet has joined #haiku
<Begasus>
haven't fiddled with SDL for a while now :)
<erysdren>
Begasus: is gdb on haiku?
<Begasus>
yep, but an old one
<erysdren>
ah, whats the preferred way to debug crashes?
<Begasus>
it's part of GSoC this year
<Begasus>
no idea :)
<erysdren>
:P
<Begasus>
attach debuger?
<Begasus>
biab
DKnoto has joined #haiku
mmu_man has joined #haiku
erysdren has quit [Quit: Konversation terminated!]
kinkinkijkin has quit [Quit: Leaving]
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
PetePete has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
dodo75 has quit [Quit: Vision[]: i've been blurred!]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
<Begasus>
k, gettting 0x000000000000000e (SONAME) Library soname: [_APP_] on the translator
<Begasus>
anything I missed there?
<phschafft>
hm?
<Begasus>
should be: 0x000000000000000e (SONAME) Library soname: [EXRTranslator]
<Begasus>
:)
<phschafft>
oh, I was missing the 'e' at the offset.
<phschafft>
I just added a little 'listof' function to SIRTX. fun to play with it.
<Begasus>
Hello Anarchos
<Anarchos>
Begasus: i am tired to chase the ocaml compiler to port it again and again
<Begasus>
I can understand it Anarchos, sometimes it just takes too much energy
<Begasus>
is the one currently at haikuports not functional Anarchos?
<Begasus>
Had a look at some time, but it's been way too long now :)
AndersonTorres[m] has quit [Quit: Client limit exceeded: 20000]
<Anarchos>
Begasus: the new one (version 5.2.0) is multicore enabled.
<Begasus>
first error (and only just launched) :) runtime/domain.c:77:5: error: expected declaration specifiers or '...' before '__builtin_offsetof'
<Anarchos>
Begasus: oh i have to tweak the configure.ac for haiku
<Anarchos>
Begasus: so wait for my patches :)
<Begasus>
heh
<Anarchos>
Begasus: i try to get them inserted into official ocaml source so no port needed
<Begasus>
you know I'm short fused :D
JakeSays has joined #haiku
JakeSays1 has quit [Ping timeout: 480 seconds]
augiedoggie has quit [Quit: Bye]
augiedoggie has joined #haiku
* phschafft
applies some pets to augiedoggie.
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
_-Caleb-_ has left #haiku [#haiku]
jt15s[m] has quit [Quit: Client limit exceeded: 20000]
mmu_man has joined #haiku
<phschafft>
it's interesting to see how abstraction can reduce your code size.
<phschafft>
just adding a single 3 line function reduced project (not code!) size by over 0.3%.
<Begasus>
not bad phschafft
<phschafft>
what I really like is that the linker can throw away unused stuff. so if you have modules you can enable/disable per build time config the linker can throw away all the helper functions that aren't needed.
<phschafft>
meaning abstraction only increases your code binary size only if used.
<phschafft>
(naturally code size is only one of many relevant measures when it comes to how good something is)
Commander[m] has quit [Quit: Client limit exceeded: 20000]
<phschafft>
I wonder how flash drives handle all-zero vs. idle state.
<phschafft>
zeroing them requires an erase and then a burn of each bit.
<phschafft>
maybe they have a flag per block that the block is all zero? however then bad block tests should show a higher speed in zeroing passes.
<phschafft>
hm.
mmu_man has quit [Ping timeout: 480 seconds]
<FreeFull>
Even before you get to linking, functions often get inlined
zard has joined #haiku
<Begasus>
stuck now ... this _APP_ thing comes from makefile-engine :)
<Begasus>
let's push a new ICU version :P
* Begasus
checks if they haven't updated since last check ..
<OscarL>
Begasus: yours, compiled as SHARED, loads fine on DataTranslator, as far as I can tell. Doesn't works when trying to double-click it... which is expected due to how makefile-engine does that rule.
<Begasus>
you should try to open a exr image with ShowImage or WonderBrush with that
<OscarL>
I would propose a change to makefile-engine... if I better understood what Haiku's AddSharedObjectGlueCode jam rule is doing :-D
<Begasus>
not for me :)
jmairboeck has joined #haiku
<Begasus>
jmairboeck to the resque! :)
<OscarL>
note to self... git pull works better if you're inside a repo.
<OscarL>
"resque" sounds like a risky rescue! :-P
<Begasus>
if need be I nuke the branch, git fetch ...
UW_Mill has joined #haiku
<OscarL>
compiling as APP, with "-Xlinker -soname=EXRTranslator" seems to work fine here.
<OscarL>
loads images... shows about box on double click. Sounds good enough.
<jmairboeck>
Begasus: I have no idea about these build flags and the makefile_engine, so I probably can't help you
<Begasus>
buggerr
<OscarL>
Begasus: for what it is worth... the Translator->Addon jam rule is also using "-Xlinker -soname=" so... I think you should just do TYPE=APP, and use that link flag.
<OscarL>
seems like adding "TYPE = TRANSLATOR" support on makefile-engine would only mean adding a simple "ifeq ($(strip $(TYPE)), TRANSLATOR)" block.
<cynic[m]>
<x512[m]> "ipv6 is a major privacy threat." <- I think that your knowledge of ipv6 is outdated, privacy extensions for host prefix randomization exist since 2007. The main concern nowadays is about terrible gadget vendors, like "smort TV's" and such, but those are privacy nightmares in their own right and should be avoided anyway.
<Begasus>
lost me again :P
<OscarL>
Begasus: I mean... makefile-engine could use a patch for adding support for a new "TYPE ="... for translators. So it builds them as APP, but adjust the soname link flag (as the jamfiles rules do on Haiku)
<Begasus>
that makes sense OscarL :)
<Begasus>
running builds on 2 laptops, keeping an eye on the rest ... 0°
<OscarL>
soname change seems to be only cosmetic, thou :-)
<OscarL>
0° ? aren't you guys entering summer up there?
<Begasus>
with this temperature? not really :P
<OscarL>
and I'm kinda too cold with the current 10° here, jeez.
<Begasus>
k, that should do it for now I guess
<Begasus>
working on 32bit and 64bit
<OscarL>
+1
<Begasus>
biab, korli just reacted to the issue also :)
<Begasus>
doggies :)
* OscarL
bakes some bread, and plans on testing nss_mdmd.so with a custom libnetwork.so (thanks to augiedoggie's insight)
<PeetPeet>
Good morning to all the devs and testers and package handlers (*snickers*) in this channel. Your work is greatly appreciated and your dedication is commendable. Thank you for all you do. As you were...
<PeetPeet>
And an especially good morning to my boy, uw_mill
<PeetPeet>
avidemux handles mp3 for me, though I haven't tried it on Haiku yet
itaipu has quit [Read error: Connection reset by peer]
<Begasus>
-Dexpat_ROOT=`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/libexpat.so (seems to work too)
HaikuUser has joined #haiku
HaikuUser has quit []
<OscarL>
BrunoSpr: using ffmpeg: "ffmpeg -ss 60 -i input.mp3 output.mp3" should skip the first 60 seconds from input, and write the rest to the output file.
itaipu has joined #haiku
<Begasus>
can't find input.mp3*
<OscarL>
BrunoSpr: add "-to 120" after "-ss 60" to only take the 60 seconds "in the middle" of input.mp3
<OscarL>
Begasus: funny guy :-)
BrunoSpr has quit [Quit: Vision[]: Ich wurde verwaschen!]
<Begasus>
;)
ClaudioM_ has quit [Quit: leaving]
<Begasus>
focus Begasus!! :P
<PeetPeet>
'ffmpeg' is not recognized as an internal or external command, operable program or batch file
<PeetPeet>
what am I doing wrong?
<OscarL>
PeetPeet: did you installed ffmpeg already?
<OscarL>
"pkgman install cmd:ffmpeg"
<PeetPeet>
Is that in the Control Panel?
<PeetPeet>
I can't really open pdfs right now because my printer is ofline
<OscarL>
have you tried turning it off and on again yet?
<PeetPeet>
Oh my gawd... it was unplugged the whole time!
<PeetPeet>
*facepalm*
<PeetPeet>
I thought my screen was just dark
<OscarL>
2024 and still using cables for power delivery... sigh.
<PeetPeet>
I have a family to feed!!
<PeetPeet>
Customer: "you have time to discuss the server upgrade"
<PeetPeet>
Me: "yes, please feel free to call me"
<PeetPeet>
*crickets* as the hours pass...
<PeetPeet>
Why are they like this?
<OscarL>
using statements instead of questions?
Ellenor has quit [Read error: Connection reset by peer]
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<Begasus>
well ... I learned a bit on how to check new packages and using them in building Haiku OscarL :)
UW_Mill has quit [Remote host closed the connection]
<OscarL>
haikuports packages, or the ones built from haiku's sources?
<Begasus>
like getting the translator use the latest openexr package (that wasn't in haikuports depot at the time)
<OscarL>
(I might to have to build a custom haiku.hpkg later today, unless I manage to do with only replacing libnetwork.so :-D)
<Begasus>
next I'd like to see if I can use ICU75 instead of ICU74 for the build
<OscarL>
Begasus: useful indeed. I also tend do custom "makefiles" when working with small parts of haiku... and the whole "jam xxx" gets too slow for me :-D
<Begasus>
already found out that harfbuzz needs a revbump for that here
<OscarL>
(placing updated/custom .hpkg files under build/download was how I tested the changes related to gutenprint)
<Begasus>
yeah, neat trick when you know it
<Begasus>
k, OIIO 2.3 almost done, then OIIO 2.5 can be pushed, new one not used (yet)
MisthaLu has joined #haiku
<Begasus>
bugger, I think I forgot a CONFLICTS_devel on 2.3
* OscarL
shares some memory pills to Begasus.
<OscarL>
s/to/with/
<Begasus>
ah no, the 2.2 was only a revival for ...
<Begasus>
heh
<Begasus>
right Blender it was
<Begasus>
afk
nosycat has joined #haiku
Anarchos has joined #haiku
<Anarchos>
hello
<OscarL>
hey there Anarchos.
<nosycat>
Hi there!
<Anarchos>
OscarL hello
OscarL has left #haiku [#haiku]
Ellenor has quit [Quit: Interstate crosscheck is a crime!]
OscarL has joined #haiku
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
Ellenor has joined #haiku
* OscarL
keeps messing up the order or branches on git rebase. Sigh.
<OscarL>
s/or/of/
dorje has joined #haiku
OscarL has quit [Ping timeout: 480 seconds]
nosycat has quit [Quit: Leaving]
dorje has quit [Quit: Vision[]: i've been blurred!]
xiku has joined #haiku
BrunoSpr has joined #haiku
BrunoSpr has quit []
cebulon has joined #haiku
BrunoSpr has joined #haiku
BrunoSpr has quit [Quit: Vision[]: Ich wurde verwaschen!]
<OscarL>
mmm, seems I'll have to add some syslog() calls to be able to see what's going on with libnetwork.so not loading this darn nss_mdnsd.so module :-/
<augiedoggie>
it should at least attempt to load it now
<augiedoggie>
i changed the value of is_dynamic() and i can see error messages now
<augiedoggie>
because i have it listed in my nsswitch.conf but not actually installed
<OscarL>
sorry for the dumb question... do you see an error message on syslog? or somewhere else?
<augiedoggie>
yeah, i get runtime_loader errors in syslog
<augiedoggie>
and i can also see the errors with `strace`
Anarchos has joined #haiku
<OscarL>
Mmm. nothing on syslog here. listimage shows my custom libnetwork.so being loaded, but no nss_mdnd.so.
<augiedoggie>
if you `strace ping foo.local` do you see it searching for the module?
* OscarL
checks
<OscarL>
ah... there's the runtime_loader error at least :-)
<augiedoggie>
i get a couple of them, some for my 'files' and 'dns' entries in the nsswitch.conf
<OscarL>
indeed... doesn't finds nss_files.so nor nss_dns.so. Those are internal, so it shouldn't even attempt to load them, AFAIK :-)
<augiedoggie>
yeah, probably just lazy coding
<OscarL>
[ 758] debug_output("runtime_loader: /boot/system/lib/libnss_mdnsd.so.0: Could not resolve symbol '__isthreaded'")()
<OscarL>
that is at least is progress :-D
<OscarL>
I think I've read something about those modules and threaded code in a makefile somewhere... wish I remember where, heh.
<OscarL>
thanks for the help augiedoggie!
<augiedoggie>
heh
<augiedoggie>
no problem
<OscarL>
mmm, now that I think about it... reminds me of that darn issue with CudaText and python extensions...
<OscarL>
had to change RTLD_LAZY to RTLD_NOW in that case.
<Anarchos>
OscarL i never learnt to play with runtime symbols loading options
<OscarL>
Anarchos: neither did I... I just smash things hoping they will fit, even if I have to hammer them down a bit :-D
<OscarL>
Mmmm: "extern int __isthreaded; /* libc private -- wish there was a better way */" 8-|
<OscarL>
then that's only used in a couple of LOCK/UNLOK macros... like this:
<OscarL>
#define LOCK(x) do { if (__isthreaded) pthread_mutex_lock(x); } while (0)
Anarchos has quit [Quit: Vision[]: i've been blurred!]
* OscarL
will try his only hammer... and add an #ifdef __HAIKU__ block :-)