-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intro to the project + rename helper.js to utils.js #336
Comments
I changed the file name. Is it what you expected? |
nope, i send you my comments |
updated all the modules( under src/project) which uses helper.js file |
did you push that changes via pull request? |
i don't see your changes here: #339 |
Sorry! Yeah now I pushed all the changes via pull request
…On Sat, Apr 13, 2019 at 6:52 AM Arthur Tkachenko ***@***.***> wrote:
i don't see your changes here: #339
<#339>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#336 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APgcs31_a8A9wsphCtu5NIQMRzNmEEDjks5vgeEAgaJpZM4ckMHN>
.
|
no problems. awesome progress, btw |
Yes, we can move forward.
Thanks,
Benitha
…On Sun, Apr 14, 2019 at 2:31 AM Arthur Tkachenko ***@***.***> wrote:
no problems. awesome progress, btw
Ok, so looks like this task is done, can you confirm that it works well
and we can move forward?
Btw, i saw that you saw few of my @todos <https://github.com/todos> - you
update them. Maybe you can deal with that simple tasks too?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#336 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APgcsx_QIHdj2L7IukwCwWzWPrYfxnA8ks5vgvWCgaJpZM4ckMHN>
.
|
cool. then please deal with todos that you've changed |
here when i saw it: 44d1f30 |
Can I use crypto module to generate random IDs?
…On Mon, Apr 15, 2019 at 10:12 AM ***@***.***> wrote:
Sure. Will work on it.
Sent from my iPhone
On Apr 15, 2019, at 4:22 AM, Arthur Tkachenko ***@***.***>
wrote:
here when i saw it: 44d1f30
<44d1f30>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#336 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APgcs8h19Tyl6ubrqieKJhneiemPr4Peks5vhGD8gaJpZM4ckMHN>
.
|
Please ignore the above question.
…On Thu, Apr 18, 2019 at 12:32 PM Benitha .D ***@***.***> wrote:
Can I use crypto module to generate random IDs?
On Mon, Apr 15, 2019 at 10:12 AM ***@***.***> wrote:
> Sure. Will work on it.
>
> Sent from my iPhone
>
> On Apr 15, 2019, at 4:22 AM, Arthur Tkachenko ***@***.***>
> wrote:
>
> here when i saw it: 44d1f30
> <44d1f30>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#336 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/APgcs8h19Tyl6ubrqieKJhneiemPr4Peks5vhGD8gaJpZM4ckMHN>
> .
>
>
|
const utils = require('./utils');
const getFiveRandomId = function () {
return [
utils. __generateId(),
utils.__generateId(),
utils.__generateId(),
utils.__generateId(),
utils.__generateId()
]
}
var result = getFiveRandomId();
console.log(result);
is this what you expected? looks like it is done already.
…On Thu, Apr 18, 2019 at 4:02 PM Benitha .D ***@***.***> wrote:
Please ignore the above question.
On Thu, Apr 18, 2019 at 12:32 PM Benitha .D ***@***.***> wrote:
> Can I use crypto module to generate random IDs?
>
> On Mon, Apr 15, 2019 at 10:12 AM ***@***.***> wrote:
>
>> Sure. Will work on it.
>>
>> Sent from my iPhone
>>
>> On Apr 15, 2019, at 4:22 AM, Arthur Tkachenko ***@***.***>
>> wrote:
>>
>> here when i saw it: 44d1f30
>> <44d1f30>
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#336 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/APgcs8h19Tyl6ubrqieKJhneiemPr4Peks5vhGD8gaJpZM4ckMHN>
>> .
>>
>>
|
maybe it works, but i still think that this current approach is not ideal. i think by combining some lodash method with |
I have added the lodash method to generate unique ID
…On Fri, Apr 19, 2019 at 2:18 AM Arthur Tkachenko ***@***.***> wrote:
maybe it works, but i still think that this current approach is not ideal.
i think by combining some lodash method with generateId we can make it
better
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#336 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD4BZM7LNCM4CHAC7F74BZTPRGE5LANCNFSM4HEQYHGQ>
.
|
yeah, take alook at this comment: #354 (comment) |
Yes, it’s possible to generate Id using lodash. But, I think the generated Id’s will look like auto increment key values. Is that what we want?
…Sent from my iPhone
On Apr 22, 2019, at 3:11 AM, Arthur Tkachenko ***@***.***> wrote:
yeah, take alook at this comment: #354 (comment)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@vadim9999 please jump here too. |
I think generate Id using lodash is for simple task and easy to check what is relationship beetwen objects. uuidv is for more complex task. I think it more secure. Hacker should know this randomly generated id with characters and numbers. Also max value of number is limited but what he will do when max limit will be reach? In simple DB like Hello Wrld I used just increment numbers but it should be unique. Key is like a cipher to identify user. Here we are using objects |
You need to read readme file: https://github.com/GroceriStar/groceristar-fetch/blob/master/README.md
it also contains links to articles, where I explaining some details. If something will be not clear - don't hesitate and ask questions.
Tasks, that you can take(feel free to ask clarification if something is not clear)
note it's not that easy as it can look like. take time and pay attention.
@Beni03
The text was updated successfully, but these errors were encountered: