This application is designed to serve as a self-contained backend service providing a non-linear multi-dimensional equation solver.
- a computer running Linux, WSL for Windows or Unix for MacOS
- terminal access to a bash shell
I'm sorry to keep everybody waiting. | |
Sixteen months ago, in April of 2023, I launched my campaign for President of the United States. | |
I began this journey as a Democrat, the party of my father and my uncle, the party which I pledged my own allegiance to long before I was old enough to vote. | |
I attended my first Democratic convention at the age of six in 1960. | |
And back then, the Democrats were the champions of the Constitution of civil rights. |
TL;DR: If you skip to the end it didn't work. Complains that my C compiler didn't work. See here: | |
"""checking whether the C compiler works... no | |
xcrun: error: SDK "iphoneos" cannot be located | |
xcrun: error: SDK "iphoneos" cannot be located | |
xcrun: error: SDK "iphoneos" cannot be located | |
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos' | |
/Users/alok/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-73c24/missing: Unknown `--is-lightweight' option | |
Try `/Users/alok/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-73c24/missing --help' for more information | |
configure: WARNING: 'missing' script is too old or missing | |
configure: error: in `/Users/alok/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-73c24': |
[4/4] 🔨 Building fresh packages... | |
[6/10] ⠁ fsevents | |
[-/10] ⠁ waiting... | |
[-/10] ⠁ waiting... | |
[10/10] ⠁ ejs | |
warning Error running install script for optional dependency: "/Users/alok/sites/alokblog/node_modules/fsevents: Command failed. | |
Exit code: 1 | |
Command: node-gyp rebuild | |
Arguments: | |
Directory: /Users/alok/sites/alokblog/node_modules/fsevents |
// url = 'https://solvo-api.herokuapp.com/api/v1/update' | |
{ | |
"meta": { | |
"name": "System-1", | |
"path": "files/file-1.yml", | |
"ready": false, | |
"error": "" |
{ | |
"meta": { | |
"name": "System-1", | |
"ready": false, | |
"error": "" | |
}, | |
"equations": [ | |
{ | |
"text": "x^2 + y^2 = z^2", | |
"disabled": false, |
(solvo_base_api) bash-3.2$ heroku logs --tail | |
2019-08-09T03:41:59.397413+00:00 app[web.1]: reraise(type(exception), exception, tb=exc_tb, cause=cause) | |
2019-08-09T03:41:59.397415+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/sqlalchemy/util/compat.py", line 152, in reraise | |
2019-08-09T03:41:59.397417+00:00 app[web.1]: raise value.with_traceback(tb) | |
2019-08-09T03:41:59.397426+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1244, in _execute_context | |
2019-08-09T03:41:59.397428+00:00 app[web.1]: cursor, statement, parameters, context | |
2019-08-09T03:41:59.397430+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 552, in do_execute | |
2019-08-09T03:41:59.397431+00:00 app[web.1]: cursor.execute(statement, parameters) | |
2019-08-09T03:41:59.397433+00:00 app[web.1]: sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedTable) relation "model" does not exist | |
2019-08-09T03:41:59.397435+ |
Install dependencies for building Python 3.7.x source | |
$ sudo apt update -y | |
$ sudo apt install -y software-properties-common | |
$ sudo add-apt-repository ppa:deadsnakes/ppa | |
$ sudo apt install python3.7 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# CSVify converts a space delimited text file to csv and saves it | |
# with a .csv extension. | |
def csvify(infilename, outfilename): | |
with open(outfilename, 'w') as outfile: | |
with open(infilename, 'r') as infile: | |
for line in infile.readline(): |
source: https://wiki.manjaro.org/index.php?title=Burn_an_ISO_File#Writing_to_a_USB_Stick_in_Linux
Writing to a USB Stick in Linux
Using the Terminal
To burn the iso on an usb stick, enter the following command in a terminal :
sudo dd bs=4M if=/path/to/manjaro.iso of=/dev/sd[drive letter] status=progress