Earlier quoted context omitted.
Nix isn't designed as an application. It's designed as a system package manager.
It's also an application, it just happens to manage other applications
MacOS Catalina: Slow by Design?
451–460 of 1001 posts
Re: MacOS Catalina: Slow by Design?
#452Earlier quoted context omitted.
> Brew never had this problem because they chose a sane path without corrupting the system directory. Ha, no. They did the absolute worst thing they could have done and now that they are popular they think they "own" /usr/local. (They used to camp out in /usr, but Apple rightfully put a stop to that real quick when SIP came out.)
This is why, of the two, I prefer Macports.
Re: MacOS Catalina: Slow by Design?
#453The funny thing is its not transitive. No slowdown if you invoke bash specifically with a new shell. % rm /tmp/test.sh ; echo $'#!/bin/sh\necho Hello' > /tmp/test.sh && chmod a+x /tmp/test.sh % time bash /tmp/test.sh && time bash /tmp/test.sh Hello bash /tmp/test.sh 0.00s user 0.00s system 83% cpu 0.004 total Hello bash /tmp/test.sh 0.00s user 0.00s system 77% cpu 0.003 total vs the one from the article: % rm /tmp/te…
Re: MacOS Catalina: Slow by Design?
#454I am using Ubuntu 20.04 on a Thinkpad X1 Extreme Gen2 and you would be surprised how "normal" it feels as a development machine. Sure there some little annoyances, the touchpad behaves a little worse than on windows, sound is a little worse. But the most important things, Keyboard and Screen are excellent. The system in general does not feel like the horror stories that people keep telling about linux on desktop(note…
Isn't Ubuntu much worse than this with the push for Snap packages? It can take 10-30 seconds to open software installed through it.
Re: MacOS Catalina: Slow by Design?
#455As someone living in China, this is my result when I connected to my VPN (this is my normal life, thus I can visit sites like HN): > Hello > /tmp/test.sh 0.00s user 0.00s system 0% cpu 5.746 total > Hello > /tmp/test.sh 0.00s user 0.00s system 79% cpu 0.006 total And even if I didn't connect to my VPN: > Hello > /tmp/test2.sh 0.00s user 0.00s system 0% cpu 1.936 total > Hello > /tmp/test2.sh 0.00s user 0.00s system 7…
I'm curious what your results would be with the stock Terminal. Do you have the settings that others have talked about under "Security > Privacy > Developer Tools" with Terminal.app listed? If so, and the results are better with Terminal, then it'd be interesting to see if the issue is fixed when you add iTerm2 to the list of exempted apps as well.
Here is the new result (I only run once for each case):
╒══════════╤═════════════╤═══════════════════════════╕
│ │ │ +"Developer Tools" access │
╞══════════╪═════════════╪═══════════════════════════╡
│ terminal │ 1.448/0.004 │ 0.016/0.004 │
├──────────┼─────────────┼───────────────────────────┤
│ iTerm2 │ 1.240/0.006 │ 0.024/0.007 │
╘══════════╧═════════════╧═══════════════════════════╛
`1.448/0.004` means the first time it is `1.448 total`, and the second time it is `0.004 total`.(It seems I have "good" VPN/internet connection condition at this time)
Re: MacOS Catalina: Slow by Design?
#456Earlier quoted context omitted.
Yes it does. When you pacstrap you include base devel. From that moment onwards your you will have a full programming environment all ready to rock and roll on your installation.
Yes, and you have a full operating system and all the joys of modern development. You absolutely do not have anything like a VIC-20 that you can power on end have a basic programming environment 5 seconds later. At best, you turn it on and 5 seconds later have a python shell, where you can do a certain amount of development before you get to experience the joys of managing libraries and dependencies. Thus bringing us…
Re: MacOS Catalina: Slow by Design?
#457Earlier quoted context omitted.
It's really very sad, because users have no idea what is going on and there is no incentive for bad programs to improve (actually, there is generally incentive in the opposite direction , because it's work to write well-behaving apps). Users just know that they need to keep buying new computers and that their battery life is worse, but they can't figure out why so they point fingers at everyone but who they should ac…
Remember when shitty user-hostile spying wasn't a library you included that assured you in its readme it was "made with [heart] in California"? Ah, the days when only criminals and bigcos casually engaged in shady crap.
Re: MacOS Catalina: Slow by Design?
#458Earlier quoted context omitted.
It's not that installing Nix is impossible on macOS, it's just that it has some hard-to-ignore limitations now. 1. Having to create a volume when a plain old directory should suffice is insane. It's creating a hassle for no good reason for users. 2. /nix would be unencrypted by default if kept in a separate volume. There's also the problem of how to unlock it upon boot. 3. Login items is a very common use case so not…
I believe Nix actually picks a volume so that it can be encrypted, and it uses one of the many ways to run a script before login (some of which still happen to work) to decrypt it?
Re: MacOS Catalina: Slow by Design?
#459Earlier quoted context omitted.
> Windows 10 box to go sleep I know I am in for an infuriating waste of minutes' worth of disk thrashing before the bloody thing even deigns to reacknowledge my existence. Yeah, what the heck is this? I use a win10 box solely for gaming, and every single time I wake from sleep, Antimalware Executable keeps my machine from doing anything for several minutes. It's infuriating.
Silly user. The computer exists to update itself. Whatever trivial task you want to do is a secondary concern.
Re: MacOS Catalina: Slow by Design?
#460Earlier quoted context omitted.
This is excellent and indeed largely novel information, thank you. It sounds like the finding right combination of DE and package management solution plays a big role here. I don't remember much of my experience with Gentoo's package manager in the early 2000's other than finding it generally did its job (if a bit slowly)... Experience with package managers on Mac (brew, macports) hasn't been great so I'm eager to pl…
My favorite package managers, personally: xbps apk (terrible interface; wonderful technically) pacman (wonderful interface; so-so technically; dislike the distro that uses it because of technical choices) InstallPackage (GoboLinux is kind of cheating, because InstallPackage isn't a "real" package manager, but that's kind of the point) I love TextMate, too! Something you might find nice is how easy it is to run Mac in…
That would be excellent! I like the idea of swapping host and guest with this VM strategy, sort of evolutionary platform switching.