abbadon420

joined 2 years ago
[–] abbadon420@lemm.ee 11 points 1 week ago* (last edited 1 week ago) (4 children)

The emphasis on nothing, makes me think there is something to be afraid of. What are you hiding?!

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

He's so pure, his family's genes have been pure for 5 generations.

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

Billionaires also suffer. It's an unrecognised mental illness. They sacrifice everything for the pursuit of money, friends, family, happiness. They are a danger to themselves and others. The problem is the illness enables them to buy off any legal or medical consequences. Money is power, but in this case that means power goes to the insanitarium.

[–] abbadon420@lemm.ee 2 points 1 week ago

Saved by a technicality

[–] abbadon420@lemm.ee 5 points 1 week ago

Nice, that's what unions are for. A genrous game budle is a nice uplifting gesture for a one-day strike. The next strike might get even more participants.

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

You can tell if someone will be shocked by this news or not by whether they unironically call it AI or whether they call it an LLM. It's not a fool proof method, but it siffs out the masses.

[–] abbadon420@lemm.ee 9 points 1 week ago

Yeah, it's not called "tweaser", it's "crispr"

[–] abbadon420@lemm.ee 5 points 1 week ago

What a cute looking thing and sounds like its capabilites are very impressive too

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

You fail to picture the constant smell of sweaty teenagers in the classroom

[–] abbadon420@lemm.ee 4 points 1 week ago

United Federation of Planets

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

I don't know, but I'm still salty about Israel being in Eurovision

[–] abbadon420@lemm.ee 2 points 1 week ago

"Just the tip"

 

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?

 

I got pranked with this website: https://updatefaker.com/

I recently switched from manual labor to office labour and learned the hard way to lock my screen :)

In hindsight it was hilarious, but I waited for maybe 20 minutes before I got suspicious. How can I take revenge?

view more: ‹ prev next ›