code logs -> 2018 -> Sun, 17 Jun 2018< code.20180616.log - code.20180618.log >
--- Log opened Sun Jun 17 00:00:10 2018
00:03 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has quit [Ping timeout: 121 seconds]
00:07 Vornicus [Vorn@Nightstar-sjaki9.res.rr.com] has quit [Ping timeout: 121 seconds]
00:18 Vornicus [Vorn@Nightstar-sjaki9.res.rr.com] has joined #code
00:19 mode/#code [+qo Vornicus Vornicus] by ChanServ
00:23 Degi_ [Degi@Nightstar-nr4cbf.dyn.telefonica.de] has joined #code
00:26 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [[NS] Quit: brb]
00:27 Degi [Degi@Nightstar-54atks.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
00:30
<@celticminstrel>
It also makes math expressions very, very verbose.
00:31
<@celticminstrel>
(Or very, very large if you use the node that automatically generates a graph from an expression.)
00:40 Degi_ is now known as Degi
00:47 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
00:47 mode/#code [+ao McMartin McMartin] by ChanServ
01:56 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
02:32 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code
02:32 mode/#code [+o crystalclaw] by ChanServ
02:38 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has quit [Connection closed]
02:50 crystalclaw [crystalclaw@Nightstar-12q9ui.xyz] has joined #code
02:50 mode/#code [+o crystalclaw] by ChanServ
03:24 Degi [Degi@Nightstar-nr4cbf.dyn.telefonica.de] has quit [Connection closed]
03:25
<&McMartin>
Ahahahaha, whoops
03:25
<&McMartin>
Well, TIL
03:25 * McMartin has been porting some old code from his student days to SDL2.
03:25
< RchrdB>
McMartin, ? what'd you do?
03:25
<&McMartin>
So, the thing I just got working was aspect correction for the modern approach to fullscreen apps
03:26
<&McMartin>
The thing I learned today is that glClear does not in fact respect glViewport, so the pillarboxing is changing colors incorrectly :D
03:26
<&McMartin>
(And the way to constrain a glClear is to enable the scissor test)
03:27
< RchrdB>
I didn't know you could constrain glClear at all.
03:29
<&McMartin>
So, I haven't actually done the scissorwork yet, but it looks like I can control the pillarboxing color independently by doing a glClear, enabling the scissor test, changing the clear color, glClearing again, and then disabling the scissor test.
03:31
< RchrdB>
can you glClear the whole screen with the colour you want the pillarboxes to be and then later during the frame draw over everything except the pillarboxes?
03:31
<&McMartin>
It's the "draw over everything" part that's the trick, yes; I'm using the clear color to represent the untextured sky in this old project.
03:32
< RchrdB>
sounds like it'd be less complicated to draw a flat colour rectangle over the drawable area immediately after the glClear(), than to do the fiddling around to get a second glClear() invocation to do the thing
03:33
<&McMartin>
No, the less complicatred thing to do is to not have to try to edit rendering code so old that it was written when OpenGL 1.2 was cutting edge
03:33
<&McMartin>
And instead paste three lines of code at the top
03:35
<&McMartin>
Not to mention that this is OpenGL 1.1 code; "draw a flat color rectangle" involves kicking a state machine around and emitting something like twelve API calls.
03:37
<&McMartin>
(This was my old final project from a graphics class in 2003.)
03:37
<&McMartin>
https://i1.wp.com/bumbershootsoft.files.wordpress.com/2018/06/bad_pillarbox.jpg?ssl=1
03:37
< RchrdB>
what's the game?
03:37
< RchrdB>
this looks like a flightsim
03:37
<&McMartin>
More like a cheap afterburner clone
03:39
<&McMartin>
Basically, I'm familiarizing myself with SDL2 by converting a bunch of my juvenilia into using SDL2 instead of SDL1
03:39
<&McMartin>
So the one that's "just use OpenGL for everything" is the smallest amount of conversion
03:40
<&McMartin>
Then the one that wants an accelerated sprite renderer
03:40
<&McMartin>
And then I can look into finally making UQM have a sensibly resizable window and do fullscreen properly on modern machines.
03:52
<&McMartin>
Yeah, it turns out the scissortest is completely trivial
03:52
<&McMartin>
When I call glViewport, call glScissor with identical arguments
03:53
<&McMartin>
Then after my initial "glClearColor(...) glClear(...)"
03:53
<&McMartin>
add
03:53
<&McMartin>
glClearColor(...); glEnable(GL_SCISSOR_TEST); glClear(GL_COLOR_BUFFER_BIT); glDisable(GL_SCISSOR_TEST)
04:08
< RchrdB>
is the scissor test literally "paint only on pixels which intersect the viewport"?
04:09
< RchrdB>
I thought it was something more complicated like the stencil buffer which, y'know, has to be filled out with more draw calls
04:10 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
04:14
<@celticminstrel>
Not quite.
04:14
<@celticminstrel>
It's more like setting a clipping rectangle, which may or may not be the full viewport.
04:14
<@celticminstrel>
It's nothing to do with the stencil buffer AFAIK.
04:20 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has left #code ["Leaving"]
04:28 Vornicus [Vorn@Nightstar-sjaki9.res.rr.com] has quit [Ping timeout: 121 seconds]
04:50 Jessikat [Jessikat@Nightstar-d1qlv1.dab.02.net] has joined #code
05:09
<&McMartin>
Yeah, it's not the stencil buffer, it's a much simpler test.
05:10
<&McMartin>
I think it's intended to be "keep stuff inside the window on IRIX"
05:13 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
05:16 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
05:16 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
05:24 Derakon is now known as Derakon[AFK]
05:40 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
05:56 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving]
05:56 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving]
05:56 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
05:56 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
06:21 celticminstrel is now known as celmin|sleep
06:23
<&[R]>
I'm impressed at how many people just blatantly refuse to read errors
06:23
<&[R]>
ESPECIALLY code-monkeys
07:18 Vornicus [Vorn@Nightstar-sjaki9.res.rr.com] has joined #code
07:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
07:23 Vornicus [Vorn@Nightstar-sjaki9.res.rr.com] has quit [Ping timeout: 121 seconds]
07:47 Jessikat` [Jessikat@Nightstar-q53tu0.dab.02.net] has joined #code
07:49 Jessikat [Jessikat@Nightstar-d1qlv1.dab.02.net] has quit [Ping timeout: 121 seconds]
08:12 Vornicus [Vorn@Nightstar-sjaki9.res.rr.com] has joined #code
08:13 mode/#code [+qo Vornicus Vornicus] by ChanServ
08:53 Kindamoody[zZz] is now known as Kindamoody
09:54 Kindamoody is now known as Kindamoody|afk
10:01 Jessikat` [Jessikat@Nightstar-q53tu0.dab.02.net] has quit [[NS] Quit: Bye]
10:07
<@TheWatcher>
[R]: "impressed" isn't quite the word I'd use. Generally it's more like "infuriated"
10:37 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
12:20 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
12:22 mac [macdjord@Nightstar-grpbnp.mc.videotron.ca] has joined #code
12:22 mode/#code [+o mac] by ChanServ
12:23 macdjord [macdjord@Nightstar-grpbnp.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
12:27 Kindamoody|afk is now known as Kindamoody
13:21 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code
13:26 Kindamoody is now known as Kindamoody|afk
14:18
<&[R]>
TheWatcher: Indeed. The most recent example that prompted that was a guy coming in with an error "handler method did not return a value, a promise, or throw an error" and was asking WTF to do. His code didn't have a return on the handler method.
14:29 * TheWatcher facepalm
14:31
<&[R]>
And then another time, guy comes in, pastes an error message, asks WTF. I paste it right back at him. "Ah. Okay, that makes sense." and then leaves.
14:52
<@celmin|sleep>
XD
14:53 celmin|sleep is now known as celticminstrel
15:14 Marjo_ [Martin@Nightstar-9cmf82.se.alltele.net] has joined #code
15:15 Marjo_ is now known as M4rjo
17:58 M4rjo [Martin@Nightstar-9cmf82.se.alltele.net] has quit [Ping timeout: 121 seconds]
18:00 Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:04 Vornicus [Vorn@Nightstar-sjaki9.res.rr.com] has quit [Ping timeout: 121 seconds]
18:43 Derakon[AFK] is now known as Derakon
18:46
<&[R]>
https://www.yahoo.com/news/jeopardy-winner-could-prison-sneaking-emails-200321878.html
18:46
<&[R]>
"Authorities said Jass logged into other people's email accounts without permission over a four-day period last year after the college reset everyone's passwords and assigned everyone the same temporary password"
19:21 mac is now known as macdjord|out
19:58
< Emmy>
...and why is the college´s sysad not being persecuted
19:59
<&McMartin>
The law in question presumably says something like "don't touch things you're not supposed to" and a sysad is authorized to do password resets
20:11
< Emmy>
not necessarily, but at the very least not by setting them to exactly the same thing!
20:12
<@ErikMesoy>
McMartin: more like "don't look at things you're not supposed to", actually.
20:13
<@ErikMesoy>
https://www.law.cornell.edu/uscode/text/18/1030 Fork a-2-C criminalizes "Whoever ... intentionally accesses a computer without authorization or exceeds authorized access, and thereby obtains ... information from any protected computer"
20:16 Teth [caius@Nightstar-qn38sl.res.rr.com] has quit [Connection closed]
20:16 Teth [caius@Nightstar-qn38sl.res.rr.com] has joined #code
20:17
< Emmy>
keyword ´protected´
20:18
<@ErikMesoy>
A computer does not need to be protected to be a "protected computer", it's one of those technical legal terms. Section e-2 defines "protected computer" as a government computer, or a bank computer, or a computer used in or affecting interstate or foreign commerce or communication.
20:19
<@ErikMesoy>
("computer which *should* be protected" is perhaps how one might read that)
20:23
<&McMartin>
Right
20:23
<&McMartin>
Computer Protected By This Law
20:24
<&McMartin>
But yeah, the only way you'd get a grand jury to indict the sysadmin for that is if the password reset were itself some kind of rogue act
20:24
<&McMartin>
And maybe not then because password resets don't reveal the old password
20:24
<&McMartin>
(And sysadmins have "do password resets" as part of their "authorized access" or they're not much of a sysadmin)
21:01 Degi [Degi@Nightstar-nr4cbf.dyn.telefonica.de] has joined #code
21:08 macdjord [macdjord@Nightstar-grpbnp.mc.videotron.ca] has joined #code
21:08 mode/#code [+o macdjord] by ChanServ
21:10 macdjord|out [macdjord@Nightstar-grpbnp.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
21:36 Kindamoody|afk is now known as Kindamoody
22:15
< Emmy>
interesting difference between america and this side of the pond, i suppose.
22:17
< Mahal>
The passwords all being set to something identical sounds more like "fuckup" than "deliberate", tbh
22:41
<@TheWatcher>
Or "utterly incompetent admin", which is where I'd put my money, frankly
22:41
<&[R]>
The other real WTF is the fact the software they used for email access didn't have a proper temporary password setup
22:42
<&[R]>
Moment she used one of the temporary passwords, it should've forced her to provide a new one.
22:43
< Mahal>
that's what I meant by "fuckup", yes
23:10 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
23:10 mode/#code [+o Reiv] by ChanServ
23:12 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
23:14 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
23:16 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
23:16 mode/#code [+o Reiv] by ChanServ
23:53 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
--- Log closed Mon Jun 18 00:00:11 2018
code logs -> 2018 -> Sun, 17 Jun 2018< code.20180616.log - code.20180618.log >

[ Latest log file ]