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 | I want it to append the new value to the already existing dict from the json file | 2017-09-10T23:28:50.000008 | Kati | pythondev_help_Kati_2017-09-10T23:28:50.000008 | 1,505,086,130.000008 | 93,103 |
pythondev | help | like this
```{
"posted": {
"112asdfasdfas833434000714_207568954": {},
"new_value": {}
}
}
``` | 2017-09-10T23:31:05.000030 | Kati | pythondev_help_Kati_2017-09-10T23:31:05.000030 | 1,505,086,265.00003 | 93,104 |
pythondev | help | ahh | 2017-09-10T23:32:42.000116 | Marcie | pythondev_help_Marcie_2017-09-10T23:32:42.000116 | 1,505,086,362.000116 | 93,105 |
pythondev | help | so `update` is not a deep update, it only does one level of keys, so that entire `posted` key is getting updated with the one from your new json | 2017-09-10T23:33:23.000066 | Marcie | pythondev_help_Marcie_2017-09-10T23:33:23.000066 | 1,505,086,403.000066 | 93,106 |
pythondev | help | if you want to update a key inside the dict, just call update on that key's dict | 2017-09-10T23:33:39.000104 | Marcie | pythondev_help_Marcie_2017-09-10T23:33:39.000104 | 1,505,086,419.000104 | 93,107 |
pythondev | help | `get_json_dict['posted'].update(my_sec_dict['posted'])` | 2017-09-10T23:33:45.000121 | Marcie | pythondev_help_Marcie_2017-09-10T23:33:45.000121 | 1,505,086,425.000121 | 93,108 |
pythondev | help | Aha! It's that simple | 2017-09-10T23:33:57.000010 | Kati | pythondev_help_Kati_2017-09-10T23:33:57.000010 | 1,505,086,437.00001 | 93,109 |
pythondev | help | Haha had me stuck for hours | 2017-09-10T23:34:03.000097 | Kati | pythondev_help_Kati_2017-09-10T23:34:03.000097 | 1,505,086,443.000097 | 93,110 |
pythondev | help | cool! glad i could help :slightly_smiling_face: | 2017-09-10T23:34:25.000043 | Marcie | pythondev_help_Marcie_2017-09-10T23:34:25.000043 | 1,505,086,465.000043 | 93,111 |
pythondev | help | Thank you so much! | 2017-09-10T23:41:31.000044 | Kati | pythondev_help_Kati_2017-09-10T23:41:31.000044 | 1,505,086,891.000044 | 93,112 |
pythondev | help | hi | 2017-09-11T02:07:39.000094 | Niki | pythondev_help_Niki_2017-09-11T02:07:39.000094 | 1,505,095,659.000094 | 93,113 |
pythondev | help | i’m having trouble in finding out what encryption this is | 2017-09-11T02:08:03.000043 | Niki | pythondev_help_Niki_2017-09-11T02:08:03.000043 | 1,505,095,683.000043 | 93,114 |
pythondev | help | BAGfxzupdBepIrhfNxeDoQ== | 2017-09-11T02:08:08.000031 | Niki | pythondev_help_Niki_2017-09-11T02:08:08.000031 | 1,505,095,688.000031 | 93,115 |
pythondev | help | could someone help me? | 2017-09-11T02:08:13.000201 | Niki | pythondev_help_Niki_2017-09-11T02:08:13.000201 | 1,505,095,693.000201 | 93,116 |
pythondev | help | <@Niki> could be anything. Can you provide more details? | 2017-09-11T02:10:18.000074 | Collette | pythondev_help_Collette_2017-09-11T02:10:18.000074 | 1,505,095,818.000074 | 93,117 |
pythondev | help | of course. It is supposed to be an encrypted e-mail | 2017-09-11T02:11:02.000017 | Niki | pythondev_help_Niki_2017-09-11T02:11:02.000017 | 1,505,095,862.000017 | 93,118 |
pythondev | help | Anyone can send anything via an e-mail, that's just text | 2017-09-11T02:12:06.000027 | Collette | pythondev_help_Collette_2017-09-11T02:12:06.000027 | 1,505,095,926.000027 | 93,119 |
pythondev | help | i mean, is like a encrypted e-mail address | 2017-09-11T02:12:39.000111 | Niki | pythondev_help_Niki_2017-09-11T02:12:39.000111 | 1,505,095,959.000111 | 93,120 |
pythondev | help | <mailto:foobar@gmail.com|foobar@gmail.com> for example | 2017-09-11T02:12:46.000101 | Niki | pythondev_help_Niki_2017-09-11T02:12:46.000101 | 1,505,095,966.000101 | 93,121 |
pythondev | help | e-mail address is just text, it doesn't differ much from "foobarbuz" | 2017-09-11T02:13:32.000101 | Collette | pythondev_help_Collette_2017-09-11T02:13:32.000101 | 1,505,096,012.000101 | 93,122 |
pythondev | help | It really could be anything, unless you know _something_; i.e. which program have been used to encrypt that string | 2017-09-11T02:14:09.000012 | Collette | pythondev_help_Collette_2017-09-11T02:14:09.000012 | 1,505,096,049.000012 | 93,123 |
pythondev | help | that is what i want to find out | 2017-09-11T02:14:29.000123 | Niki | pythondev_help_Niki_2017-09-11T02:14:29.000123 | 1,505,096,069.000123 | 93,124 |
pythondev | help | i dont need to know the original string | 2017-09-11T02:14:37.000177 | Niki | pythondev_help_Niki_2017-09-11T02:14:37.000177 | 1,505,096,077.000177 | 93,125 |
pythondev | help | You can't. It doesn't work like that. | 2017-09-11T02:14:46.000169 | Collette | pythondev_help_Collette_2017-09-11T02:14:46.000169 | 1,505,096,086.000169 | 93,126 |
pythondev | help | i need to know if it is md5, base64, sha256.. | 2017-09-11T02:15:07.000176 | Niki | pythondev_help_Niki_2017-09-11T02:15:07.000176 | 1,505,096,107.000176 | 93,127 |
pythondev | help | These aren't encryption algorithms. These are hashing algorithms. | 2017-09-11T02:15:37.000034 | Collette | pythondev_help_Collette_2017-09-11T02:15:37.000034 | 1,505,096,137.000034 | 93,128 |
pythondev | help | ok | 2017-09-11T02:16:54.000063 | Niki | pythondev_help_Niki_2017-09-11T02:16:54.000063 | 1,505,096,214.000063 | 93,129 |
pythondev | help | so, is there how to discover which hashing algorightm? | 2017-09-11T02:17:12.000136 | Niki | pythondev_help_Niki_2017-09-11T02:17:12.000136 | 1,505,096,232.000136 | 93,130 |
pythondev | help | Only by hand. You should learn about all these algorithms, how they form a hash and why base64 is actually not a hashing algorithm | 2017-09-11T02:18:37.000007 | Collette | pythondev_help_Collette_2017-09-11T02:18:37.000007 | 1,505,096,317.000007 | 93,131 |
pythondev | help | I can tell that it looks like a base64-encoded string, although the decoding doesn't give me anything remotely useful | 2017-09-11T02:19:16.000139 | Collette | pythondev_help_Collette_2017-09-11T02:19:16.000139 | 1,505,096,356.000139 | 93,132 |
pythondev | help | ok. I will do that | 2017-09-11T02:21:29.000115 | Niki | pythondev_help_Niki_2017-09-11T02:21:29.000115 | 1,505,096,489.000115 | 93,133 |
pythondev | help | but it is definitely not md5, right? | 2017-09-11T02:21:43.000095 | Niki | pythondev_help_Niki_2017-09-11T02:21:43.000095 | 1,505,096,503.000095 | 93,134 |
pythondev | help | Yes. md5 is a hex string, it cannot contain letters except for a-f | 2017-09-11T02:22:19.000077 | Collette | pythondev_help_Collette_2017-09-11T02:22:19.000077 | 1,505,096,539.000077 | 93,135 |
pythondev | help | alright | 2017-09-11T02:25:04.000254 | Niki | pythondev_help_Niki_2017-09-11T02:25:04.000254 | 1,505,096,704.000254 | 93,136 |
pythondev | help | thanks you very much | 2017-09-11T02:25:11.000154 | Niki | pythondev_help_Niki_2017-09-11T02:25:11.000154 | 1,505,096,711.000154 | 93,137 |
pythondev | help | Hi | 2017-09-11T05:21:04.000199 | Cassaundra | pythondev_help_Cassaundra_2017-09-11T05:21:04.000199 | 1,505,107,264.000199 | 93,138 |
pythondev | help | Can any1 advise me how to solve this error
```*** finding dlls needed ***
error: [Errno 2] No such file or directory: 'numpy-atlas.dll'
``` | 2017-09-11T05:21:42.000170 | Cassaundra | pythondev_help_Cassaundra_2017-09-11T05:21:42.000170 | 1,505,107,302.00017 | 93,139 |
pythondev | help | I am trying to convert script file to a exe file | 2017-09-11T05:22:05.000163 | Cassaundra | pythondev_help_Cassaundra_2017-09-11T05:22:05.000163 | 1,505,107,325.000163 | 93,140 |
pythondev | help | looks like you are missing a `.dll` | 2017-09-11T05:27:02.000104 | Ciera | pythondev_help_Ciera_2017-09-11T05:27:02.000104 | 1,505,107,622.000104 | 93,141 |
pythondev | help | did you check <https://stackoverflow.com/questions/36191770/py2exe-errno-2-no-such-file-or-directory-numpy-atlas-dll> | 2017-09-11T05:27:11.000218 | Florentina | pythondev_help_Florentina_2017-09-11T05:27:11.000218 | 1,505,107,631.000218 | 93,142 |
pythondev | help | <@Florentina> tq | 2017-09-11T06:37:33.000384 | Cassaundra | pythondev_help_Cassaundra_2017-09-11T06:37:33.000384 | 1,505,111,853.000384 | 93,143 |
pythondev | help | Hi all, I have a problem to store a geometry value into a PostgreSQL+PostGIS database. I want to store latitude and longitude, that I get using geopy library, I'm very confused about what SQL sentence I have to write. Can anybody help me? I write this question also in SoF <https://stackoverflow.com/questions/46156857/geometry-value-into-postgreslqpostgis> | 2017-09-11T09:26:16.000582 | Liana | pythondev_help_Liana_2017-09-11T09:26:16.000582 | 1,505,121,976.000582 | 93,144 |
pythondev | help | are you sure `sensor.getLongitude` is a value and not a method? | 2017-09-11T09:27:36.000036 | Meg | pythondev_help_Meg_2017-09-11T09:27:36.000036 | 1,505,122,056.000036 | 93,145 |
pythondev | help | also, you have a misspelling with `frequencyUpdate` | 2017-09-11T09:28:24.000178 | Meg | pythondev_help_Meg_2017-09-11T09:28:24.000178 | 1,505,122,104.000178 | 93,146 |
pythondev | help | Sorry, it's true. Now the error is "doesn't exits relation «sensor»"
LINE 1: INSERT INTO Sensor(name, value, location, unit, frecuencyUpd...
^ | 2017-09-11T09:36:32.000253 | Liana | pythondev_help_Liana_2017-09-11T09:36:32.000253 | 1,505,122,592.000253 | 93,147 |
pythondev | help | what's the full error | 2017-09-11T09:37:43.000299 | Meg | pythondev_help_Meg_2017-09-11T09:37:43.000299 | 1,505,122,663.000299 | 93,148 |
pythondev | help | Sounds like there's no table called `sensor` | 2017-09-11T09:39:29.000049 | Gabriele | pythondev_help_Gabriele_2017-09-11T09:39:29.000049 | 1,505,122,769.000049 | 93,149 |
pythondev | help | The full error is the last one. Now in Spanish, from the console: no existe la relación «sensor»
LINE 1: INSERT INTO Sensor(name, value, location, unit, frecuencyUpd... | 2017-09-11T09:40:20.000433 | Liana | pythondev_help_Liana_2017-09-11T09:40:20.000433 | 1,505,122,820.000433 | 93,150 |
pythondev | help | It exits, it is called Sensor | 2017-09-11T09:40:54.000327 | Liana | pythondev_help_Liana_2017-09-11T09:40:54.000327 | 1,505,122,854.000327 | 93,151 |
pythondev | help | FYI, you might want to move this to <#C3X4T24LB|databases> | 2017-09-11T09:41:06.000163 | Meg | pythondev_help_Meg_2017-09-11T09:41:06.000163 | 1,505,122,866.000163 | 93,152 |
pythondev | help | Ok, thanks! | 2017-09-11T09:41:27.000082 | Liana | pythondev_help_Liana_2017-09-11T09:41:27.000082 | 1,505,122,887.000082 | 93,153 |
pythondev | help | anyone here use lektor? | 2017-09-11T10:58:59.000444 | Bruno | pythondev_help_Bruno_2017-09-11T10:58:59.000444 | 1,505,127,539.000444 | 93,154 |
pythondev | help | A little, never got very far | 2017-09-11T11:54:28.000014 | Mallie | pythondev_help_Mallie_2017-09-11T11:54:28.000014 | 1,505,130,868.000014 | 93,155 |
pythondev | help | Hi! Does anyone know python packages that helps to organize communication between cluster members (select cluster leader, schedule task on defined percent of nodes etc.)? | 2017-09-11T12:02:46.000851 | Chu | pythondev_help_Chu_2017-09-11T12:02:46.000851 | 1,505,131,366.000851 | 93,156 |
pythondev | help | <@Mallie> ah ok. trying to get the home page to show a list of posts from another model. | 2017-09-11T12:03:44.000285 | Bruno | pythondev_help_Bruno_2017-09-11T12:03:44.000285 | 1,505,131,424.000285 | 93,157 |
pythondev | help | <https://github.com/lektor/lektor/issues/443> | 2017-09-11T12:07:57.000712 | Bruno | pythondev_help_Bruno_2017-09-11T12:07:57.000712 | 1,505,131,677.000712 | 93,158 |
pythondev | help | Yeah that's outside my experience | 2017-09-11T12:12:45.000079 | Mallie | pythondev_help_Mallie_2017-09-11T12:12:45.000079 | 1,505,131,965.000079 | 93,159 |
pythondev | help | I wanted to do more with it but just couldn't find the time | 2017-09-11T12:13:04.000234 | Mallie | pythondev_help_Mallie_2017-09-11T12:13:04.000234 | 1,505,131,984.000234 | 93,160 |
pythondev | help | I always defer that to something like consul | 2017-09-11T12:13:23.000698 | Beula | pythondev_help_Beula_2017-09-11T12:13:23.000698 | 1,505,132,003.000698 | 93,161 |
pythondev | help | do you use anything now? | 2017-09-11T12:13:25.000342 | Bruno | pythondev_help_Bruno_2017-09-11T12:13:25.000342 | 1,505,132,005.000342 | 93,162 |
pythondev | help | Or you can do distributed locks with redis, I believe | 2017-09-11T12:13:35.000182 | Beula | pythondev_help_Beula_2017-09-11T12:13:35.000182 | 1,505,132,015.000182 | 93,163 |
pythondev | help | if i cant get it working i may try hugo again. it was nice too. | 2017-09-11T12:13:48.000457 | Bruno | pythondev_help_Bruno_2017-09-11T12:13:48.000457 | 1,505,132,028.000457 | 93,164 |
pythondev | help | Thanks. I found that I want <https://github.com/bakwc/PySyncObj> | 2017-09-11T12:27:16.000195 | Chu | pythondev_help_Chu_2017-09-11T12:27:16.000195 | 1,505,132,836.000195 | 93,165 |
pythondev | help | hi | 2017-09-11T12:45:46.000724 | Otha | pythondev_help_Otha_2017-09-11T12:45:46.000724 | 1,505,133,946.000724 | 93,166 |
pythondev | help | has anyone here has class variables revert to their previous value after being assigned in a method? | 2017-09-11T12:46:04.000650 | Otha | pythondev_help_Otha_2017-09-11T12:46:04.000650 | 1,505,133,964.00065 | 93,167 |
pythondev | help | <@Otha> Negative, can you provide a minimal example to show this happening? | 2017-09-11T12:47:05.000142 | Beula | pythondev_help_Beula_2017-09-11T12:47:05.000142 | 1,505,134,025.000142 | 93,168 |
pythondev | help | yep , just sketching one up now | 2017-09-11T12:47:27.000105 | Otha | pythondev_help_Otha_2017-09-11T12:47:27.000105 | 1,505,134,047.000105 | 93,169 |
pythondev | help | any threading going on, or shared memory? | 2017-09-11T12:47:38.000085 | Junita | pythondev_help_Junita_2017-09-11T12:47:38.000085 | 1,505,134,058.000085 | 93,170 |
pythondev | help | but yeah - minimal example is key | 2017-09-11T12:47:50.000411 | Junita | pythondev_help_Junita_2017-09-11T12:47:50.000411 | 1,505,134,070.000411 | 93,171 |
pythondev | help | <@Otha> only instance is when a property setter was resetting other class properties inside | 2017-09-11T12:48:04.000572 | Meg | pythondev_help_Meg_2017-09-11T12:48:04.000572 | 1,505,134,084.000572 | 93,172 |
pythondev | help | eg
``` @value.setter
def value(self, val):
self.some_property = val ** 2
self.value = val
``` | 2017-09-11T12:49:09.000401 | Meg | pythondev_help_Meg_2017-09-11T12:49:09.000401 | 1,505,134,149.000401 | 93,173 |
pythondev | help | ```class myclass:
myvar1 = None
def set_myvar1(self, input):
if input == 1:
self.myvar1 = '12345'
else:
self.myvar1 = '8765'
def make_my_thing():
set_myvar1('some_input')``` | 2017-09-11T12:49:23.000347 | Otha | pythondev_help_Otha_2017-09-11T12:49:23.000347 | 1,505,134,163.000347 | 93,174 |
pythondev | help | in pycharm I can see `myvar1` = ’12345 | 2017-09-11T12:49:41.000084 | Otha | pythondev_help_Otha_2017-09-11T12:49:41.000084 | 1,505,134,181.000084 | 93,175 |
pythondev | help | when I call make_my_thing | 2017-09-11T12:49:51.000014 | Otha | pythondev_help_Otha_2017-09-11T12:49:51.000014 | 1,505,134,191.000014 | 93,176 |
pythondev | help | You are using class variables, not instance variables there | 2017-09-11T12:50:00.000350 | Beula | pythondev_help_Beula_2017-09-11T12:50:00.000350 | 1,505,134,200.00035 | 93,177 |
pythondev | help | yup | 2017-09-11T12:50:07.000429 | Meg | pythondev_help_Meg_2017-09-11T12:50:07.000429 | 1,505,134,207.000429 | 93,178 |
pythondev | help | but as soon as I exit the method, its reverted to None | 2017-09-11T12:50:08.000303 | Otha | pythondev_help_Otha_2017-09-11T12:50:08.000303 | 1,505,134,208.000303 | 93,179 |
pythondev | help | e.g. shared across all objects | 2017-09-11T12:50:09.000195 | Beula | pythondev_help_Beula_2017-09-11T12:50:09.000195 | 1,505,134,209.000195 | 93,180 |
pythondev | help | append `self` to `myvar` | 2017-09-11T12:50:21.000230 | Meg | pythondev_help_Meg_2017-09-11T12:50:21.000230 | 1,505,134,221.00023 | 93,181 |
pythondev | help | eg `self.myvar1` and refer to that in the setter | 2017-09-11T12:50:30.000537 | Meg | pythondev_help_Meg_2017-09-11T12:50:30.000537 | 1,505,134,230.000537 | 93,182 |
pythondev | help | I have ? | 2017-09-11T12:50:41.000220 | Otha | pythondev_help_Otha_2017-09-11T12:50:41.000220 | 1,505,134,241.00022 | 93,183 |
pythondev | help | ```
class MyClass:
def __init__(self):
self.myvar1 = None
``` | 2017-09-11T12:50:53.000125 | Beula | pythondev_help_Beula_2017-09-11T12:50:53.000125 | 1,505,134,253.000125 | 93,184 |
pythondev | help | That is what you need | 2017-09-11T12:50:56.000579 | Beula | pythondev_help_Beula_2017-09-11T12:50:56.000579 | 1,505,134,256.000579 | 93,185 |
pythondev | help | Set it on the _instance_ | 2017-09-11T12:51:00.000688 | Beula | pythondev_help_Beula_2017-09-11T12:51:00.000688 | 1,505,134,260.000688 | 93,186 |
pythondev | help | And then use properties for the set/get logic | 2017-09-11T12:51:07.000412 | Beula | pythondev_help_Beula_2017-09-11T12:51:07.000412 | 1,505,134,267.000412 | 93,187 |
pythondev | help | oh I follow | 2017-09-11T12:51:08.000282 | Otha | pythondev_help_Otha_2017-09-11T12:51:08.000282 | 1,505,134,268.000282 | 93,188 |
pythondev | help | been a long day, not sure how I missed that one :confused: | 2017-09-11T12:51:23.000167 | Otha | pythondev_help_Otha_2017-09-11T12:51:23.000167 | 1,505,134,283.000167 | 93,189 |
pythondev | help | don't forget to use `self` too | 2017-09-11T12:51:28.000227 | Meg | pythondev_help_Meg_2017-09-11T12:51:28.000227 | 1,505,134,288.000227 | 93,190 |
pythondev | help | when accessing the properties | 2017-09-11T12:51:36.000117 | Meg | pythondev_help_Meg_2017-09-11T12:51:36.000117 | 1,505,134,296.000117 | 93,191 |
pythondev | help | having said that, I want ALL instances of my class to have these defaults | 2017-09-11T12:51:39.000353 | Otha | pythondev_help_Otha_2017-09-11T12:51:39.000353 | 1,505,134,299.000353 | 93,192 |
pythondev | help | one of my first brain farts with python, coming from java :slightly_smiling_face: | 2017-09-11T12:51:50.000085 | Meg | pythondev_help_Meg_2017-09-11T12:51:50.000085 | 1,505,134,310.000085 | 93,193 |
pythondev | help | buyt I suppose the __init__ will do that | 2017-09-11T12:51:58.000431 | Otha | pythondev_help_Otha_2017-09-11T12:51:58.000431 | 1,505,134,318.000431 | 93,194 |
pythondev | help | ```
class MyClass
def __init__(self):
self._myvar1 = None
@property
def myvar1(self):
return self._myvar1
@myvar1.setter
def myvar1(self, value):
self._myvar1 = value * pi # or whatever
``` | 2017-09-11T12:52:02.000720 | Beula | pythondev_help_Beula_2017-09-11T12:52:02.000720 | 1,505,134,322.00072 | 93,195 |
pythondev | help | do I need to decorate the setters ? | 2017-09-11T12:52:23.000712 | Otha | pythondev_help_Otha_2017-09-11T12:52:23.000712 | 1,505,134,343.000712 | 93,196 |
pythondev | help | never had to do that before? | 2017-09-11T12:52:27.000655 | Otha | pythondev_help_Otha_2017-09-11T12:52:27.000655 | 1,505,134,347.000655 | 93,197 |
pythondev | help | In python it's not idiomatic to use "set_value" and "get_value" as it would be in Java | 2017-09-11T12:53:00.000418 | Beula | pythondev_help_Beula_2017-09-11T12:53:00.000418 | 1,505,134,380.000418 | 93,198 |
pythondev | help | Properties are what you do that for | 2017-09-11T12:53:07.000204 | Beula | pythondev_help_Beula_2017-09-11T12:53:07.000204 | 1,505,134,387.000204 | 93,199 |
pythondev | help | so why are some of my class variables changing as I require them too | 2017-09-11T12:53:29.000480 | Otha | pythondev_help_Otha_2017-09-11T12:53:29.000480 | 1,505,134,409.00048 | 93,200 |
pythondev | help | and others reverting to default? | 2017-09-11T12:53:34.000419 | Otha | pythondev_help_Otha_2017-09-11T12:53:34.000419 | 1,505,134,414.000419 | 93,201 |
pythondev | help | That is a bit weird | 2017-09-11T12:53:54.000067 | Beula | pythondev_help_Beula_2017-09-11T12:53:54.000067 | 1,505,134,434.000067 | 93,202 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.