IRC logs for #openttd on OFTC at 2022-05-25
⏴ go to previous day
02:29:29 *** Wormnest has quit IRC (Quit: Leaving)
02:41:17 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:08:54 *** wallabra_ has joined #openttd
03:10:39 *** D-HUND is now known as debdog
03:13:47 *** wallabra has quit IRC (Ping timeout: 480 seconds)
03:13:47 *** wallabra_ is now known as wallabra
04:05:17 *** virtualrandomnumber has joined #openttd
04:05:35 *** virtualrandomnumber has quit IRC ()
06:32:53 *** sla_ro|master has joined #openttd
06:40:31 *** _dp_ has quit IRC (Remote host closed the connection)
07:03:36 *** Smedles has joined #openttd
07:28:05 *** Vadtec has quit IRC (Quit: Vadtec was here....)
07:28:07 *** urdh_ has quit IRC (Remote host closed the connection)
07:31:41 *** Etua has quit IRC (Quit: Etua)
09:09:03 *** mikegrb_ has quit IRC (Remote host closed the connection)
09:09:08 *** mikegrb has joined #openttd
09:35:37 <TrueBrain> on one hand I am still amazed I can render industries in a browser .. on the other hand I am still amazed what andythenorth managed to do in the details of the sprites :P
09:44:13 *** WormnestAndroid has quit IRC (Remote host closed the connection)
09:52:06 <peter1138> Argh, I keep committing to main by mistake :/
09:55:21 <peter1138> Oh well, rename branch, create new branch where main should be...
09:56:20 * LordAro has flashbacks to it being done to work's svn repo... several times
10:09:57 <dwfreed> peter1138: git checkout -b new-branch; git checkout main; git reset --hard HEAD^ (add more ^ to go back further, or use ~<number of commits> instead, eg HEAD~3 goes back 3 commits)
10:12:44 <LordAro> without the -b you don't need the checkout
10:15:22 <dwfreed> -b is what creates the branch
10:15:30 <dwfreed> otherwise, sure, you could use git branch -c
10:15:54 <dwfreed> but I find checkout -b is easier to get right, and more common anyway
10:16:48 <LordAro> git branch new-branch; git reset --hard HEAD^
10:35:20 *** Webster has joined #openttd
10:36:27 *** snail_UES_ has joined #openttd
10:57:31 *** WormnestAndroid has joined #openttd
11:19:40 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
11:20:13 *** WormnestAndroid has joined #openttd
11:41:29 <TrueBrain> owh git, the tool where you have 10000 ways to do the same thing
11:41:30 <TrueBrain> and they all suck :P
11:58:08 <peter1138> dwfreed, rename is easier and less error prone than git reset --hard
12:00:00 <peter1138> Too easy to wipe out changes you forgot about with that.
12:03:46 <Eddi|zuHause> you really notice that git was designed by "hackers"
12:15:28 <dwfreed> peter1138: that's why there's the reflog
12:15:55 <peter1138> Always a last resort for me.
12:16:10 <peter1138> And uncommitted changes won't be in it.
12:22:07 <dwfreed> git reset --mixed would not cause you to lose uncommitted changes
12:22:26 <dwfreed> (mixed preserves working tree changes)
12:29:10 <peter1138> Meanwhile, I did it my way hours ago :)
12:29:39 <TrueBrain> he did it hiiiiisssssssss way
12:29:46 <TrueBrain> tnx for putting that song in my head
12:32:26 <TrueBrain> its okay; I like you anyway :P
12:34:01 *** snail_UES_ has quit IRC (Quit: snail_UES_)
12:34:20 <TrueBrain> this auto-commit to GitHub is freaking annoying for testing :D Lolzzz ... so often I do something crazy to make sure it doesn't break anything .. and it gets committed to GitHub .. and now I have to do effort to restore the correct information again ..
12:34:34 <TrueBrain> but in production people would be much appreciative of it .. so I guess it is fine
12:35:08 *** snail_UES_ has joined #openttd
12:36:50 <TrueBrain> I wonder if I can make CTRL+Z work based on the GitHub history .. that would be crazy
12:36:51 <TrueBrain> FOCUS TRUEBRAIN, FOCUS FFS
12:36:55 <TrueBrain> finish this first :P
12:42:23 *** snail_UES_ has quit IRC (Quit: snail_UES_)
13:37:47 <TrueBrain> okay ... restored the ability to change layouts, and made it a bit more robust while at it .. now all that is left is editing of tiles
13:37:56 <TrueBrain> I have all the things in place, so should be relative easy .. but first, some shopping :)
13:59:39 *** HerzogDeXtEr has joined #openttd
15:27:15 *** frosch123 has joined #openttd
15:31:24 *** wallabra has joined #openttd
16:32:40 *** Smedles has joined #openttd
16:53:15 *** ChanServ sets mode: +v tokai
17:00:09 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
17:55:52 *** Wormnest has joined #openttd
18:14:43 *** gelignite has joined #openttd
18:34:04 <peter1138> Json api where a value is can be string or numeric, and system.text.json doesn't support that out of the box :o
18:44:12 <Samu> We no longer support Visual Studio 2019. For the latest features, upgrade to Visual Studio 2022. Install
18:44:43 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
18:51:41 <DorpsGek> - Update: Translations from eints (by translators)
19:06:09 <glx> you can ignore the message Samu
19:06:39 <Samu> too late, just installed 2022
19:24:52 <peter1138> Embrace, Extend, Extinguish.
19:25:03 <peter1138> What a twat that guy turned out to be...
20:02:44 *** Etua has quit IRC (Quit: Etua)
20:16:08 *** sla_ro|master has quit IRC ()
20:56:12 *** m1cr0man has quit IRC (Quit: G'luck)
20:56:49 *** m1cr0man has joined #openttd
20:59:59 *** m1cr0man has joined #openttd
21:29:40 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
21:38:53 <Eddi|zuHause> "string or numeric" sounds like a very php thing
21:51:17 *** Samu has quit IRC (Quit: Leaving)
21:54:54 *** nielsm has quit IRC (Ping timeout: 480 seconds)
22:31:32 *** Tirili has quit IRC (Quit: Leaving)
22:41:41 *** snail_UES_ has joined #openttd
22:42:00 *** Etua has quit IRC (Quit: Etua)
23:20:56 *** snail_UES_ has quit IRC (Quit: snail_UES_)
continue to next day ⏵