AlwaysLivid changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #_oftc_#haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
_Dario_ has quit [Quit: Vision[0.10.3]: i've been blurred!]
aeryndunham has joined #haiku
HaikuUser has joined #haiku
HaikuUser is now known as haikubird
tbcr has quit [Quit: WeeChat 2.8]
mmu_man has quit [Ping timeout: 480 seconds]
AlwaysLivid has quit [Ping timeout: 480 seconds]
aeryndunham has quit [Quit: Leaving]
haikubird has quit [Quit: Vision[0.10.3]: i've been blurred!]
dr_evil_ has joined #haiku
Diver is now known as Guest2802
Diver has joined #haiku
boistordu has quit [Remote host closed the connection]
dr_evil has quit [Ping timeout: 480 seconds]
Guest2802 has quit [Ping timeout: 480 seconds]
ClaudioM has quit [Quit: leaving]
HaikuUser has joined #haiku
HaikuUser has quit []
freakazoid334 has joined #haiku
freakazoid333 has quit [Read error: Connection reset by peer]
Begasus has joined #haiku
<Begasus> g'morning peeps
kikadf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kikadf has joined #haiku
<Begasus> is BOOTX64.EFI only availble on the R1B2 images or also on the nightly (can't seem to find it on the nightly?)
odnes has joined #haiku
<nephele[m]> yes its in the nightly should be
<nephele[m]> deskbar -> mount -> efi partition
<Begasus> I only see the efi partition from the hard drive :/
<nephele[m]> The anyboot image should have an efi partition too
<nephele[m]> you could check drivesetup if there really is none :g
<Begasus> checked with gparted, doesn't show up there
<Begasus> dogschool, bbl
AlwaysLivid has joined #haiku
gouchi has joined #haiku
tqh has joined #haiku
DKnoto has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
roiredX has joined #haiku
<roiredX> good day
roiredX has quit []
mmu_man has joined #haiku
AlwaysLivid has quit [Read error: Connection reset by peer]
AlwaysLivid has joined #haiku
<extrowerk> Begasus: did you wrote the nightly image to a disk? just a simple double-click on the image hill attach only the main partition and wont allow you mount the efi one.
<extrowerk> write the image to a disk.
<AlwaysLivid> Hey, I just stumbled upon the Software Heritage people. They provide mirrors to old Google Code copies in .tar.xz format. Are we aware of them?
tqh has quit [Remote host closed the connection]
tqh has joined #haiku
AlwaysLivid has quit [Quit: “I was also caught by absence in all its forms.”, -- Paul Éluard ]
AlwaysLivid has joined #haiku
<PulkoMandy> I know of them, anything special we need to be aware of?
moochris has joined #haiku
<AlwaysLivid> PulkoMandy, yes. They told me that Guix uses their repositories in order to download tars of old programs and ship them in the system
<AlwaysLivid> they have a full backup
<AlwaysLivid> so instead of removing recipes because google code is not available anymore, we could simply point to them
DKnoto has joined #haiku
<AlwaysLivid> problem: i have no idea how to track down which recipes got removed because of it in the tree
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
<PulkoMandy> I don't think we ever removed recipes because of that
<PulkoMandy> we have a few things hosted on our own mirrors, and things we moved to haikuarchives
<PulkoMandy> or sometimes we use debian's mirrors
<PulkoMandy> the only thing that I remember we removed because of lost sources is xut (a "button football" simulation) that was an example of some 3d/gaming toolkit that no one else had packaged anywhere else
<PulkoMandy> and in the case of google code, there is an archive still hosted by google too, so recovering these is super easy, for example: https://code.google.com/archive/p/grafx2/source/default/source
<PulkoMandy> there is a convenient "export to github" button
<PulkoMandy> so it's not really "not available anymore"
HaikuUser has joined #haiku
<PulkoMandy> the git repos are not available however, and that created problems with our old Go port which tries to do git checkouts from there
<PulkoMandy> but the problem is not finding mirrors, it's hacking the go buildtools to use them
HaikuUser is now known as SamuraiCrow
<Diver> PulkoMandy: hrev54422 broke youtube
<PulkoMandy> yes, it was the most likely candidate in the commit range you had yesterday
<PulkoMandy> I still don't know why however. It's supposed to affect only the encoding side of media kit
<Diver> i used libmedia.so from hrev54418 and LD_PRELOAD it on hrev54428
<SamuraiCrow> Sorry to interrupt just as beta3 is about to branch but Clang can't find the "new" header aka new.h but GCC can. Where is it?
<PulkoMandy> SamuraiCrow, that is part of gcc/libstdc++
<SamuraiCrow> Ok.
blabber has quit [Quit: WeeChat 3.1]
<SamuraiCrow> It was pulled in by os/app/Message.h
<PulkoMandy> I think clang can reuse it somehow, or use another libc++ implementation (but in that case you would get ABI compatibility issues)
<PulkoMandy> yes, it is a standard header from the C++ library
<PulkoMandy> so it's provided by the compiler and we use it
<SamuraiCrow> OK.
blabber has joined #haiku
countryboy has joined #haiku
<Diver> PulkoMandy: so.. revert?
<PulkoMandy> I'm looking at the code, give me a few hours to see what's going on :)
<Diver> ah, cool :) thanks!
<PulkoMandy> it looks like get_next_file_format in media kit is looking only at writable formats for some reason
countryboy has quit []
tombhadAC has joined #haiku
<PulkoMandy> ok, it turns out the media plugin system is quite badly designed. Apparently you can't have a plugin that is only a reader because only writers can register media formats
<PulkoMandy> so write-only plugins (for encoding) are possible, but not read-only
<PulkoMandy> I would have expected the two to be fully independant, or at least, for readers to be the primary thing (being only able to read a video format makes sense, but being able to write it and then not read your file back? what's the point?)
countryboy has joined #haiku
<Diver> PulkoMandy: the app_server crash is still there
<PulkoMandy> so we can reopen that bug
<PulkoMandy> or make a new one because it was a mix of dozen of people reporting different problems and confusing everyone
<Diver> ShapeAlphaMask
<PulkoMandy> yes
<PulkoMandy> but a crash in malloc usually means that something went bad with some other memory that has been free()'d
<PulkoMandy> usually we use libroot_debug to debug this but I don't know how to run app_server under libroot_debug
<countryboy> and at boot = boot menu = use debug ...
gouchi has quit [Remote host closed the connection]
odnes has quit [Read error: No route to host]
jmairboeck has joined #haiku
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
SamuraiCrow has quit [Quit: Vision[0.10.3]: i've been blurred!]
countryboy has quit [Quit: countryboy]
countryboy has joined #haiku
odnes has joined #haiku
<countryboy> is there a c64 emulator 4 haiku ?
<countryboy> i have 2 c64 floppy => .d64 => to share ...
<AlwaysLivid> question, what's blocking this program from being packaged? https://discuss.haiku-os.org/t/tip-how-to-get-spotify-qt-running/9746
countryboy has left #haiku [#haiku]
<Begasus> I think the answer to that is given in the thread AlwaysLivid
<AlwaysLivid> tl;dr "it was written in rust", right?
<AlwaysLivid> it's just that the wip recipe is not available anymore etc.
<Begasus> Probably didn't set it to stay there forever ;)
<PulkoMandy> I think nothing is blocking it but someone has to write a recipe?
<Begasus> One of the last quotes by me on the thread: "Maybe we should disable the build at haikuports as there is no audio backend to this?"
<Begasus> I know I had something working back then, but coulnd't check playback/playlists
<AlwaysLivid> Begasus, do we need to port librespot?
<Begasus> Don't know AlwaysLivid , busy with other things atm, if need be give a yell ;)
<AlwaysLivid> gotcha!
ClaudioM has joined #haiku
gouchi has joined #haiku
Begasus is now known as Guest1
kikadf is now known as Guest7
HaikuUser has joined #haiku
HaikuUser has quit []
gouchi has quit [Remote host closed the connection]
<jmairboeck> I have once again a complicated haikuports question: is there a way to use haikuporter's variables, like $dataDir in a patchset, or in C code in general? or something similar to what $dataDir expands to (i.e. /packages/...) that is available inside the haikuporter chroot?
<PulkoMandy> in C code you'd use find_directory or BPathFinder to locate various system directories
<jmairboeck> for some context: I tried adding the texlive-extra tarball to the package to have the "tlpostcode" (post-install scripts for some packages) available for install-tl
<PulkoMandy> and for scripting there is a find_directory command, that works outside haikuports as well
<jmairboeck> does that return something that is available inside the chroot, or do I still get just "/boot/system/data"?
<jmairboeck> I need /packages/texlive-2021-1/.self/data or something like that
<jmairboeck> so that it can be used from the install section of a recipe
<Guest1> check "finddir -l" in Terminal
<Guest1> that should give you some pointers
<Guest1> err .. why am I Guest1 now?
odnes has quit [Ping timeout: 480 seconds]
<jmairboeck> finddir B_SYSTEM_DATA_DIRECTORY just returns /boot/system/data, so I suppose it doesn't help
<Guest1> Begasus* here, did someone change something here on IRC?
<jmairboeck> I saw a system message earlier that you were renamed to Guest1, among a few others
<Guest1> wtf is going on here?
<PulkoMandy> looks like the nickserv service had some problems and was restarted
<PulkoMandy> I think you can rename yourself (with the /nick command) and maybe resend your password to nickserv
<Guest1> gonna close en re-enter
<Guest1> nick is in use it says :(
<Guest1> biab
Guest1 has quit [Quit: Ex-Chat]
<PulkoMandy> jmairboeck, why do you want to access /packages directly? The files are visible in /boot/system/data as well when the package is installed
Begasus_ has joined #haiku
<PulkoMandy> that being said, I think BPathFinder can give you the package specific path
<jmairboeck> but /boot/system/data is not available while a package is being built
<Begasus_> -NickServ- Nickname Begasus_ is not registered. The nickname you specify must be a
<Begasus_> -NickServ- registered nickname. See HELP REGISTER for more information.
<Begasus_> it was? registered?
<Begasus_> Begasus :Nickname is already in use.
<jmairboeck> or should I just add a symlink temporarily to $dataDir?
<PulkoMandy> I don't understand what you're trying to do, I think
<PulkoMandy> either your code is meant to run inside haikuporter environment only, in that case, just use getenv("dataDir") from C code if you need to access $dataDir
<PulkoMandy> or, your code is meant to run after the package is installed, and in that case, use find_directory/BPathFinder
pengphei has joined #haiku
<jmairboeck> I suppose this is supposed to run in both cases
<jmairboeck> also, I already checked that haikuporter doesn't export its variables, at least envsubst doesn't work
<jmairboeck> so I suppose getenv wouldn't either
pengphei has quit [Remote host closed the connection]
<PulkoMandy> you could export them from inside the recipe if needed?
<jmairboeck> but as I said, the code must be able to run on the installed system as well. This is one of the core parts of the TeX system, how it finds its stuff
<jmairboeck> maybe the easiest would be to just create temporary symlinks in the recipe
<PulkoMandy> the /system directory is readonly during build so I'm not sure what symlinks you want to create. I also don't understand why the original code in texlive wouldn't work (it looks like it should self-locate everything from the executable path?)
<jmairboeck> so maybe I should try ditching that patch altogether? I have reused that from the texlive 2014
<PulkoMandy> I don't know, maybe some changes are needed because we move a few thigns around but the idea of "let's locate everything relative to the executable path" should still work
<jmairboeck> I'm not sure, because in native (i.e. not distro-packaged installations) the binaries are actually in a different location relative to the data direcctory
<PulkoMandy> yes, sure, but you can still write some kind of expression ("../../data/texlive/") that gets you from one to the other?
<jmairboeck> yes, that would be possible
<jmairboeck> let's see if I understand that code ...
gouchi has joined #haiku
odnes has joined #haiku
mbrumbelow has quit [Ping timeout: 480 seconds]
<kallisti5[m]> Freenode numbers just keep getting worse and worse
moochris has quit [Quit: Vision[0.10.3]: i've been blurred!]
tbcr has joined #haiku
<PulkoMandy> they just deleted the network and started a new one (dropping all channel and nickname registrations)
<PulkoMandy> I guess that convinced people who hadn't moved elsewhere yet because of the previous events
odnes has quit [Remote host closed the connection]
<Not-5835> [haiku/infrastructure] kallisti5 pushed 1 commit to master [+0/-0/±2] https://git.io/JnoYe
<Not-5835> [haiku/infrastructure] kallisti5 ba585e5 - concourse: Pipeline preperation for r1beta3
<jmairboeck> PulkoMandy: I was curious so I tried BPathFinder in a small test program. Unfortunately it only gives me /boot/system/data as well and no /packages path. But that wouldn't work in libkpathsea anyway because it is written in C and not C++.
Skipp_OSX has joined #haiku
<AlwaysLivid> wouldn't mind a review here btw
alexmu has joined #haiku
<kallisti5[m]> hmm.. really shouldn't mention Haiku if unofficial
<kallisti5[m]> the idea for all this code was, you could build a non-Haiku distro and all of the trademarks would be stripped
<kallisti5[m]> I should be putting these comments in gerrit :-)
alexmu has quit []
tqh has quit [Quit: Leaving]
<Skipp_OSX> off by 1 bug somewhere in these two methods: https://git.haiku-os.org/haiku/tree/src/kits/tracker/TextWidget.cpp#n128 but no amount of rounding flooring ceiling will fix it for all font faces and sizes
<Skipp_OSX> view->FontHeight() is not integral that's a problem but there is a bigger problem
MrSun has joined #haiku
<iisi> Some hard-line "Don't Repeat Yourfelf!" advocates I worked with would insist that things like the following duplication be broken out into tiny do-almost-nothing methods:
<iisi> result.bottom = poseLoc.y + roundf((view->ListElemHeight() + view->FontHeight()) / 2);
qwebirc71433 has joined #haiku
qwebirc71433 has quit []
<iisi> I bothered to look because yesterday I was reading some higly opinionated stuff about font rendering.
<iisi> One guy advocated 1/256, 1/6, or 1/3 subpixel horizontal positioning calculation, while allowing vertical positioning to snap-to-grid.
<Skipp_OSX> any idea why the rect.top would be off-by-one differently for different font faces and sizes?
MrSunshine_ has quit [Ping timeout: 480 seconds]
gouchi has quit [Remote host closed the connection]
<Skipp_OSX> result.top = result.bottom - view->FontHeight();
<Skipp_OSX> floorf(view->FontHeight()) gets me the closest to working but still messes up on 21pt
<iisi> He had some screenshots of Windows (with and without ClearType), MacOS X, unmodified FreeType, and a modified FreeType that used 1/3.
<iisi> Ack, how'd I get scrolled up?
* iisi reads Skipps last 3 lines...
<Skipp_OSX> the off-by-one problem is consistent across icon, mini-icon, and list modes and varies with font face and size
<iisi> I'm guessing that the font (typeface+size) outlines are being hinted+smoothed differently.
<Skipp_OSX> does that work horizontally?
<Skipp_OSX> or vertically?
<Skipp_OSX> the problem here is vertical
<iisi> I think FreeType will hint and smooth in both directions unless configured differently.
<Skipp_OSX> leading is 0 so that's not it
<iisi> Wasn't intending 'leading', but rather how Foo 20pt vs Foo 21pt are grid-aligned and smoothed.
<Skipp_OSX> yeah but how do I fix that?
<Skipp_OSX> and does that affect the font height?
<iisi> Actually, there's a thought: does the result change when hinting and/or smoothing are toggled?
<Skipp_OSX> 12pt noto sans is 16.344 12pt deja vu sans is 13.96875 21pt not sands font height is 28.602 and 21pt deja vu is 24.445313
<iisi> Hmm, you have subpixel heights, to fit in a set number of pixels. Trying to place an already rendered text into vertical center of a fixed size box seems somehow wrong?
<iisi> If the font renderer can be told to vertically center into a known height, it could possibly adjust hinting+smoothing to create the appearance of 'center'.
<iisi> Or maybe render into a higher resolution, and scale down to the target size (but could lose sharpness). This could allow using higher subpixel precision, though.
* iisi reads more related code
<Skipp_OSX> I don't think it has to do with sub pixel precision it has to be a mismatch
<iisi> Let me check my assumptions. This is for icons' text labels in Tracker, right? Is the problem that text is not always vertically centered?
* iisi goes to install latest
<Skipp_OSX> yes, the problem is most visible in mini-icon mode
<Skipp_OSX> oh... you have to edit the name to see the problem
gouchi has joined #haiku
_Dario_ has joined #haiku
AlwaysLivid has quit [Quit: “I was also caught by absence in all its forms.”, -- Paul Éluard ]
AlwaysLivid has joined #haiku
<Begasus_> heading down, g'night peeps
Begasus_ has quit []
odnes has joined #haiku
Skipp_OSX has quit [Quit: Textual IRC Client: www.textualapp.com]
<iisi> Grr, now I'm "yak shaving". Logged into my Solus Linux box, and saw my 'panel' settings reverted.
<iisi> Got frustrated trying to save my settings and not have some or all of them not actually save...so went to take a shower.
<iisi> Even trying to save a new preset lies. "iisi2 saved!" "iisi3 saved!", but selecting iisi2 uses values saved years ago, and iisi3 doesn't show in the list, and... *defenstrates Linux* (-:
Miyu has joined #haiku
hackkitten has quit [Ping timeout: 480 seconds]
boistordu_ex has joined #haiku
Skipp_OSX has joined #haiku
<Skipp_OSX> iisi you there?
odnes has quit [Ping timeout: 480 seconds]
<iisi> Yeah. Colour me "distracted".
* iisi sets aside various weird Solus issues that never happen in Haiku, takes a calming breath
<Skipp_OSX> you update to latest haiku?
<iisi> Downloading.
ClaudioM has quit [Remote host closed the connection]
<iisi> (^o^) I forgot to attach a USB cable after changing monitors, so /no wonder/ the drive doesn't show up. -10 XP
<Skipp_OSX> I changed monitor, 1080p out 1440p in
<iisi> Added a 1440p to the machine I'm about to boot, moved a 1200p to this machine, and moved a 1280p to a 1990s Mac.
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #haiku
jmairboeck has quit [Quit: Konversation terminated!]
<iisi> Bizarre. This USB stick not only still prevents POST, but if I insert it at any time while BIOS has control of the system (including when viewing BIOS setup), the machine halts.
boistordu has joined #haiku
boistordu has quit [Remote host closed the connection]
* iisi shaves more yaks by switching to another USB stick
boistordu_ex has quit [Remote host closed the connection]
Miyu is now known as hackkitten
Huggy has joined #haiku
Chuggy has joined #haiku
Huggy has quit [Read error: Connection reset by peer]
Chuggy has quit [Read error: Connection reset by peer]
Huggy has joined #haiku
Chuggy has joined #haiku
Chuggy has quit []
Maturion has joined #haiku
<AlwaysLivid> \
boistordu_ex has joined #haiku
gouchi has quit [Remote host closed the connection]
vezhlys has quit [Quit: Leaving]
Maturion has quit [Remote host closed the connection]
Maturion has joined #haiku
tombhadAC has quit [Quit: System rebooting]
ClaudioM has joined #haiku
robobox has quit [Ping timeout: 480 seconds]
mmu_man has quit [Ping timeout: 480 seconds]
Huggy has quit [Read error: Connection reset by peer]
ClaudioM has quit [Quit: leaving]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
Maturion has quit [Remote host closed the connection]
<iisi> Well, I did get to futz around with the text issue a bit, before I noticed that Haiku can ping and traceroute but can't load any IRC or HTTP connections.
<iisi> I noticed this with my old hrevs that I still have, too, and with my Raspberry Pi-s.
<iisi> But no issue in Solus Linux or Windows.
<iisi> I had thought updating would help. Though maybe I just needed newer encryption algorithms or something.
<iisi> But the only thing Haiku-latest will load is the nearest router's config page.
<iisi> In lieu of continued yak shaving and troubleshooting my network config, I'm having dinner. (-:
nhtello has joined #haiku