benjayingly


this blog was named after Mad Libs, but it sounds hip & techy, right??

send in the clowns

Flatiron’s been over for two weeks now, and I’ve enjoyed the opportunity to spend time reviewing some foundational Ruby and tinkering around with some new libraries. I learned the basics of scraping with Nokogiri and OpenURI, both essential for pulling and organizing online data (or at least until every website in the world has a well-organized and intuitive API with no rate limits.)


Legally Binding

One of the most frustrating aspects of React.js is the regular requirement that one bind() methods in order for them to function. JavaScript was written in a week in the early 1990s, and the bind() step in a moden framework like React really highlights the language’s haphazard origins.


Screwing Around With Javascript and Traffic Lights

After months of studying Ruby during and before Flatiron’s web dev course, the transition to Javascript has been both enlightening and maddening. With any new language, you develop a sense, over time, of how the langauge works: its scope, its syntax, how it functions, and how to play with it all. But the first few days were rough, and in that time, I’ve developed an irrational hatred of JavaScript inventor and notable homophobe Brendan Eich.


The Trump Budget and the Internet

Last week, the White House released its first budget proposal under President that guy from The Apprentice who somehow is president now and also a neofascist Trump. While the Trump budget carries little actual weight as a policy document (Congress drafts and passes the budget, and the White House’s budget is primarily a proposal,) it does provide many insights into the government’s funding priorities.


Prime Numbers and Efficiency

One of the more interesting code labs I’ve done here at Flatiron was the Prime numbers lab from the prework assignments. In the lab, the goal was to create a Ruby method that accepts an argument of a number, and returns true or false depending on whether or not it is prime.