|
Hey thanks! I thought that might be where the source of my trouble was coming from, but I had no idea, and I wasn't sure how I would readily check without potentially causing issues checking in to my current pull request on this project.
I have had issues running scripts as well, but maybe that's because it's the terminal inside VS Code.
To err is human. Fortune favors the monsters.
|
|
|
|
|
You can always experiment with a local branch. Git can't perform any transformation to the files between local branches and remotes (as identity is based on SHA1 - or is it already SHA256?), so any unwanted change will be done as part of the commit into your local repo. Looking at file stamps you can easily find your new files in the .git folder and inspect them binary to see the newlines are as you want. Notice there will also be files for the folder structure and the commit, so experiment with a file at the top level to make it easy to find it.
|
|
|
|
|
lmoelleb wrote: Running a VM in 2022 sounds like a very complicated solution to a simple problem. Looks like you haven't had to use several different versions of software that are incompatible to each other just because each customer has bought something some time ago and don't want to update to "something simple"...
Or have to run old software that Versions above windows 8 don't accept because "it is too old and / or too inefficient or just not compatible / supported anymore"
Using VMs is actually one of the simplest solutions to solve a lot of problems.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
When I wrote "a simple problem" I was referring to the problem in the post I responded to, not every problem under the sun. And I also added the 2022 qualifier as running a VM for Linux development was a very reasonable thing to do before WSL2 (and to some degree WSL1 but that is a detail level there is no need to get into).
|
|
|
|
|
I used VM Ware player and even the payed version for long time, until some years ago it became slower and slower.
Then I tried Oracle VirtualBox and I never want to go back again to VMware.
The performance difference is really big, the only downside I found in VirtualBox (when running on linux mint) is that copy/paste between the VM and the host often does not works, I made a shared folder to get around that.
|
|
|
|
|
Just shut down the VM and then add the following line to your .vmx file:
ulm.disableMitigations = "TRUE"
That should fix it.
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
Thank you! I'm trying it now.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Just tried that config change and it was amazing the difference it made in startup and performance.
Thanks for sharing that!
|
|
|
|
|
Yes, so was I when I first discovered it.
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
It's not security nonsense, it's having 2 active hypervisors competing for the same resource.
It simply can't be done.
The Windows hypervisor can now be considered part of the OS.
So you have 2 options:
- disable the Windows Hypervisor (it's a Windows Feature) and use a different one.
- use the Windows Hypervisor
I recommend using the hypervisor.
It's a good implementation, don't be so fussy.
Take a look here if you want the first option:
Disable Hyper-V to run virtualization software - Windows Client | Microsoft Learn[^]
|
|
|
|
|
Frankly, anything that gets between me and what I need to do is nonsense as far as I'm concerned, even if it means a "new feature" of Windows I don't intend to use. We all have our standards. That one is mine.
Adding: I don't have time to just install operating systems. I have things I need to do. I'm not switching VMs and setting up a new dev environment just to use yet another VM . I've had this VM through several windows installs now. Anyway, another commenter showed me how to make VMWare Player go properly under Win11
To err is human. Fortune favors the monsters.
|
|
|
|
|
You do you.
I know you know the work to migrate will get bigger the longer you wait.
|
|
|
|
|
Even if the git trick above solves your CRLF , I too, recommend using the built-in Hyper-V
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Are you sure it's not telling you that you need to go into your computer's BIOS settings and enable the virtualization settings? It'll either be called "Intel Virtualization Technology" or VTT or VT-x or whatever AMD's equivalent is (AMD-V). Also enable VT-d and IOMMU is those are in there as well.
Without those, things move a lot slower.
|
|
|
|
|
It's enabled.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I think the problem is that Win 11 has a version of Hyper-V running under the hood, which conflicts with VMWare.
Take a look at this link for how to select the virtualization system that Windows will use -
Enable virtualization on Windows 11 PCs[^]
|
|
|
|
|
You can set git to use the line endings of your choice. I have git set to use '\n' all the time on all platforms.
I set "text eol=lf"
ref: href="https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
|
|
|
|
|
I use Virtualbox running on Windows 10. I will set up a Linux system, Windows system, for whatever I need to test.
VB is pretty easy to use, very reliable, very flexible.
|
|
|
|
|
I've tried to Google if UK is coming into the brave new future of mandatory e-invoicing of public entities.
It seems like something got started in 2019(!), but even Google can't find anything solid on the issue.
Lots of companies are offering to handle EDI, but they are suspiciously vague on formats and procedures.
What I really hope for, is that UK sensibly adopted UBL, and even better, joined the PEPPOL community.
Am I doomed?
"God doesn't play dice" - Albert Einstein
"God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr
|
|
|
|
|
|
Two things:
1) Read the stuff at the top of the page: the Lounge is not for coding questions. Post it here instead: Ask a Question[^]
Ignoring the rules and annoying people you want free help from is not a good idea ...
2) While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.
So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.
Just posting your assignment with no sign of any effort by you will not get you anywhere.
If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Aside from the fact that the lounge isn't for programming questions this looks like an answer to a question, but it's in the wrong forum.
|
|
|
|
|
That's not an answer, that's the text of an assignment / homework
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
The assignment post must have been closed, and the responses to it now appear under this post, which is confusing. A closed post that has replies should be retained and have its body replaced with some kind of generic message, like
This message has been erased.
modified 21-Sep-22 8:11am.
|
|
|
|
|
Agreed!, I was a bit perplexed about why Griff would so viciously bodyslam my question. Boring yes, but I do believe it is well within the guidelines
It took me a little while to realize there must have been another question.
"God doesn't play dice" - Albert Einstein
"God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr
|
|
|
|