HNHacker News
TopNewBestAskShowJobs

sbt567

2,323 karma · joined December 14, 2019

submissionscomments
sbt567··on Functional programmers need to take a look at Zig
I've been recently trying to port my simple program to Mojo to find out how the language looks like and feel. And the comptime feature (which inspired by Zig I think) is absolute joy to use. It helps a lot that the syntax looks like Python also. Excited to see how the language will become in the future particularly for its memory safety paradigm.
sbt567··on The buns in McDonald's Japan's burger photos are all slightly askew
Oh, that is absolutely how all of mobile game ads now are designed. It will deliberately fail a very simple task to poke our desires of "Huh, I can do better than that"
sbt567··on Pi for Excel: AI sidebar add-in for Excel
Neat! Anything like this but for MS Word?
sbt567··on Windows Notepad App Remote Code Execution Vulnerability
One day I'm trying a modified Windows (bloat stripped) from team-os. And the difference is night and day. My old laptop finally can run Windows 10!

I wonder though if there are more open and trusted modified Windows being developed out there because trying random modified Windows in team-os is not getting me some confidence

sbt567··on Lessons learned shipping 500 units of my first hardware product
After watching the dubai lamp videos on YouTube, I wonder how many hours this lamp will last
sbt567··on Embassy: Modern embedded framework, using Rust and async
His videos are gold! I'm really impressed
sbt567··on Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
Recently I've found Cromite and sure glad I did! Finally I've found my Kiwi browser replacement. It is also feels faster than both Firefox and Brave on Android (though YMMV).
sbt567··on Uv is the best thing to happen to the Python ecosystem in a decade
Many people use PyO3 for that
sbt567··on We rewrote the Ghostty GTK application
I vaguely remember that there is a new language that promises "Safety across FFI boundary", but can't recall the name
sbt567··on Why I'm Leaving NixOS After a Year?
I'm just starting my second attempt at using NixOS last week because suddenly, my SSD failed and I have limited amount of time to configure my second laptop to get to work. This time I don't think that installing Arch will be the best choice to get to the last state of my laptop as fast as possible (I'm using dotfiles management, but not all things can be automated). And I'm ready to try NixOS again.

The only thing that makes me confident this time, is that I can use LLM to help me. There is absolutely no way I could try Nix again without using LLM. The first attempt at using it just makes me anxious because of docs alone.

And what makes me stick using it? Nix-ld. I think embracing impureness and doing things incrementally will help alleviate the vertical learning curve that is Nix.

After all of this learning curve? I finally can see the rainbow that I can only dreamed of in the past.

sbt567··on Show HN: OpenRouter-SDK – A Type-Safe Rust Client for OpenRouter AI APIs
Awesome! Thanks for making this!
sbt567··on # [derive(Clone)] Is Broken
from Niko's post:

> In the past, we were blocked for technical reasons from expanding implied bounds and supporting perfect derive, but I believe we have resolved those issues. So now we have to think a bit about semver and decide how much explicit we want to be.

sbt567··on Peer-to-peer file transfers in the browser
https://github.com/n0-computer/sendme
sbt567··on Kanata: Cross-platform multi-layer keyboard remapper with advanced customization
I've remapped my capslock to 'tap-dance' between esc (short press) and ctrl (long press) using kanata. And, like any other people here, it's indispensable tool in my workflow right now.

Also recently, I've remapped my siblings laptop meta and rctrl key to lalt and meta respectively because the original alt key got damaged. Thanks jtroo for creating this you rocks!

sbt567··on Keymapper: A cross-platform context-aware key remapper
Any comparison with https://github.com/jtroo/kanata ?
sbt567··on Siyuan: Privacy-first, self-hosted personal knowledge management software
After forcing myself to learn and adapt to some note-taking system, I too didn't find it useful for me yet. But i keep pushing myself through because I still believe that there must be some value that I could take from taking notes. Just I didn't find a system that suits me well...? One thing that i find the real benefit/value from all this learn and adapt is "writing as a way to think" (is it by feynmann?). When doing complicated work, writing really help to ease your cognitive load and help you find the gaps in your line of thought. But, I couldn't find a suitable method when dealing with general/every day note-taking. I still have that "graveyard for thought" problem when writing general notes
sbt567··on Show HN: Rust Web Framework
Rspack maybe? It's compatible with webpack AFAIK
sbt567··on Can't trust any VPN these days
Nice writeup.

I'm wondering though. If the block is on DNS level, isn't it easier and cheaper to use dns-over-https or dot instead?

sbt567··on Up to date Rust bindings for LMDB
Or https://lib.rs/crates/fjall
sbt567··on Rnote – Sketch and take handwritten notes
This piece of software is so good and fast even I'm using it for presenting my work at dayjob
sbt567··on Mimalloc Cigarette: Losing one week of my life catching a memory leak (Rust)
> Rust programmers

*system

sbt567··on Show HN: Rust GUI Library via Flutter
Well done! I've heard only good things about rust_flutter_bridge. Some questions though (more like flutter question), how bloated flutter is (i.e. final app size) compared to mobile native (Java, Swift?) for simple app? And how's the UI performance looks like?
sbt567··on I Created 175 Fonts Using Rust
Amazing read! Thanks for sharing. Also, the font looks very nice. It's sad I don't have any use case for this* :)

*wondering if I could use some of this for programming!

sbt567··on Debugging a rustc segfault on Illumos
Amazing read! This article beautifully guides you through each step and make sure you did get enough context for the next step. Bookmarking this!
sbt567··on Rust for game engine programming in 2024?
Yep. Try to read the article and see if it resonates with you OP. Despite that though, there still many people that is interested in writing game (or engine) in Rust. The upcoming release of Tiny Glade[0] is maybe one of the most anticipated game in Rust game space (using Bevy ECS behind the scene). On the Bevy end, there is also a plan to integrate a scripting language so you could do the game logic on it instead.

[0]: https://store.steampowered.com/app/2198150/Tiny_Glade/

sbt567··on LosslessCut: The Swiss army knife of lossless video/audio editing
I wonder if its possible to losslessly download & cut video from remote server. Currently i'm using a bash script with ffmpeg i've got from stackoverflow to download a small portion of video from the likes of YouTube. But currently, it has to re-encode the video on the fly while downloading. For now, I assume it's impossible to losslessly download & cut this kind of video because we don't have the information about the video locally (keyframes, etc). But I like to be proven wrong!
sbt567··on How to generate realistic people in Stable Diffusion
As someone out of the loop, why?
sbt567··on Can you pump water without any electricity?
I remember when seeing it for the first time and like... whoa you could do that? It still amazes me how much things I don't know exist
sbt567··on Show HN: CandleEmbed – A crate for generating text embeddings from HF models
Neat! When you say that "CPU is very slow", do you mean that using the CPU is (and always will be) slower than using the GPU, or that you could still optimize it further?
sbt567··on Apache Guacamole: a clientless remote desktop gateway
There's https://rustdesk.com
Page 1 of 3Next →