2018-11-29

smarter. faster. Digital.

Had a great reaction to our new pitch today. The audience was OCBC, it
is an educational discussion on the difference between Revit vs
Digital as a broader concept.

High Points:

- great response to the media about coordination
- great questions and interest
- framework gave us a solid footing to establish was is recommended
for a digital project

2018-11-28

Moment of the Day

Today, we have CHICKEN for dinner! :)

2018-11-27

Moment of the Day

Maya has a new toy - the calamine lotion bottle. She holds it dearly
when going to sleep.

2018-11-26

Moment of the Day

going for the run in the evening before dinner and pushing it minute
by minute until a grand duration of 30mins.

this is day 2 of consecutive exercise before dinner. 🧸

2018-11-25

Family day out

Gardens by the bay

Family day out

2018-11-24

Tinker Time Log

//Updated Productivity Scripts

To keep memories of things, all logs from "moment of the day", "family
activities" and "personal initiative" will be posted to the perfect
day blog.
_This is automated via a Zap that looks for the label "Blog".
_The card description becomes the title, the latest comment becomes the post.

To keep work synced between master boards and my personal board, new
syncs have been added.
_Any comments on personal board card will be mirrored to the relevant
master board card. This is done via butlerbot finding the card in the
"Mirror" checklist
_When a card on the personal board is moved to done, the relevant
master board card will be moved to done as well. This is done via
butler finding the cards in the "Mirror" checklist.


///Automating the Boring Stuff

-Completed lesson on web scraping using 2 modules: BeautifulSoup, Requests
- code is hosted on Repl.It :
https://repl.it/@LennardOng/AutomateTheBoringStuff-parse-amazon
- problem getting the CSS pointer because am using iPad
- reference: Section 13 Lesson 40 via Udemy course

..............
import requests, bs4

getAmazonPrice(productUrl):
#create object from website using reqests module
res = requests.get(productUrl)
res.raise_for_status() #this will flag any errors

#create soup object from request
soup = bs4.BeautifulSoup(res.text, 'html.parser')
elems = soup.select('')
return elems[0].text.strip()
..............

This is the description

This is the comment 2

This is the description

This is the comment 2

---------------------------------------------------------------------------
Visit this link to stop these emails: http://zpr.io/6ddPE

2018-10-28

Friends like phantom limbs

Ah. I hear you Johnny. A missing presence that we can't cross through WhatsApp , the occasional beer or email.

To me, it feels like we're now men each on voyages, to our greatness or despair. I listen often to soundtracks of youth - the babyshambles and smashed pumpkins. It has no wisdom, just fuel to keep going.

And at the end we we'll be back home again and grey and our presence returned to each other. :)

2018-10-15

Robot Interactions





Madeline Gannon is passionate about inventing better ways to communicate with machines. In her research, she develops human-centered interfaces that transform industrial robots into sentient companions, that transform bodies into interactive canvases, and that illustrate an embodied vision for the future of digital making. Her work blends disciplinary knowledge from design, robotics and human-computer interaction to innovate at the edges of digital creativity. 


Gannon leads ATONATON, a research studio scouting the untapped potential of emerging technologies, and is a Research Fellow at the Frank-Ratchye Studio for Creative Inquiry at Carnegie Mellon University. Her work has been internationally exhibited at leading cultural institutions, published at ACM conferences, and widely covered by diverse media outlet across design, art, and technology communities. She is completing a PhD in Computational Design from Carnegie Mellon University.


https://atonaton.com/

2018-10-14

This is a subject

This is a body




2018-10-06

Python Regex: how to find things between characters


How do you find a regex for all items between certain characters? (e.g. between [ ] or between ( )). Below is an example that finds anything between @ and .

use case: email.... using it on "hahah@trefis.com" will find "trefis"


-----------------------------

REGEX
(?<=@)(.*?)(?=\.)


---------------------------

SAMPLE SET
This is my first sentence. This is my second sentence.

haha@gmail.com

hello how are you

123@haha.co

This is my first sentence

----------------------------

EXPLANATION
(?<=@)TEST ....positive lookbehind. Find anything where "@" is just behind TEST 
(.*?) ....find all characters (.), one ore more (*), make it nongreedy so it stops at the first not last result (?)
(?=\.) .....positive lookahead. It must have a lookahead character that is a ".". backslash needed so activate the character itself 

--------------------------
https://regex101.com/r/eZ1gT7/1637
screenshot of regex in action
 

python - regex , from automate the boring stuff

automatetheboringstuff.com

Automate the Boring Stuff with Python