code logs -> 2018 -> Fri, 12 Jan 2018< code.20180111.log - code.20180113.log >
--- Log opened Fri Jan 12 00:00:23 2018
00:30 Kindamoody is now known as Kindamoody[zZz]
00:53 celticminstrel [celticminst@Nightstar-m9434e.dsl.bell.ca] has joined #code
00:53 mode/#code [+o celticminstrel] by ChanServ
01:10 Derakon[AFK] is now known as Derakon
02:10
<&McMartin>
Hmmm
02:10
<&McMartin>
The 68020 chip's branch predictor always predicts that branches are never taken
02:11
<&McMartin>
That seems like an odd choice compared to predicts "always taken". I'd assume most branch instructions are loopback operations.
02:11
<&McMartin>
But I guess that's for do-while loops, not while loops.
04:13
<&Derakon>
Fix a bug in the map generator, try to create a map, immediately fail, codify the failure into a test, fix the code so the test passes, repeat.
04:14
<&Derakon>
I've been in this loop for a long time now. -_-
04:22 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
04:22 mode/#code [+qo Vornicus Vornicus] by ChanServ
04:24
<&Derakon>
https://i.imgur.com/rGSFuaq.jpg
04:25
<&Derakon>
^ My latest failure scenario.
04:30
<&McMartin>
Is that some kind of whiteboard software or an actual photographed whiteboard?
04:30
<&Derakon>
The latter.
04:33
<&Derakon>
...I think I figured out what the logic failure is in this case, and it's gonna be painful to fix.
04:33
<&Derakon>
So, the two marked tiles in the bottom-right corner form a small "blob" of mutually-connected tiles -- you can get from any tile in the blob to any other tile.
04:33
<&Derakon>
So they share connectivity rules.
04:34
<&Derakon>
One of the things that the map generator does is ensure that every blob is able to reach and be reached by either all exits or no exits.
04:34
<&Derakon>
The reason we're failing to place a sector at the ? is because the one that would normally fit believes that it is not preserving connectivity for that blob -- it's not able to reach the bottom exit (E).
04:35
<&Derakon>
The blob has a route to the exit, but it involves routing through an un-allocated tile on the other side of the ?.
04:35
<&Derakon>
(Starting from the bottom-right corner, go up, up, left, down, left, down; un-allocated tiles are assumed to connect to everything, so that can connect to the ? as long as the ? has correct edges).
04:36
<&Derakon>
And I don't believe the map generator is correctly handling that kind of indirect connectivity.
04:52
<&Derakon>
Wrote up in more detail here: https://forums.somethingawful.com/showthread.php?threadid=3832387&pagenumber=2#lastpost
05:13 Derakon is now known as Derakon[AFK]
05:30 celticminstrel [celticminst@Nightstar-m9434e.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
05:43 Vornlicious [Vorn@Nightstar-dq5pk2.sub-174-210-9.myvzw.com] has joined #code
05:46 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
05:55
< Vornlicious>
HOYBAA
05:57
<&McMartin>
That subforum is under permanent HOYBAA.
05:59
< Vornlicious>
Aw
06:06 himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds]
06:53 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [[NS] Quit: Wenn ist das Nunstück git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput!]
07:01 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
07:01 mode/#code [+o macdjord] by ChanServ
07:07 macdjord is now known as macdjord|slep
07:54
<&McMartin>
https://i1.wp.com/bumbershootsoft.files.wordpress.com/2018/01/hello_gb.png
08:10
< Vornlicious>
Woot
08:24
<&McMartin>
And, full article is live. https://bumbershootsoft.wordpress.com/2018/01/12/hello-world-on-the-original-game-boy/
08:51 Kindamoody[zZz] is now known as Kindamoody
09:12
< simon_>
:o
09:23 Vornlicious [Vorn@Nightstar-dq5pk2.sub-174-210-9.myvzw.com] has quit [Ping timeout: 121 seconds]
09:38 Vorntastic [Vorn@Nightstar-dq5pk2.sub-174-210-9.myvzw.com] has joined #code
10:00 * TheWatcher eyes that
10:06
<@TheWatcher>
McMartin: what's the nop at the start of the header for?
10:11 Vornlicious [Vorn@Nightstar-htftho.sub-97-46-130.myvzw.com] has joined #code
10:13 Pandevornium [Vorn@Nightstar-mpq1b4.sub-174-211-0.myvzw.com] has joined #code
10:14 Vorntastic [Vorn@Nightstar-dq5pk2.sub-174-210-9.myvzw.com] has quit [Ping timeout: 121 seconds]
10:15 Vornlicious [Vorn@Nightstar-htftho.sub-97-46-130.myvzw.com] has quit [Ping timeout: 121 seconds]
10:18 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
10:18 mode/#code [+o himi] by ChanServ
10:23 Kindamoody is now known as Kindamoody|out
10:38 Degi [Degi@Nightstar-othrpl.dyn.telefonica.de] has joined #code
11:00 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
12:02
<@ErikMesoy>
I have been assigned to website testing today. The website I'm testing feels very much like a case of seeing but not understanding why websites have various common features. For example, there's a page for changing your password. It does not actually enforce the new password needing to be different from the old password.
12:04
<@ErikMesoy>
"Recommended for me" page is initially empty, says that there are no current entries here but I should check back as new widgets are added constantly. "My favorites" page is initially says exact same thing, but I really don't think it's supposed to work the same way.
12:07
<@ErikMesoy>
Various informational fields are mandatory on entry, but there's no sanity checking that they actually contain useful information; I can enter a backtick as my postal code when it should be four digits (which is Norwegian style, website elsewhere does require Norwegian-only data).
12:13 Degi_ [Degi@Nightstar-othrpl.dyn.telefonica.de] has joined #code
12:16 Degi [Degi@Nightstar-othrpl.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
12:35 Degi_ [Degi@Nightstar-othrpl.dyn.telefonica.de] has quit [Connection reset by peer]
12:42 Pandevornium [Vorn@Nightstar-mpq1b4.sub-174-211-0.myvzw.com] has quit [Ping timeout: 121 seconds]
12:43 Vorntastic [Vorn@Nightstar-7hm9ef.sub-174-210-6.myvzw.com] has joined #code
13:11 Kindamoody|out is now known as Kindamoody
13:30 * TheWatcher EYES jenkins
13:32
<@TheWatcher>
Horay for storing timestamps as milliseconds since the epoch
14:17
<@ErikMesoy>
Someone really didn't think this through. Frontend users have a province multiselector for what Norwegian provinces they're interested in, with a convenience option of "All Norway" to save you having to tick all of them. Backend users are supposed to be limited to 1 province to search in unless they pay for premium service, but backend user selection uses the same list.
14:18
<@ErikMesoy>
Yes, I would like to search in the province of "All Norway"!
14:33
< Vorntastic>
Derp
14:54
< Vorntastic>
"all Norway" should be a js checkbox really
14:54
<@ErikMesoy>
Oh, hey, one field does have input sanitization: email address. And it has very thorough input sanitization that isn't fooled by me throwing in @ and calling it a day.
14:55
<@gnolam>
So it's a bad email check then.
14:55
<@ErikMesoy>
Pffft.
14:58
<@ErikMesoy>
Seriously, WTF at so much of this site design. Every other field is basically free text and accepts { as being my phone number, but the email address alone (AFAICT) tries really hard to make sure input is valid?
14:59
<@TheWatcher>
"I found a regex on stack overflow to validate email addresses!"
15:01
<@TheWatcher>
(hint: it doesn't)
15:01
<@ErikMesoy>
(hint: even if it does, it doesn't)
15:05
<@ErikMesoy>
Unread Messages: 1 (I click the message) Unread: 0 (I hit the in-page "Back to previous page" button) Unread: 1
15:05
< Vorntastic>
Whups
15:05
<@TheWatcher>
Also, for some reason, today my fingers seem to think that I'm using the Scottish version of git. I keep trying to make a bransh
15:06
<@ErikMesoy>
I have accepted the *Browser* Back button doing this, it's calling up a cached state or something. I can dubiously accept webpages *calling* the Browser's back button. This button is not making such a call. It is creating a new entry in browsing history, with the previous state's information. WTF.
15:10
<@ErikMesoy>
Holy shit, a ~300-item dropdown menu showing ten items at a time and correspondingly tiny scrollbar lovingly polished with an in-place search bar, subcategory headers, ability to select up to three items from the list simultaneously, and an absolute resource hog that manages to spike 30-50% of my CPU.
15:11
<@ErikMesoy>
IT'S A DROPDOWN MENU, NOT CRYSIS
15:27 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
15:27 mode/#code [+qo Vornicus Vornicus] by ChanServ
16:22 Jessikat [Jessikat@Nightstar-our0up.cpe.teksavvy.com] has joined #code
16:23 Jessikat [Jessikat@Nightstar-our0up.cpe.teksavvy.com] has quit [The TLS connection was non-properly terminated.]
16:23 Jessikat [Jessikat@Nightstar-our0up.cpe.teksavvy.com] has joined #code
16:27 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has quit [Connection closed]
16:30 Jessikat [Jessikat@Nightstar-our0up.cpe.teksavvy.com] has quit [Connection closed]
16:51 Vorntastic [Vorn@Nightstar-7hm9ef.sub-174-210-6.myvzw.com] has quit [Ping timeout: 121 seconds]
18:23
<&McMartin>
TheWatcher: Jump instructions are only three bytes long, and I need to fill four there
18:37 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
19:51
<@TheWatcher>
Aaah
20:16 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [[NS] Quit: ]
20:16
<&[R]>
So xdg-open has a bug where it can't handle URLs with # signs in them.
20:17
<&[R]>
So I just thought about what character I could use instead (as it fails due to sed 's#somethin#something#')
20:17
<&[R]>
$ echo test | sed 's e a g'
20:17
<&[R]>
I suspect someone is going to hit me for that
20:27
<&[R]>
[ x"$browser" != x"" ]
20:27
<&[R]>
Please let that be because -z is non-standard
20:28
<&[R]>
Well, only if POSIX is non-standard.
21:25
<&McMartin>
Belated: Isn't "git" itself a Scottishism?
21:25
<&McMartin>
Or is it All Norway^WBritain
21:33
<@ErikMesoy>
Why must you drag Norway into this, that's not even our word :V
21:34
<&McMartin>
The euphony, mostly
21:51
<@TheWatcher>
McMartin: a sassenach corruption of the Scottish 'get'
21:52
<&McMartin>
Aha
21:52
<&McMartin>
Also the [ x"$browser" != x"" ] thing is rampant in autoconf scripts
21:53
<&McMartin>
Because that's what happens on Unix when you blame the devs instead of the user when an OS upgrade breaks all their software
21:53
<&McMartin>
(or, I guess, in this case, 'when the software doesn't build for them')
21:53
<&[R]>
?
21:54
<&McMartin>
"I can't build your software because it uses some shitty -z thing that doesn't exist on my system, and this is your fault"
21:55
<&[R]>
Ah
21:55
<&[R]>
Except it should work on all systems D:
21:56
<&McMartin>
Right, the traditional Unix response is "fix your shitty OS, the code is fine"
21:56
<&McMartin>
The only software ecosystem that actually rolls with "blame the software for third-party fuckups" is Microsoft's, where it's MS's fault if any OS upgrade breaks your half-assed business software written in three days in VB6 in 1997
21:59 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [[NS] Quit: Leaving]
21:59 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
21:59 mode/#code [+o himi] by ChanServ
22:24 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
22:24 mode/#code [+o JustBob] by ChanServ
22:28 Degi [Degi@Nightstar-othrpl.dyn.telefonica.de] has joined #code
23:00 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [[NS] Quit: Wenn ist das Nunstück git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput!]
23:04 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
23:04 mode/#code [+o macdjord] by ChanServ
23:08 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [[NS] Quit: Wenn ist das Nunstück git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput!]
23:13 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
23:13 mode/#code [+o macdjord] by ChanServ
23:26 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [[NS] Quit: Wenn ist das Nunstück git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput!]
23:28 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
23:28 mode/#code [+o macdjord] by ChanServ
23:30
<&ToxicFrog>
[R]: -z is in both GNU and POSIX, so I suspect `x"$foo" == x` is a holdover from some super ancient version of /bin/sh
23:37 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
23:40 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
23:40 mode/#code [+o Alek] by ChanServ
--- Log closed Sat Jan 13 00:00:24 2018
code logs -> 2018 -> Fri, 12 Jan 2018< code.20180111.log - code.20180113.log >

[ Latest log file ]