Posts

ASP.NET Core Web API how to temporary save verified phone number

Image
1 I have an asp.net core web api application with asp.net core identify. In my registration page I have to verify user phone number. In order to do this, I am using twilio which is great. My registration page is built as a wizard. In the second step the user verifies his phone and only in the end of the wizard, a request is made to create the user. My problem is that the twilio code verification can not be used twice. So if I am using it in the second step I can't use it again for the real create request. I need a way to assign this phone number to the user before the registration request occuers. Session could have been great if it was not a web api . I thought about creating a security token with the user verified phone number . This token will be attached to the create request and will have an expiration date. When the user will verified his phone in the second phase the server will return a token with phone and expiration to the client . This will be send along wi...

Erlös

Image
Abgrenzung der Grundbegriffe des betriebswirtschaftlichen Rechnungswesens hinsichtlich des Gesamtvermögens, des betriebsnotwendigen Vermögens, des Geldvermögens und der Kasse. [1] Erlös (auch Erlöse oder Umsatz ) ist in der Wirtschaftswissenschaft der Gegenwert, der einem Unternehmen in Form von Zahlungsmitteln oder Forderungen durch den Verkauf von Produkten, Erzeugnissen oder Dienstleistungen sowie aus Vermietung oder Verpachtung zufließt. Beim Erlös (Bruttoerlös, Umsatz) sind noch keine Kosten (Material-, Personalkosten usw.) abgezogen, beim Nettoerlös nur die mit dem Verkauf zusammenhängenden Erlösminderungen (Rabatte usw.). Erlöse sind die wertmäßige Erfassung der betrieblichen und nicht-betrieblichen (neutralen) Tätigkeit eines einzelnen Unternehmens, einer Firmengruppe, wie auch in der gesamtwirtschaftlichen Rechnung einer Branche. Inhaltsverzeichnis 1 Erlös im Rechnungswesen 1.1 Brutto-, Netto- ...

Concurrent Rehashing. What is “rehashed segment” in multilevel rehashing?

Image
0 Looking for an algorithm for implementing concurrent hash tables that don't rehash the entire table each time it needs to resize it I found the following paper: Per-bucket concurrent rehashing algorithms The "Multilevel rehashing" concept got my attention. The paper says: 2.3 Multilevel rehashing The drawbacks of recursive hashing may be addressed by extending buckets with a more complex control field that indicates the number of segments rehashed. So, any operation accessing an "old" bucket can detect whether rehashing is necessary and move the data directly into all the new buckets available at once as shown in Figure 3. Nevertheless, recursive rehashing may be a better choice when resizing is a rare event and there is no space for additional field in the bucket. But I don't get it. What are rehashed segments ? The paper later says: For multilevel rehashing, this check is trivial using information about rehashed segments stored ...