~bounga

France

https://www.bounga.org

I write code and love doing it using Ruby, Elixir and Emacs.

When I need to I also write C, Bash, Python, …

I'm still interested in other languages and try to keep an eye on cool things happening.

I'm also particularly interested in infosec / pentesting.

~bounga/public-inbox

Last active 10 months ago
View more

Recent activity

Re: GenServer with supervision tree and state recovery after crash 10 months ago

From Nicolas Cavigneaux to ~bounga/public-inbox

For the sake of history, here is a comment posted on Disqus
(discontinued on bounga.org) from Gin Lennon:

> Hi Nicolas, thanks a lot for sharing this blog post, I found it really
> interesting.
>
> I have a couple of comments and questions, I hope you don't mind if I
> post them here as a comment.
>
> 1. In the last iteration, the `Sequence.Server.start_link` receives
> the `stash_pid` as argument. How is injected? Is it passed by the
> `Supervisor`? And what is its purpose? It is not used anywhere as far
> I understood.

Re: Translating ActiveRecord data using JSON 10 months ago

From Nicolas Cavigneaux to ~bounga/public-inbox

For the sake of history, here is a comment posted on Disqus
(discontinued on bounga.org) from Chris Salzberg:

> Hi there, nice post! I maintain a gem called Mobility
> (https://github.com/shioyama... which allows you to store translations
> in many formats, including json/jsonb/hstore but also as separate
> columns, or on a separate translation table (like Globalize), or on a
> shared table with a polymorphic relation (called KeyValue). The
> interface is the same whichever storage strategy (backend) you use. It
> has all the standard features: fallbacks, cache, locale accessors
> (title_en, title_ja, etc.) as other translation gems, in the form of
> "plugins" which are only included if you enable them (so minimum
> "class pollution").

Re: Set system-wide PATH environment variable for Mac OS GUI apps 10 months ago

From Nicolas Cavigneaux to ~bounga/public-inbox

For the sake of history, here is a comment posted on Disqus
(discontinued on bounga.org) from onee:

> From the launchctl man manual, "The /etc/launchd.conf file is no
> longer consulted for subcommands to run during early boot time; this
> functionality was removed for security considerations.",which means
> that /etc/launchd.conf file is no longer work. (I use macOS Monterey)

This is true in newest MacOS system and I updated the blog post
according to it.

Now you should use `etc/paths` to specify available paths to your GUI apps.
--
Nicolas Cavigneaux

[PATCH v2] use send-email 1 year, 10 months ago

From Nicolas Cavigneaux to ~sircmpwn/email-test-drive

---
 Bounga | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 Bounga

diff --git a/Bounga b/Bounga
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/Bounga
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.33.0
[message trimmed]

Re: [PATCH] use send-email 1 year, 10 months ago

From Nicolas Cavigneaux to ~sircmpwn/email-test-drive

git-send-email.io <devnull@sr.ht> writes:

> Hi Nicolas Cavigneaux!
>
> Thanks for the patch! Needs a minor fix, though:
>
>> diff --git a/Bounga b/Bounga
>> -%<-
>> +I'm about to try git send-email
>
> This statement is no longer correct - you have already tried it, and
> succeeded! Can you change this to the following:
>

[PATCH] use send-email 1 year, 10 months ago

From Nicolas Cavigneaux to ~sircmpwn/email-test-drive

---
 Bounga | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 Bounga

diff --git a/Bounga b/Bounga
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/Bounga
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.33.0
[message trimmed]

[PATCH sr.ht-docs] Add a paragraph about the command `complete-build` available in tasks 2 years ago

From Nicolas Cavigneaux to ~sircmpwn/sr.ht-dev

It explains how to stop a build cleanly thanks to the complete-build
command provided in the context of tasks.
---
 builds.sr.ht/manifest.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md
index 1a02e31..929dc48 100644
--- a/builds.sr.ht/manifest.md
@@ -128,6 +128,16 @@ order specified.
Each task is run in a separate login session, so if you modify the groups of the
`build` user they will be effective starting from the subsequent task.

[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 4 years ago

From Nicolas Cavigneaux to ~sircmpwn/email-test-drive

---
 nicolas-cavigneaux | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 nicolas-cavigneaux

diff --git a/nicolas-cavigneaux b/nicolas-cavigneaux
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/nicolas-cavigneaux
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.25.0
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 4 years ago

From Nicolas Cavigneaux to ~sircmpwn/email-test-drive

---
 nicolas-cavigneaux | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 nicolas-cavigneaux

diff --git a/nicolas-cavigneaux b/nicolas-cavigneaux
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/nicolas-cavigneaux
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.25.0
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 4 years ago

From Nicolas Cavigneaux to ~sircmpwn/email-test-drive

---
 nicolas-cavigneaux | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 nicolas-cavigneaux

diff --git a/nicolas-cavigneaux b/nicolas-cavigneaux
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/nicolas-cavigneaux
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.25.0
[message trimmed]