What’s your weather?

Does rain make us sad? Do hot days make us irritated and angry? Do stormy days make us feel alone and isolated? After spending some time looking through several articles and websites, I found that weather can affect our mood in many ways.

The first being the amount of sunlight we are exposed to. A lack of sunlight usually occurring when day light becomes scarce causes the body to feel sleepy. This is because melatonin is produced in the absence of light making you crave mid-day naps and as a result you produce lower serotonin levels which helps regulate mood, appetite and sleep.
Comparatively, exposing our bodies to lots of sunlight stimulates Vitamin D production. Serotonin levels increase and mood is instantly lifted. It makes us feel positive, happy and energised.

Mood can also be affected by temperature. Cold temperatures slow muscle activity, blood flow and balance which all influence the performance of physical tasks. Instead of feeling motivated to go to the gym at early hours of the morning we feel uninspired and typically don’t end up going which puts strain on our mood in the long run. Hot temperatures can cause discomfort and aggression on roads, on game day, at work, at school. We may feel flustered and stressed. The ideal temperature to function optimally is 20°C. Anything that deviates from this will cause fluctuations.

It’s raining it’s pouring the old man is snoring… a clinical psychologist in San Francisco, Tecisa Evans says “…It’s pretty common to see a change in mood – such as feeling sadness or lower self-esteem – when it’s rainy outside. It is no surprise that when it rains this is the case as I’m sure we have all felt glum at some stage in our lives seeing the water stream down the windows like tears.

It is obvious weather can affect mood, but this alone is not the only cause. Because mood is a very individualised thing there is no simple equation that can be used to predict and describe mood changes for everyone. This is something interesting and worthy to think about.

References:

https://theconversation.com/here-comes-the-sun-how-the-weather-affects-our-mood-19183

https://www.bustle.com/articles/113278-6-scientific-ways-weather-affects-your-mood-so-you-can-adapt-your-mind-and-body-through

https://www.webmd.com/balance/features/can-rainy-days-really-get-you-down#1

crapsules: a (sh*tty) poem

creative writing based on medical discoveries happens when your afternoon and evening is spent inhaling skycity fumes

the newest treatment for all your problems is here!
forget antibiotics and their resistant superbugs,
crapsules will restore your health with no fear.
you go from giving your stomach hugs

as cramps overtake your days,
to a life with less pain and a healthy gut microbiome.
the good microbes have their ways
of finding pathogens as they roam

the gut and attack with intent.

these pills are the newest in fmt
(faecal microbiota transplant)!
your gut will thank you aplenty
when it is repopulated with these bacterial implants,

after antibiotics killed all the good microbes.
how are they made?
these are used all across the globe,
there is no need to be afraid,

fecal suspensions have been used since the ancient orient.*

donors are heavily screened
for the best composition of gut flora.
their faeces churned to be convened
in a slurry that that gives a distinct aura

that can’t be smelt or tasted due to the casing
only broken down once in the gut.
then the good microbes will be replacing
bad bacteria down to the butt.

these can help with so many disorders:
c.difficile, ulcerative colitis, crohn’s disease, ibs…
so come on, don’t be a poo hoarder,
donate so that other bowels can suffer less!

the gut microbiome also affects you psychologically,
so crapsules could also impact depression and anxiety.
it’s not just about how it affects you biologically
as these interact to affect the beings of our society .

– j.c. –

shoutout to rhymezone.com for their help!

*that is a colonial term that i do not identify with nor appreciate the use of, particularly in commercial products, but used in this poem for the sake of the rhyme.

worth checking out:

How to get the result you want from a survey

Many people are not aware that the outcome very much depends on how you conduct the survey, and what questions you ask. I will talk about the effect of leading questions in this blog. 

Leading questions can be defined in several ways. A very simple definition is a question which you can only reply ‘yes/agree’ or ‘no/disagree’. By framing a question in such ways, the surveyor reduces a complex question that requires a comprehensive understanding of the matter to a simple question with binary answers. This can be problematic because the answer is almost predictable – we tend to select the socially acceptable answer. (This phenomenon is known as ‘behavioral consideration’) By displaying a set of such binary questions in a persuasive order, the person who takes the survey can be ‘persuaded’ to select the option the surveyor wants. It is like using delicately selected evidence to persuade people to believe in something. 

A very short video (2 mins) demonstrates what I mean.

The comedy video shows how leading questions can be applied in politics. In fact, some people in politics even use leading questions to attack their opponents. (This is done by constructing a negative profile of the opponent by asking the leading questions. As a result, negative emotions are evoked among people who took the survey)

Deliberate leading question is an example of data manipulation. At the end of the day, we will very likely be getting distorted data. However, in scientific research, it can be very tempting to manipulate your data ‘a bit’  to get the results you want, especially when you’ve done countless experiments and still couldn’t find any valuable outcome. And there is a relatively small number of replication done in the scientific research field to fact-check the theories because there is no reward for doing so. 

I believe what the leading question tells us is that it can be very dangerous, both in terms of data distortion and data manipulation. This is something we as scientists should be aware of when conducting surveys, and reading outcomes from surveys conducted by other researchers. 

What is Prisoner’s Dilemma?

The Nash equilibrium is a concept in game theory. One of the famous example of Nash equilibrium is Prisoner’s Dilemma. It works like following. Two criminal has been arrested and imprisoned. They been put in to two separate room so that they can’t take to each other. The police told them the same things. If they both stays silent, then each of them will serves 1 year in prison. If one of them stays silent and the other betrays him, then the person stays silent will serves 10 years in prison and the person betrayed will be free. If they both betrays each others, then each of them will serves 5 years in prison. It works like the table below.

person A \ person BB stays silentB betrays A
A stays
silent
-1\-1-10\0
A betrays B0\-10-5\-5

The best option is clearly A and B both stays silent. But both of them will think in the following way. A will think if B stays silent, then if he also choose to stay silent. He will serves 1 year in prison. But if he choose to betray B. Then he will be free (-1 < 0). Therefore if B stays silent then betray is the best solution for A. What if B choose to betrays? If A stays silent then he will serves 10 years in prison. But if A betray as well he only need to serves 5 years in prison. So if B betrays, then betray is also the best solution for A. Therefore doesn’t matter what B choose, A will always betray. And since B will think in the same way as A. B will also choose to betray A. So they end up both serves 5 years in prison. And this option is the Nash equilibrium. So is there a way to solve this problem. Well it depends. If the two criminals want to cooperate more. Then they can tell each other to stays silent before then got arrested. But if this is the last time they cooperate. Then it would be hard for them to not betray each other.

This is how Prisoner’s Dilemma work. I hope you likes it 🙂

Animal Crossing

Modern Civilization has not been kind to the animals of the world.

Habitat size shrinks due to the development of land for human settlement and food production. We change the climate, warm temperatures and decrease seasonal weather which many ecosystems are synchronized to. We pollute and introduce toxins into the ecosystem.

But one consequence you might not have through about affecting animal populations, is the development of roads.

Image result for mama bear crossing the road
Expectation: Mama bear helps cubs cross the road
Reality: Mama bear helps cubs cross the road

 The production of roads create an geographic barrier for the two populations that reside either side of the road. This prevents those populations from breeding, and over a long period of time these two populations will accumulate enough random mutations that mean they are no longer to interbreed between each other, and therefore are different species.

You might think oh that’s cool! We now have more species in the world, terrific, we’re making up for all the species that we’ve lost elsewhere.

But in this case, the population of animals is split into two smaller populations, and therefore have less genetic variation in these populations which make them more vulnerable to changes in their environment, cough cough climate change cough cough. This means it’s more likely that both populations if similar sizes or that the smaller one will be less fit for survival and die off.

This creates a real problem as not only the animals that do try and cross don’t survive and cause significant harm to the driver of the car, but in the long term contributes decreases the survival chances of the species. This is a growing problem globally, over a 15-year period the number of collisions with wildlife have increased by 50% and around one to two million large animals are killed in motor vehicle accidents every year. As climate change continues to force animals out of their habitats, the number of animals willing to risk their lives to cross the road will increase.

What is the best solution to get over this problem? A Bridge!

Building overpasses or underpasses with fences guiding animals to cross has been shown to reduce collisions by from 85-95%.  Males are shown to prefer underpasses while females prefer overpasses, and to facilitate breeding, bridges would be the most effective solution.

A lot of thought can also go into the design of the bridge, to maximise the effectiveness of a given species using the crossing. Animals that live in open spaces like meadows and grasslands would likely prefer a large open crossing, while animals that live in forests might prefer smaller crossings with less light and more cover that mimic their natural habitat. Factoring in small animals is also important and creating shrubbery and rock shelter can provide shelter and help them to use the crossing.

Different animals take longer to adapt to using the bridge, but in species for capacity for learning, using the bridge to cross will become knowledge that will be passed down through the generations.

It time we started using out infrastructure to help out ecosystems and factor animals and the environment into our design.

Referenced from https://www.nationalgeographic.com/animals/2019/04/wildlife-overpasses-underpasses-make-animals-people-safer/

The Science of Superheroes: Part III

In stark (😉) contrast to basically everyone discussed, there are certain superheroes whose existence is actually highly possible given a couple more years of technological development.

One of DC’s first few and most popular heroes, the enigmatic and brooding Bruce Wayne utilities a combination of technological innovations to patrol the streets of Gotham as Batman. Batman is an interesting superhero in that there is nothing ‘super’ about him, yet he is one of the most powerful DC universe characters. In fact Batman’s lack of powers makes him strong because he is constantly aware of his need to prepare, and is never overconfident. 

A few of the many, many interpretations of Batman including the Lego Batman Movie, the 60s portrayal by Adam West, the Batman animated series, the most recent portrayal by Ben Affleck, and the Arkham videogame series.

Similar to Bruce Wayne, Tony Stark is the Marvel universes resident billionaire and leader/funder of the Avengers – just replace the brooding pokerface with a mischievous, flirtatious smile.

Robert Downey Jr.’s portrayal of the philanthropist playboy is probably one of the most iconic roles in cinematic history, spawning a huge 20+ movie franchise that is still growing.

As a hero, Iron Man relies on technology even more so than Batman and is therefore maybe a less realistic representation of a real world superhero. Iron Man has a nuclear core reactor in his chest – this is something that scientists haven’t even been able to due in huge power plants, let alone on the scale of a wearable device. However maybe if Tony Stark was a real physicist, he’d have figured it out by now.

Verdict: We should be watching Elon Musk very. very. carefully.

Mysterious Planet Nine, It’s not Pluto

For many decades Astronomers have searched for a ninth planet in our solar system, and for many years it seemed like a fairy-tale. But recently strong evidence has come to light from physicists at Caltech that supports this hypothesis. But before we go further, we need to define what it means for a celestial body to be a planet and why our beloved Pluto can not be considered one. There are 4 main conditions: a planet needs to have enough mass for gravity to make the shape nearly round, orbits our sun, is not a satellite(moon) of another object and has cleared all the debris and large objects from its orbit. Pluto lies in Kuiper (kai-per) Belt, it was the first body discovered in this region past the orbit of Neptune. Pluto meets the first 3 conditions of the being a planet but there is still debris that crosses its orbit. This places another limit on big a celestial body needs to be in order to be classified as a planet because it needs to be able to clear this debris. Enough about Pluto.

The Kuiper Belt is the region of interest for astronomers, a vast field of small asteroids floating in space past Neptune. Scientists predict that there is another planet roughly the size of 5 earths floating somewhere out there with an orbital period of 10000 earth years. This research began quite recently as a few scientists just had a hunch that it may or may not exist. As they delved deeper, they uncovered some very interesting facts about Kuiper Belt and a reason to further believe that a ninth planet is out there. The Kuiper belt is very far away from any other large celestial bodies that the only large gravitational force acting on it will be the sun’s and that too will be very weak. But this will cause all objects to orbit the sun in elliptical orbits spread out evenly in spherical shape around the sun. This means that those objects will not orbit like the planets which are lined up, but rather in a sphere due to the lack of gravity from any other objects. But this is not the case as we observe the celestial bodies lined up with the same plane as the all the other planets. 

Those asteroids in the Kuiper belt should be spread like the Oort cloud but they are not. This may be implying that there is another large celestial body which has pulled those asteroids into this plane. But until this planet is observed this is just another theory, a film theory.

Experimental research is needed

Human Life. Human life, what a wonderful thing. Have you ever wondered, how it rose up from the ashes of civilization into the magnificent beast it is today? How it became so luxurious and long lasting? Throughout the ages, we have always observed animals and, as a result of these observations, we realised the applications of many medicines. The practice of Animal experimentation has been utilized to great benefit, and it will continue helping us. The many ethical and humanitarian dilemmas associated with such experimentation have caused great concern within our society. But the harsh truth is that: it’s either them or us. All is not bad for the animals; animal experimentation helps us devise medicine not only for us but for them as well. But why animals?

At the basis of any new technology is research. To test theories that we have, we conduct experiments. To perform these experiments in the most controlled and rewarding manner possible we must limit as many variables as possible. If we want to understand the exact effects of a certain medicine, we need to have a control group. A group where temperature, food, liquids, heart rate and most importantly the brain’s chemical composition are kept in such a way, as to eliminate them from the equation. This can be done with animals; often they are bred for this particular purpose. This sounds very wrong ethically; we shouldn’t be taking advantage of helpless creatures for our own gain. In society, if there is a case where a person has directly or indirectly harmed another person, we are quick to lash out judgement upon that soul. With animals, we continue to allow such atrocities to happen. Why? Well, let me tell you.

Primarily we use animals, is because we can manipulate their genes which allow us to eliminate all possible variables. This is not possible with human testing, yet. Humans cannot be bred for such a purpose because it takes forever, literally, to nurture a new born baby until it reaches maturity while making sure that it does not develop any natural immunities that can create various variables. And not to mention that the baby needs to be raised so that it can become a functioning member of society. Sounds impossible? It is. Let’s not forget that it is extremely unlikely that any sane human being will let their baby be used in such a demeaning manner.

I know what you might be thinking, why not just test it on the hardcore criminals of society? No need to nurture them! The murderers, the rapists, the paedophiles. While this would be a noble use for the scum of society, it is not a possibility. These criminals have committed tragic acts against society and deserve to be punished, but they are still human, and they too possess rights. That’s a bunch of bollocks, the real reason we can’t test on them is that all humans build up natural immunities and prisoners tend to have a large medical history behind them, especially drug use. All these facets introduce a vast array of confounding variables. These can greatly offset the results of any experimentation, essentially rendering them useless. To really punish them, we should have criminals work against their will and pay their earnings back to the families of their victims. But that’s a story for another time.

This is only one piece of the elaborate scientific puzzle. The other part of research is repetition with different conditions. In the UK alone, up to four hundred thousand animals are tested every year, with four million procedures being carried out. That is nearly the population of the greater Wellington region. Let that sink in. We simply do not have that many human test subjects. Imagine telling everyone you know that they are going to be tested on for a potential cure for cancer, but the problem here is that everyone doesn’t have cancer. Hmm, who would’ve thought? A deadly disease such as cancer only roughly infects 4% of the world’s population. Like with any scientific advancement, there is no magic formula that guarantees that a cure will work the first time around. Even if we test only on those with cancer there is a very high chance that they won’t be saved, and we may even kill the people we are trying so desperately to save. I’m not saying human experimentation is not needed, because it very much is. But first, we need to make sure that our cure has a high chance of success before we risk the lives of our own.

An area where human experimentation makes zero sense is veterinary research. Think about it. Experimenting on humans to save animals. Research for animals is not conducted on the target species, for example, a mouse may be tested on for a medicine that is ultimately given to sheep. Final testing will be done on the target species just like medicine is always tested on humans before being made available commercially. We simply cannot test medicine on humans and then give it to dogs. Now, you may be asking, why can we test on dogs and subsequently give the medicine to humans? Read the above paragraph. We need to help animals to help ourselves. For meat, for wool, for comfort, and for research. Moreover, we keep them alive in the hope that maybe one day, they develop immunity to a certain disease, and we can study them.

So far, we’ve talked about today’s killers: Cancer, Alzheimer’s, aids, diabetes and the like. These diseases are ones that have existed for many years, and we are, hopefully, very close to permanent cures for them. But we are neglecting the fact that diseases are ever evolving and every few years a major one breaks out. This is where animals come in, and we can infect them. Allowing us to quickly observe the short-term and long-term effects of the disease, and again, hopefully, find a cure. This is very cruel and horrifying. But would you rather infect a human in order to observe the effects? This is even more cruel and horrifying. Just google the destructive pictures of the Ebola virus of 2014. I can’t picture any sane person purposefully infecting a healthy human being for science and being able to live with it.

To put it simply, animals are expendable humans are not. The debate on this matter is one for the ages. The ethics and morality of our actions cannot be deemed acceptable, but the terrible truth is that it’s either them or us.

Bibliography:

Why Lasers are freaking cool!!!

Laser or Light Amplification by Stimulated emission of Radiation is an incredible method of condensing very high power into a small form factor and using it for various purposes from igniting nuclear fusion to just messing around with your cat.

Firstly, how do lasers work? Lasers are quite simple really. Atoms can release and absorb energy in the form of light when their electrons transition from one state to another. Lasers utilise this property by stimulating the transition from a higher level to a lower level this will release light waves, a light wave of a certain frequency (the light we want to create) is fired into a laser crystal that has it’s electrons kept at a higher state then the light causes the electrons to transition releasing light energy. The light that is emitted is the exact same as the one used to stimulate the emission. This is the basic premise of a laser, using this technique lasers create very short evenly spaced pulses of light. A high-quality laser can have a pulse time of 15 femtoseconds, , the energy of the light released is condensed into such a short time meaning that the power, will be very high for each laser pulse. These short events are the some of shortest things we have observed as a species. Furthermore, this high power means that the light is very intense and cause a lot of harm to your body if used incorrectly, especially your eyes.

Now let’s look at some reasons why lasers are incredible and among the most useful inventions of mankind. The coolest reason that comes to mind is using this high power of laser pulses to ignite and start a nuclear fusion reaction. What is nuclear fusion? Nuclear fusion is when we fuse two smaller atomic nuclei into a bigger nucleus. A common example is fusing Deuterium with tritium to form an alpha particle and a neutron. Due to the properties of nucleus, this specific process releases a lot of energy. If we can harness this energy, it would basically mean an end to fossil fuels. If anyone has seen Spiderman-2, when Doc-Oc is trying to harness the power of the sun, this is the same thing in concept expect it will work. For this reaction to occur, we need very high temperature and pressure. We can create the high-pressure aspect with strong magnets and lasers can help us achieve the high temperature. A temperature of 200 million degrees Celsius is needed for this to occur. Since lasers have very intense light, this means that shining them on to an object will heat it up very quickly, with future developments to make laser pulses even shorter this will be easily possible. Once ignited, the reaction will sustain the temperature needed and bang, climate changed solved. Well not really, but you understand.

Another cool use of lasers is making a frequency comb out of them. A comb, how is that cool? Well a frequency comb is just a fancy device that measures very precisely the frequency of light. This frequency can then be used to keep track of time very effectively and allows us to measure events that happen in very small-time frames. The best clocks we had before these frequency combs were atomic clocks, where we used a Caesium atom transition to define the second. 1 second is  This gives us a very accurate reading of time, down to the 9th decimal place, but we need more accuracy in certain fields such as chemistry where reactions can happen in a femtosecond. Introducing frequency combs, the main idea behind them is to use our lasers from before with the very short pulses to measure time instead. They are not too complicated but we have run out of time, so the proof is left as an exercise to the reader.

What Does Code Look Like?

Have you ever wondered what a program looks like? It’s a reasonable question, but not one we can answer without some clarification. A program looks very different depending on if we’re talking about source code that a programmer writes, or about assembly which is what a computer runs.

To the Programmer

What the programmer sees is called source code. Source code is written in one of many different programming languages. They all look slightly different, but all work in the same way. Here’s a simple program written in the language ‘C’:

#include <stdio.h>
    
void main() {
     printf("Hello world");
}

This is almost the simplest C program you can write, it simply outputs ‘Hello World’. 

Here the first line tells the computer to look at the ‘standard library’ to figure out what ‘printf’ means. Imagine you’re asking somewhere to differentiate some trig functions. To do that they’ll probably need to know some identities. This line is like telling the person (computer) where to find the identities (code).

The next line, void main(), more or less says ‘the program starts here’. Every program has to have a main function somewhere so the computer knows where to start. 

The last important line, printf(…) , tells the computer to output some text, ‘Hello World’. printf is a function. A function is just a piece of code which we can use multiple times. We do this by passing arguments and getting return values back. Here the text to print is the only argument. printf does have a return value, but we’ll talk about it a bit later.
To get to the next step we need to compile our source code. Essentially we’re translating it from something programmers can read to something the computer can read.

To the Computer

Here’s out simple program in assembly, which if you squint really hard and forget about some technicalities, is kind of what the computer sees. Not all programmers can read assembly, it’s usually only useful for writing low-level software and sometimes improving performance. If you make it through this section you’ll know something many programmers don’t!

.LC0:
    .string "Hello world!"
main:
    push rbp
    mov rbp, rsp
    mov edi, OFFSET FLAT:.LC0
    mov eax, 0
    call printf
    nop
    pop rbp
    ret

Looks pretty different huh? There’s some parts that you should be able to recognise here though. We still have ‘Hello World’ in there, and printf on line 8. Going through this line by line:

.LC0:
This is a label, and doesn’t actually get read by the computer. It’s a placeholder for where in the computer’s memory we’re going to put our data. 

.string "Hello World!"
Here we declare that we have some information we want stored. For our program the only thing we need is the text ‘Hello World!’.

.main:
Similar to before, this is where the computer should start running the program. This is another label, but unlike before this part contains code rather than data.

push rbp
mov rbp, rsp
These two lines are called the prologue. Like most prologues this one isn’t important, so we’ll skip it.

mov edi, OFFSET FLAT:.LC0
This line is where our code starts. mov stands for move. It tells the computer to move some ‘memory’ (information) from one place to another. In this case we’re moving our text from the label LC0 to a ‘register’ called edi.  There’s a bit to unpack here. The text ‘Hello World’ is stored next to our program code. In order for the printf function to access it we need to move it somewhere it can find it. A register is like short term memory. Each stores some small piece of information. It happens to be the case that printf expects to find the text to output in the edi register so that’s where we move our text.

mov eax, 0
Can you guess what happens here?
We’re moving the number 0 into the register eax. The register could have had something left over from some previous code in it. The eax register is used to store the number that a function gives back to us, called a return code. printf is defined so that it will return the number of characters it outputs if it succeeds, or a negative number if it fails. Our program assumes everything went ok, so we don’t use this register after this point.

call printf
This is where the magic happens. call jumps to some code somewhere else, in this case a function which will output some text. Notice that we don’t tell printf what to output here. That’s because it knows to find the text in the edi register that we moved our string into two lines ago.

nop
This line does nothing. Literally. It exists to make some things easier for debuggers, but isn’t important to us.

pop rbp
This is called the epilogue, you might notice it’s similar to the push rbp line near the top of the assembly. Again, we won’t cover what this does.

ret
This tells the computer that we’ve done everything we wanted to and that our program can exit.

And that’s it! We’ve covered what a simple program looks like to both the programmer, and to the computer. Hopefully this gave you more of an understanding of what code looks like, both to a programmer writing it, and to the computer that has to run it.


Disclaimer: Many technical details have been omitted where it aids clarity. If you’re a programmer some of the assumptions here may be misleading. If you want a more in depth explanation of assembly and other similar topics take COMPSCI 110.

Design a site like this with WordPress.com
Get started