biarity
Re:Show HN: Lipreading with Deep Learning
on Saturday October 20, 2018 @05:28PM (#18265585)
We're getting there!
Re:Look for the duct tape
on Saturday March 24, 2018 @03:36PM (#16668429)
Don't any of the langauges you support have options to keep all dependencies up to date? Eg. By putting wildcards in version numbers
At what point do passwords become impractical?
Re:A todo list for new ASP.NET Core projects
on Thursday February 08, 2018 @04:37AM (#16331135)
I think your method is much cleaner actually. Just updated :)!
Re:A todo list for new ASP.NET Core projects
on Thursday February 08, 2018 @04:08AM (#16331039)
I agree! I find this especially useful when I have to set things like a UserId associated with an entity or with more complex entities where some data comes from injected services. I know you can create a service that handles creating the entity as an abstraction, but that gets repetitive and adds complexity in large projects. I might actually add this my article :)!
Re:A todo list for new ASP.NET Core projects
on Thursday February 08, 2018 @03:38AM (#16330951)
I myself really dislike that piece of code (searching in exception strings isn't secure for many reasons, for example someone could use this to reverse-engineer information about my database). But the only alternative that comes to mind is to check if an entity exists before attempting to create it - which I don't like because it leads to repetitive code in large projects (and I might forget to write checks). Any other ideas?
Re:A todo list for new ASP.NET Core projects
on Thursday February 08, 2018 @03:14AM (#16330891)
Yes, that is the usual way of doing it. However, the point of this post was to showcase some ways of reducing duplicate code in large projects. Doing it normally (by checking if the entity already exists) can get repetitive if you have many controllers/entities. If you know of a better way of doing this, I'd be happy to update my article :)
Re:A todo list for new ASP.NET Core projects
on Thursday February 08, 2018 @03:02AM (#16330859)
I know, I just couldn't find a cross-db solution since I can't seem to find any standardized error codes in the exception. Do you know of a better way of doing this?
Re:A todo list for new ASP.NET Core projects
on Thursday February 08, 2018 @02:06AM (#16330719)
Well the server was going to return an error anyways, instead of checking if the entity exists then trying to create it, you just go ahead and try to create it. This way if the entity doesn't exist then you've saved a trip to the database. Otherwise you return the same error. And given the server is a black box, how would you "interrupt execution"?
A todo list for new ASP.NET Core projects
Show HN: Sort/filter/paginate framework for ASP.NET Core
Re:Cierge – passwordless authentication
on Friday January 12, 2018 @07:40PM (#16137551)
Cierge also uses magic links, making the code invisible to keyloggers. You can configure it to use magic links exclusively.
Re:Cierge – passwordless authentication
on Friday January 12, 2018 @05:23PM (#16136869)
Wouldn't that also present an issue with usual password logins?
Re:Cierge – passwordless authentication
on Friday January 12, 2018 @05:18PM (#16136835)
Cierge is stateless so it doesn't matter if you have 100 login tabs open, it'll always work - and once the code is entered it is automatically invalidated.
Re:Cierge – passwordless authentication
on Friday January 12, 2018 @05:11PM (#16136780)
Cierge is an OpenID Connect sever (which is based on OAuth 2), so your website would interact with it just as it would with non-passwordless solutions.
Re:Cierge – Email-based passwordless authentication service
on Monday January 08, 2018 @10:40PM (#16103421)
Hi there! Cierge is an OpenID Connect server that handles user signup, login, profiles, management, social logins, and more. Instead of storing passwords, Cirege uses magic links/codes and external logins to authenticate your users.
You can find a good list of FAQs on our our GitHub page or try a demo here: https://cierge.azurewebsites.net
Cierge – Email-based passwordless authentication service
Re:Show HN: Easy magic-link authentication – Cierge
on Thursday January 04, 2018 @06:24AM (#16069498)
Sadly nothing out of the box for AD. However, Cierge uses OpenIddict, so this might be helpful: https://stackoverflow.com/questions/38470683/is-it-possible-...
Re:Show HN: Easy magic-link authentication – Cierge
on Thursday January 04, 2018 @06:11AM (#16069432)
Hi there! Cierge is an OpenID Connect server that handles user signup, login, profiles, management, social logins, and more. Instead of storing passwords, Cirege uses magic links/codes and external logins to authenticate your users.
You can find a good list of FAQs on our our GitHub page or try a demo here: https://cierge.azurewebsites.net