A Brief History of All Things Mathematical by Johnny Ball
M1
University of Illinois CS_400: Object-Oriented Data Structures in C++
The University of Illinois (U-C) had a class on Coursera: "Object-Oriented Data Structures in C++"
https://www.coursera.org/learn/cs-fundamentals-1
Uki@iMac 18:38 Coursera_OO_data_structures_Cpp $ cd ..
Uki@iMac 18:38 _REPOS $ git clone https://github.com/wadefagen/coursera.git coursera-cs400
Cloning into 'coursera-cs400'...
Setting up macOS for C++
Install Apple XCode
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
sudo xcode-select --reset
Getting BREW
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
the above will take quite a few minutes.
Once BREW is installed, install the following:
brew install ghostscript
brew link --overwrite freetype
brew install imagemagick
brew link --overwrite libtool
brew install graphvizbrew install cmake
brew edit valgrind
This will open your default code editor. In the opened file, change the URL in the head section from https://sourceware.org/git/valgrind.git
brew update brew install --HEAD valgrind
$ cd /Volumes/GoogleDrive/My\ Drive/_REPOS/coursera_wadefagen/cpp-std
cpp-std $ make
xcrun: error: active developer path ("/Volumes/SSD500GB/Applications/Xcode.app/Contents/Developer") does not exist
...
Uki@iMac 02:03 cpp-std $ sudo xcode-select --reset
Password:
Uki@iMac 02:07 cpp-std $ make
g++ -std=c++14 -O0 -pedantic -Wall -Wfatal-errors -Wextra -MMD -MP -g -c main.cpp -o .objs/main.o
g++ -std=c++14 -O0 -pedantic -Wall -Wfatal-errors -Wextra -MMD -MP -g -c Cube.cpp -o .objs/Cube.o
g++ .objs/main.o .objs/Cube.o -std=c++14 -o main
g++ cout.cpp -std=c++14 -o cout
g++ cout2.cpp -std=c++14 -o cout2
Uki@iMac 02:08 cpp-std $ open .
Uki@iMac 02:10 cpp-std $ ls -alt
total 96
drwx------@ 1 Uki staff 16K Aug 12 02:10 ../
drwx------@ 1 Uki staff 16K Aug 12 02:08 ./
-rwx------@ 1 Uki staff 54K Aug 12 02:08 cout*
-rwx------@ 1 Uki staff 54K Aug 12 02:08 cout2*
-rwx------@ 1 Uki staff 61K Aug 12 02:08 main*
drwx------@ 1 Uki staff 16K Aug 12 02:08 .objs/
-rwx------@ 1 Uki staff 26B Aug 10 18:37 .gitignore*
-rwx------@ 1 Uki staff 368B Aug 10 18:37 Cube.cpp*
-rwx------@ 1 Uki staff 312B Aug 10 18:37 Cube.h*
-rwx------@ 1 Uki staff 228B Aug 10 18:37 Makefile*
-rwx------@ 1 Uki staff 209B Aug 10 18:37 cout.cpp*
-rwx------@ 1 Uki staff 248B Aug 10 18:37 cout2.cpp*
-rwx------@ 1 Uki staff 395B Aug 10 18:37 main.cpp*
Uki@iMac 02:14 cpp-std $ ./main
Volume: 13.824
Surface Area: 34.56
Week 2
2.1 Stack Memory and Pointers
https://www.coursera.org/learn/cs-fundamentals-1/lecture/Iccq3/2-1-stack-memory-and-pointers
How to make the compiled files execute in the command line?
If you get a similar error, you might have to change the mode to execute the file..
cpp-memory % chmod +x addressOf
cpp-memory % ./addressOf
Value: 7
Address: 0x7ff7b9eef878
Hot not to Be Wrong. The Power of Mathematical Thinking by Jordan Ellenberg
My favorite quotations..
“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.” by Robert A. Heinlein
"We are but habits and memories we chose to carry along." ~ Uki D. Lucas
Recommended pages
Popular Recent Articles
-
O'REILLY 201 0011 031 10110100180 000110111 01100041 001100010010000 5011011001010 1101110011 000100000 00000 10 1000012 Escaping the Bu...
-
I have noticed a very unsettling statistic on my blog. This prompted a fascinating question about AI, blogs' future, and maybe even the...
-
By default, iPhone assumes that the page width is industry standard (ie. 980px), even if you display a tiny widget. To make the page with w...
-
Check out this video on YouTube: http://www.youtube.com/watch?v=BIEwUxMrJ4Y
-
https://arxiv.org/abs/2402.14531#:~:text=This%20phenomenon%20suggests%20that%20LLMs,language%20processing%20and%20LLM%20usage
-
When trying to open the database you may get the following exception: java.sql.sqlexception: [sqlite_error] sql error or missing database (n...
-
After four meetings in a row, I had the need to get out of the office and go to Redmond French Cafe . The “Croque Madame” plate is not the b...
-
Only 9 years ago - 500,000 downloads - 2303 reviews Not too shabby. Today - couldn't log in Please SUBSCRIBE: https://ukidlucas.beehiiv...
-
TensorFlow 1.0 is promising more stable GPU build for Mac, let's test it. Make sure you have CUDA installed $ echo $DYLD_LIBRARY_PATH /u...
-
On the mobile, the page is hard to read so I am including a LINK to Google document ...