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
but yea it depends on the language, the job, the field
2018-03-12T13:50:25.000604
Elisha
pythondev_help_Elisha_2018-03-12T13:50:25.000604
1,520,862,625.000604
38,424
pythondev
help
a degree does help to get your foot in the door
2018-03-12T13:50:26.000822
Floy
pythondev_help_Floy_2018-03-12T13:50:26.000822
1,520,862,626.000822
38,425
pythondev
help
Tech is, if anything, a nepotistic arena
2018-03-12T13:50:35.000830
Garrett
pythondev_help_Garrett_2018-03-12T13:50:35.000830
1,520,862,635.00083
38,426
pythondev
help
but I don’t have a degree (left college 11 credits shy) and have about 5+ years experience
2018-03-12T13:50:48.000501
Floy
pythondev_help_Floy_2018-03-12T13:50:48.000501
1,520,862,648.000501
38,427
pythondev
help
Degrees are definitely not a bad thing. But they're not an absolute requirement either
2018-03-12T13:50:58.000707
Garrett
pythondev_help_Garrett_2018-03-12T13:50:58.000707
1,520,862,658.000707
38,428
pythondev
help
it highly depends on the company, though.
2018-03-12T13:51:15.000137
Floy
pythondev_help_Floy_2018-03-12T13:51:15.000137
1,520,862,675.000137
38,429
pythondev
help
True
2018-03-12T13:51:21.000346
Garrett
pythondev_help_Garrett_2018-03-12T13:51:21.000346
1,520,862,681.000346
38,430
pythondev
help
I feel the more corporate-ey companies require degrees
2018-03-12T13:51:31.000796
Floy
pythondev_help_Floy_2018-03-12T13:51:31.000796
1,520,862,691.000796
38,431
pythondev
help
whereas startups and smaller companies are much more flexible
2018-03-12T13:51:50.000057
Floy
pythondev_help_Floy_2018-03-12T13:51:50.000057
1,520,862,710.000057
38,432
pythondev
help
I think a lot of them really _like_ a degree as it shows commitment
2018-03-12T13:51:56.000388
Garrett
pythondev_help_Garrett_2018-03-12T13:51:56.000388
1,520,862,716.000388
38,433
pythondev
help
But many of them will happily take ability and experience over a degree
2018-03-12T13:52:13.000111
Garrett
pythondev_help_Garrett_2018-03-12T13:52:13.000111
1,520,862,733.000111
38,434
pythondev
help
how can i show my ability other than trough some certificates? for example in a resume
2018-03-12T13:52:46.000074
Remona
pythondev_help_Remona_2018-03-12T13:52:46.000074
1,520,862,766.000074
38,435
pythondev
help
Uh, GitHub. Live sites/apps.
2018-03-12T13:52:59.000637
Garrett
pythondev_help_Garrett_2018-03-12T13:52:59.000637
1,520,862,779.000637
38,436
pythondev
help
Score on places like HackerRank
2018-03-12T13:53:08.000227
Garrett
pythondev_help_Garrett_2018-03-12T13:53:08.000227
1,520,862,788.000227
38,437
pythondev
help
A resume and a portfolio. Open source contributions.
2018-03-12T13:54:20.000321
Garrett
pythondev_help_Garrett_2018-03-12T13:54:20.000321
1,520,862,860.000321
38,438
pythondev
help
what are open source contributions
2018-03-12T13:54:59.000585
Remona
pythondev_help_Remona_2018-03-12T13:54:59.000585
1,520,862,899.000585
38,439
pythondev
help
Helping with open source projects
2018-03-12T13:55:19.000766
Garrett
pythondev_help_Garrett_2018-03-12T13:55:19.000766
1,520,862,919.000766
38,440
pythondev
help
Open source is the opposite of closed source. It's software with a license that allows you to view the code and modify it
2018-03-12T13:55:36.000270
Garrett
pythondev_help_Garrett_2018-03-12T13:55:36.000270
1,520,862,936.00027
38,441
pythondev
help
seems like this discussion should be summarized and put into some pyslackers document
2018-03-12T13:55:44.000152
Shaun
pythondev_help_Shaun_2018-03-12T13:55:44.000152
1,520,862,944.000152
38,442
pythondev
help
what is the best tutorial or whatever to staart learning phyton
2018-03-12T13:55:54.000402
Remona
pythondev_help_Remona_2018-03-12T13:55:54.000402
1,520,862,954.000402
38,443
pythondev
help
just whatever youtube tutorial or could you recommend something
2018-03-12T13:56:30.000331
Remona
pythondev_help_Remona_2018-03-12T13:56:30.000331
1,520,862,990.000331
38,444
pythondev
help
Depends on where you are. How comfortable are you with programming?
2018-03-12T13:56:35.000381
Garrett
pythondev_help_Garrett_2018-03-12T13:56:35.000381
1,520,862,995.000381
38,445
pythondev
help
i am an absolute beginer
2018-03-12T13:56:51.000503
Remona
pythondev_help_Remona_2018-03-12T13:56:51.000503
1,520,863,011.000503
38,446
pythondev
help
I'm a fan of the courses I made at Treehouse ($). I want to say Sentdex has a good series on YouTube
2018-03-12T13:57:53.000135
Garrett
pythondev_help_Garrett_2018-03-12T13:57:53.000135
1,520,863,073.000135
38,447
pythondev
help
The official tutorial on <http://python.org|python.org> is pretty good
2018-03-12T13:58:02.000527
Garrett
pythondev_help_Garrett_2018-03-12T13:58:02.000527
1,520,863,082.000527
38,448
pythondev
help
I'm not sure how it is for absolute beginners, though. I haven't reviewed it w/ that eye in awhile
2018-03-12T13:58:19.000564
Garrett
pythondev_help_Garrett_2018-03-12T13:58:19.000564
1,520,863,099.000564
38,449
pythondev
help
Second the Sentdex youtube series
2018-03-12T13:58:28.000472
Porsha
pythondev_help_Porsha_2018-03-12T13:58:28.000472
1,520,863,108.000472
38,450
pythondev
help
If you like books, Automate the Boring Stuff (free online) or Python Crash Course ($) are both great.
2018-03-12T13:58:38.000388
Garrett
pythondev_help_Garrett_2018-03-12T13:58:38.000388
1,520,863,118.000388
38,451
pythondev
help
which one is the fastest
2018-03-12T13:59:18.000820
Remona
pythondev_help_Remona_2018-03-12T13:59:18.000820
1,520,863,158.00082
38,452
pythondev
help
I liked <https://www.coursera.org/learn/interactive-python-1>
2018-03-12T13:59:43.000221
Shaun
pythondev_help_Shaun_2018-03-12T13:59:43.000221
1,520,863,183.000221
38,453
pythondev
help
"fastest" is a useless statistic and an answer we can't give
2018-03-12T14:00:39.000590
Garrett
pythondev_help_Garrett_2018-03-12T14:00:39.000590
1,520,863,239.00059
38,454
pythondev
help
We don't know how fast you learn
2018-03-12T14:00:46.000877
Garrett
pythondev_help_Garrett_2018-03-12T14:00:46.000877
1,520,863,246.000877
38,455
pythondev
help
thank you
2018-03-12T14:01:31.000651
Remona
pythondev_help_Remona_2018-03-12T14:01:31.000651
1,520,863,291.000651
38,456
pythondev
help
I installed miniconda under pyenv (<https://github.com/pyenv/pyenv>) and am regretting it. I'd like to move all of my conda environments into a new miniconda installation. Is there a simple way to do this quickly?
2018-03-12T14:40:17.000252
Ayesha
pythondev_help_Ayesha_2018-03-12T14:40:17.000252
1,520,865,617.000252
38,457
pythondev
help
Googling turns up this link from 2015, which suggests the process is a little annoying: <https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/TJBtuWab1DE>
2018-03-12T14:43:15.000715
Ayesha
pythondev_help_Ayesha_2018-03-12T14:43:15.000715
1,520,865,795.000715
38,458
pythondev
help
Can someone tell me why my stuff isn't working <https://repl.it/@austinsonger/Calculate-Revenue>
2018-03-12T14:50:45.000385
Maia
pythondev_help_Maia_2018-03-12T14:50:45.000385
1,520,866,245.000385
38,459
pythondev
help
hello everyone, someone has worked with rest framework mongoengine in django 2.0 I ask because in the documentation they only say 1. *, does anyone know if with 2.0 it works?
2018-03-12T14:52:25.000200
Meaghan
pythondev_help_Meaghan_2018-03-12T14:52:25.000200
1,520,866,345.0002
38,460
pythondev
help
<@Maia> you have a return line 4
2018-03-12T14:53:26.000315
Micki
pythondev_help_Micki_2018-03-12T14:53:26.000315
1,520,866,406.000315
38,461
pythondev
help
remove it and doesn't work still.
2018-03-12T14:54:51.000325
Maia
pythondev_help_Maia_2018-03-12T14:54:51.000325
1,520,866,491.000325
38,462
pythondev
help
<@Maia> you also have a try block without an except. i assume that doesn't work, but even if it passes syntax check, it needs to be changed.
2018-03-12T14:55:52.000654
Ayesha
pythondev_help_Ayesha_2018-03-12T14:55:52.000654
1,520,866,552.000654
38,463
pythondev
help
suggestions then?
2018-03-12T14:56:20.000185
Maia
pythondev_help_Maia_2018-03-12T14:56:20.000185
1,520,866,580.000185
38,464
pythondev
help
on line 18, just to start, try something like: ``` except Exception: print('Warning: some file error') ```
2018-03-12T15:00:56.000046
Ayesha
pythondev_help_Ayesha_2018-03-12T15:00:56.000046
1,520,866,856.000046
38,465
pythondev
help
also your calling the main function, but the only method defined is `calculateRevenue`
2018-03-12T15:01:36.000662
Floy
pythondev_help_Floy_2018-03-12T15:01:36.000662
1,520,866,896.000662
38,466
pythondev
help
If you have that return statement on line 4 in the function calculateRevenue(), the code after line 4 (6-17) will never execute. Two problems with line 22. First, your format string specify one placeholder of decimal(float or integer) type but instead, you pass the entire function. You need to pass the result of the f...
2018-03-12T15:04:06.000046
Genevie
pythondev_help_Genevie_2018-03-12T15:04:06.000046
1,520,867,046.000046
38,467
pythondev
help
that will help you debug, but then you'll need to adjust that block so it does something more intelligent with the error. for instance, you might change the exception you catch to `FileNotFoundError`, then print a useful error message and quit
2018-03-12T15:04:41.000337
Ayesha
pythondev_help_Ayesha_2018-03-12T15:04:41.000337
1,520,867,081.000337
38,468
pythondev
help
`return jsonify(access_token=access_token), 200` remove the 200 there, I think?
2018-03-12T15:38:35.000206
Zack
pythondev_help_Zack_2018-03-12T15:38:35.000206
1,520,869,115.000206
38,469
pythondev
help
I'd like an extra pair of eyes to help me figure out why I'm getting a `ValueError: View function did not return a response`. Because tinkering with the `return jsonify()` doesn't change the error.
2018-03-12T15:38:35.000749
Hans
pythondev_help_Hans_2018-03-12T15:38:35.000749
1,520,869,115.000749
38,470
pythondev
help
Oh... Let me try that.
2018-03-12T15:38:46.000655
Hans
pythondev_help_Hans_2018-03-12T15:38:46.000655
1,520,869,126.000655
38,471
pythondev
help
I’ve never seen that sort of syntax
2018-03-12T15:38:51.000594
Zack
pythondev_help_Zack_2018-03-12T15:38:51.000594
1,520,869,131.000594
38,472
pythondev
help
`jsonify` will ensure the response code is properly set
2018-03-12T15:39:04.000586
Zack
pythondev_help_Zack_2018-03-12T15:39:04.000586
1,520,869,144.000586
38,473
pythondev
help
<@Zack> error persists.
2018-03-12T15:41:50.000300
Hans
pythondev_help_Hans_2018-03-12T15:41:50.000300
1,520,869,310.0003
38,474
pythondev
help
oh, I mean you don’t have a response for if the user isn’t retrieved. it’s just `if user` - maybe put an else in there that returns a 403 or something?
2018-03-12T15:43:51.000653
Zack
pythondev_help_Zack_2018-03-12T15:43:51.000653
1,520,869,431.000653
38,475
pythondev
help
or I guess maybe a 401 is more appropriate there
2018-03-12T15:44:19.000391
Zack
pythondev_help_Zack_2018-03-12T15:44:19.000391
1,520,869,459.000391
38,476
pythondev
help
(and in case it’s not clear - if my suspicion is correct, then the line `AssertionError: 500 != 200` should change to `AssertionError: 401 != 200` in your failed test)
2018-03-12T15:47:30.000360
Zack
pythondev_help_Zack_2018-03-12T15:47:30.000360
1,520,869,650.00036
38,477
pythondev
help
Apparently your suspicion is correct. The test error message does change to `AssertionError: 404 != 200`
2018-03-12T15:49:39.000729
Hans
pythondev_help_Hans_2018-03-12T15:49:39.000729
1,520,869,779.000729
38,478
pythondev
help
404 or 401?
2018-03-12T15:50:35.000497
Zack
pythondev_help_Zack_2018-03-12T15:50:35.000497
1,520,869,835.000497
38,479
pythondev
help
So basically my user isn't coming through, which means that the class methods aren't working the way I think they should.
2018-03-12T15:50:36.000116
Hans
pythondev_help_Hans_2018-03-12T15:50:36.000116
1,520,869,836.000116
38,480
pythondev
help
do you have a separate test that tests the register endpoint?
2018-03-12T15:51:21.000213
Zack
pythondev_help_Zack_2018-03-12T15:51:21.000213
1,520,869,881.000213
38,481
pythondev
help
Yes I do.
2018-03-12T15:51:38.000569
Hans
pythondev_help_Hans_2018-03-12T15:51:38.000569
1,520,869,898.000569
38,482
pythondev
help
gotta go run to eat dinner now, maybe someone else can pop in for follow up questions
2018-03-12T15:51:44.000413
Zack
pythondev_help_Zack_2018-03-12T15:51:44.000413
1,520,869,904.000413
38,483
pythondev
help
The register endpoint test passes
2018-03-12T15:51:45.000231
Hans
pythondev_help_Hans_2018-03-12T15:51:45.000231
1,520,869,905.000231
38,484
pythondev
help
well beyond simply asserting that it returns a 200, did you ensure you can retrieve the user as well?
2018-03-12T17:09:12.000236
Zack
pythondev_help_Zack_2018-03-12T17:09:12.000236
1,520,874,552.000236
38,485
pythondev
help
<@Zack> did some further troubleshooting. Apparently, the problem is `check_password`
2018-03-12T17:18:09.000542
Hans
pythondev_help_Hans_2018-03-12T17:18:09.000542
1,520,875,089.000542
38,486
pythondev
help
So the `test_login_user` passes when I force `check_password` to return True by default. It fails once I set it back to returning `False` if the condition is untrue.
2018-03-12T17:21:06.000143
Hans
pythondev_help_Hans_2018-03-12T17:21:06.000143
1,520,875,266.000143
38,487
pythondev
help
so try logging the `user_password` you retrieve
2018-03-12T17:21:54.000305
Zack
pythondev_help_Zack_2018-03-12T17:21:54.000305
1,520,875,314.000305
38,488
pythondev
help
I get `b'$2b$16$kl7Hf2B7sAskZOUbnTaM8uZVHyejB1zRiapBuK3Jw.hYc4XaA7n0y'`
2018-03-12T17:25:16.000551
Hans
pythondev_help_Hans_2018-03-12T17:25:16.000551
1,520,875,516.000551
38,489
pythondev
help
Which is the result of hashing the password when I first register the user.
2018-03-12T17:25:41.000570
Hans
pythondev_help_Hans_2018-03-12T17:25:41.000570
1,520,875,541.00057
38,490
pythondev
help
out of curiousity, log the password when you register the user, just before you pass it into the hash function.
2018-03-12T17:26:17.000303
Zack
pythondev_help_Zack_2018-03-12T17:26:17.000303
1,520,875,577.000303
38,491
pythondev
help
and then also generate a hash in your login function as well, logging the hash and hte password right before you hash it
2018-03-12T17:26:36.000460
Zack
pythondev_help_Zack_2018-03-12T17:26:36.000460
1,520,875,596.00046
38,492
pythondev
help
<@Zack> By `hash` I'm guessing you mean `salt`right? Because I have no way of printing out the `hash` before the password is hashed?
2018-03-12T17:32:37.000295
Hans
pythondev_help_Hans_2018-03-12T17:32:37.000295
1,520,875,957.000295
38,493
pythondev
help
no I mean the hash after it is hashed
2018-03-12T17:33:08.000317
Zack
pythondev_help_Zack_2018-03-12T17:33:08.000317
1,520,875,988.000317
38,494
pythondev
help
the idea here is you are trying to see what the values are at various points in the process, and trying spot where something is different
2018-03-12T17:33:30.000651
Zack
pythondev_help_Zack_2018-03-12T17:33:30.000651
1,520,876,010.000651
38,495
pythondev
help
things to keep an eye out for - different values, obviously, or different types (bytes vs string)
2018-03-12T17:33:49.000403
Zack
pythondev_help_Zack_2018-03-12T17:33:49.000403
1,520,876,029.000403
38,496
pythondev
help
Okay so at the moment I get the following output: ``` dumbledore b'$2b$16$rgWjHUabpvk7cCmjldyZaO' b'$2b$16$rgWjHUabpvk7cCmjldyZaO5EUFqKIFGldgh1ZNJ9YLo5oMhMYVy6m' ```
2018-03-12T17:34:59.000113
Hans
pythondev_help_Hans_2018-03-12T17:34:59.000113
1,520,876,099.000113
38,497
pythondev
help
Where `dumbledore` is the plain password, the next entry is the `hash` and the last is the hashed password.
2018-03-12T17:35:39.000432
Hans
pythondev_help_Hans_2018-03-12T17:35:39.000432
1,520,876,139.000432
38,498
pythondev
help
hmm, so it seems it’s losing some data here?
2018-03-12T17:36:22.000565
Zack
pythondev_help_Zack_2018-03-12T17:36:22.000565
1,520,876,182.000565
38,499
pythondev
help
does the user model have a length limit or something for the password field?
2018-03-12T17:36:54.000435
Zack
pythondev_help_Zack_2018-03-12T17:36:54.000435
1,520,876,214.000435
38,500
pythondev
help
What's the hash function?
2018-03-12T17:37:02.000148
Porsha
pythondev_help_Porsha_2018-03-12T17:37:02.000148
1,520,876,222.000148
38,501
pythondev
help
<@Zack> nope. Or at least I don't think dictionaries in Python have that sort of limit.
2018-03-12T17:38:30.000477
Hans
pythondev_help_Hans_2018-03-12T17:38:30.000477
1,520,876,310.000477
38,502
pythondev
help
I think the answer to the problem is figuring out why the end of the hashed password is getting cut off in the hash value you have
2018-03-12T17:39:24.000004
Zack
pythondev_help_Zack_2018-03-12T17:39:24.000004
1,520,876,364.000004
38,503
pythondev
help
<@Porsha> do you mean the function that is hashing the password?
2018-03-12T17:40:25.000366
Hans
pythondev_help_Hans_2018-03-12T17:40:25.000366
1,520,876,425.000366
38,504
pythondev
help
yup
2018-03-12T17:40:33.000069
Porsha
pythondev_help_Porsha_2018-03-12T17:40:33.000069
1,520,876,433.000069
38,505
pythondev
help
I'm wandering if one of the hashes is missing salt
2018-03-12T17:42:04.000406
Porsha
pythondev_help_Porsha_2018-03-12T17:42:04.000406
1,520,876,524.000406
38,506
pythondev
help
<@Porsha> I don't add a salt in the `check_password` method.
2018-03-12T17:43:49.000424
Hans
pythondev_help_Hans_2018-03-12T17:43:49.000424
1,520,876,629.000424
38,507
pythondev
help
I just check if the password is correct
2018-03-12T17:44:03.000535
Hans
pythondev_help_Hans_2018-03-12T17:44:03.000535
1,520,876,643.000535
38,508
pythondev
help
no you don't need to
2018-03-12T17:44:39.000286
Porsha
pythondev_help_Porsha_2018-03-12T17:44:39.000286
1,520,876,679.000286
38,509
pythondev
help
oh - actually, yeah weird. the bit you have in common between the two values is the version, work factor, and salt
2018-03-12T17:46:11.000607
Zack
pythondev_help_Zack_2018-03-12T17:46:11.000607
1,520,876,771.000607
38,510
pythondev
help
but you have nothing for the password itself
2018-03-12T17:46:22.000221
Zack
pythondev_help_Zack_2018-03-12T17:46:22.000221
1,520,876,782.000221
38,511
pythondev
help
``` b'$2b$16$rgWjHUabpvk7cCmjldyZaO' b'$2b$16$rgWjHUabpvk7cCmjldyZaO5EUFqKIFGldgh1ZNJ9YLo5oMhMYVy6m' ```
2018-03-12T17:46:35.000261
Zack
pythondev_help_Zack_2018-03-12T17:46:35.000261
1,520,876,795.000261
38,512
pythondev
help
`dumbledore` is the password
2018-03-12T17:46:53.000253
Hans
pythondev_help_Hans_2018-03-12T17:46:53.000253
1,520,876,813.000253
38,513
pythondev
help
right, but there’s no actual hash in the first one
2018-03-12T17:47:01.000411
Zack
pythondev_help_Zack_2018-03-12T17:47:01.000411
1,520,876,821.000411
38,514
pythondev
help
Yes. Just plain text password, salt, then hashed password.
2018-03-12T17:47:45.000434
Hans
pythondev_help_Hans_2018-03-12T17:47:45.000434
1,520,876,865.000434
38,515
pythondev
help
no, so the bcrypt format is `${VERSION}${SALT}{HASH}`
2018-03-12T17:49:16.000368
Zack
pythondev_help_Zack_2018-03-12T17:49:16.000368
1,520,876,956.000368
38,516
pythondev
help
where the `SALT` part is 22 characters long
2018-03-12T17:49:27.000137
Zack
pythondev_help_Zack_2018-03-12T17:49:27.000137
1,520,876,967.000137
38,517
pythondev
help
sorry, that’s `${VERSION}${WORK_FACTOR}${SALT}{HASH}`
2018-03-12T17:50:08.000427
Zack
pythondev_help_Zack_2018-03-12T17:50:08.000427
1,520,877,008.000427
38,518
pythondev
help
so yeah you are missing the hash in the first of two - where was that one printed from?
2018-03-12T17:50:28.000214
Zack
pythondev_help_Zack_2018-03-12T17:50:28.000214
1,520,877,028.000214
38,519
pythondev
help
When I ran the tests, I printed out the plain-text password, the salt and the hashed password.
2018-03-12T17:51:07.000224
Hans
pythondev_help_Hans_2018-03-12T17:51:07.000224
1,520,877,067.000224
38,520
pythondev
help
oh. ha. nevermind, that’s misleading then.
2018-03-12T17:51:25.000010
Zack
pythondev_help_Zack_2018-03-12T17:51:25.000010
1,520,877,085.00001
38,521
pythondev
help
and if you try and hash again manually using that salt, do you get a matching hash?
2018-03-12T17:51:59.000047
Zack
pythondev_help_Zack_2018-03-12T17:51:59.000047
1,520,877,119.000047
38,522
pythondev
help
<@Hans> Assuming you're taking input from a login form of some sorts. Would it be wise to create the instance of the class after the username and password has been verified? I tend to write any login functions as regular function rather than class methods
2018-03-12T17:52:23.000113
Porsha
pythondev_help_Porsha_2018-03-12T17:52:23.000113
1,520,877,143.000113
38,523