IRC logs for #openttd on OFTC at 2018-01-25
            
00:10:34 <Samu> do i still need tortoise svn? i'm slightly confused yet
00:11:24 *** alluke has quit IRC
00:11:42 <Samu> i can't apply patches anymore. guess i need tortoise svn after all
00:13:19 *** Thedarkb has joined #openttd
00:21:05 *** Gustavo6046 has quit IRC
00:24:29 *** Gustavo6046 has joined #openttd
00:25:16 *** ToBeFree has joined #openttd
00:26:40 *** Flygon has joined #openttd
00:27:11 <Mahjong> how curious, I had to close my server so I saved it, then reloaded, and all my Z1s had another two carriages duplicated onto the end of them
00:28:42 <Eddi|zuHause> did you use autoreplace?
00:29:25 <Mahjong> might have been that actually come to think of it yeah
00:30:37 <Mahjong> I guess "wagon removal" needs to be on to keep it the same length
00:30:41 <Mahjong> I didn't see that aoption
00:31:14 <ST2> hooorray, Eddi|zuHause solved another case ;)
00:31:30 *** sim-al2 has quit IRC
00:31:46 <Samu> hi
00:31:58 <Samu> do you tortoise hg?
00:31:59 <ST2> morning :)
00:32:05 <ST2> nah, SVN
00:32:12 <ST2> while it still works ^^
00:32:20 <Samu> ok, i still dunno how to make this work
00:33:06 <ST2> we have our own repo's on BTPro, and all are SVN based, for years
00:34:10 <ST2> well, guess we took the "easy" way at the time xD
00:45:11 *** john-aj has quit IRC
00:48:01 <Samu> i fail at understanding the purpose of this program
00:49:09 <Samu> how do i delete a revision?
00:49:49 <Samu> i created a 22740 and a 22741, while openttd is still at 22739
00:49:59 <Samu> i just dont get this program
00:58:02 *** Biolunar has quit IRC
00:58:31 <LordAro> Samu: there are ways to delete revisions
00:58:39 <LordAro> what you've done is make a local commit
00:58:55 <LordAro> you can't make a remote commit, obviously, as you're not a dev
00:59:28 <LordAro> Samu: i'll give you a hint: the first result for googling "hg delete commit"
01:00:02 <LordAro> there's even a tortoisehg answer
01:01:21 <LordAro> (also, just so you get the terminology right, "mercurial" is the name of the VCS ("svn" is a different VCS), "hg" is the command you use to operate on a repo controlled by mercurial, and "tortoisehg" is a gui frontend to "hg")
01:03:51 *** HerzogDeXtEr has quit IRC
01:04:42 <Samu> hg delete commit
01:05:21 <LordAro> irc is not google
01:20:40 <Samu> i have a better way to deal with this
01:20:54 <Samu> send to recycle bin, restart from 0
01:24:19 *** Supercheese has quit IRC
01:26:05 <LordAro> that's decidedly not a better solution
01:26:11 <LordAro> but sure, whatever
01:27:28 <Samu> yeah google results is use strip or whatever extension command line crap, while I installed a gui program... no thx
01:27:40 <LordAro> try harder
01:27:51 <LordAro> like, for more than 30s
01:28:06 <Samu> brb 2 min
01:28:15 <ST2> open a cmd, format C:, yes
01:28:16 *** Samu has quit IRC
01:28:25 <ST2> always works on cleaning stuff ^^
01:28:46 <LordAro> would be ultimately more productive
01:28:50 <LordAro> anyway, bedtime
01:28:58 <ST2> night :)
01:30:35 *** Samu has joined #openttd
02:01:05 *** Gustavo6046 has quit IRC
02:05:14 *** Samu has quit IRC
02:09:39 *** FLHerne has quit IRC
02:34:45 *** ToBeFree has quit IRC
03:13:07 *** sim-al2 has joined #openttd
03:52:10 *** sim-al2 has quit IRC
03:53:27 *** sim-al2 has joined #openttd
04:02:39 *** Feuersalamander has joined #openttd
04:03:30 *** grossing has quit IRC
05:02:13 *** glx has quit IRC
05:04:30 *** Cubey has quit IRC
05:16:40 *** Mahjong has quit IRC
05:18:05 *** Mahjong has joined #openttd
05:47:54 *** Supercheese has joined #openttd
07:19:27 *** Thedarkb has quit IRC
07:28:27 *** sim-al2 is now known as Guest2663
07:28:29 *** sim-al2 has joined #openttd
07:32:29 *** Guest2663 has quit IRC
07:46:24 *** Thedarkb has joined #openttd
07:48:31 *** sla_ro|master has joined #openttd
07:53:05 *** Breckett has joined #openttd
08:18:04 *** Biolunar has joined #openttd
08:21:03 *** sla_ro|master has quit IRC
08:33:31 *** sim-al2 has quit IRC
09:29:11 *** Supercheese has quit IRC
09:33:53 *** Supercheese has joined #openttd
09:38:07 <debdog> is there a way to view game settings for the scenario used in OpenTTD's splash screens? in this case the physics settings of the 1.7.x versions
09:38:50 <debdog> or, ideally, a .sav file of that scenario.
09:39:57 <LordAro> debdog: openttd.dat(?) is just a renamed .sav file
09:40:19 <LordAro> rename it, open it, look at it
09:42:14 <debdog> ahh, neat
09:44:21 <debdog> hum where would I find this file on linux?
09:44:55 <debdog> find /usr -iname openttd.dat returned nothing
09:45:48 <debdog> some for ~/.openttd
09:45:51 <debdog> *same
09:46:12 <debdog> no hit either: https://packages.debian.org/search?searchon=contents&keywords=openttd.dat&mode=exactfilename&suite=oldstable&arch=any
09:46:49 <LordAro> that is a good question
09:47:35 <debdog> hehe
09:48:07 <debdog> mayhap the fille's name changed over time
09:48:12 <LordAro> https://packages.debian.org/jessie/all/openttd-data/filelist
09:48:28 <LordAro> nah, openttd hasn't changed significantly in years :p
09:49:04 <LordAro> ah, opntitle.dat
09:49:10 <LordAro> my bad, misremembered
09:49:34 <debdog> opntitle.dat
09:49:36 <debdog> hehe
09:51:26 <debdog> cool, that worked. thanks!
09:55:29 *** Breckett has quit IRC
09:55:44 *** Breckett has joined #openttd
10:14:46 *** rellig has joined #openttd
10:40:37 *** Biolunar has quit IRC
10:53:38 *** FLHerne has joined #openttd
11:07:32 *** tokai|noir has joined #openttd
11:07:33 *** ChanServ sets mode: +v tokai|noir
11:13:57 <Cadmus> Hello, I've started a server for some friends, but haven't played in a very long time. Could someone recommend some GRFs for road, rail, and sea that go to the near future? AV8 (or its successor) already has me covered for air.
11:14:29 *** tokai has quit IRC
11:16:05 *** Samu has joined #openttd
11:16:31 *** john-aj has joined #openttd
11:16:55 <peter1138> NUTS
11:19:15 <Alkel_U3> I'd still recommend eGRVTS for road. SQUID for waterways and either Pineapple / Iron horse for rail if you want something "like original but different/better" or NUTS if you want... to go nuts with it :-)
11:19:54 <Samu> hi
11:21:33 *** funnel has quit IRC
11:22:39 *** FLHerne has quit IRC
11:24:47 <debdog> haha "Features lickable pixels..."
11:25:06 <debdog> FISH ship set 0.9.2 Description
11:25:19 *** funnel has joined #openttd
11:26:24 <debdog> prolly keep some glass cleaner handy
11:27:00 <debdog> *at hand
11:29:59 *** Supercheese has quit IRC
11:34:25 *** iSoSyS has joined #openttd
11:39:09 *** Breckett has quit IRC
11:44:47 <Cadmus> Thanks folks. I'll take a look at them, I guess with a lot of these sets you have a much earlier start (1899?), so a longer game even if you stop at 2020 or 2030
11:50:59 *** Mike has joined #openttd
11:51:04 <Cadmus> I thought SQUID supersed FISH now?
11:51:17 *** Mike has quit IRC
11:51:19 <Samu> i fail at understanding what a repository is for
11:52:41 *** Flygon_ has joined #openttd
11:52:53 <LordAro> Samu: so you get how all the "commits" that are stored on the svn server? with hg/git (and other "distributed" version control systems (DVCS)), this copy of the commits is stored on your computer, as opposed to just a central server
11:53:36 <LordAro> this allows you to make a separate set of commits/changes
11:53:45 <LordAro> which i think was your original goal
11:55:10 *** Flygon has quit IRC
11:57:36 <Samu> what i'm trying to do is, create multiple patches in a sequence. First patch is against last trunk revision, currently r27967
11:57:45 <Samu> Second patch is against my own patch
11:57:57 <LordAro> yes
11:57:59 <Samu> but i only able to patch against r27967
11:58:06 <LordAro> with svn, yes
11:58:26 *** crem2 has joined #openttd
11:58:40 <LordAro> but with hg, you can create your own commit "r27968" (hg doesn't use revision numbers, but it's effectively the same thing)
11:58:45 <LordAro> and then apply another commit to that
12:00:08 *** crem1 has quit IRC
12:00:08 <Samu> kdiff3 looks so ugly in comparison with tortoise diff
12:01:42 <Samu> what happens when the real central openttd updates to r27968? how am i update my own stuff to the new revision?
12:06:05 <LordAro> that's where it gets a bit tricky
12:06:14 <LordAro> but let's cross that bridge when we get to it :)
12:11:21 <Samu> Commit failed (details follow): Authorization failed
12:11:30 <Samu> i fail
12:11:32 *** FLHerne has joined #openttd
12:12:38 <Samu> commit to: svn://svn.openttd.org/trunk
12:12:48 <Samu> hmm this is not where I want to send my commits, or is it?
12:16:25 <LordAro> not that it'll work either way
12:16:43 <LordAro> but you don't want to send your commits anywhere
12:18:02 <LordAro> as in, don't "push"
12:23:17 <Samu> file:///D:/OpenTTD/trunkrepositorysvn/trunk
12:23:25 <Samu> this is my repository, it's emtpy :(
12:24:55 <Samu> file:///D:/OpenTTD/trunkrepositorysvn/branches
12:25:06 <Samu> file:///D:/OpenTTD/trunkrepositorysvn/tags
12:25:09 <Samu> all empty
12:25:10 <Cadmus> SVN *feels nauseous*
12:25:55 <Samu> no idea what I'm doing, really :( t.t
12:28:12 <Samu> "Subversion Repository" is what it says here
12:28:24 <Samu> wasn't is supposed to be mercurial?
12:30:58 <Samu> so confusing, it's "importing" to something that is local
12:31:12 <Samu> sec
12:39:37 <LordAro> i'm not sure why you're doing any importing
12:59:22 *** Breckett has joined #openttd
13:05:47 *** Breckett has quit IRC
13:07:20 <Samu> Commit failed (details follow): Authorization failed
13:07:29 <Samu> i fail... i fail... i fail!
13:07:40 <Samu> kill me!
13:09:39 <Samu> when i press OK, i get commit failed https://imgur.com/a/i1fac
13:09:49 <Samu> what am i doing wrong :|
13:15:14 <LordAro> Samu: ...that is svn
13:15:19 <LordAro> you can't commit with svn
13:15:43 <Samu> if i can't use svn, then how am I gonna create patches
13:16:35 <Samu> can i create patches with hg?
13:16:52 <LordAro> bingo
13:17:04 <LordAro> it's an alternative, not in addition to
13:17:06 <Samu> kdiff3 is an ugly mofo, btw :(
13:17:21 <Samu> that's what's included with hg
13:17:33 <LordAro> boohoo
13:17:40 <LordAro> it's a diffing tool
13:17:48 <LordAro> what does it matter?
13:18:10 <Samu> doesn't seem to let me edit
13:18:22 <Samu> but ok, i will retry with hg
13:18:57 <Samu> nevermind, i can't use the apply patch approach
13:19:44 <Samu> seems i gotta manually move 'aircraft_cmd.cpp' into the folder
13:21:00 <LordAro> well, it'll work
13:21:43 <Samu> sorry, i'll be lack later, when i'm more calm
13:21:52 <Samu> cya
13:22:28 *** Samu has quit IRC
13:43:04 *** Gustavo6046 has joined #openttd
14:07:15 *** Gja has joined #openttd
14:13:05 *** Samu has joined #openttd
14:16:09 *** iSoSyS has quit IRC
14:37:29 *** Gustavo6046 has quit IRC
14:37:53 *** Gustavo6046 has joined #openttd
14:37:59 <Samu> question, is it ok to ignore the .hgignore file?
14:38:31 <LordAro> for what you're doing, yes
14:39:09 <LordAro> (.hgignore is how the repo knows which files in the directories to not add to the repo)
14:39:17 <LordAro> (svn does it with file metadata instead)
14:40:49 <Samu> i've added a directory to the ignorelist, but then that made .hgignore to be modified
14:41:08 <Samu> ignoring the ignore sounds ... weird
14:41:24 <LordAro> oh, i see
14:41:29 <LordAro> which directory did you add?
14:41:42 <Samu> projects - Cópia
14:41:55 <Samu> a copy of projects, so i can open it on visual studio freely
14:42:05 <Samu> without bothering with changes in the real projects folder
14:42:05 <LordAro> oh, and that's inside your ottd checkout?
14:42:12 <john-aj> well, .hgignore is the file that holds the ignorelist, unless i misunderstand? so it should be modified
14:42:24 *** sim-al2 has joined #openttd
14:42:26 <LordAro> i'd probably want to move it outside the ottd checkout
14:42:53 <LordAro> you shouldn't add IDE/editor related files to ignorelists
14:43:04 <LordAro> they should be added to global/user specific ignore files
14:43:50 <Samu> okay.. wondering how i'm doing that without visual studio complaining
14:45:47 <Samu> global/user specific ignore files... hmmm ahem.. where is that
14:52:03 <LordAro> https://stackoverflow.com/questions/6644174/mercurial-globally-ignore-files
14:52:32 *** iSoSyS has joined #openttd
14:55:06 <Samu> oh wow, visual studio did not complain
14:55:22 <Samu> it only closed all my open tabs, but that's not much of a problem
14:56:02 <Samu> i wonder where it's dumping all those obs files now
14:56:13 <Samu> objs
14:56:50 <Samu> nevermind, it cannot build :)
14:57:24 <Samu> cannot open source file because... FU
14:57:28 <Samu> :(
14:57:39 *** Flygon_ has quit IRC
14:57:56 <Samu> so, let me see that username thing
15:00:35 <Samu> rebuilding solution, let's see if it can still do it
15:06:18 <Samu> Rebuild All succeeded
15:18:01 <supermop_work> good morniing
15:35:33 *** Breckett has joined #openttd
15:46:26 *** sim-al2 has quit IRC
15:50:49 *** Mavy has quit IRC
16:12:56 <Samu> i can't work this out LordAro :(
16:13:28 <LordAro> anything in particular, or just generally?
16:13:38 <LordAro> i can't really help you in the general case
16:13:46 <LordAro> you need to learn what you're doing for yourself
16:13:58 <Samu> i have this patch here
16:14:00 <Samu> https://bugs.openttd.org/task/6636/getfile/10877/aircraft%20nearest%20hangar%20fix%20v1%20r27930.patch
16:14:14 <Samu> apparently i need to split it into 3 commits or so I think
16:15:54 <Samu> this would be the first commit https://paste.openttdcoop.org/p5u9jypr5
16:16:27 <Samu> in essence, it changes nothing, but it prepares the code for what's to come
16:16:29 <LordAro> i'd question whether such a change should be split further, but do go on
16:17:25 <Samu> the 2nd would be this, but i can't manage to create a patch for it https://paste.openttdcoop.org/pwoeggskh
16:17:44 <Samu> i get rejected hunks
16:18:59 <Samu> only 1 hunk rejected, which is exactly what I want to patch
16:19:03 <LordAro> well, that'd be because it's not a patch file :p
16:19:12 <LordAro> however
16:19:31 <LordAro> can you create an hg commit with that first patch, on top of a "clean" trunk repo?
16:19:53 <Samu> yes, I mean, i think I did that
16:20:26 <Samu> yup, it commited on its own, but yes, it did ithat
16:20:31 <LordAro> excellent :)
16:20:43 <LordAro> now, you can make the second modification
16:20:59 <LordAro> it'll be easier for you to do this manually, since your patch isn't valid
16:21:02 <Samu> hold on, let me show u
16:21:20 <Samu> https://imgur.com/a/g937x
16:22:14 <LordAro> aye, that looks like commit 1 ( you can see the Rev value on the left)
16:22:24 <Samu> manually, that means type it in visual studio?
16:22:33 <LordAro> (it's offset from the svn revision number in the commit message for svn related shenanigans)
16:22:36 <LordAro> Samu: yeah
16:29:40 <Samu> ok, visual studio built it
16:29:48 <Samu> on workbench hg
16:29:52 <Samu> i do commit ?
16:30:25 <Samu> uhm,, no,
16:30:28 <Samu> diff to parent?
16:32:39 *** sla_ro|master has joined #openttd
16:33:50 <Samu> ah, i got something
16:34:15 <Samu> https://paste.openttdcoop.org/pzu5bb9wk
16:34:44 <Samu> that 3rd part shouldn' be there, but at least the first part isn't rejected anymore
16:35:16 <Samu> however, i got this in clipboard, not a patch file, doesn't it create patch files on its own?
16:36:45 <Samu> this feels so archaic, not intuitive at all
16:41:17 <Samu> KDiff3 - i fail to understand this program. It points out the differences between two files, but then doesn't let me save... what's wrong
16:42:58 <LordAro> it's different, not necessarily unintuitive
16:43:05 <LordAro> you should be able to commit again
16:43:10 <LordAro> once you've made the 2nd change
16:49:02 <Samu> ok i edited out the 3rd change from within visual studio, only kept the 2nd change, i clicked commit on workbench hg
16:49:21 <Samu> it forced me to enter a commit message
16:50:07 <Samu> https://imgur.com/a/AUird
16:50:46 <Samu> i get that diff at the bottom right, but I don't have a patch file of it :( it's just there in this workbench
16:51:59 <LordAro> i don't know tortoisehg, but there will be a way to pull a patch file out of it
16:52:04 <LordAro> have an explore, or a google
16:52:12 <LordAro> and yes, commits usually need commit messages
16:52:52 <LordAro> if you look, your first patch has the commit message "Index: src/...." - which it took from the top of the svn-style patch
16:54:46 <Samu> when i do Diff to Parent
16:54:53 <Samu> it brings up KDiff3
16:55:00 <Samu> i see the differences side by side
16:55:14 <LordAro> right, there'll likely be some sort of export from there
16:55:44 <Samu> with tortoise i could just save the left part of the right part, or both, or even edit the left part or the right part
16:56:02 <Samu> with kdiff3... i can only look, like it's read only mode... can't save
16:56:04 <Samu> can't edit
16:56:06 *** Mavy has joined #openttd
16:56:08 <Samu> can't do squat
16:56:10 *** Mavy has quit IRC
16:56:11 <LordAro> it'll be somewhere
16:56:13 <LordAro> keep looking
16:56:53 *** Mavy has joined #openttd
16:59:22 <Samu> ah, i have to click "merge"
16:59:26 <Samu> i think
16:59:31 <Samu> let's see what it did
17:01:08 <LordAro> merge? within kdiff3?
17:02:51 <Samu> merge allows me to save, but what it saves is the entire aircraft_cmd.cpp file... not a patch, grrr i fail
17:03:29 *** Mazur has quit IRC
17:03:40 <Samu> "Merge Current File"
17:03:54 <Samu> opens a 3rd panel at the bottom, where I decide which of the sides I want
17:04:39 <Samu> and allows me to save... (the file apparently), not a patch~
17:04:47 <LordAro> ok, i've done some searching
17:04:51 <LordAro> turns out kdiff3 is useless :p
17:05:10 <Samu> ohrly
17:05:14 <Samu> very well
17:05:58 <LordAro> http://tortoisehg.readthedocs.io/en/latest/settings.html 6.1.1
17:07:01 <Samu> let me look
17:07:28 *** john-aj has quit IRC
17:08:11 <LordAro> Samu: https://stackoverflow.com/questions/6048330/tortoisehg-with-tortoisesvn-diff oh hey, this is perfect for you :)
17:08:40 <LordAro> for some reason tortoisehg doesn't come with tortoisemerge, whereas the svn & git variants do
17:08:43 <LordAro> weird
17:10:28 <Samu> oh, nice, nice tortoisemerge was listed
17:10:37 <Samu> along with kdiff3 and other stuff
17:10:41 <Samu> i didn't know this
17:12:09 *** Mazur has joined #openttd
17:12:12 <Samu> yeah, "create patch file"... exactly what I needed
17:12:16 <Samu> thx
17:13:44 <Samu> eww, this doesn't look right though
17:14:23 <Samu> hey
17:14:30 <Samu> https://paste.openttdcoop.org/piggrywxq
17:14:34 <Samu> does it look right?
17:14:59 <LordAro> doesn't look right, does it?
17:15:10 <LordAro> see if there are some settings
17:16:12 <Samu> Context lines for patches
17:16:13 <Samu> 0
17:16:56 <Samu> how many lines should go here? 3, 4? moar?
17:17:13 <Samu> gonna try 3
17:18:12 <Samu> https://paste.openttdcoop.org/p27eqxtkx
17:18:27 <Samu> better, but still, that header, it's comparing temporary files
17:18:45 <Samu> full pathnames
17:18:57 <Samu> something's not quite right
17:19:54 <LordAro> mm
17:27:36 *** roidal has joined #openttd
17:28:29 *** Breckett has quit IRC
17:38:29 *** alluke has joined #openttd
17:51:54 *** Cubey has joined #openttd
17:53:03 <Samu> oh, export patch
17:53:24 <Samu> oh wow... it's dumping too much information though
17:54:34 <Samu> it's using my email address, i do not like this
17:56:16 <Samu> https://paste.openttdcoop.org/p4qereprl halp
17:56:24 <Samu> too much details...
17:59:42 *** Alberth has joined #openttd
17:59:42 *** ChanServ sets mode: +o Alberth
17:59:58 <Alberth> o/
18:00:21 <Samu> help
18:04:17 <Samu> LordAro: why does it dump my email and that crap into the patch file?
18:04:23 <Samu> :(
18:05:11 <Samu> other than that, it's almost there!
18:05:39 <LordAro> because that's how it works
18:05:44 <LordAro> you can remove it if you like
18:05:48 <LordAro> hgrc file
18:07:49 <Samu> https://paste.openttdcoop.org/p8an13oar
18:08:02 <Samu> my hgrc file looks like that
18:08:24 <LordAro> Samu: well look at it
18:08:28 <LordAro> what do you think you want to change?
18:08:53 <Samu> i don't want my email to be displayed
18:08:59 <Samu> at least that
18:11:18 <Samu> ah, it's on mercurial.ini
18:13:03 <Samu> nope, my email is still displayed
18:13:10 <Samu> to hell with this program
18:14:22 <LordAro> well it's not going to regenerate it
18:14:24 <Samu> but mercurial.ini no longer has my email
18:14:27 <LordAro> it's embedded into the commit
18:14:36 <Samu> oh, is that it?
18:15:10 <Samu> seriously, these kind of programs are spam magnets
18:16:07 <LordAro> pfft
18:16:20 <LordAro> get a better email (host) if spam's an issue
18:16:23 <LordAro> these days
18:16:48 <Samu> if i knew i didn't have to provide an email, i wouldn't even type it in
18:17:25 <LordAro> well don't put it anywhere then
18:17:32 <LordAro> modify the patch file before you publish it
18:17:36 <Samu> time to recycle bin
18:17:37 <LordAro> it's just a text file
18:17:38 <Samu> brb
18:17:49 *** FLHerne has quit IRC
18:17:51 <LordAro> and the commits themselves aren't going to see the light of day
18:22:59 *** Thedarkb has quit IRC
18:25:22 *** Thedarkb has joined #openttd
18:31:28 <Samu> [tortoisehg] ciexclude = projects - Cópia/*
18:31:58 <Samu> i still see it listed... :( i fail, i don't get it, i hate myself...
18:35:37 <Samu> oh ... oh wow.. list options -> ? uknownk
18:35:48 <Samu> was it that simple? ...
18:35:55 <Samu> i really need to calm down
18:36:57 *** Breckett has joined #openttd
18:37:36 <Samu> does this mean i don't need a ciexclude = projects - Cópia/* for anything?
18:38:32 <Samu> yep... it wasn't needed
18:38:47 <Samu> damn thing made me look so stupid
18:41:11 *** Progman has joined #openttd
18:41:22 <Samu> You must identify yourself to Mercurial
18:42:04 <Alberth> of course, how else would you get authorship of a patch
18:42:43 <Samu> why would I want to?
18:43:12 <Alberth> nobody forces you to use a real email address
18:43:30 <Alberth> although a random new email address is easily made
18:43:44 <Alberth> no need to actually read that email either, in general
18:44:04 <Samu> why do these programs force so many pointless steps to work...
18:44:39 <Alberth> 1. enter credentials; 2. work
18:44:44 <Alberth> how is that many steps?
18:45:28 <Alberth> but version control in general does require a bit of setup, which you do one time at the start of a project
18:45:37 <Alberth> takes less than a minute
18:45:51 <Alberth> gives you years of reliable history
18:46:11 <Alberth> and undo and co-operation with others
18:46:26 <Alberth> seems like a fair deal to me
18:51:20 *** john-aj has joined #openttd
18:54:40 <Samu> before commit: https://paste.openttdcoop.org/pqrfsoghu
18:56:12 <Samu> after commit: https://paste.openttdcoop.org/pcxatigno
18:56:39 <Samu> program is stupid and makes it look like I'm the stupid
18:57:32 <Alberth> how is that wrong?
18:58:20 <Samu> it doesn't need my username to create a patch
18:58:21 <Alberth> ie the output is what I expect, a diff with commit message and the timestamp and author
18:58:25 <Samu> suddenly it needs!
18:58:57 <Alberth> huh, it always needed it
18:59:22 <Alberth> I have been using hg for many years, and supplying a name and email address was the first thing I needed to do
19:00:28 *** glx has joined #openttd
19:00:28 *** ChanServ sets mode: +v glx
19:01:42 <Alberth> the program is designed to be used in a shared repository, so you can make a program together with others
19:01:59 <Alberth> then things need to be labeled properly to avoid confusion
19:02:29 <Alberth> you can also use it all by yourself in a repository that only you can access
19:02:48 <Alberth> in that case supplying a name and email address is a bit useless
19:03:22 <Alberth> but you never know if in the future that code might be useful in a project with others
19:08:03 <Samu> my problem is that I'm using it to create patch sequences, patch chains
19:08:23 <Samu> patch queues
19:09:03 <Alberth> mq ! :)
19:09:07 <Samu> to be able to patch a second time, i need to submit, which then creates an ugly stupid pointless header to the patch file
19:09:14 <Samu> to commit*
19:10:23 *** Wolf01 has joined #openttd
19:10:30 <Alberth> so? let it add headers, they are harmless
19:10:34 <Wolf01> o/
19:10:35 <Alberth> o/ Wolf01
19:11:16 <Wolf01> Yeah soon or later headers will be added anyway (no clue on the current discussion)
19:12:11 <supermop_work> speaking of which, i still need to draw some door header details
19:15:15 <Alberth> start with the front door?
19:17:23 <supermop_work> that door is actually remaining as is
19:17:52 *** Biolunar has joined #openttd
19:21:50 *** sla_ro|master has quit IRC
19:22:15 *** andythenorth has joined #openttd
19:22:33 <andythenorth> https://youtu.be/o8vPz9RY4FI?t=161
19:22:36 *** andythenorth has left #openttd
19:22:41 <Wolf01> Spammers
19:23:11 *** Wormnest has joined #openttd
19:23:13 <Wolf01> Also old as the game XD
19:37:00 *** HerzogDeXtEr has joined #openttd
19:38:05 *** Thedarkb has quit IRC
19:42:15 *** Thedarkb has joined #openttd
19:43:04 *** smoke_fumus has joined #openttd
19:49:58 *** iSoSySt has joined #openttd
19:51:11 *** frosch123 has joined #openttd
19:55:39 *** iSoSyS has quit IRC
19:56:22 <Alberth> hola
20:01:19 <LordAro> quak
20:03:54 <Samu> Not a head revision! in red
20:03:58 <Samu> should i be scared
20:04:46 <frosch123> moi
20:06:15 *** andythenorth has joined #openttd
20:06:23 <Samu> question, this one is a bit more complicated
20:06:40 <Samu> https://paste.openttdcoop.org/pawcshgoi how many commits should this be sliced into?
20:07:07 <andythenorth> o/
20:08:14 <Samu> in my poor understanding, all of it makes sense together, but when trying to slice it, i can't think of it working without the rest
20:09:10 <frosch123> moo
20:12:34 *** Breckett has quit IRC
20:13:52 <john-aj> Samu: by the way, i'm curious as to what patches are you trying to apply?
20:14:20 <Wolf01> o/, quak
20:14:30 <Samu> i'm slicing my work into small patches
20:14:36 <andythenorth> Wolf01: lo
20:14:47 <Samu> i have the whole thing in 1 single patch :(
20:15:02 <Alberth> "hangar" sounds like the wrong name for the parameter
20:15:20 <john-aj> ah, it's a patch of your own
20:15:22 <Samu> https://www.tt-forums.net/viewtopic.php?f=33&t=77246
20:15:29 <Alberth> lines 10 to 17 look independent?
20:15:29 <Samu> i posted it here
20:16:29 <Alberth> cancel order is not remove order, is it?
20:17:06 <Samu> make dummy will cancel the current order if it's heading to hangar (manually sent if I remember)
20:17:32 <john-aj> Samu: nice idea
20:17:56 <Samu> that's code is part of "what to do with aircraft going to an airport i just upgraded"
20:18:23 <Samu> upgrading from a small airport to a heliport while the aircraft is heading to hangar
20:19:06 <Samu> it doesn't remove order
20:19:24 <Alberth> yeah, so it's different, and can be split
20:20:30 <Alberth> you try to do a single small thing each commit
20:21:05 <Alberth> one commit add function, next commit use the new function for its purpose
20:22:51 <LordAro> Alberth: i'd probably argue that adding & using should be one commit
20:23:09 <LordAro> since otherwise you have a commit with dead code
20:24:02 <andythenorth> Wolf01: so what's next?
20:24:03 <Alberth> fair enough
20:24:47 <Wolf01> Sleep, I think
20:24:53 <Alberth> +1
20:25:39 <andythenorth> fair
20:25:44 <andythenorth> ok I refactor some work code :P
20:25:48 <andythenorth> no NRT for me :)
20:25:52 <supermop_work> :(
20:26:05 <supermop_work> push the work code to nrt
20:26:27 <Wolf01> Push NRT to the work code
20:27:03 <supermop_work> refactor tanks code
20:27:39 *** Gustavo6046 has quit IRC
20:30:34 *** Stimrol has joined #openttd
20:33:53 *** Breckett has joined #openttd
20:33:56 *** Stimrol has quit IRC
20:35:44 *** iSoSySt has quit IRC
20:36:11 *** Gustavo6046 has joined #openttd
20:38:34 *** Thedarkb has quit IRC
20:42:00 *** Chrill has joined #openttd
20:48:22 *** Chrill has quit IRC
20:50:33 *** Stimrol has joined #openttd
20:54:07 <andythenorth> refactor all things
20:57:23 *** som89 has joined #openttd
21:02:23 <Eddi|zuHause> refactor 2^77232917-1?
21:03:04 <Wolf01> Not
21:06:38 <Eddi|zuHause> "This bug has existed since before curl 6.0. It existed in the first commit we have recorded in the project."
21:09:22 *** oof has joined #openttd
21:10:58 <peter1138> :-)
21:11:01 <peter1138> Not just us then.
21:12:40 <oof> hi
21:14:33 <Alberth> o/
21:15:27 *** Stimrol has quit IRC
21:16:28 <Wolf01> https://img-9gag-fun.9cache.com/photo/a9pLpj6_460s.jpg that's what you get with "building while paused"
21:17:24 <Alberth> building with daylength, as it took 9 hours :)
21:17:48 <Alberth> but still a masterpiece in organizing it
21:18:44 <Wolf01> IIRC they have supercomputers to organize working shifts on subway too
21:26:13 <peter1138> Health and safety would have fun with that.
21:30:33 *** Stimrol has joined #openttd
21:36:53 <oof> sup
21:37:07 <oof> ahem
21:37:58 *** Stimrol has quit IRC
21:38:00 *** oof has quit IRC
21:40:33 *** Stimrol has joined #openttd
21:51:10 *** Supercheese has joined #openttd
21:55:17 *** Alberth has left #openttd
21:56:23 *** roidal has quit IRC
22:02:00 *** frosch123 has quit IRC
22:29:55 *** Stimrol has quit IRC
22:32:03 <Wolf01> 'night
22:32:06 *** Wolf01 has quit IRC
22:42:21 <Samu> this is seriously scary, if I mess up one commit, I can't undo it
22:43:07 <john-aj> there are ways to undo it
22:43:09 <john-aj> it's fine
22:43:10 <Samu> would have to re-do from scratch
22:43:36 *** sim-al2 has joined #openttd
22:44:01 <Samu> they're unelegant from what i've seen
22:45:35 <john-aj> surely more elegant than redoing from scratch ;-)
22:48:54 <Samu> ok, i reached another delicate part... helicopter and service at helipad setting mayhem
22:51:31 <Samu> and moving PendingReplace outside of NeedsAutomaticService
22:51:40 <Samu> mm
22:52:05 <Samu> they're all related to service at helipad
22:52:06 *** chomwitt has joined #openttd
22:53:11 *** FLHerne has joined #openttd
22:55:27 <Samu> i'm not really sure what needs to be done first
22:55:40 <Samu> HasPendingReplace
22:56:21 <Samu> the comment in aircraft_cmd.cpp that says - /* Send the helicopter to a hangar if needed for replacement */
22:56:26 <Samu> doesn't work
22:56:38 <Samu> i trashed that code part
22:57:41 <Samu> now there's automatic service at helipad without the need for a replace, and a non-need to automatic service, but a replace is pending
22:57:59 <Samu> what do i need to do first :(
22:58:28 <LordAro> Samu: you can check compiling and what not before commiting
23:01:11 <Samu> there's also the case there's a need for both automatic service and a pending replace
23:01:50 <Samu> the automatic service at helipad is done first before doing the pending replace check
23:02:47 <Samu> i think i'm gonna deal with service at helipad first, pending replace can wait
23:05:05 <Samu> there's also the case of heliport (no hangar) vs any other airport (hangar)
23:06:45 <Samu> everything needs to be connected with need automatic servicing and service at helipad to make sense
23:07:07 <Samu> hmm, ok, i got a vague idea of the order this has to be done
23:18:03 *** Progman has quit IRC
23:18:49 *** sim-al2 is now known as Guest2728
23:18:49 *** sim-al2 has joined #openttd
23:22:40 *** Guest2728 has quit IRC
23:30:41 *** andythenorth has quit IRC
23:36:05 *** Breckett has quit IRC
23:36:10 *** Thedarkb has joined #openttd
23:38:21 *** john-aj has quit IRC
23:52:40 *** Gja has quit IRC