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
it does not
2018-01-23T09:00:42.000673
Pennie
pythondev_help_Pennie_2018-01-23T09:00:42.000673
1,516,698,042.000673
30,724
pythondev
help
I was wondring if creating 3 d list was possible
2018-01-23T09:01:09.001100
Pennie
pythondev_help_Pennie_2018-01-23T09:01:09.001100
1,516,698,069.0011
30,725
pythondev
help
(13,24,13: 13,24,18; ... etc )
2018-01-23T09:01:39.000654
Pennie
pythondev_help_Pennie_2018-01-23T09:01:39.000654
1,516,698,099.000654
30,726
pythondev
help
than shuffle though that list
2018-01-23T09:01:55.000136
Pennie
pythondev_help_Pennie_2018-01-23T09:01:55.000136
1,516,698,115.000136
30,727
pythondev
help
and assign it to the D generated
2018-01-23T09:02:02.000078
Pennie
pythondev_help_Pennie_2018-01-23T09:02:02.000078
1,516,698,122.000078
30,728
pythondev
help
however condition to be respected is that each chunk of numbers can only appear twice :stuck_out_tongue:
2018-01-23T09:02:44.000050
Pennie
pythondev_help_Pennie_2018-01-23T09:02:44.000050
1,516,698,164.00005
30,729
pythondev
help
maybe like put the numbers in a list twice and pop them off as you use them?
2018-01-23T09:03:20.000240
Zack
pythondev_help_Zack_2018-01-23T09:03:20.000240
1,516,698,200.00024
30,730
pythondev
help
I’m still just not groking what’s desired here, but the current approach is definitely way off base. I’m just not understanding the goal enough to really know what to say about how to get there, sorry. :confused:
2018-01-23T09:03:53.000176
Zack
pythondev_help_Zack_2018-01-23T09:03:53.000176
1,516,698,233.000176
30,731
pythondev
help
Ho sorry I thought it was clear
2018-01-23T09:04:20.000238
Pennie
pythondev_help_Pennie_2018-01-23T09:04:20.000238
1,516,698,260.000238
30,732
pythondev
help
I mean it’s possible my brain is still just fried. :stuck_out_tongue:
2018-01-23T09:04:40.000150
Zack
pythondev_help_Zack_2018-01-23T09:04:40.000150
1,516,698,280.00015
30,733
pythondev
help
maybe this could help
2018-01-23T09:04:44.000027
Pennie
pythondev_help_Pennie_2018-01-23T09:04:44.000027
1,516,698,284.000027
30,734
pythondev
help
<@Pennie> when you add a snippet, you can set the syntax for the language
2018-01-23T09:06:00.000036
Floy
pythondev_help_Floy_2018-01-23T09:06:00.000036
1,516,698,360.000036
30,735
pythondev
help
and it’ll provide syntax highlighting
2018-01-23T09:06:07.000133
Floy
pythondev_help_Floy_2018-01-23T09:06:07.000133
1,516,698,367.000133
30,736
pythondev
help
comes in handy with pythonn snippets :slightly_smiling_face:
2018-01-23T09:06:21.000598
Floy
pythondev_help_Floy_2018-01-23T09:06:21.000598
1,516,698,381.000598
30,737
pythondev
help
ho I understand
2018-01-23T09:06:37.001191
Pennie
pythondev_help_Pennie_2018-01-23T09:06:37.001191
1,516,698,397.001191
30,738
pythondev
help
I'll update my snipset above
2018-01-23T09:06:47.000060
Pennie
pythondev_help_Pennie_2018-01-23T09:06:47.000060
1,516,698,407.00006
30,739
pythondev
help
but here it was only a table
2018-01-23T09:06:51.000858
Pennie
pythondev_help_Pennie_2018-01-23T09:06:51.000858
1,516,698,411.000858
30,740
pythondev
help
I know
2018-01-23T09:07:15.000923
Floy
pythondev_help_Floy_2018-01-23T09:07:15.000923
1,516,698,435.000923
30,741
pythondev
help
I updated the first snipp :slightly_smiling_face:
2018-01-23T09:08:10.000064
Pennie
pythondev_help_Pennie_2018-01-23T09:08:10.000064
1,516,698,490.000064
30,742
pythondev
help
okay - so the table you just uploaded - basically, instead of `NaN, NaN, NaN` for every `D`, you want an assortment of the cases in your code above
2018-01-23T09:08:40.000763
Zack
pythondev_help_Zack_2018-01-23T09:08:40.000763
1,516,698,520.000763
30,743
pythondev
help
yes
2018-01-23T09:08:58.000707
Pennie
pythondev_help_Pennie_2018-01-23T09:08:58.000707
1,516,698,538.000707
30,744
pythondev
help
and they only can appear twice
2018-01-23T09:09:03.000163
Pennie
pythondev_help_Pennie_2018-01-23T09:09:03.000163
1,516,698,543.000163
30,745
pythondev
help
like `32, 24, 18`, but that can only be at most twice
2018-01-23T09:09:04.000308
Zack
pythondev_help_Zack_2018-01-23T09:09:04.000308
1,516,698,544.000308
30,746
pythondev
help
thats right :heart_eyes:
2018-01-23T09:09:15.000526
Pennie
pythondev_help_Pennie_2018-01-23T09:09:15.000526
1,516,698,555.000526
30,747
pythondev
help
okay, and the ‘S’ values are correct, right?
2018-01-23T09:09:25.000165
Zack
pythondev_help_Zack_2018-01-23T09:09:25.000165
1,516,698,565.000165
30,748
pythondev
help
yes
2018-01-23T09:09:32.000830
Pennie
pythondev_help_Pennie_2018-01-23T09:09:32.000830
1,516,698,572.00083
30,749
pythondev
help
they must stay 24
2018-01-23T09:09:40.001016
Pennie
pythondev_help_Pennie_2018-01-23T09:09:40.001016
1,516,698,580.001016
30,750
pythondev
help
cool, I think I understand now - one sec, I think I have some example code that’ll work
2018-01-23T09:10:02.000904
Zack
pythondev_help_Zack_2018-01-23T09:10:02.000904
1,516,698,602.000904
30,751
pythondev
help
the assortment of cases must be chosen randomly though
2018-01-23T09:10:11.000513
Pennie
pythondev_help_Pennie_2018-01-23T09:10:11.000513
1,516,698,611.000513
30,752
pythondev
help
Hey let me tip you after !
2018-01-23T09:10:20.000474
Pennie
pythondev_help_Pennie_2018-01-23T09:10:20.000474
1,516,698,620.000474
30,753
pythondev
help
I *think* that does what you are looking for. It still is probably not the most ideal way to do it, but it’ll work
2018-01-23T09:16:37.000651
Zack
pythondev_help_Zack_2018-01-23T09:16:37.000651
1,516,698,997.000651
30,754
pythondev
help
thanks you have a crypto adress so I can tip?
2018-01-23T09:18:10.001232
Pennie
pythondev_help_Pennie_2018-01-23T09:18:10.001232
1,516,699,090.001232
30,755
pythondev
help
let me know if what I’m doing there makes sense - essentially you enumerate over every row in your data frame. if it’s an S, you add the 24s, if it’s a D, you’ll get a random value from the list of values you created, and append that.
2018-01-23T09:18:21.000233
Zack
pythondev_help_Zack_2018-01-23T09:18:21.000233
1,516,699,101.000233
30,756
pythondev
help
no tip necessary. does it work? :stuck_out_tongue:
2018-01-23T09:18:34.000988
Zack
pythondev_help_Zack_2018-01-23T09:18:34.000988
1,516,699,114.000988
30,757
pythondev
help
:taco: are the cryptocurrency around here :wink:
2018-01-23T09:19:03.000081
Micki
pythondev_help_Micki_2018-01-23T09:19:03.000081
1,516,699,143.000081
30,758
pythondev
help
well I am going to try but are the values only appear twice maximum?
2018-01-23T09:19:13.000823
Pennie
pythondev_help_Pennie_2018-01-23T09:19:13.000823
1,516,699,153.000823
30,759
pythondev
help
lol. the tacochain
2018-01-23T09:19:19.000091
Zack
pythondev_help_Zack_2018-01-23T09:19:19.000091
1,516,699,159.000091
30,760
pythondev
help
<@Micki> ho I see xD
2018-01-23T09:19:25.000012
Pennie
pythondev_help_Pennie_2018-01-23T09:19:25.000012
1,516,699,165.000012
30,761
pythondev
help
<@Pennie> yeah you can control how often they appear, essentially you will manually add all the values in that list, and each pop removes it from the list so it isn’t available to be used again
2018-01-23T09:19:56.000690
Zack
pythondev_help_Zack_2018-01-23T09:19:56.000690
1,516,699,196.00069
30,762
pythondev
help
wow I try that immediately :slightly_smiling_face:
2018-01-23T09:20:34.000697
Pennie
pythondev_help_Pennie_2018-01-23T09:20:34.000697
1,516,699,234.000697
30,763
pythondev
help
Got a weird scenario happening. Just pushed a working flask app to my repo from my mac. Cloned the repo onto my pc. When running the app on my pc I'm getting the following jinja error..
2018-01-23T09:22:08.000070
Porsha
pythondev_help_Porsha_2018-01-23T09:22:08.000070
1,516,699,328.00007
30,764
pythondev
help
`jinja2.exceptions.TemplateAssertionError: block 'body' defined twice`
2018-01-23T09:22:17.000785
Porsha
pythondev_help_Porsha_2018-01-23T09:22:17.000785
1,516,699,337.000785
30,765
pythondev
help
Looking at the html in the templates, it's clearly only defined once
2018-01-23T09:22:35.000923
Porsha
pythondev_help_Porsha_2018-01-23T09:22:35.000923
1,516,699,355.000923
30,766
pythondev
help
hmm… do you have any `.pyc` files in the repo?
2018-01-23T09:23:15.000773
Floy
pythondev_help_Floy_2018-01-23T09:23:15.000773
1,516,699,395.000773
30,767
pythondev
help
Funny you mention that
2018-01-23T09:23:25.000121
Porsha
pythondev_help_Porsha_2018-01-23T09:23:25.000121
1,516,699,405.000121
30,768
pythondev
help
That's where my I though it may be
2018-01-23T09:23:36.000237
Porsha
pythondev_help_Porsha_2018-01-23T09:23:36.000237
1,516,699,416.000237
30,769
pythondev
help
But I'm quite new to using git and still a bit clueless
2018-01-23T09:23:52.000157
Porsha
pythondev_help_Porsha_2018-01-23T09:23:52.000157
1,516,699,432.000157
30,770
pythondev
help
that’s one reason why its good habit to use a `.gitignore` file
2018-01-23T09:24:13.000782
Floy
pythondev_help_Floy_2018-01-23T09:24:13.000782
1,516,699,453.000782
30,771
pythondev
help
tell it what not to include
2018-01-23T09:24:22.001260
Floy
pythondev_help_Floy_2018-01-23T09:24:22.001260
1,516,699,462.00126
30,772
pythondev
help
with my projects, I always have a rule to exclude pyc files
2018-01-23T09:24:45.000767
Floy
pythondev_help_Floy_2018-01-23T09:24:45.000767
1,516,699,485.000767
30,773
pythondev
help
ok so the flask app is working fine on the mac. Any suggestions how to push it back up correctly?
2018-01-23T09:24:49.000417
Porsha
pythondev_help_Porsha_2018-01-23T09:24:49.000417
1,516,699,489.000417
30,774
pythondev
help
I would delete the pyc files
2018-01-23T09:25:00.000924
Floy
pythondev_help_Floy_2018-01-23T09:25:00.000924
1,516,699,500.000924
30,775
pythondev
help
and try again on your PC
2018-01-23T09:25:07.000841
Floy
pythondev_help_Floy_2018-01-23T09:25:07.000841
1,516,699,507.000841
30,776
pythondev
help
usually the default `.gitignore` from github are :thumbsup:
2018-01-23T09:25:12.001055
Micki
pythondev_help_Micki_2018-01-23T09:25:12.001055
1,516,699,512.001055
30,777
pythondev
help
delete them on the pc?
2018-01-23T09:25:14.001228
Porsha
pythondev_help_Porsha_2018-01-23T09:25:14.001228
1,516,699,514.001228
30,778
pythondev
help
yes, and then commit to the repository
2018-01-23T09:25:31.000032
Floy
pythondev_help_Floy_2018-01-23T09:25:31.000032
1,516,699,531.000032
30,779
pythondev
help
since they really have no place for it
2018-01-23T09:25:40.000903
Floy
pythondev_help_Floy_2018-01-23T09:25:40.000903
1,516,699,540.000903
30,780
pythondev
help
ok, i'll delete them on the pc now and try run it again
2018-01-23T09:25:54.000317
Porsha
pythondev_help_Porsha_2018-01-23T09:25:54.000317
1,516,699,554.000317
30,781
pythondev
help
is it the __pycache__ directory?
2018-01-23T09:26:34.001109
Porsha
pythondev_help_Porsha_2018-01-23T09:26:34.001109
1,516,699,594.001109
30,782
pythondev
help
for reference, pyc files are bytecode, which is what the python interpreter compiles the source code to, and is executed by the virtual machine inside Python
2018-01-23T09:26:35.000246
Floy
pythondev_help_Floy_2018-01-23T09:26:35.000246
1,516,699,595.000246
30,783
pythondev
help
no, it would be alongside the same filename with `py` extension
2018-01-23T09:26:56.000155
Floy
pythondev_help_Floy_2018-01-23T09:26:56.000155
1,516,699,616.000155
30,784
pythondev
help
you shouln't push the `__pycache__` either
2018-01-23T09:27:22.000629
Micki
pythondev_help_Micki_2018-01-23T09:27:22.000629
1,516,699,642.000629
30,785
pythondev
help
__pycache__ app.yaml bulldog-clients-f686c0761977.json env requirements.txt templates app.py appengine_config.py config.py models.py static
2018-01-23T09:27:56.000657
Porsha
pythondev_help_Porsha_2018-01-23T09:27:56.000657
1,516,699,676.000657
30,786
pythondev
help
I’d second <@Micki> - snag a .gitignore from github and use that, it’ll ensure you don’t pick up all sorts of nasties like `.DS_Store` and `.pyc`
2018-01-23T09:28:08.000061
Zack
pythondev_help_Zack_2018-01-23T09:28:08.000061
1,516,699,688.000061
30,787
pythondev
help
that's the contents of the project directory
2018-01-23T09:28:10.000201
Porsha
pythondev_help_Porsha_2018-01-23T09:28:10.000201
1,516,699,690.000201
30,788
pythondev
help
Would a better idea be to add the .gitignore file on my mac then push the repo back up?
2018-01-23T09:29:23.000229
Porsha
pythondev_help_Porsha_2018-01-23T09:29:23.000229
1,516,699,763.000229
30,789
pythondev
help
Yeah that should have the files deleted in a diff right?
2018-01-23T09:30:37.000680
Emerald
pythondev_help_Emerald_2018-01-23T09:30:37.000680
1,516,699,837.00068
30,790
pythondev
help
is this a brand new repo? is this the only commit?
2018-01-23T09:31:20.000200
Zack
pythondev_help_Zack_2018-01-23T09:31:20.000200
1,516,699,880.0002
30,791
pythondev
help
No there's been a few
2018-01-23T09:31:59.000405
Porsha
pythondev_help_Porsha_2018-01-23T09:31:59.000405
1,516,699,919.000405
30,792
pythondev
help
Reading up on .gitignore now. I'm assuming they'll already be tracked
2018-01-23T09:32:19.000123
Porsha
pythondev_help_Porsha_2018-01-23T09:32:19.000123
1,516,699,939.000123
30,793
pythondev
help
you will have to delete those files from your git repo
2018-01-23T09:32:34.001040
Floy
pythondev_help_Floy_2018-01-23T09:32:34.001040
1,516,699,954.00104
30,794
pythondev
help
Yeah but if .gitignore then ignores them the status should be removed right?
2018-01-23T09:32:36.000351
Emerald
pythondev_help_Emerald_2018-01-23T09:32:36.000351
1,516,699,956.000351
30,795
pythondev
help
Before committing?
2018-01-23T09:32:46.000799
Emerald
pythondev_help_Emerald_2018-01-23T09:32:46.000799
1,516,699,966.000799
30,796
pythondev
help
eg `git rm --cached &lt;filename&gt;`
2018-01-23T09:32:50.000049
Floy
pythondev_help_Floy_2018-01-23T09:32:50.000049
1,516,699,970.000049
30,797
pythondev
help
I've got a __pycache__ directory in my repo
2018-01-23T09:32:56.001014
Porsha
pythondev_help_Porsha_2018-01-23T09:32:56.001014
1,516,699,976.001014
30,798
pythondev
help
Should I delete it and clone the repo to the pc in a new directory?
2018-01-23T09:33:38.000720
Porsha
pythondev_help_Porsha_2018-01-23T09:33:38.000720
1,516,700,018.00072
30,799
pythondev
help
No you shouldn’t need to delete it. Try deleting locally, committing, pushing and then adding a .gitignore for the future.
2018-01-23T09:34:14.000775
Emerald
pythondev_help_Emerald_2018-01-23T09:34:14.000775
1,516,700,054.000775
30,800
pythondev
help
Ok will give it a go. Thanks for the help amigos
2018-01-23T09:35:00.000020
Porsha
pythondev_help_Porsha_2018-01-23T09:35:00.000020
1,516,700,100.00002
30,801
pythondev
help
so I tried it but got and error here with pop
2018-01-23T09:35:14.001369
Pennie
pythondev_help_Pennie_2018-01-23T09:35:14.001369
1,516,700,114.001369
30,802
pythondev
help
```data = a_list_of_b_values.pop() ^ TabError: inconsistent use of tabs and spaces in indentation```
2018-01-23T09:35:24.000378
Pennie
pythondev_help_Pennie_2018-01-23T09:35:24.000378
1,516,700,124.000378
30,803
pythondev
help
fixed it
2018-01-23T09:40:23.000554
Pennie
pythondev_help_Pennie_2018-01-23T09:40:23.000554
1,516,700,423.000554
30,804
pythondev
help
remove dintend and intended myself :slightly_smiling_face:
2018-01-23T09:40:28.000765
Pennie
pythondev_help_Pennie_2018-01-23T09:40:28.000765
1,516,700,428.000765
30,805
pythondev
help
yeah might just be a weird issue with how I used tabs or spaces in writing it up
2018-01-23T09:40:29.000438
Zack
pythondev_help_Zack_2018-01-23T09:40:29.000438
1,516,700,429.000438
30,806
pythondev
help
lets check the results ^_^
2018-01-23T09:40:40.000183
Pennie
pythondev_help_Pennie_2018-01-23T09:40:40.000183
1,516,700,440.000183
30,807
pythondev
help
lol
2018-01-23T09:59:17.001143
Zack
pythondev_help_Zack_2018-01-23T09:59:17.001143
1,516,701,557.001143
30,808
pythondev
help
\o/
2018-01-23T09:59:31.000163
Zack
pythondev_help_Zack_2018-01-23T09:59:31.000163
1,516,701,571.000163
30,809
pythondev
help
thank you so much
2018-01-23T10:00:25.000259
Pennie
pythondev_help_Pennie_2018-01-23T10:00:25.000259
1,516,701,625.000259
30,810
pythondev
help
np
2018-01-23T10:01:20.000105
Zack
pythondev_help_Zack_2018-01-23T10:01:20.000105
1,516,701,680.000105
30,811
pythondev
help
<@Zack> :taco:
2018-01-23T10:03:24.001304
Henrietta
pythondev_help_Henrietta_2018-01-23T10:03:24.001304
1,516,701,804.001304
30,812
pythondev
help
om nom nom
2018-01-23T10:03:41.000081
Zack
pythondev_help_Zack_2018-01-23T10:03:41.000081
1,516,701,821.000081
30,813
pythondev
help
lol. when you receive your 50th taco there is a taco playing a saxophone.
2018-01-23T10:04:21.000027
Zack
pythondev_help_Zack_2018-01-23T10:04:21.000027
1,516,701,861.000027
30,814
pythondev
help
I can only imagine what kind of weird stuff guys like @matt and <@Ariane> have seen then
2018-01-23T10:05:01.000283
Zack
pythondev_help_Zack_2018-01-23T10:05:01.000283
1,516,701,901.000283
30,815
pythondev
help
I need more tacos! I must see the sax!
2018-01-23T10:08:42.000690
Henrietta
pythondev_help_Henrietta_2018-01-23T10:08:42.000690
1,516,702,122.00069
30,816
pythondev
help
how can I give a taco?
2018-01-23T10:09:15.000852
Pennie
pythondev_help_Pennie_2018-01-23T10:09:15.000852
1,516,702,155.000852
30,817
pythondev
help
<@Ewa> help
2018-01-23T10:10:03.000327
Micki
pythondev_help_Micki_2018-01-23T10:10:03.000327
1,516,702,203.000327
30,818
pythondev
help
just mention the user and say … err yeah that’s easier than explaining it I suppose. :stuck_out_tongue:
2018-01-23T10:10:16.001205
Zack
pythondev_help_Zack_2018-01-23T10:10:16.001205
1,516,702,216.001205
30,819
pythondev
help
<@Zack> :taco:
2018-01-23T10:10:35.000660
Pennie
pythondev_help_Pennie_2018-01-23T10:10:35.000660
1,516,702,235.00066
30,820
pythondev
help
thanks. it’s a tacoriffic tuesday
2018-01-23T10:10:49.000786
Zack
pythondev_help_Zack_2018-01-23T10:10:49.000786
1,516,702,249.000786
30,821
pythondev
help
<@Floy> :taco:
2018-01-23T10:10:52.000088
Pennie
pythondev_help_Pennie_2018-01-23T10:10:52.000088
1,516,702,252.000088
30,822
pythondev
help
:thumbsup: nom nom
2018-01-23T10:12:08.000981
Floy
pythondev_help_Floy_2018-01-23T10:12:08.000981
1,516,702,328.000981
30,823