x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m199 has quit [Ping timeout: 480 seconds]
m199 has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
<zeldakatze>
does someone know which library I have to link to for unix sockets? I'm trying to compile ezquake and am currently getting: undefined reference to `inet_addr'
<selfish>
-lnetwork?
<zeldakatze>
thank you, that works
HaikuUser has joined #haiku
HaikuUser has quit []
jason123santa has left #haiku [#haiku]
repetitivestrain has joined #haiku
<repetitivestrain>
is there any efficient way to draw a monochrome BBitmap in a certain color?
<repetitivestrain>
like, i have a B_GRAY1 bitmap, but i want the black pixels inside to be drawn as red, and the white pixels to not be drawn at all
<x512[m]>
Palette?
<repetitivestrain>
i don't know what that is, sorry
<repetitivestrain>
on X i would set the clip mask of the GC to the monochrome pixmap and the foreground to red, and then fill a rectangle with the bounds of that pixmap
<repetitivestrain>
i tried creating a layer, filling that layer with red, then setting the drawing mode to B_OP_ERASE and drawing the bitmap
<repetitivestrain>
but then everything turns out as one white square
<repetitivestrain>
after the layer ends and is composited onto the view
<waddlesplash>
I don't think B_GRAY1 works quite right, or maybe at all, as a bitmap colorspace
<waddlesplash>
but, admittedly I've barely used it
<repetitivestrain>
hmm
<repetitivestrain>
the Be Book says "B_MONOCHROME_1_BIT bitmaps act just like a pattern"
<repetitivestrain>
but i don't know how that can work
<waddlesplash>
me either, never done it
<waddlesplash>
if you figure it out, or find someone who knows, could be useful for Xlibe :)
<repetitivestrain>
because if i draw that bitmap, pixels that are on are still black, not in the high color
<repetitivestrain>
i'll immediately be useful for emacs
<repetitivestrain>
which lets users set tiled patterns as the background for text
<repetitivestrain>
but the patterns don't fit into 8x8 pixels
<x512[m]>
B_MONOCHROME_1_BIT seems should use low and high color.
<x512[m]>
BView::SetLowColor, BView::SetHighColor
<repetitivestrain>
yes, but that isn't what happened
<repetitivestrain>
(B_MONOCHROME_1_BIT is just B_GRAY1)
<repetitivestrain>
pixels that are on are drawn black, those that are off are white
<x512[m]>
Maybe Haiku bug?
<x512[m]>
How BeOS behave?
<repetitivestrain>
not sure, i never wrote programs for BeOS
x10z has joined #haiku
x10z has quit []
<waddlesplash>
it's quite possible we never implemented some behavior here
<waddlesplash>
but I don't know much about the painter backend tbh
<Skipp_OSX>
as far as I know Haiku is an improved version of BeOS which supports alpha and stuff BeOS never did but otherwise works the same.
<Skipp_OSX>
I've tested all the various modes and they work
<x512[m]>
The problem is 1 bit BBitmap, not pattern.
<x512[m]>
Pattern has hardcoded 8x8 size.
HaikuUser has joined #haiku
HaikuUser has quit []
<Skipp_OSX>
Patterns are based on the Mac OS preferences so you could set your background... probably should not be used for anything these days so yeah problem is probably not pattern (but I didn't read enough to really understand what your problem is.)
<repetitivestrain>
the problem is bitmaps in B_GRAY1 aren't treated as the Be Book imples they are
<repetitivestrain>
(like patterns)
<repetitivestrain>
where "on" means the high color and "off" means the low color
<Skipp_OSX>
I think it's meant to work like a piece of paper so the background (off) is white and the foreground (on) is black
<Skipp_OSX>
low color is white, high color black
<Skipp_OSX>
But that doesn't work? Because I remember using 1 bit bitmaps to draw the BeDecorator close button and it seemed to work ...
HaikuUser has joined #haiku
HaikuUser has quit []
<Skipp_OSX>
looks like I SetDrawingMode to B_OP_OVER and then used DrawBitmap to draw
<Begasus>
augiedoggie, libversion for tree-sitter is indeed wrong, it's actual "0.0 compat >= 0"
<Begasus>
already did a local change and build the latest rizin with it, latest cutter is still not finding rizin so falling back to current 2.0.3 to see if it still builds
<netpositive>
morning
<Begasus>
'morning netpositive
<nihilazo>
how can I share files between a linux host and a haiku guest in virt-manager?
Atomozero has joined #haiku
<Begasus>
nihilazo, had some success with gerbera a while back
tuaris has quit [Read error: Connection reset by peer]
<Anarchos>
x512 i saw your blog post :) but i am interested in the direct remoteDesktop, not the html5 one
<x512[m]>
RemotrDesktop should work if started from Terminal with server IP address provided.
<x512[m]>
RemoteDesktop
<x512[m]>
It currently have no server settings GUI.
<x512[m]>
And it work in fullscreen only.
<Anarchos>
x512[m] i tried RemoteDesktop user@192.168.1.26 but i just get RemoteView: failed to connect to user@192.168.1.26:10900 initialization of remote view failed: General system error
<nephele>
don't add the user@ part
<Anarchos>
nephele tried to, same error
<nephele>
Hmm, well, if your server is listening on that ip it should work?
<Anarchos>
by the way one is x86_64, the other x86_gcc2
<Anarchos>
phschafft i think the voltage level to start the fan is not high enough, maybe a capacitor on the motherboard , or voltage level triggered by ACPIis not strong enough for the new fan
<phschafft>
hm.
<phschafft>
so it is a bigger fan not just a repacement one?
eroux has quit [Ping timeout: 480 seconds]
<Anarchos>
phschafft a replacement , it should be same spec, but as i bought on a chinese site....
Vitto has joined #haiku
* phschafft
nods.
<repetitivestrain>
Skipp_OSX: then i wonder what the Be Book meant by monospace bitmaps being treated as "patterns"
doomquakekeen has quit [Ping timeout: 480 seconds]
doomquakekeen has joined #haiku
Vitto has quit [Ping timeout: 480 seconds]
eroux has joined #haiku
Vitto has joined #haiku
eroux has quit [Ping timeout: 480 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
eroux has joined #haiku
eroux has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
Vitto has quit [Ping timeout: 480 seconds]
xet7 has quit [Ping timeout: 480 seconds]
<nihilazo>
can I add shell scripts to my deskbar menu in haiku?
HaikuUser has joined #haiku
HaikuUser has quit []
<nephele>
Yeah, i think you can
<nephele>
in ~/config/ there should be a dire where you can put stuff or symlinks for the deskbar.. but i'm not sure atm which folder it is :)
MajorBiscuit has joined #haiku
Soft[m] has left #haiku [#haiku]
kinkinkijkin has quit [Quit: Leaving]
nihilazo has left #haiku [mi tawa!]
mmu_man has quit [Ping timeout: 480 seconds]
Maylay has quit [Quit: Pipe Terminated]
Maylay has joined #haiku
DKnoto has quit [Quit: Leaving]
mmu_man has joined #haiku
Vitto has joined #haiku
Vitto has quit [Ping timeout: 480 seconds]
ClaudioM has joined #haiku
tqh has joined #haiku
DKnoto has joined #haiku
Begasus has quit [Remote host closed the connection]
Begasus has joined #haiku
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
vezhlys has joined #haiku
gouchi has quit [Quit: Quitte]
<Begasus>
New toy for my birthday, external drive 1TB to install Haiku on :)
<Atomozero>
HB!!!!
<Atomozero>
:D
<Begasus>
Thnx! :)
<Begasus>
Is there a limit on how large the partitions could be?
ClaudioM has quit [Quit: leaving]
<Begasus>
Trying to install BootManager says "incompatible format!" atm?
<Begasus>
(Installed into a 200GB partition)
Anarchos has joined #haiku
<Atomozero>
strange
ClaudioM has joined #haiku
<Begasus>
nvm, got it :)
Begasus_64 has joined #haiku
<Begasus>
Had to initialize the drive first :)
<Begasus>
200GB for Haiku, 400GB for haikuports(), about +300GB for a fat32 partition I can use to move things around ;)
<Begasus>
To bad wifi isn't working native
<jmairboeck>
Begasus: you can also use a physical (external) drive in VirtualBox, that is what I am using mostly since my dedicated Haiku laptop died
<Begasus>
Did most in VBox jmairboeck just wanted to have something native running using the full power :)
<Begasus>
Only downside, 64bit ...
x10z has joined #haiku
Begasus_64 has quit [Quit: Vision[]: Gone to the dogs!]
<jmairboeck>
In case you want to try it, this is the command that I used to create the "disk image" on Linux: VBoxManage internalcommands createrawvmdk -filename usbdisk.vmdk -rawdisk /dev/disk/by-id/<id-of-the-usb-disk>
<Begasus>
Used VBoxManage to set the proper screen size
Atomozero has quit [Read error: No route to host]
<Begasus>
but booting native works fine there
Begasus_64 has joined #haiku
B2IA has quit [Quit: Vision[]: i've been blurred!]
B2IA has joined #haiku
<Begasus>
jmairboeck, does that create an installation of the one you have installed in VBox?
<Begasus>
First test run, building gerbera 1.11.0 ...
<jmairboeck>
that creates a disk image file that points to the physical disk
<jmairboeck>
you can then just attach it as a hard disk to a VM
<Begasus>
Ok, not that much there atm that isn't in haikuports already (aside from some wip recipes)
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Begasus>
Only thing I'm wondering, if it would be possible to install a 32bit version native ...
<jmairboeck>
shouldn't be a problem I think
<Begasus>
if it isn't I could create a 32bit/64bit dual boot on the external drive
<jmairboeck>
if the machine supports BIOS booting or a CSM, I think the 32 bit UEFI support is not yet finished
<jmairboeck>
Begasus: did you already look at the two python recipes that I created last week?
<Begasus>
Wanted to do some things for my own (loose ends)
<x512[m]>
I tried 32 bit UEFI on real hardware and got infinite black screen.
<jmairboeck>
ok, no problem, it is not urgent at all
<Begasus>
Trying to grab a nightly for 32bit to install on a USB stick, if it boots I can go on with that, if it doesn't it ends there (native)
<jmairboeck>
when python-poppler-qt5 is merged, I could start with qpageview, and then Frescobaldi, but as long as Lilypond is not available, that will not be useful at all
<jmairboeck>
besides teaching me how to do python GUI stuff in Haiku :)
<Begasus>
Hence I didn't look any further jmairboeck .. building lilypond is a pain enough ;)
<jmairboeck>
the problem is the dependency on TeX, or rather metafont and metapost
<Begasus>
Did you find a sollution for the fonts detection?
<jmairboeck>
yes, that is fixed already
<Begasus>
nice :)
<jmairboeck>
the problem was that the fontconfig cache was not complete
<Begasus>
ah right, re-creating the cache solved it
<Begasus>
If you refresh from time to time you'll see the progress
<Begasus>
Completed on both arch's :)
<jmairboeck>
looking good, thank you :)
<Begasus>
Happy hunting :)
<jmairboeck>
another interesting thing to try would be portmidi to get MIDI support in Frescobaldi. But for that I would have to write a dedicated Haiku backend. I have no idea how the MIDI kit works (or PortMidi) work though. So it will not get boring soon, I suppose :)
<Begasus>
It keeps us busy :)
<Begasus>
did a succesful build for gerbera earlier on 32bit, but for some reason on this laptop (Ubuntu) it didn't connect to it
<Anarchos>
I tried to use a script from internet to do wake on lan : fail, my mac address begins with 00 so this is translated as <NUL> which prematurely ends the string of the packet to send :/
* Anarchos
tried to use a script from internet to do wake on lan : fail, my mac address begins with 00 so this is translated as <NUL> which prematurely ends the string of the packet to send :/
<Begasus>
Anarchos, did you try the same with another OS?
<jmairboeck>
it seems that python-poppler-qt5 is already outdated again, there was a new release 3 days ago ...
<Begasus>
heh
<Begasus>
know the feeling ;)
<Begasus>
python packages are released on the spot (so when you think you're on par you're outdated on another part) ;)
<jmairboeck>
that means that we can probably drop the patch again, as that was directly taken from upstream
<Begasus>
well I guess you could work from the current now, and worry about bumping later
tqh1 has joined #haiku
tqh has quit [Read error: Connection reset by peer]
ablyss has joined #haiku
eroux has joined #haiku
eroux has quit []
Vitto has joined #haiku
<Anarchos>
Begasus i was on ubuntu
Vitto has quit [Ping timeout: 480 seconds]
<Anarchos>
where can i find syntax for .md blog files ?
ablyss has quit [Quit: Leaving]
<Anarchos>
i am looking for the way to include images
x10z has joined #haiku
<jadedctrl>
Anarchos: you can use inline html for images, it looks like most images are in static/files/blog/$user/ or static/files/images/ `o`
<Anarchos>
jadedctrl thanks
<jmairboeck>
Begasus: I created two new pull requests :)
HaikuUser has joined #haiku
HaikuUser has quit []
x10z has quit [Read error: Connection reset by peer]
<jmairboeck>
just for the fun of it, I tried to build PortMidi (https://github.com/PortMidi/portmidi), using the NULL driver for now. In some "generic" code, it calls clock_gettime(CLOCK_MONOTONIC_RAW, &now), which is not available (CLOCK_MONOTONIC_RAW that is). Is there something equivalent in Haiku? Or could it be replaced with CLOCK_MONOTONIC?
didjital_ has quit [Quit: Konversation terminated!]
ClaudioM has quit [Quit: leaving]
tqh has joined #haiku
Anarchos has joined #haiku
vezhlys has quit [Ping timeout: 480 seconds]
<Anarchos>
I could not change my password on discuss cause i never received their emails sent to my hotmail account
thelounge49207 has quit [Ping timeout: 480 seconds]
Vitto has joined #haiku
Vitto has quit []
Vitto has joined #haiku
Vitto has quit []
jmairboeck has quit [Quit: Konversation terminated!]