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>
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
<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
<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 ...
<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>
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:
<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 ]
<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. (-: