code logs -> 2019 -> Sat, 30 Nov 2019< code.20191129.log - code.20191201.log >
--- Log opened Sat Nov 30 00:00:28 2019
00:41 Kindamoody is now known as Kindamoody[zZz]
01:16 celmin|away is now known as celticminstrel
01:17 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
02:01 Degi [Degi@Nightstar-cpruqi.dyn.telefonica.de] has quit [Operation timed out]
02:04 Degi [Degi@Nightstar-u2gl9j.dyn.telefonica.de] has joined #code
04:57 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
05:00 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:02 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
05:02 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:05 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
05:07 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
05:08 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
05:08 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:15 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
05:15 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
05:16 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
06:09 celticminstrel [celticminst@Nightstar-2kik29.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:31
<&jerith>
https://adventofcode.com/ starts tomorrow! :-D
08:32
<&jerith>
Anyone participating is welcome to join #aocspoilers for (careful) discussion of problems/solutions/etc.
08:33
<&jerith>
Continuing my theme of using a different language every year, I'll be writing Clojure this time around.
08:34
<&jerith>
(Previously I've done Rust, Elixir, and OCaml.)
08:37
<~Vorntastic>
I never finished the previous two :(
08:39
<&jerith>
Did you enjoy the bits you did, though?
08:39
<&jerith>
That's the important part.
08:44
<~Vorntastic>
Yes
09:02
<&McMartin>
Last year I did everything in C and it was surprisingly non-awful.
09:19
<~Vorntastic>
I keep intending on picking up C#. Perhaps
09:26 Kindamoody[zZz] is now known as Kindamoody
09:30
<&McMartin>
Rust would make a certain amount of sense for me.
09:30
<&McMartin>
Emacs Lisp would be the comedy option.
09:41
<&jerith>
I wouldn't recommend trying to learn Rust by tomorrow if you aren't already comfortable writing nontrivial code in it.
09:59
<&McMartin>
I've written a single nontrivial program in it
09:59
<&McMartin>
Whether that counts as "comfortable" I dunno
10:00
<&jerith>
It probably does.
10:01
<&jerith>
I've been very happy with `nom` (v5 in particular, because that has far less macro invasiveness) for parsing.
10:19 * abudhabi is trying to compile the open source remake of Colonization.
10:19
<@abudhabi>
(Well, one of them.)
10:19
<@abudhabi>
https://pastebin.com/raw/DVxWYTWe
10:19
<@abudhabi>
Any idea what I'm missing?
10:22
<&jerith>
Does src/ext/ext.hpp exist?
10:22
<@abudhabi>
Nope. No idea why it doesn't exist.
10:22
<&jerith>
I guess that's the problem.
10:22
<@abudhabi>
The directory exists, but it's empty.
10:23
<&jerith>
Where does this code live?
10:23
<@abudhabi>
https://github.com/institution/cc94
10:24
<&jerith>
Oh, src/ext is a submodule.
10:25
<@abudhabi>
Anything I can do about that?
10:25
<&jerith>
Try `git submodule init`?
10:25
<&jerith>
I don't remember all the submodule wrangling commands.
10:25
<&jerith>
I've successfully excised them from all the projects I work on.
10:26
<@abudhabi>
`Submodule 'src/ext' (git+ssh://git@github.com/institution/ext.git) registered for path 'src/ext'`
10:28
<@abudhabi>
git submodule update got me some stuff and a new error!
10:31
<&jerith>
Progress!
10:31
<@abudhabi>
https://pastebin.com/raw/T6et2XQi
10:31
<&jerith>
Submodules are high-maintenance unreliable footguns.
10:33
<&jerith>
The revision of ext referenced in the submodule is a few commits behind the repo.
10:33
<&jerith>
So it's possible you need a newer version.
10:34
<&jerith>
`(cd src/ext; git checkout master)` will (probably) get you the latest revision of the submodule.
10:37
<&jerith>
Yeah, that's likely the cause of the first error. The latest commit in the ext repo: https://github.com/institution/ext/commit/7f89102a6f548d5be908ab12c4e816af828bfdf4
10:37
<@abudhabi>
I did that and pulled, and it said that it was up to date with master.
10:38
<&jerith>
Did the build error change?
10:38
<@abudhabi>
It did not.
10:39
<@abudhabi>
Can I check what version of the submodule I'm on?
10:39
<&jerith>
`(cd src/ext; git status)`
10:40
<@abudhabi>
https://pastebin.com/raw/jkHM1MhU
10:40
<@abudhabi>
That looks like 3 commits behind.
10:40
<&jerith>
(In case you're not familiar with the syntax: the parens mean "run this in a subshell", so we can cd without worrying about coming back.)
10:40
<@abudhabi>
I grasped the intent!
10:41
<&jerith>
I find it much easier to do the subshell thing than cd back and forth or open another terminal.
10:42 * jerith clones the repo locally to see what's going on.
10:45
<@abudhabi>
This is after I did `git pull origin master` on the submodule: https://pastebin.com/raw/bVcmTfEq
10:45
<&jerith>
Yeah, that looks like you have the right version of the submodule now.
10:46
<&jerith>
I guess glm is an undocumented dependency.
10:46
<&jerith>
(Assuming you acquired the documented ones.)
10:48
<@abudhabi>
Well, I did follow the instructions for linux native compiling.
10:48
<&jerith>
Looks like https://glm.g-truc.net/0.9.9/index.html
10:48
<&jerith>
`apt search libglm-dev` perhaps?
10:50
<&jerith>
If you have that, I guess try install it and see if it helps.
10:50
<@abudhabi>
Installed.
10:50
<@abudhabi>
The compiling is proceeding.
10:50
<&jerith>
FWIW, this project has very few markers that inspire confidence in me.
10:51
<&jerith>
And several that indicate low quality.
10:51
<@abudhabi>
Was it the use of submodules that tipped you off?
10:51
<@abudhabi>
Or the undeclared dependancies?
10:52
<@abudhabi>
(GLM wasn't the only one.)
10:52
<@abudhabi>
https://pastebin.com/raw/P2kiVASZ
10:53
<&jerith>
Single developer, terrible commit messages, random code in a separate repo for who knows what reason, incorrect use of submodules, undocumented deps, README much older than code, etc.
10:55
<&jerith>
Many of my personal projects have the first and last in that list. They'd probably have a few others as well, except I tend to use languages that ship with dependency management tooling.
10:59
<&jerith>
Maybe comment out the calc_align function in src/ext?
10:59
<&jerith>
I'm guessing that's the one that's more likely to be wrong.
11:00
<&jerith>
Or read them both and make a more informed decision. :-)
11:04
<@abudhabi>
Commenting it out seems to have helped.
11:07
<@abudhabi>
It compiled, but won't run.
11:10
<@abudhabi>
Commenting out the other one makes it fail to compile.
11:10
<&jerith>
Sad, but unsurprising.
11:10
<@abudhabi>
OK, I'm done with this.
11:11
<@abudhabi>
Thanks for your help!
11:11
<&jerith>
You're welcome!
11:11
<&McMartin>
calc_align should not be a thing people use.
11:11
<@abudhabi>
I really wish the Java version was more similar to the original.
11:11
<&McMartin>
This sounds suspiciously like they're pulling ABI-hacking bullshit that's specific to 32-bit Linux or something.
11:11
<&jerith>
You probably lasted about as long as I would have, assuming I didn't filter it out on the first glance over the repo.
11:12
<@abudhabi>
It really feels very different from the original game. And the original game could use some tweaks, like getting the pathfinder fixed, and removing limits on amount of units, and score overflow, etc, etc.
14:41 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
15:14 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:14 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:22 celticminstrel [celticminst@Nightstar-2kik29.dsl.bell.ca] has joined #code
16:22 mode/#code [+o celticminstrel] by ChanServ
17:28 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:21 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
18:23 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
20:21 Vornicus is now known as Misty
20:22 Kizor is now known as Shirley
20:23 Reiver is now known as Joe
20:46
<@abudhabi>
TheWatcher: How do I disable wordpress' autocorrection of HTML?
20:46
<@abudhabi>
I know HTML better than it does.
20:48 * abudhabi installs Don't Muck My Markup.
20:52
<@abudhabi>
Hrm, that didn't work.
20:59
<@abudhabi>
It's infuriating.
20:59
<@abudhabi>
I WANT THAT <BR> YOU BITCH
20:59
<&McMartin>
It autoswaps two carriage returns for br
21:00
<@ErikMesoy>
<br/> ?
21:00
<&McMartin>
It also double-escapes &lt; which corrupts the hell out of posted code you later edit
21:00
<@abudhabi>
No amount of carriage returns seem to insert a linebreak in what I'm editing.
21:00
<@abudhabi>
ErikMesoy: Tried it.
21:00
<&McMartin>
that is odd
21:01
<@abudhabi>
I want PRECISELY WHAT I WROTE argh.
21:01
<&McMartin>
Can't you just not use a CMS~
21:01
<@abudhabi>
No, I like most of using a CMS.
21:02
<@abudhabi>
Except shit like this.
21:02
<&[R]>
I was going to suggest that not using Wordpress would be the best solution here
21:02
<@abudhabi>
No, I don't want to build the entire site from scratch like some sort of caveman.
21:02
<&[R]>
But felt that would be rude
21:03
<&[R]>
Interestingly, Wordpress isn't the only game in town
21:03
<&[R]>
So not using it does not mean you aren't using a CMS
21:03
<@abudhabi>
Right.
21:04
<&[R]>
Much like how not using systemd doesnbt mean you're using sysvinit
21:05
<@abudhabi>
OK, there. Installing TinyMCE Advanced and checking the non-removal of BR and P solved my issue.
21:05
<@ErikMesoy>
abudhabi: <br class=""> ?
21:50 * TheWatcher readsup
21:51
<@TheWatcher>
abudhabi: https://wordpress.org/plugins/dont-muck-my-markup/ is the method I use
21:52
<@abudhabi>
That one didn't work for me.
21:54
<@TheWatcher>
You need to turn it on from the settings sidebar when editing, or set it on site-wide, it doesn't do anything by default
21:54
<@TheWatcher>
But if you have something that works *shrug*
21:54
<@TheWatcher>
TMTOWTDI.
21:54
<@abudhabi>
I did, and it didn't do anything for my problem.
21:54
<@abudhabi>
I'm glad that's over with.
23:18 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection reset by peer]
23:27 Kindamoody is now known as Kindamoody[zZz]
23:34 Misty is now known as Vornicus
23:34 Joe is now known as Reiver
23:34 Shirley is now known as Kizor
--- Log closed Sun Dec 01 00:00:29 2019
code logs -> 2019 -> Sat, 30 Nov 2019< code.20191129.log - code.20191201.log >

[ Latest log file ]