Live data from Hacker News

A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

blog.jreypo.io

81–90 of 123 posts

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#81

Earlier quoted context omitted.

Unless you go out out of your way to disable code signing using the terminal & a root account, macOS will only run code signed by an Apple issued certificate [1]. It will also phone home [2] every time a binary is ran for the first time. [1] https://en.wikipedia.org/wiki/Gatekeeper_(macOS) [2] https://apple.stackexchange.com/a/391399

Doesn’t Apple provide a system preference option to disable gatekeeper completely (set to running signed applications by default, and it also allows you to limit apps to App Store only).

The system preference option is no longer visible in recent releases of macOS – it can only be enabled via the terminal.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#82
post #69

Earlier quoted context omitted.

Unless you go out out of your way to disable code signing using the terminal & a root account, macOS will only run code signed by an Apple issued certificate [1]. It will also phone home [2] every time a binary is ran for the first time. [1] https://en.wikipedia.org/wiki/Gatekeeper_(macOS) [2] https://apple.stackexchange.com/a/391399

I had an overnight update install itself on my sole Windows machine the other night. When it rebooted it refused to let me use my own computer until I obtained direct permission from Microsoft giving them my email address. Once I was past that lock it told me "the computer is all yours now" as if it hadn't been earlier. Does Apple completely deny your use of your own hardware like this until you submit? Asking becaus…

1. You can disable auto updates

2. I've never entered an email for using Windows 10, they do try to hide it but you can set up an offline account.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#83
post #10

Earlier quoted context omitted.

I understand a lot of the benefits of ZFS and Powershell. But whats wrong with NTFS? Can you talk a little about the relative strengths of NTFS vs EXT4?

NTFS is a more sophisticated files filesystem but it has a worse performance under certain workloads, specifically the workload underneath `yarn install`

Also Docker and installing applications that have lots of small files.

In general NTFS doesn’t do well with lots of small files because opening files is expensive compared to ext4 (dramatic oversimplification). This shows up in random places where very little actual file reading/writing is happening for each file, like yarn, docker, installing video games, etc.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#84
post #79
post #46

Earlier quoted context omitted.

That's unfortunately their loss in my opinion. Windows has a pretty awesome development story, far better than Apple's authoritarian hold on what software can be run and distributed for that platform. Moreover, gaming is great on Windows, and always has been, and WSL2 is extremely slick.

+1 During the past three years I went from being my workplace's Windows hater to ditching Linux in my personal machines in favor of Win + WSL2.

Why did you ditch Linux for WSL2?

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#85

Earlier quoted context omitted.

Right, but Windows drivers are (all?) out of tree and have been for decades; they'll never get every vendor to change that.

And this story that windows drivers work forever is a rosy tinted view of the world. Many drivers (my ltc scanner) stopped working working from win9x to xp. I saw an USB projector driver break when a system was updated from win 7 to 8. The same device worked as a fb device out of the box on my rockpi4. And windows drivers are platfrom dependent, the same driver will nit work on 32/64 systems or arm/x86. Linux is enti…

I recently installed XP drivers on a Windows 10 system. Worked flawlessly, even though officially this wasn't supported. 9x to XP/Vista is the last breaking change we've seen and that was over 15 years ago. It's quite impressive actually.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#86
post #12

Earlier quoted context omitted.

Certainly not for me. Registry was one of the worst parts of the Windows experience for me; but I understand it can be subjective. With separate files, the ability to download and replace them individually is a big win. Also, I can use terminal tools on them which is great for automation.

Editing the registry never results in corrupt unreadable intermediate states, unlike writing to config files. A workaround is "atomic save" (where one app writes to a different filename and renames it over the original). This ensures you'll never get torn reads (I think the Windows registry doesn't support transactional/atomic updates of multiple values at once), but you lose permissions and symlinks or something lik…

Have you never experienced an unbootable system because of a corrupted registry? It's unfixable. And I'm not saying it happens when manually editing the registry. It might happen when Windows crashes at the wrong time and the system is in the middle of modifying it. It's quite failure-prone and I'm surprised it hasn't been improved much over the past decades.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#87
post #46

Earlier quoted context omitted.

Meanwhile no one at Apple is using windows unless they have to for very specific software.

That's unfortunately their loss in my opinion. Windows has a pretty awesome development story, far better than Apple's authoritarian hold on what software can be run and distributed for that platform. Moreover, gaming is great on Windows, and always has been, and WSL2 is extremely slick.

WSL2 is slick, but the process of getting on Windows Insider Program and updating Windows to the right version is quite clunky.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#88
post #12

Earlier quoted context omitted.

I love the idea of windows registry though, I hope it stays. With linux, i have to to poke around the file system or google "package X config location" and many programs have their own idiosyncratic rules around which config paths take precedence over others. Windows registry as implemented is not the best, but the idea of something like a central sqlite db for config is great.

Certainly not for me. Registry was one of the worst parts of the Windows experience for me; but I understand it can be subjective. With separate files, the ability to download and replace them individually is a big win. Also, I can use terminal tools on them which is great for automation.

You can use terminal tools on the registry fwiw. Powershell provides a native PSProvider that exposes the registry like a file system so you can cd into it and make changes.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#89
post #65

Earlier quoted context omitted.

You can literally just right click and press 'open'. Might not be obvious to the layman, but you don't need to do a whole code signing bypass song and dance.

Big Sur has made this intentionally more tedious [1]. You apparently have to right click, click open, close the dialogue and then open it again in order to actually get the option to approve the application. [1] https://disable-gatekeeper.github.io/

I'd say this is a good thing.

If you can't even figure out how to bypass it, then you probably shouldn't.

Re: A Look into CBL-Mariner, Microsoft’s Internal Linux Distribution

#90
post #53

Earlier quoted context omitted.

I've never understood the criticism of the registry. The only times I've ever had an issue with it were when there were RAM or disk problems with the computer. On Windows there's nothing at all stopping developers of standard Windows applications from implementing their own config files and many do.

1. Most of the programs put things all over the place. If you install software and use it for a while, you may find lots of keys in lots of places, all subtly affecting something. It’s technically the fault of the program, not the registry. But culture and ecosystems matter, and by-and-large, Config in files is usually much more concentrated. 2. Related to (1), it is very hard to just move settings from one machine t…

For your first point, that's often the result of using third party libraries via COM. That COM library is its own thing and it wouldn't make a lot of sense to put all of its settings under your app. Plus, some parts of the registry (thinking of CLSID) are basically directories where the system looks when a program says "give me an instance of ThirdParty.Grid".
Post reply on HN