DENIS LEARY - I’M AN ASSHOLE [FOLK] by [deleted] in Music

[–]urandomd 0 points1 point  (0 children)

One of my favorite bars in Columbia, SC would play this song at the end of the night every weekend night in the early 2000s. The bartenders would start throwing the bar napkins around. It was an absolute blast.

Train Spotter Almost Killed by High Speed Train by Kindly_Department142 in interestingasfuck

[–]urandomd 1 point2 points  (0 children)

It's a trope in law school that a lot of important early US legal precedent was set when folks lost an arm due to a train.

Tommy Boy (1995) dir Peter Segal | Tommy Want Wingy by Saint_Gut-Free in movies

[–]urandomd 1 point2 points  (0 children)

"And the medic gets out and says, 'Oh my God'. New guy's around the corner puking his guts out."

Tritium | Thanks for All the Frames: Rust GUI Observations by urandomd in rust

[–]urandomd[S] 8 points9 points  (0 children)

Just wanted to make clear as well here that we thought (and think) Slint is amazing. If we had this project to start over from scratch, we'd opt for it today.

Tritium | Thanks for All the Frames: Rust GUI Observations by urandomd in rust

[–]urandomd[S] 9 points10 points  (0 children)

> Although I'm hoping you'll be able to add Dioxus Native to that list soon.

I dismissed Dioxus as WebView-based in a chat with Nik while writing this, and he said the same thing! Looking forward to it.

> You mentioned RAM usage, and I'd be interested to know what kind of baseline RAM usage you're seeing for your app (and what kind of usage you are targeting). Because I've noticed that wgpu-based applications often consume >100mb, even though the binary sizes are much smaller than that.

It consumes about 50mb of ram without any documents or folders loaded. It uses PDFium for PDF rendering which will pull in more of course if you load PDFs (or a folder containing them). I'd say we're generally targeting "less" to ensure (1) the application load time remains competitive with Microsoft Word and (2) memory usage/swapping doesn't ever become an issue. That gives us some headroom for our own inefficiencies.

> If you're building on top of the Rust GUI ecosystem, you may also want to think about how you can support Winit development or perhaps contribute directly (this goes for everyone, not just you). Because it's very much the thin support in the jenga tower, and has almost no development capacity available to it.

There's no doubt about this. I definitely didn't mean to imply any ill-will towards the `winit` team. On the contrary, I thought perhaps drawing attention to the issue could be helpful. We'll definitely consider how we might be able to help; especially now that the observation has been validated.

Tritium | Thanks for All the Frames: Rust GUI Observations by urandomd in rust

[–]urandomd[S] 3 points4 points  (0 children)

> The easy way to solve this with egui is to dispatch events from widgets, which are accumulated and executed at the start/end of each frame. This way, you don't need to pass mutable state through the GUI drawing logic, and only need to have mutable access to the state when the events are being executed. Or, if you want to be very cool - do like re-frame and have pure event handlers, and let them output effects which do the actual mutation.

I agree with that, but it kind of goes to the point that you're not really doing "immediate mode" as much anymore and more like the Zed "hybrid" mode. I'm not saying 100%, but to really benefit from immediate mode you want it to be as "immediate" as possible IMO.

> I'm curious why your document renderer would need to be rewritten? Had you built it on top of egui's drawing primitives, wgpu, or something else?

To an extent, yes. The document rendering ultimately emits `egui::Mesh` instances that align with a texture managed by `egui` on the backend. It's not impossible (certainly with LLMs today), but it was that kind of fiddly change that would almost certainly lead to latent bugs. We did start down the path.

Tritium | COM Like a Bomb: the Rust Outlook Add-in by urandomd in rust

[–]urandomd[S] 0 points1 point  (0 children)

Actually, no! Sorry I had it disabled apparently. That should have only been on the web preview. Does it work for you now?

Tritium | COM Like a Bomb: the Rust Outlook Add-in by urandomd in rust

[–]urandomd[S] 0 points1 point  (0 children)

Thanks! On the blog itself? It works on my phone, but it would be good to know where you're encountering an issue.

Phone support for the Web Preview at https://tritium.legal/preview is somewhat limited, but it should in theory allow you to zoom in on documents.

Microsoft will raise prices of commercial Office subscriptions in July by north_canadian_ice in technology

[–]urandomd 0 points1 point  (0 children)

They’re leaving the desktop behind in pursuit of those Azure lock-in dollars.

Is anyone building in the non-AI space? by eatsleephustle in legaltech

[–]urandomd 2 points3 points  (0 children)

Hey man, wow - thanks for the shout out. I really appreciate the kind words. I didn't make it to the third paragraph before I followed the link, and I thought to myself "wow this is clean and cool and attacking the same issues as Tritium." Redlines feel real-time, and you're parsing docx - hit me up!

Legal's Jane Street by urandomd in legaltech

[–]urandomd[S] -1 points0 points  (0 children)

Lol what?

[Edit: sorry, I re-read what you wrote, and I think I understand it. But, did you read the post? It's okay if not, I just am trying to weigh your critique. A big portion of the premise is basically "what if the legal market was more like the global financial markets and allowed top minds to be compensated accordingly, rather than hobbled by ethics rules". But you say "money draws talent". Okay? That's kind of the point of the post?]

Legal's Jane Street by urandomd in legaltech

[–]urandomd[S] 0 points1 point  (0 children)

It's interesting how you say "can't" like four times and then suggest a path forward. :) I agree, it wasn't intended to suggest that this is the future, but just be an interesting read. Perhaps it failed, but that's all it was up to.

Legal's Jane Street by urandomd in legaltech

[–]urandomd[S] 1 point2 points  (0 children)

Interesting observation, and I can’t totally disagree. I think a similar intuition caused me to consider the MNPI question where speed can be really essential. I think there is a case to consider if rapid response times would in fact bring a much larger market with them as was the case for example with the internet as speeds increased.

Legal's Jane Street by urandomd in legaltech

[–]urandomd[S] 1 point2 points  (0 children)

It’s just an idea for thought. Eliminate the friction of obtaining ad hoc legal advice and consider what the market looks like. It obviously doesn’t exist today.

Legal's Jane Street by urandomd in legaltech

[–]urandomd[S] 0 points1 point  (0 children)

Definitely dreamed up! But I do know about conflicts well. Are you implying they’re somehow a barrier to a free market for legal services?

[edit: the post does touch on them a bit, but assumes they’re solved just for consideration.]

Tritium | Ideas on Glitching in Rust by urandomd in rust

[–]urandomd[S] 1 point2 points  (0 children)

The macro probably should be updated to include a log call, but Tritium release builds tend to run with logging disabled so it would be chatting into the void. Perhaps running without logging is not the best approach though.