abbadon420

joined 1 year ago
[–] abbadon420@lemm.ee 3 points 5 days ago

Yes it's not much, but it feels special because it's an international train for which you usually have to pay a supplement.

[–] abbadon420@lemm.ee 1 points 5 days ago (1 children)
[–] abbadon420@lemm.ee 8 points 5 days ago (1 children)

Dennis the menace

[–] abbadon420@lemm.ee 2 points 5 days ago

Only if you have a subscription though. Like a businessman, a student card or a "traject vrij abonnement". It doesn't count for individual sold tickets, I guess that also means prepaid ov cards.

[–] abbadon420@lemm.ee 7 points 6 days ago (5 children)

Got any suggestions how to get started on that?

[–] abbadon420@lemm.ee 1 points 6 days ago

Sure it does. You use prowlarr to automate connections. It doesn't actually make a connection to a particular tracker or use net host though. It just instructs your regular download client to download from a given source. If you want to use a source that is not listed, you can just add it yourself.

[–] abbadon420@lemm.ee 18 points 6 days ago (4 children)

I sometimes take the ICE from Arnhem to Utrecht. It's special, because it's an international train with sleeping cabins and sometimes even on-board catering. You usually have to pay an extra supplement, but not if you only ride it nationally. This kind of train only stops on three stations in the Netherlands (Armhem, Utrecht, Amsterdam), which makes it more special.

[–] abbadon420@lemm.ee 11 points 6 days ago (1 children)

Dennis looks like the ripper from Metroid

[–] abbadon420@lemm.ee 1 points 6 days ago (1 children)

I wish I had your eloquence

[–] abbadon420@lemm.ee 4 points 6 days ago (2 children)

You can read Bayerish by combining German with a pitcher of lager.

[–] abbadon420@lemm.ee 1 points 6 days ago (2 children)

I don't get that. Doesn't Fuentes realize Kanye is black? Doesn't Kanye realize Fuentes is a white supremacist? Why are they in cahoots?

[–] abbadon420@lemm.ee 7 points 1 week ago (2 children)

Dafuq is this!? Stress testing?

 

P.s I'm not gonna handwash. That's too much

 

For me it's definitely the Dark Tower, but the Golden Compas was also a huge letdown.

85
KVN (images5.alphacoders.com)
 
 

cross-posted from: https://lemm.ee/post/12034711

Hello Lemmy,

I have to grade student work. Students who have made their first springboot applications. I'm wary for idiots who don't understand anything about java, yet somehow manage to include code that wipes my entire User folder, so I run the projects in docker these days.

One criterium is that they include a upload/download functionality. Some students decide to do that by storing the files in the DB, other store it in an "uploads" folder.

The first one works fine in docker. The second one not so much. The java code refers to a path "sourceroot/uploads", but that doesn't exist in the docker container. How can I make it exist in the docker container?

This is the DOCKERFILE I use to docker build -t image .

FROM eclipse-temurin:17-jdk-alpine
VOLUME /tmp
EXPOSE 8080
EXPOSE 5432
COPY target/*.jar application.jar
ENTRYPOINT ["java", "-jar", "application.jar"]

This is the yaml I use to run docker compose up -d

version: '2'

services:
  app:
    image: 'image'
    ports: 
        - "8080:8080"
    container_name: app
    depends_on:
      db:
        condition: service_healthy
    environment:
      - SERVER.PORT=8080
      - SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/testing
      - SPRING_DATASOURCE_USERNAME=postgres
      - SPRING_DATASOURCE_PASSWORD=postgres
      - SPRING_JPA_HIBERNATE_DDL_AUTO=create-drop
          
  db:
    image: 'postgres:13.1-alpine'
    ports:
      - "5432:5432"
    expose: 
      - "5432"
    container_name: db
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_HOST_AUTH_METHOD=trust
      - POSTGRES_DB=testing
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 10s
      timeout: 5s
      retries: 5
  

networks:
  default:
    name: docker

I'm sorry if this code offends anybody. I've made this Frankenstein's monster myself from bits and pieces. However, I can't seem to figure out how to add a working "uploads folder" to it that could be used by the springboot application inside the container. Any help would be appreciated.

 

(Graphical) IDE's are great for development, but they're slow to start and heavy to run. Sometimes you just want to take a quick look at an xml or dockerfile and you don't want to spin up the whole IDE for that.

I've recently rediscovered notepad++ for that (on windows), what's your prefered easy-acces-tekst-editor?

 

He is not a hobbit, neither a man, but what is he? Is he a dwarf? A wizard? A god? Something else entirely?

 

Hi lemmy, You all probably kniw about https://adventofcode.com/

I would love to do that with some students of mine. Only thing is, I'm not very good at it, so I can't always figure out what the underlyong principles are.

Is there a place where someone (website, blog, github, erc), much better than I, explains each puzzle, how it's solved, which algorithm is used, what underlying principles you can learn from this?

 
 

I want to unlock the ability to view content on my mobile device. I can do that with a one-time purchase (payed with google opinion rewards) or with a subscription. I want to unlock the ability for my entire family though, across multiple devices. Do I have to pay the "one-time payment" for every device? If so, the plex subscription might be worth it. Is there any other major benefit to having a plex subscription?

view more: ‹ prev next ›