code logs -> 2018 -> Tue, 06 Nov 2018< code.20181105.log - code.20181107.log >
--- Log opened Tue Nov 06 00:00:03 2018
00:29 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
00:32 Derakon[AFK] is now known as Derakon
00:38 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
00:38 mode/#code [+qo Vornicus Vornicus] by ChanServ
00:48 macdjord|slep is now known as macdjord
00:53
<@celmin|away>
Well that just means 10.7 is appropriate for OBoE which also supports XP. >_>
00:53
<&McMartin>
OBoE?
00:54
<&McMartin>
Gtk3 for Mac, to the extent that it works at all, seems to require 10.8 but it's not clear what 10.8 added that it would need
00:55
<&McMartin>
OTOH, Gtk3 for Windows requires Vista, so...
00:55
<@celmin|away>
Blades of Exile.
00:55 celmin|away is now known as celticminstrel
00:56
<@celticminstrel>
Which I haven't worked on in forever and is still not stable... >_>
00:56
<@celticminstrel>
forever = about a year probably, maybe as much as two
02:13 VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has joined #code
02:17 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Ping timeout: 121 seconds]
02:38 VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
02:40 VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving]
02:41 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
02:41 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
02:42 VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has quit [Ping timeout: 121 seconds]
02:58 celticminstrel is now known as celmin|Zzzzzz
03:29 Kindamoody is now known as Kindamoody[zZz]
05:08 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds]
05:08 Derakon is now known as Derakon[AFK]
05:13 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
05:26
<&McMartin>
Yikes. https://medium.com/asecuritysite-when-bob-met-alice/doh-what-my-encrypted-drive-can-be-unlocked-by-anyone-a495f6653581
05:27
<&McMartin>
ALso, what the Hell, Clang
05:27
<&McMartin>
Or more properly Xcode
05:27
<&McMartin>
So, when you set "minimum macOS version" you get warned about any APIs you use that are not part of your target OS level
05:27
<&McMartin>
But!
05:27
<&McMartin>
It only warns about it if it was introduced in 10.13 or later, but you can set the deployment level all the way back to 10.6
05:28
<&McMartin>
This counts as having the warning "on by default"
05:28
<&McMartin>
If you instead set -Wunguarded_availability (or, within Xcode, change this mode from "Yes" to "Yes (Aggressive)" then it behaves in a sane way
05:29
<&McMartin>
Turns out I also used a timer initializer that wasn't introduced until 10.12, despite its almost identical cousin version being around since 10.0
05:55 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
05:55 mode/#code [+ao Reiver Reiver] by ChanServ
07:23 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
07:23 mode/#code [+o himi] by ChanServ
07:26 * McMartin finishes 10.7-izing that code, and now it's actually a kilobyte or so smaller
07:31
<&McMartin>
https://www.dropbox.com/s/6oi7qja7nhbiz4a/macCCA-console.zip?dl=1 has been updated
07:54 Degi [Degi@Nightstar-k12ncq.dyn.telefonica.de] has joined #code
08:37 Degi [Degi@Nightstar-k12ncq.dyn.telefonica.de] has quit [Connection reset by peer]
08:37 Kindamoody[zZz] is now known as Kindamoody
10:35 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
11:58
< simon_>
I just made a super shiny Vue-based salary calculator app at work, and it turns out people are having problems with there not being a submit button; basically, it shows results as you're completing form fields. so my (non-programmer) colleagues think I should add an "Update" button that does nothing. I feel inclined to not do that.
12:02
<@TheWatcher>
Placebo buttons are a valid UX thing, though.
12:11
< ErikMesoy>
simon: You could think of it this way: Nothing is idiotproof, someone will always build a better idiot. One day someone might figure out a combination of autofill and field tabbing or something that inputs data without triggering your app's autocalculate, and on that day it'll be nice to have manual force update.
12:12
< ErikMesoy>
In the meantime other people can click it too, even if it's redundant.
13:56
<@celmin|Zzzzzz>
McMartin: It works! :O
13:56 celmin|Zzzzzz is now known as celmin|away
14:12 macdjord is now known as macdjord|wurk
14:37
<&[R]>
simon_: make the button provide a message to the user "the results were calculated all along" (or s/all along/the whole time/)
15:19 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection closed]
15:19 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
16:05 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection closed]
16:35 gnolam [quassel@Nightstar-csto10.cust.bahnhof.se] has joined #code
16:35 mode/#code [+o gnolam] by ChanServ
18:19 * abudhabi sighs.
18:20
<@abudhabi>
I went to the electronics shop to get a power adapter or plug converter. Japanese standard to Warsaw Pact standard.
18:20
<@abudhabi>
I got a plug converter.
18:20
<@abudhabi>
I specifically asked if it would work, because the voltage is different.
18:20
<@abudhabi>
"Yeah, it'll work."
18:20
<@abudhabi>
My ass.
18:21
<@abudhabi>
The plug converter works, yes, but I have now wasted the original adapter, because it doesn't alter the voltage.
18:24
<@abudhabi>
Magic smoke escaped and the fuse went.
18:46
<&[R]>
D:
19:01
<&ToxicFrog>
Oh for FUCK'S SAKE
19:02
<&ToxicFrog>
So for this project I'm using Lanterna for rendering and SquidLib for pathing/FOV calculations, because writing A* again isn't really the fun part of the project
19:02
<&ToxicFrog>
Lanterna uses row/col for all coordinates
19:02
<&ToxicFrog>
SquidLib uses X/Y
19:04 * TheWatcher recommends applying fire to Lanterna~
19:04
<@TheWatcher>
Alternatively, wrapper time? >.>
19:06
<&ToxicFrog>
Yeah, I'm just not sure which one to wrap
19:06
<&ToxicFrog>
My existing code already uses r/c because I noticed the Lanterna coordinate system first, and that plays nicer with the row-major storage of the level grid
20:12
<~Vorntastic>
Can you just... Pretend?
20:13
<&ToxicFrog>
Vorntastic: what?
20:13
<~Vorntastic>
Like it doesn't really matter whether something is an x or a y, usually, the rules work either way
20:13
<&ToxicFrog>
Vorntastic: right, but one API uses row-major and the other uses col-major and at various places I have to pass data between them
20:13
<~Vorntastic>
You can probably pass in r and c as x and y and then interpret the result x and y values as r and c again
20:14
<&ToxicFrog>
Which means that there are certain places where I have to swap the coordinate order, and if I don't get that right it's (a) not obvious in the code and (b) probably results in subtle rendering or, worse, pathfinding or collision detection glitches at runtime rather than an error
20:15
< ErikMesoy>
Hungarian notation to make it obvious?
20:16
<&ToxicFrog>
At the moment I'm leaning towards "isolate the vismap and pathmap wrappers in their own module and put an obvious warning at the top of the file"
20:24 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
20:34 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
20:34 mode/#code [+o Reiv] by ChanServ
21:19
<&ToxicFrog>
Making this even worse, or at least more confusing, is that SquidLib expects to operate on arrays stored in row-major order
21:19
<&ToxicFrog>
So you address the array using [row][col] but all the SquidLib functions take (x,y)
21:19
<&McMartin>
That is less uncommon than I'd like, to be honest
21:20 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
21:20 mode/#code [+o himi] by ChanServ
22:12 Degi [Degi@Nightstar-k12ncq.dyn.telefonica.de] has joined #code
22:31 gnolam [quassel@Nightstar-csto10.cust.bahnhof.se] has quit [[NS] Quit: Z?]
23:15 Degi [Degi@Nightstar-k12ncq.dyn.telefonica.de] has quit [Connection closed]
--- Log closed Wed Nov 07 00:00:05 2018
code logs -> 2018 -> Tue, 06 Nov 2018< code.20181105.log - code.20181107.log >

[ Latest log file ]