« first day (3655 days earlier)      last day (1294 days later) » 

12:00 AM
/earth: file system full. (source)
 
12:25 AM
Not too sure if this is the best room to ask this question. I am struggling to work out what would be the best way to dockerize a multi-module maven project where the are 3 sub modules. A client, a server and a common project. The common contains interfaces that both the server and the client access. I currently have been using the parent maven to compile everything at once and move the packages over to the Docker containers afterwards.
I wanted to know if I should really be using multistage docker builds but feel that this would require me to compile the common package twice. Any help or guidance would be greatly appreciated! :)
 
 
6 hours later…
6:25 AM
twiddles thumbs
 
7:17 AM
@cookies what you should do is consider that the server module is unrelated to the common module
the common module is just one of its libraries
the server module will have all the logic of building the final package and sending it to docker
the common and client modules are just sent to a maven repository
this is how I set up my containerized projects
(although, I dont use docker, I use serverless as target)
in my case, the parent pom has:
- the <modules> node (obviously)
- the <properties> node (because then the properties are all in the same place)
- a <dependencies> node (containing default packages, such as kotlin-stdlib and junit packages in my case)
- the <distributionManagement> node (because I send stuff to a maven repo)
- a <build> node (for compiling with docs and sources and compiling kotlin)
the client and shared modules only need:
- the <parent> node (obviously)
- a <dependencies> node (with their own dependencies)
the server module, in addition to the above, also has:
- a <build> node (in my case with maven-shade-plugin to create the final jar)
 
 
5 hours later…
12:00 PM
In AD 8th-century Japan, sushi was so highly prized that people were allowed to use it to pay taxes. (source)
 
12:41 PM
Switch expressions are really nice
No need to make a separate method with returns for each case anymore
 
1:11 PM
Hello! Do you use HashTable and Hashmap alot for programming of tree? ...I am good in c++ but, I'm having hard time coding for tree.
 
@Shadow Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
Zoe
/javadoc TreeMap
 
Ohh Yeah, i have seen java users using treemap a lot
 
 
6 hours later…
7:07 PM
Cool!
curl 'https://realm.mongodb.com/api/client/v2.0/app/covid-19-qppza/graphql' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"query {countries_summary {_id combined_names confirmed country country_codes country_iso2s country_iso3s date deaths population recovered states uids}}"}'
 

« first day (3655 days earlier)      last day (1294 days later) »