The maximum amount of memory any single process on Windows can address

Mark Russinovich published a multipart series on windows memory resources really covers this very well. You can find it here: http://blogs.technet.com/b/markrussinovich/archive/2008/07/21/3092070.aspx He covers the reasons why the limits are what they are, as well as tests. The code for the tests are floating around in the tubes somewhere. If you want to know about memory … Read more

How to resolve Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 error? [duplicate]

Open IntelliJ on your project and go to File >> Project Structure >> Project and on the option Project SDK Select java 11 and apply the changes. Intellij Project structure Edit——– Then try these options on File >> Settings. 1.Set Gradle JVM Home Gradle JVM 2.Set the JDK version in the Project module settings JDK … Read more

Is SSH ControlMaster with Cygwin on Windows actually possible?

Apparently the conclusion after much searching is that currently it is NOT possible. These were the only links I found that dealt with this: https://stackoverflow.com/questions/17140457/imitating-a-shared-ssh-session-for-scripts-on-windows “…but there is no implementation of OpenSSH for Windows which does this (file descriptors over unix sockets do not work in Cygwin).” and http://gcc.gnu.org/wiki/SSH_connection_caching “Unfortunately if you are using OpenSSH … Read more

How can I simply “run” lisp files

Executables SBCL can save executable images, as Greg Harman mentions (see the :EXECUTABLE keyword): http://www.sbcl.org/manual/index.html#Saving-a-Core-Image Scripts Lisp files can be executed as scripts, see: http://www.sbcl.org/manual/#Shebang-Scripts Command Line Options SBCL has command line options to evaluate/load lisp code on start: http://www.sbcl.org/manual/#Command-Line-Options SLIME SLIME is an Emacs interface for Common Lisp. One can use SBCL via SLIME … Read more

What happens internally when a file path exceeds approx. 32767 characters in Windows?

Because I’m lazy, I didn’t write a test program but tested it using the excellent Far Manager which handles things like long paths (longer than MAX_PATH) or special filenames (con, prn etc) just fine. I made a string of exactly 255 characters (“12345678901234…012345”) and started creating nested directories. Luckily, Far’s “Make Directory” function takes a … Read more

Compile 32 bit binary on 64 bit system

If you built your Go from source, then you can build any additional compilers and libraries for any CPU and OS. If you are on windows/amd64 and want to build for windows/386, then this will build everything you need to compile for windows/386: set GOARCH=386 cd %GOROOT%\src make.bat –no-clean Once you have done that, you … Read more

Access clipboard in Windows batch file

To set the contents of the clipboard, as Chris Thornton, klaatu, and bunches of others have said, use %windir%\system32\clip.exe. Update 2: For a quick one-liner, you could do something like this: powershell -sta “add-type -as System.Windows.Forms; [windows.forms.clipboard]::GetText()” Capture and parse with a for /F loop if needed. This will not execute as quickly as the … Read more

Using %PROGRAMFILES(x86)% on Windows OS 32bit

According to this the environment variable %PROGRAMFILES(x86)% is only available on 64-bit systems. However, if you are on a 64-bit system and use %PROGRAMFILES%, the result you get depend on whether the process requesting the environment variable is 32-bit or 64-bit. So from a 64-bit process on a 64-bit system you would get C:\Program Files, … Read more