IRC logs for #openttd on OFTC at 2024-07-14
            
00:28:50 *** esselfe has quit IRC (Server closed connection)
00:29:38 *** felix has quit IRC (Server closed connection)
00:29:39 *** felix has joined #openttd
01:06:17 *** gelignite has quit IRC (Quit: Stay safe!)
01:33:22 *** mindlesstux has quit IRC (Server closed connection)
01:33:28 *** mindlesstux has joined #openttd
01:48:26 <DorpsGek> [OpenTTD/OpenTTD] ivpravdin opened pull request #12858: Fix #12856, e17c82e: Updating network settings does not invalidate data https://github.com/OpenTTD/OpenTTD/pull/12858
02:08:58 *** Wormnest has quit IRC (Quit: Leaving)
02:32:53 *** debdog has joined #openttd
02:40:24 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
04:26:55 *** keikoz has joined #openttd
06:41:38 <truebrain> Wait, clients can make companies over the max? That would be another bug, whether the GUI allows it or not 😛
07:45:32 <truebrain> ugh, I hate cloud IaaS ... next issue I have, is that the CLI tooling only allows me to attach a new IPv4, not a new IPv6
07:45:34 <truebrain> as .. reasons?
07:46:01 <truebrain> I can however remove it
07:46:03 <truebrain> so that is helpful
07:47:53 <truebrain> owh, it just doesn't support the full syntax of IPv6 addresses or something odd 😄
07:47:54 <truebrain> lolz
07:47:57 <truebrain> funny guy
08:00:16 *** HerzogDeXtEr has joined #openttd
08:05:55 <truebrain> that moment the tool returns an error, and when searching for it, it returns zero results. Shows how many people have tried this 😄
08:17:47 *** gelignite has joined #openttd
08:20:23 *** kstar892[m] has quit IRC (Quit: Client limit exceeded: 20000)
08:33:45 <johnfranklin> lunch?
08:39:57 <merni> indeed
08:40:05 <merni> it was excellent
08:42:03 <andythenorth> truebrain: Should we buy a server? 😛
08:42:28 <merni> don't we have one already
08:42:37 <merni> you're likely typing from it
08:43:28 <truebrain> what can I say ... I like a challenge where an IaaS tells me: no, you can't do this .. and I find a nice way around it to still make it happen 😛 Just requires a ton of scripting, and figuring out how to do that scripting exactly
08:43:44 <truebrain> Blobs like these:
08:43:44 <truebrain> ```CIDR_BLOCK=$(oci-metadata --get "vnics/*/ipv6SubnetCidrBlock" --json | jq -r '.vnics[0].ipv6SubnetCidrBlock')
08:43:44 <truebrain> NODE_NUMBER=$(hostname | rev | cut -d- -f1 | rev | xargs -n 1 printf "%x")
08:43:44 <truebrain> PREFIX=$(echo ${CIDR_BLOCK} | sed "s@:/64@${NODE_NUMBER}::/80@")```
08:43:47 <truebrain> take about 1 hour to figure out 🙂
08:44:14 <truebrain> and knowing what it should read, makes it look so simple
08:44:19 <truebrain> but finding out that right commands .. ugh
08:44:28 <merni> you needed 2 rev in the same line 😆
08:44:48 <truebrain> `oci-metadata`for example has a parameter to get the raw value, but for some weird and undefined reason, it fails
08:44:54 <truebrain> so `jq` is needed to do that for you
08:45:28 <merni> truebrain: why can't all software be as reliable as openttd
08:45:56 <merni> no weird and undefined reasons here, only weird and defined reasons
08:46:38 <truebrain> in the case of `oci-metadata`, it feels more like nobody actually tested the parameter 😛
08:46:44 <truebrain> I can't find a sane way to get it to work
08:47:04 <truebrain> but this happens no matter what cloud provider I use btw .. there are always weird quirks in "wtf do they mean here?!"
08:47:12 <truebrain> hard to believe it is a billion dolar industry 😄
08:47:36 <merni> and it seems like the last update in their github was 2 years ago https://github.com/oracle/oci-utils/tree/master
08:47:45 <merni> *commit
08:47:59 <truebrain> lol
08:48:02 <truebrain> that is just funny (and bad)
08:48:16 <merni> only 5 issues ever :)
08:48:17 <truebrain> owh, their `--output-mode json` is funny too
08:48:34 <truebrain> it outputs a JSON blob per thing that the command was doing
08:48:38 <truebrain> so you don't get a single JSON statement
08:48:40 <truebrain> but multiple
08:48:59 <truebrain> like, if you say you are going to do JSON .. DO JSON! ffs ..
08:53:29 <merni> https://github.com/oracle/oci-utils/blob/master/lib/oci_utils/impl/oci_metadata_main.py they do not seem to check the `--human-readable` argument at all...
08:53:46 <truebrain> and that is the software I am dealing with 😉
08:54:22 <merni> Good luck :p
08:54:35 <truebrain> almost there, I think
08:55:03 <truebrain> instances now create their own /80 IPv6 range, instead of the "auto-assign /128 of OCI"
08:55:11 <truebrain> now I just need to announce the routes in all the routing tables ..
08:57:24 *** gelignite has quit IRC (Quit: Stay safe!)
08:57:28 <truebrain> and the worst part, I forgot to buy something nice for lunch today
08:57:32 <truebrain> and all shops are closed
08:57:35 <truebrain> the horror
08:58:44 <merni> how quaint
09:01:31 <truebrain> `For example, --wait-for-state SUCCEEDED`
09:01:35 <truebrain> ` Accepted values are: AVAILABLE, PROVISIONING, TERMINATED, TERMINATING`
09:01:39 <truebrain> good job documentation! GOOD JOB!
09:01:57 <merni> 😆
09:03:41 <merni> merni: Also I love that this code has a commented-out import statement
09:04:04 <merni> And comments like ```
09:04:04 <merni> Display the metadata.
09:04:04 <merni> Parameters
09:04:04 <merni> ----------
09:04:04 <merni> metadata :
09:04:06 <merni> The metadata structure.
09:04:06 <merni> Returns
09:04:08 <merni> -------
09:04:08 <merni> No return value.```
09:05:36 <truebrain> BuT yOu ToLd Me To DoCuMeNt EvErY fUnCtIoN
09:15:17 <truebrain> and the next odd thing .. I can update one route-table, but I cannot update the other
09:15:20 <truebrain> why? WHO KNOWS
09:15:27 <truebrain> `NotAuthorizedOrNotFound`
09:15:29 <truebrain> helpful
09:15:51 <merni> Computer says no.
09:16:07 <truebrain> basically
09:16:13 <truebrain> but it works on 2 of the 4 routes
09:16:16 <truebrain> but not on the other 2
09:16:19 <truebrain> like .. huh?
09:17:21 <truebrain> okay, after some poking .. the actual error? `Intra-subnet/vlan rule is not supported`
09:17:30 <truebrain> but I didn't have permissions to see that error 😛
09:28:25 <truebrain> grrr, all this work, to fail on a tiny thing I didn't test in this way yesterday .. I so hate this 😛
09:29:52 <truebrain> so I can make an IPv6 prefix available to the Internet, to any other subnet in my cloud, but NOT to the same subnet it is in
09:29:53 <truebrain> wth .. lol
09:30:45 <truebrain> `Intra-subnet routing is not supported. Traffic with a destination IP address in the same subnet as the originating VNIC is forwarded (not routed) directly to the appropriate destination.`
09:30:45 <truebrain> LIES!
09:30:46 *** nielsm has joined #openttd
09:46:44 *** gelignite has joined #openttd
09:52:33 <truebrain> and found a work-around for that .. this is getting a bit complicated 😄 But, I can now reach my IPv6 prefix from all machines and from outside .. so I have that going for me 🙂 Now to actually script the new solution ... "fun" 🙂
10:34:06 *** Flygon has joined #openttd
10:48:26 <_glx_> Looks painful
11:45:15 <truebrain> ```# oci-network-config show-vnics-all --output-mode json
11:45:15 <truebrain> An unexpected error occurred: '10.0.224.17'```
11:45:18 <truebrain> the gift that keeps on giving
11:47:41 <michi_cc> Being cheaper than AWS has to come from somewhere, right?
11:51:41 <truebrain> owh, make no mistake .. AWS was a similar terrible experience
11:52:21 <truebrain> AWS had shit like: their API endpoints are IPv4-only, but you have to pay for an IPv4
11:52:31 <truebrain> like, possibly the best way to keep yourself in business
12:08:08 *** Leopold_ has joined #openttd
13:18:26 <truebrain> okay ... nearly got it working. Just I can't seem to automatically attach a second network interface to the VMs .. which is a bit odd 😛
13:18:34 <truebrain> something for another day!
14:33:19 *** gelignite has quit IRC (Read error: Connection reset by peer)
15:03:43 *** gelignite has joined #openttd
16:05:11 <peter1138> Moo
16:07:53 <andythenorth> Quak
16:26:00 <truebrain> done cycling? 😄
16:34:22 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
16:34:37 *** Smedles has joined #openttd
17:08:11 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #12859: Codechange: Remove unused size field from struct SaveLoad https://github.com/OpenTTD/OpenTTD/pull/12859
17:11:34 <truebrain> `The sizeof size`, what an awesome description 😄
17:12:20 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12859: Codechange: Remove unused size field from struct SaveLoad https://github.com/OpenTTD/OpenTTD/pull/12859#pullrequestreview-2176688982
17:21:01 <peter1138> Well
18:20:06 *** Wormnest has joined #openttd
18:27:59 *** gelignite has quit IRC (Read error: Connection reset by peer)
18:30:39 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #12859: Codechange: Remove unused size field from struct SaveLoad https://github.com/OpenTTD/OpenTTD/pull/12859
18:30:40 *** gelignite has joined #openttd
19:41:05 <peter1138> LordAro, that stage today
20:33:39 *** chucky76 has joined #openttd
20:33:39 <chucky76> Hi! I got a malfunction with screenshot command at dedicated server. Is there a code change between 13.4 and 14.0 / 14.1? which commit? Note: always disabled the "if _dedicated.." line at window.cpp . In 13.4 it works.
21:03:43 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:11:02 *** D-HUND has joined #openttd
21:14:24 *** debdog has quit IRC (Ping timeout: 480 seconds)
21:29:56 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
21:38:58 *** gelignite has quit IRC (Quit: Stay safe!)
21:43:57 *** tokai|noir has joined #openttd
21:43:57 *** ChanServ sets mode: +v tokai|noir
21:50:49 *** tokai has quit IRC (Ping timeout: 480 seconds)
22:27:39 *** keikoz has quit IRC (Ping timeout: 480 seconds)