Skeletal muscle heme oxygenase-1 [HO-1] activity regulates aerobic capacity

Physical exercise is enormously important for quality of life, and a cellular hallmark of exercise is the release of free heme following muscle micro trauma. Heme is an important signaling molecule but can be toxic at high doses. Two enzymes are responsible for heme degradation, Hpx, and HO-1. Hpx is an enzyme that scavenges free heme and transports it into cells where it is degraded by the enzyme HO-1. The products of heme degradation by HO-1, among which are carbon monoxide, are highly protective and anti inflammatory. In this paper produced by members of my lab, the hypothesis that heme metabolism is critical in skeletal muscle cell recovery and maintenance of function after aerobic exercise was tested. We show that in the absence of Hpx, the enzyme responsible for scavenging free heme, both untrained and trained mice exhibit no muscle deficits. In contrast, mice lacking HO-1 selectively in skeletal muscle fibers show dramatic structural and functional remodeling toward a fast and more fatigue-prone phenotype. We discovered that loss of HO-1 within muscle fibers impaired the benefits of aerobic exercise training (TR) and altered the muscle phenotype within weeks of deletion, driven largely by changes in metabolism and mitochondrial bioenergetics. Collectively, this study provides insights into the role of heme flux, and HO-1 activity, as an essential pathway necessary for developing and maintaining exercise capacity and muscle physiology.

https://www.cell.com/cell-reports/fulltext/S2211-1247(21)00332-6?fbclid=IwAR1z3N6ER-Xe5Xuy_8-bgK8WWUBg39RKxc1--S9LWSgqdXnI2KSWGsYIA0M

HTML 1A Set 9 Exercise: Create a Form

Made a form with HTML and CSS

Google Open Source

Ever wonder what goes on behind the scenes with googles various products, languages, and frameworks? Google is a huge advocate for open source projects, and along with GitHub, they have their own version management system. You can find their public repositories listed on their website linked below:

https://opensource.google/
I <3 OpenSource

Web Server written in GoLang

This is a basic web server made with the language Go. I added a basic mdbootstrap landing template as a placeholder for an index.html, though the main focus was the language itself. Go is a language that was developed by google employees in 2009 and has developed into a large open-source project. The reason Go is unique is because of its Async functionality, low level functionality, and simplicity. It is similar to scripting languages (such as python, javascript, etc.) because of its simplicity and learning curve, though has features such as pointers similar to lower level languages. Furthermore, since Go is a compiled language, it is fast as it compiles into machine code. Also, Go is a statically typed language similar to Java, C++, and C. Statically-typed languages require type definitions initialized before said variable is used, while dynamically-typed languages perform type checking at runtime; most programmers don't find this too limiting, though it is something to account for. I have been currently learning GoLang through the website linked below.

https://gobyexample.com/
Adam Blumenfeld Mar 20

Example of static typing: int num; num = 4 Example of dynamic typing: num = 4

Adam Blumenfeld May 09

Awesome Post

Adam Blumenfeld Mar 20

**Side note The official name of the language is "Go". Though some people refer to it by "GoLang" due to their website being named https://golang.org/

Snake game but your the food by m'friend

Just look at em

from blessed import Terminal import random import copy from collections import deque term = Terminal() UP = term.KEY_UP RIGHT = term.KEY_RIGHT LEFT = term.KEY_LEFT DOWN = term.KEY_DOWN DIRECTIONS = [LEFT, UP, RIGHT, DOWN] MOVEMENT_MAP = {LEFT: [0, -1], UP: [-1, 0], RIGHT: [0, 1], DOWN: [1, 0]} WASD_MAP = {'w': UP, 'a': LEFT, 's': DOWN, 'd': RIGHT, 'W': UP, 'A': LEFT, 'S': DOWN, 'D': RIGHT} dead = False #-------CONFIG--------# BORDER = '⬜️' BODY = '🟩' HEAD = '🟥' SPACE = ' ' APPLE = '🍎' # initial snake position snake = deque([[6, 5], [6, 4], [6, 3]]) # initial food position food = [5, 10] h, w = 10, 15 # height, width score = 0 # initial speed speed = 3 # max speed MAX_SPEED = 6 # N1 and N2 represents the snake's movement frequency. # The snake will only move N1 out of N2 turns. N1 = 1 N2 = 2 # M represents how often the snake will grow. # The snake will grow every M turns. M = 9 # -----CONFIG END------ messages = ['you can do it!', "don't get eaten!", 'run, forest, run!', "where there's a will, there's a way", "you can beat it!", "outsmart the snake!", "i believe in you!", "trap the snake to win!"] message = None def list_empty_spaces(world, space): result = [] for i in range(len(world)): for j in range(len(world[i])): if world[i][j] == space: result.append([i, j]) return result with term.cbreak(), term.hidden_cursor(): # clear the screen print(term.home + term.clear) # Initialize the world world = [[SPACE] * w for _ in range(h)] for i in range(h): world[i][0] = BORDER world[i][-1] = BORDER for j in range(w): world[0][j] = BORDER world[-1][j] = BORDER for s in snake: world[s[0]][s[1]] = BODY head = snake[0] world[head[0]][head[1]] = HEAD world[food[0]][food[1]] = APPLE for row in world: print(' '.join(row)) print('use arrow keys or WASD to move!') print("this time, you're the food 😱\n") print('I recommend expanding the terminal window') print('so the game has enough space to run') val = '' moving = False turn = 0 while True: val = term.inkey(timeout=1/speed) if val.code in DIRECTIONS or val in WASD_MAP.keys(): moving = True if not moving: continue # let the snake decide where to move head = snake[0] y_diff = food[0] - head[0] x_diff = food[1] - head[1] preferred_move = None if abs(y_diff) > abs(x_diff): if y_diff <= 0: preferred_move = UP else: preferred_move = DOWN else: if x_diff >= 0: preferred_move = RIGHT else: preferred_move = LEFT # check if the preferred move is valid # if not, check if all the the other moves are valid preferred_moves = [preferred_move] + list(DIRECTIONS) next_move = None for move in preferred_moves: movement = MOVEMENT_MAP[move] head_copy = copy.copy(head) head_copy[0] += movement[0] head_copy[1] += movement[1] heading = world[head_copy[0]][head_copy[1]] if heading == BORDER: continue elif heading == BODY: # For every M turns, the snake grows # longer. So, the head can move to the # tail's location only if turn % M != 0 if head_copy == snake[-1] and turn % M != 0: next_move = head_copy break else: continue else: next_move = head_copy break if next_move is None: break turn += 1 # snake only moves N - 1 out of N turns. # before the snake moves, clear the current # location of the food. world[food[0]][food[1]] = SPACE if turn % N2 < N1: snake.appendleft(next_move) # for every M turns or so, the snake grows longer and everything becomes faster world[head[0]][head[1]] = BODY if turn % M != 0: speed = min(speed * 1.05, MAX_SPEED) tail = snake.pop() world[tail[0]][tail[1]] = SPACE world[next_move[0]][next_move[1]] = HEAD # And then the food moves food_copy = copy.copy(food) # First, encode the movement in food_copy if val.code in DIRECTIONS or val in WASD_MAP.keys(): direction = None if val in WASD_MAP.keys(): direction = WASD_MAP[val] else: direction = val.code movement = MOVEMENT_MAP[direction] food_copy[0] += movement[0] food_copy[1] += movement[1] # Check where the food is heading food_heading = world[food_copy[0]][food_copy[1]] # You only die if the snake's head eats you. The body won't do any damage. if food_heading == HEAD: dead = True # Only move the food if you're trying to # move to an empty space. if food_heading == SPACE: food = food_copy # If somehow the food's current location # overlaps with the snake's body, then # the apple's dead. if world[food[0]][food[1]] == BODY or world[food[0]][food[1]] == HEAD: dead = True if not dead: world[food[0]][food[1]] = APPLE print(term.move_yx(0, 0)) for row in world: print(' '.join(row)) score = len(snake) - 3 print(f'score: {turn} - size: {len(snake)}' + term.clear_eol) if dead: break if turn % 50 == 0: message = random.choice(messages) if message: print(message + term.clear_eos) print(term.clear_eos, end='') if dead: print('you were eaten by the snake!' + term.clear_eos) else: print('woah you won!! how did you do it?!' + term.clear_eos)
Elijah@F Mar 14

nice..

Snake game but your the food by m'friend

Just look at em

from blessed import Terminal import random import copy from collections import deque term = Terminal() UP = term.KEY_UP RIGHT = term.KEY_RIGHT LEFT = term.KEY_LEFT DOWN = term.KEY_DOWN DIRECTIONS = [LEFT, UP, RIGHT, DOWN] MOVEMENT_MAP = {LEFT: [0, -1], UP: [-1, 0], RIGHT: [0, 1], DOWN: [1, 0]} WASD_MAP = {'w': UP, 'a': LEFT, 's': DOWN, 'd': RIGHT, 'W': UP, 'A': LEFT, 'S': DOWN, 'D': RIGHT} dead = False #-------CONFIG--------# BORDER = '⬜️' BODY = '🟩' HEAD = '🟥' SPACE = ' ' APPLE = '🍎' # initial snake position snake = deque([[6, 5], [6, 4], [6, 3]]) # initial food position food = [5, 10] h, w = 10, 15 # height, width score = 0 # initial speed speed = 3 # max speed MAX_SPEED = 6 # N1 and N2 represents the snake's movement frequency. # The snake will only move N1 out of N2 turns. N1 = 1 N2 = 2 # M represents how often the snake will grow. # The snake will grow every M turns. M = 9 # -----CONFIG END------ messages = ['you can do it!', "don't get eaten!", 'run, forest, run!', "where there's a will, there's a way", "you can beat it!", "outsmart the snake!", "i believe in you!", "trap the snake to win!"] message = None def list_empty_spaces(world, space): result = [] for i in range(len(world)): for j in range(len(world[i])): if world[i][j] == space: result.append([i, j]) return result with term.cbreak(), term.hidden_cursor(): # clear the screen print(term.home + term.clear) # Initialize the world world = [[SPACE] * w for _ in range(h)] for i in range(h): world[i][0] = BORDER world[i][-1] = BORDER for j in range(w): world[0][j] = BORDER world[-1][j] = BORDER for s in snake: world[s[0]][s[1]] = BODY head = snake[0] world[head[0]][head[1]] = HEAD world[food[0]][food[1]] = APPLE for row in world: print(' '.join(row)) print('use arrow keys or WASD to move!') print("this time, you're the food 😱\n") print('I recommend expanding the terminal window') print('so the game has enough space to run') val = '' moving = False turn = 0 while True: val = term.inkey(timeout=1/speed) if val.code in DIRECTIONS or val in WASD_MAP.keys(): moving = True if not moving: continue # let the snake decide where to move head = snake[0] y_diff = food[0] - head[0] x_diff = food[1] - head[1] preferred_move = None if abs(y_diff) > abs(x_diff): if y_diff <= 0: preferred_move = UP else: preferred_move = DOWN else: if x_diff >= 0: preferred_move = RIGHT else: preferred_move = LEFT # check if the preferred move is valid # if not, check if all the the other moves are valid preferred_moves = [preferred_move] + list(DIRECTIONS) next_move = None for move in preferred_moves: movement = MOVEMENT_MAP[move] head_copy = copy.copy(head) head_copy[0] += movement[0] head_copy[1] += movement[1] heading = world[head_copy[0]][head_copy[1]] if heading == BORDER: continue elif heading == BODY: # For every M turns, the snake grows # longer. So, the head can move to the # tail's location only if turn % M != 0 if head_copy == snake[-1] and turn % M != 0: next_move = head_copy break else: continue else: next_move = head_copy break if next_move is None: break turn += 1 # snake only moves N - 1 out of N turns. # before the snake moves, clear the current # location of the food. world[food[0]][food[1]] = SPACE if turn % N2 < N1: snake.appendleft(next_move) # for every M turns or so, the snake grows longer and everything becomes faster world[head[0]][head[1]] = BODY if turn % M != 0: speed = min(speed * 1.05, MAX_SPEED) tail = snake.pop() world[tail[0]][tail[1]] = SPACE world[next_move[0]][next_move[1]] = HEAD # And then the food moves food_copy = copy.copy(food) # First, encode the movement in food_copy if val.code in DIRECTIONS or val in WASD_MAP.keys(): direction = None if val in WASD_MAP.keys(): direction = WASD_MAP[val] else: direction = val.code movement = MOVEMENT_MAP[direction] food_copy[0] += movement[0] food_copy[1] += movement[1] # Check where the food is heading food_heading = world[food_copy[0]][food_copy[1]] # You only die if the snake's head eats you. The body won't do any damage. if food_heading == HEAD: dead = True # Only move the food if you're trying to # move to an empty space. if food_heading == SPACE: food = food_copy # If somehow the food's current location # overlaps with the snake's body, then # the apple's dead. if world[food[0]][food[1]] == BODY or world[food[0]][food[1]] == HEAD: dead = True if not dead: world[food[0]][food[1]] = APPLE print(term.move_yx(0, 0)) for row in world: print(' '.join(row)) score = len(snake) - 3 print(f'score: {turn} - size: {len(snake)}' + term.clear_eol) if dead: break if turn % 50 == 0: message = random.choice(messages) if message: print(message + term.clear_eos) print(term.clear_eos, end='') if dead: print('you were eaten by the snake!' + term.clear_eos) else: print('woah you won!! how did you do it?!' + term.clear_eos)

Snake game but your the food by m'friend

Just look at em

from blessed import Terminal import random import copy from collections import deque term = Terminal() UP = term.KEY_UP RIGHT = term.KEY_RIGHT LEFT = term.KEY_LEFT DOWN = term.KEY_DOWN DIRECTIONS = [LEFT, UP, RIGHT, DOWN] MOVEMENT_MAP = {LEFT: [0, -1], UP: [-1, 0], RIGHT: [0, 1], DOWN: [1, 0]} WASD_MAP = {'w': UP, 'a': LEFT, 's': DOWN, 'd': RIGHT, 'W': UP, 'A': LEFT, 'S': DOWN, 'D': RIGHT} dead = False #-------CONFIG--------# BORDER = '⬜️' BODY = '🟩' HEAD = '🟥' SPACE = ' ' APPLE = '🍎' # initial snake position snake = deque([[6, 5], [6, 4], [6, 3]]) # initial food position food = [5, 10] h, w = 10, 15 # height, width score = 0 # initial speed speed = 3 # max speed MAX_SPEED = 6 # N1 and N2 represents the snake's movement frequency. # The snake will only move N1 out of N2 turns. N1 = 1 N2 = 2 # M represents how often the snake will grow. # The snake will grow every M turns. M = 9 # -----CONFIG END------ messages = ['you can do it!', "don't get eaten!", 'run, forest, run!', "where there's a will, there's a way", "you can beat it!", "outsmart the snake!", "i believe in you!", "trap the snake to win!"] message = None def list_empty_spaces(world, space): result = [] for i in range(len(world)): for j in range(len(world[i])): if world[i][j] == space: result.append([i, j]) return result with term.cbreak(), term.hidden_cursor(): # clear the screen print(term.home + term.clear) # Initialize the world world = [[SPACE] * w for _ in range(h)] for i in range(h): world[i][0] = BORDER world[i][-1] = BORDER for j in range(w): world[0][j] = BORDER world[-1][j] = BORDER for s in snake: world[s[0]][s[1]] = BODY head = snake[0] world[head[0]][head[1]] = HEAD world[food[0]][food[1]] = APPLE for row in world: print(' '.join(row)) print('use arrow keys or WASD to move!') print("this time, you're the food 😱\n") print('I recommend expanding the terminal window') print('so the game has enough space to run') val = '' moving = False turn = 0 while True: val = term.inkey(timeout=1/speed) if val.code in DIRECTIONS or val in WASD_MAP.keys(): moving = True if not moving: continue # let the snake decide where to move head = snake[0] y_diff = food[0] - head[0] x_diff = food[1] - head[1] preferred_move = None if abs(y_diff) > abs(x_diff): if y_diff <= 0: preferred_move = UP else: preferred_move = DOWN else: if x_diff >= 0: preferred_move = RIGHT else: preferred_move = LEFT # check if the preferred move is valid # if not, check if all the the other moves are valid preferred_moves = [preferred_move] + list(DIRECTIONS) next_move = None for move in preferred_moves: movement = MOVEMENT_MAP[move] head_copy = copy.copy(head) head_copy[0] += movement[0] head_copy[1] += movement[1] heading = world[head_copy[0]][head_copy[1]] if heading == BORDER: continue elif heading == BODY: # For every M turns, the snake grows # longer. So, the head can move to the # tail's location only if turn % M != 0 if head_copy == snake[-1] and turn % M != 0: next_move = head_copy break else: continue else: next_move = head_copy break if next_move is None: break turn += 1 # snake only moves N - 1 out of N turns. # before the snake moves, clear the current # location of the food. world[food[0]][food[1]] = SPACE if turn % N2 < N1: snake.appendleft(next_move) # for every M turns or so, the snake grows longer and everything becomes faster world[head[0]][head[1]] = BODY if turn % M != 0: speed = min(speed * 1.05, MAX_SPEED) tail = snake.pop() world[tail[0]][tail[1]] = SPACE world[next_move[0]][next_move[1]] = HEAD # And then the food moves food_copy = copy.copy(food) # First, encode the movement in food_copy if val.code in DIRECTIONS or val in WASD_MAP.keys(): direction = None if val in WASD_MAP.keys(): direction = WASD_MAP[val] else: direction = val.code movement = MOVEMENT_MAP[direction] food_copy[0] += movement[0] food_copy[1] += movement[1] # Check where the food is heading food_heading = world[food_copy[0]][food_copy[1]] # You only die if the snake's head eats you. The body won't do any damage. if food_heading == HEAD: dead = True # Only move the food if you're trying to # move to an empty space. if food_heading == SPACE: food = food_copy # If somehow the food's current location # overlaps with the snake's body, then # the apple's dead. if world[food[0]][food[1]] == BODY or world[food[0]][food[1]] == HEAD: dead = True if not dead: world[food[0]][food[1]] = APPLE print(term.move_yx(0, 0)) for row in world: print(' '.join(row)) score = len(snake) - 3 print(f'score: {turn} - size: {len(snake)}' + term.clear_eol) if dead: break if turn % 50 == 0: message = random.choice(messages) if message: print(message + term.clear_eos) print(term.clear_eos, end='') if dead: print('you were eaten by the snake!' + term.clear_eos) else: print('woah you won!! how did you do it?!' + term.clear_eos)

Elements with border boxes

I had to make a couple of class elements. Each class element means something. The first class controls the whole thing so I used a text-align code to center the boxes. The next class, I used inline-block so the background color only stretched to the width of the text. The rest of it was all the margin width and color.

Creating a Navigation Bar

This is how I created a Navigation Bar. The first couple of steps I did was actually make the classes and the ids, and create the words, Navigation, Home, Features, Pricing, and About. Then I use margins and display:flex to put them onto the same line and format them correctly. Last thing I did was simply add an aqua background color.

Hangman

https://repl.it/@ArnavGupta5/Hang-Man#main.py
words=["apple","explain","already","steward","deputy","healthy","satisfaction","ballot","reptile","resort"] from random import randint number=randint(0,len(words)-1) wordcreator=words[number] def splitt(word): return[char for char in word] wrong=[] correct=[] isit=False c=0 r=0 length=len(wordcreator) for q in range (0, length,1): correct.append("*") for e in range(0,11, 1): entry=input("Enter a letter: ") r=0 isit=False for w in range (0,length,1): #print(wordcreator[r]) if entry==wordcreator[r]: correct[r]=entry isit=True #r=r+1 #26 and 27 has problem if r==length-1: #print("The value of r is...", r) if isit==False: wrong.append(entry) #if "*"!=correct[r]: #print("You Won!!!!") #break r=r+1 c=c+1 print("Your incorrect letters are: ",wrong) print("You correct letters are: ",correct) print("You have guessed",c,"letters. You have",11-c,"guesses left") if e==10: print("You lost") print("The word was",wordcreator) #Entry():

Pi Calculator

Pi Calculator! Multiplies your inputed number by 3.14 a.k.a pi. Voila, you get the answer. I will add link soon. There is a glitch in repl but feel free to use your terminal to run the program!

pi = 3.14 print(" PI CALCULATOR ") num = float(input("Input number so I can multiply it by pi: ")) num2 = num * pi print("Answer is ", num2,"yo!")

Cube

A simple cube using turtle

import turtle t = turtle.Turtle() t.color("blue") for i in range(4): t.forward(100) t.left(90) t.penup() t.left(90) t.forward(60) t.right(90) t.forward(60) t.left(90) t.pendown() for i in range(4): t.forward(100) t.right(90) t.left(135) t.forward(85) t.backward(85) t.penup() t.backward(55) t.pendown() t.backward(85) t.left(45) t.penup() t.forward(100) t.right(45) t.pendown() t.forward(85) t.penup() t.right(135) t.forward(100) t.left(90) t.forward(100) t.right(135) t.pendown() t.forward(85) t.hideturtle()
1 2 ... 32