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
unclear right now
2018-01-21T15:26:36.000928
Tisa
pythondev_help_Tisa_2018-01-21T15:26:36.000928
1,516,548,396.000928
30,224
pythondev
help
is there a specific framework that’d be a strong choice for this sort of thing?
2018-01-21T15:26:50.000428
Tisa
pythondev_help_Tisa_2018-01-21T15:26:50.000428
1,516,548,410.000428
30,225
pythondev
help
some of our team is more JS-experienced but I’m the primary Python coder on the team
2018-01-21T15:27:04.001019
Tisa
pythondev_help_Tisa_2018-01-21T15:27:04.001019
1,516,548,424.001019
30,226
pythondev
help
<https://docs.djangoproject.com/en/2.0/ref/contrib/gis/>
2018-01-21T15:28:12.000846
Floy
pythondev_help_Floy_2018-01-21T15:28:12.000846
1,516,548,492.000846
30,227
pythondev
help
django already has a good amoutn of stuff available
2018-01-21T15:28:23.000726
Floy
pythondev_help_Floy_2018-01-21T15:28:23.000726
1,516,548,503.000726
30,228
pythondev
help
and not sure what the state is for node libraries for server side GIS apps
2018-01-21T15:28:46.000989
Floy
pythondev_help_Floy_2018-01-21T15:28:46.000989
1,516,548,526.000989
30,229
pythondev
help
ideally we won’t have to do JS server-side, I’m a strong advocate for not using JS on a server
2018-01-21T15:29:28.000691
Tisa
pythondev_help_Tisa_2018-01-21T15:29:28.000691
1,516,548,568.000691
30,230
pythondev
help
it has its use cases, and with you being the only python dev, it would also not have you as the sole point of focus for the server side
2018-01-21T15:30:14.000613
Floy
pythondev_help_Floy_2018-01-21T15:30:14.000613
1,516,548,614.000613
30,231
pythondev
help
it’s not like the rest of the team doesn’t know python. it’s just that I’m the most experienced with it
2018-01-21T15:30:41.000727
Tisa
pythondev_help_Tisa_2018-01-21T15:30:41.000727
1,516,548,641.000727
30,232
pythondev
help
alright
2018-01-21T15:30:46.000840
Floy
pythondev_help_Floy_2018-01-21T15:30:46.000840
1,516,548,646.00084
30,233
pythondev
help
so do you already know QGIS?
2018-01-21T15:31:11.000533
Floy
pythondev_help_Floy_2018-01-21T15:31:11.000533
1,516,548,671.000533
30,234
pythondev
help
nope, I’m more familiar with Python’s Shapely library
2018-01-21T15:31:25.001203
Tisa
pythondev_help_Tisa_2018-01-21T15:31:25.001203
1,516,548,685.001203
30,235
pythondev
help
a lot of this is my first time being exposed to webdev concepts
2018-01-21T15:32:35.001020
Tisa
pythondev_help_Tisa_2018-01-21T15:32:35.001020
1,516,548,755.00102
30,236
pythondev
help
ok, its a different world, for sure
2018-01-21T15:33:15.000479
Floy
pythondev_help_Floy_2018-01-21T15:33:15.000479
1,516,548,795.000479
30,237
pythondev
help
FWIW, I’ve built a few apps using geodjango on the backend and using leaflet on the front
2018-01-21T15:33:39.000983
Floy
pythondev_help_Floy_2018-01-21T15:33:39.000983
1,516,548,819.000983
30,238
pythondev
help
we’re using leaflet for display with our nodejs demo! that’s great
2018-01-21T15:34:04.000810
Tisa
pythondev_help_Tisa_2018-01-21T15:34:04.000810
1,516,548,844.00081
30,239
pythondev
help
<@Floy> is it OK if I ask you a couple q’s every now/then about django?
2018-01-21T16:07:17.000158
Tisa
pythondev_help_Tisa_2018-01-21T16:07:17.000158
1,516,550,837.000158
30,240
pythondev
help
sure, I’m in the <#C0LMFRMB5|django> channel alot
2018-01-21T16:22:26.000388
Floy
pythondev_help_Floy_2018-01-21T16:22:26.000388
1,516,551,746.000388
30,241
pythondev
help
Still trying to figure out a quick/dirty way to get an equivalency table between geographic areas using Python - I don’t know remotely enough to get started with PostGIS. Would it be possible at all to do this with Shapely/GEOS without it taking a decade and a half?
2018-01-21T17:59:23.000106
Tisa
pythondev_help_Tisa_2018-01-21T17:59:23.000106
1,516,557,563.000106
30,242
pythondev
help
for small data, yeah
2018-01-21T18:15:27.000298
Floy
pythondev_help_Floy_2018-01-21T18:15:27.000298
1,516,558,527.000298
30,243
pythondev
help
but for many thousands…
2018-01-21T18:15:49.000974
Floy
pythondev_help_Floy_2018-01-21T18:15:49.000974
1,516,558,549.000974
30,244
pythondev
help
I mean, depends how quickly you want results back
2018-01-21T18:16:05.000122
Floy
pythondev_help_Floy_2018-01-21T18:16:05.000122
1,516,558,565.000122
30,245
pythondev
help
hmm. guess it’s time for me to learn SQL
2018-01-21T18:16:07.000374
Tisa
pythondev_help_Tisa_2018-01-21T18:16:07.000374
1,516,558,567.000374
30,246
pythondev
help
I was hoping minutes as opposed to hours
2018-01-21T18:16:13.000670
Tisa
pythondev_help_Tisa_2018-01-21T18:16:13.000670
1,516,558,573.00067
30,247
pythondev
help
I mean there’s about 800 census tracts in Chicago and about 2000 precincts.
2018-01-21T18:16:43.001162
Tisa
pythondev_help_Tisa_2018-01-21T18:16:43.001162
1,516,558,603.001162
30,248
pythondev
help
and you want to generate an equvalency table for all of them?
2018-01-21T18:17:09.000454
Floy
pythondev_help_Floy_2018-01-21T18:17:09.000454
1,516,558,629.000454
30,249
pythondev
help
So 800*2000 = 1.6 million relations
2018-01-21T18:17:13.000422
Tisa
pythondev_help_Tisa_2018-01-21T18:17:13.000422
1,516,558,633.000422
30,250
pythondev
help
multiline relations…
2018-01-21T18:17:35.000476
Floy
pythondev_help_Floy_2018-01-21T18:17:35.000476
1,516,558,655.000476
30,251
pythondev
help
Well, those plus all the zip codes, neighborhoods, wards…
2018-01-21T18:17:35.001181
Tisa
pythondev_help_Tisa_2018-01-21T18:17:35.001181
1,516,558,655.001181
30,252
pythondev
help
~100 each of those.
2018-01-21T18:17:53.000516
Tisa
pythondev_help_Tisa_2018-01-21T18:17:53.000516
1,516,558,673.000516
30,253
pythondev
help
I mean, you _could_ do it
2018-01-21T18:18:04.000105
Floy
pythondev_help_Floy_2018-01-21T18:18:04.000105
1,516,558,684.000105
30,254
pythondev
help
It’d just take hours
2018-01-21T18:18:08.000746
Tisa
pythondev_help_Tisa_2018-01-21T18:18:08.000746
1,516,558,688.000746
30,255
pythondev
help
yeah
2018-01-21T18:18:13.000202
Floy
pythondev_help_Floy_2018-01-21T18:18:13.000202
1,516,558,693.000202
30,256
pythondev
help
but it would be a one time thing, right?
2018-01-21T18:18:18.000540
Floy
pythondev_help_Floy_2018-01-21T18:18:18.000540
1,516,558,698.00054
30,257
pythondev
help
screw that, I need to use my computer for other things! lol
2018-01-21T18:18:23.000244
Tisa
pythondev_help_Tisa_2018-01-21T18:18:23.000244
1,516,558,703.000244
30,258
pythondev
help
and much of this really should be serialized to static data that you can pull up
2018-01-21T18:18:34.000719
Floy
pythondev_help_Floy_2018-01-21T18:18:34.000719
1,516,558,714.000719
30,259
pythondev
help
I mean, yeah. But if the data changes it’d have to be refreshed
2018-01-21T18:18:42.000890
Tisa
pythondev_help_Tisa_2018-01-21T18:18:42.000890
1,516,558,722.00089
30,260
pythondev
help
how often does that happen?
2018-01-21T18:18:53.000231
Floy
pythondev_help_Floy_2018-01-21T18:18:53.000231
1,516,558,733.000231
30,261
pythondev
help
not often at all, like annually at most
2018-01-21T18:19:01.000486
Tisa
pythondev_help_Tisa_2018-01-21T18:19:01.000486
1,516,558,741.000486
30,262
pythondev
help
alright
2018-01-21T18:19:40.000918
Floy
pythondev_help_Floy_2018-01-21T18:19:40.000918
1,516,558,780.000918
30,263
pythondev
help
so, you’re dealing with alot of static data
2018-01-21T18:19:52.001069
Floy
pythondev_help_Floy_2018-01-21T18:19:52.001069
1,516,558,792.001069
30,264
pythondev
help
We’re going to need a database later anyways… it only makes sense to start now, right?
2018-01-21T18:20:10.000899
Tisa
pythondev_help_Tisa_2018-01-21T18:20:10.000899
1,516,558,810.000899
30,265
pythondev
help
yeah
2018-01-21T18:20:16.001005
Floy
pythondev_help_Floy_2018-01-21T18:20:16.001005
1,516,558,816.001005
30,266
pythondev
help
depends on when you want to bring it in ¯\_(ツ)_/¯
2018-01-21T18:20:30.000494
Floy
pythondev_help_Floy_2018-01-21T18:20:30.000494
1,516,558,830.000494
30,267
pythondev
help
may as well get the pain of learning SQL over with sooner
2018-01-21T18:20:45.000231
Tisa
pythondev_help_Tisa_2018-01-21T18:20:45.000231
1,516,558,845.000231
30,268
pythondev
help
:smile:
2018-01-21T18:20:58.001196
Floy
pythondev_help_Floy_2018-01-21T18:20:58.001196
1,516,558,858.001196
30,269
pythondev
help
is there some sort of “learn quick and dirty postGIS for morons in an hour” guide/cookbook I should read somewhere?
2018-01-21T18:21:53.000109
Tisa
pythondev_help_Tisa_2018-01-21T18:21:53.000109
1,516,558,913.000109
30,270
pythondev
help
all of my SQL knowledge derives from knowing that DROP TABLE ___ is bad because of XKCD
2018-01-21T18:22:27.001267
Tisa
pythondev_help_Tisa_2018-01-21T18:22:27.001267
1,516,558,947.001267
30,271
pythondev
help
hmm. there is a book by regina obe called postgis in action
2018-01-21T18:23:25.001277
Floy
pythondev_help_Floy_2018-01-21T18:23:25.001277
1,516,559,005.001277
30,272
pythondev
help
she’s basically been the start and steward of the project for about 20 years
2018-01-21T18:23:56.000567
Floy
pythondev_help_Floy_2018-01-21T18:23:56.000567
1,516,559,036.000567
30,273
pythondev
help
<https://www.amazon.com/PostGIS-Action-2nd-Regina-Obe/dp/1617291390/ref=dp_ob_title_bk>
2018-01-21T18:24:20.000907
Floy
pythondev_help_Floy_2018-01-21T18:24:20.000907
1,516,559,060.000907
30,274
pythondev
help
Sounds like it’ll be a good reference book for my needs
2018-01-21T18:24:22.000174
Tisa
pythondev_help_Tisa_2018-01-21T18:24:22.000174
1,516,559,062.000174
30,275
pythondev
help
not so much as a reference, but a good walkthrough
2018-01-21T18:25:01.000731
Floy
pythondev_help_Floy_2018-01-21T18:25:01.000731
1,516,559,101.000731
30,276
pythondev
help
&gt;&gt;&gt;PostGIS in Action, Second Edition teaches you to solve real-world geodata problems. It first gives you a background in vector-, raster-, and topology-based GIS and then quickly moves into analyzing, viewing, and mapping data. You’ll learn how to optimize queries for maximum speed, simplify geometries for gr...
2018-01-21T18:25:03.000318
Floy
pythondev_help_Floy_2018-01-21T18:25:03.000318
1,516,559,103.000318
30,277
pythondev
help
gotcha. Either way it should cover the material I need, right?
2018-01-21T18:25:51.000487
Tisa
pythondev_help_Tisa_2018-01-21T18:25:51.000487
1,516,559,151.000487
30,278
pythondev
help
yep
2018-01-21T18:26:10.000691
Floy
pythondev_help_Floy_2018-01-21T18:26:10.000691
1,516,559,170.000691
30,279
pythondev
help
also, if you want some stuff to get stared
2018-01-21T18:28:03.000118
Floy
pythondev_help_Floy_2018-01-21T18:28:03.000118
1,516,559,283.000118
30,280
pythondev
help
<http://workshops.boundlessgeo.com/>
2018-01-21T18:28:04.000675
Floy
pythondev_help_Floy_2018-01-21T18:28:04.000675
1,516,559,284.000675
30,281
pythondev
help
thanks! this is crucially helpful.
2018-01-21T18:28:40.000743
Tisa
pythondev_help_Tisa_2018-01-21T18:28:40.000743
1,516,559,320.000743
30,282
pythondev
help
what kind of a project tomeline do you have?
2018-01-21T18:29:06.000244
Floy
pythondev_help_Floy_2018-01-21T18:29:06.000244
1,516,559,346.000244
30,283
pythondev
help
we’re hoping to have a working prototype in a few months, hopefully
2018-01-21T18:29:35.000062
Tisa
pythondev_help_Tisa_2018-01-21T18:29:35.000062
1,516,559,375.000062
30,284
pythondev
help
it’d be extremely beta level stuff, but over the summer we could potentially refine/enhance it and over the fall until December would be finalizing it
2018-01-21T18:30:26.000575
Tisa
pythondev_help_Tisa_2018-01-21T18:30:26.000575
1,516,559,426.000575
30,285
pythondev
help
Anyone know if it’s possible to use between on negative floats in SQLite? I seem to be having a problem with it.
2018-01-21T20:56:11.000896
Silvia
pythondev_help_Silvia_2018-01-21T20:56:11.000896
1,516,568,171.000896
30,286
pythondev
help
Hey, anyone handy at URLLIB/URLLIB2?
2018-01-21T21:08:33.000616
Veronica
pythondev_help_Veronica_2018-01-21T21:08:33.000616
1,516,568,913.000616
30,287
pythondev
help
Looking to turn `curl -i -H "apikey:$APIKEY" --data-urlencode cpuid=51060400FFFBAB1F --data-urlencode uuid=564D0E5F-3F22-5FAD-DA58-47352C6229FF --data-urlencode authCode=I7115398 <https://api.paloaltonetworks.com/api/license/activate>` (dummy data) into a urllib2 call
2018-01-21T21:09:01.000223
Veronica
pythondev_help_Veronica_2018-01-21T21:09:01.000223
1,516,568,941.000223
30,288
pythondev
help
and for the life of me it is eluding me
2018-01-21T21:09:09.000736
Veronica
pythondev_help_Veronica_2018-01-21T21:09:09.000736
1,516,568,949.000736
30,289
pythondev
help
anyone have any good examples?
2018-01-21T21:09:12.001428
Veronica
pythondev_help_Veronica_2018-01-21T21:09:12.001428
1,516,568,952.001428
30,290
pythondev
help
<@Veronica> Is urllb/urlib2 a requirement?
2018-01-21T22:01:19.001185
Carin
pythondev_help_Carin_2018-01-21T22:01:19.001185
1,516,572,079.001185
30,291
pythondev
help
It can be requests
2018-01-21T22:01:31.000101
Veronica
pythondev_help_Veronica_2018-01-21T22:01:31.000101
1,516,572,091.000101
30,292
pythondev
help
I’m constrained in a windows env, but can deploy python
2018-01-21T22:01:47.000979
Veronica
pythondev_help_Veronica_2018-01-21T22:01:47.000979
1,516,572,107.000979
30,293
pythondev
help
<@Veronica> Check out requests
2018-01-21T22:03:01.000179
Carin
pythondev_help_Carin_2018-01-21T22:03:01.000179
1,516,572,181.000179
30,294
pythondev
help
that is where I landed yes :slightly_smiling_face:
2018-01-21T22:03:16.001067
Veronica
pythondev_help_Veronica_2018-01-21T22:03:16.001067
1,516,572,196.001067
30,295
pythondev
help
<@Veronica> Cool. If you're still hung up, i'll be around for a few hours, but it seems pretty straightforward.
2018-01-21T22:03:54.000436
Carin
pythondev_help_Carin_2018-01-21T22:03:54.000436
1,516,572,234.000436
30,296
pythondev
help
Yes, just adding components to the headers with a .headers.update()
2018-01-21T22:04:17.000511
Veronica
pythondev_help_Veronica_2018-01-21T22:04:17.000511
1,516,572,257.000511
30,297
pythondev
help
light bulb went off :slightly_smiling_face:
2018-01-21T22:04:33.000414
Veronica
pythondev_help_Veronica_2018-01-21T22:04:33.000414
1,516,572,273.000414
30,298
pythondev
help
can anyone please help me with the issue, File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
2018-01-22T01:32:51.000775
Anika
pythondev_help_Anika_2018-01-22T01:32:51.000775
1,516,584,771.000775
30,299
pythondev
help
It is very urgent
2018-01-22T01:33:14.000146
Anika
pythondev_help_Anika_2018-01-22T01:33:14.000146
1,516,584,794.000146
30,300
pythondev
help
The Json you want to decode is not correct
2018-01-22T01:45:28.000315
Micki
pythondev_help_Micki_2018-01-22T01:45:28.000315
1,516,585,528.000315
30,301
pythondev
help
Thanks for response <@Micki> .can you please describe it.
2018-01-22T01:58:38.000682
Anika
pythondev_help_Anika_2018-01-22T01:58:38.000682
1,516,586,318.000682
30,302
pythondev
help
json string you're trying to decode is not a valid json
2018-01-22T01:59:33.001077
Sadye
pythondev_help_Sadye_2018-01-22T01:59:33.001077
1,516,586,373.001077
30,303
pythondev
help
<@Anika> can you show us your json you're trying to decode?
2018-01-22T02:05:12.000297
Aleida
pythondev_help_Aleida_2018-01-22T02:05:12.000297
1,516,586,712.000297
30,304
pythondev
help
{'prop': '70', 'timestamp': '1516606099', 'thing_id': 'aa-bb'} <@Aleida>
2018-01-22T02:28:35.000323
Anika
pythondev_help_Anika_2018-01-22T02:28:35.000323
1,516,588,115.000323
30,305
pythondev
help
looks like a dict to me. Are you sure it's json ? could you share a little bit more of your code :slightly_smiling_face:
2018-01-22T02:33:27.000089
Micki
pythondev_help_Micki_2018-01-22T02:33:27.000089
1,516,588,407.000089
30,306
pythondev
help
Yep, this is not valid json. Valid json has double quotes, yours has single quotes
2018-01-22T02:37:30.000629
Aleida
pythondev_help_Aleida_2018-01-22T02:37:30.000629
1,516,588,650.000629
30,307
pythondev
help
In theory, you can use ``` import ast ast.literal_eval("{'prop': '70', 'timestamp': '1516606099', 'thing_id': 'aa-bb'}") ``` which will give you a Python dict. But you'd better not :slightly_smiling_face:
2018-01-22T02:42:51.000120
Sadye
pythondev_help_Sadye_2018-01-22T02:42:51.000120
1,516,588,971.00012
30,308
pythondev
help
yeah don't do that
2018-01-22T02:43:32.000382
Micki
pythondev_help_Micki_2018-01-22T02:43:32.000382
1,516,589,012.000382
30,309
pythondev
help
got it ... thank-you <@Micki> <@Sadye> <@Aleida>
2018-01-22T03:08:16.000733
Anika
pythondev_help_Anika_2018-01-22T03:08:16.000733
1,516,590,496.000733
30,310
pythondev
help
Hey, I am trying to view a file on a ubuntu server, nothing i try works. i have tried:
2018-01-22T06:53:15.000380
Tanesha
pythondev_help_Tanesha_2018-01-22T06:53:15.000380
1,516,603,995.00038
30,311
pythondev
help
cat filename prints the whole file at once more/less filename similar behaviour for see the file in parts tail filename start reading from the tail of the file grep text filename for filtering results
2018-01-22T06:53:21.001535
Tanesha
pythondev_help_Tanesha_2018-01-22T06:53:21.001535
1,516,604,001.001535
30,312
pythondev
help
<@Tanesha> `nano &lt;filename&gt;`
2018-01-22T07:00:09.000534
Porsha
pythondev_help_Porsha_2018-01-22T07:00:09.000534
1,516,604,409.000534
30,313
pythondev
help
I think the server has messed up, it wont update from my repo anymore :confused:
2018-01-22T07:01:23.001034
Tanesha
pythondev_help_Tanesha_2018-01-22T07:01:23.001034
1,516,604,483.001034
30,314
pythondev
help
<@Silvia> seems to work as expected
2018-01-22T07:06:04.000506
Barney
pythondev_help_Barney_2018-01-22T07:06:04.000506
1,516,604,764.000506
30,315
pythondev
help
``` sqlite&gt; CREATE TABLE test (number REAL);sqlite&gt; INSERT INTO test(number) VALUES (-7.0), (-6.5), (-6.0), (-5.5), (-5.0); sqlite&gt; SELECT * FROM test WHERE number BETWEEN -6.0 AND -5.0; -6.0 -5.5 -5.0 ```
2018-01-22T07:06:07.000435
Barney
pythondev_help_Barney_2018-01-22T07:06:07.000435
1,516,604,767.000435
30,316
pythondev
help
the lesser value should be the first one
2018-01-22T07:06:31.001261
Barney
pythondev_help_Barney_2018-01-22T07:06:31.001261
1,516,604,791.001261
30,317
pythondev
help
guys i have a string "abababzzzzzavavav" and i need to find the repeated contigous characater and its length
2018-01-22T07:11:28.000221
Kathleen
pythondev_help_Kathleen_2018-01-22T07:11:28.000221
1,516,605,088.000221
30,318
pythondev
help
as in the answer should be z as its contigous and its length
2018-01-22T07:11:52.000161
Kathleen
pythondev_help_Kathleen_2018-01-22T07:11:52.000161
1,516,605,112.000161
30,319
pythondev
help
sorry for asking simple ones here
2018-01-22T07:12:01.000450
Kathleen
pythondev_help_Kathleen_2018-01-22T07:12:01.000450
1,516,605,121.00045
30,320
pythondev
help
Code challenge?
2018-01-22T07:12:05.000347
Tanesha
pythondev_help_Tanesha_2018-01-22T07:12:05.000347
1,516,605,125.000347
30,321
pythondev
help
just trying to get hold on strings in python <@Dina>
2018-01-22T07:12:38.000874
Kathleen
pythondev_help_Kathleen_2018-01-22T07:12:38.000874
1,516,605,158.000874
30,322
pythondev
help
i tried some methods but its not giving me the intended output
2018-01-22T07:13:04.000422
Kathleen
pythondev_help_Kathleen_2018-01-22T07:13:04.000422
1,516,605,184.000422
30,323