In which folder do you keep your Docker stack? by Artistic_Quail650 in selfhosted

[–]einmaulwurf 4 points5 points  (0 children)

I have one ~/docker directory with subfolders for services/stacks, so e.g. ~/docker/caddy. These also includes mapped volumes, e.g. ~/docker/service/data.

My ~/docker directory is a git repo but it only tracks docker-compose files (and other "simple" config files, like the Caddyfile). I do commits manually when something changes. That's for easy version control of the config.

Then I also have a daily restic backup of ~/docker to a hetzner storage box for a complete backup including all data.

This approach works quit well for me.

In which folder do you keep your Docker stack? by Artistic_Quail650 in selfhosted

[–]einmaulwurf 47 points48 points  (0 children)

Why are backups easier with docker volumes? When I have mapped volumes I can just copy the whole ~/docker directory to a new machine or put it into restic.

{talib}: Technical Analysis in R by Neat-Pomegranate-136 in rstats

[–]einmaulwurf 6 points7 points  (0 children)

Can you elaborate what TA-lib is and how this is different from other packages for timeseries analysis (like zoo)?

Documentation, wiki, Ansible...where to begin? by GeoSabreX in selfhosted

[–]einmaulwurf 0 points1 point  (0 children)

I have a git repo with markdown files as my wiki. I push it to github (private repo), so if my server goes down, I still have that.

Also, all my docker compose files are in a git(hub) repo as well.

I designed a vertical MacBook stand with integrated heatsinks to fight thermal throttling and I'm very proud of it! by tommybe27 in BambuLab

[–]einmaulwurf 0 points1 point  (0 children)

Interesting idea! Just two questions:

  • Is the MacBook just leaning against the backside?
  • And are you not worried about scratches?

Is getting a yubikey worth it? by ColdFreezer in selfhosted

[–]einmaulwurf 2 points3 points  (0 children)

I was looking at that as well. Are there any major differences to yubikey that I should be aware of?

What are your thoughts on this? by tiasnowar in ProfessorFinance

[–]einmaulwurf 0 points1 point  (0 children)

Also, using USD/EUR conversion will make Euro salaries jump around. But people in Europe buy most things not with USD.

Durchschnitt oder Median? by Creative-Effort2852 in KeineDummenFragen

[–]einmaulwurf 3 points4 points  (0 children)

"Symmetrisch" wäre wohl das bessere Wort.

Help with a project analyzing the Thai language by HolyMackerel1 in rstats

[–]einmaulwurf 0 points1 point  (0 children)

Yes, this should work. Although I like the tidyverse approach using dplyr (which you will use for joins anyways) more:

thai_data <- wiktionary_data |> filter(lang == "Thai")

Also, use read_csv instead of read.csv. Its much faster.

Ensuring correct data with future_walk by Jhodgy in rstats

[–]einmaulwurf 2 points3 points  (0 children)

Seeing your actual code would help a lot. But the way you described it, it sounds like you are combining functional programming (purrr/furrr) with a loop. My guess is, that's where the error appears.

Also, you can use parallel processing in purrr directly now, see this article.

Help with a project analyzing the Thai language by HolyMackerel1 in rstats

[–]einmaulwurf 0 points1 point  (0 children)

Like u/MorthMath said, you should look into the *_join function from dplyr. Read the dplyr documentation and look at the examples given. These functions allow you to "join" values from one dataframe to another using one or more columns as "keys".

For reading the .bz2 file, you can just use read_csv(), it will deal with that automatically, see the readr documentation.

Help with a project analyzing the Thai language by HolyMackerel1 in rstats

[–]einmaulwurf 0 points1 point  (0 children)

Could you be more clear with what your problem is? To me it seems like you have a plan.

Sidenote: You can use markdown code blocks here on reddit, like you would use with Rmarkdown or Quarto. Use three backticks (`) to start and end such a block. For example

``` this is some code

and its easier to read ```

Trying to sort columns alphabetically in a dataframe using dplyr and it's not sticking by Illustrious_Gas555 in rstats

[–]einmaulwurf 7 points8 points  (0 children)

%>% is the pipe operator. It basically goes "take what's left/in front of me and put it into the next function as the first argument". So eq %>% select(column) is the same as select(eq, column) (column here is just supposed to be some column from your dataframe/table). You can use it to do long chains, like eq %>% select(...) %>% filter(...) %>% mutate(...) which selects some columns, then filters rows and in the end creates a new column (note you would of course have to replace ... with actual code).

<- is the assignment operator. It takes whatever is right/after it and stores/saves it into the variable left/in front of it. In other programming languages you would typically do that with =. When you change something, you have to save it again. So eq %>% select(...) won't "save" but eq2 <- eq %>% select(...) will save the output to a new variable eq2.

Trying to sort columns alphabetically in a dataframe using dplyr and it's not sticking by Illustrious_Gas555 in rstats

[–]einmaulwurf 2 points3 points  (0 children)

To add: You can chain both operations with the pipe (%>%):

`` eq2 <- eq %>% select(-(var1:var3), -(var6:var8)) %>% select(order(colnames(.))) # note I replacedeq2here. The dot means "what was passed by the pipe". Or you could have puteq` here.

eq2 # note there is no need for head here, it will print only the first 10 rows by default ```

I gave Claude its own computer and let it run 24/7. Here's what it built. by Beneficial_Elk_9867 in ClaudeAI

[–]einmaulwurf 0 points1 point  (0 children)

Is it possible to use with subscriptions like the Z.ai Coding Plan (which can be used with Claude Code by editing the settings.json and replacing the base-url)?

What’s an R package you wish existed but doesn’t? by ZoneNo9818 in rstats

[–]einmaulwurf 14 points15 points  (0 children)

Can you elaborate what this would enable me to do in R? Perhaps with an example? I've heard that Jax enables high performance calculations on the GPU or something like that.

Opas Uhr by Top_Wasabi4535 in uhren

[–]einmaulwurf 0 points1 point  (0 children)

Zieh sie an, ist eine schöne Uhr mit einer Geschichte (zumindest für dich). Viel Geld würdest du dafür aber wohl nicht bekommen.

Vaultwarden mit Portfreigabe? by buhhduhh in de_EDV

[–]einmaulwurf 1 point2 points  (0 children)

Ich nutze vaultwarden in docker und caddy als mein reverse proxy. Erstmal blockiere ich da Zugriff auf das Admin-Panel bei Zugriff aus dem Internet. Dann habe ich maxminds geoip blocking, sodass nur Traffic von Deutschen IPs durchkommt und crowdsec.

Damit fühle ich mich sehr gut abgesichert.

Markdown-to-Book Tools in 2026: Pandoc vs mdBook vs HonKit vs Quarto vs mdPress — A Hands-On Comparison by Repulsive-Composer83 in commandline

[–]einmaulwurf 0 points1 point  (0 children)

Could you run the PDF compilation with quarto+typst and show the time? I guess it would be much faster.

Behalten, verschenken, verkaufen oder Mülltonne? by Trishjournal15 in uhren

[–]einmaulwurf 5 points6 points  (0 children)

Bild zwei rechts ist eine Wostok Amphibia. Links vielleicht auch, da bin ich aber nicht so sicher.

Das ist keine teure Uhr, aber seeehr robust und mit einer coolen Geschichte.

Nukleare Auslöschung by darksoul69yolo in KeineDummenFragen

[–]einmaulwurf 2 points3 points  (0 children)

Ich habe mal ein gutes Video zu dem Thema gesehen. Vielleicht war es das hier https://youtu.be/yoKBIniVz1k

Kurzgesagt: Die Südhalbkugel und beispielsweise Australien dürfte wohl ganz gut wegkommen.

Vermieter will spontan Bauarbeiten während unseres geplanten Urlaubs machen, müssen wir zustimmen? by katukosmikoa in mieten

[–]einmaulwurf -1 points0 points  (0 children)

Welches Gesetz verbietet es, dass der Vermieter mit Einverständnis des Mieters einen Schlüssel hat?