This has the most toxic UI I've seen in my life. Switching away from my browser and back again causes the page to re-render, losing my place as it did so. Just awful!
Comparative unsafety
11–20 of 99 posts
Re: Comparative unsafety
#12> let path = CString::new(filename.as_str()).unwrap().as_ptr();
Is one of those functions calling free behind the scenes?
Re: Comparative unsafety
#13This has the most toxic UI I've seen in my life. Switching away from my browser and back again causes the page to re-render, losing my place as it did so. Just awful!
Re: Comparative unsafety
#14This has the most toxic UI I've seen in my life. Switching away from my browser and back again causes the page to re-render, losing my place as it did so. Just awful!
Extra maddening, as it works fine with Javascript disabled. Those loading and rendering progress bars are a terrible idea.
Re: Comparative unsafety
#15This has the most toxic UI I've seen in my life. Switching away from my browser and back again causes the page to re-render, losing my place as it did so. Just awful!
Extra maddening, as it works fine with Javascript disabled. Those loading and rendering progress bars are a terrible idea.
Re: Comparative unsafety
#16This has the most toxic UI I've seen in my life. Switching away from my browser and back again causes the page to re-render, losing my place as it did so. Just awful!
I'm pretty sure it's an artificial loading screen too. There's no way it actually takes that long to render. It's quite an interesting artistic statement.
window.setTimeout(makeprogress, delay)
With various repeated hard-coded delays of 50, 250, and 500ms.Re: Comparative unsafety
#17This has the most toxic UI I've seen in my life. Switching away from my browser and back again causes the page to re-render, losing my place as it did so. Just awful!
Re: Comparative unsafety
#18Wait, what? I don't know rust, at all, but why is path freed? I thought rust didn't have GC? > let path = CString::new(filename.as_str()).unwrap().as_ptr(); Is one of those functions calling free behind the scenes?
Re: Comparative unsafety
#19This has the most toxic UI I've seen in my life. Switching away from my browser and back again causes the page to re-render, losing my place as it did so. Just awful!
Re: Comparative unsafety
#20Worth noting that you can disable individual Clippy warnings instead of the whole thing (per line or for the whole project). I almost always turn off the dead_code warning, especially when I'm iterating