workspace
stringclasses 1
value | channel
stringclasses 1
value | sentences
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
| sentence_id
stringlengths 44
53
| timestamp
float64 1.5B
1.56B
| __index_level_0__
int64 0
106k
|
---|---|---|---|---|---|---|---|
pythondev | help | on the left is my folder tree | 2019-06-04T16:30:23.059900 | Nenita | pythondev_help_Nenita_2019-06-04T16:30:23.059900 | 1,559,665,823.0599 | 26,721 |
pythondev | help | ok, so to avoid confusion, in python you always want to use `snake_case` | 2019-06-04T16:38:50.060500 | Ashley | pythondev_help_Ashley_2019-06-04T16:38:50.060500 | 1,559,666,330.0605 | 26,722 |
pythondev | help | `CamalCase` is for classes | 2019-06-04T16:39:01.060800 | Ashley | pythondev_help_Ashley_2019-06-04T16:39:01.060800 | 1,559,666,341.0608 | 26,723 |
pythondev | help | and mixing them is heresy | 2019-06-04T16:39:15.061100 | Ashley | pythondev_help_Ashley_2019-06-04T16:39:15.061100 | 1,559,666,355.0611 | 26,724 |
pythondev | help | for module and package names, snake case is used as well | 2019-06-04T16:39:49.061700 | Ashley | pythondev_help_Ashley_2019-06-04T16:39:49.061700 | 1,559,666,389.0617 | 26,725 |
pythondev | help | And I don't see an `__init__.py` file | 2019-06-04T16:40:01.062300 | Hiroko | pythondev_help_Hiroko_2019-06-04T16:40:01.062300 | 1,559,666,401.0623 | 26,726 |
pythondev | help | In System_UI | 2019-06-04T16:40:13.062700 | Hiroko | pythondev_help_Hiroko_2019-06-04T16:40:13.062700 | 1,559,666,413.0627 | 26,727 |
pythondev | help | but now that I can see your structure a bit more | 2019-06-04T16:40:21.063100 | Ashley | pythondev_help_Ashley_2019-06-04T16:40:21.063100 | 1,559,666,421.0631 | 26,728 |
pythondev | help | try this | 2019-06-04T16:40:22.063300 | Ashley | pythondev_help_Ashley_2019-06-04T16:40:22.063300 | 1,559,666,422.0633 | 26,729 |
pythondev | help | `python -m System_UI.filename` | 2019-06-04T16:40:37.063700 | Ashley | pythondev_help_Ashley_2019-06-04T16:40:37.063700 | 1,559,666,437.0637 | 26,730 |
pythondev | help | same. i tried in both directories, systemUI and one up from that | 2019-06-04T16:46:30.064100 | Nenita | pythondev_help_Nenita_2019-06-04T16:46:30.064100 | 1,559,666,790.0641 | 26,731 |
pythondev | help | yea, i have hundreds of lines that i will need to re-case, but im just getting this program going for now. | 2019-06-04T16:47:14.064700 | Nenita | pythondev_help_Nenita_2019-06-04T16:47:14.064700 | 1,559,666,834.0647 | 26,732 |
pythondev | help | maybe `python -m InvoiceSystem.System_UI.System_GUI` | 2019-06-04T16:48:53.065300 | Ashley | pythondev_help_Ashley_2019-06-04T16:48:53.065300 | 1,559,666,933.0653 | 26,733 |
pythondev | help | also, change the import to be `from .System_UI import SystemFunctions` | 2019-06-04T16:50:15.065800 | Ashley | pythondev_help_Ashley_2019-06-04T16:50:15.065800 | 1,559,667,015.0658 | 26,734 |
pythondev | help | changing my import line to that gives an error | 2019-06-04T16:51:10.066200 | Nenita | pythondev_help_Nenita_2019-06-04T16:51:10.066200 | 1,559,667,070.0662 | 26,735 |
pythondev | help | and still getting no module error with the above command | 2019-06-04T16:51:19.066500 | Nenita | pythondev_help_Nenita_2019-06-04T16:51:19.066500 | 1,559,667,079.0665 | 26,736 |
pythondev | help | What's your pycharm run config | 2019-06-04T16:54:03.066900 | Hiroko | pythondev_help_Hiroko_2019-06-04T16:54:03.066900 | 1,559,667,243.0669 | 26,737 |
pythondev | help | idk i would guess default because ive never changed any settings. only added modules. | 2019-06-04T16:54:34.067400 | Nenita | pythondev_help_Nenita_2019-06-04T16:54:34.067400 | 1,559,667,274.0674 | 26,738 |
pythondev | help | <@Nenita> do you have pycharm using a virtual environment? | 2019-06-04T17:52:11.068200 | Ashley | pythondev_help_Ashley_2019-06-04T17:52:11.068200 | 1,559,670,731.0682 | 26,739 |
pythondev | help | would appreciate you help on reviewing my code, how to make it more pythonic? thanks! <https://pythondev.slack.com/archives/C07EW4DNE/p1559686155013600> | 2019-06-04T18:46:19.069000 | Alva | pythondev_help_Alva_2019-06-04T18:46:19.069000 | 1,559,673,979.069 | 26,740 |
pythondev | help | What do you call the first branch of a freshly minted repo? :thinking_face: | 2019-06-04T22:37:31.070400 | Conchita | pythondev_help_Conchita_2019-06-04T22:37:31.070400 | 1,559,687,851.0704 | 26,741 |
pythondev | help | The dev process is product owner creates the repo and I as a dev creates branches that I work on. | 2019-06-04T22:38:27.071300 | Conchita | pythondev_help_Conchita_2019-06-04T22:38:27.071300 | 1,559,687,907.0713 | 26,742 |
pythondev | help | `Initial-branch` / `first-branch` / `pineapple`? | 2019-06-04T22:39:07.072100 | Conchita | pythondev_help_Conchita_2019-06-04T22:39:07.072100 | 1,559,687,947.0721 | 26,743 |
pythondev | help | Master/develop | 2019-06-04T22:43:54.072500 | Hiroko | pythondev_help_Hiroko_2019-06-04T22:43:54.072500 | 1,559,688,234.0725 | 26,744 |
pythondev | help | And then after, feature | 2019-06-04T22:45:14.072900 | Hiroko | pythondev_help_Hiroko_2019-06-04T22:45:14.072900 | 1,559,688,314.0729 | 26,745 |
pythondev | help | Or you can do master/feature | 2019-06-04T22:45:36.073600 | Hiroko | pythondev_help_Hiroko_2019-06-04T22:45:36.073600 | 1,559,688,336.0736 | 26,746 |
pythondev | help | I think I need the teaspoon here lol. Like name a branch `develop/search`? | 2019-06-04T22:47:30.074400 | Conchita | pythondev_help_Conchita_2019-06-04T22:47:30.074400 | 1,559,688,450.0744 | 26,747 |
pythondev | help | `develop-search`? | 2019-06-04T22:48:21.075500 | Conchita | pythondev_help_Conchita_2019-06-04T22:48:21.075500 | 1,559,688,501.0755 | 26,748 |
pythondev | help | No. Your primary branch is master and all others branch offa d merge into | 2019-06-04T22:48:28.075800 | Hiroko | pythondev_help_Hiroko_2019-06-04T22:48:28.075800 | 1,559,688,508.0758 | 26,749 |
pythondev | help | Some workflows have a develop branch which all features branch off and merge into for qa before going to master | 2019-06-04T22:49:42.077600 | Hiroko | pythondev_help_Hiroko_2019-06-04T22:49:42.077600 | 1,559,688,582.0776 | 26,750 |
pythondev | help | Or you can just have feature branches off master and merge in when done | 2019-06-04T22:50:10.078800 | Hiroko | pythondev_help_Hiroko_2019-06-04T22:50:10.078800 | 1,559,688,610.0788 | 26,751 |
pythondev | help | Aha. A branch of a branch | 2019-06-04T22:50:10.078900 | Conchita | pythondev_help_Conchita_2019-06-04T22:50:10.078900 | 1,559,688,610.0789 | 26,752 |
pythondev | help | Exactly | 2019-06-04T22:50:18.079100 | Hiroko | pythondev_help_Hiroko_2019-06-04T22:50:18.079100 | 1,559,688,618.0791 | 26,753 |
pythondev | help | I think master/develop/feature makes the most sense | 2019-06-04T22:51:07.080400 | Conchita | pythondev_help_Conchita_2019-06-04T22:51:07.080400 | 1,559,688,667.0804 | 26,754 |
pythondev | help | Thanks <@Hiroko> :taco: | 2019-06-04T22:56:47.083400 | Conchita | pythondev_help_Conchita_2019-06-04T22:56:47.083400 | 1,559,689,007.0834 | 26,755 |
pythondev | help | Guys, Need an help with confluence...I'm reading data from csv file and posting it to confluence which is working as expected but when I post it to confluence the data is not formatted correctly where I'm using PrettyTable to get the data from excel in rows and while posting in confluence converting them to string..I'm expecting the data to be posted as rows and columns in confluence...any thoughts or suggestions will be helpful... | 2019-06-04T23:33:42.089200 | Hana | pythondev_help_Hana_2019-06-04T23:33:42.089200 | 1,559,691,222.0892 | 26,756 |
pythondev | help | HttpError: <HttpError 400 when requesting <https://www.googleapis.com/youtube/v3/commentThreads?part=snippet%2Cstatistics&maxResults=100&order=relevance&videoId=ozx4Orjvu0I&textFormat=plainText&key=AIzaSyCOrBRZ5Mp3S7e5JcADlCgKiDNDP6gPqqQ&alt=json> returned "statistics">
I'm getting this Error with scraping comments. I'm not sure about this error. | 2019-06-05T02:25:44.089300 | Roxie | pythondev_help_Roxie_2019-06-05T02:25:44.089300 | 1,559,701,544.0893 | 26,757 |
pythondev | help | Do you want to get `statistics` ? | 2019-06-05T02:47:49.089500 | Ike | pythondev_help_Ike_2019-06-05T02:47:49.089500 | 1,559,702,869.0895 | 26,758 |
pythondev | help | Sorry from snippet I'm checking on it. Will update you soon. | 2019-06-05T03:14:45.089700 | Roxie | pythondev_help_Roxie_2019-06-05T03:14:45.089700 | 1,559,704,485.0897 | 26,759 |
pythondev | help | Not from statistics | 2019-06-05T03:14:52.089900 | Roxie | pythondev_help_Roxie_2019-06-05T03:14:52.089900 | 1,559,704,492.0899 | 26,760 |
pythondev | help | Guys,Need a help,where to use yield and return,difference among them?? | 2019-06-05T03:50:59.090900 | Viviana | pythondev_help_Viviana_2019-06-05T03:50:59.090900 | 1,559,706,659.0909 | 26,761 |
pythondev | help | <https://jeffknupp.com/blog/2013/04/07/improve-your-python-yield-and-generators-explained/> | 2019-06-05T03:51:59.091800 | Guillermina | pythondev_help_Guillermina_2019-06-05T03:51:59.091800 | 1,559,706,719.0918 | 26,762 |
pythondev | help | Im trying to get statistics for commentcount and comments text and comment id from snippet | 2019-06-05T04:34:35.092100 | Roxie | pythondev_help_Roxie_2019-06-05T04:34:35.092100 | 1,559,709,275.0921 | 26,763 |
pythondev | help | The reason for this issue? | 2019-06-05T04:34:48.092300 | Roxie | pythondev_help_Roxie_2019-06-05T04:34:48.092300 | 1,559,709,288.0923 | 26,764 |
pythondev | help | Where I'm went wrong | 2019-06-05T04:35:07.092500 | Roxie | pythondev_help_Roxie_2019-06-05T04:35:07.092500 | 1,559,709,307.0925 | 26,765 |
pythondev | help | Have you ever read this page?
<https://developers.google.com/youtube/v3/docs/commentThreads/list> | 2019-06-05T06:16:51.092700 | Ike | pythondev_help_Ike_2019-06-05T06:16:51.092700 | 1,559,715,411.0927 | 26,766 |
pythondev | help | ```
string
The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include.
The following list contains the part names that you can include in the parameter value and the quota cost for each part:
id: 0
replies: 2
snippet: 2
```
I think you should set `replies,snippet` , not `statistics` . | 2019-06-05T06:16:58.092900 | Ike | pythondev_help_Ike_2019-06-05T06:16:58.092900 | 1,559,715,418.0929 | 26,767 |
pythondev | help | I have set this snippet accordingly. Can you please check my code weather I have dome mistake somewhere | 2019-06-05T06:59:13.093100 | Roxie | pythondev_help_Roxie_2019-06-05T06:59:13.093100 | 1,559,717,953.0931 | 26,768 |
pythondev | help | check these out as well <https://buddy.works/blog/5-types-of-git-workflows> | 2019-06-05T07:47:43.093500 | Hiroko | pythondev_help_Hiroko_2019-06-05T07:47:43.093500 | 1,559,720,863.0935 | 26,769 |
pythondev | help | please tell me if i am abusing this slack and channel by asking questions about the code? thank you.
i have created a recursive function that kind of works, however at the moment it only returns the value for last iteration. what i want is that all values from all iterations to be stored and returned as a list. I tried adding list but then i get error message below.
this works but with not list:
```
r = random.uniform(3.4, 4.0)
def my_recursive_func(x,n):
if n == 0:
return x
else:
return r*my_recursive_func(x, n-1)*(1-my_recursive_func(x, n-1))
```
```
print(my_recursive_func(2,2))
-227.69732050527622
```
when i try to add list creation i get error message:
```
r = random.uniform(3.4, 4.0)
def my_recursive_func(x,n):
l = []
if n == 0:
l.append(x)
return l[0]
else:
xi = r*my_recursive_func(x, n-1)*(1-my_recursive_func(x, n-1))
l.append(xi)
return l
```
```
print(my_recursive_func(2,2))
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-218-4a0c906aa3f2> in <module>
----> 1 print(my_recursive_func(2,2))
<ipython-input-217-c0190258ef28> in my_recursive_func(x, n)
6 return l[0]
7 else:
----> 8 xi = r*my_recursive_func(x, n-1)*(1-my_recursive_func(x, n-1))
9 l.append(xi)
10 return l
TypeError: can't multiply sequence by non-int of type 'float'
``` | 2019-06-05T08:45:12.097800 | Alva | pythondev_help_Alva_2019-06-05T08:45:12.097800 | 1,559,724,312.0978 | 26,770 |
pythondev | help | if part of the calculation is based on the return value of the recursive function, how would you do that with a list? that is the issue you are having, you are doing math with the return value, in this case trying to ultimately do `[n,n1,n2]*some_float_value` | 2019-06-05T08:51:01.100000 | Clemmie | pythondev_help_Clemmie_2019-06-05T08:51:01.100000 | 1,559,724,661.1 | 26,771 |
pythondev | help | i see. what i waned to get is a list of elements where each next element is dependent (calculated with) of the previous one:
`[n0, n1=n0*some_float_value, n2=n1*some_float_value, ...]` | 2019-06-05T08:55:49.103100 | Alva | pythondev_help_Alva_2019-06-05T08:55:49.103100 | 1,559,724,949.1031 | 26,772 |
pythondev | help | You can do that, it will just take a couple methods, not one. Take a look at the implementation of the recursive Fibonacci sequence - where they print the given value you will want to append it to your list (and maybe a couple other tweaks) <https://www.programiz.com/python-programming/examples/fibonacci-recursion> | 2019-06-05T09:07:05.104500 | Clemmie | pythondev_help_Clemmie_2019-06-05T09:07:05.104500 | 1,559,725,625.1045 | 26,773 |
pythondev | help | This message was deleted. | 2019-06-05T09:25:09.105700 | Alejandrina | pythondev_help_Alejandrina_2019-06-05T09:25:09.105700 | 1,559,726,709.1057 | 26,774 |
pythondev | help | please don’t crosspost in multiple channels with the same question. Wait some time for someone to answer before posting in another channel | 2019-06-05T09:27:37.105800 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:27:37.105800 | 1,559,726,857.1058 | 26,775 |
pythondev | help | ok sir i thought both are different channels | 2019-06-05T09:28:14.106000 | Reatha | pythondev_help_Reatha_2019-06-05T09:28:14.106000 | 1,559,726,894.106 | 26,776 |
pythondev | help | they are, but consider what could happen if/when you get answers in every channel you post in. could you sustain simultaneous conversatons with different people going in multiple directions? | 2019-06-05T09:31:33.106300 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:31:33.106300 | 1,559,727,093.1063 | 26,777 |
pythondev | help | i will consider it for my future reference ty | 2019-06-05T09:32:25.106500 | Reatha | pythondev_help_Reatha_2019-06-05T09:32:25.106500 | 1,559,727,145.1065 | 26,778 |
pythondev | help | :thumbsup: | 2019-06-05T09:34:49.106800 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:34:49.106800 | 1,559,727,289.1068 | 26,779 |
pythondev | help | sir do you know how can i get video frame as thumbnail in django admin | 2019-06-05T09:35:29.107100 | Reatha | pythondev_help_Reatha_2019-06-05T09:35:29.107100 | 1,559,727,329.1071 | 26,780 |
pythondev | help | i'm setting up a celery beat schedule for a task, and i was wondering, is `'schedule': crontab(minute='0', hour='6,12')` the same as `'schedule': crontab(hour='6,12')`? | 2019-06-05T09:36:53.107900 | Jorge | pythondev_help_Jorge_2019-06-05T09:36:53.107900 | 1,559,727,413.1079 | 26,781 |
pythondev | help | not quite, I ran into exactly this thing :smile: | 2019-06-05T09:37:42.108200 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:37:42.108200 | 1,559,727,462.1082 | 26,782 |
pythondev | help | won’t the second run every minute in the 6 and 12 hours? | 2019-06-05T09:38:00.109000 | Clemmie | pythondev_help_Clemmie_2019-06-05T09:38:00.109000 | 1,559,727,480.109 | 26,783 |
pythondev | help | what would happen is your task would execute once per minute for every hour this applies to | 2019-06-05T09:38:02.109200 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:38:02.109200 | 1,559,727,482.1092 | 26,784 |
pythondev | help | <https://docs.celeryproject.org/en/latest/reference/celery.schedules.html#celery.schedules.crontab> | 2019-06-05T09:38:27.110200 | Carmen | pythondev_help_Carmen_2019-06-05T09:38:27.110200 | 1,559,727,507.1102 | 26,785 |
pythondev | help | this hit us pretty good with a refactor I did with some beat tasks | 2019-06-05T09:38:30.110400 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:38:30.110400 | 1,559,727,510.1104 | 26,786 |
pythondev | help | and passed code review | 2019-06-05T09:38:39.111000 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:38:39.111000 | 1,559,727,519.111 | 26,787 |
pythondev | help | its equivalent to `minute *` in standard cron notation | 2019-06-05T09:38:39.111200 | Clemmie | pythondev_help_Clemmie_2019-06-05T09:38:39.111200 | 1,559,727,519.1112 | 26,788 |
pythondev | help | ¯\_(ツ)_/¯ | 2019-06-05T09:38:41.111400 | Hiroko | pythondev_help_Hiroko_2019-06-05T09:38:41.111400 | 1,559,727,521.1114 | 26,789 |
pythondev | help | The default for the minute parameter is '*', which for crontab means every minute. | 2019-06-05T09:38:43.111500 | Carmen | pythondev_help_Carmen_2019-06-05T09:38:43.111500 | 1,559,727,523.1115 | 26,790 |
pythondev | help | wow, didnt realize that. also, couldnt find it in the docs | 2019-06-05T09:38:46.111700 | Jorge | pythondev_help_Jorge_2019-06-05T09:38:46.111700 | 1,559,727,526.1117 | 26,791 |
pythondev | help | how to extract a screencap from a video and save in django admin | 2019-06-05T09:39:50.112200 | Reatha | pythondev_help_Reatha_2019-06-05T09:39:50.112200 | 1,559,727,590.1122 | 26,792 |
pythondev | help | Build an upload form in the admin, then run a background process that does the video processing via whatever Python library you want to use. | 2019-06-05T09:40:31.112900 | Carmen | pythondev_help_Carmen_2019-06-05T09:40:31.112900 | 1,559,727,631.1129 | 26,793 |
pythondev | help | I’m finding the Coordinates package a bit tricky to get to grips with. Two (hopefully) basic questions:
1. What’s the best way to convert a pair of R.A./Dec coords from J2000 to Real (JNow) and vice-versa?
2. How do I convert the results between hms/dms and decimal degrees and vice-versa? | 2019-06-05T10:17:00.120200 | Senaida | pythondev_help_Senaida_2019-06-05T10:17:00.120200 | 1,559,729,820.1202 | 26,794 |
pythondev | help | what coordinates package? | 2019-06-05T10:17:46.120500 | Hiroko | pythondev_help_Hiroko_2019-06-05T10:17:46.120500 | 1,559,729,866.1205 | 26,795 |
pythondev | help | I have created a class that reads and writes to a db and the init function connects to the db. If I wanted to pass a dynamic query to it, is it better practice to pass it to the init or to the read or write depending on operation | 2019-06-05T10:21:15.122100 | Arturo | pythondev_help_Arturo_2019-06-05T10:21:15.122100 | 1,559,730,075.1221 | 26,796 |
pythondev | help | dd82: astropy.coordinates | 2019-06-05T10:34:40.122900 | Senaida | pythondev_help_Senaida_2019-06-05T10:34:40.122900 | 1,559,730,880.1229 | 26,797 |
pythondev | help | <@Senaida> I know nothing about that package, or astrophysics, but this section of the docs seems to be near-ish to what you are asking <http://docs.astropy.org/en/stable/coordinates/transforming.html> | 2019-06-05T10:38:00.123900 | Clemmie | pythondev_help_Clemmie_2019-06-05T10:38:00.123900 | 1,559,731,080.1239 | 26,798 |
pythondev | help | Thanks. I should have posted my question in Astropy so have done that now. | 2019-06-05T11:12:59.125300 | Senaida | pythondev_help_Senaida_2019-06-05T11:12:59.125300 | 1,559,733,179.1253 | 26,799 |
pythondev | help | Hey guys, quick question.
How would one go about setting up a “production” server for python development?
I mean, how do you avoid problems with different python versions, different libraries, etc
when e.g jenkins build your code on the prod server, how do you make it available to everyone on that server without any library conflicts? | 2019-06-05T11:36:11.125900 | Catherina | pythondev_help_Catherina_2019-06-05T11:36:11.125900 | 1,559,734,571.1259 | 26,800 |
pythondev | help | under which path would these packages be installed to be able to be accessed by everyone? | 2019-06-05T11:36:48.126400 | Catherina | pythondev_help_Catherina_2019-06-05T11:36:48.126400 | 1,559,734,608.1264 | 26,801 |
pythondev | help | docker, vm, pyenv - various answers for somewhat different use cases | 2019-06-05T11:37:20.126900 | Clemmie | pythondev_help_Clemmie_2019-06-05T11:37:20.126900 | 1,559,734,640.1269 | 26,802 |
pythondev | help | yep, asking how a deployment should be done will get you _many_ different answers depending on specific usecases | 2019-06-05T11:38:39.127800 | Carlo | pythondev_help_Carlo_2019-06-05T11:38:39.127800 | 1,559,734,719.1278 | 26,803 |
pythondev | help | it also scares me that you are thinking about something being accessible by everyone on a _production_ server. Things should be accessible to _no one_ - only the services provided (db, webserver, etc) should be accessible for their use case | 2019-06-05T11:39:51.128900 | Clemmie | pythondev_help_Clemmie_2019-06-05T11:39:51.128900 | 1,559,734,791.1289 | 26,804 |
pythondev | help | What I mean is if I write a python app, it should be able to be executed by anyone | 2019-06-05T11:40:48.129300 | Catherina | pythondev_help_Catherina_2019-06-05T11:40:48.129300 | 1,559,734,848.1293 | 26,805 |
pythondev | help | The use-case you're talking about is unclear, so we're a bit leery about just giving you an answer and sending you on your way without knowing more of what you're aiming for and why you think everyone needs to execute something your Jenkins server is building. | 2019-06-05T11:57:55.131000 | Carmen | pythondev_help_Carmen_2019-06-05T11:57:55.131000 | 1,559,735,875.131 | 26,806 |
pythondev | help | For that matter, a Jenkins server shouldn't be building things on a server you're using for active development. It should be building it, storing the artifacts somewhere, and then you pull those artifacts for a deployment to your dev/prod machines. | 2019-06-05T11:58:43.132000 | Carmen | pythondev_help_Carmen_2019-06-05T11:58:43.132000 | 1,559,735,923.132 | 26,807 |
pythondev | help | I just want to essentially develop stuff -> create a git PR -> have jenkins do some testing -> if all good push the code to a “prod” server, where the end-user can use the app. | 2019-06-05T12:09:25.133000 | Catherina | pythondev_help_Catherina_2019-06-05T12:09:25.133000 | 1,559,736,565.133 | 26,808 |
pythondev | help | My main question here is how do I avoid conflicting libraries etc if I install multiple apps on the same prod server? | 2019-06-05T12:09:55.134000 | Catherina | pythondev_help_Catherina_2019-06-05T12:09:55.134000 | 1,559,736,595.134 | 26,809 |
pythondev | help | <@Ashley> sorry for the late reply. im going to skip this for now because the person who will be using this will have to remote in anyways because of two purchased programs that are needed for pulling qb data and importing it. | 2019-06-05T12:10:24.135000 | Nenita | pythondev_help_Nenita_2019-06-05T12:10:24.135000 | 1,559,736,624.135 | 26,810 |
pythondev | help | I know about virtual environments, but the user will definetly not know about activating Ves before running scripts etc | 2019-06-05T12:10:26.135100 | Catherina | pythondev_help_Catherina_2019-06-05T12:10:26.135100 | 1,559,736,626.1351 | 26,811 |
pythondev | help | <@Nenita> gotcha | 2019-06-05T12:27:50.136200 | Ashley | pythondev_help_Ashley_2019-06-05T12:27:50.136200 | 1,559,737,670.1362 | 26,812 |
pythondev | help | <@Catherina> there is a difference between writing a library, and providing a service | 2019-06-05T12:29:07.136900 | Ashley | pythondev_help_Ashley_2019-06-05T12:29:07.136900 | 1,559,737,747.1369 | 26,813 |
pythondev | help | if you are providing a service, then you don't care what environment others have. You control the environment it runs in | 2019-06-05T12:29:37.137600 | Ashley | pythondev_help_Ashley_2019-06-05T12:29:37.137600 | 1,559,737,777.1376 | 26,814 |
pythondev | help | if you are writing a library, then you can test against multiple python versions you want to support, but it's up to those who want to use it to make sure they're using a supported python version | 2019-06-05T12:30:21.138500 | Ashley | pythondev_help_Ashley_2019-06-05T12:30:21.138500 | 1,559,737,821.1385 | 26,815 |
pythondev | help | python isn't really built for making standalone apps | 2019-06-05T12:30:56.138800 | Ashley | pythondev_help_Ashley_2019-06-05T12:30:56.138800 | 1,559,737,856.1388 | 26,816 |
pythondev | help | it's possible to do this, but not advised, and usually requires you bundling the environment (i.e. python executable, along with the necessary libraries) with it | 2019-06-05T12:31:53.139800 | Ashley | pythondev_help_Ashley_2019-06-05T12:31:53.139800 | 1,559,737,913.1398 | 26,817 |
pythondev | help | if you're making a library, you can have your CI pipeline build a virtual env for each python version you want to support, and then run the tests inside it | 2019-06-05T12:32:51.140600 | Ashley | pythondev_help_Ashley_2019-06-05T12:32:51.140600 | 1,559,737,971.1406 | 26,818 |
pythondev | help | if you're making a service, then each "app" should be a separate service, ideally running on one or more machines that are dedicated to only running that service | 2019-06-05T12:33:59.141600 | Ashley | pythondev_help_Ashley_2019-06-05T12:33:59.141600 | 1,559,738,039.1416 | 26,819 |
pythondev | help | that way there is no conflicts | 2019-06-05T12:34:13.141800 | Ashley | pythondev_help_Ashley_2019-06-05T12:34:13.141800 | 1,559,738,053.1418 | 26,820 |