Readit News logoReadit News
fs0c13ty00 commented on Slum: The Shadow Library Uptime Monitor   open-slum.org/... · Posted by u/rand0mx1
fs0c13ty00 · a year ago
Shadow libraries are truly a gift to humanity. Thanks to them, poor and starving people in developing countries like myself can access knowledge, escape poverty and thrive.

It's great to have something like Slum. It makes accessing these libraries much easier and helps users check if a site is down for everyone or just for them. Plus, having the up-to-date links provided is super helpful!

fs0c13ty00 commented on How I write code using Cursor   arguingwithalgorithms.com... · Posted by u/tomyedwab
dankwizard · a year ago
Why is 60 - 70% of my screen whitespace on this website (Or maybe more accurately... light pink space?)

If cursor made those margins, humans 1 cursor 0

fs0c13ty00 · a year ago
I actually like it. Better readability and the empty space can be used for showing citations, which the author seems to do a lot.
fs0c13ty00 commented on Running an open source app: Usage, costs and community donations   spliit.app/blog/spliit-by... · Posted by u/scastiel
scastiel · a year ago
Running a database accessed that many times on a $4 Digital Ocean droplet? I'd be very curious to see that ;)

The web hosting costs basically nothing. Most of the cost comes from the database.

fs0c13ty00 · a year ago
My open source service, lrclib.net, handles approximately 200 requests per second at peak (yes you read that right, it's approximately 12000 requests per minute) on a simple €13 Hetzner cloud server (4 AMD based VCPU, 8GB RAM). I'd love to write a blog post about how I made it possible sometime in the future, but basically, I cheated by using Rust together with SQLite3 and some caching.

I was surprised by the cost of Vercel in that blog post too, which is why I dislike all kinds of serverless/lambda/managed services. For me, having a dozen people subscribing to $1-$2/month sponsorship on GitHub Sponsors is enough to cover all the costs. Even if no one donates, I’d still have no trouble keeping the project running on my own.

fs0c13ty00 commented on Upgrading Uber's MySQL Fleet   uber.com/en-JO/blog/upgra... · Posted by u/benocodes
aprilthird2021 · a year ago
Let's delve into why you think that
fs0c13ty00 · a year ago
It's simple. Human writing is short and to the point (either because they're lazy or want to save the reader's time), yet still manages to capture your attention. AI writing tends to be too elaborate and lacks a sense of "self".

I feel like this article challenges my patience and attention too much, there is really no need to focus on the pros of upgrading here. We reader just want to know how they managed to upgrade at that large scale, challenges they faced and how the solved them. Not to mention any sane tech writers that value their time wouldn't write this much.

fs0c13ty00 commented on Show HN: Electrico – Electron Without Node and Chrome   github.com/thomastschurts... · Posted by u/thomastsch
fs0c13ty00 · a year ago
I like this, as the author of LRCGET (which is made with Tauri), I hate debugging something that works on Windows (Microsoft Edge WebView2) but doesn't work well or doesn't work at all on Linux (Webkit2gtk) or macOS.

One of the example is audio playback. Chromium and in turn Edge WebView2 have great support, but make it work in Webkit2gtk is a big pain in the *s. I then decided to switch the audio playback feature to Rust side (using Kira and Symphonia) instead.

Having Chromium bundled eliminates all the pain about inconsistency between webview engines, and using Rust means we don't have to pay for the NodeJS size in our app bundle (plus better performance).

For Tauri, I think something like Servo will fit well as bundled browser engine. Hopefully some day it will happen.

fs0c13ty00 commented on Elon Musk drops suit against OpenAI and Sam Altman   cnbc.com/2024/06/11/elon-... · Posted by u/hggh
fs0c13ty00 · 2 years ago
To this point I just want to have a way to block all Musk related news from my doom scrolling time. I just can't see any meaningful value in these news anymore.
fs0c13ty00 commented on Hotwire: HTML Over The Wire   hotwired.dev/... · Posted by u/bpierre
fs0c13ty00 · 2 years ago
I love the idea of Hotwire and I'm already using it in one of my production project. Overall it saved me a lot of time and frustration having to deal with a separate frontend project, and the frustration having to manually manipulate the DOM with JavaScript in traditional MVC project.

However I faced some other new frustration, such as when trying to make a dynamic nested form (similar to cocoon gem) but only with hotwire stack (turbo frame/stream). It is also hard to think of each hotwire controller as a component, you might face some problems when trying to do some nesting.

I think Hotwire will be a perfect fit if you want a traditional websites with a few dynamic, interactive features. If your website is too much app-like, you should consider switching the frontend part to SPA entirely.

fs0c13ty00 commented on Tauri 2.0 tries to make mobile apps crossplatform   beta.tauri.app/guides/... · Posted by u/nancyp
stavros · 2 years ago
Doesn't using platform-specific webviews mean you get inconsistencies between OSes?
fs0c13ty00 · 2 years ago
Yes, it does suck sometimes, but for UI then your frontend framework should work all the same 99% of the time. If your app is related to audio/video playback or you want to use newer features of Web standard such as webGPU, then it will be trickier.

Source: I'm developer of https://github.com/tranxuanthang/lrcget

fs0c13ty00 commented on Tauri 2.0 tries to make mobile apps crossplatform   beta.tauri.app/guides/... · Posted by u/nancyp
the__alchemist · 2 years ago
If you are looking for a non-web-based cross-platform GUI in rust, check out EGUI. It has an easy-to-use API, good docs, runs fast, and can integrate with 3d graphics, maps etc.

> By being built on Rust, Tauri is able to take advantage of the memory, thread, and type-safety offered by Rust. Apps built on Tauri can automatically get those benefits even without needing to be developed by Rust experts.

How much of this is mitigated by being web-API-based?

fs0c13ty00 · 2 years ago
At least it is a mile better than the abomination named Electron.

Each Electron app has both Chromium and NodeJS bundled. Tauri only use platform-specific webviews, and Rust is a compiled language with no GC and no runtime.

u/fs0c13ty00

KarmaCake day76October 4, 2023View Original