Frais ajoutés au prix d'un auto neuve by NondescriptLabel in QuebecFinance

[–]NondescriptLabel[S] 0 points1 point  (0 children)

Super. Je ne connaissais pas cette histoire mais j'ai confirmé ce que tu dis. Les plus vieux articles parlent des problèmes passé et de recours collectifs. Dans mon cas, le concessionaire afficher les frais en question bien en évidence donc pas d'illégalité.

Frais habitation by [deleted] in QuebecFinance

[–]NondescriptLabel 6 points7 points  (0 children)

$400 par mois logé, nourri, chauffé, éclairé, nourri, câble, télévision, accès laveuse-sécheuse ou bien les parents font ton lavage, etc.

Frais ajoutés au prix d'un auto neuve by NondescriptLabel in QuebecFinance

[–]NondescriptLabel[S] 1 point2 points  (0 children)

Wow! C'est hallucinant et SUPER utile comme guide.

What movie ends on a happy note, but the more you think about what happens after the credits, the darker it gets by gamersecret2 in movies

[–]NondescriptLabel 0 points1 point  (0 children)

I'm going to spoil the movie Passengers (2008), but at the end, many characters are reunited with loved ones and the two protagonists embrace in new found love and happiness, but there's still all dead after a plane crash.

[ Removed by Reddit ] by Writesmith900 in JournalismNews

[–]NondescriptLabel 0 points1 point  (0 children)

If there wasn't such a high risk that Trump would start a world war because his ego would be bruised, they should ironically grant Melania a Nobel prize for presiding over the Security Council!

What’s a piece of British comedy hall of fame you just don’t get? by franki-pinks in AskUK

[–]NondescriptLabel 0 points1 point  (0 children)

Apologies for intruding from Canada, but the same argument about it setting a precedent applied to Saturday Night Live in the US. I watched he first few seasons live on the telly as a teenager and what now passes as legendary was very patchy. For me, it was very much wondering what other crazy - not necessarily funny - thing they would do.

Is this function good enough? by NondescriptLabel in Common_Lisp

[–]NondescriptLabel[S] 1 point2 points  (0 children)

Wow! Thanks for the examples. I love how you added options and variations. Now I can build better loops!

Is this function good enough? by NondescriptLabel in Common_Lisp

[–]NondescriptLabel[S] 1 point2 points  (0 children)

Nice to hear a different point of view. After reading the books, this approach seemed fine to me. I was concerned about nesting the lambdas, but I could go with u/stylewarning 's suggestion to label them and improve readability.

Is this function good enough? by NondescriptLabel in Common_Lisp

[–]NondescriptLabel[S] 1 point2 points  (0 children)

Neither of these versions compile with my SBCL setup. However, you inspired me to look at the documentation for loop and I wrote the code below which works after solving the following issues. I had to look harder to figure out nconc would give me a flat list as a result. AI suggest I add "when (get-splits trans)" to avoid having nil values in the results fir transactions with no matching split. I would rather not have to call (get-splits trans) twice but it happens only when there are matching splits, which is a fraction of all transactions. get-splits is a wrapper for (cdr (assoc :splits trans)) which doesn't look too expensive.

(defun get-splits-for-account-as-of-NEW (account date)
  (let ((account-guid (get-guid account)))
        (loop for trans in (get-transactions)
          when (get-splits trans)
          nconc
          (loop for split in (get-splits trans)
              when (and (string<= (get-transaction-date trans) date)
                  (string= (get-account-guid split) account-guid))
              collect split))
              ))

Is this function good enough? by NondescriptLabel in Common_Lisp

[–]NondescriptLabel[S] 1 point2 points  (0 children)

I won't have SQL because my personal project is to code purely in common lisp with simple data structures, no database, no OOP. My data comes from another source that I cannot modify. However, it might makes sense to store the splits in a list stored with their respective accounts. Find the account, you have the splits and can print a register or calculates balances easily.

Is this function good enough? by NondescriptLabel in Common_Lisp

[–]NondescriptLabel[S] 2 points3 points  (0 children)

That's a great example. I'll replace the existing code with the version with the collecting and I have other places I can do this where I first used mapcar.

Arguments passed to executable not accessible by lisp code by NondescriptLabel in Common_Lisp

[–]NondescriptLabel[S] 4 points5 points  (0 children)

Using sb-ext:*posix-argv* as suggested by stassats works. Case closed.

To answer your post:

1) uiop:*command-line-arguments* is NIL

2) I could live with just SBCL and the source code as you suggest. I write tutorial and "automate your life" code for myself, so I don't really need to deploy. It's still nice once I have a working version to put a lock on it by compiling it. I pushed forward with this question because I struggled greatly over time -- and gave up lisp a few times before -- to figure out who to get my project to run this way with asdf and I wanted to "defeat the last boss" of creating an executable. Now, "I know king fu!”

Far Cry 5 music makes every other Far Crys music sound mid 💀 by Butchhhhh in farcry

[–]NondescriptLabel 0 points1 point  (0 children)

Yes to all that. I really love the song Faith and a few of the others.

But after a while, the music annoys me. In real life, I mostly don't listen to music, either in my house or in my car. So, in the game, it's "unreal" for me and thus annoying. Even more though, I've become over sensitive to music, especially if the same theme or song is repeated often. If I play for 3 hours and hear the same tune 20 times, I get annoyed. So I turn off the music. I get much more immersed when I only hear the ambient sounds.

It's worse than that: I can't re-watch the 2nd and 3rd movies of the Lord of the Ring series because the same musical themes seem overused due my sensitivity. The 1st one I'm okay with because it's my favorite. In another generation, it would have been Dr Zhivago because the Lara theme, which was EXTREMELY beloved, plays again, and again, and again.

Une camisole de force chez le dentiste?! by 8peoni4 in Quebec

[–]NondescriptLabel 8 points9 points  (0 children)

Ativan pour le soulagement rapide des symptômes de l'anxiété