News for hackers. Stuff that matters.
Re:Hetzner Apple Mac Mini Offering by Lorin on Tuesday October 19, 2021 @10:36AM (#28918552)
I just want a cheap way to live debug sites in Safari / Safari Mobile without being forced to purchase Apple hardware.

Only reasonable option I've come across so far is buying used hardware. VM under Win10/AMD seems like a PITA.

Re:Hetzner Apple Mac Mini Offering by packetslave on Tuesday October 19, 2021 @12:56PM (#28920394)
Remember that running OS X (including in a VM) on anything other than Apple hardware is technically a violation of Apple's terms of service.

If you're just doing it for personal use, this probably isn't a big deal. If you're doing it for your business, make sure you consider the risks.

Re:Hetzner Apple Mac Mini Offering by btian on Tuesday October 19, 2021 @12:44PM (#28920217)
You can rent from Amazon for $1/hour

It supports remote desktop and everything you would need

Re:Hetzner Apple Mac Mini Offering by Aea on Tuesday October 19, 2021 @12:57PM (#28920403)
You can rent from Amazon for $25.99 a day and then for $1.083 an hour after your one day minumum.

> Billing for EC2 Mac instances is per second with a 24-hour minimum allocation period to comply with the Apple macOS Software License Agreement.

Re:Hetzner Apple Mac Mini Offering by lostmsu on Thursday October 21, 2021 @01:42AM (#28940765)
Maybe say you have to pay for at least 1 whole day every time.
Re:Hetzner Apple Mac Mini Offering by amarshall on Tuesday October 19, 2021 @12:54PM (#28920361)
Sort of as there is a minimum of 24-hours.

> Billing for EC2 Mac instances is per second with a 24-hour minimum allocation period to comply with the Apple macOS Software License Agreement.

Re:Hetzner Apple Mac Mini Offering by swebs on Tuesday October 19, 2021 @01:21PM (#28920733)
Do those 24 hours need to be continuous?
Re:Hetzner Apple Mac Mini Offering by schiederme on Tuesday October 19, 2021 @01:47PM (#28921120)
Yes. It’s in the MacOS ToS.
Re:Hetzner Apple Mac Mini Offering by lostmsu on Thursday October 21, 2021 @01:42AM (#28940770)
But... why?
Re:Hetzner Apple Mac Mini Offering by hulitu on Friday October 22, 2021 @08:27AM (#28956412)
So you get the full Apple MacOSX experience.
Re:Hetzner Apple Mac Mini Offering by 33degrees on Tuesday October 19, 2021 @10:39AM (#28918582)
Does browserstack not work for you?
Re:Hetzner Apple Mac Mini Offering by pmarreck on Tuesday October 19, 2021 @11:34AM (#28919281)
I have a macOS VM under VMWare running on Windows. It wasn't that difficult, found some guides online by googling obvious search words. The only thing I haven't gotten to work yet is the App Store, but I saw a guide for that, just haven't done it yet. You won't get graphics acceleration btw, but CPU performance is fine.

I believe the trickiest bit was running a macOS serial generation app and copying that value into the VM settings.

(I've purchased plenty of Macs over the years so pls Apple, this is just for dev purposes!)

Re:Hetzner Apple Mac Mini Offering by rdsnsca on Tuesday October 19, 2021 @11:47AM (#28919443)
Enjoy it while it last, in 3 or 4 years Apple will drop Intel macOS support.
Re:Hetzner Apple Mac Mini Offering by pmarreck on Tuesday October 19, 2021 @01:03PM (#28920479)
By then, Windows 11+ will have moved onto ARM and whatever cross binary solution Microsoft is working on should be complete. Also, with emulation/virtualization, it's still perfectly feasible
Re:Hetzner Apple Mac Mini Offering by hulitu on Friday October 22, 2021 @08:30AM (#28956435)
I don't want to destroy your hope but take a look at ARM support in linux. (TL;DR the ARM space is very fragmented so taking a running system from one machine with ARM to another is not possible).
Re:Hetzner Apple Mac Mini Offering by pmarreck on Friday October 22, 2021 @11:41AM (#28958587)
Fortunately, Linux lets you install things by compiling them locally instead of just auto-downloading a binary.

Are you saying that "aarch64" binaries don't run on all ARM chips?

Re:Hetzner Apple Mac Mini Offering by disiplus on Tuesday October 19, 2021 @12:42PM (#28920191)
3 or 4 years. sure not, they still sell intel macs on the website.
Re:Hetzner Apple Mac Mini Offering by password4321 on Tuesday October 19, 2021 @05:23PM (#28923945)
Quickemu: Quickly create and run optimised Win-10,11/macOS/Linux on Linux

https://news.ycombinator.com/item?id=28797129

404 points by nixcraft 11 days ago | 117 comments

Re:Hetzner Apple Mac Mini Offering by intrasight on Tuesday October 19, 2021 @10:40AM (#28918593)
Used totally makes sense. I picked up a Mac Mini with a 27" monitor for $500.
Re:Hetzner Apple Mac Mini Offering by smoldesu on Tuesday October 19, 2021 @11:09AM (#28918919)
It's a shame that web developers have to spend $500 to buy a bespoke web-browsing machine just to make their sites work better with Apple hardware. If Apple wanted people to treat their browser seriously, they should have simulators and developer tooling to spare.
Re:Hetzner Apple Mac Mini Offering by asddubs on Tuesday October 19, 2021 @11:38AM (#28919332)
or just release safari cross-platform.
Re:Hetzner Apple Mac Mini Offering by derefr on Tuesday October 19, 2021 @11:52AM (#28919517)
Safari (not WebKit specifically; the rest of the browser) relies on OS libraries. Those libraries would have to be reimplemented for other OSes.

I don't mean that that would be an impediment to porting; Apple have done this before—Safari 5 was available for Windows. (And interestingly, vice-versa, IE5 was available for macOS!)

What I mean is that the differences in implementation of these OS libraries would mean that this version of Safari wouldn't be bug-for-bug compatible with macOS Safari; and therefore, testing on this version of Safari wouldn't necessarily get you what you want, if your goal is finding and squashing 100% of the bugs that testing on macOS Safari would allow you to find and squash.

To use a pretty close analogy, it would be like a development workflow for Windows executable that involved running them under Wine in Linux, and never actually under Windows. You've QAed for the API surface, sure; but you haven't actually QAed the software for how Microsoft's own library implementations work (and the bugs that those implementations introduce.)

Re:Hetzner Apple Mac Mini Offering by acoard on Tuesday October 19, 2021 @12:15PM (#28919846)
You're not wrong, but in practice I'd imagine >99% of bugs are in the rendering / webkit layer, not in the OS integration layer.

Sure, if you're making a plugin that plays with bookmarks or 'Read Later', you'd likely run afoul of the issues you mention. But most web devs are concerned just about browser compatibility of rendering their web-app. In this context, as long as web page rendering and JS engine is identical between OS' it's fine.

Re:Hetzner Apple Mac Mini Offering by acdha on Tuesday October 19, 2021 @12:58PM (#28920421)
This very much depends on the bugs. In the past I've found many bugs in text rendering (especially related to non-English text[1][2]), layering (inconstent opacity), audio and video playback, etc. which were dependent on the combination of browser, operating system, and, in some cases, hardware. The general trend has been for browsers like Chrome and Firefox to take over more responsibility but that's not what Apple has done in Safari so it looks like a lot more work to say they should duplicate OS functionality to make it easier for Windows-only web developers to test with Safari.

1. https://chris.improbable.org/experiments/browser/combining-h...

2. https://chris.improbable.org/experiments/browser/javanese-te...

Re:Hetzner Apple Mac Mini Offering by derefr on Tuesday October 19, 2021 @12:34PM (#28920088)
Rendering issues are OS issues too. For example, Safari's font rendering depends on the particulars of macOS/iOS's font-rendering framework. Safari on Windows would presumably use Windows' font-rendering framework, with drastically different results, due to the different frameworks supporting different subsets of e.g. ligature-pair width hinting or hyphenation, thereby causing text to wrap in different places, such that the layout at a given font size + viewport size on Windows wouldn't be predictive of the layout at the same font size + viewport size on macOS. (Which is not even to mention the fonts you'd have by default on Windows and not by default on macOS, that would interfere with the font family cascade, and yet couldn't be suppressed from the cascade because some macOS systems do have them.)

Or, for that matter, there could be certain exposed -webkit CSS selectors that are really just features of some or another macOS rendering-layer framework, with no Windows equivalent — the same way that IE's ancient CSS "filters" were really just exposed DirectX features (e.g. filter: progid:DXImageTransform.Microsoft.blur). For these cases, testing on "Safari on Windows" would essentially just get you what testing in Chrome on Windows already gets you (unless Apple created an entire software renderer that brings in all of macOS's Quartz and all its subsidiary libraries as a big ol' polyfill.)

The point at which Safari is guaranteed to work like it does on macOS, is the point at which you're bringing in a polyfill consisting of 99% of macOS's frameworks. May as well bring in the last 1% as well, and call it a VM. (Ideally a thin-as-possible paravirtualized VM where the display driver is written to directly make DirectX calls, etc. — but VM client software is already pretty good at providing these sorts of drivers.)

Re:Hetzner Apple Mac Mini Offering by savoytruffle on Tuesday October 19, 2021 @12:23PM (#28919954)
I don't know about the early versions, but I believe the final version of IE for Mac, though also numbered 5, used an entirely different browser engine from that on Windows. Tasman

http://jimmy.grew.al/macie5-twentieth-anniversary/

Re:Hetzner Apple Mac Mini Offering by password4321 on Tuesday October 19, 2021 @05:32PM (#28924024)
Last I checked, there is a Windows WebKit/Safari build. I don't think it worked very well though: https://news.ycombinator.com/item?id=20700914#20701334

Edit: Looks like the new URL is https://build.webkit.org/#/builders/67?numbuilds=400 but the build has been broken for almost 2 weeks. The last successful build is the 300MB https://s3-us-west-2.amazonaws.com/archives.webkit.org/win-x... (as explained in the link above, the Apple Application Support libraries are required).

[dead]
Re:Hetzner Apple Mac Mini Offering by vxNsr on Tuesday October 19, 2021 @11:50AM (#28919493)
Meanwhile the CEO uses a windows machine with outlook.
Re:Hetzner Apple Mac Mini Offering by homarp on Tuesday October 19, 2021 @12:35PM (#28920103)
Re:Hetzner Apple Mac Mini Offering by echelon on Tuesday October 19, 2021 @12:37PM (#28920131)
Re:Hetzner Apple Mac Mini Offering by mrweasel on Tuesday October 19, 2021 @12:04PM (#28919677)
What? Tim Cook use Windows?
Re:Hetzner Apple Mac Mini Offering by extrememacaroni on Tuesday October 19, 2021 @12:39PM (#28920160)
BIG if true :O
Re:Hetzner Apple Mac Mini Offering by diebeforei485 on Tuesday October 19, 2021 @02:41PM (#28921762)
His public email address is handled by staff.
Re:Hetzner Apple Mac Mini Offering by servercobra on Tuesday October 19, 2021 @12:05PM (#28919698)
I'd love a source on that.
Re:Hetzner Apple Mac Mini Offering by vxNsr on Tuesday October 19, 2021 @05:36PM (#28924085)
The guy who wrote the book about the making of the iphone sent a bunch of emails to tim cook with tracking enabled and each time it was opened by a windows device. other comments in this thread have more links the story.
Re:Hetzner Apple Mac Mini Offering by hulitu on Friday October 22, 2021 @08:36AM (#28956487)
Seems a very good idea from a security POV. You get an email and your favourite Email program will be more than happy to open the link and execute the code. And because this is the CEO of Apple, you presume that he is using MacOSX and send him an Apple executable. Which will not run on a windows machine. Now, ransomware on the other way ...
Re:Hetzner Apple Mac Mini Offering by maddyboo on Tuesday October 19, 2021 @11:58AM (#28919598)
Source?
Re:Hetzner Apple Mac Mini Offering by barney54 on Tuesday October 19, 2021 @10:46AM (#28918651)
The M1 Mac Mini recently was only $600 on sale.
Re:Hetzner Apple Mac Mini Offering by treesknees on Tuesday October 19, 2021 @12:05PM (#28919696)
You can also find a refurbished M1 Mac Mini for under $600 on Apple's refurbished store.
Re:Hetzner Apple Mac Mini Offering by pixelcoins on Tuesday October 19, 2021 @10:38AM (#28918570)
Why not Browserstack?
Re:Hetzner Apple Mac Mini Offering by G3rn0ti on Tuesday October 19, 2021 @11:08AM (#28918914)
Debugging iOS-Safari issues on a web page requires:

1) Access to a Desktop Mac and a Desktop Safari.

2) An iOS device.

The Safari debugger recognizes a plugged-in iOS device and then allows to debug the iOS safari remotely. That's the only reliable way to find iOS specific JS or CSS issues. Browserstack alone does not help, unfortunately AFAIR.

Re:Hetzner Apple Mac Mini Offering by jamroom on Tuesday October 19, 2021 @12:37PM (#28920144)
You actually don't need the iOS device - Safari will also link up to the iOS simulator, so you can do this with just XCode.
Re:Hetzner Apple Mac Mini Offering by G3rn0ti on Tuesday October 19, 2021 @04:35PM (#28923417)
But XCode is MacOS only, isn’t it?
Re:Hetzner Apple Mac Mini Offering by presentation on Tuesday October 19, 2021 @12:38PM (#28920150)
You can try Lambdatest.

https://www.lambdatest.com/feature