Live data from Hacker News

OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

github.com

91–96 of 96 posts

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#91

Earlier quoted context omitted.

I like the project, but I really don't like applescript. In programming languages, it seems there is a tension between easy-to-write and easy-to-read. And I suppose a fork in the continuum with easy-to-read-for-novices and easy-to-read-for-programmers. applescript went overboard on the easy-to-read-for-novices at severe cost to easy-to-write.

What's hard to read about it? Obviously (to me), those are all event handlers. Not sure why (or if?) you have to define the ones that don't actually do anything, though.

I'm pretty sure he's saying that they made it too easy to read, at the expense of being easy to write (with the premise that these are opposite ends of a spectrum stated above)

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#92
post #76
post #39

Earlier quoted context omitted.

I clean installed macOS Sierra on my 2013 Macbook Air this week it seems just fine to me. So far, I only have a couple of issues with it: 1) more bloat (but almost every OS has this problem). 2) cuts off support for some older Macs for no good reason. One thing I really like the new default terminal font: San Francisco Mono. I don't know if that font is new to the OS entirely but I really like it. I also really like…

The reason they cut off older macs was due to them not having AES accel in the CPU, so there was a small reason for it.

From the ARS review: "It’s not related to AES encryption acceleration, since there are Core 2 Duo and Core i3 CPUs in supported Macs that don’t support Intel’s AES-NI acceleration."

http://arstechnica.com/apple/2016/09/macos-10-12-sierra-the-...

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#93
post #8

That is pretty impressive. I spent hours upon hours getting OS X to run on a Linux host in KVM and QEMU. Eventually I did get it to work, but things like Messages.app had no chance of working. That was actually my goal - to create my own little Messages API so that I could send automated messages to myself. I ended up just scripting Messages.app on a real Mac and that works really well, even 2 years after. I remote c…

El Capitan runs perfectly in Virtualbox on Arch for me.

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#94
post #23
post #13

Earlier quoted context omitted.

> I ended up just scripting Messages.app on a real Mac and that works really well, even 2 years after. I remote control my house that way. That sounds pretty neat, do you have more details written down anywhere?

I've installed an AppleScript handler from within Messages.app. The script below is called ReceiveMessage.script and is located in ~/Library/Application Scripts/com.apple.iChat and basically accepts messages. That's how I handle inbound messages, and for outbound I basically also have a separate script for sending out messages. I do the actual work in separate python scripts called by the shell scripts though. -- sni…

Thanks for following up with details! I wasn't aware you could do this with Messages, that's a nice interface to know about.

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#95
post #23
post #13

Earlier quoted context omitted.

> I ended up just scripting Messages.app on a real Mac and that works really well, even 2 years after. I remote control my house that way. That sounds pretty neat, do you have more details written down anywhere?

I've installed an AppleScript handler from within Messages.app. The script below is called ReceiveMessage.script and is located in ~/Library/Application Scripts/com.apple.iChat and basically accepts messages. That's how I handle inbound messages, and for outbound I basically also have a separate script for sending out messages. I do the actual work in separate python scripts called by the shell scripts though. -- sni…

Since there was a bit of interest, I wrote this up in a short blog article: https://news.ycombinator.com/item?id=12563526

Re: OS X-KVM: Running Mac OS X El Capitan on KVM and QEMU

#96
post #93
post #8

That is pretty impressive. I spent hours upon hours getting OS X to run on a Linux host in KVM and QEMU. Eventually I did get it to work, but things like Messages.app had no chance of working. That was actually my goal - to create my own little Messages API so that I could send automated messages to myself. I ended up just scripting Messages.app on a real Mac and that works really well, even 2 years after. I remote c…

El Capitan runs perfectly in Virtualbox on Arch for me.

Now that's interesting. Does it work in headless mode? (Accessible via VNC).
Post reply on HN