How to serve VSCode from Mac but edit the code from Windows? - windows

I tried to switch to Mac but just couldn't get as productive. The one thing I love about the M1 Mac is the speed it packages and serves code.
Is it possible to serve from Mac but edit and do everything else from within VSCode on Windows? How?

Related

Run VSCode with arguments in MacOS

VScode has an perfomance issue on my MacOS (actually hackintosh) where the FPS of Scrolling and Typing is so low (around 20fps I guess) and it's bothering me but with this arguments, it lessen the problem on performance
code --force-device-scale-factor=2 --disable-gpu
But it only applies when launching the VSCode using the terminal. Now I want to apply those options when just launching the VSCode by opening/click the Application.
Sorry for not answering question directly but...
Are you sure that you need to pass this flag for VSCode running properly? I was using two Hackintoshes in the past and now I'm using M1-based Mac - if you use computer with AMD you should go into AMD-OSX wiki and use correct patches. If you use macOS on old laptop like Thinkpad X220/X230 the electron apps like VSCode or discord can run bit slowly.
Please also test if you got graphical acceleration and if you're using OpenCore, it can fix problems that Clover or ready macOS EFI files can give you.

Docker Desktop for Mac Monterey: pop-up about privilege access to install networking components

I had Docker Desktop installed for Mac Catalina last year, but I haven't used it until today, a day after updating to Monterey (from Big Sur) (I'm on a Mac Intel) when I downloaded the latest Docker Desktop dmg file (~500MB), which had me drag the icon to the folder, which I then chose to replace the existing .app file... but when opening the file (in /Applications), I get this new pop-up:
I've tried to search what this is actually going to do, and I can't tell; I use Cisco AnyConnect VPN sometimes for a project, and I'm afraid there'll be a conflict... but ultimately, I don't know what exactly I'm giving access to or if it's actually necessary. I just want to try Docker with Laravel Sail.
I know macOS over the last several years (since Catalina really) has changed filesystem stuff a lot and I end up going down StackOverflow rabbit holes trying to get things to work, so I'm hoping someone else knows how this works or has made it work and can advise.

Unable to install Xcode 8.1 on my Windows 10 computer

I've been trying to download Xcode but when I open it nothing happens.
Xcode_8.1.xip
Do I need to us using a Mac to be programming for iOS? I am currently using Windows 10.
Simply, yes, you need to have a Mac, or some other macOS running computer to run Xcode. But...
There is a way to run Xcode on Windows, however it's a bit of work. You can follow a tutorial on the internet like this one to get Xcode working on Windows.
Let it be known that even though Xcode will run on Windows using this, it is definitely not good in quality compared to on a Mac, as there will be lag and unnecessary difficulties that wouldn't be there on Mac.

Portable Cocoa for Windows

So Im working on a project in Xcode and would like to also be able to work on it on my PC work laptop when travelling. Is there anything I could run off of a USB?
You can try installing Mac OS in your PC!!!
Many of my friends have installed dual Mac OS X Mountain Lion & Mac OS X Mountain-Lion in their Intel Based PC using VMWare 9 and its running fine. But I tried with no success as I am using AMD Processor.
You can edit all of the text files using a normal text editor, like Notepad++. I don't think that there's any software for Windows that can edit all of the different things you would have in your project, like the .xib files and such.
If you were ambitious you could try gnustep, but that is pretty tough to set up on cigwin, and would only be a very close fit for Mac OS X and not iOS.

Writing code for a Mac using Lazarus

I have done a little work on lazarus' free pascal. So when a client asked me to write an application for a mac, after the initial, "it can't be done" stage. (followed by an asp.net maybe stage) i thought about writing it using lazarus.
Question is. I have only a virtual machine running mac OSX, this means that i do not really want to develop on the mac. However, i just cannot seem to get the applications that i have written in lazarus on windows to work on the mac. I have tried the deployment using the Lazarus Wiki and the MACOS folder is empty and so when i put it on the mac it doesn't run the application.
What is the best way of doing this or am i barking up the wrong tree?
It seems you want to do cross-compiling, which is theoretically possible, but may not be practical, for the reasons mentioned by Marco above.
As an alternative, you could install XCode, FreePascal, and Lazarus on a MacOX machine. You could still do your development and some testing on Windows/Linux. When you hit a certain milestone, you can copy your source code to the Mac and compile your application to test and give to the user.
Even if it were possible to easily cross-compile, there some minor differences between platforms, so (especially if it's a GUI app), you would want to test it on an actual MacOS box before giving it to the client.
I've taken the route described by Noah - and I was incredibly surprised that after about three weeks development on Windows, it took about 10 minutes to get the application running on the Mac.
My route was to install Xcode 4.3 on an old Mac Mini running snow leopard, then install Lazarus using the fink version as described here. This took a while but was done in an evening.
Then I just copied my folder across to the Mac, opened the lpi on the Mac, compiled it. It failed so I removed a windows references, recompiled, and it was working. I was truly amazed.
What linker and assembler do you use to generate binaries? To my best knowledge the linker for recent OS X versions is not available in source.
Afaik what you want (crosscompiling to Mac) is not possible for recent versions (and I've done it for PowerPC myself in the past).
The easiest is to use the Unix "file" command on the binary to see what is generated, and make sure it reads something with "MachO" in it. Easiest is if you have a Linux install (where this command is pretty standard), but versions can be found for windows too (cygwin, mingw and 3rd party)

Resources