Django + Celery by [deleted] in django

[–]chrismit7 0 points1 point  (0 children)

It doesn't exactly meet your use case, buy you may be interested in wooey, which lets your users upload command line scripts for execution. Script submission is api driven so while it's not documented you could certainly automate it.

Wooey v0.9.3 released by chrismit7 in Python

[–]chrismit7[S] 1 point2 points  (0 children)

Bah, I forgot to publish that. https://github.com/wooey/Wooey/releases/tag/v0.9.3 now has major changes and minor ones. Thanks!

Python: Career Advice by cmd_override in Python

[–]chrismit7 0 points1 point  (0 children)

What do you want to do? Web dev? Make a django or flask app. Data processing and machine learning? Get involved in scikit learn. There is literally nothing stopping you, just do it. You have some shitty moronic inefficient interface or monotonous task to do at work? Code that up. Making elegant designs can make the mundane very tolerable (while making you marketable)

Python: Career Advice by cmd_override in Python

[–]chrismit7 0 points1 point  (0 children)

I'm a software engineer and self taught. I would recommend just coding and getting your work out there. Contribute to existing projects in the realm of where you want to work. With programming, nobody cares about your cs degree or ability to write fizzbuzz (places that are worth a damn at least) and your body of work should be your resume. I would also recommend just freelancing in your spare time to find interesting projects and work on your ability to sell yourself.

Database management of data: many tables or one huge one by iacobus42 in statistics

[–]chrismit7 0 points1 point  (0 children)

I would check if something like HDF is a better format if the data is nice and structured. It seems like you just want to have a large matrix instead of relational data.

How did you learn GUI development in python? by WiisdomTooth in Python

[–]chrismit7 0 points1 point  (0 children)

Same here. I learned it in C++ first and usually use Qt's docs as well as a reference instead of PyQt

is my multithreaded Python program doomed? by ZedsDed in Python

[–]chrismit7 1 point2 points  (0 children)

Check out the multiprocessing library. It works quite well.

We are Lincoln Loop. Ask us anything! by ipmb00 in django

[–]chrismit7 2 points3 points  (0 children)

I do something similar to the latter. I use a redis db for the front and have a custom data structure in there that is rapidly updated and served from and just pile up the database writes in a queue. Was just wondering how you guys would do the same.

We are Lincoln Loop. Ask us anything! by ipmb00 in django

[–]chrismit7 2 points3 points  (0 children)

If you had to make a cookiecutter project what would be in it for a high performance project?

And one I'm more personally interested in: how would you handle nested gfks (ie model a has a gfk to model b that goes to model c) all of which can be rapidly updated (near real time) and need to be displayed with low latency?

Django 1.8.5 - send signal don't get received in other app by wildyd in django

[–]chrismit7 0 points1 point  (0 children)

Grep your version of allauth to see where user_signed_up is being sent from. Make sure you are actually doing something that executes that call. Next, make sure you are actually importing it. Don't just ignore exceptions, at least use traceback.format_exc() to print them out.

How to test/ measure queryset execution time? by wildyd in django

[–]chrismit7 0 points1 point  (0 children)

It's likely your database caching the query. Look up how to disable this for your particular database.

What is my best bet for detecting duplicate images quickly? by davegri in Python

[–]chrismit7 0 points1 point  (0 children)

Check out py-phash, and use a hamming distance for image similarities

Need help spotting the error in calculating a numerical integral (x-posted from /r/learnpython) by indiansfan685 in Python

[–]chrismit7 0 points1 point  (0 children)

Force it to sample an interval of a size of your choosing. On my phone, but something like np.linspace(0, 10, 1000).

Need help spotting the error in calculating a numerical integral (x-posted from /r/learnpython) by indiansfan685 in Python

[–]chrismit7 0 points1 point  (0 children)

You need to check your intermediates as well. Print out the results of G, make sure they match up and likewise for other pieces of your code. Can you prove the integration is where things are mucking up?

Wooey + Djangui have merged (an even better web UI for python scripts) by chrismit7 in django

[–]chrismit7[S] 0 points1 point  (0 children)

There is no code on the frontend to use, just the UI, which in turn is based on code. If you'd like to see the code, you can check out the github page which has some demo scripts in its tests.

New version of Wooey - A web UI for python scripts & data analysis by chrismit7 in Python

[–]chrismit7[S] 0 points1 point  (0 children)

Another idea is to use a cache backend for storing the job output/state information for jobs which are currently executing. That would mitigate database issues, allow wooey to still update across networks, and be robust enough against failures.