Friday, July 13, 2018

News Bulletin

Defense spending goals were a real hot button during this week's NATO Summit. Trump said if allies will work on this the U.S. will stay in NATO after all. Macron and Merkel said they have been working on this and are going to keep working on it. Trump then mentioned doubling defense spending goals, and everyone was like, ‘We would need to have more meetings about that.’


Eritrea and Ethiopia have been fighting over their border for years. A few days ago they resolved this dispute with an agreement to reopen embassies, re-link transport and telecommunications, and generally cooperate more. Ethiopia is a big Western and China ally, and Eritrea is cozy with the U.A.E., so this change could help lots of people be better friends.


Since becoming Nicaragua's president for the second time in 2006, Daniel Ortega has been increasingly authoritarian. Most business people have sort of been letting it go and sticking to an unofficial deal to focus on business. Lately he’s been taking things too far with some unfriendly crackdowns on protestors. Unrest is increasing and the economy is not. Business people are now telling him to hold early elections.

Thursday, July 5, 2018

Python: my coding adventures


Currently, I am taking a class on Python programming. Because coding is a big time skill these days, right? Everyone should know a little bit about it.

‘Really, Lauren? Aren’t summer classes condensed and therefore more challenging – and won’t this class be extra difficult since you don’t know anything about computer programming?’

‘Yes, dear reader. Such grounded, obvious insights are the very foundation of our friendship. Taking this class was one of my top worst ideas.’

print(‘Help!’)  - hehehe, it’s a little Python joke!

The first half-hour of the first class seemed OK. Since then I’ve lived in a state of confusion. 

It’s like if you’re standing at the foot of the hill and a small pebble rolls down and hits your shoe. After picking it up and looking at it for a minute, it seems pretty understandable, a normal, small rock; it’s hard but not that hard. Then an avalanche deafeningly buries you and you die.

If everyone else in the class wasn’t pounding the daylights out of their keyboards like Hugh Jackman in Swordfish, I would insist programming is one of the great challenges known to mankind. The tools at one’s disposal when learning a spoken language are ripped away. It’s you and the screen with its infernal blinking cursor ignoring your animated charades and attempts to point out YouTube research and looking up of concepts on coding forums.

Once after class I asked the professor for help on code I thought was quite close to correct. By the end of the conversation he was almost certainly thinking about retirement.

The professor gives the class starting code (great) peppered with little questions (not great), for which I never have appropriate answers.

    #  allwords.append(words) # why doesn't this work? I AM NOT CONVINCED ANYONE KNOWS.
   
allwords.extend(words) # this does...

    # allwords = allwords + words  # does work - but why is this inefficient?
I CAN ONLY DESIRE THAT IT WORKS. CAN PROCESS OPTIMIZATIONS BE DISCUSSED AT A LATER TIME.

There have been a few rays of hope.

A few days ago I met with my partner for our final project and typed out a working draft of our (very simple) needed code in about 15 minutes. All is well! I DID learn! I felt like watching Swordfish again to figure out what Hugh was up to.

Then I tried to do more homework, leading to the aforementioned conversation with Prof. L.

But whatever. Challenges are good, and I’m glad I ended daily conversations with myself deciding to stick with the class. I like knowing more about the scenes behind our screens; plus, it’s always important to keep terrifying pushing ourselves. As Eleanor Roosevelt said, ‘Do one thing every day that makes you want to claw out your eyes.’