abbadon420

joined 2 years ago
[–] abbadon420@lemm.ee 19 points 3 weeks ago

That's all there is to it

I feel personally attacked. I identify myself with these memes.

[–] abbadon420@lemm.ee 2 points 3 weeks ago (1 children)

I never saw the movie, but I can accept mediocre for the book. I thought it was a fun take aliens and alternative history. The writing style is a bit like a morally superior american, but I can read past that (...I guess, because I completely forgot that part).

[–] abbadon420@lemm.ee 17 points 3 weeks ago (1 children)

What happens if you put it back into the drawer and forget about it? Asking for a friend

[–] abbadon420@lemm.ee 3 points 3 weeks ago

We'll remember this once the tribunals begin

[–] abbadon420@lemm.ee 5 points 3 weeks ago (11 children)

Battlefield earth is unironically good though

[–] abbadon420@lemm.ee 3 points 3 weeks ago

It's all fun and games until someone gets neutered

[–] abbadon420@lemm.ee 18 points 3 weeks ago

The name is Bond, James Bond

[–] abbadon420@lemm.ee -2 points 3 weeks ago

Your example doesn't relate to my comment at all. You're comparing apples and oranges

[–] abbadon420@lemm.ee 5 points 3 weeks ago

History repeats

[–] abbadon420@lemm.ee 5 points 3 weeks ago (1 children)

Perfection is the enemy of progress

[–] abbadon420@lemm.ee -4 points 3 weeks ago (2 children)

You're saying there is no unifying, collective sentiment on this community against anything to do with Trump or MAGA people? You're saying that people who favor Trump are welcome here? That there is even room for discussion?

I'm saying there's a definite hivemind on this community. It's objectively better than the MAGA hivemind, of course, it's barely comparable. But it's funny to see it unfold in a thread like this. In a sad kind of way though, a way where it shows that the country is entirely black and white and polarized to the brink of civil war.

[–] abbadon420@lemm.ee -5 points 3 weeks ago (1 children)

Obviously. I know I'm bad with words, but what part of my comment makes you think I'm denying the stupidity?

 

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.

83
KVN (images5.alphacoders.com)
 
 

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?

 

I my case I would like Dutch dubbed disney movies.

 

I found out today that I can change my dns to acces 1337.to again. My ISP was blocking it. However, it works on chrome, but not on firefox. Why doesn't it work on firefox?

view more: ‹ prev next ›