<B2IA>
(AGMS) Heh, looking at my web server logs, there's a Christmas Tree in ASCII art from the hackers at Defcon 8044! Very targetted audience of just sysops :-)
eroux has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
<rennj>
sysops where the bbs days...long ago...
<rennj>
posers!
<rennj>
relive the past
<rennj>
dial up pppd connection
<rennj>
ymodem xmodem zmodem kermit frtw
x10z has quit [Read error: Connection reset by peer]
x10z has joined #haiku
<rennj>
give me access to your trs-80 now!
Jupp_S has quit [Remote host closed the connection]
<repetitivestrain>
augiedoggie: ...epetitivestrain: I appreciate your work on Emacs. If I had any extra money I would ask you for a donation link so I could buy you a beer or something :P... thanks, but i'm fine with my day job, i don't need anything extra :)
<augiedoggie>
well, it's the thought that counts, right? ;)
<augiedoggie>
i should blame you for causing me to spend a bunch of time tweaking doom emacs on haiku
<repetitivestrain>
augiedoggie: yeah, thanks :))
<rennj>
doom emac, heh, is that like quake shell
<augiedoggie>
it's an emacs configuration framework, to get up and running with a good looking editor right away
<dlr_o0>
i tthink I perfer the web interface... some of the ads are pretty ;)
<repetitivestrain>
rennj: using emacs in a terminal has become utterly pointless since emacs 19
<repetitivestrain>
and even more so since 21
<repetitivestrain>
in a terminal you don't get vscroll, image support, xwidgets, tool bars, child frames, scroll bars, and variable width fonts, and so on and so forth
<repetitivestrain>
and i strongly disagree with emacs "never being present" on old unix machines
<repetitivestrain>
it was very common for gnu emacs to be installed then
<repetitivestrain>
also, interesting trivia: X10 used to be distributed on the same tape as GNU Emacs
<dlr_o0>
years i made bash script to interface with localhost, it played playlist files. i never ported it python cause I never understood how i did it bash, lol
<repetitivestrain>
also, compositions and bidirectional text display never work in a terminal either
ewrvvvvvvvvvvvvvvvvvvvvvvvvvvd has quit [Remote host closed the connection]
x10z has quit [Read error: Connection reset by peer]
nullman has left #haiku [#haiku]
x10z has joined #haiku
x10z has quit [Read error: Connection reset by peer]
x10z has joined #haiku
DKnoto has quit [Quit: Leaving]
DKnoto has joined #haiku
Begasus has joined #haiku
<Begasus>
g'morning peeps
<dlr_o0>
howdy Begasus
<Begasus>
'lo dlr_o0
Begasus_32 has joined #haiku
<netpositive>
morning
Sikosis has quit [Remote host closed the connection]
jmairboeck has joined #haiku
<Begasus>
morning netpositive jmairboeck
<dlr_o0>
gm netpositive
<Scarecrow>
would the adjective for a Vision user be "visionary"?
<Begasus>
visionist? ^^
<dlr_o0>
visionologist
<AlienSoldier>
The are "Knights of the Magical Light"
<AlienSoldier>
*They
hooway has joined #haiku
bronzie94 has quit [Quit: Vision[]: decohering into the wider multiverse!]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
AlienSoldier has quit [Quit: Vision[]: i've been blurred!]
DKnoto has quit [Ping timeout: 480 seconds]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nephele has joined #haiku
DKnoto has joined #haiku
* nephele
likes vi more than vim
<nephele>
I think ee is much nicer than nano tbh
<Begasus>
A good thing you have a choice :)
<nephele>
I don't think ee is ported to Haiku
<Begasus>
Well, some choice then :P
<Begasus>
still fighting with poppler here
<nephele>
I'd rather have good defaults than choices ;) nano keeps biting me... Koder doesn't have an lpe variant yet :/... there is also no real GUI pagers (for stuff like git diff), you can use gui programs as pagers but then you can all the tty control sequences nicely displayed out in the open...
<nephele>
for what do you need poppler?
<Begasus>
amongs one, TeXstudio
<Begasus>
+t
<Begasus>
fails to link to nss at runtime (poppler)
<nephele>
It looks like poppler sues this for digital signatures in pdf documents
<nephele>
do we have applications that make use of this functionality?
<Begasus>
extractpdfmark
<Begasus>
runtime_loader: /boot/system/lib/x86/libpoppler.so.116.0.0: Version dependency "/packages/nss_x86-3.73.1-1/.self/develop/lib/x86/libsmime3.so" not found
<Begasus>
I don't think the signatures are used in TeXstudio, it's only used to create the pdf document (I think)
<Begasus>
disabling it for now, still no sollution found
andreasdr has quit [Remote host closed the connection]
AlaskanEmily has quit [Remote host closed the connection]
<nephele>
I wonder why love2d makes its launching exclusive :(
<nephele>
let's just remove that from the rdef and see if it works, it does on linux anyway
<nephele>
Begasus: do you know any news for libsdl?
<Begasus>
nope nephele
<nephele>
Welp, just launching two instances works fine. heh.
<Begasus>
can't tell there, but there are 2 PR already atm (if I'm not mistaken)
<nephele>
Maybe it's specific to some gpu or something, but 0ad never ran for me
<nephele>
That sdl2 version doesn't include my patchse though, anyhow
<nephele>
Begasus: can i send you the love2d stuff to PR though? it can be merged without the sdl2 work fine (and also fixes some issues in there on its own)
<nephele>
for example: you can screenshot love2d windows now.. :)
<nephele>
Does haiku have a ch340 driver, or any other way to connect to a ch340 usb serial controller?
<nephele>
I want to worl on a esp8266, and my dev board has that usb serial interface
kescher has quit [Quit: Bye]
kescher has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
johndrinkwater has joined #haiku
johndrin1water has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
euandreh has quit [Remote host closed the connection]
euandreh has joined #haiku
ClaudioM has joined #haiku
jjido has joined #haiku
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<waddlesplash>
repetitivestrain: based on some tests with xlibe related to this I suspect we may not even send b_exited_view in some circumstances, probably a bug
<waddlesplash>
I need to write an actual test for this however
<waddlesplash>
and I don't do anything for cross window event ordering atm. all just gets stuffed in the queue as it arrives
<waddlesplash>
due to XQueryPointer and friends I am going to need a global mouse state, so I may handle this in the process of implementing that
HaikuUser has joined #haiku
HaikuUser has quit []
nullman has joined #haiku
DKnoto has quit [Ping timeout: 480 seconds]
HaikuUser has joined #haiku
HaikuUser has quit []
DKnoto has joined #haiku
rennj has quit [Remote host closed the connection]
rennj has joined #haiku
humdinger has joined #haiku
cocobean has joined #haiku
cocobean has quit [Quit: Page closed]
<PulkoMandy>
nephele, no ch340 driver yet. I didn't run into hardware using it so far, so I didn't write one
<PulkoMandy>
our usb serial driver is well designed and adding more chips is not so hard. But the problem is finding info aboutthe chip (especially if you don't read chinese)
<waddlesplash>
... or if you can't read linux kernel code
<PulkoMandy>
chinese seems easier :D
<waddlesplash>
:D
<PulkoMandy>
(I have actually implemeted drivers for other chips from the same manufacturer using google-translated datasheets)
<nephele>
That already sounds a lot better than the in-house implementation of a memory ring buffer the CH341SER_LINUX.ZIP has :)
dlr_o0 has quit [Remote host closed the connection]
jjido has joined #haiku
Jupp_S has quit [Remote host closed the connection]
Jupp_S has joined #haiku
x10z has joined #haiku
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jjido has joined #haiku
tqh has joined #haiku
<Begasus>
another half day wasted trying to update libfprint (maybe just should disable the current one, not used afaict)
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
<Begasus>
diver, seems like you did the initial recipe, was/is there any use for it?
<Begasus>
current one still builds ok (with the recent PR for nss)
<Begasus>
bbl
HaikuUser has joined #haiku
HaikuUser has quit []
<m[m]>
Maybe not the right forum, but I can't find any docs for adding a json body using BUrlProtocolRoster. It mentions BUrlContext but can't find the class docs on haiku website. Any tips how to add a json payload to a request? Thanks.
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* humdinger
waves
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
<waddlesplash>
m[m]: the http client stuff is getting an overhaul atm, though progress is slow
<waddlesplash>
you may want to avoid writing a significant amount of new code against it...
gouchi has joined #haiku
AlienSoldier has joined #haiku
bbjimmy has joined #haiku
x10z has joined #haiku
x10z has quit []
freakazoid333 has joined #haiku
ablyss has joined #haiku
freakazoid333 has quit [Ping timeout: 480 seconds]
<PulkoMandy>
and you are correct, documentation for it is not written yet
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<PulkoMandy>
setting the body of a request is done with BHttpRequest::AdoptInputData, which takes a BDataIO
<PulkoMandy>
if you have your JSON data in RAM, you can wrap it inside a BMemoryIO
<PulkoMandy>
if you have it on disk you can use a BFile
<PulkoMandy>
if you generate it on the fly, you can create a custom BDataIO subclass
ablyss has quit [Quit: Leaving]
jjido has joined #haiku
boistordu has joined #haiku
boistordu has quit [Remote host closed the connection]
<nielx[m]>
slow, that's me!
HaikuUser has joined #haiku
HaikuUser has quit []
ClaudioM has quit [Quit: leaving]
boistordu has joined #haiku
<nephele>
must be because of the [m]
<nielx[m]>
m: so you want to create a Http request with a JSON body?
x10z has joined #haiku
boistordu has quit []
<Begasus>
heading down, g'night peeps
Begasus has quit [Quit: Ik ga weg]
andreasdr has quit [Remote host closed the connection]
<nekobot>
[haiku/haiku] 82bdd310248b - ext2: the offset still can be equal to the block size with metacsum
boistordu has joined #haiku
asarch has joined #haiku
<asarch>
One stupid question: how many partitions does Haiku need?
<asarch>
E.g. Linux needs at least two: / and the swap partition
<asarch>
Does Haiku also need a swap partition?
<waddlesplash>
nope
<augiedoggie>
no, Haiku uses swap files for virtual memory, not partitions
<waddlesplash>
swap partitions are so 1990s
jmairboeck has quit [Quit: Konversation terminated!]
<waddlesplash>
probably early linux had no "file mapper" for the swap system to be able to operate without calling into the filesystem layers
<waddlesplash>
but who knows why that's still a thing
<jezek2>
inertia :)
<Scarecrow>
I gather a swap file can induce mild overhead
<Scarecrow>
not that it'll make any difference given how slow storage is, but y'know
<waddlesplash>
if it's done right the overhead is 99% at system startup, or maybe a little more than that if you have extreme disk fragmentation
<waddlesplash>
however as the swap file is usually one of the first things made, it shouldn't be fragmented at all
<waddlesplash>
otherwise it's just one call into filemap translation per swap I/O and that's it, and if your swapfile is unfragmented it's just one add/subtract
<waddlesplash>
if it is fragmented then it may have to do a list walk or binary tree search
<rennj>
linux doesnt need 2..that distro issue
<rennj>
zram swap
<rennj>
hell i ran without swap for long time... oom killer will kit in either way
euandreh is now known as Guest10167
euandreh has joined #haiku
<rennj>
you can install and run linux without swap partition..
<rennj>
and i look forward to the day c++ beos/haiku even runs close to stable as unices
Guest10167 has quit [Ping timeout: 480 seconds]
<rennj>
cause beos was never a stable od
<rennj>
cause beos was never a stable os
<tqh>
you can do swap files in linux if you have a fs that doesn't mess with the file. IIRC xfs and reiserfs is fine, ext and btrfs is not.
<Scarecrow>
ext4 is fine IME, and btrfs requires special prep but can be done
<tqh>
but zram is probably what you want though.
<Scarecrow>
recently switched to zswap plus swap file, seems to be a cleaner setup
<PulkoMandy>
the reasons linux still has a swap partition are for suspend-to-disk (and wakeup from it) and because some filesystem have journalling, checksums, ... on file data
<PulkoMandy>
which you don't want for the swap, usually, it's useless overhead
<x512[m]>
Windows also have suspend-to-disk.
<PulkoMandy>
is zram still a good idea? nvme ssds are getting so fast that disk write may be better than loading the cpu with compression-decompression
<rennj>
or you like solaris witch was 2.5 memory so /swap partition could hold the core dump of kernel on panic
<rennj>
i.e. /var/crash
<rennj>
now on 256GB of ram you going to have a 512GB swap partition to hold that core dump of the kernel
<rennj>
how about 1TB of ram
<tqh>
Since we are talking fs and swaps, anyone tried bcachefs? https://bcachefs.org/
x10z has quit [Remote host closed the connection]
x10z has joined #haiku
<tqh>
Isn't zram better for nvme as it reduces writes?
<rennj>
zram swap is more for embedded devices so you dont beat up the short lived nand tech
<rennj>
perhaps tesla should have paid attention
<rennj>
these seem to burn out there modules
<rennj>
for excess logging
<asarch>
What is the default password for the user 'user'?
<waddlesplash>
nothing
<waddlesplash>
the default user is root, you can change the password with "passwd"
<waddlesplash>
so if you are trying to sign in with ssh, you will also need to enable root logins
<asarch>
Thank you
<waddlesplash>
alternatively you can make a non-root user and log in from that
<waddlesplash>
(via ssh)
<asarch>
Where is '/home'?
<waddlesplash>
what do you mean?
<asarch>
I mean "Could not chdir to home directory /home/asarch: No such file or directory"
<waddlesplash>
yes, you want /boot/home
<waddlesplash>
and /boot/home is really "user"'s home directory
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<waddlesplash>
on Haiku, / is a virtual directory, it doesn't really exist
<waddlesplash>
/boot is where the boot partition is mounted and most things are inside that
<waddlesplash>
other mounted drives will appear in / as well
<asarch>
Is Haiku a multi-user OS?
<waddlesplash>
at the kernel/filesystem level yes, at the GUI level not just yet
<asarch>
I see
<waddlesplash>
it's probably not that much work to make it so, but we haven't gotten around to it
<waddlesplash>
so you can SSH in and do things as other users but you can't start GUI apps
<asarch>
How do you enable root logins?
<waddlesplash>
same as on linux, in sshd settings
<waddlesplash>
on Haiku they're in /system/settings/ssh
<rennj>
does haiku have vncserver...then you could just vncviewer on the client get all you gui foobar
<rennj>
and it works over dialup...even better
<rennj>
tight/tiger vnc
HaikuUser has joined #haiku
HaikuUser has quit []
<rennj>
i seem to recall testing vncserver on beos...but i could just be thinking of vncviewer
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]