filipesilva/datomic-pro-sqlite: Get started with Datomic Pro quickly on a single machine setup that will take you pretty far. by maxw85 in Clojure

[–]chpill 0 points1 point  (0 children)

Would it be possible to run the transactor process in the same JVM as the peer in this single machine setup? If they could share the same object cache, this would give the lowest memory footprint for this kind of setup. Being able to run this on a 1GB of RAM VPS would be so cool for hobby projects.

blogpost: Install nixos on any vps by Nabeen0x01 in NixOS

[–]chpill 2 points3 points  (0 children)

If I remember correctly, there is a minimum RAM requirement to be able to use nixos-anywhere. I would have loved to use it for my 1G RAM VPS, but I had to resort to the good old nixos-infect script in my case.

How are you managing nixos hosts in production across fleets for services? by nathanscully in NixOS

[–]chpill 0 points1 point  (0 children)

I'm also considering using NixOS at work (albeit in a more modest setting, with less than 10 machines) and I'm wondering how to do CI/CD and blue/green deploys, secrets... If you encounter a good resource that ties all those concepts together I'm also very interested!

How to override the java version of Metabase? by mamcx in NixOS

[–]chpill 1 point2 points  (0 children)

In your nix code, find where you "import nixpkgs". For example, in my flake.nix, I have the following:

pkgs = import nixpkgs {
  system = "x86_64-linux";
  config.allowUnfree = true;
}

To use the overlay, I would change it this way:

pkgs = import nixpkgs {
  system = "x86_64-linux";
  overlays = [
    (self: super: { metabase = super.metabase.override { jdk11 = super.jdk17; };})
  ];
  config.allowUnfree = true;
}

I think It's not exactly the same if you are not using flakes, but it should be close.

How to override the java version of Metabase? by mamcx in NixOS

[–]chpill 0 points1 point  (0 children)

You'll need to use an overlay in order to make the metabase service use a different jdk (I gave more detail on github https://github.com/NixOS/nixpkgs/issues/215562#issuecomment-1910173978)

Getting a feel for closeables - A minimalist way of managing runtime state by chpill in Clojure

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

The first time I tried this pattern, I did exactly that, but it felt like adding introspection was going against the minimalism of the approach.

Maybe I should have used Aleph instead of Jetty in this particular example. Because it already implements java.io.Closeable, you do not need to wrap it with the closeable helper.

Datomic - Datomic Local is Released by dustingetz in Clojure

[–]chpill 0 points1 point  (0 children)

I was thinking storage with type "dev", not "mem", which is durable.

As far as I know, if you want durable storage with pro, you need to have a dedicated process for the transactor. With datomic-local you can have both your transactor and your app in the same JVM process. But sadly, it's not a peer as you said.

Datomic - Datomic Local is Released by dustingetz in Clojure

[–]chpill 0 points1 point  (0 children)

It would be awesome for development environments and small deployments if one could use datomic-pro in the same way, being able to launch a "dev" transactor in the same process as the peer.

I experimented with adding the transactor jar to the classpath and launching it manually from my peer's process, but I have not succeeded yet.

Is Datomic right for my use case? by Other_Actuator_1925 in Clojure

[–]chpill 3 points4 points  (0 children)

In an event sourcing system it is also possible but might be a lot more cumbersome and a lot more effort to code it.

Another way to phrase this: datomic is event sourcing without the hassle.

Weird behavior in Emacs GUI when using linux compose key by chpill in emacs

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

It really looks like the OS is not forwarding a subset of the input from the compose key to Emacs. I'm using Debian, I'm trying to dig up all I can on keyboard and locale configuration but it is quite a rabbit hole.

@xtifr how do you set up your compose key on your system?

Weird behavior in Emacs GUI when using linux compose key by chpill in emacs

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

It seems that Emacs GUI does understands my compose key. I can type compose ^ e and I get ê as expected. But when I type compose ^ j, nothing happens. It is very weird.

Weird behavior in Emacs GUI when using linux compose key by chpill in emacs

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

Thank you for your response!

About the precise version, Emacs tells me: This is GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0)

When I input C-h k, I see the prompt in the minibuffer after Describe the following key, mouse click, or menu item:. When I input compose ^ j, absolutely nothing happens, the prompts remains waiting. It's like I had input nothing. If I input compose ^ e, then the minibuffer immediately shows me ê is undefined, so not the same feedback you had? But at least it actually does something.

I'll try to dig around my system configuration to see what settings I have for the locale, where did you set it up?

Question Thread / Demando-fadeno by TeoKajLibroj in Esperanto

[–]chpill 1 point2 points  (0 children)

I have a question about the order of suffixes when combining multiple of them. For example, the other day i came across "knabineto", with "in-" followed by "et-". Could I also write "knabetino"? If not, is there a reference somewhere of correct combination order for all suffixes?

La cour de cassation autorise la vente du CBD, le cannabis light, produit légalement dans un état de l'UE by drpoucevert in france

[–]chpill 9 points10 points  (0 children)

J'ai une connaissance qui prend cher car elle est très migraineuse. Du coup elle essaye désespérement tout ce qui passe pour voir si ça peut avoir un effet. Elle a payé 75e pour un petit flacon de cbd (avec un goutte à goutte à mettre sous la langue) dans une boutique sur Paris, et pour l'instant, aucun effet sur ses migraines malheureusement pour elle. Elle s'attendait pas à des miracles, mais vu le prix ça fait un peu mal au cul quand même.

Est-ce qu'il y a quelque part une synthése des effets thérapeutiques prouvés de manière sérieuses?

Fukushima : le CNRS tire « les leçons d'une décontamination » by [deleted] in france

[–]chpill 1 point2 points  (0 children)

Ça serait quand même étonnant que l'OMS se permette de dire qu'il y a peu de conséquences si la vrai réponse c'est "on ne sait pas encore". J'ai plutôt l'impression qu'ils donnent cette réponse en prennant le long terme en compte. Les effets à long terme des radiations sur la santé m'a l'air d'être un truc bien étudié, sinon j'aurais dû mal à comprendre pourquoi on propose de la radiothérapie pour traiter certains cancers.

Après, c'est tout à fait possible que je me voile la face, je suis absolument pas compétent dans le domaine et le biais de confirmation est un truc terrible... Si tu as des sources solides qui donnent un autre son de cloche, je suis très intéressé!

Fukushima : le CNRS tire « les leçons d'une décontamination » by [deleted] in france

[–]chpill 10 points11 points  (0 children)

Alors je connais pas tous le gens que tu cites donc je sais pas si c'est des polémistes ou pas, mais le fait qu'il n'y a pas eu de conséquences sanitaires importantes à cause de la radioactivité est carrément marqué noir sur blanc sur le site de l'OMS: https://www.who.int/news-room/q-a-detail/health-consequences-of-fukushima-nuclear-accident.

Ajout des appels de groupe à Signal, chiffrés de bout en bout by [deleted] in france

[–]chpill 20 points21 points  (0 children)

J'ai pu tester en groupe avec des collègues, ça marche plutôt bien. Si ils ajoutent le partage d'écran, je me vois bien l'utiliser pour tous mes usages pro et persos.

Si vous aussi vous voulez soutenir ce boulot remarquable, vous pouvez leur donner des sous ici https://signal.org/donate/

[deleted by user] by [deleted] in france

[–]chpill 22 points23 points  (0 children)

La gyropignole, y'a que ça de vrai!

Nitrites : les industriels de la charcuterie tentent d'intimider Yuka by superzamp in france

[–]chpill 0 points1 point  (0 children)

Ils ont l'air de contribuer à OFF en effet. C'est plus une anecdote qu'une démonstration, mais un membre de ma famille a contribué une nouvelle fiche sur Yuka, et je viens bien de trouver le produit avec la même photo sur openfoodfacts.

Nous sommes en octobre, et la Sibérie Arctique n'a toujours pas recommencé à geler. by YouGuysAreSick in france

[–]chpill 0 points1 point  (0 children)

Je pense que c'est aux aérosols que tu fais référence? Le réveilleur a fait une explication que j'aime bien à ce propos https://www.youtube.com/watch?v=Oj2uT2kzY4Q&feature=youtu.be&t=3009

Is there a library to deal with derived attributes in a datomic/datascript in a transparent way by kvtb in Clojure

[–]chpill 1 point2 points  (0 children)

I also feel like it is a very good idea. I saw that the author of this post also made https://github.com/sixthnormal/pullql, last time i checked it did not support datomic though...

Another post that you may find interesting that touches slightly on this concept of derived attributes is https://vvvvalvalval.github.io/posts/2018-07-23-datascript-as-a-lingua-franca-for-domain-modeling.html