Hacker Newsnew | past | comments | ask | show | jobs | submit | Brainix's commentslogin

Amazing article. I had underdeveloped but original (to me) ideas along these lines, as I'm sure that many Hacker News readers did.

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...


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.


At the risk of appearing politically incorrect, what race/ethnicity was the guy?


On OkCupid. Not even kidding.


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.

http://flask.pocoo.org/

Lately, I've been using Flask on the back-end, and React on the front-end.


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.

[1]: http://flask.pocoo.org/docs/0.11/tutorial/


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

https://github.com/johnwheeler/mvp-starter


Same here. I love Flask. Writing APIs are super simple.


I usually combine flask_restful, SQLalchemy and a SQLite database. Stupidly easy to build an API this way...


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


Can't you see? You're not making toothpaste better. You're making coffee worse.


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.


The Essential Calvin and Hobbes. That book taught me to be a decent person.


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


I bought the entire collection of Calvin and Hobbes.


I'm very sure I'll end up doing the same thing! It's a good book for all ages


Dear 2016,

You haven't figured it out yet, but we consider advertising unethical.

Yours, 2066


Grandpa, I heard you were an activist back in the before-time, what did you do when they were burning the earth?

Oh, I was mostly worried about how an advertising company was using my interests to decide whether to show me an ad for batteries or hair cream.


"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."


Do you have any other ideas of how browsers are going to make money? Without charging their customers?


Nope - we thought that wasn't quite needed since they were being set up as a public service, not a monetization platform.

We need a project like the Linux kernel, except for a good browser.



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.


Don't we have a couple of "Linux" like browsers already? Like Konqueror? Or are those not good enough?


Nope - they aren't good enough. It's not easy to install. What I would love in a browser:

* An organization set up to oversee it that does not need to care about money (pipe dream part here).

* Easy to install.

* Standards compliant.

* Open source.

All in all, Firefox is the closest (imo). What rubs me wrong about chrome is that originally it was to be monetized - at least I don't remember such.


I can't imagine this will be true. What's wrong with advertising? It's how I know about things!

The depths to which advertisers go to with tracking feels rather unethical at times, however.


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.


> What's wrong with advertising?

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's psychlogical manipulation.

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.


It will most likely go the opposite direction.


Who's got two thumbs and has already deployed Flask 0.11 to production? This guy.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: