you complete me

September 16, 2019

as a programmer the Tab shortcut would have been good to know but as someone with a disability it would have been invaluable.

Here’s the revised GitHub repository: https://github.com/LinsAbadia/Python

Advertisements

git smart

September 15, 2019

i don’t remember if you first have to “authorise” a device to work with GitHub – i did it a long time ago for an online course so i’m not sure whether i need it in order to perform the following actions.  Sorry, i know this can be frustrating for a beginner as i’ve experienced the following:  1.) i’ve tried Googling it but sometimes the results are nil if you enter an “improper” search term, 2.)  Sometimes it isn’t in the returned link at all or you need to read a lot to eventually get to what you were after or 3.) Sometimes it leads you to a “forum” where in order to feel “superior” they make those asking questions feel dumb and sometimes their solutions are “overlycomplicated” (sans explanation because they are either too impatient or incapable of offering a “simpler” answer), don’t even work (as they are careless or don’t even bother to test it first, or are “emotionally unintelligent” enough to NOT give a possible solution and just a “snide” comment (and i’m not really sensitive).That said, i’m open to revising this information if anybody knows or my answers are wanting. =)

 

Communal input, IMHO, is a good thing because:  1.)  Nobody knows everything (as much as some people assume they do), or 2.) There are times when someone else knows a “better” way (e.g, easier, more intuitive, faster, less resource intensive, etc.) to do something.

 

Follow the steps to clone a GitHub repository to a Mac folder: https://help.github.com/en/articles/cloning-a-repository

It uses the git clone command.

I then used git add <filename> to reflect the modified or added file.

I then used git status to check if my last command was successful – the font colour of the filename should appear in green.

I then used git commit -m <comment> to accept the change(s).

And, finally, I used git push to save this.

Here’s my updated GitHub repository:  https://github.com/LinsAbadia/python

While these are the steps i used,  i don’t pretend to be a “power user”.  Kindly let me know if there’s an “easier” way to do this so we can share it.

 

as an educator i’ve always kept that saying in mind.  However, it’s not until i became an online student that i fully appreciated it. Having been a Subject Matter “Expert” (SME) on most of the courses i taught, there was a “barrier” of sorts in trying to design it to maximise student learning.  In learning Python i’ve encountered difficulties despite my experience, academic qualifications, and, most recently, having completed a professional certification. There is still much I have to learn in the field of Data Science.  With this in mind i’ve recently made a new Github Repository with a MIT license that’s publicly accessible (https://github.com/LinsAbadia/Python) that i hope to gradually populate – properly structuring it will involve trial and error.  This is to 1.) Develop my “Code Portfolio” and show i can still be productive in spite of my “disability”, 2.)  Help document and assess my progress, and 3.) Helping me understand concepts fully by seeing if i can explain it “simply” to others (e.g. pointing out “gotchas” in learning and the language).

 

 

 

I originally thought of doing both a presentation and blog post but due to time pressures opted for the latter. Here’s a concise version of what I ended up doing…

I’ve used a “structured” approach to impart more formality but being a blog post I decided to make it more “medium-friendly”.  =)

A.  Introduction

A.1 Description and Background

Since New York city had over 60 million visitors last year alone, it may be useful to recommend hotels based on their physical proximity to major attractions (such as Central Park – not Central Perk of Friends fame) or what I called Places of Interest (or POI for short)using the Haversine formula – it’s a technical way of measuring distance between points using Latitude & Longitude (I won’ bore you with the details as it uses a lot of Trigonometric functions).   Essentially, it was envisioned to help plan your trip to the Big Apple.

A.2 Data

It used “free” data to determine which hotels are in which neighbourhoods and in which boroughs (so I used an API called FourSquare to get some of the place information).  Unsurprisingly, the major hotels were clustered in and most POI were located in Manhattan.

B. Methodology

I used clustering to segment my data (thankfully, the hard bits are already implemented). Freakishly, the cluster of neighbourhoods corresponded to the NYC boroughs (you know somebody worked it out).  This was confirmed visually (after all, seeing is believing) by something called a Folium map (see below).

This is one of the “cool” tools available at your disposal.  This is not, in and of itself, conclusive proof but you can “go down a deep rabbit hole” of data to assert your claim.  This is, by no means, the only “weapon” available to you but it sure is pretty.

C. Results

Unremarkably, the data merely confirmed what we’ve always known:  hotels are near one another and sites are chosen for their proximity to popular landmarks and sought after amenities – it’s so obvious, duh.

D. Discussion

It’s not always about generating new insights.  It’s sometimes about “empirical”  confirmation of things we just take for granted as true.

E. Conclusion

I can talk until I’m blue in the face but you’ll probably pay me no mind and tune out (if you haven’t already). In short you can use Data Science (and its associated tools) can be powerful in uncovering secrets.

If you’d like to read a more detailed and “serious” document, the full  report can be dowloaded at

https://github.com/LinsAbadia/corsera/blob/master/ADSC_Report.pdf

If code is more your thing, a Jupyter notebook in Python can be obtained from:

https://github.com/LinsAbadia/corsera/blob/master/ADSC_Finalv7.ipynb

If you’re generally more interested in GitHub (and open source computing), you can go to the following address:

https://github.com/

This has mainly been about content but, in my experience, context can be just as, if not more, important – that’s how you should think about Data Science!

system of a down

February 7, 2019

they showed The Godfather series on free-to-air TV (i rewatched the first two instalments but not the third which i don’t really like.  IMHO, the second film is one of those rare gems when the sequel is as good or better than the original).  I felt bad for the character Michael.  Like Abigail in the film The Favourite (side note: the Academy recognised the Aussie screenwriter), (in my experience) it usually doesn’t really matter if you start out as well-meaning but being part of a “corrupt” system changes you accordingly.

As Trevor Noah talks about apartheid, Hannah Gadsby about marginalisation, and Dave Chappelle about #MeToo, they all point out that these issues are systemic and deeply-ingrained.  Good individuals acting independently are insufficient to effect cultural change – it takes targeted actions (sometimes done in concert) for meaningful results.

i know New Amsterdam is just a tv show (mostly involving trite Hollywood pablum) but occasionally Dr. Goodwin showcases important lessons for us all: he may be over-idealistic at times but, essentially, the key is to understand the underlying structure that causes systemic issues.  It is difficult to improve systems but a good understanding is a vital start.

 

last night I woke up from a dream and couldn’t breathe and get back to sleep – had to sit-up to facilitate the airflow.  I think I experienced what I can only describe it as my first “panic” attack – it felt similar to one of my claustrophobic bouts. Maybe I’m just “slow’ but after nearly a decade after my unnamed ABI, it was my first dream that I could remember where I was “disabled”.  Maybe it was acceptance or realisation. Or (seeing as it’s been really cold lately) I only do half of my daily exercises.  Or the news feature on assisted dying and how close Victoria is to passing draft legislation.  Regardless of what brought it about, my family is better off with my pension, so I better continue to suck it up. I’m really tired – I just need my “second wind”.

celebration

January 13, 2017

my wife’s grandmother is turning 100.  We will attend the celebration. She has a big family (180 guests, 120 of which are relatives) so we’re staying offsite.

What’s special about her is that she still has her mental faculties and some of her physical acuity (in fact, she still does the household laundry).  I think her “secret” is constantly being and remaining active.  If I ever manage to get close to her age, hopefully I’ll be the same.

As I will have intermittent Internet access, you might notice a “slight” hiatus but I’ll resume this when I get back.