logo

@antoineweber 🛫

A blog about what I find out... Also a good excuse to practice my skills.


UTF-8

- November 11, 2020Web Dev

A 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 Reading

Asynchronous Javascript

- October 3, 2020Web Dev

By 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 Reading

TypeScript

- July 24, 2020Web Dev

Typescript 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 Reading

Solving a Real Life Problem

- July 22, 2020Random

As a lawyer you are dependant to other lawyers. What's the best way to find a good lawyer to work with?

Continue Reading

Payments with Stripe

- July 15, 2020Web Dev

When 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 Reading

Icons

- July 13, 2020Web Dev

Icons 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 Reading

Web Development Challenges

- July 6, 2020Web Dev

Creating 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 Reading

Forms

- July 1, 2020Web Dev

What are forms? Why are they used? How can a form be useful for the user and the recipient?

Continue Reading

Backend as a Service: Firebase

- June 9, 2020Web Dev

Server 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 Reading

Data

- June 4, 2020Web Dev

The designer must centralize the data into the cloud, preserve the data integrity, and protect confidential data from unauthorized access.

Continue Reading

Web UI Elements Styling

- May 30, 2020Web Dev

UI Elements have a default style but can be improved.

Continue Reading

Web UI Layout Basics

- May 20, 2020Web Dev

UI 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 Reading

Javascript Inner Workings

- May 8, 2020Web Dev

Il 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 Reading

The Declarative Approach - React Updates the UI

- April 11, 2020Web Dev

An app shows data to the user through the User Interface (UI). When the data changes, the app must update the UI accordingly.

Continue Reading

A first day at the EFB

- January 10, 2020Random

Today 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 Reading

My instable path in the iOS Development world

- January 8, 2020Random

I'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 Reading

I Succeeded The CRFPA

- December 5, 2019Random

The 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 Reading

Web UI Text Styling Basics

- November 12, 2019Web Dev

The 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

我的第一次中国旅行

- September 10, 2019Random

我十八岁的生日礼物是跟妈妈去上海旅行,参观上海世界博览会。2010年夏天去了上海。我们住在“seagul on the bund“位于外滩的宾馆。

Continue Reading

Prime Numbers

- September 1, 2019Random

If 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

景山公园的一个清晨

- August 16, 2019Random

景山(jing3shan1)公园的一个清晨(qing1chen2)。2015年 八月 四号。四年以前。到北京,有时差。

Continue Reading

From Content Consumer to Content Creator

- June 7, 2019Lifestyle

Most 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 Reading

Healthy Life Basics

- June 7, 2019Lifestyle

Getting 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

这是中文的题目

- June 2, 2019Random

这帖子是为了表现我能写中文的文章。你们最近怎么样?你们觉得这网站好看吗?我希望你喜欢。这帖子挺短的。不好意思。我真的不知道写什么。这张照片是在香港拍的。是那个大学的屋顶上的那个小花园。去那里挺有意思。留了好纪念。

Continue Reading

Listen to your Intuition

- June 1, 2019Lifestyle

Intuition 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

I like Seoul, here's why

- May 28, 2019Travel

Because it's nice, and looks sleek.

Continue Reading