HNHacker News
TopNewBestAskShowJobs

acostanza

5 karma · joined October 22, 2017

submissionscomments
acostanza··on Flask 1.0 Released
I found it pretty easy to set up with Gunicorn and nginx, all running in Docker
acostanza··on Show HN: A flat file CRUD API with just one PHP file
The entire reason I made this is because I wanted to do one really simple thing: store the names of shows in a file that I could then resolve against the TvMaze API so I could track shows with minimal effort. I figured maybe other people would be interested in that the approach is extremely simple, which is the whole point.

Twilio library? That defeats the entire purpose of this, which is to allow simple CRUD operations on a JSON file to resolve against using a React/Angular style SPA. This is not intended for more complex web applications. Also, further this is simply example code, not something I am planning on updating in any way, because it served the purpose for what I needed.

I actually have made an SMS Marketing App and for that I used Python (Flask), PostgreSQL, Angular 4, and Docker with nginx to bring it all together.

I specifically say in my blog post that this isn't intended for teams or anything more complex than flat file CRUD. This would blow up really quickly and be a nightmare to work with as a team - there isn't even any sort of validation.

The truth is, most of the time I write APIs using either Java 8, Express/NodeJS in TypeScript, or Python with Flask with a persistence layer like PostgreSQL all backed by Docker. I felt like that was huge overkill for storing just the names of shows, and I didn't want to have to store this on a VPS with a reverse proxy... I figured one PHP file was really all I needed for the CRUD operations.

acostanza··on Show HN: Automatic Broken Link Building with Python
Hey, thanks for the suggestion. I haven't heard of algosaur before, I'll take a look!
acostanza··on Show HN: A CSS Keylogger
Could use an uncontrolled component, which I don't think is vulnerable? https://reactjs.org/docs/uncontrolled-components.html

For simple username/password entry I see no reason to use a controlled component.

acostanza··on Show HN: Tello, a simple way to manage TV shows – built with React/Redux
Are you thinking about using React for a project soon instead? I'm kind of considering it too, but I really like using Angular 4
acostanza··on Show HN: Tello, a simple way to manage TV shows – built with React/Redux
Funny, I was making something similar myself!

http://acostanza.com/2017/10/13/airing-tv-show-api-python-po...

Even using the same API... what a small world. I'm glad I can use yours instead now! I was actually thinking it would be fun to use Python to search the Tv Maze API for cast of different shows you like and then find common shows with the same actors. Might be a waste of time though. Nice job on Tello.