Almost a week late, the third issue of LEARN is out for your own enjoyment! In my defense, this week I have also been challenging myself with #Inktober. If you are into these kind of stuff, you can also check my tumblr posts!
Lots, lots of boring coding these days! Not those funny simulations that would make my next paper (and first paper (if I ever get to that point)) look better, but lots of tedious scripts to help me analyse data. To spice things up, I decided to write the code slightly better and at least learn a bit more about Matlab. Now my functions look much more professional and elegant thanks to the inputParser Class, that I use to execute some quick check on the input parameters to the function, as well as to define optional parameters and their default value.
Gorillas can learn sign language and love cats too. One video of Koko the Gorilla sharing her ideas on global warming was shared from one of my FB friend. Despite I think the video is a great opportunity to deliver a message in a very powerful way, I have my doubts that a gorilla can really grab the meaning of global warming. Nevertheless, scanning through the videos in Koko’s website, I could really get amazed not only by the amount of words in sign language Koko has learnt during the years, but also about her capacity to formulate small concepts (‘I am Koko, I am a Gorilla’, ‘ Koko loves babies’, etc… check her youtube channel for more), and even invent new words!
Wednesday afternoon I was so tired to code Matlab that I needed a little procrastination, so I coded short script in python. A friend asked for a way to shuffle her data to perform some blind test. Here it what I came out with:
In the version above, some files in the input folder (you will be asked to insert both the input and the output folder – Don’t forget the quotation marks!) are shuffled and saved in an output folder. A file with all the references will then be sent to an email address of your choice, provided that you have formatted a configuration file (the one provided works for gmail, let me know if you can make it work with other servers!) with your email address and password. For the email implementation, I followed this post; a very important step, if you are using gmail, is to allow Google to trust this “less secure app”. Also, I the use the imap protocol to then check the sent mailbox and delete the sent message. There must be a better way to do it, using just one lib, but I am lazy, and this script was well enough!
Alternatively you can decide to go for a simplified version of the code, that instead to email the reference to someone trusted, will save it locally. Although, I am sure your supervisor/boss would be positively surprised by receiving an email sent through a python script, that you have diligently took care to implement in order to perform a very serious blind test! 😉
Quintessence, the re-brand of Aether, is actually a theory now. Although the best candidate to explain dark matter are still WIMPs particles, last week Nature’s Outlook on the subject mentions other two runner-ups: an elementary particle called axion, that would also solve the CP symmetry, and Quintessence, a scalar field that would replace the cosmological constant being attractive or repulsive instead of -guess what- constant!
Nanotechnology is a lot of fun! Actually is the reason I am not doing particle physics, as for my bachelor studies plans. Now, I can tell you what is more fun than nanotechnology: nanotechnology applied to biology! I could write you about how another one of my clever friends is going to save the world and cure cancer using her clever set of MIPs, Molecular Imprinted Polymers, but I would not give the topic justice. Please, check her twitter instead!
On the other end, talking about nanotechnology on the same day, we discussed about a paper developing biomimetic MEMS inspired by biological cilia. The clever design employs polymeric pillars connected by piezoelectric nanofibers encapsuled in a protective matrix (pictured) not only to measure very low flow velocity, but also to detect flow direction, which apparently was never achieved before, at least not in water.
Enjoy your weekend folks! And as always Learn Every day A Remarkable Notion!