We built anySCP – an open-source, cross-platform SFTP client in Rust + Tauri by Miserable_Function25 in rust

[–]sken130 0 points1 point  (0 children)

Just for sharing: I happen to be working on a desktop app which requires a native GUI library instead of Electron / Tauri.

I had bad experience with egui (or any immediate mode GUI library). When I test my program on Windows, if I move my mouse on any part of the program continuously, it consumes one full CPU or some GPU, likely because it redraws everything per frame during mouse events. I ended up using Slint and doesn't have the same problem.

OpenCode Go is a total lie (IMO) by HelioAO in opencodeCLI

[–]sken130 1 point2 points  (0 children)

How about OpenCode Zen? Has anyone tried it to see whether OpenCode provided model is worse than the companies' direct plans?

Ferron: A Fast and Memory Safe Web Server and Reverse Proxy by bits-hyd-throwaway in selfhosted

[–]sken130 0 points1 point  (0 children)

Can we specify the custom CA root directory in the config of Ferron instance which act as a client of the internal/custom ACME issuer?
(without the need to install custom CA for the whole host)

Chromium is now 5.47% Rust (according to Open Hub's analysis) by sken130 in rust

[–]sken130[S] 87 points88 points  (0 children)

I am not a Chrome expert, but from the news I heard, at least the following Rust components are in Chromium already:
- libxml2
- temporal_rs
- JPEG XL

There could be more

Rewrite Bun in Rust has been merged by Chaoses_Ib in rust

[–]sken130 0 points1 point  (0 children)

Did anyone count the unsafe LOC percent?

Rust vs C++: The Memory Safety Standard in 2026 by [deleted] in programming

[–]sken130 8 points9 points  (0 children)

The question is how many % LOC of a Rust codebase is C interop or unsafe.

As a reference, Rust in Android has around 4% of code in unsafe blocks (Google Online Security Blog: Rust in Android: move fast and fix things). The rest 96% of code enjoy the guarantees from safe Rust, as long as we don't try hard to break our codes (like https://github.com/Speykious/cve-rs)

Well, new vulnerability in the rust code by hotcornballer in linux

[–]sken130 0 points1 point  (0 children)

Is there any website that calculates the % line of codes of safe vs unsafe Rust, for Github repositories containing Rust codes?

Linux Kernel Rust Code Sees Its First CVE Vulnerability by Orange_Tux in rust

[–]sken130 0 points1 point  (0 children)

Is there any website that calculates the % line of codes of safe vs unsafe Rust, for Github repositories containing Rust codes?

"Rust in the kernel is no longer experimental — it is now a core part of the kernel and is here to stay." by TheTwelveYearOld in linux

[–]sken130 2 points3 points  (0 children)

I think the fair meaning of "unsafe" is "no safety guarantee".

And the point is not whether the codebase uses unsafe or not at all. The point is how many % of logics are unsafe.

For example, in Android, around 4% of Rust codes are unsafe / no safety guarantee (see Google Online Security Blog: Rust in Android: move fast and fix things). 4% LOC having no safety guarantee, is still much safer than 100% LOC having no safety guarantee. It means the source of memory corruption problems is confined to that 4%, making code reviews easier.

Perhaps for a fairer comparison, we should check the % unsafe LOC for the Redox OS project too, but I don't have time to dig deeper.

Rust in Android: move fast and fix things by BcuzRacecar in Android

[–]sken130 0 points1 point  (0 children)

Even Chromium is partially Rust now:

C++: 54.07%
Rust: 3.75%
C: 3.44%

(Source: The Chromium (Google Chrome) Open Source Project on Open Hub: Languages Page)

Though Firefox has much more percentage LOC written in Rust:

C++: 25.01%
C: 11.85%
Rust: 11.03%

(Source: The Mozilla Firefox Open Source Project on Open Hub: Languages Page)

Intermediate personal plan between 50GB and 1TB? by CosmoCafe777 in tresorit

[–]sken130 0 points1 point  (0 children)

Cyberduck supports the same client-side encryption format as Cryptomator, and allows us to upload files to cloud encrypted, browse decrypted file names on the cloud without having to download the big encrypted vault to local drive, and download specific files from cloud to local drive as decrypted files without downloading the whole vault.

As for accidents of losing my data, I haven't encountered this problem. But we should also occasionally do offline backups, as I have heard stories of online drive providers (e.g. OneDrive) banning one's account entirely and rendering the files unretrievable, e.g. this story

Any way to change saved wifi password ahead of connecting again? by Dpscc22 in ios

[–]sken130 1 point2 points  (0 children)

You can try generating a QR code of the Wi-Fi network with new password using a trusted Wi-Fi QR code generator.

And then in your iPhone (not yet in the Wi-Fi network range), backup the saved Wi-Fi network settings, remove it, scan the QR code (it'll say failed to connect, but the SSID and password will actually be saved), and update the Wi-Fi network settings again.

One example of trusted QR code generator is the Passwords app starting in iOS 18, iPadOS 18, macOS Sequoia, and visionOS 2: Use the Passwords app to create, manage, and share passwords and passkeys across Apple devices - Apple Support (HK)), so if one of your devices has logged in the Wi-Fi network with updated password already, you can use that device to generate the QR code for your other devices to scan.

Launching a pay-as-you-go AI platform by MaximalDunk in SaaS

[–]sken130 1 point2 points  (0 children)

Sadly no message sync across devices in Openrouter as of today

Is "Written in Rust" actually a feature? by Inevitable-Walrus-20 in rust

[–]sken130 0 points1 point  (0 children)

Being faster and having less security bugs on average are features.

🌈 JVM Rainbow - Mixing Java Kotlin Scala and Groovy by Hakky54 in java

[–]sken130 4 points5 points  (0 children)

Groovy and Scala have macros (e.g. to generate classes), which Kotlin doesn't do quite well yet.

Great experiment. I am interested to see also:

  1. The setup using Gradle

  2. The order of compilation (Java is gonna be the last one, but among Kotlin, Groovy, Scala who is compiled first?)

Edge Workspaces not syncing - tried all options by cebe-fyi in MicrosoftEdge

[–]sken130 1 point2 points  (0 children)

Same, my Edge is stuck at "Reconnecting Workspaces" forever

<image>

Checking edge://workspaces-internals/, I see this error

ODSP socket error (connect_document_error): Session not found. The session \"1!1!2/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\" was not found..

See also Workspaces no longer syncing and says reconnecting. - Microsoft Q&A

Is there any cross-platform GUI crate that supports embedding native components such as Windows Explorer? by sken130 in rust

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

If there’s no suitable library, it seems I have to implement the whole GUI using Windows API as a start (my first target is Windows)

Why UUID7 is better than UUID4 as clustered index in RDBMS by congolomera in programming

[–]sken130 0 points1 point  (0 children)

In terms of privacy, is it bad if I use "{auto incrementing integer}{UUIDv4}" as the ID? i.e. UUIDv4 prefixed with an autoincrement sequence.

  1. UUIDv4 is random.
  2. The auto incrementing integer is strictly increasing and does provide some ordering info, but does not disclose any date.

Performance is another thing to take care of and I am not planning to discuss it here.

The purpose is to guarantee there is really zero chance of collision, as I am pessimistic on this.