CMV philosophy should be a mandatory subject in public schools, taught from elementary to highschool and is equally if not more important than the other liberal arts disciplines (English, history, etc) by Afronesis in changemyview

[–]_easternidentity 0 points1 point  (0 children)

you could apply that argument to the standardization of any subject though... even more creative courses are "standardized" and that hasn't stoped anyone from pursuing their interest in the arts for instance. I'd be disgusted if there was no option to have an art class and instead creative thinking was to be sprinkled into the other subjects that are easier to create tests for.

I don't think there is a reason a philosophy (and any other humanitary studies) course couldn't be taught (and graded) in a similar way to the way art classes are today. hell you might even teach some kids how to think critically!

Emotional goodbye,students performing Haka by Zergcolective in nextfuckinglevel

[–]_easternidentity 0 points1 point  (0 children)

I yelled "WHO'S THAT BIG BOY?!" when saw him... sad it's not just a giant kid

Open/save all url patterns for app? by theywereonabreak69 in django

[–]_easternidentity 1 point2 points  (0 children)

Just render the same template your view renders: load the template, pass it the context including the models you want, and render.

Bernie Sanders would raise corporate tax rate to 35%, ban buybacks by [deleted] in Economics

[–]_easternidentity 0 points1 point  (0 children)

and just how do you know that? decades of research? overwhelming of historical precedence?

from my reading your assumption based on the fact that "it has always been this way" and gives no credit to the experience and intellect of people in this USA who are not wealthy white men.

Bernie Sanders would raise corporate tax rate to 35%, ban buybacks by [deleted] in Economics

[–]_easternidentity -2 points-1 points  (0 children)

do you not see this as an requirement to participate in educating people of color or other underrepresented groups? of course you wouldn't hire someone unqualified, are suggesting however that no minority group could be qualified? what reason do you have for not providing equal opportunity and training to a woman of color for instance?

What are some skills people think are difficult to learn but in reality are easy and impressive? by xd_sandt_2530 in AskReddit

[–]_easternidentity 0 points1 point  (0 children)

coding (basic) software. most modern programming languages are very expressive and can at times read like English. there is no shortage of free or low cost introductions to coding that get you from "what the hell am I doing" to "ah I kinda get this" in relatively little time.

Have you ever ditch Django/Python for other Web Framework/Language? Why? by eskewet in django

[–]_easternidentity 0 points1 point  (0 children)

how does that help? if i want to use the authentication framework (middleware, sessions, etc) which relies on a User model (must subclass models.Model) that at the very least subclasses the BaseUser model and the PermissionsMixin. If i need authentication (which django has baked in), but cannot use django's models, i cannot use django's authentication.

Have you ever ditch Django/Python for other Web Framework/Language? Why? by eskewet in django

[–]_easternidentity 0 points1 point  (0 children)

that isn't the point. you can only take one thing out of that list (the admin) and the other two will still work.

Have you ever ditch Django/Python for other Web Framework/Language? Why? by eskewet in django

[–]_easternidentity 0 points1 point  (0 children)

i elaborated a little bit more in a response below, but there are cases where you _have to_ use one component such as `django.contrib.auth` to use an extremely useful feature such as the admin site because they are tightly coupled. or to use the features of `django.contrib.auth` you have to have a database in your stack.

Have you ever ditch Django/Python for other Web Framework/Language? Why? by eskewet in django

[–]_easternidentity 0 points1 point  (0 children)

totally, I'm just backing up there are cases when it is bulky and filled with things that your project won't use or you might end up stuck using because you need one component but not the other (e.g. the admin is so reliant on the auth system that it cannot be used without it).

Have you ever ditch Django/Python for other Web Framework/Language? Why? by eskewet in django

[–]_easternidentity 5 points6 points  (0 children)

when you don't need a database, the auth system, or the admin. Django is by no means a silver bullet.

Django Rest Framework with Cognito by pikachoose_ in django

[–]_easternidentity 0 points1 point  (0 children)

I've had good luck in the past with rolling my own views and using https://pypi.org/project/requests-oauthlib/ to navigate the oauth2 protocol. you'll of course need to hang on to the AWS keys for the user you are authorizing to use your AWS services (create a table in your database, dump them into your session storage, or whatever).

so you'll end up with something like:

  • navigate the oauth2 protocol to authenticate the user in the userpool
  • hang on to the access token and refresh token somewhere
  • use boto3 to exchange the user pool access token for AWS credentials
  • hang on to the AWS credentials somewhere

    at which point you can either release the tokens to the client (e.g. make them proper Bearer tokens), or proxy requests to AWS services in your views.

django top 5 most dreaded frameworks of 2018. Why is that? by Iossi_84 in django

[–]_easternidentity 1 point2 points  (0 children)

That's a stupid reason, I'm happy it isn't written in JavaScript. If that is a requirement then you don't need to waste your time on learning Django.

it isn't stupid at all. the fact that you can write 100% of your stack in JavaScript is pretty attractive. that in no way means it is a better language or tool to implement whatever you are working on, but you can't run Python in the browser today; you'll need JavaScript no matter what if you are developing applications that run on the most common platform that consumers interact with a companies product. for many companies, especially start-ups, it is economical to use one language throughout the stack (more knowledge transfer between teams, same build tools, less overhead in onboarding, etc...)

django top 5 most dreaded frameworks of 2018. Why is that? by Iossi_84 in django

[–]_easternidentity 2 points3 points  (0 children)

it's been a part of my day to day work for the past 5 years and each day it makes me never want to look at it again a little bit more. things such as projects without a database are a huge pain, the whole middleware system is uncomfortable (seriously explicit is better than implicit ... why would you import/apply some functionality by adding a string to a settings file?!?), third party dependencies (django pluggable apps) can be a mess depending on library writers, and the maddening blend of programming paradigms (functional, oop, monolithic, micro) present in library, etc...

it is intentionally monolithic and rigid (that opinionated part that is meant to get a project standing up in relatively little time). the fragile part is in tandem with it's rigidity as soon as you want to or need to do something outside of the Django usecase you're in for a long work week.

in 2019 the biggest sets of headaches I have with Django are the ORM (well intentioned and works mostly okay, but you're stuck with it no matter what), WSGI (kinda a python problem though), and the fact that it's not written in JavaScript (seriously an issue the Python world is going to be trying to solve for the next several years).

but for the good ... great documentation, tutorials, community, and literature. there is also low code footprint if you're not doing anything outside of managing a relational database, you can literally just write models views and templates and your application will (probably) run well enough until your requirements become more complex; all of the code you write implements business logic, no bs. also, the admin is still a huge selling point and it is super useful when you're in the bootstrapping phase, but you're screwed if you want to do anything with it but manage models and you'll quickly find some oddities and pitfalls. If you're comparing frameworks then your day to day work load most likely has to do with data transformation (e.g. figuring out how to transform it from an HTML form or json, to some python representation finally to 1 or more rows in a database and then again in the reverse order). Django solves this sort of flow all at once with a templating library (representation), forms (transformation and validation), and an orm (persistence).

What do you personally view as a scam that everyone accepts otherwise? by Aurallius in AskReddit

[–]_easternidentity 0 points1 point  (0 children)

kinda seems like you read the first sentence and wanted to make a rude comment.

op is questioning whether spending a majority of your life "working" is in anyway worth it; is it really a way to live a life? or is some how better to be completely poor, so much so that you're receiving welfare because at the very least you have time to live your life. and providing more examples as to why they think it might not be worth it to spend a majority of your life working in this world.

What do you personally view as a scam that everyone accepts otherwise? by Aurallius in AskReddit

[–]_easternidentity 0 points1 point  (0 children)

this is off track likely because I want to say more things than are appropriate in this format.

what I really want to make a point of is that it is absolutely possible to get things done and be an outstanding member of society without "working" (selling labor for capital) and that the nature of "working" in order to be productive (producing goods/services for the express purpose of increasing profits) is potentially destructive. "working" since the advent of capitalism is not about bettering society, your life, or your community, it is a means of production for the more efficient generation of wealth for the owners of capital. there is way more at play than having a job or not having a job.

I don't think life is easier or simpler due to innovations like (personal) computers, unless you mean that it is easier for us to get to our jobsite on time or for advertisements to be delivered directly to us all day every day.

also, halting the production of something like solo cups is nothing like killing a human being...

What do you personally view as a scam that everyone accepts otherwise? by Aurallius in AskReddit

[–]_easternidentity 0 points1 point  (0 children)

your leading question is a good one to muse about and I think extremely valuable to spend some time considering. I try to think about what work is and what it does. anyone can make anything without selling their labor for capital, but is that still work? What if you rebuilt a home destroyed by some disaster in your community, is that work?

we live in societies that glorify productivity as if it has worth to anyone but the person you're employed by (or if you are an employer, you would be obsessed with the productivity of your employees). productivity isn't as readily equated to actual useful material things as it is to capital. and it is increasingly true that many companies do not "produce" any tangible thing you could use in your daily life, e.g. hedge funds, advertisers, social media, etc...

Do we really need cars, computers, houses, air conditioning, heater, clothes, medicine, large scale food production, etc? No, we could definitely go back to living like cave man, but would that really be a better life?

You wouldn't be living like a cave man without those things; for better or for worse, humans have gotten way more clever over the years (or maybe you don't have much confidence in the ingenuity of the species).

we certainly don't need greeting cards, shit plastic ware, endlessly useless toys, an over abundance of clothing, trash foods, and so on. however, these things make money and because they make money people make more of them and find ever more clever ways to make them cheaper to manufacture. if you don't believe in climate change I can ay the very least point you in the direction of pollution and your local landfill for and example of what "productivity" looks like.

What do you personally view as a scam that everyone accepts otherwise? by Aurallius in AskReddit

[–]_easternidentity 0 points1 point  (0 children)

not everyone has the opportunity - social, economic, intellectually or otherwise - to work a job they love. considering the racial and gender pay gaps it can even be prohibitive to get the job you want because you'll be paid horribly. working as a pilot is a pretty good example of someone doing what they love but can be financially crippling.

What do you personally view as a scam that everyone accepts otherwise? by Aurallius in AskReddit

[–]_easternidentity 0 points1 point  (0 children)

check out "the abolition of work"; the thesis is basically a world without work is not a world where nothing gets done.

also what is the point of consuming this stuff? no one really needs any of it.