HNHacker News
TopNewBestAskShowJobs

CoolCold

581 karma · joined February 26, 2022

submissionscomments
CoolCold··on The Windows Subsystem for Linux is now open source
I'm genially intrigued, how to achieve this, assuming you are on standard Windows Defender setup, not some 3 AV/DLP tools working at the same time on system.

My setup/config has NOTHING special usually - got laptop(s), start bundled Windows (10/11) Pro, run "reset this PC" to ensure fresh like install, use for several years. No magical steps involved or whatever "bloatware cleanup" people do.

CoolCold··on Fast, Simple and Open Firebase Alternative: TrailBase
sounds like a nice side project for myself / something new (wth is that hype on Firebase and alternatives?) to look into on weekend like create per-user (likely with some limit of total 10 or so instance) demo env - average sysadmin like me should be able to handle it.

If i'll do something, will let you know if you wish

CoolCold··on Claude Code does our releases now
I'm with you here and likely the next step would be yelling to to Cloud - basically the same and as we see how widespread Clouds are
CoolCold··on The Windows Subsystem for Linux is now open source
I'm using WSL since about 2017 on insider builds and wsl1 for occasional cases and WSL2 as as daily driver for, 5 years, so nice for me and no need in Linux on desktop.
CoolCold··on The Windows Subsystem for Linux is now open source
Nope, WSL is for operator machines desktops/laptops, pure Linux for servers.
CoolCold··on The Windows Subsystem for Linux is now open source
may be you missed the point - in WSL, you are with Linux/unix based env. So your Vim or other editors and tools just work like in regular Linux, Windows part until needed can be invisible and uninvolved.

Other tools like VSCode IDE, has special handling (extension) to work _inside_ WSL and only keep GUI frontend on the Windows side (very close to how it works over SSH).

On the other hand, I quite often use "explorer.exe ." inside WSL to open File Explorer and jiggle around with files downloaded/created/modified (say with sed) in WSL and it works fine too.

Or use MarkText markdown editor on folder inside WSL being some git repo and I'm adding docs/instructions there.

CoolCold··on The Windows Subsystem for Linux is now open source
I've stopped seeing joys of recompiling kernel [and consequence reboots of servers which easily could take 10 minutes and that's without IPMI /KVM] since 2009-2010
CoolCold··on The Windows Subsystem for Linux is now open source
I've tried WSLg for couple of times and all I run was something like xclock to ensure it works. I literally have 0 interest in running GUI Linux apps, so for me it all smooth sailing.
CoolCold··on The Windows Subsystem for Linux is now open source
That can't be helped. I go for a smoke and when come back system is already upgraded.

I've not being using Debian setups lately, but on Ubuntu, alert on need-to-reboot packages after daily unattended upgrades run is happening almost every month. I'm kinda sure that Debian is on similar schedule here.

CoolCold··on The Windows Subsystem for Linux is now open source
I'm talking about more regular situation when you deal with new hardware- why on earth I'd go with outdated and limiting me T480 when T16gen4 is around the corner. Or ARM based laptops.
CoolCold··on The Windows Subsystem for Linux is now open source
I meant overhead you need to spend in RAM to run WSL2
CoolCold··on The Windows Subsystem for Linux is now open source
First opening of my main wsl2 Ubuntu 22.04 instance takes roughly 20 seconds, the next new terminals opens in ~1s. As it happens once a 3 weeks or so when Windows rebooted for updates, I don't care much.

It takes me more time to fill passwords for ssh keys to agent anyways.

Granted, I'm not using native docker inside.

CoolCold··on The Windows Subsystem for Linux is now open source
I'm also not sure on your question, over the last 5 years, average interruption time is ~ 5 minutes to apply update, which happens roughly once a 3 weeks or so. Once or twice per year, release updates happen and that takes may be 30 minutes of interruption (not totally sure here as I usually grab my coffee and cigarrets and go reading news on balcony, which may easily take ~1h for me).

So for me, updates practically doesn't affect my workflow at all.

CoolCold··on The Windows Subsystem for Linux is now open source
never had problems of systemd/2 minutes delays

not sure what would be the correct test here, but:

root@LP-T16:~# uname -rn

LP-T16 5.15.167.4-microsoft-standard-WSL2

root@LP-T16:~# time systemctl restart ssh

real 0m0.039s

user 0m0.008s

sys 0m0.001s

CoolCold··on The Windows Subsystem for Linux is now open source
for me,

> is it better to run Linux in Windows now? Genuinely asking.

definitely is. Servicing takes ~ 1 minute per month to click on "yeah, let's apply those updates and reboot". Peace of mind with no worrying on external hardware won't work or monitor will have issues or laptop won't sleep or during the call battery will discharge faster due to lack of hardware acceleration or noise cancellation not working or ...

CoolCold··on The Windows Subsystem for Linux is now open source
> I can imagine that WSL2 looks attractive if all you want to do is run command line apps in multiple isolated environments, but it is miserable for anything graphical or interactive.

Indeed, that's my case - using CLI mostly for ssh/curls/ansible/vim over ansible and Puppet, so on.

For GUI part, Windows is chosen and shines for me.

CoolCold··on The Windows Subsystem for Linux is now open source
> nor the stop the world updates that take entirely too long

Interesting enough, that beyond release upgrades, happening may be once a year, all or may be 99% of updates took ~5 minutes of interruption of me, including needed reboot. I really wonder how others manage to have "entirely too long" updates.

CoolCold··on The Windows Subsystem for Linux is now open source
> Running a Linux VM on Windows is nicer than just booting into Linux

Indeed, it does. Having stable system and not dealing with Linux on Desktop, clear tradoffs (like "just add another 16gb RAM stick in laptop/desktop and you are golden") is great for peace of mind.

The average uptimes on my laptops (note for plural) is ~3 weeks, until next Windows Update to be applied. I don't have nostalgia on the days of using Linux on desktop (~2003 student times, ~2008 giving it one more try, ~2015 as required by dayjob)

Of course it adds up that I can tell people around me (who are not tech guys often, but smart enough to know basic concepts and be able to run bash scripts provided to them) - "yep, machine with 32GB+ of RAM will work fine, choose any you like" - and it works.

CoolCold··on Pyrefly: A new type checker and IDE experience for Python
IO bound, how you define that? From my perspective, modern consumer grade SSDs/NVMes producing 7GB/s-8GB/s (yep, Giga Byte per second) for reads gives me 1/7-1/8 of second to load that data in RAM the rest of the 1 second is for CPU.
CoolCold··on Craft Basic (Windows 95 and up)
> Supported Operating Systems:

> Win9X, Win2K, WinXP ,Win10, Win11

Gee, isn't it cool to have stable API/ABI?

CoolCold··on Material 3 Expressive
> some dev ... SSH keys get stolen ...actually has keys to prod

good joke, like someone gives devs access to prod at all. Let's make it even funnier - if devs are now ops and can manage infra..oh, wait..

CoolCold··on A kernel developer plays with Home Assistant
in recent podcast episode with the found of your company ( https://www.youtube.com/watch?v=8xkCykuJwKs , От стартапа до международного бизнеса: история VictoriaMetrics и её уроки | Александр Валялкин | #36) he explicitly described the path VictoriaMetrics has come and one of the early steps was trying to sell SaaS, while quite a lot of users/customers want to have on premise/own setup for such tooling.

So, answering your question: > My question is: is it really convenient to use only SaaS now

no, it's not

CoolCold··on Migrating to Postgres
> First, the support portal is a totally different website that doesn’t share auth with the main portal. Second, you have to re-input a lot of data they already know about you (cluster ID, etc). And by the time they respond it’s typically been a week.

I was about to ask what was main constraint for CockroachDB like iostats and atop info for CPU/disk drives, but realized that is probably something offloaded to some SaaS - so still curious

CoolCold··on Waiting for Postgres 18: Accelerating Disk Reads with Asynchronous I/O
Do you know, how well pgbouncer works with prepared statement nowadays? We slowly migrating our clusters to pg16/new bouncer and feel unsure on stability and reliability of prepared statements support
CoolCold··on Waiting for Postgres 18: Accelerating Disk Reads with Asynchronous I/O
My understanding is that local storage like NVMe is not much affected as latency is very low compared to network based block devices like ebs
CoolCold··on Replacing Kubernetes with systemd (2024)
6$/m - will likely bring you peace of mind - Netcup hosting VPS 1000 ARM G11

    6 vCore (ARM64)
    8 GB RAM
    256 GB NVMe
CoolCold··on Why Flatpak apps use so much disk space on Linux
You have savings from not using Windows in such a org - likely your Linux will be free or cheaper one
CoolCold··on Gemini 2.5 Flash
Error An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
CoolCold··on mIRC 7.81
Latest News

mIRC 7.81 has been released! (April 9th 2025)

Whoa!

CoolCold··on Our Best Customers Are Now Robots
> adds systemd units (robots understand systemd; it’s how they’re going to replace us).

Indeed, is it kind of joke which is not joke from Fly.io perspective? Humans who have learned CS for 5 years and can create JIT compilers cannot understand systemd?

On the other hand, I'm still in a shock after realizing that you can't expect Frontend dev guy will be able to clearly explain which CORS headers and values they do need - they just keep saying "CORS not working, fix infrastructure!" and not learning MDN by heart.

← PreviousPage 3 of 20Next →