akdasa / gem Goto Github PK
View Code? Open in Web Editor NEWApplication to improve GBC meeting experience
Application to improve GBC meeting experience
Reason should be provided
Remove row from table
permission_denied
+1 One more minute
[] Custom value
Don't send details if required
File "/Users/akd/Projects/dev/gbc-meeting/gbcma/web/blueprints/session/controller.py", line 109, in close
return session.close()
AttributeError: 'Session' object has no attribute 'close'
How you will validate forms?
Также законопроектам присваивается индивидуальный номер, например D07 или B12
Отображать результаты голосования отдельным шагом. Пользователь не должен видеть результаты поскольку они могут повлиять на исход голосования.
Думаю, было бы информативнее, чтобы на кнопках или где-то рядом появлялось название стадий, к которым они ведут.
Бывает по-разному, но поэтому-то и хорошо было бы иметь оба вида поиска – по списку и по ключевому слову. Если их немного – удобнее искать по списку, а если много – по ключевому слову.
I hate to write:
doc = db.get("some")
doc["_id"] ## looks like hell
Because role is stored as name in User model, not as ID
split it to multiple files
Why?
for user_id in self.__votes:
user = users.get(user_id) # it will call db a lot of times
It crashes
`
bson.errors.InvalidId
File "/Users/akd/Projects/dev/gbc-meeting/gbcma/web/blueprints/sessions/controller.py", line 33, in _update_model
ids = list(map(lambda x: ObjectId(x), ids_list))
bson.errors.InvalidId: '' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string
`
Table with checkboxes
Example: user has been deleted, but in session he has Votes and Comments.
Получается три типа сессий
Тогда у сессии появляется пара новых свойств: “кто может присутствовать”, “кто может голосовать”. А там можно в выпадающем списке сделать множественный выбор ролей (все, gbc, …).
Extract generic Repository functionality into separate (abstract) class.
User have role "ololo", but it doesn't exist in "ROLES" table.
Works fine:
gunicorn --bind 0.0.0.0:8080 --worker-class eventlet main:app
Works bad:
gunicorn --bind 0.0.0.0:8080 --worker-class eventlet --workers 3 main:app
Just do it
Это было бы удобно – чтобы можно было смотреть комментарии как по респондентам, так и по категориям.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.