Posts

Showing posts from January 20, 2019

how to create a while true loop? [duplicate]

Image
-2 This question already has an answer here: Asking the user for input until they give a valid response 17 answers let me start off by saying, that i am a BEGINNER to coding. i use python 3.4.GUI. so i've got this code: register = input("have you registered an account?") if register == "yes": print("you may proceed to log in") if register == "no": print("please, create an account") else: print("that is not a valid answer") how to i create a while true loop on this so that if the user enters anything other than "yes" or "no", they get taken back to the start? thanks! ...

Sils im Engadin/Segl

Image
Coordenadas: 46° 26' N 9° 46' E Suíça Sils im Engadin/Segl Sils Baselgia. Ao fundo, a igreja ( baselgia em romanche) de San Lorenz. Cantão Grisões Distrito distrito de Maloja Língua(s) oficial(is) Romanche e alemão Coordenadas 46° 26' N 9° 46' E Altitude 1.802 m n.m.m. Área 63,54 km² População  (2010)  - Densidade 752 hab. 12 hab/km² Fracções Fex-Curtins, Plaun da Lej, Sils/Segl Baselgia, Sils/Segl Maria Fronteiras Bivio, Chiesa in Valmalenco (IT-SO), Lanzada (IT-SO), Samedan, Silvaplana, Stampa Código postal 7514 Website www.sils-segl.ch Sils im Engadin/Segl (em alemão: Sils im Engadin ; em romanche, ?  Segl ) é uma comuna da Suíça, situada no distrito de Maloja, Cantão dos Grisões. Com cerca de 712 habitantes, a comuna estende-se por uma área de 63,54 km², de densidade populacional de 11 hab/km². Confina com as seguintes comunas: Bivio, Chiesa in Valmalenco (IT-SO),...

Best practices for developing an application with Neo4J

Image
0 I recently came across an application which uses NEO4j as the backend. In my experience with SQL and other Key-value based databases, I have developed an understanding(which could be refined) that other databases store data and your application derives the information while with NEO4J you store the information. This means that the logic of deriving the information is already captured in the model of NEO4J. I am not able to get my head around this because now I cannot have logic that can be composed and most importantly something that can be tested with unit tests. I can sure have component level tests using embedded neo4j but then that's not the same. Can someone please help me understand the application development philosophy/methodology with NEO4J. neo4j ...