#Aero

1 messages · Page 3 of 1

dim goblet
#

damn i am retarded

#

i didnt see the tar.gz file

#

in the sources dir

teal swift
#

I’ll update that one day. I promise!

dim goblet
#

no pressure :^) its already awesome :^)

#

good job dennis

azure cloak
#

i did update it but it had some issues i think?

#

i think i sent the updated patch to dennis

teal swift
#

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

willow lotus
#

ports jwm for Gloire
Next week everyone has jwm
Is this the managarm experience

candid mural
#

imitation is the greatest form of flattery

slow bronze
dim goblet
#

got memory issues

#

atleast is consistant

#

will debug later

#

running with munmap commented out ietroll

foggy anvil
dim goblet
dim goblet
#

wtf

#

the image viewer works without munmap commented but the fonts just vanished 💀

dim goblet
#

cache statistics

dim goblet
#

was a silly bug

#

😭

#

very very silly

barren shell
#

What caused the fonts to disappear

dim goblet
#

😭

#

shitty api design decision

dim goblet
#

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

tulip geyser
#

how goes this?

dim goblet
dim goblet
#

💀lock detection