3,070 karma · joined April 11, 2023
OTOH, Flask is too small to impose much of a conceptual framework on you, and SQLAlchemy generally feels like a fairly thin layer of Python syntactic sugar over top of SQL. When I write queries in SQLAlchemy, it seems like they always tend to come out looking more like what I would write in plain SQL than queries in Django do. Granted, both ORMs can start doing things like joining tables behind your back, which can certainly cause performance problems, but that's a problem that's common to both, and not just Django. ¯\_(ツ)_/¯
And, it was literally right there if you had a Mac. After selling it briefly as a standalone product for $49.95, Apple started bundling it with every new Mac for about a decade. If your Mac came with System 6, 7, 8, or 9, you had HyperCard. It also came with the Apple IIGS during that time. (Great machine, BTW!) Despite its limitations, I even remember seeing a couple of nontrivial apps implemented with it.
More than anything, HyperCard made personal computing personal again, in a way it hadn't been since computers would boot straight into a BASIC interpreter, and that was a very good thing.
If my little spiel wasn't convincing enough, take a look at this excerpt: http://www.cvxmelody.net/HyperCard%20IIGS%201.1%20-%20The%20...
122370 django python=103934,javascript=18407,xml=29
2734 sqlparse python=2734
1110 asgiref python=1110
This will probably change when `django-tasks` gets merged in.Here's what installing `flask` + `sqlalchemy` pulls in:
141314 sqlalchemy python=141314
11464 werkzeug python=11159,javascript=305
8934 greenlet cpp=4993,python=2729,ansic=1092,asm=120
8606 jinja2 python=8606
5842 click python=5842
3907 flask python=3907
2036 top_dir python=2036
644 itsdangerous python=644
487 markupsafe ansic=278,python=209
349 blinker python=349
Looks like the same order of magnitude to me, which is surprising. I had always thought of `django` as being heavy weight and opinionated, while `flask` + `sqlalchemy` was light and modular.All numbers generated using David A. Wheeler's 'SLOCCount'. :-)
If I needed asynchronous background processing in Python today, I'd definitely be looking into `django-tasks.` If you asked me yesterday, I'd have told you I'd use SQS / whatever the platform equivalent was, or, failing that, I'd probably go with `dramatiq`.
Edit: LOL, I can't believe I forgot to mention what a fscking nightmare `celery` is to deploy and configure. UGH.
First of all, nobody "read[s] through Knuth." [0] (I couldn't find the reference, but I recall a story about Bill Gates telling Knuth he had "read his books," to which Knuth replied that he believed Gates was lying.)
Second, the way the "algorithmic portion of the technical interview" is generally constituted currently is beyond flawed. Depending on your perspective, you can either pass it by memorizing 5 or 6 algorithms and re-using them over and over; or, it's a completely unrealistic test of anyone's ability to think about and work with algorithms and data, because there is no such thing in the real world as a 45 minute deadline. Of course, you can certainly argue that it's not intended to be a test of one's ability to work with algorithms and data, but, rather, an IQ test of sorts. But, then, we have companies that are literally giving candidates IQ tests now, so, why not just drop the pretense?
---
[0]: https://www.businessinsider.com/bill-gates-loves-donald-knut...
> The best illustration of “spillover” is the incredible increase in the size of the ass and thighs in girls. This is not due to squatting or implants, because you see it at very young ages.
I don't see what your point is.
See also: HN guidelines regarding shallow dismissals.
> But the subtext is drearily familiar. Globalization: Check. Cheap-labor arbitrage: Check. Tax engineering: Check. High profits: Check. Flat-packing: Check.
Do you deny that any or all of this is happening, today, under capitalism? Do you deny that there are incentives for any or all of this under capitalism today? Do you deny that these things would lead to the inevitable quality decline he's lamenting? Let's not have any more of your straw man attacks. Attack the real issue instead.
See how you like it? Assume good faith and have some goddamn manners.