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
frankly it is expected of devs at this point
2019-04-02T14:39:22.210900
Clemmie
pythondev_help_Clemmie_2019-04-02T14:39:22.210900
1,554,215,962.2109
16,621
pythondev
help
yeah, it's essential
2019-04-02T14:39:39.211200
Ashley
pythondev_help_Ashley_2019-04-02T14:39:39.211200
1,554,215,979.2112
16,622
pythondev
help
definitely, or at least some sort of version control
2019-04-02T14:45:47.212400
Claudine
pythondev_help_Claudine_2019-04-02T14:45:47.212400
1,554,216,347.2124
16,623
pythondev
help
so the project is private, but do i just share the link to those who are able to view it?
2019-04-02T14:45:49.212600
Nenita
pythondev_help_Nenita_2019-04-02T14:45:49.212600
1,554,216,349.2126
16,624
pythondev
help
I wouldn't if it is private unless you know someone who is a member, then DM
2019-04-02T14:47:00.213200
Lawrence
pythondev_help_Lawrence_2019-04-02T14:47:00.213200
1,554,216,420.2132
16,625
pythondev
help
ah cool. i always miss replies because the notification is so small on my screen
2019-04-02T14:47:28.213400
Nenita
pythondev_help_Nenita_2019-04-02T14:47:28.213400
1,554,216,448.2134
16,626
pythondev
help
well i have the link. who wants to read up on it?
2019-04-02T14:48:28.214200
Nenita
pythondev_help_Nenita_2019-04-02T14:48:28.214200
1,554,216,508.2142
16,627
pythondev
help
i personally dont mind just posting it here, its just that its unfinished and I dont want it open(accessible) for too long.
2019-04-02T14:49:15.214900
Nenita
pythondev_help_Nenita_2019-04-02T14:49:15.214900
1,554,216,555.2149
16,628
pythondev
help
oh this is your own repo, my apologies
2019-04-02T14:50:31.215200
Lawrence
pythondev_help_Lawrence_2019-04-02T14:50:31.215200
1,554,216,631.2152
16,629
pythondev
help
then post away if you'd like :slightly_smiling_face: I was under the impression it was a different org
2019-04-02T14:50:55.215800
Lawrence
pythondev_help_Lawrence_2019-04-02T14:50:55.215800
1,554,216,655.2158
16,630
pythondev
help
yea no org. im not that 'into it' (lack of better words)
2019-04-02T14:51:42.216200
Nenita
pythondev_help_Nenita_2019-04-02T14:51:42.216200
1,554,216,702.2162
16,631
pythondev
help
<https://gitlab.com/WuchaDoin/private-invoice-system>
2019-04-02T14:52:01.216400
Nenita
pythondev_help_Nenita_2019-04-02T14:52:01.216400
1,554,216,721.2164
16,632
pythondev
help
ive never worked with anyone on code, worked for an org on code, worked with an org on code. im entirely 'freelance', but that comes at a tremendous cost.
2019-04-02T14:52:28.217100
Nenita
pythondev_help_Nenita_2019-04-02T14:52:28.217100
1,554,216,748.2171
16,633
pythondev
help
yeah, you can't just share the url of a private repo on gitlab - it is truly private.
2019-04-02T14:53:49.218000
Clemmie
pythondev_help_Clemmie_2019-04-02T14:53:49.218000
1,554,216,829.218
16,634
pythondev
help
lol
2019-04-02T14:53:55.218200
Nenita
pythondev_help_Nenita_2019-04-02T14:53:55.218200
1,554,216,835.2182
16,635
pythondev
help
You can use internal if you want - that limits it to people who are signed into gitlab
2019-04-02T14:54:33.218600
Clemmie
pythondev_help_Clemmie_2019-04-02T14:54:33.218600
1,554,216,873.2186
16,636
pythondev
help
or just plain public
2019-04-02T14:54:47.218800
Clemmie
pythondev_help_Clemmie_2019-04-02T14:54:47.218800
1,554,216,887.2188
16,637
pythondev
help
i dont know why i feel so stupid right now, but how the heck do i share it lol
2019-04-02T14:55:49.219100
Nenita
pythondev_help_Nenita_2019-04-02T14:55:49.219100
1,554,216,949.2191
16,638
pythondev
help
:facepalm:
2019-04-02T14:56:09.219400
Nenita
pythondev_help_Nenita_2019-04-02T14:56:09.219400
1,554,216,969.2194
16,639
pythondev
help
So there isn't so much a concept of sharing, exactly. If it stays private then you need to invite _gitlab_ users to be part of the project, via the gitlab process. If you set it to `internal` then you can just give the url and anyone with a gitlab account can look at it. if you set it to `public` you give the url and anyone can look at it
2019-04-02T14:58:34.221200
Clemmie
pythondev_help_Clemmie_2019-04-02T14:58:34.221200
1,554,217,114.2212
16,640
pythondev
help
i cant even find where to change the private setting
2019-04-02T15:00:34.221500
Nenita
pythondev_help_Nenita_2019-04-02T15:00:34.221500
1,554,217,234.2215
16,641
pythondev
help
there are tabs on the left hand side, but i dont see anything or know what to choose to change the sharing setting
2019-04-02T15:01:03.222200
Nenita
pythondev_help_Nenita_2019-04-02T15:01:03.222200
1,554,217,263.2222
16,642
pythondev
help
found it
2019-04-02T15:01:41.222400
Nenita
pythondev_help_Nenita_2019-04-02T15:01:41.222400
1,554,217,301.2224
16,643
pythondev
help
alright settings are set to internal so you should be able to use the link
2019-04-02T15:02:35.222900
Nenita
pythondev_help_Nenita_2019-04-02T15:02:35.222900
1,554,217,355.2229
16,644
pythondev
help
yup, can
2019-04-02T15:03:59.223100
Clemmie
pythondev_help_Clemmie_2019-04-02T15:03:59.223100
1,554,217,439.2231
16,645
pythondev
help
cool
2019-04-02T15:04:15.223300
Nenita
pythondev_help_Nenita_2019-04-02T15:04:15.223300
1,554,217,455.2233
16,646
pythondev
help
couple of comments just from glancing at it.
2019-04-02T15:05:33.223400
Clemmie
pythondev_help_Clemmie_2019-04-02T15:05:33.223400
1,554,217,533.2234
16,647
pythondev
help
snake_case, not CamelCase is preferred for function names in python
2019-04-02T15:06:04.223600
Clemmie
pythondev_help_Clemmie_2019-04-02T15:06:04.223600
1,554,217,564.2236
16,648
pythondev
help
i keep getting them mixed up
2019-04-02T15:06:35.223800
Nenita
pythondev_help_Nenita_2019-04-02T15:06:35.223800
1,554,217,595.2238
16,649
pythondev
help
the casing and spacing is probably the most I worry about at the moment because I have spent so much time speed learning everything else
2019-04-02T15:07:17.224000
Nenita
pythondev_help_Nenita_2019-04-02T15:07:17.224000
1,554,217,637.224
16,650
pythondev
help
you can replace the `if..elif` in `ConnectQB.AdjustCX` with `if any(x in str(data['FullName']) for x in ['Charges-2:','Colleen'])`
2019-04-02T15:12:01.224200
Clemmie
pythondev_help_Clemmie_2019-04-02T15:12:01.224200
1,554,217,921.2242
16,651
pythondev
help
never knew of that function
2019-04-02T15:13:51.224400
Nenita
pythondev_help_Nenita_2019-04-02T15:13:51.224400
1,554,218,031.2244
16,652
pythondev
help
anyhow, i dont expect anyone to go through all of it, but to just skim through and notice little things that could be adjust as per your reply.
2019-04-02T15:14:27.224600
Nenita
pythondev_help_Nenita_2019-04-02T15:14:27.224600
1,554,218,067.2246
16,653
pythondev
help
ok, ill look at a more generall level
2019-04-02T15:15:14.224800
Clemmie
pythondev_help_Clemmie_2019-04-02T15:15:14.224800
1,554,218,114.2248
16,654
pythondev
help
You don't need to compare to the `True` and `False` literals - so `if test == False` is just `if not test`
2019-04-02T15:16:14.225100
Clemmie
pythondev_help_Clemmie_2019-04-02T15:16:14.225100
1,554,218,174.2251
16,655
pythondev
help
taking notes :notebook:
2019-04-02T15:17:16.225300
Nenita
pythondev_help_Nenita_2019-04-02T15:17:16.225300
1,554,218,236.2253
16,656
pythondev
help
There is a lot of repetition in SystemGUI
2019-04-02T15:17:55.225500
Clemmie
pythondev_help_Clemmie_2019-04-02T15:17:55.225500
1,554,218,275.2255
16,657
pythondev
help
like what?
2019-04-02T15:18:12.225700
Nenita
pythondev_help_Nenita_2019-04-02T15:18:12.225700
1,554,218,292.2257
16,658
pythondev
help
I would do a couple of things - split each page into it's own function and call all the page function - easier to read
2019-04-02T15:18:35.225900
Clemmie
pythondev_help_Clemmie_2019-04-02T15:18:35.225900
1,554,218,315.2259
16,659
pythondev
help
for all the elements with repeated argument use dictionary unpacking like so
2019-04-02T15:19:02.226100
Clemmie
pythondev_help_Clemmie_2019-04-02T15:19:02.226100
1,554,218,342.2261
16,660
pythondev
help
you have ``` self.page1_bgn_date.pack(side='left', anchor='center', fill='none', expand=True) self.page1_to_label.pack(side='left', anchor='center', fill='none', expand=True) self.page1_end_date.pack(side='left', anchor='center', fill='none', expand=True) ```
2019-04-02T15:19:16.226300
Clemmie
pythondev_help_Clemmie_2019-04-02T15:19:16.226300
1,554,218,356.2263
16,661
pythondev
help
yea, thats my biggest issue
2019-04-02T15:20:09.226700
Nenita
pythondev_help_Nenita_2019-04-02T15:20:09.226700
1,554,218,409.2267
16,662
pythondev
help
thats partly why i asked someone to possibly check into it.
2019-04-02T15:20:20.226900
Nenita
pythondev_help_Nenita_2019-04-02T15:20:20.226900
1,554,218,420.2269
16,663
pythondev
help
i dont know of a simpler method of packing a lot of widgets
2019-04-02T15:20:36.227100
Nenita
pythondev_help_Nenita_2019-04-02T15:20:36.227100
1,554,218,436.2271
16,664
pythondev
help
you can do ``` lcnt = {'side':'left', 'anchor':'center', 'fill':'none', 'expand':True} self.page1_bgn_date.pack(**lcnt) self.page1_to_label.pack(**lcnt) self.page1_end_date.pack(**lcnt) ```
2019-04-02T15:21:28.227300
Clemmie
pythondev_help_Clemmie_2019-04-02T15:21:28.227300
1,554,218,488.2273
16,665
pythondev
help
you can even do it where multiple params are the same, but one is different `a(**unpack_dict, param=15)`
2019-04-02T15:23:55.227500
Clemmie
pythondev_help_Clemmie_2019-04-02T15:23:55.227500
1,554,218,635.2275
16,666
pythondev
help
see im not used to (at least to me) special syntax's like the **. i will need to read up on that.
2019-04-02T15:24:24.227700
Nenita
pythondev_help_Nenita_2019-04-02T15:24:24.227700
1,554,218,664.2277
16,667
pythondev
help
last one before i have to run - in SystemFunctions you have a pattern of `if x: one_val else: other_val` line lines 81-98
2019-04-02T15:28:38.227900
Clemmie
pythondev_help_Clemmie_2019-04-02T15:28:38.227900
1,554,218,918.2279
16,668
pythondev
help
yea those are really ugly. i have no idea how to shorten them
2019-04-02T15:29:35.228100
Nenita
pythondev_help_Nenita_2019-04-02T15:29:35.228100
1,554,218,975.2281
16,669
pythondev
help
i appreciate you taking the time to skim over it
2019-04-02T15:30:30.228300
Nenita
pythondev_help_Nenita_2019-04-02T15:30:30.228300
1,554,219,030.2283
16,670
pythondev
help
you can make a function like ``` def set_tree(tree, data, var_loc, comparator, data_loc, good_val, bad_val): val = bad_val if strvar[var_loc].get() == comparator: val = good_val tree.set(data, data_loc, value=val) ``` and call like ``` set_tree(tree, data, 0, 1, 4, 'True', 'False') &lt;skip a few...&gt; set_tree(tree, data, 3, 1, 5, 'None', 'Short') ```
2019-04-02T15:33:05.228600
Clemmie
pythondev_help_Clemmie_2019-04-02T15:33:05.228600
1,554,219,185.2286
16,671
pythondev
help
let me know when you have finished looking at what you want because im going to be switching it back to private
2019-04-02T15:36:00.228800
Nenita
pythondev_help_Nenita_2019-04-02T15:36:00.228800
1,554,219,360.2288
16,672
pythondev
help
lastly, in your opinion, with a project this size, is it usually more than a one man project or would it just take a single person a good while (also depends on exp) to create a project of this scope?
2019-04-02T15:37:20.229000
Nenita
pythondev_help_Nenita_2019-04-02T15:37:20.229000
1,554,219,440.229
16,673
pythondev
help
If that is the extent of it - one person
2019-04-02T15:40:50.229200
Clemmie
pythondev_help_Clemmie_2019-04-02T15:40:50.229200
1,554,219,650.2292
16,674
pythondev
help
well thats good to know. it tells me i wont be spending too long on it. or at least more than i need to.
2019-04-02T15:41:34.229400
Nenita
pythondev_help_Nenita_2019-04-02T15:41:34.229400
1,554,219,694.2294
16,675
pythondev
help
you can switch it to private - I gotta poke at other stuff
2019-04-02T15:42:02.229600
Clemmie
pythondev_help_Clemmie_2019-04-02T15:42:02.229600
1,554,219,722.2296
16,676
pythondev
help
thanks. just be careful where you stick your fingers :smiley:
2019-04-02T15:42:40.229800
Nenita
pythondev_help_Nenita_2019-04-02T15:42:40.229800
1,554,219,760.2298
16,677
pythondev
help
Anyone good at PyQt here?
2019-04-02T16:58:10.230300
Janis
pythondev_help_Janis_2019-04-02T16:58:10.230300
1,554,224,290.2303
16,678
pythondev
help
I have like 8 buttons and I am connecting clicked event of each button to the same function. Now when the function gets triggered how do I tell which button got clicked in those 8 buttons
2019-04-02T17:00:42.231000
Janis
pythondev_help_Janis_2019-04-02T17:00:42.231000
1,554,224,442.231
16,679
pythondev
help
Not sure, I dont post tkinter issues often, but i do get some help every now and then when needed
2019-04-02T17:00:46.231200
Nenita
pythondev_help_Nenita_2019-04-02T17:00:46.231200
1,554,224,446.2312
16,680
pythondev
help
Hmm maybe you have an idea about it
2019-04-02T17:01:40.231800
Janis
pythondev_help_Janis_2019-04-02T17:01:40.231800
1,554,224,500.2318
16,681
pythondev
help
not sure on syntax or functions for pyqt. ive only used tkinter, but with using checkbuttons, tkinter uses stringvar() in order to store a textvaraible.
2019-04-02T17:02:48.232700
Nenita
pythondev_help_Nenita_2019-04-02T17:02:48.232700
1,554,224,568.2327
16,682
pythondev
help
Those are pushButtons not checkboxes
2019-04-02T17:03:12.233300
Janis
pythondev_help_Janis_2019-04-02T17:03:12.233300
1,554,224,592.2333
16,683
pythondev
help
i use that, not to tell which button was pressed, but because of what stringvar it is i can tell which button was pressed
2019-04-02T17:03:19.233500
Nenita
pythondev_help_Nenita_2019-04-02T17:03:19.233500
1,554,224,599.2335
16,684
pythondev
help
yea i know, i just was pointing out i use stringvar with checkbuttons
2019-04-02T17:03:37.233900
Nenita
pythondev_help_Nenita_2019-04-02T17:03:37.233900
1,554,224,617.2339
16,685
pythondev
help
Well i am using same text name for every button as they will be performing same operation
2019-04-02T17:04:03.234600
Janis
pythondev_help_Janis_2019-04-02T17:04:03.234600
1,554,224,643.2346
16,686
pythondev
help
would you mind posting some code?
2019-04-02T17:04:42.234800
Nenita
pythondev_help_Nenita_2019-04-02T17:04:42.234800
1,554,224,682.2348
16,687
pythondev
help
None
2019-04-02T17:05:18.234900
Janis
pythondev_help_Janis_2019-04-02T17:05:18.234900
1,554,224,718.2349
16,688
pythondev
help
similar to above we have 7 more buttons
2019-04-02T17:05:57.235400
Janis
pythondev_help_Janis_2019-04-02T17:05:57.235400
1,554,224,757.2354
16,689
pythondev
help
and reset_one is the function where i want to know which button got pressed so that i can perform some action
2019-04-02T17:08:12.236400
Janis
pythondev_help_Janis_2019-04-02T17:08:12.236400
1,554,224,892.2364
16,690
pythondev
help
from the look of it, it seems similar to something i'd have to do in certain situations. i.e using the button name/id as the button variable in a function. Again, i apologize im not familiar with pyqt, but hopefully this will give some idea.
2019-04-02T17:11:05.236500
Nenita
pythondev_help_Nenita_2019-04-02T17:11:05.236500
1,554,225,065.2365
16,691
pythondev
help
I don't think that helps but nvm thanks for at least trying
2019-04-02T17:12:05.237300
Janis
pythondev_help_Janis_2019-04-02T17:12:05.237300
1,554,225,125.2373
16,692
pythondev
help
yea sorry. its even hard for me to find live help on tkinter from time to time, but thankfully tkinter is a little more strightforward imo.
2019-04-02T17:13:38.238100
Nenita
pythondev_help_Nenita_2019-04-02T17:13:38.238100
1,554,225,218.2381
16,693
pythondev
help
<https://www.tutorialspoint.com/pyqt/pyqt_qpushbutton_widget.htm>
2019-04-02T17:15:36.238300
Nenita
pythondev_help_Nenita_2019-04-02T17:15:36.238300
1,554,225,336.2383
16,694
pythondev
help
the example at the bottom of the page may be helpful :shrug:
2019-04-02T17:16:10.239100
Nenita
pythondev_help_Nenita_2019-04-02T17:16:10.239100
1,554,225,370.2391
16,695
pythondev
help
Lol thanks that was what I was looking aswell
2019-04-02T17:18:27.239500
Janis
pythondev_help_Janis_2019-04-02T17:18:27.239500
1,554,225,507.2395
16,696
pythondev
help
So i thought to myself as a project i'd build monopoly. And i sat down today to build it i realized i had no idea how to start
2019-04-02T17:30:21.240200
Demetrice
pythondev_help_Demetrice_2019-04-02T17:30:21.240200
1,554,226,221.2402
16,697
pythondev
help
Logically speaking i should write the board first. But i don't even know how to begin that conceptually. I'm looking into it and thinking i might have to use a grid.
2019-04-02T17:33:03.241200
Demetrice
pythondev_help_Demetrice_2019-04-02T17:33:03.241200
1,554,226,383.2412
16,698
pythondev
help
yep, thats basically me on everything lmao
2019-04-02T17:34:04.241600
Nenita
pythondev_help_Nenita_2019-04-02T17:34:04.241600
1,554,226,444.2416
16,699
pythondev
help
This stuff is hard man. I know what monopoly looks like in my head. I play it all the time but i have no idea how to write it
2019-04-02T17:37:25.242200
Demetrice
pythondev_help_Demetrice_2019-04-02T17:37:25.242200
1,554,226,645.2422
16,700
pythondev
help
id work with the moment first (rolling die, taking turns, moving board pieces) first and then figure out the required math afterword.
2019-04-02T17:38:44.243100
Nenita
pythondev_help_Nenita_2019-04-02T17:38:44.243100
1,554,226,724.2431
16,701
pythondev
help
because then you'd be working off the framework of taking turns and rotation
2019-04-02T17:39:14.243500
Nenita
pythondev_help_Nenita_2019-04-02T17:39:14.243500
1,554,226,754.2435
16,702
pythondev
help
<@Demetrice> if you are on during US work hours tomorrow ping me - I'm happy to work through a design brainstrom with you
2019-04-02T17:54:08.244300
Clemmie
pythondev_help_Clemmie_2019-04-02T17:54:08.244300
1,554,227,648.2443
16,703
pythondev
help
<@Nenita> <@Demetrice> we can make it a group dm or private channel
2019-04-02T17:54:36.244700
Clemmie
pythondev_help_Clemmie_2019-04-02T17:54:36.244700
1,554,227,676.2447
16,704
pythondev
help
Sounds fun
2019-04-02T17:55:31.244900
Nenita
pythondev_help_Nenita_2019-04-02T17:55:31.244900
1,554,227,731.2449
16,705
pythondev
help
<@Clemmie> Yes! I'm off tomorrow too! I'll just put it on my schedule for tomorrow
2019-04-02T18:29:59.245700
Demetrice
pythondev_help_Demetrice_2019-04-02T18:29:59.245700
1,554,229,799.2457
16,706
pythondev
help
Having people who actually know what they're doing to bounce idea's off of would be great
2019-04-02T18:30:12.246100
Demetrice
pythondev_help_Demetrice_2019-04-02T18:30:12.246100
1,554,229,812.2461
16,707
pythondev
help
I'm not! But I can work with you while I work
2019-04-02T18:30:41.246300
Clemmie
pythondev_help_Clemmie_2019-04-02T18:30:41.246300
1,554,229,841.2463
16,708
pythondev
help
Has anyone used mailgun
2019-04-02T18:45:33.246700
Marceline
pythondev_help_Marceline_2019-04-02T18:45:33.246700
1,554,230,733.2467
16,709
pythondev
help
Hello all I was wondering in python if it is possible in a text file to see what line a string is one
2019-04-02T21:12:17.248000
Rodrick
pythondev_help_Rodrick_2019-04-02T21:12:17.248000
1,554,239,537.248
16,710
pythondev
help
To clarify, you're wanting to find what the line number is that matches a specific string?
2019-04-02T21:12:52.248600
Carmen
pythondev_help_Carmen_2019-04-02T21:12:52.248600
1,554,239,572.2486
16,711
pythondev
help
Correct
2019-04-02T21:12:57.248800
Rodrick
pythondev_help_Rodrick_2019-04-02T21:12:57.248800
1,554,239,577.2488
16,712
pythondev
help
Can the string be repeated in the file? If so, do you need just the first line, or all lines?
2019-04-02T21:13:17.249300
Carmen
pythondev_help_Carmen_2019-04-02T21:13:17.249300
1,554,239,597.2493
16,713
pythondev
help
Uhhhh
2019-04-02T21:13:43.249700
Rodrick
pythondev_help_Rodrick_2019-04-02T21:13:43.249700
1,554,239,623.2497
16,714
pythondev
help
hmmm
2019-04-02T21:13:46.250000
Rodrick
pythondev_help_Rodrick_2019-04-02T21:13:46.250000
1,554,239,626.25
16,715
pythondev
help
it would be like this
2019-04-02T21:13:51.250300
Rodrick
pythondev_help_Rodrick_2019-04-02T21:13:51.250300
1,554,239,631.2503
16,716
pythondev
help
`Line 1: ryan is cool`
2019-04-02T21:14:11.250800
Rodrick
pythondev_help_Rodrick_2019-04-02T21:14:11.250800
1,554,239,651.2508
16,717
pythondev
help
`Line 2: joe is cool`
2019-04-02T21:14:22.251200
Rodrick
pythondev_help_Rodrick_2019-04-02T21:14:22.251200
1,554,239,662.2512
16,718
pythondev
help
and thats in a whole library
2019-04-02T21:14:37.251600
Rodrick
pythondev_help_Rodrick_2019-04-02T21:14:37.251600
1,554,239,677.2516
16,719
pythondev
help
i want to find the string `ryan is cool`
2019-04-02T21:14:49.252000
Rodrick
pythondev_help_Rodrick_2019-04-02T21:14:49.252000
1,554,239,689.252
16,720