#Aero
1 messages · Page 3 of 1
I’ll update that one day. I promise!
i did update it but it had some issues i think?
i think i sent the updated patch to dennis
Yeah we had some issues
But we’re gonna need updated webkit soon. Cuz while I’m doing el plan, and the meme from yesterday is stuck on librsvg, I found another item that I want to do (has links to el plan) and it uses webkit, but I think Managarm’s version is out of date
ports jwm for Gloire
Next week everyone has jwm
Is this the managarm experience
imitation is the greatest form of flattery
Pretty much
i did notice it seemed to set a trend
yes
its called team work
got memory issues
atleast is consistant
will debug later
running with munmap commented out 
avg osdev experience

ok the fonts just disappeared
wtf
the image viewer works without munmap commented but the fonts just vanished 💀
btw i fixed this
was a silly bug
😭
very very silly
What caused the fonts to disappear
😭
shitty api design decision
I am thinking of converting existing code that looks like: ```rs
fn read(&self, off: usize, buf: &mut [u8]) -> fs::Result<usize> {
let queue = self.in_wq.block_on(self.queue, |queue| !queue.is_empty())?;
let packet = queue.dequeue().unwrap();
let size = packet.len().min(buf.len());
buf.copy_from_slice(&packet[..size]);
Ok(size)
}
fn write(&self, off: usize, buf: &[u8]) -> fs::Result<usize> {
let queue = self.out_wq.block_on(self.queue, |queue| !queue.is_full())?;
queue.enqueue(buf.to_vec());
self.in_wq.notify_all();
Ok(buf.len())
}```
To this:
async fn write(&self, off: usize, buf: &[u8]) -> fs::Result<usize> {
self.queue.enqueue(buf.to_vec()).await?;
Ok(buf.len())
}
async fn read(&self, off: usize, buf: &mut [u8]) -> fs::Result<usize> {
let packet = self.queue.dequeue().await?;
let size = packet.len().min(buf.len());
buf.copy_from_slice(&packet[..size]);
Ok(size)
}
Ideas? Thoughts? Good idea? Cuz that abstracts out a lot of the block_on and explicit checking noise
how goes this?
wym
💀lock detection
