About a year ago, I got hit on the head (hard) with a metal pole at 9:30 AM, on my way to BART to get to work. The guy asked for my phone. I was too disoriented to take it out of my pocket. He grabbed my earbuds (but didn't get my phone) and walked away.
I lost a lot of blood and had a bad concussion. In the ambulance on my way to the hospital, I couldn't recall my zipcode. I needed seven large staples in the back of my head. After that, the mental fog persisted for about two weeks and I wasn't productive at work.
Up until that point, nothing bad had happened to me. Thankfully, I'm ok now, but I'll never live in Oakland again.
Flask! It's Pythonic and good. Once you've done a couple of Flask projects, you can spin up a new microservice in a couple of hours. It's much lighter weight than Django, so it forces you to keep fewer moving parts in your head while hacking.
It's more lightweight than Django until you add packages for all of the components you need to build a production-grade app. To get what Django has out of the box requires a half-dozen packages, and even with that Flask-Admin is super primitive compared to what Django Admin provides. I try to like Flask, and I currently run my small personal site in it, but almost every project I start in Flask, I end up rewriting in Django.
As far as building APIs goes, Django Rest Framework provides so much. I find myself reinventing a lot when I use Flask vs Django + DRF. Just my 2¢.
I keep thinking I'll learn Django, but I hate Django, why would I want to build a skill that I'm then forced to use, as well as proliferating the market for Django products?
I work on Flask stuff on purpose, because it means in the future I'll have more Flask work...
Flask is much more pythonic than django.
In fact, go look at Django's website/documentation, they don't have a hello world or a quickstart, they have like a 10-page tutorial to build some frankenstein nonsense, Flask's homepage has a 5 line application! That's how Python is supposed to be.
The more flask in the world, the better.
edit: now I've read some other people here saying Django gets easier after you use it, or it's gotten simpler... Flask is easy the first time you use it, and it's always been simple. Pythonic. End rant.
You could write Hello World the same way in Django with nothing more than one route and one view. However, the Django tutorial is longer, I think 6 pages, because it provides so much more out of the box. The Flask tutorial would be the same length if it covered topics like a variety of views, templates, serialization, SQLAlchemy, migrations, model design, etc.
Flask actually has a tutorial just like this in the docs [1].
I think you should give Django a chance to be able to compare the two frameworks in these kinds of aspects.
I love Flask. I'm not a professional but for hobby projects I find it very easy to use. I have a template now and I can get a basic backend going in 30 mins.
For more serious projects, we use Flask for big commercial products and work and it's very good. Unlike some other tools, what I like about it is that it's very easy to look at the code in a Flask project and immediately understand what is going on.
I also use and love Flask for exactly these reasons. Additionally I've been playing around with Flask_Restful and have been very pleased with the results.
Hi Everyone. I'm actually working on a "starter" project that only focuses on the backend. It uses Flask and PostgresQL and includes fabric deployment scripts to get the app running on Debian. Please check it out and let me know what you think
Pottery. A Pythonic way to access Redis, the same way that you use Python dicts. I use it in production, and I hope that it's useful to other people too: https://github.com/brainix/pottery
Google built GSA at a time when there were limited options for search, and when most tech companies had to manage their own hardware, and when it was magical to have any kind of search at all. It made sense at the time.
But now, the problem itself has changed. Companies host on the cloud, there are many options for search (even hosted/managed solutions), and customers' expectations are very high for good search results. All of this boils down to the biggest issue that most companies face re: search - the business logic of providing fast/good search results (rather than maintaining a search engine itself). Also, companies increasingly view search engines as a first class information retrieval system (a good compliment to a source-of-truth database), which can empower internal analytics to make business decisions.
Most companies don't need/want Googly algorithms/hardware to power their search. I'm guessing here, but I bet that recent versions of Solr and Elasticsearch put the last nails in GSA's coffin.
Since you've mentioned it, I've looked at the free sample. I'm kinda impressed how good it is. I wasn't expecting it to be very well made. In fact I'm buying it now
"And grandpa, what was great uncle vu4374fv18's fight?"
"He snarkily shitposted to the internet whenever someone cared about an issue that wasn't the most pressing societal issue at the time. Even if their profession brought them into closer proximity to one than the other."
I don't consider this a good rebuttal - Firefox has done stuff like pocket (not monetary but invasive) and search engine deals (monetary). Though it is pretty close.
I am at a loss for alternatives, but I am skeptical about advertising. Not in a completely general sense, but what bothers me is that much of it is manipulative. It uses images, sounds and movies in certain progressions to influence me, sometimes in a covert or unconscious way. Now, certainly a lot of other communication efforts are aimed at persuasion, but then, you often have to consciously go and find them. It is easier to filter (I can choose not to visit the opinion pages of website or its comments section). Advertising on the other hand crawls into your life from all directions (billboards, video ads that suddenly start playing, popups, street vendors) and is sometimes impossible to avoid. Often it's slick but shallow. It's like, you enjoy eating good food but instead, everywhere you go, you are being force-fed hamburgers. I do not want an information diet that fills up my working memory, costs me energy, manipulates my emotions and yet leaves me unfulfilled.
It is psychological warfare, conducted by corporations instead of States. But the objective is the same; trick you into changing your behavior to benefit them.
I don't know ... thinking selfishly, I'm employed and paid by a a corporation that uses advertises to increase revenues from their products/services. As are almost everyone else here. Even the "altruistic" non-profits and whatever are largely funded by the very same corporations. Will there ever be a time when economic activity is largely carried out by people and organizations that do not seek profit? If advertising increases said economic activity, isn't it a good?
If corruption increases said economic activity, is it a good? If destruction of the environment increases certain economic activity, is it a good? I'm not saying these things are similar to advertising, but the reasoning is flawed. That in the current setup of our economic system something makes economic sense, does not necessarily make it a good thing.
It uses your fears, your neuroses, your addictions and your need to remain involved and up to date against yourself as a way to extract your hard-earned resources and time.
Apologies in advance for bikeshedding, but "Final Solution" is a jarring phrase, and that section heading diverted my attention.
https://www.ushmm.org/outreach/en/article.php?ModuleId=10007...