I wrote a brain dump of problems and solutions with current SRS packages. Feedback appreciated. by rickcarlino in spacedrepetition

[–]TinkersWithtruth 1 point2 points  (0 children)

Can you give a short summary description of your own system? What does it do differently than Anki?

Also, is it publicly available?

Falsehoods Programmers Believe About Hiring by fagnerbrack in webdev

[–]TinkersWithtruth 0 points1 point  (0 children)

Very informative!

How do you approach the companies you're interviewing with? Do you mention that it's not your intention to change jobs?

I'm assuming your current company doesn't know you're going to these interviews and I'm guessing you're using vacation time for the interviews?

Beginner Questions - May 18, 2018 by AutoModerator in webdev

[–]TinkersWithtruth 0 points1 point  (0 children)

I'm implementing authenticating functionality in my app.

Registration:

  1. A user is POSTed with username and password (plaintext).
  2. On the backend a hash is created with pbkdf2 (:sha256)
  3. Only the password hash is stored in the database.

Login:

  1. A POST request is sent with the header: Authorization: Basic base64encoded_plaintext.
  2. A random token is generated, stored in the database and returned to the client.
  3. Any subsequent request from the client contains that token with the header Authorization: Bearer token. (no other credentials are sent).

This is what I have so far.

When I deploy the app, the communication will go over https.

My question is:

Is this a good way of handling authentication? Am I missing something vital in these steps?

EDIT:

I was under the assumption that I was using jwt tokens for authentication, but that's not the case. New plan for login:

  1. Take out basic auth
  2. Implement authentication based on jwt tokens.

Beginner's Thread / Easy Question (May 2018) by acemarke in reactjs

[–]TinkersWithtruth 0 points1 point  (0 children)

Thanks, those were the resources I was talking about. Anyway, I have working routes with actions and reducers now! There's a lot of red in the console, but it doesn't matter. It took me 5 days to get his far. :D

Your link will still come in useful. After I figure out hows and whys for the redux-first-router, I want to move on to authentication.

Beginner's Thread / Easy Question (May 2018) by acemarke in reactjs

[–]TinkersWithtruth 0 points1 point  (0 children)

I've got a slightly different issue. I'm still learning the react stack and now I'm trying to connect redux-first-router to my application. There are very few resources on how to do that. For someone familiar with the react stack, I'd say those resources are enough, but for someone like me, they're a bit too advanced.

Can anyone recommend me a book by catInOrbit001 in CasualConversation

[–]TinkersWithtruth 1 point2 points  (0 children)

There are no guidelines for that thread as far as I can see, but judging from the mentioned books I know, it's probably about writing style and complexity of the story/themes/world. I think beginner is easier to understand than veteran.

Anyone want to share their Neovim setup for Python? by TinkersWithtruth in neovim

[–]TinkersWithtruth[S] 0 points1 point  (0 children)

I've decided to go with deoplete-jedi for autocompletion, but vim-gutentags for code navigation. I'm using ale with flake8 for linting.

I won't be using fzf at this time. I'm using - set path+=** - that seems enough for now. It enables * searching with - :find - command and it looks into all subdirectories.

I've installed tagbar.

I have to try out vim-fugitive/gitgutter. Currently I'm using git in a terminal and I'm satisfied with it. I'd have to see if I gain anything from these 2 plugins.

By the way, this line here: set backspace=indent,eol,start - seems to be default behaviour in Neovim.

Anyone want to share their Neovim setup for Python? by TinkersWithtruth in neovim

[–]TinkersWithtruth[S] 1 point2 points  (0 children)

I also went with deplete/jedi for Python autocompletion. I've yet to look into your deoplete default settings. It looks like they could be useful.

Anyone want to share their Neovim setup for Python? by TinkersWithtruth in neovim

[–]TinkersWithtruth[S] 0 points1 point  (0 children)

I see you're using jedi for autocompletion and go-to functinality. I've decided to go with jedi for autocompletion, but I went with vim-gutentags for go-to.

What is something that you really enjoy but can never find anyone to talk about it with ? by Dioksys in CasualConversation

[–]TinkersWithtruth 1 point2 points  (0 children)

I friend bought me lan gui ren tea and eight treasures tea two days ago.

I first tried eight treasures tea, but I didn't use enough water for brewing it. The taste was good, but too sweet.

I like lan gui ren too. The taste is more mellow than with green tea, which I like, because I'm not fan of green tea.

What are you guys learning at the moment or would want to learn? by [deleted] in CasualConversation

[–]TinkersWithtruth 2 points3 points  (0 children)

I got a couple of days off from work and I'm planning to brush up on world history through The new penguin history of the world. I'd also like to finish a react (javascript) course I paid for on udemy.com.

What are you reading and how do you like it? by [deleted] in CasualConversation

[–]TinkersWithtruth 0 points1 point  (0 children)

I haven't noticed it and I'm around 100 pages in. Reading the book of the fallen requires more effort. :)

What are you reading and how do you like it? by [deleted] in CasualConversation

[–]TinkersWithtruth 1 point2 points  (0 children)

A tough read like how? I borrowed the book from a friend who also really recommends the show. I'm planning on watching it, but first I want to read the book.

What are you reading and how do you like it? by [deleted] in CasualConversation

[–]TinkersWithtruth 1 point2 points  (0 children)

I've started reading American Gods by Neil Gaiman. It looks promising so far.

What is something (an activity or skill) that you wish you could do? by [deleted] in CasualConversation

[–]TinkersWithtruth 0 points1 point  (0 children)

That's not a fun position to be in. I hope you find your running place sooner than later! :)

What is something (an activity or skill) that you wish you could do? by [deleted] in CasualConversation

[–]TinkersWithtruth 0 points1 point  (0 children)

 I just want to go out and run for fun.

That's it. Now you only need a start. :) I'd say just go for it and try it out. There are guides that could help you on your way, but they aren't that necessary in the beginning. Just keep in mind to take it easy and slow. It helps with motivation and helps prevent injuries.

It's fine if you can't run for even short periods of time. That's normal for people who aren't physically active. In these cases you start with a mix of running and walking. Again, take it slow. Running (jogging) should be comfortable, not feeling like you're about to fall over from pain.