~michel-slm

Greater Chicago Area, IL, USA

https://michel-slm.name/

~michel-slm/elpher

Last active 3 months ago

~michel-slm/public-inbox

Last active 4 years ago
View more

Recent activity

Re: [PATCH fennel] Skip IRC reporting if we can't determine Git remote 6 months ago

From Michel Lind to ~technomancy/fennel

On Mon, Aug 26, 2024 at 09:09:42AM -0700, Phil Hagelberg wrote:
> ~michel-slm <michel-slm@git.sr.ht> writes:
> 
> > This means either Git is not installed, or the test is being run from a
> > published tarball and not a Git checkout.
> >
> > In either case, that means we don't want to report the build result
> > (many Linux distributions also build with network access disabled, so
> > reporting will fail anyway) - and we should exit with status code 0, as
> > this is not actually an error.
> 
> Good catch; thanks! I think until recently no one had ever tried to run
> the test suite on a computer that didn't have git installed. But of
> course this is the better move.

Re: [PATCH fennel] Do not use deprecated math.pow 1 year, 3 months ago

From Michel Lind to ~technomancy/fennel

On Tue, Dec 12, 2023 at 09:00:12AM -0800, Phil Hagelberg wrote:
> ~michel-slm <michel-slm@git.sr.ht> writes:
> 
> > From: Michel Lind <salimma@fedoraproject.org>
> >
> > This is deprecated in Lua 5.3:
> > https://www.lua.org/manual/5.3/manual.html#8.2
> >
> > and is not present at least on Fedora 38's Lua 5.4.6 and above
> 
> Oops; turns out this is already fixed in upstream faith; just forgot to
> bring the latest into Fennel's repo.
> 
> https://git.sr.ht/~technomancy/faith/commit/d939c44e0eb27a0205bef995c7184138421d0e83

Re: Chained failure handling 3 years ago

From Michel Alexandre Salim to ~technomancy/fennel

On Sun, 2021-03-28 at 11:31 +0300, Andrey Listopadov wrote:
> > The Fennel equivalent might look like this:
> > 
> > ```fennel
> > (-match-> (might-fail data)
> >   data2 (pcall also-might-fail data2 x)
> >   data3 (finalize foo data3))
> > ```
> > 
> > Where each of the functions `transform`, `second-step`, and
> > `finalize`
> > can return either a successful value or nil, msg. In the case of a
> > failure at any point, the entire form evaluates to nil, msg.
> 

[PATCH] Makefile: add DESTDIR support 4 years ago

From Michel Alexandre Salim to ~technomancy/fennel

On Linux distributions, a standard practice is to override `DESTDIR`
when running `make install` during the packaging process.

Support using that variable rather than requiring `PREFIX` to be
overridden.

Signed-off-by: Michel Alexandre Salim <michel@michel-slm.name>
---
 Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index aec162f..7500f0e 100644
--- a/Makefile
[message trimmed]

Re: A megacorp is not your dream job 4 years ago

From Michel Alexandre Salim to ~sircmpwn/public-inbox

Not sure about Nik; I do work for a megacorp ($FB), and generally agree
with Drew. Happy to share my 2 cents, with the caveat that there are
things I can't discuss in a public space like this.

On Sat, 2021-01-02 at 16:12 +0000, Drew DeVault wrote:
> On Sat Jan 2, 2021 at 11:10 AM EST, Nik wrote:
> > > Why should you invest in them? Why should you give a company that
> > > isn’t invested
> > > in you 40+ hours of your week, half your waking life, the only
> > > life you get?
> > 
> > The answer could be simple: if you have a choice to work in
> > megacorp and
> > somewhere else, will this somewhere else pay comparable at least?

Re: Ephemeral nature of IRC 4 years ago

From Michel Alexandre Salim to ~sircmpwn/public-inbox

On Mon, 2020-11-30 at 17:45 +0000, Cosmo Borsky wrote:
> > I have used IRC a bit, but only for asking questions. The issue I
> > see 
> is
> > as the replier. If there is no backlog, how do you "check in" on
> > the
> > channel every once in a while to see what is being discussed. Is
> > your
> > flow of interaction different from this?
> 
> There are IRC bouncers that are typically hosted on a machine that's 
> online when you're not which will collect the chat backlog so you can
> read it when you are online.
> ZNC is a popular one, soju by emersion is another.

Re: Federation 4 years ago

From Michel Alexandre Salim to ~sircmpwn/public-inbox

On Sun, 2020-09-20 at 20:44 -0400, Geoff Beier wrote:
> On Sunday, September 20, 2020 8:03:18 PM EDT es1969@firemail.cc
> wrote:
> > I usually find that most people advocating for a decentralized
> > social
> > media network ignore that two big ones already exist: Usenet and
> > email/mailing lists.
> > 
> 
> While they are certainly decentralized, I do not find that usenet and
> email 
> lists are very much like the web-based social networking applications
> that are 
> currently prevalent. I did not use Usenet or email lists very

[PATCH] Handle Fedora Lua's different error truncation behavior 4 years ago

From Michel Alexandre Salim to ~technomancy/fennel

One of the Fennel core tests intentionally throws an error and tries
to match it against an expected value.

This breaks on Fedora's `lua` (but works with `luajit`) since the
truncation behavior is different.

Tighten up the match so it passes on both `lua` and `luajit`.

```
  fennel on  master
  ❯ lua test/init.lua | grep -E "not ok|#  "
  not ok 9        test-core
  #   test/core.fnl:49: (fn b [] (each [e {}] (e))) (let [(_ e) (pcall b)] (e:match ":1.*"))
  #   expected: ":1: attempt to call a table value"
[message trimmed]

Re: OPML of all the feeds 4 years ago

From Michel Alexandre Salim to ~sircmpwn/free-writers-club

Hi Lev,

This is really neat, thanks! I think a couple of other people have
joined since (including myself), could you refresh the list?

Best regards,

-- 
Michel Alexandre Salim
profile: https://keyoxide.org/michel@michel-slm.name
chat via email: https://delta.chat/
GPG key: 5DCE 2E7E 9C3B 1CFF D335 C1D7 8B22 9D2F 7CCC 04F2

Introduction - Michel Salim 4 years ago

From Michel Alexandre Salim to ~sircmpwn/free-writers-club

Hello all,

I am a Production Engineer / Site Reliability Engineer, blogging at 
https://michel-slm.name/ (RSS feed: https://michel-slm.name/index.xml)

Currently participating in #100DaysToOffload (
https://100daystooffload.com/)to try and get back in the habit of
writing more; I have some posts in the works on replacing Big Tech
closed platforms with open standards, open protocols, and last but not
least, free software (one of the draft post in particular is a
balancing act as it involves my employer).

I am a Fedora Project contributor, an ex-Lisper trying to get back to
using it, but currently mostly use Python and Ruby for $dayjob. You can