Category Bmr. Mac's Page

  



This page is a list of all pages which belong to this category, Classic Mac OS. To add pages to this category, add the following wiki code to the article: Category:Classic Mac OS. BMR provides you with the best items you need to successfully complete your renovation projects. Discover our products on the official website and BMR stores.

  • Mac Optimization, Mac software - 2020-12-21 15 Top Ways To Clean Up Your Mac, MacBook, iMac Junk files, system cache, user cache, duplicates, trash bin, etc. Can occupy massive amounts of storage space on the hard disk.
  • MacOS, formerly known as Mac OS X and OS X — Apple Inc.' S BSD-based operating system for their Macintosh computers.; Subcategories. This category has the following 9 subcategories, out of 9 total.
  • In Word 2016 for Mac, you can also create a custom paper size and you can choose different paper sources for pages in your document. Choosing different paper trays allows you to use different paper for your first page, which could be a different color or heavier weight than the other pages.
Jump to: navigation, search

Docs related specifically to running Moodle under Mac OS X.


Introduction

Hi everybody.. This is my first page in the Wiki, so please be nice with me. Plus, I'm used to do my teachings/tutorials (etc..) with a weird sense of humour: I don't really know how to do without.

As I spent a lot of time (who said 'wasted' ?) trying to install/configure/upgrade Moodle on Mac Os X Server (and now, macOS Server), I thought I might write somewhere the problems I met and how I worked around some.. I did in the forum here: [[1]]

Requirements: NO MAMP here !Only macOS 10.11 Server or 10.12 Server.These informations will work on macOS 10.11 (Capitan) and 10.12 Sierra Server. If you don't have the Server app, it will NOT work this way. It should be the same for 10.10 Server & 10.9 Server, but I'm not able to test.

There already are documentation here for Mac Os X Server.. but old, and maybenot addressing the pb you have right now.Here: [[2]](for 10.5 and 10.6 .. quite old..)

and here: [[3]](for 10.8.. less old, but still.. old.. as it's 10.12 when I'm writing this).

If you're on macOS Sierra (10.12) and you go on a moodle 3.1, for instance, your php version would be recent enough.. but, if you're on a Mac Pro 2,1, 3,1, or 4,1 (2007 - 2009), you're stuck with El Capitan (10.11). It means you have to upgrade your php.. and believe me, it's not *that* easy. Same thing if you're on Sierra and wanna go for moodle 3.3 or + .. you need php7.x ..! As the one you got built-in is a php 5.x

About moodle, I only test it with 3.3 and 3.4 beta but I think it's safe to say it can be used with 3.1, 3.2, 3.3 and 3.4 version.

For those who wonder what's this app Terminal I'm gonna use, it allows to send Unix commands to the system. Very useful. You can find it in the Applications folder, in your hard disk.


First: Apache & PHP

Get this in mind: macOS Server is NOT macOS. It means the tutos and infos you'll find on the net will not be accurate, because they mostly mostly talk about macOS 'not server', the 'normal' version. Believe me, I spent weeks (yeah, really, weeks..) trying to figure out why all these tutos lead to a dead end.

In macOS Server, the Apache server is controlled by the server app, where you can activate php by clicking on the right box. But your php version is too old, right ? You want to update it anyway, let's say, to php 7.1. Thing is: you CAN NOT update the built in php. You have to install another php next to the built-in php and tell the Apache server to use this new one insteand of the old one.. But the old will not be discarded.. Which can lead, sometimes, to weird situations like 'why this app is telling me I got php 5.x while this other one is telling me I got php 7.1.4 ?'. When you know it's logical, fine. When you don't, you feel like a chicken who just finds a fork.


So, update: there several ways to do so, with homebrew, git, curl, etc.. let's go with curl and to the terminal and then, enter this:

that will install php71 in /local/If you want to check, just go in the finder, type Cmd+Shift+G (Go to..) and simply type /local/ then enter. Don't do kiddy stuff in there, if you don't want your system to go haywire.

If you want to use homebrew, I'm gonna take as done that you already installed it and if you don't: [4]Homebrew install might take a moment, so don't rush that. And then, in terminal:

that will install php71 in /local/Cellar/

If you type php -v in the terminal, it will probably tell you that you now have php 7.1, so, after that, you might think you're done.. but, ahahahahaha, nope. Apple super-murphy-powa. Try to launch a phpinfo and you'll find out that the apache server is still using the built in php (5.x version). Weird ? Yup. (I give info about phpinfo below, for those who don't know about it)


So now, you need to change the .conf used by the apache on macOS server.. WHICH IS NOT THE SAME than macOS ! Weird ? Yupyup. It's in /Library/Server/Web/Config/apache2/ !! So, let's use the terminal again (don't modify .conf or .ini file using TextEdit or Office.. you'll have permission issues after that, nasty ones !) with sudo nano (or sudo pico, I don't really see the difference).

In the Terminal:

using Ctrl + W, search for php5_module. If you have checked the php box, in the Server app (in Web Sharing section), it's uncommented (meaning: it will be used).. if you didn't, it will be commented with a # at the beginning (meaning: not used).So, I think you got it: comment it (if it's not) and unchecked the php box in Server app (and don't checked it ever again).

Under the php5_module line, add this one:

(in the case you updated with curl, previously)..

If you used homebrew.. OR if you used curl but the php version was updated (which is more and more likely to be the case as time goes on).. the path will not be the same.. doesn't matter ! Just place the right path instead of /usr/local/php5-7.1.4-20170506-100436/libphp7.so(for Homebrew, that might be something like: /usr/local/Cellar/php71/7.x.x.x/libexec/apache2/libphp7.so )Check using Cmd+Shift+G

At the end of the .conf file, you have a block starting with IfModule php5_module.. after this block, add the php7 handler:

then save with Ctrl + O, close the .conf file with Ctrl + X and, even if it's necessary, feel free to reboot..

You'll want to change something in the php.ini to activate OPCache and change some values (php memory, this kind of stuff, as adviced in Moodle documentation)

but beware then: the php.ini that will be used is NOT the one you might think.. check that using a phpinfo. How to ?Terminal again. Type in:

as it probably doesn't exist, it will create one.Type:

and then save with Ctrl + O, close the file with Ctrl + X and point your browser to localhost/info.phpthat should do the trick.

Anyway, you have not one, but several .ini files to check ! For instance, to activate OPCache, it's not the main .ini file (where you can find a line opcache.enable= ) where you will be able to do it.. but in the php.d folder, there are dozen of .ini.. so, to activate OPCache, in the terminal, if you installed with curl, and if it's the same version as previously written:

The path might not be the exact samething.. so, check that and adapt, like you did before !


Second: MySQL

Go there: [5]and download the Community Server for Mac .. and install it.

A lot of people will tell you to use phpMyAdmin to manage your SQL server, I don't. I'd rather use an app, as I'm doing in on my local machine. I use SequelPro to manage MySQL.

you might have a root password issue.. you can fix it using this tuto: [6]


Third: Moodle

I'd advice to use git to install moodle.. It might not be the easiest way for the noob (that I am) but it helps when you want to update/upgrade.

For that, the Moodle 3.3.x documentation is here: [[7]]

Basically ? Terminal again.

Type in

(if your webroot is not there, then change the path accordingly)

Everything is from the documentation.. I just add this here as a way to speed the process .. but anyway, take some time to read the docs. (you know: RTFM .. this kind of stuff)


Of course, you now foresee that, nope cap'tain, it's not enough. Auto tune pro free download pro tools 2018. We miss something. Permissions.

For once, I don't like using the terminal, but it's basically because I'm a permanent n00b and a lazy guy. Everytime I can use a nice GUI that does the trick, I'm gonna use it.

I use BatChMod from Lagentesoft: [8]I use it to find my moodle directory (probably in /Library/Server/Web/Data/Sites/Default/) and then change:

- the owner to _www

- the group to admin with Read, Write permissions

- check the box so BatChMod applies the same perm to EVERYTHING inside.

Yup, that's not subtle and I'm pretty sure a lot of geeks will burn a picture of me for doing so.. But that means pictures of me will be hot, very hot.. at least for 2 seconds. Not so bad, huh ? Still, it's better than I can be myself anytime.

Now, as the php version is ok, as My SQL is installed, point your browser to localhost/moodle/and follow the instructions.

Place the folder moodledata OUTSIDE on the folder where your site is hosted.. for security reason. By default, it's: Library/Server/Web/Data/Sites/moodledataWhich is fine.. But you can place it on another location, or another volume..

If the installer warns you about permissions, create it by yourself and you can use BatChMod again to make this moodledata folder owner as _www


After the infos about MySQL, moodle will create a config.php .. You'll have to modify it after the whole process.It installs and everything should be fine.. It might ask you to activate OPCache if you didn't. If it says it can't create the config file, because of write access, you missed the first section with BatChMod. For both, check up ahead.


Main problem that remains:

Everything except 'site not https' . It's no problem to go on with the install.. but this matter needs to be adressed, as I didn't find a proper way to make moodle worked with my ssl website (which is working fine with other website like nextcloud which need php7 and ssl as well)..


Last thing to do:

Now that's it's installed.. we need to modify the config file.

Category Bmr. Mac's Page Login

Terminal, terminal, agaaaain:

and where there's this line:

Change the url to the one that people will use to access it (something like http://www.my-moodle-is-better-than-yours.com/moodle) and then, again, Ctrl+W to save, Ctrl+X to quit.

But after that, maybe you will not be able to access it from your machine ! You need to edit your host file..


Terminaaaaaal:

and than, add a line with your url .. like this:

and then, again, Ctrl+W to save, Ctrl+X to quit.

529 #14-17 in class rotations Week 6 10/8- Quiz 2.3, 3.2 Practice: Unit 1 Practice Test 10/9- Quizizz Practice- Ask your students to join game with this code 820292 at 10/10- Unit Test Practice-Jigsaw 10/11- Angle Relationships Foldable Practice- Angle Relationships Wkst (Color Angles). Unit5 agendasmrs. colville's math classroom. Week 15 12/10-Writing & Graphing Functions Review12/11- Quiz 9.3/10.2 (HALF DAY!) 12/12- Interpreting and Writing Equation Review Practice- Review Concepts 5-7 12/13- What is a function review? Mix and Freeze Practice in Class (1.3 RAP Practice) Practice-9/17- Solving Equations-Special Cases Practice- Types of Equations 9/18- Solving Equations Practice in Class Multi-Step Equations Wkst 9/19- Quiz Concept 1 Practice- 1.3 BIG Ideas Online (pg. 23 #7, 9, 10, 14-17, 19-21, 23, 25, 27-31, 33) 9/20-Quizzes Back Quiz Corrections. 2/5- 10-1/10-2 Practice in class 2/6- SNOW DAY 2/7- 10-3 Notes Practice- p. 426 #7-25 2/8- 10-4 Notes. Contact Info Phone #: (248)684-8060 E-mail: Andrea.Colville@hvs.org.

It will say to your browser, when you go to that fancy url, like www.my-moodle-is-better-than-yours.com , in fact, point to my localhost (aka 127.0.0.1). Of course, change the line with YOUR url. (Nope, there's no real moodle with url: www.my-moodle-is-better-than-yours.com. sorry. I know you find that disappointing, but, you know, so is life..)


Conclusion:

This doesn't cover the rest of the configuration (themes, plug ins, how to setup the whole stuff), the documentation is here for that.

Plus, I do NOT fancy myself as an expert on these topics (mac, php, apache, whatever..). This is mainly to gather, in one place, and for the poor souls that want to moodle on their macOS Server machine, to avoid them the weeks of pain, anger, despair and torture I went thru..

There are still things that don't work (https, for instance.. I need help on that) .. and some stuff that may work 100% on moodle linux.. or in MAMP/XAMP/LAMP/PAMP/CLAMP (what ? the last one doesn't exist ? hang on !), well, it may not work 100% on macOS Server.


May I add that I'm french..meaning:- my english may need improvement- my anger management does need improvement (I'm french, we go on strike and riot every time, what did you expect, huh ?)- my sense of humour sure needs improvement

So, please, don't be trump on me.. (-:

Pages in category 'Mac OS X'

The following 5 pages are in this category, out of 5 total.

C

G

I

S

Retrieved from 'https://docs.moodle.org/310/en/index.php?title=Category:Mac_OS_X&oldid=128674'

The Basal Metabolic Rate (BMR) Calculator estimates your basal metabolic rate—the amount of energy expended while at rest in a neutrally temperate environment, and in a post-absorptive state (meaning that the digestive system is inactive, which requires about 12 hours of fasting).

Result


Daily calorie needs based on activity level
Activity LevelCalorie
Sedentary: little or no exercise1,926
Exercise 1-3 times/week2,207
Exercise 4-5 times/week2,351
Daily exercise or intense exercise 3-4 times/week2,488
Intense exercise 6-7 times/week2,769
Very intense exercise daily, or physical job3,050

Exercise: 15-30 minutes of elevated heart rate activity.
Intense exercise: 45-120 minutes of elevated heart rate activity.
Very intense exercise: 2+ hours of elevated heart rate activity.

Category bmr. mac
RelatedBody Fat Calculator | Calorie Calculator

The basal metabolic rate (BMR) is the amount of energy needed while resting in a temperate environment when the digestive system is inactive. It is the equivalent of figuring out how much gas an idle car consumes while parked. In such a state, energy will be used only to maintain vital organs, which include the heart, lungs, kidneys, nervous system, intestines, liver, lungs, sex organs, muscles, and skin. For most people, upwards of ~70% of total energy (calories) burned each day is due to upkeep. Physical activity makes up ~20% of expenditure and ~10% is used for the digestion of food, also known as thermogenesis.

The BMR is measured under very restrictive circumstances while awake. An accurate BMR measurement requires that a person's sympathetic nervous system is inactive, which means the person must be completely rested. Basal metabolism is usually the largest component of a person's total caloric needs. The daily caloric need is the BMR value multiplied by a factor with a value between 1.2 and 1.9, depending on activity level.

In most situations, the BMR is estimated with equations summarized from statistical data. The Harris-Benedict Equation was one of the earliest equations introduced. It was revised in 1984 to be more accurate and was used up until 1990, when the Mifflin-St Jeor Equation was introduced. The Mifflin-St Jeor Equation has been shown to be more accurate than the revised Harris-Benedict Equation. The Katch-McArdle Formula is slightly different in that it calculates resting daily energy expenditure (RDEE), which takes lean body mass into account, something that neither the Mifflin-St Jeor nor the Harris-Benedict Equation do. Of these equations, the Mifflin-St Jeor Equation is considered the most accurate equation for calculating BMR with the exception that the Katch-McArdle Formula can be more accurate for people who are leaner and know their body fat percentage. You can pick the equation to be used in the calculation by expand the settings.

The three equations used by the calculator are listed below:

Mifflin-St Jeor Equation:
BMR = 10W + 6.25H - 5A + 5
BMR = 10W + 6.25H - 5A - 161
For men:
For women:
Katch-McArdle Formula:

where:

W is body weight in kg
H is body height in cm
A is age
F is body fat in percentage

Category Bmr. Mac's Page Sign In

BMR Variables

Muscle Mass – Aerobic exercise such as running or cycling has no effect on BMR. However, anaerobic exercise, such as weight-lifting, indirectly leads to a higher BMR because it builds muscle mass, increasing resting energy consumption. The more muscle mass in the physical composition of an individual, the higher the BMR required to sustain their body at a certain level.

Age – The more elderly and limber an individual, the lower their BMR, or the lower the minimum caloric intake required to sustain the functioning of their organs at a certain level.

Genetics – Hereditary traits passed down from ancestors influence BMR.

Weather How to remove shelac nailsbobby pins and lip gloss. – Cold environments raise BMR because of the energy required to create a homeostatic body temperature. Likewise, too much external heat can raise BMR as the body expends energy to cool off internal organs. BMR increases approximately 7% for every increase of 1.36 degrees Fahrenheit in the body's internal temperature.

Diet – Small, routinely dispersed meals increase BMR. On the other hand, starvation can reduce BMR by as much as 30%. Similar to a phone that goes into power-saving mode during the last 5% of its battery, a human body will make sacrifices such as energy levels, moods, upkeep of bodily physique, and brain functions in order to more efficiently utilize what little caloric energy is being used to sustain it.

Pregnancy – Ensuring the livelihood of a separate fetus internally increases BMR. This is why pregnant women tend to eat more than usual. Also, menopause can increase or decrease BMR depending on hormonal changes.

Supplements – Certain supplements or drugs raise BMR, mostly to fuel weight loss. Caffeine is a common one.

BMR Tests

Online BMR tests with rigid formulas are not the most accurate method of determining an individual's BMR. It is better to consult a certified specialist or measure BMR through a calorimetry device. These handheld devices are available in many health and fitness clubs, doctor offices, and weight-loss clinics.

Resting Metabolic Rate

While the two are used interchangeably, there is a key difference in their definitions. Resting metabolic rate, or RMR for short, is the rate at which the body burns energy in a relaxed, but not fully inactive state. It is also sometimes defined as resting energy expenditure, or REE. BMR measurements must meet total physiological equilibrium while RMR conditions of measurement can be altered and defined by contextual limitations.

Category Bmr. Mac's Page App

Modern Wisdom

A 2005 meta-analysis study on BMR* showed that when controlling all factors of metabolic rate, there is still a 26% unknown variance between people. Essentially, an average person eating an average diet will likely have expected BMR values, but there are factors that are still not understood that determines BMR precisely.

Category Bmr. Mac's Page Store

Therefore, all BMR calculations, even using the most precise methods through specialists, will not be perfectly accurate in their measurements. Not all human bodily functions are well understood just yet, so calculating total daily energy expenditure (TDEE) derived from BMR estimates are just that, estimates. When working towards any sort of health or fitness goals, BMR can aid in laying down the foundations, but from there on it has little else to offer. A calculated BMR and thus TDEE may result in unsatisfactory results because of their rough estimates, but maintaining a daily journal of exercise, food consumption, etc., can help track the factors that lead to any given results and help determine what works, as well as what needs to be improved upon. Tracking progress in said journal and making adjustments over time as needed is generally the best indication of progress towards reaching personal goals.

Reference

* Johnstone AM, Murison SD, Duncan JS, Rance KA, Speakman JR, Factors influencing variation in basal metabolic rate include fat-free mass, fat mass, age, and circulating thyroxine but not sex, circulating leptin, or triiodothyronine1. Am J Clin Nutr 2005; 82: 941-948.