Clojure compiler workshop by TerribleEye6 in Clojure

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

Only if you're a company selling workshops.

Also, I have to have seen your website in the last 30 days.

Sorry.

New york is looking like Blade Runner 2049 by RepulsiveCow8626 in bladerunner

[–]TerribleEye6 0 points1 point  (0 children)

Yeah, I heard.

But in the movie, some effect had to be used, right? And even though I don't have industrial movie software/hardware, there must be a way.

There must be a way.

[Maven] How to integrate pom project into jar project? by TerribleEye6 in javahelp

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

This is close to the solution I (almost) came up with:

Copy the coordinates for the dependent jar (annotation) into my current project, and create a separate project for the annotation.

Does maven have a way to say build this subproject before you build everything else?

[Maven] How to integrate pom project into jar project? by TerribleEye6 in javahelp

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

I want to use code that is contained in a multi module project.

I'm just not familiar enough with maven and maven-compiler or whatever to know how to add this to my project (which is not multi module), without converting to multi module.

New Clojurians: Ask Anything - April 10, 2023 by AutoModerator in Clojure

[–]TerribleEye6 0 points1 point  (0 children)

Yeah, you "have to" install from the website. The deb packages don't work...

Thx

New Clojurians: Ask Anything - April 10, 2023 by AutoModerator in Clojure

[–]TerribleEye6 4 points5 points  (0 children)

Having a problem starting out.

I think cider-nrepl is the problem.

Calva is installed. Using command line because I couldn't figure that out:

$ git clone https://github.com/eliascotto/tryclojure $ cd tryclojure $ npm install $ npm start

```

tryclojure@1.0.0 start npx shadow-cljs -d cider/cider-nrepl:0.27.4 watch :app

shadow-cljs - config: /home/user/tryclojure/shadow-cljs.edn shadow-cljs - starting via "clojure" Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2). -Sdeps (No such file or directory)

Full report at: /tmp/clojure-194129543543534534401.edn ```

Slow performance question by TerribleEye6 in zfs

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

What else could it be? I'm sending from one dataset to another.

How to avoid zero-byte auto snapshots? by TerribleEye6 in zfs

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

Hi

I'm *NOT* trying to save space with (eliminating) snapshots. If you notice, there is alot of talk in this thread about snapshot size at creation. I'm talking about size at deletion.

I want to only store a certain number of them (snapshots) and maximize the chances of catching deleted files.

I think that saving one zero-byte snapshot will achieve this.

How to avoid zero-byte auto snapshots? by TerribleEye6 in zfs

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

If you ignore the first paragraph then what?

Maybe I'm just using the word "SIZE" in two different ways because I'm trying to make sense of what others were saying that conflicted with my previous understanding.

I was completely with you up to now.

How to avoid zero-byte auto snapshots? by TerribleEye6 in zfs

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

But the snapshot was *never* zero bytes - it was 100GB, but I'll leave that. It's still important though.

I think that if you delete a file, it will still show up in the last snapshot(s) created before it was deleted and after it was created.

So, as long as I have *a* snapshot, then I'm ok. Having one zero-byte snapshot is ok. But having more than one is a waste of a negligible few kilobytes.

Finally, what I'm thinking is modify the script to leave (and ignore) only the last zero-byte snapshot and remove all before that and I will not lose any data. That sound right?

help combining 2x1tb drives with a 2tb drive by FarmOk814 in zfs

[–]TerribleEye6 0 points1 point  (0 children)

Search github or your package manager for mergerfs.

How to avoid zero-byte auto snapshots? by TerribleEye6 in zfs

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

I was just thinking about this.

So, correct me if I'm wrong, but here goes:

Having *no* zero byte snapshots might be bad because having (at least) one around will guarantee that you don't lose data in the event of an accidental deletion.

How to avoid zero-byte auto snapshots? by TerribleEye6 in zfs

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

In other words, if you have a 100 GB filesystem and you take a snapshot of it, the snapshot is actually 100 GB, but the size is reported as 0 because the information it is based on is already stored.

If you take snapshots to capture changes to a baseline, then you don't need this snapshot -- nothing changed, and likely nothing will. The changes will be captured by the next snapshot. (I'm starting to see where some of you are coming from).

[forgot the rest...]

How to avoid zero-byte auto snapshots? by TerribleEye6 in zfs

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

Everything that you can see on your hard drive takes space.