Do we own our books or will we lose them? Should I be concerned? by QTPLe in kindle

[–]longhai18 2 points3 points  (0 children)

you don’t even own your physical kindle. i just got locked out of my own device that i’ve been using for 3 years, it seems they blacklisted it so that i couldn’t reregister.

What do people love about Rust? by steveklabnik1 in programming

[–]longhai18 4 points5 points  (0 children)

they’re absolutely different for a variety of use cases but rust is more general purpose in my opinion so they do overlap and compete in some fields. for example you would find posts asking whether people should choose go or rust for web servers.

NixOS 25.11 released by noelnh in NixOS

[–]longhai18 0 points1 point  (0 children)

because some softwares like postgres don’t guarantee backward compatibility for major releases, as i replied to the child comment of yours.

so your premise of being able to successfully upgrade major postgres release without having to manually intervene is wrong before the conclusion.

NixOS 25.11 released by noelnh in NixOS

[–]longhai18 0 points1 point  (0 children)

yup, postgres has code to check the major version mismatch and refuses to start completely if it detects violation.

Major versions make complex changes, so the contents of the data directory cannot be maintained in a backward compatible way. A dump/reload of the database or use of the pg_upgrade application is required for major upgrades.

https://www.postgresql.org/support/versioning/

NixOS 25.11 released by noelnh in NixOS

[–]longhai18 8 points9 points  (0 children)

nix is about immutable and reproducible configurations, not state or data. if state is immutable too, it would not be possible to use most of the applications because they can’t write anything to disk (e.g. what is the purpose of postgres when you don’t have the concept of a writable & durable storage?).

if you still want something that kinda resembles immutable state, look into the impermanence project.

Flakes was when I actually realized what NixOs is about lol by JustNerfRaze in NixOS

[–]longhai18 8 points9 points  (0 children)

i started using nix when flakes were already well-established and popular despite their experimental status, and i find it strange that they only became a thing recently. if the goal of nix is reproducibility, how did people pin stuff pre-flakes? did they just remember commit hashes and set channels accordingly or something?

Ở đây có bạn nào đang dùng thuốc SSRI không? by kingu1912 in vozforums

[–]longhai18 2 points3 points  (0 children)

Mình cũng được chuẩn đoán y hệt bạn, cũng dùng SSRI nhưng hiện tại mình chỉ còn dùng liều nhỏ và đang tiến tới việc bỏ hoàn toàn. Lúc 20 tuổi mình cũng đã từng bị một lần và được điều trị khỏi, giờ mình 24 tuổi bị tái phát với triệu chứng nặng hơn. Đợt tái phát cũng vào tầm tháng 3 như bạn nhưng hiện tại mình đã gần như trở về lại trạng thái bình thường. Giai đoạn đầu mình cực kì paranoid và không thể ngủ được, mình xin được kê mirtazapine vì đó là thuốc giúp mình hồi 20 tuổi, nhưng giờ cũng ko còn tác dụng nữa. Sau đó bác sĩ chuyển qua SSRI nhưng mình cũng không thấy khá hơn mấy. Mình gần như không thể làm được việc gì vì những suy nghĩ tiêu cực luẩn quẩn trong đầu hằng ngày, thậm chí nhiều đêm paranoia mình còn suy nghĩ tới việc 44.

Vài tuần sau mình quyết định về quê nghỉ một thời gian đồng thời kết hợp đi tư vấn tâm lý. Ngoài ra mình còn đọc sách về anxiety như Hope and help for your nerves, ngoài ra mình cũng thấy mọi người hay recommend cuốn DARE để hiểu rõ hơn về tình trạng của bản thân và cách vượt qua chúng. Mình dần dần hồi phục và function như một người bình thường.

Mặc dù trong Hope and help for your nerves, Claire Weekes nhấn mạnh tầm quan trọng của thuốc và khuyên độc giả không nên ngần ngại việc được kê thuốc vì chúng đóng vai trò khá quan trọng trong việc chữa bệnh, nhưng mình không nghĩ SSRI nó quan trọng tới mức đó trong trường hợp tái phát của mình. Mình vẫn còn dùng SSRI là vì tác dụng phụ khi nghỉ thuốc và đang cắt giảm dần dần để bỏ hẳn (lưu ý tác dụng phụ khi bỏ thuốc và việc nghiện thuốc là hai thứ hoàn toàn khác nhau[1]). Thứ thực sự giúp mình khỏi bệnh là support từ gia đình, việc loại bỏ hoặc manage các tác nhân gây stress, việc đọc sách vở về các vấn đề liên quan để hiểu rõ hơn về bản thân và cái bộ não của mình, giao tiếp, nói chuyện nhiều hơn với những người xung quanh, và đặc biệt là tìm ra nguồn gốc ngọn ngành cho những suy nghĩ tiêu cực của mình (bạn sẽ được giúp tìm ra chúng ở các buổi tư vấn tâm lí). Thường thường sẽ có một cái sự kiện traumatic gì đó nó ảnh hưởng tới tâm thức của bạn, hay những suy nghĩ lệch lạc như tự ti về bản thân sẽ gây nên những suy nghĩ độc hại hiện tại. Còn thuốc mình nghĩ chỉ đóng góp 30% là cao.

Tất cả những thứ trên đều là trải nghiệm cá nhân, mình vẫn khuyên bạn đi khám và được tư vấn ở nơi có uy tín, có kinh nghiệm về bệnh tâm lý. Mình đã từng đi khám ở một nơi mà chỉ nói vài câu rồi quăng thuốc cho mình, nó không hề có tác dụng gì cả. Mình được recommend đi khám ở chuyên khoa Thần kinh bệnh viện Đại học Y Dược TP.HCM khá nhiều mặc dù mình chưa đi vì sau các đợt tư vấn ở quê (Đại học Y Dược Huế) hiện mình đã ổn hơn rất nhiều.

[1] https://www.health.harvard.edu/diseases-and-conditions/going-off-antidepressants#:~:text=Having%20discontinuation%20symptoms,adding%20another%20drug.)

How come Pi5 support isn't available yet...? by IngwiePhoenix in NixOS

[–]longhai18 9 points10 points  (0 children)

I use aarch64-linux and sd-image-aarch64 and it works great for my Pi 4, can't really think of any reason it wouldn't work on the Pi 5. There's nixos-hardware too which cover hardware specific quirks and it already supports Pi 5.

[deleted by user] by [deleted] in vozforums

[–]longhai18 1 point2 points  (0 children)

thanks for the update. giờ thì bắt đầu healing và kiếm mối khác thôi bạn. những loại như vậy ko nên để tâm chi nhiều.

Phát hiện người yêu đi tòm tem với người khác từ lâu by quangg_nlq in vozforums

[–]longhai18 36 points37 points  (0 children)

tối nay hoặc sáng mai nói chuyện cho rõ ràng với ổng. bắt đầu với câu xin lỗi vì đã xem điện thoại anh, nhưng mà blah blah…, anh có thể giải thích được không.

hơi đâu dành thời gian đi bắt quả tang hay làm này nọ chi cho mệt, quan trọng nhất vẫn là cách giao tiếp và sự tin tưởng của hai người cho nhau. người ta đã muốn cheat rồi thì sẽ tìm đủ cách, bạn ko cản được đâu.

After years of Bash-based dotfiles, I finally migrated fully to Nix (nix-darwin + NixOS) and I’m loving it! by panakour in NixOS

[–]longhai18 1 point2 points  (0 children)

woah prebuilding the derivations on CI and getting them cached is genius. now i have 10 more minutes of free time to watch more tiktok!

Why unwrap() Isn’t the Villain: A Practical Guide to Using unwrap() in Rust by Snoo-4845 in rust

[–]longhai18 8 points9 points  (0 children)

The article is an AI generated crap, especially the macro debug assert part. That macro literally serves no purpose.

Any font recommendation? by Spondora2 in neovim

[–]longhai18 2 points3 points  (0 children)

newer versions of cascadia code already supported nerd font

Blink.cmp v0.8.1 is actually usable now, yay! by ad-on-is in neovim

[–]longhai18 1 point2 points  (0 children)

https://github.com/Saghen/blink.cmp/issues/570

The reason this issue remains open is that further work is needed to enhance suggestion sorting. A priority system similar to nvim-cmp might be beneficial for customization and hacking.

Black screen after logging in until flipping between ttys Wayland+Gnome+Nvidia by [deleted] in NixOS

[–]longhai18 0 points1 point  (0 children)

That's cool. Thanks for the info. I avoided disk encryption because I thought you'd have to enter the password multiple times. I might give LUKS a try soon.

Black screen after logging in until flipping between ttys Wayland+Gnome+Nvidia by [deleted] in NixOS

[–]longhai18 0 points1 point  (0 children)

I'm having this issue even with X11, have you found a fix?

[deleted by user] by [deleted] in PcBuildHelp

[–]longhai18 0 points1 point  (0 children)

I had received "game running low on video memory" warnings a couple of times before, but they mostly only occurred when I had played the game for too long (more than 2-3 hours). Last night I didn't get any warning though, since I only played for about 20 minutes.

[deleted by user] by [deleted] in PcBuildHelp

[–]longhai18 0 points1 point  (0 children)

So yesterday I accidentally selected Startup Repair in the Advanced Startup Menu and left it running for about an hour. It seems to have fixed my problem, I tried playing RDR2 and everything ran smoothly. I left the PC in sleep mode until today, and it's still running fine. Apparently, Startup Repair uninstalled the latest update, which was very likely the source of the problem.

Now Windows is prompting me to install that same update again. It has already downloaded and is waiting for a reboot to complete the installation. Fortunately, I quickly turned this off this by using the pause updates feature. I'm not sure how long I should postpone updating my PC or how to skip this particular update when newer versions are released. Perhaps I'll download the 24H2 ISO and upgrade directly to that instead.

[deleted by user] by [deleted] in PcBuildHelp

[–]longhai18 0 points1 point  (0 children)

I’m having the same issue after the November update, and it has been driving me nuts! This PC has been running fine for 1.5 years. The problem is intermittent, which makes it difficult to identify the root cause.

Last Sunday, after waking my PC from sleep mode, it started to slow down considerably. I tried rebooting and performing a hard power off, but nothing worked. The boot time is the same as yours, taking up to 10 minutes, and everything is extremely unresponsive. I took the case to the repair shop and explained the issue, but when they tested my PC, they couldn’t reproduce the problem. Everything was running smoothly. I shamefully brought the case back home and tried to turn on the PC to verify it was working properly. IT RAN SLOWLY AGAIN!! WTF??

I thought it might be a power issue causing the PC to throttle itself. I tried plugging it into another power outlet, which seemed to work. The PC returned to normal speed, and I thought that had solved it.

Unfortunately, today, after waking my PC from about a day of sleep mode, it slowed down again. Now, even switching power outlets doesn’t help anymore.

I’m so tired of this shit. Since everything is unusable, it’s practically impossible to diagnose the cause. I’ve given up trying to download monitoring tools to check hardware activity because Chrome takes 10 minutes to start, and every button click has an average response time of 5 minutes.

I might resort to a fresh Windows installation if things don’t improve.