News for hackers. Stuff that matters.

M-Valentino

Re:What features would you like to see added my virtual web OS? on Thursday November 28, 2024 @02:21AM (#42263226)
Not too early. I got an NES emulator in there and a text editor already. I wonder if I could port Inkscape to wasm.
Re:iPhone 16 could let you shoot in JPEG-XL on Saturday August 24, 2024 @02:18AM (#41336070)
My idea for wanting PNG encoding is that they have lossless compression, and that the other common format that preserves details is bitmap, which has no lossless compression. At least PNG might compress photos somewhat. The web is plagued with images that have been resaved over and over that have JPEG degradation. I did not know JPG-XL had a lossless format so that's promising imo. But JPG-XL isn't supported in many browsers.
Re:iPhone 16 could let you shoot in JPEG-XL on Saturday August 24, 2024 @01:20AM (#41335841)
I like PNG's lossless compression. I feel like PNG was a really bad format back when hard drives were 100GB, but now storage is so cheap. I didn't know JPEP-XL had a lossless mode. Other than that format, I don't know of any other formats that offer lossless compression other than bitmap and TIF. You can't really use TIFs in many contexts and bitmaps have no compression at all.
When the OS starts up, it fetches all the source files and puts their content inside a huge JavaScript object the "hard disk". From that object, it will append the GUI script, kernel script, taskbar, and start menu to the DOM. The GUI script does most of the heavy lifting. The kernel script handles, creating, updating, and deleting of files and folders. Folders are really just nested objects inside the main hard disk object
Re:iPhone 16 could let you shoot in JPEG-XL on Friday August 23, 2024 @11:33PM (#41335348)
I want a phone that lets you shoot PNG
What separates my online OS from Windows 93, Windows 96, and Daedal OS, is the ability to export the entire "hard disk" to JSON and boot with it. Every system file is editable. In Sacred OS, HTML files are executable and HTML files are ran in iframes. These iframe programs can communicate with the kernel with the window.top.postMessage method. The whole thing was written using Vanilla JS.

This OS is still a work in progress. What do you guys think of it?