HNHacker News
TopNewBestAskShowJobs

thangngoc89

1,369 karma · joined November 18, 2015

Email: hi [at] khoanguyen.me
submissionscomments
thangngoc89··on Uv, a fast Python package and project manager
But uv is written in Rust so it means there are considerably more efforts to fork it as compared to Python tools
thangngoc89··on Uv, a fast Python package and project manager
Pixi uses uv solver too but more focused on integrating with the conda packaging world
thangngoc89··on Firefox Is the Superior Browser
On iOS, all browsers (well except Safari) use Safari webview with customized browser GUI.
thangngoc89··on Show HN: Vince – A self hosted alternative to Google Analytics
I believe it's the same frontend code as Plausible. They replaced the backend with golang (instead of Nodejs)
thangngoc89··on Show HN: Vince – A self hosted alternative to Google Analytics
I found a link from github https://demo.vinceanalytics.com/v1/share/vinceanalytics.com?...
thangngoc89··on The myth that you can’t build interactive web apps except as single page app
Oh yeah. The immutable tag right? Total forgot about that
thangngoc89··on The myth that you can’t build interactive web apps except as single page app
Edit: below isn’t true. You could set immutable in cache header and the browser wouldn’t verify.

—— Original comment:

With browser cache, the browser stills need to send a HEAD request to see if the content was modified. These requests are noticeable when networks are spotty (train, weak mobile signals…)

Service Worker could cache the request and skip the head requests all together

thangngoc89··on How to Redirect a Cloudflare Domain to Another URL
So use Page rules to redirect. Free account has a limitation of 3 rules per domain
thangngoc89··on Red Hat to contribute container tech (Podman, bootc, ComposeFS...) to CNCF
Previous docker-compose was a separate program, written in Python if I remember correctly, people usually preferred to them as v1. Later docker incorporated it into the docker binary itself as a subcommand so that’s v2
thangngoc89··on Wild Ball
I believe R3F is generated name. Surge.sh generates names like this by default
thangngoc89··on Venvstacks: Virtual Environment Stacks for Python
It replaces pip and uses venv module under the hood if I understand correctly
thangngoc89··on Venvstacks: Virtual Environment Stacks for Python
I just take a look at the uv feature list and the feature I wanted most is Python version management. I'm using micromamba to install all interested Python versions (from 3.8 - 3.12) and set tell poetry about the python location.

But like you said, poetry is working so well so I'll wait a little bit longer before jumping the ship.

thangngoc89··on Venvstacks: Virtual Environment Stacks for Python
I’m using poetry because of the default lock file usage (there isn’t a global, mutable state, all changes required to update the lock file). I wish that this function could be incorporated to poetry directly
thangngoc89··on You-get: Dumb downloader that scrapes the web
What happens if you don’t know Python? Python is a relatively easy language to learn but no way I’m gonna learn Python just to report an issue
thangngoc89··on Typeset: An HTML pre-proces­sor for web ty­pog­ra­phy
The correct term would be non-responsive. I think if the second column be moved to the bottom, it would be hard to read on mobile.
thangngoc89··on Solving Sudoku in Python Packaging
This is the content of sudoku_0_0-1-py3-none-any.whl. So when the (0,0) cell is 1, none of the cells in the same row, column and subgrid should be 1.

    Requires-Dist: sudoku_0_1 != 1
    Requires-Dist: sudoku_0_2 != 1
    Requires-Dist: sudoku_0_3 != 1
    Requires-Dist: sudoku_0_4 != 1
    Requires-Dist: sudoku_0_5 != 1
    Requires-Dist: sudoku_0_6 != 1
    Requires-Dist: sudoku_0_7 != 1
    Requires-Dist: sudoku_0_8 != 1
    Requires-Dist: sudoku_1_0 != 1
    Requires-Dist: sudoku_2_0 != 1
    Requires-Dist: sudoku_3_0 != 1
    Requires-Dist: sudoku_4_0 != 1
    Requires-Dist: sudoku_5_0 != 1
    Requires-Dist: sudoku_6_0 != 1
    Requires-Dist: sudoku_7_0 != 1
    Requires-Dist: sudoku_8_0 != 1
    Requires-Dist: sudoku_0_1 != 1
    Requires-Dist: sudoku_0_2 != 1
    Requires-Dist: sudoku_1_0 != 1
    Requires-Dist: sudoku_1_1 != 1
    Requires-Dist: sudoku_1_2 != 1
    Requires-Dist: sudoku_2_0 != 1
    Requires-Dist: sudoku_2_1 != 1
    Requires-Dist: sudoku_2_2 != 1
thangngoc89··on Extinction of the Influenza B Yamagata line during the Covid pandemic (2022)
Need to add [2022] in the title.
thangngoc89··on Data Version Control
DVC support multiple remotes. S3 is one of them, there are also WebDAV, local FS, Google Drive, and a bunch of others. You could see the full list here [0]. Disclaimer: not affiliated with DVC in anyway, just a user.

[0] https://dvc.org/doc/user-guide/data-management/remote-storag...

thangngoc89··on Data Version Control
It's very much feasible. I'm currently using DVC for DICOM, the repo has growth to about 5TB of small dcm files (less than < 100KB each). We use a NFS mounted NAS for development but the DVC's cache needs to be on the NVMe, otherwise performance would be terrible.
thangngoc89··on Amazon reveals first color Kindle, new Kindle Scribe, and more
Unless it runs Android then you could download Kindle app from Play Store. Boox eReaders run on Android
thangngoc89··on Show HN: Makedown – A Markdown powered Makefile alternative
How is the cross-compilation of these 3 languages compared to Golang? I suggested Golang because it’s super easy, just set the correct GOARCH and you’re good to go.
thangngoc89··on Supercharge the One Person Framework with SQLite
Reading the title makes me think that I’m about to see an article about Pocketbase [0]. With the big refactoring in RC (v0.23.0), extending Pocketbase is going to be much better.

[0] https://pocketbase.io/

thangngoc89··on Show HN: Makedown – A Markdown powered Makefile alternative
> single binary

> Which language you would suggest?

Golang

thangngoc89··on TIL: iTerm2 has custom status bars
Tmux control mode was contributed by the iTerm2’s author and so far no other terminal has implemented this. Every time I see a new terminal emulator, I immediately check for this functionality.
thangngoc89··on I Self-Hosted Llama 3.2 with Coolify on My Home Server
You don't need to install CUDA toolkit on host system.

Nvidia driver + Nvidia container toolkit would do the job. You could check official instructions at [0]

[0] https://docs.nvidia.com/datacenter/cloud-native/container-to...

thangngoc89··on TIL: iTerm2 has custom status bars
iTerm2 is the only software that keeps me on macOS. The tmux control mode is godsend. I’m afraid of the day that Apple makes macOS so bad that I have to switch.
thangngoc89··on Ask HN: How do you license a deep learning model for commercial usage
It’s more suitable to be integrated into an existing hardware product than a SaaS.
thangngoc89··on Ask HN: How do you license a deep learning model for commercial usage
Hi. Thank you so much for sharing your experience. As I mentioned, I’m quite new to this, and your answer brought up some important questions I hadn’t considered. I believe it would be best to discuss these further with the clients.

Would it be alright if I reached out to you via email in the future if I have any additional questions? I noticed your email in your profile.

thangngoc89··on BorgBackup 2.0 supports Rclone – over 70 cloud providers in addition to SSH
Restic also offers encryption and compression. That’s the selling point for me when dealing with dozens of TB
thangngoc89··on FRED: New Zealand open-access and crowdsource database of fossil records
I made me check the source code. It's actually built with table layout, not just mimicking the vibe.
← PreviousPage 2 of 12Next →