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
oh my
2018-01-28T16:39:48.000080
Barney
pythondev_help_Barney_2018-01-28T16:39:48.000080
1,517,157,588.00008
31,724
pythondev
help
I enjoyed this "bug" once
2018-01-28T16:39:57.000074
Barney
pythondev_help_Barney_2018-01-28T16:39:57.000074
1,517,157,597.000074
31,725
pythondev
help
not long ago
2018-01-28T16:40:01.000119
Barney
pythondev_help_Barney_2018-01-28T16:40:01.000119
1,517,157,601.000119
31,726
pythondev
help
BCC vs BCH
2018-01-28T16:40:02.000170
Stefan
pythondev_help_Stefan_2018-01-28T16:40:02.000170
1,517,157,602.00017
31,727
pythondev
help
bittrex right?
2018-01-28T16:40:08.000107
Stefan
pythondev_help_Stefan_2018-01-28T16:40:08.000107
1,517,157,608.000107
31,728
pythondev
help
BTG is bitcoin gold and some other shitcoin
2018-01-28T16:40:10.000069
Barney
pythondev_help_Barney_2018-01-28T16:40:10.000069
1,517,157,610.000069
31,729
pythondev
help
oh lol
2018-01-28T16:40:14.000082
Stefan
pythondev_help_Stefan_2018-01-28T16:40:14.000082
1,517,157,614.000082
31,730
pythondev
help
yea its a nasty one
2018-01-28T16:40:22.000006
Stefan
pythondev_help_Stefan_2018-01-28T16:40:22.000006
1,517,157,622.000006
31,731
pythondev
help
their rank differs by 300 or so
2018-01-28T16:40:26.000086
Barney
pythondev_help_Barney_2018-01-28T16:40:26.000086
1,517,157,626.000086
31,732
pythondev
help
wait for my "is_human_verified" flag :stuck_out_tongue_winking_eye:
2018-01-28T16:40:36.000029
Stefan
pythondev_help_Stefan_2018-01-28T16:40:36.000029
1,517,157,636.000029
31,733
pythondev
help
I think to emit "ambiguous == True" when there are multiple coins with the same symbol
2018-01-28T16:41:03.000067
Stefan
pythondev_help_Stefan_2018-01-28T16:41:03.000067
1,517,157,663.000067
31,734
pythondev
help
actually bitcoin-gold is #18 and bitgem (other BTG) is 800+... sad and funny
2018-01-28T16:41:15.000033
Barney
pythondev_help_Barney_2018-01-28T16:41:15.000033
1,517,157,675.000033
31,735
pythondev
help
did it result in a mistake?
2018-01-28T16:41:26.000135
Stefan
pythondev_help_Stefan_2018-01-28T16:41:26.000135
1,517,157,686.000135
31,736
pythondev
help
well, it broke an assumption that names are unique
2018-01-28T16:41:45.000044
Barney
pythondev_help_Barney_2018-01-28T16:41:45.000044
1,517,157,705.000044
31,737
pythondev
help
yea indeed
2018-01-28T16:41:50.000145
Stefan
pythondev_help_Stefan_2018-01-28T16:41:50.000145
1,517,157,710.000145
31,738
pythondev
help
symbols, i mean
2018-01-28T16:41:54.000001
Barney
pythondev_help_Barney_2018-01-28T16:41:54.000001
1,517,157,714.000001
31,739
pythondev
help
symbols are unique within an exchange, that's a guarantee though
2018-01-28T16:42:04.000150
Stefan
pythondev_help_Stefan_2018-01-28T16:42:04.000150
1,517,157,724.00015
31,740
pythondev
help
or actually.... i saw one mention "we are removing XXX and afterwards coin AAA will take the name XXX"
2018-01-28T16:42:24.000076
Stefan
pythondev_help_Stefan_2018-01-28T16:42:24.000076
1,517,157,744.000076
31,741
pythondev
help
well imagine if it weren't so
2018-01-28T16:42:30.000055
Barney
pythondev_help_Barney_2018-01-28T16:42:30.000055
1,517,157,750.000055
31,742
pythondev
help
ridiculous
2018-01-28T16:42:32.000135
Stefan
pythondev_help_Stefan_2018-01-28T16:42:32.000135
1,517,157,752.000135
31,743
pythondev
help
ah well, good night : )
2018-01-28T16:43:21.000063
Stefan
pythondev_help_Stefan_2018-01-28T16:43:21.000063
1,517,157,801.000063
31,744
pythondev
help
and thanks for helping
2018-01-28T16:43:32.000067
Stefan
pythondev_help_Stefan_2018-01-28T16:43:32.000067
1,517,157,812.000067
31,745
pythondev
help
:+1::slightly_smiling_face:
2018-01-28T16:44:05.000101
Barney
pythondev_help_Barney_2018-01-28T16:44:05.000101
1,517,157,845.000101
31,746
pythondev
help
Hi guys, i’m looking for an mapper lib that can dynamic mapping from an json to other json structure, do we have anything like that? Eg : ``` [person: {name: '', age: ''] => [people : {"full_name": '', "age" : ''}]``` by the config in yaml or something like that ``` person: people person.name: people.full_name pers...
2018-01-29T00:52:15.000178
Ben
pythondev_help_Ben_2018-01-29T00:52:15.000178
1,517,187,135.000178
31,747
pythondev
help
A bit of googling shows <https://github.com/Onyo/jsonbender>
2018-01-29T00:53:59.000134
Aleida
pythondev_help_Aleida_2018-01-29T00:53:59.000134
1,517,187,239.000134
31,748
pythondev
help
haha thanks, what was your keyword? I try with “dynamic mapping python” but…
2018-01-29T00:55:25.000001
Ben
pythondev_help_Ben_2018-01-29T00:55:25.000001
1,517,187,325.000001
31,749
pythondev
help
"python json transformation", 3rd SO link with the answer :slightly_smiling_face:
2018-01-29T01:00:34.000084
Aleida
pythondev_help_Aleida_2018-01-29T01:00:34.000084
1,517,187,634.000084
31,750
pythondev
help
:slightly_smiling_face:
2018-01-29T01:00:50.000216
Ben
pythondev_help_Ben_2018-01-29T01:00:50.000216
1,517,187,650.000216
31,751
pythondev
help
Hey guys, what's the best way to convert 2d image to 3d using python?
2018-01-29T02:50:35.000316
Joline
pythondev_help_Joline_2018-01-29T02:50:35.000316
1,517,194,235.000316
31,752
pythondev
help
<@Joline> this question doesn't really mean anything without context, what are you trying to do?
2018-01-29T05:02:54.000602
Noel
pythondev_help_Noel_2018-01-29T05:02:54.000602
1,517,202,174.000602
31,753
pythondev
help
Do you guys have any recommendations for resources for fictional Python-projects to take on, to actually learn how to build something useful?
2018-01-29T05:09:58.000436
Rodolfo
pythondev_help_Rodolfo_2018-01-29T05:09:58.000436
1,517,202,598.000436
31,754
pythondev
help
I'm trying to simulate growth of a plant(Amaranthus viridis or Celosia argentea) in 3d. I'm not sure of an efficient way to go about this.
2018-01-29T05:18:43.000217
Joline
pythondev_help_Joline_2018-01-29T05:18:43.000217
1,517,203,123.000217
31,755
pythondev
help
<@Sigrid> what's picture copy (x2)?
2018-01-29T06:24:15.000495
Barney
pythondev_help_Barney_2018-01-29T06:24:15.000495
1,517,207,055.000495
31,756
pythondev
help
Just another picture object. Every `product` can have a many pictures. It’s just example of sets.
2018-01-29T07:04:01.000217
Sigrid
pythondev_help_Sigrid_2018-01-29T07:04:01.000217
1,517,209,441.000217
31,757
pythondev
help
Hey all, I am having difficulty parsing a binary string into a string, I have used `.decode('ascii')` and also tried `.decode('utf-8')` but I keep getting the error; ``` UnicodeDecodeError: 'ascii' codec can't decode byte 0x87 in position 0: ordinal not in range(128) ```
2018-01-29T07:21:33.000431
Milo
pythondev_help_Milo_2018-01-29T07:21:33.000431
1,517,210,493.000431
31,758
pythondev
help
So for example in terms of tables you would probably have `product` with an `id` column and `pictures` which has columns `id`, `productId`, `title`, etc. Then when you want to get all the pictures for a product you do a query a bit like ` SELECT * FROM pictures WHERE productId = ?`
2018-01-29T07:25:29.000195
Jama
pythondev_help_Jama_2018-01-29T07:25:29.000195
1,517,210,729.000195
31,759
pythondev
help
<@Milo> what is the error you get with `.decode('utf-8')` ?
2018-01-29T07:26:26.000215
Micki
pythondev_help_Micki_2018-01-29T07:26:26.000215
1,517,210,786.000215
31,760
pythondev
help
`UnicodeDecodeError: 'utf-8' codec can't decode byte 0x87 in position 0: invalid start byte`
2018-01-29T07:27:14.000464
Milo
pythondev_help_Milo_2018-01-29T07:27:14.000464
1,517,210,834.000464
31,761
pythondev
help
I am not entirely sure why it is reading it as a binary string from db
2018-01-29T07:28:46.000109
Milo
pythondev_help_Milo_2018-01-29T07:28:46.000109
1,517,210,926.000109
31,762
pythondev
help
are you sure it's a binary string ?
2018-01-29T07:28:58.000033
Micki
pythondev_help_Micki_2018-01-29T07:28:58.000033
1,517,210,938.000033
31,763
pythondev
help
can you print it ?
2018-01-29T07:29:01.000292
Micki
pythondev_help_Micki_2018-01-29T07:29:01.000292
1,517,210,941.000292
31,764
pythondev
help
``` 0 b'\x87\x08\xa1\x16\xc9\xfb\x9eM\xa1X\x01\xbe\x... 1 b'f\x96\xb8j\x0b\xebmC\xbbN\x01\xd3\x05\xa6\xcfF' 2 b'H!G&amp;h\xcd\xa2F\xba8\x02\ne\xc8\x85\xa0' 3 b'\xfb\xf1V\xa7L$\xfcD\xb0\x11\x03\x17*\x18\x8... 4 b'\xced\xbfl%\x14vK\xb12\x03\x1b]\xf79P' 5 b'\xd4\xbe\xe5;\x9bF...
2018-01-29T07:29:37.000446
Milo
pythondev_help_Milo_2018-01-29T07:29:37.000446
1,517,210,977.000446
31,765
pythondev
help
that look really strange. What do you use for querrying the db ?
2018-01-29T07:31:38.000363
Micki
pythondev_help_Micki_2018-01-29T07:31:38.000363
1,517,211,098.000363
31,766
pythondev
help
`pd.read_sql`
2018-01-29T07:32:06.000229
Milo
pythondev_help_Milo_2018-01-29T07:32:06.000229
1,517,211,126.000229
31,767
pythondev
help
`pd` is ?
2018-01-29T07:32:58.000221
Micki
pythondev_help_Micki_2018-01-29T07:32:58.000221
1,517,211,178.000221
31,768
pythondev
help
pandas object, `import pandas as pd`
2018-01-29T07:33:29.000184
Milo
pythondev_help_Milo_2018-01-29T07:33:29.000184
1,517,211,209.000184
31,769
pythondev
help
hmm I have no idea. You might have better luck asking in <#C0JB9ATQV|data_science>
2018-01-29T07:46:59.000049
Micki
pythondev_help_Micki_2018-01-29T07:46:59.000049
1,517,212,019.000049
31,770
pythondev
help
Hey guys, So here is some old AngularJs on the system and im trying to duplicate a script used for collecting parts used on jobs. Now im trying to make it work for parts that are used on a visit. But i keep getting this error: `angular.js:9159 TypeError: Cannot read property 'components_list' of undefined` Can any...
2018-01-29T08:20:29.000449
Tanesha
pythondev_help_Tanesha_2018-01-29T08:20:29.000449
1,517,214,029.000449
31,771
pythondev
help
The error points at line 21
2018-01-29T08:22:35.000144
Tanesha
pythondev_help_Tanesha_2018-01-29T08:22:35.000144
1,517,214,155.000144
31,772
pythondev
help
you should ask in <#C45V5EJ15|javascript> :wink:
2018-01-29T08:23:37.000124
Micki
pythondev_help_Micki_2018-01-29T08:23:37.000124
1,517,214,217.000124
31,773
pythondev
help
Ah, didnt realise we had that Chennel, thanks.
2018-01-29T08:24:01.000128
Tanesha
pythondev_help_Tanesha_2018-01-29T08:24:01.000128
1,517,214,241.000128
31,774
pythondev
help
also, <#C07EYDP25|webdev>
2018-01-29T08:24:59.000519
Floy
pythondev_help_Floy_2018-01-29T08:24:59.000519
1,517,214,299.000519
31,775
pythondev
help
:slightly_smiling_face:
2018-01-29T08:25:00.000394
Floy
pythondev_help_Floy_2018-01-29T08:25:00.000394
1,517,214,300.000394
31,776
pythondev
help
tyty
2018-01-29T08:25:34.000094
Tanesha
pythondev_help_Tanesha_2018-01-29T08:25:34.000094
1,517,214,334.000094
31,777
pythondev
help
Hi everyone! For django question is it the right place ?
2018-01-29T11:30:09.000204
Mikki
pythondev_help_Mikki_2018-01-29T11:30:09.000204
1,517,225,409.000204
31,778
pythondev
help
<@Mikki> <#C0LMFRMB5|django>
2018-01-29T11:54:12.000270
Porsha
pythondev_help_Porsha_2018-01-29T11:54:12.000270
1,517,226,852.00027
31,779
pythondev
help
hey folks! anyone have success using s3 as a private pypi repo with authentication?
2018-01-29T12:42:33.000472
Sherrell
pythondev_help_Sherrell_2018-01-29T12:42:33.000472
1,517,229,753.000472
31,780
pythondev
help
Hi, I have a question: how example serialise string convert to dictionary and dictionary do serialise string? String looks example like this: ```a:3:{s:11:"app_version";s:5:"0.1.0";s:12:"release_date";s:19:"2017-01-23 23:14:03";s:5:"build";i:6;}```
2018-01-29T17:21:32.000428
Tommye
pythondev_help_Tommye_2018-01-29T17:21:32.000428
1,517,246,492.000428
31,781
pythondev
help
Example in PHP is `serialise()` and `unserialize()`
2018-01-29T17:27:05.000697
Tommye
pythondev_help_Tommye_2018-01-29T17:27:05.000697
1,517,246,825.000697
31,782
pythondev
help
there are a ton of serialization libraries out there for python
2018-01-29T17:27:31.000280
Garrett
pythondev_help_Garrett_2018-01-29T17:27:31.000280
1,517,246,851.00028
31,783
pythondev
help
Question, does anyone have a generic example of how to use Peewee ORM with postgres?
2018-01-29T17:37:33.000093
Nohemi
pythondev_help_Nohemi_2018-01-29T17:37:33.000093
1,517,247,453.000093
31,784
pythondev
help
combine <https://peewee.readthedocs.io/en/latest/peewee/database.html> 's connection example with <https://peewee.readthedocs.io/en/latest/peewee/example.html#models> ?
2018-01-29T17:39:39.000352
Garrett
pythondev_help_Garrett_2018-01-29T17:39:39.000352
1,517,247,579.000352
31,785
pythondev
help
yeah it's pretty straightforward
2018-01-29T17:43:34.000541
Barney
pythondev_help_Barney_2018-01-29T17:43:34.000541
1,517,247,814.000541
31,786
pythondev
help
at least until you want to use postgres-only stuff
2018-01-29T17:43:44.000137
Barney
pythondev_help_Barney_2018-01-29T17:43:44.000137
1,517,247,824.000137
31,787
pythondev
help
Yes, SQLite is working great but now need to transition to Postgres
2018-01-29T17:44:10.000526
Nohemi
pythondev_help_Nohemi_2018-01-29T17:44:10.000526
1,517,247,850.000526
31,788
pythondev
help
what issues are you having transitioning, <@Nohemi>?
2018-01-29T17:44:52.000244
Garrett
pythondev_help_Garrett_2018-01-29T17:44:52.000244
1,517,247,892.000244
31,789
pythondev
help
it's very likely you won't need to change anything besides connection URI
2018-01-29T17:44:52.000475
Barney
pythondev_help_Barney_2018-01-29T17:44:52.000475
1,517,247,892.000475
31,790
pythondev
help
Before I transition I was wanting to better understand how Postgres works.
2018-01-29T17:53:16.000217
Nohemi
pythondev_help_Nohemi_2018-01-29T17:53:16.000217
1,517,248,396.000217
31,791
pythondev
help
it's another SQL database. it does basically everything every other database does :smile:
2018-01-29T17:55:17.000195
Garrett
pythondev_help_Garrett_2018-01-29T17:55:17.000195
1,517,248,517.000195
31,792
pythondev
help
and i'm including key/value and document stores in that
2018-01-29T17:55:32.000505
Garrett
pythondev_help_Garrett_2018-01-29T17:55:32.000505
1,517,248,532.000505
31,793
pythondev
help
Another thing to consider is developing on a remote vs. local db. At least for me, I started with SQLite locally and then moved to Postgres remotely. There are some additional steps and learning curve involved with that.
2018-01-29T18:03:19.000579
Shaun
pythondev_help_Shaun_2018-01-29T18:03:19.000579
1,517,248,999.000579
31,794
pythondev
help
yes. i don't recommend developing against a remote database. have a sane local copy
2018-01-29T18:04:49.000125
Garrett
pythondev_help_Garrett_2018-01-29T18:04:49.000125
1,517,249,089.000125
31,795
pythondev
help
Yeah, agreed, I'm n00b and trying to move fast. It's much better to set up a local copy and then transition.
2018-01-29T18:07:45.000364
Shaun
pythondev_help_Shaun_2018-01-29T18:07:45.000364
1,517,249,265.000364
31,796
pythondev
help
<@Garrett> But with Postgres you have to create a database to make it work correct? <http://share.redwhale.co/pBJs>
2018-01-29T18:13:59.000227
Nohemi
pythondev_help_Nohemi_2018-01-29T18:13:59.000227
1,517,249,639.000227
31,797
pythondev
help
yes, you'll need to create the db. assuming you can log into postgres, i think that's `create database &lt;database name&gt;`. if not, docs are great
2018-01-29T18:14:37.000317
Garrett
pythondev_help_Garrett_2018-01-29T18:14:37.000317
1,517,249,677.000317
31,798
pythondev
help
`createdb &lt;database name&gt;` in the terminal, IIRC
2018-01-29T18:14:47.000340
Garrett
pythondev_help_Garrett_2018-01-29T18:14:47.000340
1,517,249,687.00034
31,799
pythondev
help
Got it. Thanks.
2018-01-29T18:15:01.000420
Nohemi
pythondev_help_Nohemi_2018-01-29T18:15:01.000420
1,517,249,701.00042
31,800
pythondev
help
What's the best practice for using virtualenv: to keep all virtualenvs in WORK_HOME (and separate from project files) or to have each virtualenv bundled with its project (eg myproject/env/python.exe)? What are the pros and cons of each?
2018-01-29T18:20:10.000051
Rena
pythondev_help_Rena_2018-01-29T18:20:10.000051
1,517,250,010.000051
31,801
pythondev
help
I personally setup a virtualenv in each projects directory
2018-01-29T18:22:11.000071
Porsha
pythondev_help_Porsha_2018-01-29T18:22:11.000071
1,517,250,131.000071
31,802
pythondev
help
my_project/env/
2018-01-29T18:23:03.000222
Porsha
pythondev_help_Porsha_2018-01-29T18:23:03.000222
1,517,250,183.000222
31,803
pythondev
help
I do the same (and if using git, make sure to add that directory to `.gitignore`)
2018-01-29T18:23:44.000362
Brande
pythondev_help_Brande_2018-01-29T18:23:44.000362
1,517,250,224.000362
31,804
pythondev
help
Makes life a lot easier. In fact I've not seen or read of anyone doing it the other way, although I could be wrong
2018-01-29T18:25:14.000096
Porsha
pythondev_help_Porsha_2018-01-29T18:25:14.000096
1,517,250,314.000096
31,805
pythondev
help
they're pretty equivalent
2018-01-29T18:25:15.000469
Garrett
pythondev_help_Garrett_2018-01-29T18:25:15.000469
1,517,250,315.000469
31,806
pythondev
help
the `virtualenvwrapper` practice is nice because your venvs are out of the way. it's more difficult to throw them away, though
2018-01-29T18:25:37.000021
Garrett
pythondev_help_Garrett_2018-01-29T18:25:37.000021
1,517,250,337.000021
31,807
pythondev
help
venvs should _always_ be discardable
2018-01-29T18:25:43.000223
Garrett
pythondev_help_Garrett_2018-01-29T18:25:43.000223
1,517,250,343.000223
31,808
pythondev
help
Definitely helps editors such as pycharm &amp; vs code auto detect the path/env you're using
2018-01-29T18:25:50.000328
Porsha
pythondev_help_Porsha_2018-01-29T18:25:50.000328
1,517,250,350.000328
31,809
pythondev
help
but keeping them local means you have to make sure your editor and VCS don't pay attention to them or you'll end up editing or pushing `.pyc` files and no one wants that
2018-01-29T18:26:14.000133
Garrett
pythondev_help_Garrett_2018-01-29T18:26:14.000133
1,517,250,374.000133
31,810
pythondev
help
<@Garrett> Have you tried out pipenv?
2018-01-29T18:26:14.000371
Porsha
pythondev_help_Porsha_2018-01-29T18:26:14.000371
1,517,250,374.000371
31,811
pythondev
help
a tiny bit. i'm not sold on it yet
2018-01-29T18:26:24.000088
Garrett
pythondev_help_Garrett_2018-01-29T18:26:24.000088
1,517,250,384.000088
31,812
pythondev
help
I was messing around with it the other day. It's quite nice, just takes some adjustment
2018-01-29T18:27:01.000183
Porsha
pythondev_help_Porsha_2018-01-29T18:27:01.000183
1,517,250,421.000183
31,813
pythondev
help
yeah. i just haven't figured out whether or not the adjustment gets me any major gains
2018-01-29T18:27:54.000100
Garrett
pythondev_help_Garrett_2018-01-29T18:27:54.000100
1,517,250,474.0001
31,814
pythondev
help
Also has theat exact issue, was pushing the pycache files up to my repo :facepalm:
2018-01-29T18:28:00.000452
Porsha
pythondev_help_Porsha_2018-01-29T18:28:00.000452
1,517,250,480.000452
31,815
pythondev
help
we use docker at work, so pipenv isn't really needed. at home, i kinda prefer to just use the built-in `venv` module
2018-01-29T18:28:18.000369
Garrett
pythondev_help_Garrett_2018-01-29T18:28:18.000369
1,517,250,498.000369
31,816
pythondev
help
<@Garrett> Postgres is working great. Thank you. :slightly_smiling_face:
2018-01-29T18:28:23.000302
Nohemi
pythondev_help_Nohemi_2018-01-29T18:28:23.000302
1,517,250,503.000302
31,817
pythondev
help
Excellent explanation. I hadn't understood why they needed to be ignored.
2018-01-29T18:38:51.000312
Rena
pythondev_help_Rena_2018-01-29T18:38:51.000312
1,517,251,131.000312
31,818
pythondev
help
<@Rena> If you're pushing to a git repo, it's worth adding one of the github standard python .gitignore files to your project directory folder <https://github.com/github/gitignore/blob/master/Python.gitignore>
2018-01-29T18:40:26.000475
Porsha
pythondev_help_Porsha_2018-01-29T18:40:26.000475
1,517,251,226.000475
31,819
pythondev
help
I add these lines to the bottom as I use pycharm and vs code (Stops the editor workspace files being included in your repo)
2018-01-29T18:42:07.000447
Porsha
pythondev_help_Porsha_2018-01-29T18:42:07.000447
1,517,251,327.000447
31,820
pythondev
help
```# vscode editor .vscode # pycharm editor .idea ```
2018-01-29T18:42:15.000185
Porsha
pythondev_help_Porsha_2018-01-29T18:42:15.000185
1,517,251,335.000185
31,821
pythondev
help
<@Porsha> I'm just starting out with python and not quite up to messing with git yet, but I'll definitely have a look at that
2018-01-29T18:42:16.000120
Rena
pythondev_help_Rena_2018-01-29T18:42:16.000120
1,517,251,336.00012
31,822
pythondev
help
Oh ok cool, enjoy!
2018-01-29T18:42:31.000366
Porsha
pythondev_help_Porsha_2018-01-29T18:42:31.000366
1,517,251,351.000366
31,823