This commit is contained in:
2026-09-07 00:47:32 +02:00
parent 2eced36997
commit c994bf283a
88 changed files with 3018 additions and 587 deletions
-12
View File
@@ -1,12 +0,0 @@
+++
title = "About"
template = "about.html"
date = "2010-01-01"
[taxonomies]
type = ["page"]
+++
# About
todo
-6
View File
@@ -1,6 +0,0 @@
+++
title = "discord bot"
+++
# todo
everything
-9
View File
@@ -1,9 +0,0 @@
+++
title = "todo"
+++
Compare k8s go performance on a 1 cpu when specifying the
env variable GOMAXPROCS and GOMAXMEMORY (or something like that)
using limits.cpu and limits.memory.
Should be night and day.
-7
View File
@@ -1,7 +0,0 @@
+++
title = "configure endeavouros"
+++
All configs, files to edit for commong things like
configure volume change, keyboard, luminosity change, mouse / trackpad behaviour, etc.
+73
View File
@@ -0,0 +1,73 @@
+++
title = "Brice Bernard - Books"
template = "singlepage.html"
date = "2010-01-01"
[taxonomies]
type = ["page"]
+++
<div class="main">
<section class="best year section">
<h1 class="subtitle">My favorite books</h1>
<div class="entry">
<!-- {% set image = resize_image(path="/static/books/remembrance.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="remembrance of eath's past - three body problem" />
<div>
<h2><a href="https://literal.club/book/cixin-liu-remembrance-of-earths-past-05a69" target="_blank">Remembrance of Earth's Past</a></h2>
<div class="meta">
<p class="author">Liu Cixin</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2008</p>
<p>Science-Fiction</p>
<p>Epic</p>
<p>Grandiose</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>After a spate of apparent suicides among elite scientists, Beijing police ask nanotech engineer Wang Miao to infiltrate a secretive cabal that styles itself the Frontiers of Science. During the course of his investigation, Wang is inducted into a mysterious online game that immerses him in a virtual world ruled by the intractable and unpredictable interaction of its three suns. This is the Three-Body Problem and it is the key to everything. The key to humanity's place in the cosmos and the key to the extinction-level threat it now faces.</i></p>
</div>
</div>
</div>
<div class="entry">
<!-- {% set image = resize_image(path="/static/books/tapischeveux.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="the carpet makers" />
<div>
<h2><a href="https://literal.club/book/the-carpet-makers-3qdyg" target="_blank">The Carpet Makers</a></h2>
<div class="meta">
<p class="author">Andrea Eschbach</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2013</p>
<p>Science-Fiction</p>
<p>Adventure</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>Since the time of pre-history, carpetmakers tie intricate knots to form carpets for the court of the Emperor. These carpets are made from the hairs of wives and daughters; they are so detailed and fragile that each carpetmaker finishes only one single carpet in his entire lifetime. This art descends from father to son, since the beginning of time itself. But one day the empire of the God Emperor vanishes, and strangers begin to arrive from the stars to follow the trace of the hair carpets. What these strangers discover is beyond all belief, more than anything they could have ever imagined...</i></p>
</div>
</div>
</div>
<div class="entry">
<!-- {% set image = resize_image(path="/static/books/thestand.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="the stand" />
<div>
<h2><a href="https://literal.club/book/stephen-king-the-stand-yumjf" target="_blank">The Stand</a></h2>
<div class="meta">
<p class="author">Stephen King</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>1978</p>
<p>Post-Apocalyptic</p>
<p>Dark Fantasy</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>First came the days of the plague. Then came the dreams. Dark dreams that warned of the coming of the dark man. The apostate of death, his worn-down boot heels tramping the night roads. The warlord of the charnel house and Prince of Evil. His time is at hand. His empire grows in the west and the Apocalypse looms.</i></p>
</div>
</div>
</div>
</section>
</div>
+17 -8
View File
@@ -1,15 +1,24 @@
+++
title = "Contact"
template = "about.html"
title = "Brice Bernard - Contact"
template = "singlepage.html"
date = "2010-01-01"
[taxonomies]
type = ["page"]
+++
# Contact
You can contact me on:
- [git](https://git.bricebernard.dev/mimu)
- by email: <span class="contact">bricecontact</span><span class="contact-middle">[at]</span><span class="contact">fastmail.com</span>
<div class="main">
<p class="subtitle">contact</p>
<p>Happy to discuss software, books, movies or almost anything.</p>
<p>Available for interesting missions and ambitious projects.</p>
<p>I'm not on any social media but you can email me at <a href="mailto:bricecontact@fastmail.com">bricecontact@fastmail.com</a>.</p>
<div class="elsewhere">
<p class="subtitle">elsewhere</p>
<div class="links">
<a href="https://git.bricebernard.dev/Mimu" target="_blank" rel="noopener noreferrer">Gitea</a><br>
<a href="https://www.linkedin.com/in/brice-bernard-05130518/" target="_blank" rel="noopener noreferrer">Linkedin</a><br>
<a href="https://letterboxd.com/Mimuuu/" target="_blank" rel="noopener noreferrer">Letterboxd</a><br>
<a href="https://literal.club/mimuuu" target="_blank" rel="noopener noreferrer">Literal</a><br>
</div>
</div>
</div>
+179
View File
@@ -0,0 +1,179 @@
+++
title = "Brice Bernard - Films"
template = "singlepage.html"
date = "2010-01-01"
[taxonomies]
type = ["page"]
+++
<div class="main">
<section class="best year section">
<h1 class="subtitle">Best films I've seen in 2026</h1>
<div class="entry">
<!-- {% set image = resize_image(path="/static/movies/cestcalamour.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="c'est ca l'amour" />
<div>
<h2><a href="https://letterboxd.com/film/real-love/" target="_blank">C'est ça l'amour</a></h2>
<div class="meta">
<p class="author">Claire Burger</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2018</p>
<p>Drama</p>
<p>Comedy</p>
<p>Family</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>After his wife leaves, a father and his two teenage daughters struggle through adolescence and
abandomnent together.</i></p>
<p>A touching, moving and inspiring portrait of fatherhood I haven't seen since
<a href="https://letterboxd.com/film/girl-2018/" target="_blank">Girl</a>. The two daughters are
portraying the rollercoaster of emotions that teenagehood is with a sensitivity rarely seen on screen.</p>
<p>This is one of the best film I've seen, period. This is why I love cinema.</p>
</div>
</div>
</div>
<div class="entry">
<!-- {% set image = resize_image(path="/static/movies/arco.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="arco" />
<div>
<h2><a href="https://letterboxd.com/film/arco/" target="_blank">Arco</a></h2>
<div class="meta">
<p class="author">Ugo Bienvenu</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2025</p>
<p>Adventure</p>
<p>Animation</p>
<p>Science-fiction</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>What if rainbows were people from the future traveling in time? 10-year-old Arco
lives in a far future. During his first flight in his rainbow suit, he loses control and falls into
the past. Iris, a girl his age from 2075, comes to his rescue and tries by all means to help send him
back to his era.</i></p>
<p>A common description of this movie is Miyazaki meet Interstellar. Arco is a huge breath of fresh air,
filled with colors, kindness, beautiful music and a lot of emotions. From sadness to joy, through
laughters, goofiness and adventure. The hand-drawn animation convey all of that and more, it's like
jumping back in time to sit in a very cozy and relaxing nostalgia for ninety minutes.</p>
</div>
</div>
</div>
<div class="entry">
<!-- {% set image = resize_image(path="/static/movies/misssloane.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="miss sloane" />
<div>
<h2><a href="https://letterboxd.com/film/miss-sloane/" target="_blank">Miss Sloane</a></h2>
<div class="meta">
<p class="author">John Madden</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2016</p>
<p>Thriller</p>
<p>Crime</p>
<p>Drama</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>A mastermind lobbyist end up facing the gun lobby in an attempt to pass gun control legislation.</i></p>
<p>I believe this movie is underrated by being and looking so mainstream. Jessica Chastain
is very charismatic, the pacing is immaculate, we're on the edge the entire time. This could still
simply be a very well executed hollywood movie, but I mention it because of the last scene. Even though
we know exactly what will happen, the delivery is so good we still have goosebumps.</p>
</div>
</div>
</div>
<div class="entry">
<!-- {% set image = resize_image(path="/static/movies/theinvite.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="theinvite" />
<div>
<h2><a href="https://letterboxd.com/film/the-invite-2026/" target="_blank">The Invite</a></h2>
<div class="meta">
<p class="author">Olivia Wilde</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2026</p>
<p>Romance</p>
<p>Drama</p>
<p>Comedy</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>Joe and Angela’s marriage is on thin ice. When they invite their enigmatic upstairs
neighbors for a dinner party, the night spirals into unexpected places.</i></p>
<p>I love films set in one location, The Invite is a very good one. The story is almost irrelevant,
the chemistry between the characters (especially the main couple) is making this movie great. Constant
back and forth of never dull and unexpected dialogs, very entertaining.</p>
</div>
</div>
</div>
</section>
<section class="best unknown section">
<h1 class="subtitle">Must watch films that are hopefully relatively unknown</h1>
<div class="entry">
<!-- {% set image = resize_image(path="/static/movies/capernaum.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="capernaum" />
<div>
<h2><a href="https://letterboxd.com/film/capernaum/" target="_blank">کفرناحوم (Capernaum)</a></h2>
<div class="meta">
<p class="author">Nadine Labaki</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2018</p>
<p>Drama</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>After running away from his negligent parents, committing a violent crime and
being sentenced to five years in jail, a hardened, streetwise 12-year-old Lebanese boy sues his
parents in protest of the life they have given him.</i></p>
</div>
</div>
</div>
<div class="entry">
<!-- {% set image = resize_image(path="/static/movies/stationeleven.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="station eleven" />
<div>
<h2><a href="https://letterboxd.com/film/station-eleven/" target="_blank">Station Eleven</a></h2>
<div class="meta">
<p class="author">Hiro Murai, Jeremy Podeswa, Helen Shaver, Lucy Tcherniak</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2021</p>
<p>Mini-Series</p>
<p>Drama</p>
<p>Poetic</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>The survivors of a devastating flu attempt to rebuild and reimagine the world anew
– while holding on to the best of what’s been lost.</i></p>
</div>
</div>
</div>
<div class="entry">
<!-- {% set image = resize_image(path="/static/movies/dalva.jpg", width=170, op="fit_width") %} -->
<img src="{{ image.url }}" title="dalva" />
<div>
<h2><a href="https://letterboxd.com/film/love-according-to-dalva/" target="_blank">Dalva</a></h2>
<div class="meta">
<p class="author">Emanuelle Nicot</p>
<p class="middot">&middot;</p>
<div class="tags">
<p>2022</p>
<p>Drama</p>
</div>
</div>
<div class="opinion">
<p class="plot"><i>One evening, Dalva is suddenly taken away from her father’s house. Dumbfounded and
outraged at first, she later meets Jayden, a social worker, and Samia, a teen with a temper. A new
life seems to start for Dalva, that of a girl her age.</i></p>
</div>
</div>
</div>
</section>
</div>
@@ -1,5 +1,5 @@
+++
title = "Unintented Fraud - Blog"
title = "Brice Bernard - Journal"
sort_by = "date"
template = "blog.html"
page_template = "blog_page.html"
@@ -1,6 +1,7 @@
+++
title = "Speed-up angularjs (v1) - remove watchers"
date = 2015-03-12
description = "Sneaky way to manipulate angular watchers to only keep the ones on screen and drastically improve performance."
[taxonomies]
tags = ["angularjs", "javascript", "sneaky"]
@@ -1,6 +1,7 @@
+++
title = "Understanding Go context"
date = 2024-03-11
description = "Exploration of go context and how you can use them."
[taxonomies]
tags = ["go", "learning", "context", "channels"]
@@ -30,10 +31,16 @@ If you want to have more details and visualise it, I would recommend this talk:
Let's see in our own examples how to use context, for timeouts and adding data to a request.
1. [Overview of our simple server](#1-overview-of-our-simple-server)
2. [Use context to pass request-related data to the endpoint](#2-use-context-to-pass-request-related-data-to-the-endpoint)
3. [Use context for timeout](#3-use-context-for-timeout)
4. [Some tweaked examples](#4-some-tweaked-examples)
## Table of contents
<div class="table-of-contents">
[1. Overview of our simple server](#1-overview-of-our-simple-server)
[2. Use context to pass request-related data to the endpoint](#2-use-context-to-pass-request-related-data-to-the-endpoint)
[3. Use context for timeout](#3-use-context-for-timeout)
[4. Some tweaked examples](#4-some-tweaked-examples)
</div>
## 1. Overview of our simple server
@@ -296,7 +303,7 @@ We can see that we got the correct response, at the right time.
Below are more examples when I tweaked some values, see what happens.
### 4.1 Increate the timeout to 8 seconds
### Increate the timeout to 8 seconds
We should get a successful response after 5 seconds.
```go
func handleGetValue(next http.Handler) http.Handler {
@@ -327,7 +334,7 @@ curl localhost:8080/get-value
```
As expected, we get a successful response 5 seconds after initiating the query, no timeout happened.
### 4.2 simulatingOperation returns an error
### simulatingOperation returns an error
Keeping it as it is now, make the goroutine returns an error instead.
```go
func simulatingOperation() chan error {
@@ -1,6 +1,7 @@
+++
title = "Rustlings - Solutions"
date = 2024-02-10
description = "My solutions for the rustlings exercices."
[taxonomies]
tags = ["rust", "learning"]
@@ -14,6 +15,10 @@ presented with a failing program and should fix it in order to compile.
Below are my solutions, maybe it'll help someone, possibly future me who knows.
## Table of contents
<div class="table-of-contents rustlings">
[intro2.rs](#intro2-rs)
[variables1.rs](#variables-variables1-rs)
@@ -91,6 +96,8 @@ Below are my solutions, maybe it'll help someone, possibly future me who knows.
TBC.
</div>
### intro2.rs
Needed to add an argument to the `println` macro. Or remove the expected argument I guess.