If you’re familiar with wireframes, mockups, documentation, etc. for web design then you’ve probably seen grey image placeholders to indicate where an image should go. If you go to Bootstrap’s documentation on thumbnails you’ll see exactly what I’m talking about.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components or services. Python supports modules and packages, thereby encouraging program modularity and code reuse.
If you notice that vagrant is no longer connecting to your box, or vagrant is trying to create a new box and telling you that a box with the same name already exists you can check to make sure that your existing vagrant box gets re-associated. (I’m using vagrant version 1.8.1)
Sh*t happens and sometimes you need to rebuild your MySQL database. It might be because you need to reconstruct your environment or just duplicate your environment. But here’s some things to remember when you’re rebuilding a MySQL database.
This is part two of a two part introduction on how to integrate ReactJS with your Django project.
If you’re getting unresolved reference warnings in your project but it’s simply because you’re importing a module
from a directory that’s a child of the root, you can specify a folder as a “source folder”. This will let PyCharm
know that some of your modules are rooted from that source folder rather than the root.
An example of this is when you decide to define your apps and modules in a subdirectory
so your modules’ source is
root/subdirectory rather than
Today at work I realized that my virtual machine didn’t have enough memory to process all the Django migrations that had built up over time. So I decided that the best solution would be to squash the migrations, which would hopefully reduce the memory load required to migrate changes.
This is part two of a previous article on squashing Django migrations to lighten the memory load on your system.
I am pleased to announce that I have started developing a database back-end for the Barcrawl web app and have been making good progress. Since I have deployed Barcrawl using Elastic Beanstalk on Amazon AWS, I am limited to a MySQL database. But that is not a problem since my only previous experience is in MySQL. This database is meant to reduce the application’s dependency on API calls in the Python back-end. This decision comes in order to reduce the impact on the APIs’ request quotas and to help reduce latency in the back-end since the rate of requests to the Google Maps API have to be limited.
I am pleased to announce that gobarcrawl.com has become official!
This past summer I took an Algorithms class where we were required to utilize what we learned to code a final project. Myself and two others decided to implement a traveling salesman approximation in order to create a cool bar crawl across different bars across the country. We created a Python app that takes in a list of cities and uses the Yelp and Google Maps APIs to find the most popular bars in each city and look up the distances between each destination.
This article is in response to the news of the OPM hack.
This is my response to the Wall Street Journal article “Why Apple Should Kill Off the Mac” I encourage readers NOT to read the WSJ article as it will only boost the articles “popularity”
As if I needed another article on why I’m so excited to have a Mac now, here are my thoughts on why Microsoft screwed up so badly with Windows and how I moved on to buy a new Macbook running OS X.
The exciting news today is that the website is now being hosted on the custom domain ericsu.me and that gems have been added to utilize GitHub Pages’ support plugins! The plugins include support for emojis , @ mentions, and page redirection. In addition, a sitemap has also been generated automatically in the background by the jekyll-sitemap plugin.
As if I needed another article on why I’m so excited to be on a Mac now, here are my thoughts on why Microsoft screwed up so badly with Windows and how I moved on to buy a new Macbook running OS X.
As of June 4, 2015 the website was transferred to a responsive design that will allow mobile users to comfortably view and navigate the website on their devices without having to zoom in and out. This is a decision that was born from the industry necessity for websites to be mobile friendly in order to stay relevant and attract or keep users. Without a mobile friendly device, web pages are annoying to use for the millions of people who use their smartphones every day.
This website and blog is built with Jekyll, the static web page generator, and published through GitHub Pages. Jekyll is a blog aware static site generator that provides support for tags and categories, but this is a feature that needs to be manually implemented by the user.
“State of the Website” is meant to summarize the progress that has been made in the development of this website and the work that is planned to continue its growth.
Today I picked up my very first MacBook. I’ve grown up as a PC person and had my typical anti-Mac phase to go along with my PC enthusiasm. However, getting into computer science and the rise of the ultrabook market had started to soften my bias against the MacBook. I used to see MacBooks solely as overpriced, pretty laptops that are used by ignorant hipsters and consumers who know nothing about computers past how sleek the casing is. But with my MacBook purchase, I’m willing to give a little leeway to the MacBook user.
The very first language related to web design I ever learned was HTML. I had a textbook and every online tutorial related to beginning web design starts off with writing simple web pages in pure HTML. After lots of practice I have grown comfortable with writing in HTML and containing everything in tags. So when I started using git (a version control system) and I ran into Markdown I thought “Oh great, some silly little syntax thing I have to learn to use just to write up a README file for git/GitHub/BitBucket…”.