Dr Clèm's Blog


Friday Oct 20, 2017 10:55

Welcome on my blog. I decided to create this website to have a place to express myself. I write it from scratch to learn web-development. You can find a quick presentation on the right panel or bellow, depending on the size of your screen and your window, and my Mastodon feed bellow. On the footer, you can find some of my other websites, my profile on few social medias, the contact information, and legal notice. The only tab, so far, on the navigation bar is my Ph.D. thesis. I use PHP to develop this website. The latter is served exclusively through HTTPS, with strong encryption if your device support it and medium encryption for older devices, like Android smartphone as they don't received update, even for critical security issues. The web-server is Apache HTTP Server, using protocol HTTP/2. The template is a reproduction of La France Insoumise's website but using W3.CSS for styling instead of Bootstrap as it is smaller, faster, and easier to use.

Dr Clément Février

Bonjour, Je suis Clément Février, docteur en physique théorique de l’université de Grenoble Alpes, ingénieur Recherche et Développement dans le domaine de l’imagerie médicale et de la chirurgie mini-invasive chez Surgivisio et soutien du mouvement La France Insoumise.

Dites les velotaffeur, vous avez entendu parler d'un casque qui a un feu avant, un feu arrière et des clignotants sur les cotés / avant arrière ? (Enfin un simple bandeau led de chaque coté se gère hein)
Genre un truc pour que les voitures voient qu'on tourne à droite ou gauche sans qu'on ai besoin de tendre le bras ?

Parce que bon, j'ai testé ce soir, passer sur les marquages au sol + les rails du tramway avec un bras levé sous la pluie, niveau stabilité on repassera ^^'

J'arrive pas à trouver :/ et les solutions existantes de clignotants sont seulement pour l'arrière

Si le coeur vous en dit vous pouvez partager ;)

#velotaff #boostappréciés :)

The only thing that really matter is, at the end of the day, to choose the correct method automatically without conditional statement at runtime. I really wonder is a workaround is possible.
I already tried to add "std::tuple< d1*, d2 > b_tuple" to class b, using some forward declaration, but, of course, std::get< i >(b_tuple) cannot compile since it will be known at runtime only.

But I allow complete refactoring code, even the b and d1 & d2. Templates, new classes and sub classes and even are fine (I already put 100-lines define to add iterator to enum and another one to allow enum inheritance, and my coworkers begin to hate me ^^)
For example, method "create" can become a class, or class b can be construct using a macro to make somehow the base class aware of derived ones
BASE(b, ...) std::tuple< __VA_ARGS__ > g_ ## b; class b