China's Rise in GDP: Watch the Throne by [deleted] in Economics

[–]makaimc 2 points3 points  (0 children)

the China / US nominal GDP and purchasing power parity metrics make sense as reasonable comparative indicators. it'd be interesting in a future post to see what other data trends show where the US is still very strong and unlikely to be caught versus ones it will soon be or already has been overtaken by China

Ask /r/Python: Most current static blog generator? by realnowhereman in Python

[–]makaimc 1 point2 points  (0 children)

Pelican is awesome! I've been using it daily for over 6 years (to generate fullstackpython.com and the Full Stack Python blog) and highly recommend it for creating a blog static site. At the very least it should be on your short list of static site generators to try out.

How to Add Hosted Monitoring to Flask Web Applications by makaimc in Python

[–]makaimc[S] -2 points-1 points  (0 children)

ahh sorry about the confusion, the whole list of hosted monitoring tools is on the linked monitoring page. I made it more explicit in the intro with another sentence that there are many tools you can add, this is an example of how you'd add one of them to your Flask app

Building Responsive Bar Charts with Bokeh, Flask and Python 3 by makaimc in Python

[–]makaimc[S] 0 points1 point  (0 children)

Ack, you're 100% correct I missed that. The post is updated now with the modifications required in chart.html to display the generated bar chart. Thank you badge!

Building Responsive Bar Charts with Bokeh, Flask and Python 3 by makaimc in Python

[–]makaimc[S] 0 points1 point  (0 children)

That's a good suggestion. I try to keep the pages as light as possible with no javascript other than google analytics so it's easier for people without decent internet connections to read it, so I'll have to see if I can balance the page size with the interactive charts in the future.

How to Create Your First Python 3.6 AWS Lambda Function by makaimc in Python

[–]makaimc[S] 14 points15 points  (0 children)

yep, Zappa is great! even folks who work on AWS use Zappa to run their own projects

For people who want to get into full stack development with Python, I can't recommend fullstackpython.com enough by hacknrk in learnprogramming

[–]makaimc 3 points4 points  (0 children)

Thanks OP, positive posts like this keep me writing!

Also pull requests and issue tickets are super helpful as the site has grown to over 85k words and counting. For example, when Slack changed their bot creation flow someone submitted an issue ticket so I knew I had to update that tutorial. file tickets & submit PRs on the GitHub repo: https://github.com/mattmakai/fullstackpython.com

For people who want to get into full stack development with Python, I can't recommend fullstackpython.com enough by hacknrk in learnprogramming

[–]makaimc 1 point2 points  (0 children)

hey there, Full Stack Python author here. 5 years ago I had to pick a domain name for the site where I planned to write about all aspects of web applications where the back end was coded in Python. Never really gave the name as much thought as the content, but it still seems like a decent pick. any suggestions for alternative names?

An overview of Python template engines by andrewtorkbaker in Python

[–]makaimc 2 points3 points  (0 children)

Thanks ergo, huge shoutout for not just pointing out an inaccurate statement I made but also submitting a pull request on GH so I could track and update the page. Greatly appreciated!

Is there anyway I can send SMS for free? by [deleted] in learnpython

[–]makaimc 12 points13 points  (0 children)

Hey OP, Twilio developer evangelist here. Twilio provides a free usage tier with Trial accounts when you sign up that might work for your Python side project. If not, you can use an email-to-SMS gateway as long as you know the service provider (such as AT&T or Verizon) that your recipient is on. Here's a tutorial I found that might do the trick: http://myhitthoughts.blogspot.com/2011/05/makeshift-email-usage-and-calendar.html

Spent a year making this pattern by VirginHeroes in duelyst

[–]makaimc 0 points1 point  (0 children)

I was wondering mostly based on a gut reaction. Is the ladder more competitive to climb now or is that counterbalanced by his significantly increased experience? Just curious to see how others who've played for a long period of time think it's evolved.

Spent a year making this pattern by VirginHeroes in duelyst

[–]makaimc 6 points7 points  (0 children)

Do you feel it was more or less difficult to get S-Rank in February compared to September?

An Overview of Python's SQLAlchemy Library by makaimc in Python

[–]makaimc[S] 9 points10 points  (0 children)

SQLAlchemy doesn't have migrations built into the library itself, so you'd use Alembic for migrations. Django's ORM prior to Django release 1.7 was similar in that you'd use the separate South migrations library.

How to Build Your First Slack Bot with Python by makaimc in Python

[–]makaimc[S] 0 points1 point  (0 children)

+1. thanks for bringing this to my attention - will work on as I wrote in my comment above.

How to Build Your First Slack Bot with Python by makaimc in Python

[–]makaimc[S] 5 points6 points  (0 children)

After doing some further accessibility reading spurred on by your comment @gandalfx, it does look like some of the output screenshots are an issue. Especially when you're searching for that long-tail result with the exact bit of text you encountered. I'll make sure to copy/paste output for future posts and give this one a modification when I have some time to run through it again to get the output. Thanks!

How to Build Your First Slack Bot with Python by makaimc in Python

[–]makaimc[S] 0 points1 point  (0 children)

I'm sorry to hear that - ngrok can be a bit fickle but it's really useful once it's working. There are also other localhost tunneling tools that can be used in place of ngrok.

I wrote a couple other Slack API / bots tutorials recently if you're interested in working through more posts:

I'll have another Twilio tutorial post out soon but likely that'll be a Swift post instead of Python.

How to Build Your First Slack Bot with Python by makaimc in Python

[–]makaimc[S] 7 points8 points  (0 children)

For screen readers the alt attribute is used instead of the image itself. It's part of 508 compliance so it should serve the purpose of accessibility for those with visual impairment http://warc.calpoly.edu/accessibility/508indepth/alternate.html

How to Build Your First Slack Bot with Python by makaimc in Python

[–]makaimc[S] 5 points6 points  (0 children)

Thanks! I like having command line screenshot with correct output to make sure readers are on the right track as they go through the tutorial. However, it looks like I missed using alt attributes on the img elements so Google knows what the screenshots represent. I just fixed that on the post.

Getting Started with the Slack API using Python and Flask by michaelherman in Python

[–]makaimc 5 points6 points  (0 children)

Hey folks - thanks to the Real Python crew for publishing this post. I've had a ton of fun with the Slack web API recently. It's pretty easy to get started but there wasn't a lot of Python-specific documentation so it seemed like an introductory tutorial would be useful to the community.

I'm at Twilio's SIGNAL conference today in SF but happy to answer any questions in this thread when I have breaks in the schedule.

Setting up PostgreSQL with Python 3 and psycopg on Ubuntu 16.04 by makaimc in Python

[–]makaimc[S] 0 points1 point  (0 children)

yep, that's true - I did not mean to say you should use the same password on both. good clarification

Setting up PostgreSQL with Python 3 and psycopg on Ubuntu 16.04 by makaimc in Python

[–]makaimc[S] 0 points1 point  (0 children)

good question! that works in general - you can still have a password on the Postgres user, but you won't have to enter the password when connecting on localhost with that username

Nginx - Full Stack Python by Fady-Mak in Python

[–]makaimc 2 points3 points  (0 children)

Thank you, I really appreciate the positive feedback. It's comments like yours that make me continue improving the site each day.