Vadim Galygin

 English Language & Usage: Multi-Layer

Not for the faint of heart or those easily triggered by Englis...
Oct 19, 2018 15:56
@Cerberus I agree, but 2 in transit statuses are more ambiguous I think
Oct 19, 2018 15:20
For pending I see alternative as expected (?)
Oct 19, 2018 15:18
Each user has his own panel, where he adds packages, and can see all information about them
Oct 19, 2018 15:18
Well, my problem is the names for these statuses: pending (?), arrived (office is very good), delivered (??? picked up is better I think, but still not 100% sure)
Oct 19, 2018 15:16
so it will be more like: Package.in_transit, Package.warehouse, etc.
Oct 19, 2018 15:16
I want to have all status info in one field called status
Oct 19, 2018 15:16
status names are too long, because for first two I have prefix, and it is something like: status_warehouse_in_transit, status_warehouse_delivered, and for the latter 2 I use different field to track the status
Oct 19, 2018 15:15
yes, but it is pain to work with when writing code
Oct 19, 2018 15:13
Currently we have something like: in_transit_to_warehouse, warehouse_delivered, in_transit_to_city_name, delivered
Oct 19, 2018 15:13
No, for other countries we just use copy of the system with different domain and design
Oct 19, 2018 15:11
So they are easy to understand
Oct 19, 2018 15:11
I want short names, like 1-2 words, or 3 short words
Oct 19, 2018 15:11
to something like in transit to country of destination (but this is bad, because all users are from 1 country, there won't be any other destinations)
Oct 19, 2018 15:10
yes, but if i change it from Pending to In transit to U.S. warehouse, I also need to update original in transit status
Oct 19, 2018 15:09
It is in transit by USPS, UPS or FedEx from Amazon for example to our US warehouse
Oct 19, 2018 15:08
I like the office instead of arrived, maybe even used as arrived to office
Oct 19, 2018 15:06
And there are few others such as pending (waiting for package to arrive at warehouse), warehouse (packages arrived to our warehouse), processing (packages are being repacked / we make photos of contents, etc), in transit (sent from US warehouse to country where office and all users located), then arrived, delivered
Oct 19, 2018 15:04
These statuses are shown in user's dashboard
Oct 19, 2018 15:03
Can I name them differently? Or current naming is fine?
Oct 19, 2018 15:02
I have a problem with naming stuff. There are 2 types of packages in package forwarding system, one is for packages delivered to office (arrived) and second is for packages that users picked up (delivered)
Oct 19, 2018 15:01
hello everyone!
Jul 18, 2018 20:29
@Mr.ShinyandNew安宇 oh, this is bad thing. Sorry I'm not good in politics
Jul 18, 2018 20:28
I think China is a lot more dangerous for US than Russia
Jul 18, 2018 20:25
Economy is 10,000 times weaker than US
Jul 18, 2018 20:24
Why everyone is talking about Russia everywhere? They have nothing but nuclear weapon
Jul 18, 2018 20:19
Can we have some alternative for PackageDescriptionSuggestions? I like it, but it is much longer than all my other models :(
Jul 18, 2018 20:10
you will be a lot more happier if bad things not happen in production
Jul 18, 2018 20:10
so try to avoid this as much as you can
Jul 18, 2018 20:08
Jul 18, 2018 20:06
and it is a HELL
Jul 18, 2018 20:06
@Cerberus I do support some old project deploying code right to production, we are rewriting the system now
Jul 18, 2018 20:06
@Mr.ShinyandNew安宇 oops :D
Jul 18, 2018 20:05
@Cerberus its up to you, better stick with good practices, it will make your work easier and more error prone
Jul 18, 2018 20:04
So it is very simple to make local environment
Jul 18, 2018 20:03
Sooner or later you will hit yourself in a knee with this workflow
Jul 18, 2018 20:03
You should use local or stage server to make changes, test, then deploy
Jul 18, 2018 20:03
Or possible data corruption if you mess with models
Jul 18, 2018 20:02
Any mistake - your users get errors
Jul 18, 2018 20:02
All of your edits are always run on production
Jul 18, 2018 20:02
I used to do so, some old days. This is bad.
Jul 18, 2018 20:01
You can't revert back
Jul 18, 2018 20:01
You don't have any file history to track your changes
Jul 18, 2018 20:00
What if you make some edit and only after a week discover some bug?
Jul 18, 2018 20:00
@Cerberus this is bad practice
Jul 18, 2018 19:58
@Cerberus great! use git to backup your files and you are done :)
Jul 18, 2018 19:56
for images you should use something like AWS S3
Jul 18, 2018 19:56
only applicable to code, images not good for it
Jul 18, 2018 19:56
you will have all file history, and won't lose it
Jul 18, 2018 19:55
host your files with git on something like gitlab or bitbucket
Jul 18, 2018 19:54
what if server dies?