--- Log opened Sun Apr 13 00:00:25 2014 |
00:01 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
00:01 | | mode/#code [+o himi] by ChanServ |
00:04 | | You're now known as TheWatcher[T-2] |
00:20 | <@AnnoDomini> | Multiple star systems are whack: http://www.atlasoftheuniverse.com/orbits.html |
00:25 | | You're now known as TheWatcher[zZzZ] |
00:48 | | Typherix [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has quit [Connection reset by peer] |
00:48 | | Typherix_ [Typherix@Nightstar-n91qrf.lnngmi.sbcglobal.net] has joined #code |
01:05 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has joined #code |
01:06 | <&ToxicFrog> | Hurrah, sed |
01:06 | <&ToxicFrog> | sed '1 { /^From / d; }' | spamc | /usr/lib/cyrus/bin/deliver "$USER" |
01:33 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
01:47 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
01:47 | | mode/#code [+o himi] by ChanServ |
02:03 | | Netsplit *.net <-> *.split quits: @iospace, @Syloq, Reiv_, RchrdB, froztbyte, @AnnoDomini, @macdjord, VirusJTG, @Vornicus, @celticminstrel, (+16 more, use /NETSPLIT to show all of them) |
02:05 | | Netsplit over, joins: &Reiver, RchrdB, @PinkFreud, &jerith, Reiv_, @Tamber, VirusJTG, &ToxicFrog, @iospace, &Derakon (+16 more) |
02:07 | | PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has quit [Ping timeout: 121 seconds] |
02:07 | | PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code |
02:07 | | mode/#code [+o PinkFreud] by ChanServ |
02:15 | | HotShot^Work [HotShot^Wor@Nightstar-v7se27.try.wideopenwest.com] has quit [Ping timeout: 121 seconds] |
02:19 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
02:19 | | mode/#code [+o Orthia] by ChanServ |
02:33 | <@celticminstrel> | ...okay. Why is everything I draw offscreen being flipped vertically. |
02:43 | | Turaiel is now known as Turaiel[Offline] |
02:43 | <@celticminstrel> | I also have no idea whether it's being flipped when first drawn or when copied onto the screen. |
02:44 | | Turaiel[Offline] is now known as Turaiel |
02:46 | <@celticminstrel> | Or when loaded, for that matter, though I doubt that would be it. |
02:49 | <&McMartin> | OpenGL uses mathematical coordinates, which means (0,0) is in the lower left. |
02:49 | <@celticminstrel> | If that was the situation, wouldn't everything be flipped? |
02:49 | <&McMartin> | Direct3D uses framebuffer address style coordinates, in which (0,0) is in the upper left, and more positive Y is down. |
02:50 | <&McMartin> | mmm |
02:50 | <&McMartin> | Yeah, good point |
02:50 | <&McMartin> | A sign error in your shaders? Crazy-ass side effects of a perspective transform? |
02:51 | <@celticminstrel> | I'm not actually sure what magic the display() function does, maybe it's more than simply swapping buffers... |
02:52 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has joined #code |
02:53 | <@celticminstrel> | Also XCode, seriously, stop taking me to the wrong version of the function. |
02:54 | <@celticminstrel> | I know there's three functions with identical signatures, but if you can't do guess which one is right then at least put up a menu to let me choose. |
02:54 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has quit [[NS] Quit: Leaving] |
02:55 | <@celticminstrel> | This rendering logic is hopelessly complicated. |
02:57 | <@celticminstrel> | It also looks like it's all in the wrong order, though whether that's really the case, I'm not sure. |
03:02 | <@celticminstrel> | I guess display() also applies appropriate transformations. |
03:02 | <@celticminstrel> | Because calling it fixed the issue. |
03:04 | <@celticminstrel> | ...I'm pretty sure several of these rendering functions are being redundantly called twice during rendering. |
03:05 | <&McMartin> | Doing offscreen rendering I think does run you through the pipeline twice |
03:06 | <@celticminstrel> | That would make sense, but I mean if you make a call graph of the functions I think you'd find some are called twice. |
03:07 | <&McMartin> | Ah |
03:08 | <@celticminstrel> | Though, possibly with different arguments; some take an argument that determines whether they copy to the screen when done. |
03:08 | <@celticminstrel> | I want to simplify this, but I also just want it to work. |
03:09 | <@celticminstrel> | I still have to fix all the text being drawn too low. |
03:41 | <@Tarinaky> | http://i.imgur.com/JnvtlJP.jpg |
04:25 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:28 | | HotShot^Work [HotShot^Wor@Nightstar-ecje17.mi.comcast.net] has joined #code |
04:32 | | HotShot^Work [HotShot^Wor@Nightstar-ecje17.mi.comcast.net] has quit [Ping timeout: 121 seconds] |
04:38 | | HotShot^Work [HotShot^Wor@Nightstar-ecje17.mi.comcast.net] has joined #code |
04:41 | | iospace [Alexandria@Nightstar-fkokc2.com] has quit [Ping timeout: 121 seconds] |
05:24 | <&McMartin> | Parser drafted! |
05:24 | <&McMartin> | Time to start throwing some actual programs at it. |
05:24 | <~Vornicus> | hooray |
05:24 | | * McMartin wants to collect some metrics on old published COMPUTE! programs |
05:25 | <&McMartin> | Specifically: prevalence of heterogeneous DATA statements, named loop variables, and whether the results of GET are confined to purely special-purpose variables. |
05:27 | <~Vornicus> | heterogeneous DATA statements? |
05:38 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.] |
05:42 | | RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code |
05:48 | | Kindamoody[zZz] is now known as Kindamoody |
05:52 | <&McMartin> | Mixing numbers and strings |
05:57 | | HotShot^Work [HotShot^Wor@Nightstar-ecje17.mi.comcast.net] has quit [Ping timeout: 121 seconds] |
06:01 | | ErikMesoy|sleep is now known as ErikMesoy |
06:06 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
06:07 | | HotShot^_ [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has joined #code |
06:18 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
06:18 | | mode/#code [+o himi] by ChanServ |
06:25 | | HotShot^_ [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has quit [Connection closed] |
06:29 | <&McMartin> | Aaaand, parsing PRINT was busted |
06:29 | | * McMartin fixes that. |
06:39 | <&McMartin> | Success: https://hkn.eecs.berkeley.edu/~mcmartin/goblin-ast.txt |
07:00 | | iospace [Alexandria@Nightstar-fkokc2.com] has joined #code |
07:00 | | mode/#code [+o iospace] by ChanServ |
07:49 | | iospace is now known as io\passed_out |
08:20 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
08:20 | | mode/#code [+o JackKnife] by ChanServ |
08:38 | | macdjord is now known as macdjord|slep |
08:44 | < froztbyte> | I haven't been keeping up lately |
08:44 | < froztbyte> | what on earth are you doing, McMartin? |
08:44 | < froztbyte> | is that a stack of some kind, in a lisp, with some BASIC elements? |
08:45 | | celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:45 | | Reiv [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
08:46 | | mode/#code [+o Reiv] by ChanServ |
08:46 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds] |
08:46 | < froztbyte> | oh, I see |
08:46 | | Turaiel is now known as Turaiel[Offline] |
09:46 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
10:26 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has joined #code |
10:27 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has quit [[NS] Quit: Leaving] |
10:27 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has joined #code |
10:39 | | You're now known as TheWatcher |
10:45 | | HotShot^Work [HotShot^Wor@Nightstar-kvnesi.sfldmi.sbcglobal.net] has quit [[NS] Quit: Leaving] |
10:49 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
11:15 | | Kindamoody is now known as Kindamoody|afk |
11:41 | | Syka [the@Nightstar-3j1.p6c.166.101.IP] has joined #code |
11:42 | | Syka is now known as NSGuest28204 |
11:45 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:48 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
12:01 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
12:02 | | mode/#code [+o himi] by ChanServ |
12:15 | | NSGuest28204 is now known as Syk |
12:45 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code |
12:59 | | AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving] |
13:00 | | ErikMesoy [Erik@Nightstar-6v0.mal.203.80.IP] has quit [Connection closed] |
13:01 | | ErikMesoy [Erik@Nightstar-t5i7tl.80-203-18.nextgentel.com] has joined #code |
13:02 | | mode/#code [+o ErikMesoy] by ChanServ |
13:39 | | Kindamoody|afk is now known as Kindamoody |
14:02 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
14:13 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has joined #code |
14:13 | | mode/#code [+o celticminstrel] by ChanServ |
14:15 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
14:15 | | mode/#code [+o himi] by ChanServ |
14:23 | | Syk [the@Nightstar-3j1.p6c.166.101.IP] has quit [Ping timeout: 121 seconds] |
14:23 | | Syk [the@Nightstar-3j1.p6c.166.101.IP] has joined #code |
14:47 | | ErikMesoy [Erik@Nightstar-t5i7tl.80-203-18.nextgentel.com] has quit [[NS] Quit: Disconnecting] |
14:48 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has quit [Client exited] |
14:53 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has joined #code |
14:53 | | mode/#code [+o celticminstrel] by ChanServ |
15:02 | <@celticminstrel> | ...Google doesn't allow password reuse? |
15:05 | | ErikMesoy [Erik@Nightstar-6v0.mal.203.80.IP] has joined #code |
15:06 | | mode/#code [+o ErikMesoy] by ChanServ |
15:13 | <@celticminstrel> | Is 443 the normal ssh port? |
15:13 | <@Azash> | It's the normal HTTPS port |
15:13 | <@Azash> | The normal SSH port is 22 |
15:14 | <@celticminstrel> | Hm. |
15:14 | <@celticminstrel> | Does the Heartbleed thing affect ssh as well as https? |
15:16 | <@TheWatcher> | No |
15:16 | <@TheWatcher> | But anything that supports TLS is. |
15:17 | <@celticminstrel> | Ah, okay. |
15:17 | <@Azash> | Nah, heartbleed is a problem with openSSL, not openSSH |
15:17 | <@TheWatcher> | So https, ldap with TLS enabled, IMAP with TLS, etc |
15:17 | <@celticminstrel> | I thought they used the same underlying protocol. |
15:18 | <@Azash> | Heartbleed is an issue with openSSL specifically |
15:18 | <@Azash> | Not the protocols nor any other (known) implementation of them |
15:18 | <@celticminstrel> | So they do use the same protocol? |
15:19 | <@celticminstrel> | Incidentally, I changed my Google password because stackoverflow was affected. |
15:24 | <@Azash> | OpenSSH uses openSSL services, but IIRC Heartbleed was related to how it provides TLS, as TheWatcher said |
15:24 | <@TheWatcher> | Yep |
15:25 | <@celticminstrel> | Blargh, the checker doesn't support STARTLS. |
15:25 | <@TheWatcher> | http://xkcd.com/1354/ - a very short explanation of what heartbleed is. |
15:25 | <@celticminstrel> | I think I saw that. |
15:26 | <@celticminstrel> | Why is the Flash plugin crashing whenever I visit github. |
15:26 | <@Azash> | I particularly enjoyed how one of the few worthwhile XKCDs still manages to slip in some invalid IPs |
15:26 | <@celticminstrel> | Hm? |
15:28 | <@TheWatcher> | (essentially, you can request up to a 64K block of memory as part of the heartbeat check in TLS. Servers with heartbeat disabled are unaffected, even if they're running a vulnerable version of openssl. It's litterally just the heartbeat part of the TLS implementation of openssl that is the problem. This time.) |
15:28 | <@celticminstrel> | Connection refused on port 443 probably means it doesn't handle https, right? |
15:29 | <@celticminstrel> | Ah, that's why it's called heartbleed. |
15:29 | <@celticminstrel> | Wht's heartbeat? |
15:29 | <@TheWatcher> | Keeps the connection alive |
15:29 | <@Azash> | Or it's listening on a different port or something |
15:29 | <@Azash> | But that's unlikely |
15:29 | <@TheWatcher> | (well, checks that the connection is still there) |
15:37 | <@celticminstrel> | ... |
15:38 | <@celticminstrel> | Flash is crashing everywhere. |
15:38 | <@Azash> | http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/008_openssl.patch |
15:38 | <@Azash> | Oh boy oh boy |
15:39 | <@celticminstrel> | Why is Flash not working. |
15:39 | <@TheWatcher> | Azash: *facepalm* |
15:40 | <@Tamber> | celticminstrel: <snark> Because Flash </snark> |
15:40 | <@celticminstrel> | Yeah yeah. |
15:40 | <@TheWatcher> | Sooo, about those alternatives to OpenSSL.... |
15:41 | <@TheWatcher> | Oh, wate >.< |
15:41 | <@Azash> | Maybe systemd will include it |
15:41 | <@TheWatcher> | Ugh, systemd |
15:44 | <@celticminstrel> | The "Send Crash Report" button when Flash crashes sends the report to Firefox, not Adobe, right? |
15:45 | <@celticminstrel> | Ah, it must do, the ? button links to Firefox stuff. |
15:49 | <@celticminstrel> | I can't change my Skype password because Flash is crashing. o.O |
15:50 | <@celticminstrel> | Oh wait, no, it was a cookies issue. |
15:50 | <@celticminstrel> | I was accepting cookies for login.skype.com instead of skype.com. |
15:52 | <@celticminstrel> | Everyone needs to complain to Microsoft. |
15:52 | <@celticminstrel> | They're limiting passwords to 20 characters. |
15:52 | <@celticminstrel> | And not accepting spaces. |
15:58 | <@celticminstrel> | Why isn't Firefox asking to save my Skype password. |
16:03 | <@celticminstrel> | Oh yeah, I forgot Apple sets stupid security questions. And I forgot my illogical answers. |
16:07 | <@celticminstrel> | I don't really mind sites requiring mixed-case or symbols, but Apple requires at least one digit and disallows multiple identical consecutive characters. The first is slightly annoying, the second is just stupid. |
16:07 | | * TheWatcher readsup |
16:08 | <@TheWatcher> | Any time a service limits password length, I default to using a crappy throw-away and not using it for anything more thna I need to |
16:08 | <@celticminstrel> | Heh. |
16:08 | <@TheWatcher> | because there's a damned good chance they're storing it plaintext |
16:08 | <@celticminstrel> | That's an interesting point. |
16:09 | <@celticminstrel> | I managed to think of something though. And it's not something I use anywhere else. |
16:09 | <@celticminstrel> | I still think everyone should complain to Microsoft though. Maybe if 5000 people complained they'd actually do something. >_> |
16:11 | <@celticminstrel> | I could actually answer some of these possible security questions, but it's probably better to use illogical answers. |
16:17 | <@celticminstrel> | ...... |
16:17 | <@celticminstrel> | Apple accepts spaces but strips them out. o.O |
16:17 | <@celticminstrel> | Wait, let me double-check that this wasn't Firefox getting confused. |
16:17 | <@celticminstrel> | It wasn't. |
16:18 | <@TheWatcher> | wat |
16:18 | < Syk> | wat |
16:23 | <@celticminstrel> | If Firefox hadn't saved my password, I would have never known. |
16:23 | | Kindamoody is now known as Kindamoody|afk |
16:30 | < [R]> | <TheWatcher> Any time a service limits password length, [...] <TheWatcher> because there's a damned good chance they're storing it plaintext <-- honestly, anytime I see a financial institution with a limit of 8 characters, I wonder why the fucking hell they're still using crypt(). |
16:30 | < [R]> | Financial institutions are the only ones I see with this limit now, and there isn't one that doesn't have that specific limit. |
16:31 | < [R]> | Visa, Mastercard, my bank (I've had 3 now)... |
16:32 | | * Azash cheers for bank that uses OTPs |
16:40 | <@celticminstrel> | Oh dear, I've forgotten the password for my old keychain. |
16:41 | <@celticminstrel> | Somehow I doubt that's likely to be recoverable. |
16:42 | <@celticminstrel> | Hm. Maybe if I boot back into Snow Leopard... |
16:43 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has quit [Client exited] |
16:45 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
16:48 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has joined #code |
16:48 | | mode/#code [+o celticminstrel] by ChanServ |
16:48 | <@celticminstrel> | No luck. |
16:49 | <@celticminstrel> | I imagine I could reset the Snow Leopard login password, but I don't think that'd help with finding the keychain password. |
16:49 | <@celticminstrel> | Maybe I could enable automatic login and try again. |
16:55 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has quit [Client exited] |
16:59 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
16:59 | | mode/#code [+o himi] by ChanServ |
16:59 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has joined #code |
17:04 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has quit [Connection closed] |
17:09 | | io\passed_out is now known as iospace |
17:15 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has joined #code |
17:16 | | mode/#code [+o celticminstrel] by ChanServ |
17:16 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has quit [Client exited] |
17:30 | | celticminstrel [celticminst@Nightstar-57p13c.dsl.bell.ca] has joined #code |
17:30 | | mode/#code [+o celticminstrel] by ChanServ |
18:09 | | macdjord|slep is now known as macdjord |
18:16 | <@celticminstrel> | What sort of container is best for a "history" buffer which saves recent messages? Basically, it should have a maximum length, and if something is added when it's full, the oldest message is dropped. |
18:36 | <@Tarinaky> | celticminstrel: A cyclic linked list? |
18:37 | <&jeroud> | A deque? |
18:38 | <@celticminstrel> | boost::circular_buffer? |
18:38 | <&jeroud> | A circular buffer is usually a different thing. |
18:38 | <@Tarinaky> | Oh, this was specifically a C++ question. |
18:38 | <@celticminstrel> | Hm. |
18:38 | <&jeroud> | Byte-oriented. |
18:38 | <@celticminstrel> | Yeah Tarinaky, sorry for not mentioning. |
18:39 | <@celticminstrel> | jeroud: It's templated. |
18:40 | <@Tarinaky> | I don't think there's specifically a container for it in STL |
18:40 | <@celticminstrel> | Yeah, there's nothing like that in STL. |
18:40 | <@Tarinaky> | You could probably just allocate an array and a pointer offset for the head. |
18:41 | <@celticminstrel> | No thanks. |
18:41 | <@celticminstrel> | Actually, that's probably how it works right now, more or less. |
18:42 | <@celticminstrel> | Yeah, looks like it, except instead of a pointer it stores an index. |
18:42 | <@celticminstrel> | Pretty much the same thing. |
18:42 | <@Tarinaky> | I said a pointer offset, not a pointer :p |
18:42 | <@celticminstrel> | Fair enough. |
18:42 | <@celticminstrel> | I guess it's exactly what's being done then. :P |
18:42 | <&jeroud> | celticminstrel: You could use a deque and check size on insert. |
18:43 | <@Tarinaky> | Modifying an STL container to do /exactly/ what you want isn't worth the candle. |
18:43 | <@celticminstrel> | But I want to consider expanding the size of the buffer, maybe even making the size configurable, so... |
18:43 | <@Tarinaky> | Then use a vector or a deque instead of an array. |
18:43 | <@celticminstrel> | I'm going to double-check boost::circular_buffer first. It might be what I want. |
18:44 | <@Tarinaky> | But otherwise just handle the end of the container as a special case. |
18:44 | <@celticminstrel> | Now that you mention it, it would be pretty easy to do with a deque. |
18:45 | <@Tarinaky> | if next() is the end() return begin() or whatever the names of the methods are. |
18:45 | | * Tarinaky really should remind herself >.< |
18:46 | <@celticminstrel> | Basically, if I want to add something and it's full, remove the first element. |
18:46 | <@Tarinaky> | Not even that, just modify the data of the first element. |
18:46 | <&jeroud> | I was actually thinking about undo rather than history. |
18:46 | <@Tarinaky> | Don't remove it from the container. |
18:46 | <@Tarinaky> | Just overwrite it. |
18:46 | <@celticminstrel> | That would be more complicated. |
18:47 | <&jeroud> | A deque might not work if you want to access arbitrary entries. |
18:48 | <@celticminstrel> | Oh, right, it's not random access, is it... |
18:48 | <@Tarinaky> | Which is why I thought a vector would be easier. |
18:49 | <@celticminstrel> | A vector doesn't have a remove front method, so I'd have no choice but to do the circular thing manuall. |
18:49 | <@celticminstrel> | A vector doesn't have a remove front method, so I'd have no choice but to do the circular thing manually. |
18:49 | <@celticminstrel> | Uh, I was going to just ^correct that. Oh well. |
18:49 | <@celticminstrel> | Then again, it's already doing the circular thing manually. |
18:49 | <@Tarinaky> | I'm still not sure why you want to remove the data from the container instead of just overwriting it. |
18:49 | <@celticminstrel> | I was just saying it would be easier to do it that way. It's probably better not to. |
18:50 | <@celticminstrel> | There's no fixed-size container with size settable at runtime, is there? |
18:50 | <@celticminstrel> | Like std::array with the size a constructor parameter instead of a template parameter. |
18:50 | <@Tarinaky> | std::vector's constructor has a parameter for it. |
18:51 | <@Tarinaky> | And there's a set size method. |
18:51 | <@celticminstrel> | Making the size in std::array a template parameter strikes me as a poor choice, honestly. |
18:52 | <@Tarinaky> | It's not a template parameter. |
18:52 | <@celticminstrel> | Yeah, std::vector would certainly work, but it's technically not fixed size. :P |
18:52 | <@celticminstrel> | Uh, yes, it is a template parameter. |
18:52 | <@celticminstrel> | std::array<int, 6> --> an array of 6 ints |
18:52 | <@Tarinaky> | Oh. I thought we were talking about vector. |
18:52 | | * Tarinaky didn't know there was a std::array o.o |
18:53 | <@celticminstrel> | I said quite clearly that I was talking about std::array. :P |
18:53 | <@Tarinaky> | Yes, but I thought you were being confused. |
18:53 | <@celticminstrel> | Ah. |
18:54 | <@Tarinaky> | Anyway, I thought you wanted to change/specify your size at runtime... which means a vector. |
18:55 | <@celticminstrel> | Okay, boost::circular_buffer does do exactly what I want, it seems. |
18:56 | <@celticminstrel> | "If the latest data is the most important, write over the oldest data" |
18:56 | <@celticminstrel> | I was actually using an std::list for undo/redo, by the way. (Because someone mentioned undo.) |
19:00 | <@Tarinaky> | Meanwhile, on the planet Kerbin http://imgur.com/a/Nj8F0#0 |
19:04 | <@iospace> | yup |
19:04 | <@iospace> | that' |
19:04 | <@iospace> | s KSP |
19:08 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
19:08 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
19:28 | <@celticminstrel> | I wonder if Firefox has any way to direct links from other applications to a certain tab group... |
19:30 | <~Vornicus> | Probably not; I don't think it gets that information. |
19:40 | <@celticminstrel> | Really? You don't think it can tell the difference between "link typed into the address bar" and "link requested from another application"? |
19:40 | <@celticminstrel> | That's not really specific enough for what I had in mind, though. |
19:41 | <~Vornicus> | What I mean is |
19:41 | <~Vornicus> | -- and what I thought you meant, at that -- |
19:41 | <~Vornicus> | was that I don't think it knows from which application the request came. |
19:42 | <@celticminstrel> | Yeah, that was what I wanted. |
19:44 | <@celticminstrel> | ...wait. I lost a Firefox toolbar. How on earth did that happen? |
19:44 | <@celticminstrel> | My custom toolbar with additional buttons has disappeared. |
19:45 | <~Vornicus> | I don't even know what to google to figure out where to look for that information |
19:45 | <@celticminstrel> | The toolbar one? |
19:46 | <@celticminstrel> | Or the other thing? |
19:46 | <~Vornicus> | The other thing |
20:10 | | Kindamoody|afk is now known as Kindamoody |
20:34 | | Turaiel[Offline] is now known as Turaiel |
20:41 | <@ErikMesoy> | I'd use the word "origin" (since "source" gets you source code) |
20:49 | <@celticminstrel> | Hm, if my program were drawing out of bounds, could that cause strange graphical artifacts in other programs? |
20:50 | <@celticminstrel> | I don't know of anywhere it might be drawing out of bounds, but... |
21:00 | <@Tarinaky> | iospace: One of these days I'm going to use sepetrons to recreate from the Earth to the Moon. |
21:00 | | Typherix_ is now known as Typherix |
21:01 | <@iospace> | Tarinaky: o rly |
21:01 | <@iospace> | :P |
21:01 | <@celticminstrel> | There's a limit to the number of textures you can have, right? |
21:02 | <@Tarinaky> | Err, not sepetrons. |
21:02 | <@Tarinaky> | Sepetrons are the rockets. |
21:02 | <@Tarinaky> | What am I thinking of? |
21:03 | <@Tarinaky> | Decouplers!# |
21:03 | <@Tarinaky> | I'm thinking of decouplers... I think. |
21:03 | <@iospace> | Tarinaky: someone's done that, to Duna |
21:04 | | Kindamoody is now known as Kindamoody[zZz] |
21:04 | <@Tarinaky> | iirc they didn't fire all the decouplers on the ground. |
21:04 | <@iospace> | yes they did |
21:04 | <@Tarinaky> | Oh. |
21:04 | <@iospace> | Tarinaky: https://www.youtube.com/watch?v=idq3sBiVs6M |
21:04 | <@Tarinaky> | Thanks. |
21:14 | | Turaiel is now known as Turaiel[Offline] |
21:24 | <@Tarinaky> | iospace: I wonder if it'd be possible to mod in a 'real' vern gun :P |
21:24 | <@iospace> | probably |
21:24 | <@Tarinaky> | And have it work without making the physics engine cry. |
21:29 | <@Tarinaky> | Probably not. |
21:30 | <@Tarinaky> | Not unless you make the craft out of the same stuff they make the space-suits out of. |
21:44 | | Reiv [orthianz@Nightstar-3tp.juj.184.203.IP] has quit [Ping timeout: 121 seconds] |
21:45 | | Orthia [orthianz@Nightstar-3tp.juj.184.203.IP] has joined #code |
21:45 | | mode/#code [+o Orthia] by ChanServ |
22:01 | | Turaiel[Offline] is now known as Turaiel |
22:23 | <@celticminstrel> | Hm, my stencil buffer stuff didn't work. |
22:27 | <@celticminstrel> | With stencil function on "always", I'm drawing a square of pixels, some of which are transparent. |
22:27 | <@celticminstrel> | Maybe it sets the stencil to 1 even for the transparent pixels? |
22:29 | <@celticminstrel> | Hm, no, if I fail to restrain the rect, it doesn't clip to the mask rect. |
22:34 | <@celticminstrel> | Oh wait, I may be drawing the wrong mask. |
22:36 | <@celticminstrel> | Nope. |
22:36 | | JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
22:36 | | mode/#code [+o JackKnife] by ChanServ |
22:58 | <@Tarinaky> | So the question is. Do I actually do my diss. Or do I fuxxor about with OpenGL again. |
22:58 | <@Tarinaky> | >.< |
23:01 | | * Tarinaky is a terrible student. |
23:04 | | gnolam_ [lenin@Nightstar-471pis.cust.bredbandsbolaget.se] has joined #code |
23:04 | | gnolam [lenin@Nightstar-471pis.cust.bredbandsbolaget.se] has quit [NickServ (RECOVER command used by gnolam_)] |
23:04 | | gnolam_ is now known as gnolam |
23:04 | | mode/#code [+o gnolam] by ChanServ |
23:35 | | Syk [the@Nightstar-3j1.p6c.166.101.IP] has quit [[NS] Quit: lol] |
23:45 | <@celticminstrel> | I don't understand why this is drawing solid black instead of the desired texture subrectangle. As far as I can tell I'm doing the exact same thing just a bit later (though with a different rect), and it works. |
23:54 | <@celticminstrel> | Oh, wait. I had the coordinates swapped for just that one rect. |
23:54 | | * celticminstrel facepalm. |
--- Log closed Mon Apr 14 00:00:41 2014 |