Click here to Skip to main content
15,887,328 members
Everything / macOS

Macos

macOS

Great Reads

by Miroslav Fidler
Installation and the first look at U++ platform
by Nick Polyak
This article describes a new multiplatform Docking framework - UniDock
by Anele 'Mashy' Mbanga
A look at a flexible Java MySQL CRUD PHP script generator
by Ryan Peden
Writing to a Slack Channel - Node.js Edition

Latest Articles

by Modesty Zhang
Illuminate git internal on object model via a `git stash` implementation, including push, apply, pop, drop, list and clear, all with isomorphic-git
by VISWESWARAN1998
Scrape the websites with Python 3
by sebjameswml
Walks you through the steps needed to draw high quality 2D graphs in your C++ programs using the header-only library morphologica
by h_wiedey
This tip shows how md5 and locate can be used to find duplicate files.

All Articles

Sort by Updated

macOS 

9 Mar 2024 by Modesty Zhang
Illuminate git internal on object model via a `git stash` implementation, including push, apply, pop, drop, list and clear, all with isomorphic-git
28 Jan 2024 by IanSMoyes
Thanks Richard. I'm very new to this "forum group" thing. Your guidance was gratefully received, and taken.
27 Jan 2024 by Richard MacCutchan
Please post your question in the CodeProject.AI Discussions[^] forum.
27 Jan 2024 by IanSMoyes
I followed the installation instructiuons but I'm getting a ton of errors. 15:22:06:System: macOS 15:22:06:Operating System: macOS (Darwin 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:34 PST 2023;...
13 Sep 2023 by Pravin TS
I am trying to integrate WireGuard for iOS and macOS in Xcode, the build process is success, but the integration shows error,although I had followed the procedures said in...
30 Jun 2023 by Graeme_Grant
You don't need to run the server on a MAC. You can run your web server on your dev windows PC. The idea of debugging the Client-side on a Mac is to debug the Html/CSS on Safari, not the server itself. What you need to do is expose the web server...
30 Jun 2023 by MichaelEriksen
I have a webform based app made on my Windows 11 PC via Visual studio 2022 for Windows - but needs to debug it on a MAC via MAC's Safari browser. My project is made with .NET Framework 4.7.2 - and need to debug it on a MAC. I can see that there...
29 Jun 2023 by Jo_vb.net
I have no Mac and this approach looks rather complex - but you could try it: how-to-debug-a-website-in-ios-safari-on-windows Here is a commercial tool but you can try it for free: Inspect – The mobile DevTools you'll love using[^]
17 Jun 2023 by VISWESWARAN1998
Scrape the websites with Python 3
9 Apr 2023 by Sai nathi
Hi I'm trying to run some c++ code on my mac but i'm getting an error: **clang: error: linker command failed with exit code 1** I'm trying to execute multiple .cpp files from vs code but it keeps showing the error. I think its something to do...
9 Apr 2023 by k5054
You probably have a directory (or folder if you prefer) in your current directory called M123 change the destination name to something else, or rename the directory/folder. e.g. : [k5054@localhost]$ ls hello.cpp [k5054@localhost]$ mkdir hello...
14 Mar 2023 by sebjameswml
Walks you through the steps needed to draw high quality 2D graphs in your C++ programs using the header-only library morphologica
17 Nov 2022 by h_wiedey
This tip shows how md5 and locate can be used to find duplicate files.
14 Nov 2022 by Saboor8802
I developed a Java Application to run on Mac BigSur. I used Java Derby as database for this application. The Application gives an Exception: java.lang.ClassNotFoundException:org.apache.derby.jdbc.EmbeddedDriver The interesting fact is that...
2 Aug 2022 by Irodabonu Komilova
How can I compute length of the string with strlen() function and function have to return the number of characters in c? What I have tried: #include #include int my_strlen(char* param_1) { int i; for(i = 0; i
2 Aug 2022 by OriginalGriff
The C language does not have a string type: it represents them via an array of chars, with a "special character" at the end which is a null value: '\0' This combines well with the lack of a boolean type, in that any non-zero value is true and a...
1 Aug 2022 by Irodabonu Komilova
I wanted to make a function that takes a pointer to integer as a parameter, and sets the value to 0 in c programming language.But I do not know very well about its algorithm and how it works .I tried to solve it But I could not. Can you help me...
1 Aug 2022 by Irodabonu Komilova
void my_initializer(int* pram) { *pram = 0; }
30 Jul 2022 by OriginalGriff
To understand what 0x01AA has written, you need to understand what a pointer is and what an address is - so lets start with a real-world example: a book. A book is made of pages which are covered with lines of words called "text". Each page has...
30 Jul 2022 by 0x01AA
void my_initializer(int* param_1) { // Dereferencing the pointer to assign the value *param_1= 0; } int main() { int anti; // Pass the address of variable anti my_initializer(&anti); return(0); } I hope it helps.
27 Jun 2022 by Kavya Bhargava
I have followed all the steps of downloading rabbitmq on m1pro mac. After that, I tried running it with command : CONF_ENV_FILE="/opt/homebrew/etc/rabbitmq/rabbitmq-env.conf" /opt/homebrew/opt/rabbitmq/sbin/rabbitmq-server BUT i got this error:...
27 Jun 2022 by OriginalGriff
Talk to the creators, or the community of users - they will know a lot more than a generic development site like this one: Messaging that just works — RabbitMQ[^]
3 Jun 2022 by CharbelMansour
Overview: I would like to take a screenshot, turn it into a byte array and then upload it to a server. I'm using Xamarin.Forms for Visual Studio Mac. The target device is an Android Emulator Tablet. Tried a lot but I'm not that good in C#. The...
3 Jun 2022 by Graeme_Grant
Did you try Google Search? Here is what I tried: Xamarin C# how to send an image to a server[^] Found many solutions. This YouTube video looks good: Upload File from Xamarin app to ASP.NET server - YouTube[^]
2 Jun 2022 by CharbelMansour
Overview: I would like to take a screenshot, turn it into a byte array and then upload it to a server. I'm using Xamarin.Forms for Visual Studio Mac. The target device is an Android Emulator Tablet. Tried a lot but I'm not that good in C#. The...
2 Jun 2022 by Richard MacCutchan
The Screenshot.CaptureAsync Method (Xamarin.Essentials) | Microsoft Docs[^] returns a task, not a byte array.
26 May 2022 by Miroslav Fidler
Installation and the first look at U++ platform
15 Feb 2022 by Gibran Castillo
My macOS is using an Apple M1 Max chip and it looks like my macOS is having compilation issues with raylib. If you have an M1 based Mac, you should create a Rosetta based terminal and work within that terminal by following these steps below...
15 Feb 2022 by Gibran Castillo
I am using a macOS 12.2.1 with Python 3.10 and I am trying to install Raylib Python CFFI 3.7 or higher but whenever I run the `python3 -m pip install raylib` command or the `pip3 install raylib` command but I keep getting the error below: ...
23 Jan 2022 by Member 15509751
Our code team encountered the same issue with a shared_ptr to an array with Mac's version of the clang compiler. Your syntax is correct and will work with the gcc (not Mac's alias to their clang compiler), llvm, etc. -- we verified the...
2 Dec 2021 by wifinut
I'm storing a long folder path in my code as a variable and it has a space in it. The space is being treated as a new line or end of statement. This is causing and error in my code. Unfortunately I only share the one line of code that is giving...
2 Dec 2021 by OriginalGriff
Answered only to remove from unanswered queue - solved by OP.
13 Oct 2021 by wifinut
I'm trying to remove the HH:MM:SS section in the following string example: Mar 6 01:00:53 2026 The problem is that I cannot go by character position because the text length can change. Example, there could be 16th instead of 6. Therefore I need...
13 Oct 2021 by k5054
You're really close: date2=$(echo $date1 | cut -f3 -d\ ) should do the trick. In this case we're telling cut to return the 3rd field (-f3 flag), with field separator space, (-d\ flag ). Note that for the -d flag you need to make the space...
13 Oct 2021 by Peter_in_2780
date2=$(echo $date1 | awk '{print $1 " " $2 " " $4}')
5 Sep 2021 by Jason Sultana
A solution for a MySQL service that's refusing to start
29 Aug 2021 by Nick Polyak
This article describes a new multiplatform Docking framework - UniDock
27 Jul 2021 by Marchan4
My ruby ​​version is 2.6.6, my mysql version is 8.0.23, my mysql2 version is 0.5.3, my bundler version is 2.2.21, my rails version is 5.0.7.2, and my Xcode version is 12.5. I use macOS Big Sur(version 11.4) and the text editor "Atom". I'm...
27 Jul 2021 by Richard MacCutchan
$ export SECRET_KEY_BASE=GENERATED_CODE What is the $ sign in column 1 supposed to be for?
5 Jul 2021 by Richard MacCutchan
1. 4 - 6: Chrome, Explorer, Visual Studio Code, Visual Studio, OneNote, Windows Terminal (2/3) 2. Mouse click or Alt=Tab 3. No 4. No - Windows handles it 5. N/A 6. N/A 7. N/A 8. N/A 9. No 10. No.
9 Jun 2021 by wifinut
I’m trying to use osascript to produce a simple UI menu, but instead of the default “OK”, and “Cancel” I would like to change the behavior to the following: “Cancel” changed to “Exit” “OK” changed to “Run” Have the “Run” button execute a BASH...
29 May 2021 by Ahmad Qassym
the funtion should work in the following way : repeat(3, "foo") s and returns "foofoofoo" we have the following code : char *repeat(size_t n, char *s) { char *array = malloc(sizeof(char) * strlen(s) * (1 + n)); //Q1 for (int i = 0;...
29 May 2021 by OriginalGriff
Q1: Because whoever wrote that doesn't know what they are doing: you need the (length times n) + 1 characters to allow for the trailing null. Q2: So you go round the loop the right number of times. Q3: Similar to Q1: Because whoever write that...
29 May 2021 by k5054
Most of your questions can be answered here: C - Strings - Tutorialspoint[^] As for Q4: Assume that free() makes the previously allocated memory block totally inaccessible going forward. Think about what might happen later in your program if...
27 May 2021 by merano99
Q1: pc = &s[0] the pc variable points to the first pace of the array Yes its the same as pc = s and it makes no sense if you do not plan to work with the pointer. You can just use s direct. char *find_char(char c, char *s) { for (int i=0;...
27 May 2021 by Ahmad Qassym
we have the following function that looks for character inside string. if c is contained inside the s string, so should a pointer on the first appearance returned,another case should Null pointer be returned char *find_char(char c, char *s) { ...
27 May 2021 by k5054
A1) & takes the address of the object to its right, so &s[0] takes the address of s[0], which is identical to the value of s A2) pc[i] is the value of the ith element of the array pc, not the value of address of ith element. In this case, given...
25 May 2021 by mustafa uop dawood
when use WX.FileDialog of WxWidgets and select file name contain Emoji character path from WX.FileDialog return question mark inside box ??? such as this original path selected "/Users/Mustafa/Desktop/😀Test 😍.txt" but the path returned from...
22 May 2021 by wifinut
I'm trying to tar all files in my trash bin for use in a shell script, but no files actually show up. Only empty subfolders appear. What I have tried: tar -cvf trash.tar.gz ~/.Trash/* Result... Extracting the contents of the trash.tar.gz...
19 May 2021 by Richard MacCutchan
q1: The variable s is a pointer to an array of characters, so you need to use the pointer type in the parameter field of the function. q2. That is just a matter of choice, it is not essential to use unsigned. q3. In this case it does not...
19 May 2021 by Greg Utas
Q1. See Richard's comment. Sometimes char[] s is used to indicate that the parameter is an array, but it'll still work the same way. When an array is passed as an argument in C/C++, it turns into ("decays" to) a pointer to the first element. But...
19 May 2021 by Ahmad Qassym
int my_streln(char *s) // q1 { unsidned int counter = 0; // q2 while (*s) { ++counter; // q3 ++s; } return counter; } // this funciton should compare 2 strings whether they are the same int my_strcmp(char *s1, char *s2) { //q4 for (int...
18 May 2021 by Member 15205567
Full Error: Assets/Scripts/CameraManager.cs(89,9): error CS1955: Non-invocable member 'CameraManager.cameras' cannot be used like a method. using System.Collections; using System.Collections.Generic; using UnityEngine; public class...
18 May 2021 by Dave Kreskowiak
You keep doing this: cameras (currentCamera).enabled ... when cameras is a collection, and you need to use its indexer like this: camera[currentCamera].enabled ...
5 May 2021 by wifinut
Platform: MACOS I'm using the command: tcpdump -l -I -i en0 -e -s 0 'type mgt and subtype beacon' -w beacon.pcap -c 500 -vvv ..to capture wifi beacons from my MAC. I'm looking for a way to parse detailed info from the pcap file. The details...
26 Apr 2021 by Muhanned Shahada
I just bought a new Macbook M1 and i am having a hard time to set up pyspark in MacOs , it would be appreciated if anyone can help me in this as i am completely new to Mac. I have followed many online tutorials and instructions but for some...
24 Apr 2021 by Ahmad Qassym
1) gcc -c file.c -o file.o 2) gcc file.c -o file please if u gonna to answer the question ,try to give an simple answer as much as possible! What I have tried: ......................................................
24 Apr 2021 by Aghast (nj)
Command (1) compiles the .c file to a .o (object) file, then stops. Command (2) compiles the .c file to an object file, then links the object file with the C standard library to produce an executable file named file. Both commands drop their...
24 Apr 2021 by Dave Kreskowiak
-c Compile or assemble the source files, but do not link. The linking stage simply is not done. The ultimate output is in the form of an object file for each source file. By default, the object file name for a source file is made by replacing...
8 Mar 2021 by Maryam Zara
Hey, I am Maryam new in Coding I'm Thinking to learn IOS Developing can I use Window OS For Developing IOS Application is this Safe way or I need a mac for developing guide me, please. What I have tried: I tried on Virtual machine but I need to...
8 Mar 2021 by OriginalGriff
Everything I've seen says that it's been made as difficult as humanly possible to develop and distribute iOS apps without a Mac. However, it is - in theory - possible, though using Windows is probably going to push the limits or "possible" quite...
16 Feb 2021 by Han Bo Sun
A tutorial on how to setup an application Spring Security and Spring MVC, and use ThymeLeaf for secured page rendering.
14 Feb 2021 by LittleRabbitFooFoo
Hi folks, I'm a complete novice here so please forgive my possible/probable lack of some of the basics. I started a website over ten years ago and never completed it due to other commitments, I am now trying to pick up the somewhat disjointed...
23 Dec 2020 by sbarnes
This time, I'm sure I've found stuff that is completely new and previously unknown.
22 Dec 2020 by honey the codewitch
Highly efficient access to JSON data sources and selective bulk loading JSON on any platform using a new JSON paradigm
19 Nov 2020 by OriginalGriff
We can't tell you. We have no access to your code, no idea what you wrote, or what you are doing with it. The error message isn't helpful, but all we can do is suggest you google it and see if any of the situations described there fit what you...
5 Nov 2020 by Han Bo Sun
Basics of using Thymeleaf integration with Spring Boot web application, and the four basic uses of Thymeleaf mark-ups
14 Oct 2020 by h_wiedey
Using file name databases on MacOS Unix
14 Oct 2020 by h_wiedey
Organize files by using Unix find on MacOS
23 Sep 2020 by Member 14947073
Click the menue items 'View' -> 'Debug Pads' -> 'Call Stack'
26 Aug 2020 by Gerry Schmitz
GitHub - kwhat/jnativehook: Global keyboard and mouse listeners for Java.[^]
26 Aug 2020 by bhagyaraavi
I want to write mac service for find user idle time using a mouse and keyboard not using 5-minute start count and back to use mouse/keyboard stop count like count per day 24 hours and send to mail responsible person. What I have tried: I am...