Tooling is important, try digging with bare hands, then use a shovel and then run a modern digging machine. Notice the difference? Tooling in web development is key and some tools have become industry standard.
Continue ReadingA Byte is a number between 0 and 255, represented as between 0 and FF in hexadecimal. There are more than 256 characters in the world, so you cannot represent each of them with only 1 byte. A combination of 2 bytes could represent up to 65.536 characters. A combination of 4 bytes could represent more than 4 billion characters.
Continue ReadingBy default, JS executes code line by line in a synchronous way. While doing so, the page is unresponsive. We don't notice it because its usually very fast. Some specific tasks take a long time to execute, but we cannot afford blocking the page. How to solve this?
Continue ReadingTypescript improves Javascript in specific areas. Team collaboration is easier, the code is more robust and the IDE can catch errors before run-time. This improves code-review and developer productivity. Typescript gets transpiled to Javascript at build time, as the browser only understands Javascript.
Continue ReadingAs a lawyer you are dependant to other lawyers. What's the best way to find a good lawyer to work with?
Continue ReadingWhen you put payment on your site, you know that things get serious. Payment means you have something users are willing to pay. Payment is a barrier so you need to convince the user that it's worth it. If you provide a service that no else provide for free, then you can hope to sell it. The price is linked to the value of the service or the good.
Continue ReadingIcons create a better user experience. They must be simple and not distracting. They make the page more attractive than text-only pages. They must be carefully selected as they convey the personality of the website.
Continue ReadingCreating a website is like creating a product: you must know what problem you are solving, and you must think of a good design. You also face specific challenges related to the web platform.
Continue ReadingWhat are forms? Why are they used? How can a form be useful for the user and the recipient?
Continue ReadingServer configuration, maintenance, and administration. Database, authentication, hosting, analytics, data caching, scaling. You don't want to implement it from scratch. Google offers a robust and advanced service called Firebase. It serves as Backend as a service (BaaS).
Continue ReadingThe designer must centralize the data into the cloud, preserve the data integrity, and protect confidential data from unauthorized access.
Continue ReadingUI Elements have a default style but can be improved.
Continue ReadingUI layout defines the general structure of the document. It is laid out by the browser through following many different rules that can be customized.
Continue ReadingIl n'y a pas de classe en javascript. Il n'y a que des objets et des fonctions. Si l'on veut que plusieurs objets partagent des fonctionnalités communes, le seul moyen possible est de définir ces fonctionnalités communes dans un objet, et que cet objet soit référencé par tous les objets intéressés d'y accéder. Cet objet partagé est appelé un prototype.
Continue ReadingAn app shows data to the user through the User Interface (UI). When the data changes, the app must update the UI accordingly.
Continue ReadingToday I attended the first lecture at the EFB. The speakers said the first internship has to take place in a company, or in a foreign country law firm. The second internship has to take place in a french law firm. One internship is supposed to last 6 months but can be split into 2 smaller internships.
Continue ReadingI've always owned Apple computers. In 2013, I felt the need to write a small program to help me learn some Chinese vocabulary and to keep track of my progress. I happened to have some very elementary knowledge of C++, so I wrote a small command-line executable. You would open the program in the Terminal and interact with it in a fairly simple way.
Continue ReadingThe CRFPA is the key to become a lawyer in France. After 2 years in the making, I finally succeeded the CRFPA Exam. I passed both the written and oral exam this Fall 2019. As this big step is now done, let's review how it happened and what's next.
Continue ReadingThe browser comes with default text styling. The default styling feels bland and amateurish. To create a pleasant user experience and attract the eye of the reader, you must customize and improve the styling.
Continue Reading我十八岁的生日礼物是跟妈妈去上海旅行,参观上海世界博览会。2010年夏天去了上海。我们住在“seagul on the bund“位于外滩的宾馆。
Continue ReadingIf a number cannot be divided into equal parts (other than parts of 1), then it's a prime number. Let's take two prime numbers, 97 and 103. It's relatively easy to verify that they are prime. By doing a primality test, we can determine that 97 and 103 are primes in a polynomial time, which means the complexity is limited. The product, 9991, is extremely easy to compute (97 * 103).
Continue Reading景山(jing3shan1)公园的一个清晨(qing1chen2)。2015年 八月 四号。四年以前。到北京,有时差。
Continue ReadingMost of us just consume content on the Web, or through other ways. We read news, we watch videos on youtube, we read comments, we sometimes play some games, we listen to some music. TLDR: we consume a LOT of content everyday. But the experience is a bit limited: we only consume what other people have produced.
Continue ReadingGetting a healthy lifestyle is a permanent endeavour that involves planning and knowledge, but mostly common sense. Yet, it's worth looking at the subject and sorting things out.
Continue Reading这帖子是为了表现我能写中文的文章。你们最近怎么样?你们觉得这网站好看吗?我希望你喜欢。这帖子挺短的。不好意思。我真的不知道写什么。这张照片是在香港拍的。是那个大学的屋顶上的那个小花园。去那里挺有意思。留了好纪念。
Continue ReadingIntuition is like an inner feeling that your brain gives you about something. You can either ignore it or listen to it. Sometimes we have a "bad feeling" about something. Or sometimes we don't want to do something because we have the feeling that it will be wasted time.
Continue Reading