Fork me on GitHub
#clojure-europe
<
2023-03-02
>
ray08:03:00

Good morning

❤️ 2
ray08:03:20

I've posted a similar shot recently but took another few and am finally happy with this one 🙂

simongray08:03:39

we’re closing in on 3 months of work for our IT department to create 1 tiny virtual server and two DNS records. They managed to set up the server a couple of days ago, but those two DNS records I specified sure are difficult for them to implement. Me: I would like the hostname and a subdomain wildcard to both point directly at the server’s IPv4 address. IT Department: slaps hood of server best I can do is set the www subdomain to point at the server and leave the hostname itself pointing at a random location.

borkdude08:03:54

Isn't being able to read precisely also a form of incompetence? ;)

simongray08:03:24

perhaps… or maybe just a lack of reading glasses

ray08:03:59

back in the day you could sit next to people and help them to get it right, or you could pick up a phone to your mate. Now that we have everything based on tickets for "productivity" it's harder to maintain empathy on all sides.

☝️ 4
simongray08:03:25

yes, so much this

borkdude08:03:38

I get this a lot with a pharmacy I order medicines via my house doctor. They always get some amounts wrong or leave things out

🙁 4
simongray08:03:50

@U04V5V0V4 and the worst part is that the old days was 2020 in this place, but they centralised it right after I started working here

borkdude08:03:41

Sometimes a phone call works better than e-mail

borkdude08:03:00

Or sending a fax

😂 2
🇩🇪 4
simongray08:03:13

this isn’t Germany

🥲 2
simongray08:03:47

I tried calling them, but you just get a receptionist that says “oh yes, they are very busy, I’ll tell them to get on it”

ray08:03:37

indeed - pretty terrible. Zoom etc. is probably the best you can hope for

borkdude08:03:49

you need to get a hold of the name of the person within that department that messed up, so you can directly call them instead of new issues being shifted to different people all the time

ray08:03:32

but everything is micro-measured these days. Well everything except actual success,

💹 2
simongray08:03:33

It’s always the same person, they just hide behind the ticket system 🙂 that’s why I’m suspecting a lack of reading glasses

simongray09:03:00

I’ll try calling him directly…

2
👌 2
simongray11:03:40

Zoom call has been scheduled!

🎉 4
simongray13:03:37

DNS has been reconfigured, waiting for the changes to propagate, but it seems like the saga is finally over! 😮

2
👌 4
lread13:03:46

humans, eh? amiright?

simongray14:03:28

can’t live with ’em, can’t live without ’em

simongray08:03:50

but really the main issue isn’t that they are incompetent, it’s that they only skim the information I send them, so they keep getting it wrong.

simongray08:03:15

</end of rant>

simongray09:03:17

Yesterday's cargo bike adventure

❤️ 24
reefersleep09:03:28

Looks like a fun outing!

simongray09:03:53

It was 😊

simongray09:03:00

We also went on an adventure the day before

reefersleep09:03:58

My girlfriend found out via her “moms-who-gave-birth-at-around-the-same-time” group on Facebook that apparently, our son has big feet. He uses size 25. What size does Isak wear? His shoes seem much smaller than Rumle’s.

reefersleep09:03:20

That made me realise I miss the water bodies of Copenhagen!

❤️ 4
simongray09:03:36

I think it's 26... he's enormous, maybe that's why his feet seem small.

reefersleep09:03:45

I mean, we’ve got the fiord here, and also beaches, but it’s all a bit far away

reefersleep09:03:52

hahaha that’s great

reefersleep09:03:14

The proportions are the other way around with Rumle 🙂

😁 2
simongray09:03:27

Come visit in the summer? We can hang out

reefersleep10:03:01

Would be fun :hugging_face: but, considering that I just said no yesterday to a family birthday which is held nearby because it would be too much for us to handle, then comparatively, visiting Copenhagen is still far off in the future for me 😓

👍 2
reefersleep10:03:48

Good morning!

simongray14:03:17

I have a .WAR file. I just want to run a web service on some port N. What is the shortest path there? I currently have a misbehaving Tomcat server which insists that my web service should be returning 403 no matter what.

simongray14:03:14

something so simple should not be so hard to figure out…

simongray14:03:29

can I use Clojure to deploy a .WAR?

simongray14:03:03

I have googled and googled and read so many XML documents and log files over SSH that my hands have cramps from

orestis14:03:23

Are you producing the war file?

simongray14:03:39

I guess, technically. It is some leftover code that I own now.

simongray14:03:57

a fork of someone else’s code created by my predecessor

orestis14:03:32

Last time I dealt with war files you just dropped them into a specific directory and restarted tomcat. That was almost 20years ago though…

simongray14:03:05

yes, this is still the process, yet Tomcat insists that this webapp is forbidden 403 no matter what…

orestis14:03:14

So it’s not a matter of using Clojure, war files should be standalone and deployed via a servlet container.

simongray14:03:00

sure… but I’m not having any luck with that… maybe I should try with a fresh tomcat install

borkdude14:03:01

uberwar sounds wrong...

😅 2
orestis14:03:03

Anything in the logs?

orestis14:03:28

(No expertise at this point, just a talkative rubber duck)

simongray14:03:40

nothing really… a bunch of warnings due to some cache stuff that isn’t properly configured

simongray14:03:27

I think I’ll just try setting up a fresh Tomcat on my own machine or something…

orestis14:03:30

Is that tomcat on your local machine or on a production server?

simongray14:03:01

some time in the future; “and is that tomcat in the room with us right now?

orestis14:03:12

Hahaha I was thinking the same thing

😁 2
orestis14:03:47

Have you ever seen this war file successfully deployed? Does it make sense to upload a hello world war file to rule out application misconfiguration?

simongray14:03:53

yes, it used to work

simongray14:03:13

but so much shit is running on that server, so who knows what broke what

orestis14:03:21

Aaaah a pet server

simongray14:03:54

just old school sysadmin stuff… a big server running 100 services set up over a decade or two

borkdude14:03:29

I have such a VPS...

😅 2
simongray14:03:49

but you’re probably the only one running stuff on it, though

simongray14:03:03

this is being accessed by maybe 5-6 people regularly

simongray14:03:00

thanks for rubberducking. I think I will take the rest of the day off.

orestis14:03:35

A local tomcat server should be easy to setup though, just to restore your sanity

2
simongray08:03:10

BTW I did manage to debug it with a local Tomcat server! The issue turned out to be that the Tomcat “web app” depended on an older version of an API than what we have running on our production server. This is all open source code so I really shouldn’t complain, but those devs do love to rewrite everything every single year for no apparent reason… Anyway, the reason the Tomcat web app and its API are out of sync is that the guy who wrote the web app portion has fallen ill (long-term) so it is completely unmaintained. Their devs solved the issue by running multiple versions of the API which is probably what I will be doing too.

orestis14:03:09

Does it work if you access directly from the server?

orestis14:03:14

SSH in and curl

simongray14:03:21

that’s the strange part

simongray14:03:50

it’s being reverse proxied by nginx, but even when I curl the local web service I get 403 and some standard tomcat error message

simongray14:03:29

but I’ll look into it tomorrow… now my brain needs a reset

simongray08:03:10

BTW I did manage to debug it with a local Tomcat server! The issue turned out to be that the Tomcat “web app” depended on an older version of an API than what we have running on our production server. This is all open source code so I really shouldn’t complain, but those devs do love to rewrite everything every single year for no apparent reason… Anyway, the reason the Tomcat web app and its API are out of sync is that the guy who wrote the web app portion has fallen ill (long-term) so it is completely unmaintained. Their devs solved the issue by running multiple versions of the API which is probably what I will be doing too.