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
This exercise receives messages from Mars, through a camera with angles, the angles represent the hexadecimal digits, from the angles I take the characters and I translate the message, any advice for the improvement of the code is appreciated
2019-04-05T17:47:41.612700
Melia
pythondev_help_Melia_2019-04-05T17:47:41.612700
1,554,486,461.6127
17,221
pythondev
help
None
2019-04-05T17:47:59.612800
Melia
pythondev_help_Melia_2019-04-05T17:47:59.612800
1,554,486,479.6128
17,222
pythondev
help
<@Melia> Generally looks pretty good. A few small points: (1) You have some extra spaces in your `angles` keys and values that may cause problems. (2) In your `while` loop, `and` doesn't quite work like that. You would want `while angle1 in angles and angle2 in angles` instead. (3) You might want to switch to a `while True` loop and `break` out of it on invalid input, which would avoid the duplication of the `input` statements. (4) It's sometime confusing to reuse the same variable for different purposes. Here you have `angle1` being an angle string for some parts of the code, and a hex character for other parts. You could do `hex1 = angles[angle1]` or something like that to be clearer.
2019-04-05T19:26:11.616700
Sasha
pythondev_help_Sasha_2019-04-05T19:26:11.616700
1,554,492,371.6167
17,223
pythondev
help
I'm new to the python ecosystem and trying to help my brother out with some tasks he's trying to accomplish. First question - is there a good 3.7-compatible opencv module? I've found this - <https://pypi.org/project/opencv-python/> , but it appears to need 2.7.
2019-04-05T20:53:34.619200
Windy
pythondev_help_Windy_2019-04-05T20:53:34.619200
1,554,497,614.6192
17,224
pythondev
help
Scratch that! It appears to be the version of python I have installed doing it. Also new to windows subsystem linux! I guess I gotta install... virtualenv?
2019-04-05T20:55:23.619600
Windy
pythondev_help_Windy_2019-04-05T20:55:23.619600
1,554,497,723.6196
17,225
pythondev
help
You mean the 'bash' terminal emulator in Windows 10 ?
2019-04-05T21:06:00.619800
Clayton
pythondev_help_Clayton_2019-04-05T21:06:00.619800
1,554,498,360.6198
17,226
pythondev
help
Yeah, I've got zsh working in there now it appears. My goal is to install opencv and run a file that imports it using python 3.7, so I'm attempting to set up a virtualenv specified to use it.
2019-04-05T21:07:53.620000
Windy
pythondev_help_Windy_2019-04-05T21:07:53.620000
1,554,498,473.62
17,227
pythondev
help
What about 'venv' or 'pipenv' ?
2019-04-05T21:12:10.620300
Clayton
pythondev_help_Clayton_2019-04-05T21:12:10.620300
1,554,498,730.6203
17,228
pythondev
help
Or Conda env ?
2019-04-05T21:12:44.620500
Clayton
pythondev_help_Clayton_2019-04-05T21:12:44.620500
1,554,498,764.6205
17,229
pythondev
help
I think I'm using venv? somewhat given up on that, and just trying this directly: ``` python3 video.py ``` ``` Traceback (most recent call last): File "video.py", line 1, in &lt;module&gt; import cv2 File "/usr/local/lib/python3.5/dist-packages/cv2/__init__.py", line 3, in &lt;module&gt; from .cv2 import * ImportError: libSM.so.6: cannot open shared object file: No such file or directory ```
2019-04-05T21:14:06.620700
Windy
pythondev_help_Windy_2019-04-05T21:14:06.620700
1,554,498,846.6207
17,230
pythondev
help
However.... ``` ➜ python pip3 install opencv-python Requirement already satisfied: opencv-python in /usr/local/lib/python3.5/dist-packages (4.0.0.21) Requirement already satisfied: numpy&gt;=1.11.1 in /usr/local/lib/python3.5/dist-packages (from opencv-python) (1.16.2) ```
2019-04-05T21:16:05.620900
Windy
pythondev_help_Windy_2019-04-05T21:16:05.620900
1,554,498,965.6209
17,231
pythondev
help
I see things in there!! digging into ``` /usr/local/lib/python3.5/dist-packages/cv2 ``` contains ``` import importlib from .cv2 import * from .data import * # wildcard import above does not import "private" variables like __version__ # this makes them available globals().update(importlib.import_module('cv2.cv2').__dict__) ```
2019-04-05T21:17:15.621100
Windy
pythondev_help_Windy_2019-04-05T21:17:15.621100
1,554,499,035.6211
17,232
pythondev
help
Whats your IDE / Editor ?
2019-04-05T21:18:33.621300
Clayton
pythondev_help_Clayton_2019-04-05T21:18:33.621300
1,554,499,113.6213
17,233
pythondev
help
I'm using vscode. Based on a stackoverflow, I needed to... ``` sudo apt-get install libsm6 libxrender1 libfontconfig1 ```
2019-04-05T21:19:39.621500
Windy
pythondev_help_Windy_2019-04-05T21:19:39.621500
1,554,499,179.6215
17,234
pythondev
help
Now the script I cobbled together is working!
2019-04-05T21:19:48.621700
Windy
pythondev_help_Windy_2019-04-05T21:19:48.621700
1,554,499,188.6217
17,235
pythondev
help
Which distro ?
2019-04-05T21:20:02.621900
Clayton
pythondev_help_Clayton_2019-04-05T21:20:02.621900
1,554,499,202.6219
17,236
pythondev
help
windows subsystem linux - ubuntu something or other
2019-04-05T21:22:07.622100
Windy
pythondev_help_Windy_2019-04-05T21:22:07.622100
1,554,499,327.6221
17,237
pythondev
help
You write the script in VS Code and run it in the terminal ?
2019-04-05T21:22:58.622300
Clayton
pythondev_help_Clayton_2019-04-05T21:22:58.622300
1,554,499,378.6223
17,238
pythondev
help
``` ➜ python uname -r 4.4.0-17134-Microsoft VERSION="16.04.2 LTS (Xenial Xerus)" ```
2019-04-05T21:23:17.622500
Windy
pythondev_help_Windy_2019-04-05T21:23:17.622500
1,554,499,397.6225
17,239
pythondev
help
That looks like Ubuntu
2019-04-05T21:23:42.622700
Clayton
pythondev_help_Clayton_2019-04-05T21:23:42.622700
1,554,499,422.6227
17,240
pythondev
help
Yep! And now I've got 13,000 images
2019-04-05T21:23:43.622900
Windy
pythondev_help_Windy_2019-04-05T21:23:43.622900
1,554,499,423.6229
17,241
pythondev
help
yeah, it's the windows subsystem linux
2019-04-05T21:23:50.623100
Windy
pythondev_help_Windy_2019-04-05T21:23:50.623100
1,554,499,430.6231
17,242
pythondev
help
so its an ubuntu running as a part of windows
2019-04-05T21:23:56.623300
Windy
pythondev_help_Windy_2019-04-05T21:23:56.623300
1,554,499,436.6233
17,243
pythondev
help
You are on Linux and it has a Windows subsystem ?
2019-04-05T21:24:22.623500
Clayton
pythondev_help_Clayton_2019-04-05T21:24:22.623500
1,554,499,462.6235
17,244
pythondev
help
Did you have a choice as to which shell / distro to use ?
2019-04-05T21:25:19.623700
Clayton
pythondev_help_Clayton_2019-04-05T21:25:19.623700
1,554,499,519.6237
17,245
pythondev
help
Sort of. I'll probably ultimately add linux to this laptop, but it's super convenient for me to keep windows on here for other people who use it
2019-04-05T21:25:55.623900
Windy
pythondev_help_Windy_2019-04-05T21:25:55.623900
1,554,499,555.6239
17,246
pythondev
help
Have you tried Anaconda distribution ?
2019-04-05T21:26:37.624100
Clayton
pythondev_help_Clayton_2019-04-05T21:26:37.624100
1,554,499,597.6241
17,247
pythondev
help
Do you have Python in the path ?
2019-04-05T21:27:37.624300
Clayton
pythondev_help_Clayton_2019-04-05T21:27:37.624300
1,554,499,657.6243
17,248
pythondev
help
yeah. I was able to run my script and grab 13,000 images from the video I was trying to do that with!
2019-04-05T21:29:11.624500
Windy
pythondev_help_Windy_2019-04-05T21:29:11.624500
1,554,499,751.6245
17,249
pythondev
help
I have this issue
2019-04-05T21:30:05.624800
Rodrick
pythondev_help_Rodrick_2019-04-05T21:30:05.624800
1,554,499,805.6248
17,250
pythondev
help
I'm done for tonight but I will be back tomorrow. :smile:
2019-04-05T21:30:18.625100
Windy
pythondev_help_Windy_2019-04-05T21:30:18.625100
1,554,499,818.6251
17,251
pythondev
help
None
2019-04-05T21:30:43.625400
Rodrick
pythondev_help_Rodrick_2019-04-05T21:30:43.625400
1,554,499,843.6254
17,252
pythondev
help
thats my class but whenever I call `SuperHero.addStrength()`
2019-04-05T21:31:14.626200
Rodrick
pythondev_help_Rodrick_2019-04-05T21:31:14.626200
1,554,499,874.6262
17,253
pythondev
help
I get this error `AttributeError: 'int' object has no attribute 'health'`
2019-04-05T21:32:00.626600
Rodrick
pythondev_help_Rodrick_2019-04-05T21:32:00.626600
1,554,499,920.6266
17,254
pythondev
help
Are you running the script directly or importing it into another script as a module ?
2019-04-05T21:32:53.627500
Clayton
pythondev_help_Clayton_2019-04-05T21:32:53.627500
1,554,499,973.6275
17,255
pythondev
help
Let me run it in my machine
2019-04-05T21:35:10.628000
Clayton
pythondev_help_Clayton_2019-04-05T21:35:10.628000
1,554,500,110.628
17,256
pythondev
help
Did you try passing in the needed argument ?
2019-04-05T21:38:02.628500
Clayton
pythondev_help_Clayton_2019-04-05T21:38:02.628500
1,554,500,282.6285
17,257
pythondev
help
You need to instantiate an object, rather than calling the method on the class. Like `hero = SuperHero(); hero.addStrength()`.
2019-04-05T21:43:03.629300
Sasha
pythondev_help_Sasha_2019-04-05T21:43:03.629300
1,554,500,583.6293
17,258
pythondev
help
hello devs, i stuck in a situation and need some suggestion to tackle this So what exactly is happening User is filling some form (or say writing some blogs on medium) , now the tab he/she is writing is logged in and now another tab opens logged out the user and closes So currently the tab in which the user is writing blogs shows that user is logged in but actually his/her session get expired So now when user save the blogs then blog will not get saved and response from server shows that the user has been logged out and now when we redirect user for login again then at that time all the data will get lost(the written blog) So my main question is to how to save the blog
2019-04-06T10:58:08.636500
Carissa
pythondev_help_Carissa_2019-04-06T10:58:08.636500
1,554,548,288.6365
17,259
pythondev
help
Browser localstorage.
2019-04-06T11:12:09.636800
Carmen
pythondev_help_Carmen_2019-04-06T11:12:09.636800
1,554,549,129.6368
17,260
pythondev
help
Also, you could add an AJAX timeout notification for them, so that they get a warning that they're about to be logged out and let them click a button to refresh their session.
2019-04-06T11:13:15.638000
Carmen
pythondev_help_Carmen_2019-04-06T11:13:15.638000
1,554,549,195.638
17,261
pythondev
help
thanks <@Carmen> for the suggestion, AJAX request is avoided by my team and Browser local storage is a good opinion i will implement it Thanks again
2019-04-06T12:52:35.640100
Carissa
pythondev_help_Carissa_2019-04-06T12:52:35.640100
1,554,555,155.6401
17,262
pythondev
help
Let me know if there’s another place that’s better to ask this question. So, on my local machine I get a 400 Bad Request when I go to localhost and I don’t know why. Are there common ways to debug this? I tried clearing my cache and cookies. I was using vagrant and was trying to do port forwarding when the 400 response first came up.
2019-04-06T23:23:57.640800
Erline
pythondev_help_Erline_2019-04-06T23:23:57.640800
1,554,593,037.6408
17,263
pythondev
help
That's not a lot of info to go on, but my first instincts would be to (a) try to undo whatever change you did that started causing the errors, (b) look at the logs of whatever server you're using to handle those requests.
2019-04-06T23:27:22.641900
Sasha
pythondev_help_Sasha_2019-04-06T23:27:22.641900
1,554,593,242.6419
17,264
pythondev
help
I wish I could figure out how to be more specific
2019-04-06T23:31:43.642000
Erline
pythondev_help_Erline_2019-04-06T23:31:43.642000
1,554,593,503.642
17,265
pythondev
help
I see that Apache has error logs and access logs. The access logs don’t say all that much. Are there other places to look for logs that should be considered?
2019-04-06T23:32:45.642100
Erline
pythondev_help_Erline_2019-04-06T23:32:45.642100
1,554,593,565.6421
17,266
pythondev
help
It depends what you're running. Are you just using Apache with static pages, or is it a frontend for a Django / Flask / PHP / something dynamic site?
2019-04-06T23:33:36.642900
Sasha
pythondev_help_Sasha_2019-04-06T23:33:36.642900
1,554,593,616.6429
17,267
pythondev
help
I hope I can answer your question. I think my local machine was already running it.
2019-04-06T23:37:14.643000
Erline
pythondev_help_Erline_2019-04-06T23:37:14.643000
1,554,593,834.643
17,268
pythondev
help
I say that because before the 400 I had seen the “it works” generic message you’d normally see from Apache.
2019-04-06T23:37:48.643100
Erline
pythondev_help_Erline_2019-04-06T23:37:48.643100
1,554,593,868.6431
17,269
pythondev
help
I’m not trying to run Django or anything at the moment, though I was originally trying to.
2019-04-06T23:38:28.643700
Erline
pythondev_help_Erline_2019-04-06T23:38:28.643700
1,554,593,908.6437
17,270
pythondev
help
Okay, it sounds like it's just a bare Apache instance with no custom site or other stuff.
2019-04-06T23:38:29.643800
Sasha
pythondev_help_Sasha_2019-04-06T23:38:29.643800
1,554,593,909.6438
17,271
pythondev
help
Pretty sure yeah.
2019-04-06T23:38:39.644100
Erline
pythondev_help_Erline_2019-04-06T23:38:39.644100
1,554,593,919.6441
17,272
pythondev
help
Can you explain what you were trying to do with vagrant?
2019-04-06T23:38:46.644300
Sasha
pythondev_help_Sasha_2019-04-06T23:38:46.644300
1,554,593,926.6443
17,273
pythondev
help
Yeah, I can. I was trying to simulate a Django/wagtail production environment. I installed nginx and uwsgi. I changed the vagrant file to have port forwarding on :8000 for guest and also for host. Then once I got nginx and uwsgi up and running, I was trying to figure out how to view the Django app and if I needed to change port forwarding in my vagrantfile.
2019-04-06T23:41:14.644400
Erline
pythondev_help_Erline_2019-04-06T23:41:14.644400
1,554,594,074.6444
17,274
pythondev
help
Great! Now we have a little more information to go on. I have no idea how to solve your problem myself, but hopefully someone with more experience in this sort of thing will. :fingers_crossed:
2019-04-06T23:43:32.645600
Sasha
pythondev_help_Sasha_2019-04-06T23:43:32.645600
1,554,594,212.6456
17,275
pythondev
help
Alright, thank you!
2019-04-06T23:43:45.645700
Erline
pythondev_help_Erline_2019-04-06T23:43:45.645700
1,554,594,225.6457
17,276
pythondev
help
I never know how much info to give before someone gets confused.
2019-04-06T23:44:07.645800
Erline
pythondev_help_Erline_2019-04-06T23:44:07.645800
1,554,594,247.6458
17,277
pythondev
help
A good rule of thumb to kick things off is "what you wanted to accomplish, what you tried, and what problem you encountered". That'll usually give people enough context to give some useful feedback or at least ask intelligent followup questions.
2019-04-06T23:47:03.647600
Sasha
pythondev_help_Sasha_2019-04-06T23:47:03.647600
1,554,594,423.6476
17,278
pythondev
help
I find that I can say -too- much, so I tried saying less
2019-04-06T23:48:07.648200
Erline
pythondev_help_Erline_2019-04-06T23:48:07.648200
1,554,594,487.6482
17,279
pythondev
help
Hi could someone help me interpret these instructions? Am I to Clone the repo, then inside the clone I create a virtualenv? Or am I to create a virtualenv and inside there I would clone the repo?
2019-04-06T23:58:25.650200
Eliseo
pythondev_help_Eliseo_2019-04-06T23:58:25.650200
1,554,595,105.6502
17,280
pythondev
help
None
2019-04-06T23:58:54.650300
Eliseo
pythondev_help_Eliseo_2019-04-06T23:58:54.650300
1,554,595,134.6503
17,281
pythondev
help
You clone the repo. You create a virtual environment either inside the repo or outside. As long as you remember where the virtual environment folder is.
2019-04-07T00:02:22.650600
Erline
pythondev_help_Erline_2019-04-07T00:02:22.650600
1,554,595,342.6506
17,282
pythondev
help
Thanks for the response, Munnu
2019-04-07T00:03:14.650900
Eliseo
pythondev_help_Eliseo_2019-04-07T00:03:14.650900
1,554,595,394.6509
17,283
pythondev
help
I am confused when the instructions say, in a virtualenv… Do they mean inside of the VENV folder or the after you ACTIVATE the venv?
2019-04-07T00:04:14.652100
Eliseo
pythondev_help_Eliseo_2019-04-07T00:04:14.652100
1,554,595,454.6521
17,284
pythondev
help
I understand we use VENV’s to keep dependencies separate, but why is there a folder and a VENV mode in terminal after ACTIVATE
2019-04-07T00:05:12.653200
Eliseo
pythondev_help_Eliseo_2019-04-07T00:05:12.653200
1,554,595,512.6532
17,285
pythondev
help
#how to check if my input is float or not? #And until i am giving a float number #it will continue to ask me for a float price = input ("Enter a float: ") while (price.isalpha() or price.isdigit() or '') and price != float: price = input ("Enter a float (format: 21.67): ") price = float (price) #empty string '' might crash this program #on my code editor (wing 101) this program (loop) even ignores float #I think its because the float i am giving, is considered string # '23.56' is string, right? #what can i do here so that i can avoid this 'string' float?
2019-04-07T00:10:08.653700
Markus
pythondev_help_Markus_2019-04-07T00:10:08.653700
1,554,595,808.6537
17,286
pythondev
help
The easiest thing is to put the `float(price)` inside a `try`-`except` block and catch `ValueError` on bad input.
2019-04-07T00:15:04.654700
Sasha
pythondev_help_Sasha_2019-04-07T00:15:04.654700
1,554,596,104.6547
17,287
pythondev
help
<@Eliseo> what instructions?
2019-04-07T00:19:52.654900
Erline
pythondev_help_Erline_2019-04-07T00:19:52.654900
1,554,596,392.6549
17,288
pythondev
help
Oh and after you have activated the virtual environment.
2019-04-07T00:20:12.655000
Erline
pythondev_help_Erline_2019-04-07T00:20:12.655000
1,554,596,412.655
17,289
pythondev
help
There is a picture I posted right after my first message just above your message
2019-04-07T00:20:26.655400
Eliseo
pythondev_help_Eliseo_2019-04-07T00:20:26.655400
1,554,596,426.6554
17,290
pythondev
help
yes
2019-04-07T00:20:33.655700
Eliseo
pythondev_help_Eliseo_2019-04-07T00:20:33.655700
1,554,596,433.6557
17,291
pythondev
help
how can i install the requirements.txt into the virtualenv?
2019-04-07T00:20:57.656500
Eliseo
pythondev_help_Eliseo_2019-04-07T00:20:57.656500
1,554,596,457.6565
17,292
pythondev
help
Do I have to have a virtualenv file inside of the clone while my env is activated?
2019-04-07T00:21:18.656900
Eliseo
pythondev_help_Eliseo_2019-04-07T00:21:18.656900
1,554,596,478.6569
17,293
pythondev
help
The pic isn’t showing.
2019-04-07T00:21:37.657000
Erline
pythondev_help_Erline_2019-04-07T00:21:37.657000
1,554,596,497.657
17,294
pythondev
help
Ok so to install you first activate your virtual environment. Then you will do pip install -r requirements.txt
2019-04-07T00:22:57.657100
Erline
pythondev_help_Erline_2019-04-07T00:22:57.657100
1,554,596,577.6571
17,295
pythondev
help
make sure you’re in the same directory as the requirements.txt file for what I wrote above to work.
2019-04-07T00:25:16.657200
Erline
pythondev_help_Erline_2019-04-07T00:25:16.657200
1,554,596,716.6572
17,296
pythondev
help
Oh I think I understand the prior question you had about why the virtual env folder exists in the first place. It stores all of the related libraries for your project. Instead of you installing everything directly to your machine, you have a little place to store the specific things you need for that specific project.
2019-04-07T00:28:23.657300
Erline
pythondev_help_Erline_2019-04-07T00:28:23.657300
1,554,596,903.6573
17,297
pythondev
help
Venv mode is to ensure you know that you are in a virtual environment, and if you ultimately name your virtual environments different names, you know which one you’re in.
2019-04-07T00:29:23.657400
Erline
pythondev_help_Erline_2019-04-07T00:29:23.657400
1,554,596,963.6574
17,298
pythondev
help
You wouldn’t want everything installed directly on to your machine because different projects may need different versions of things.
2019-04-07T00:31:15.657600
Erline
pythondev_help_Erline_2019-04-07T00:31:15.657600
1,554,597,075.6576
17,299
pythondev
help
That’s why virtual environments are useful. Mitigates library conflicts.
2019-04-07T00:31:43.657700
Erline
pythondev_help_Erline_2019-04-07T00:31:43.657700
1,554,597,103.6577
17,300
pythondev
help
Does anyone know "Django". If you can answer then help me how to integrate chatbot in Django
2019-04-07T00:51:16.659000
Danika
pythondev_help_Danika_2019-04-07T00:51:16.659000
1,554,598,276.659
17,301
pythondev
help
Thank you that cleared up alot <@Erline>
2019-04-07T00:55:26.659300
Eliseo
pythondev_help_Eliseo_2019-04-07T00:55:26.659300
1,554,598,526.6593
17,302
pythondev
help
How does my clone connect to the virtual env?
2019-04-07T00:55:53.659900
Eliseo
pythondev_help_Eliseo_2019-04-07T00:55:53.659900
1,554,598,553.6599
17,303
pythondev
help
since im downloading all of those dependencies from requirements.txt
2019-04-07T00:56:07.660300
Eliseo
pythondev_help_Eliseo_2019-04-07T00:56:07.660300
1,554,598,567.6603
17,304
pythondev
help
<@Danika> Please use <#C0LMFRMB5|django> for your django related questions
2019-04-07T01:00:07.661200
Valeri
pythondev_help_Valeri_2019-04-07T01:00:07.661200
1,554,598,807.6612
17,305
pythondev
help
okay
2019-04-07T01:00:26.661400
Danika
pythondev_help_Danika_2019-04-07T01:00:26.661400
1,554,598,826.6614
17,306
pythondev
help
<@Eliseo> There's nothing like your clone `connecting` to your virtualenv
2019-04-07T01:01:08.662000
Valeri
pythondev_help_Valeri_2019-04-07T01:01:08.662000
1,554,598,868.662
17,307
pythondev
help
You basically activate one to tell python to use a specific set of libraries
2019-04-07T01:01:53.662900
Valeri
pythondev_help_Valeri_2019-04-07T01:01:53.662900
1,554,598,913.6629
17,308
pythondev
help
Does that clear up things? <@Eliseo>
2019-04-07T01:02:52.663200
Valeri
pythondev_help_Valeri_2019-04-07T01:02:52.663200
1,554,598,972.6632
17,309
pythondev
help
<@Valeri> Yes thank you
2019-04-07T01:37:08.664500
Eliseo
pythondev_help_Eliseo_2019-04-07T01:37:08.664500
1,554,601,028.6645
17,310
pythondev
help
<@Eliseo> yes, your clone is something entirely different. Clones are just some files and folders. Nothing special. It just so happened that you got those files and folders from some outside place instead of creating them on your computer in that moment.
2019-04-07T02:04:59.664600
Erline
pythondev_help_Erline_2019-04-07T02:04:59.664600
1,554,602,699.6646
17,311
pythondev
help
The term just is shorthand for “make me an identical set of these files and folders from this outside place onto my actual computer” in your specific case.
2019-04-07T02:07:03.664700
Erline
pythondev_help_Erline_2019-04-07T02:07:03.664700
1,554,602,823.6647
17,312
pythondev
help
hi, im mucking around in django and need to have my `FormModel` not to replace the existing value in the db but rather add to the value. It seems to me that if you want to do extra stuff on form save you put it into the view and dont commit until you are done editing. But i dont want to write the value to the db rather than add to it so i should override the `save` function of the `FormModel` in my custom model and use an `F` function to do it?
2019-04-07T06:24:14.670100
Leida
pythondev_help_Leida_2019-04-07T06:24:14.670100
1,554,618,254.6701
17,313
pythondev
help
and should i ask this in the django channel instead?
2019-04-07T06:25:12.670600
Leida
pythondev_help_Leida_2019-04-07T06:25:12.670600
1,554,618,312.6706
17,314
pythondev
help
Hi, I am working on a radio station website and want to add a live broadcast functionality is it possible to do it with django or any other means?
2019-04-07T06:44:31.673100
Rona
pythondev_help_Rona_2019-04-07T06:44:31.673100
1,554,619,471.6731
17,315
pythondev
help
<@Erline> I've got a bit of experience getting local Django environments working inside Vagrant. Are you still experiencing your problem?
2019-04-07T09:29:58.674000
Carmen
pythondev_help_Carmen_2019-04-07T09:29:58.674000
1,554,629,398.674
17,316
pythondev
help
Hey guys! we have 5 computers in our office. How can I make LAN connection ? and I need to make one computer to have Centeralized MySQL database that we can access from remaining 4 computers. Can anyone help me with this?
2019-04-07T10:45:50.676300
Donnell
pythondev_help_Donnell_2019-04-07T10:45:50.676300
1,554,633,950.6763
17,317
pythondev
help
<@Donnell> If you're on wifi you're already on the same network
2019-04-07T10:51:39.677000
Valeri
pythondev_help_Valeri_2019-04-07T10:51:39.677000
1,554,634,299.677
17,318
pythondev
help
You just need to expose your database port number to your local network
2019-04-07T10:52:05.677700
Valeri
pythondev_help_Valeri_2019-04-07T10:52:05.677700
1,554,634,325.6777
17,319
pythondev
help
And access it from elsewhere using the server IP and port number
2019-04-07T10:52:29.678400
Valeri
pythondev_help_Valeri_2019-04-07T10:52:29.678400
1,554,634,349.6784
17,320