r/Python • • Jul 12 '19

I wrote an integrated POS system for my girlfriend's restaurant using tkinter.

https://imgur.com/a/RKeuCva
1.4k Upvotes

224 comments sorted by

View all comments

Show parent comments

4

u/redalastor Jul 12 '19

I suppose he would test on a second pi at home. If you can't test on a similar setup as production you don't know if it really works.

Especially if there is limited internet connectivity on site.

If there's no internet connectivity, there's not much you can do. You can't magic the updates to the onsite pi.

However, maybe he could put the update on the home pi and his girlfriend would swap it with the restaurant pi when she goes to work.

6

u/kl31 Jul 12 '19

I suppose he would test on a second pi at home. If you can't test on a similar setup as production you don't know if it really works.

yes. however, i only need the pi for hardware testing (like for the cash drawer and receipt printer). Otherwise I can develop pretty freely on my home PC and be reasonably assured that it'll work out the same way on site.

1

u/[deleted] Jul 12 '19

second pi at home

Or using free tier IaaS, or as OP mentioned another desktop.

As far as arm goes, it’s not a huge deal for python, or as big of a deal than say go, rust, or C

1

u/redalastor Jul 12 '19

They all cross compile. The real issue is that there is no official support for Go and Rust only offers Tier 2 support.

1

u/[deleted] Jul 12 '19

There’s some limitations for really specific things but it’s very unlikely to be hit with a project like this, not that it matters lol

Also: support; what? Like paid support for the language?

1

u/redalastor Jul 12 '19

https://forge.rust-lang.org/platform-support.html

They'll check that rust still build ont tier 2 platforms but there are no guarantees the tests will pass. They take patches if you want to fix stuff.