--- Log opened Tue Dec 02 00:00:55 2014 |
00:23 | | Derakon[AFK] is now known as Derakon |
00:30 | | * Derakon amuseds at https://dolphin-emu.org/blog/2014/12/01/dolphin-progress-report-november-2014/ |
00:31 | <&Derakon> | One of the improvements made to this Gamecube/Wii emulator in this release is modulating the rate at which data is loaded based on the byte offset of the data into the ISO. |
00:31 | <&Derakon> | Which simulates the constant-angular-velocity spinning optical disk in the console -- data at the outer edge of the disk can be read more quickly than that towards thte middle of the disk. |
00:32 | <~Vornicus> | Man. |
00:32 | <&Derakon> | They tested this by, among other things, running a disc ripper program in the emulator to generate an ISO, which they then ran in the emulator. |
00:32 | <@celticminstrel> | I wonder if any games rely on that. |
00:32 | <&Derakon> | So you can use Dolphin to duplicate ISOs, albeit in a very roundabout fashion. |
00:32 | <&Derakon> | CM: they do! |
00:32 | <&Derakon> | In particular, speedrunning techniques for Metroid Prime depend heavily on when and how data is loaded. |
00:33 | <@celticminstrel> | ...I'm not sure that's quite what I meant by games relying on it... |
00:33 | <&Derakon> | Oh, right. |
00:33 | <&Derakon> | Well, the loading trigger planes in the rooms (that trigger loading of the next room when the player passes through the plane) are presumably placed based on how long the next room takes to load. |
00:33 | <&Derakon> | Among other things. |
00:34 | <&Derakon> | "The reason for all of this is that Dolphin was reading at a set 3000KB/s; which is actually below the maximum read speed of a Wii disc drive. Setting the read speed any lower than this would cause stuttering in disc intensive videos such as Gauntlet: Dark Legacy and Mario Golf: Toadstool Tour that have their data toward the outside of the disc." |
00:35 | <&Derakon> | So yeah, high-bandwidth video should be located at the edge of the disk in a real system. |
01:39 | | macdjord [macdjord@Nightstar-7rac1r.mc.videotron.ca] has quit [[NS] Quit: Tekeli-li! Tekeli-li!] |
02:16 | | MantaWaffles [MantaWaffle@Nightstar-k1u.qbo.119.209.IP] has joined #code |
02:39 | < MantaWaffles> | So, I've started to learn how to use python. |
02:40 | <@celticminstrel> | Yay! |
02:40 | <&ToxicFrog> | Huzzah |
02:40 | <&Derakon> | print "Hello, world!" |
02:41 | <&ToxicFrog> | print is a function, dammit~ |
02:41 | <&Derakon> | Oh yeah, Python 3. |
02:41 | <&Derakon> | I keep forgetting that's a thing >.> |
02:41 | <&ToxicFrog> | Even in py2 I import print_function |
02:42 | <&ToxicFrog> | Now if only they'd do the same with assert |
02:42 | <&ToxicFrog> | Because I keep writing assert(condition, message) and then wondering why it never trips~ |
02:44 | | MantaWaffles [MantaWaffle@Nightstar-k1u.qbo.119.209.IP] has quit [[NS] Quit: See ya.] |
02:48 | <@celticminstrel> | I don't usually do future imports, except division sometimes. |
02:50 | <~Vornicus> | division is my future import, but nowadays I'm all Py3 all the time, basically |
02:52 | <@Reiv> | I thought you were php |
02:52 | <~Vornicus> | for python I mean |
02:53 | <~Vornicus> | actually my recent adventures in php involve, um. Using PHP to build a json-spewing api... |
03:20 | <&ToxicFrog> | What does division do? |
03:23 | <@celticminstrel> | Int division does not truncate. |
03:28 | <~Vornicus> | basically it makes / always be float division; // is now flooring division, which is to say what / was for integers before |
03:30 | <@Reiv> | that seems the wrong way to go about implementing a new feature |
03:31 | <~Vornicus> | Reiv: __future__ is about bringing in not-backward-compatible changes that are intended for later versions |
03:32 | <~Vornicus> | The two you'll see most often are both no-longer-future in Python 3: division and print_function |
03:34 | <~Vornicus> | Both fix things that can have surprising effects: print_function turns print from a statement (and thus not passable as a callback) into a function (and thus passable as a callback); division makes it so the result of a division depends less on the type, which is in general less evident in dynamically typed languages. |
03:41 | <~Vornicus> | __future__ imports have been used to create new keywords (yield and with), turn a keyword into a function (print), change the semantics of operators (division), change the way literals work (unicode literals), change the search path for variables (nested scope), and change the search path for imported files. |
03:48 | | Kindamoody[zZz] is now known as Kindamoody |
04:53 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
05:13 | | Derakon is now known as Derakon[AFK] |
05:19 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
05:31 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Connection closed] |
05:42 | | gnolam [lenin@Nightstar-utbkuh.cust.bredbandsbolaget.se] has quit [[NS] Quit: Gone] |
06:01 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
06:18 | | Derakon[AFK] [chriswei@Nightstar-5fqf0m.ca.comcast.net] has quit [Connection reset by peer] |
06:19 | | Derakon[AFK] [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code |
06:29 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed] |
06:29 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
06:42 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
06:42 | | mode/#code [+o Alek] by ChanServ |
06:47 | | Omega [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
06:47 | | mode/#code [+o Omega] by ChanServ |
06:47 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [NickServ (RECOVER command used by Omega)] |
06:47 | | Omega is now known as Alek |
07:25 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
07:49 | | Harlow [harlow@Nightstar-5g7.59m.141.50.IP] has joined #code |
08:25 | | Orthia [orthianz@Nightstar-s0c.kmb.224.119.IP] has quit [Ping timeout: 121 seconds] |
08:30 | | Orthia [orthianz@Nightstar-apb.hdm.224.119.IP] has joined #code |
08:30 | | mode/#code [+o Orthia] by ChanServ |
08:46 | | Orthia [orthianz@Nightstar-apb.hdm.224.119.IP] has quit [Ping timeout: 121 seconds] |
08:52 | | Orthia [orthianz@Nightstar-6un.t1g.224.119.IP] has joined #code |
08:52 | | mode/#code [+o Orthia] by ChanServ |
09:08 | | mac [harlow@Nightstar-p1s.pkd.141.50.IP] has joined #code |
09:10 | | Harlow [harlow@Nightstar-5g7.59m.141.50.IP] has quit [Ping timeout: 121 seconds] |
09:16 | | mac [harlow@Nightstar-p1s.pkd.141.50.IP] has quit [Ping timeout: 121 seconds] |
09:17 | | mac [harlow@Nightstar-ujm.a0b.141.50.IP] has joined #code |
09:19 | | Kindamoody is now known as Kindamoody|afk |
10:00 | | mac [harlow@Nightstar-ujm.a0b.141.50.IP] has quit [[NS] Quit: BED] |
11:49 | | thalass [thalass@Nightstar-bakqqn.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
11:58 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
11:58 | | mode/#code [+o Checkmate] by ChanServ |
12:00 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Connection reset by peer] |
12:01 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
12:01 | | mode/#code [+o Checkmate] by ChanServ |
12:25 | | thalass [thalass@Nightstar-bakqqn.bigpond.net.au] has joined #code |
12:25 | | mode/#code [+o thalass] by ChanServ |
13:21 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has joined #code |
13:21 | | mode/#code [+o celticminstrel] by ChanServ |
14:13 | <@celticminstrel> | Argh, suddenly XCode is crashing whenever it hits a breakpoint... |
14:15 | <@celticminstrel> | Or is it just one specific breakpoint. |
14:21 | <@celticminstrel> | Yeah, it magically works... if I set the breakpoint somewhere else. What sorcery is this. |
14:27 | | thalass is now known as Thalass|zzzZzzZZz |
14:29 | <@iospace> | ... so uh |
14:29 | <@iospace> | I think I've just found a non-standard use of the select function in C |
14:29 | <@iospace> | (no, not SQL) |
14:32 | <@TheWatcher> | Oh? |
14:32 | <@iospace> | as a sleep() function ._. |
14:33 | <@celticminstrel> | I have no idea what function this is. |
14:33 | <@iospace> | http://linux.die.net/man/2/select |
14:34 | <@iospace> | i'm actually leaning on "it's sort of clever", mostly because you know why? that takes a timeval struct |
14:34 | | * celticminstrel will look once build-induced lag ends. |
14:35 | <@TheWatcher> | iospace: yeah, using select as a sleep is not that uncommon, especially as it's more portable and allows finer timing |
14:35 | <@iospace> | yeah |
14:36 | <@iospace> | at first I was "really", then I realized that it does allow finer timing |
14:52 | <@celticminstrel> | Hm. |
14:53 | <@celticminstrel> | I wonder if all this would just work without all the __attribute__((packed)). |
15:00 | <@celticminstrel> | Probably can't get rid of the aligned() attributes though... |
15:05 | <&ToxicFrog> | Hmm. |
15:05 | <&ToxicFrog> | What's the right thing to do WRT graphics modes if the user specifies multiple mutually exclusive options? |
15:06 | <&ToxicFrog> | In particular, --borderless is mutually exclusive with --width, --height, and --no-fullscreen |
15:07 | <@celticminstrel> | I'm not sure if it's the "right thing", but I think I would just have the last-specified options take priority. |
15:13 | <@celticminstrel> | Oh! I don't need attributes for alignment anymore? |
15:14 | <@celticminstrel> | So, if I understand correctly, I'd replace __attribute__((align(2))) with alignas(int16_t). |
15:19 | <@celticminstrel> | ...aw, VS2013 doesn't support standard attributes, apparently. |
15:22 | <&ToxicFrog> | Hmm. I could do that. Have setting --borderless force --fullscreen on and --width and --height to 0; have setting any of those set --borderless off. |
15:32 | | Lambo [thelambo@Nightstar-ic6koa.fl.comcast.net] has quit [Ping timeout: 121 seconds] |
16:13 | <@celticminstrel> | Okay, it does fail without __attribute__((packed)). |
16:57 | | Vorntastic [Vorn@Nightstar-k70f1n.ct.comcast.net] has joined #code |
16:59 | < Vorntastic> | I think this is the first time I've been properly overwhelmed in this job: my task is to set up an AWS system. |
16:59 | <&ToxicFrog> | As in Amazon Web Services? |
17:00 | < Vorntastic> | Yeah. |
17:01 | < Vorntastic> | Got ec2, s3, and I forgot the name of the db instance's service. |
17:01 | < Vorntastic> | Fuckin' doomed; never done this before. |
17:03 | <&ToxicFrog> | I don't remember it being terribly hard to set up but it's been like five years |
17:05 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
17:05 | < Vorntastic> | The difficulty is figuring out what the policies I want are, and how to set those policies. |
17:07 | <&ToxicFrog> | Aah. |
17:07 | <&ToxicFrog> | That I cannot help you with |
17:09 | <@froztbyte> | there's wizards and all sorts for that |
17:09 | <@froztbyte> | internet's got you covered. |
17:12 | < Vorntastic> | INNERTUBES |
17:37 | | gnolam [lenin@Nightstar-9kr5bj.tbcn.telia.com] has joined #code |
17:37 | | mode/#code [+o gnolam] by ChanServ |
17:39 | <@celticminstrel> | Hee, okay, I made a struct that contains int8_t[2] and is implicitly castable to int16_t. It seems that'll work for eliminating the padding. |
17:39 | <@celticminstrel> | Although... |
17:39 | <@celticminstrel> | No, that just shifted the padding to the end. |
17:39 | <@celticminstrel> | :/ |
17:42 | <@Tamber> | I was going to suggest using the packed attribute, but then I looked back up... |
17:43 | <@celticminstrel> | Yeah, I'm trying to get rid of that. I might just give up though. |
17:46 | <@celticminstrel> | On the other hand, I just need to have something that works on both clang and VS, so maybe pragma pack... |
17:47 | <@celticminstrel> | Ah, clang does support it, yay. |
17:52 | <@celticminstrel> | Hm, it seems to ignore alignas directives when pragma pack is active... but now the problem is missing padding rather than extra padding, so I can solve it by adding dummy members. |
17:55 | <@celticminstrel> | \o/ |
17:59 | <@Tamber> | :) |
18:28 | <@iospace> | I do not get this code, at all. It honestly feels like "reinventing the wheel" |
18:32 | <@Tamber> | Reinventing the wheel, and doing a poor job of it? |
18:34 | <@iospace> | yes |
19:02 | <@iospace> | I finally figured out what it was doing |
19:03 | <@iospace> | it's not as bad as i once thought, but it's still pretty obfuscated... because no comments |
19:55 | <@celticminstrel> | Somehow it almost seems like everything is moving to github. |
19:57 | <@celticminstrel> | UQM is on there, Wesnoth is on there, Boost is on there... |
19:58 | <@celticminstrel> | Oh wait, UQM on there is someone's fork, I think. |
19:58 | <@celticminstrel> | Still. |
19:59 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
19:59 | | mode/#code [+o Reiv] by ChanServ |
20:06 | <&ToxicFrog> | celticminstrel: unsurprising; github completely outclasses sourceforge in every way |
20:07 | <@celticminstrel> | Also, it seems that Boost still does not officially support clang, for some reason. |
20:08 | <@celticminstrel> | Based on its absence from the list of toolsets on the how to build page in the documentation. |
20:09 | <@celticminstrel> | At least it does support it though. |
20:09 | <@celticminstrel> | Huh, I thought I has said "emphasis on officially". Must've gotten lost somewhere. |
20:10 | <@celticminstrel> | ^had said |
20:13 | | * celticminstrel is updating Boost in the hope that it will fix a compile error I got by just including one of the headers. |
20:13 | <@celticminstrel> | It takes forever to compile... |
20:14 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has left #code [] |
20:14 | | celticminstrel [celticminst@Nightstar-l2rg83.dsl.bell.ca] has joined #code |
20:14 | | mode/#code [+o celticminstrel] by ChanServ |
20:14 | <@celticminstrel> | Whoops. Meant to close a Finder window, not a chat window. >_> |
20:16 | | Kindamoody|afk is now known as Kindamoody |
20:16 | <@celticminstrel> | "on 500th target" - just how many targets are there... |
20:26 | <@celticminstrel> | 1044, apparently. |
20:29 | <@celticminstrel> | ...okay, why am I getting link errors now. |
20:32 | <@celticminstrel> | It's all Boost.Filesystem stuff. |
20:36 | <@celticminstrel> | I'm still linking to the filesystem library, so why am I getting these errors. |
20:37 | <@iospace> | celticminstrel: ? |
20:38 | <@celticminstrel> | I just updated Boost from 1.49 to 1.57, and now the filesystem library won't link for some reason. |
20:38 | <@celticminstrel> | Oh, maybe I need to do a clean build. |
20:45 | <@celticminstrel> | Yeah, that was it. Duh. |
20:45 | <@iospace> | "Have you tried clean building?" :V |
20:49 | | * celticminstrel looks back at the other project that uses Boost and finds that, for some reason, every file that references <iostream> fails to include it. |
20:52 | | * celticminstrel is also glad that forgetting -i when rewriting history gives a null result. |
20:53 | <&ToxicFrog> | celticminstrel: even if it didn't, that's what the reflog is for~ |
20:53 | <@celticminstrel> | I dunno what that is. |
20:53 | <@celticminstrel> | Or maybe I just didn't know what it was called. |
20:54 | <&ToxicFrog> | git reflog, git reflog <branch>: shows you the history of that branch head. |
20:54 | <&ToxicFrog> | This is not the same as the commit history, but rather, the history of everything it ever pointed to. |
20:54 | <&ToxicFrog> | So if you screw up a rebase, the reflog will tell you what commit it pointed to pre-rebase. |
20:55 | <&ToxicFrog> | There's a reflog for each branch, and a reflog for HEAD. |
20:55 | <@celticminstrel> | Ah, that sounds useful. |
20:55 | <@celticminstrel> | I'm not sure if SourceTree is exposing that to me without me realizing it, though. |
20:56 | <&ToxicFrog> | I've never used sourcetree. |
20:58 | <@celticminstrel> | And the update fixes spirit, yay! |
20:59 | | gnolam [lenin@Nightstar-9kr5bj.tbcn.telia.com] has quit [[NS] Quit: Gone] |
21:02 | | Kindamoody is now known as Kindamoody[zZz] |
21:07 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
21:08 | <@iospace> | i hate global variables when they can easily be local |
21:41 | <@TheWatcher> | s/^(.*variables).*$/$1/; |
21:43 | <&McMartin> | Sometimes there's no escape |
21:44 | | * McMartin also takes a dim view of "this namespaced global variable is badwrongthink and must instead be a static variable inside some class!" |
21:46 | <@TheWatcher> | Indeed, there may be no escape, perhaps no alternative, and as long as you shift things around so you can control it... |
21:51 | <&McMartin> | (It *is* important to namespace your globals if you must have them) |
22:38 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
22:39 | | mode/#code [+o himi] by ChanServ |
23:29 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
23:29 | | mode/#code [+o Checkmate] by ChanServ |
23:32 | | Vornlicious [Vorn@Nightstar-b0luv8.sub-70-215-20.myvzw.com] has joined #code |
23:33 | | Derakon[AFK] is now known as Derakon |
23:33 | | mode/#code [+ao Derakon Derakon] by ChanServ |
23:36 | | Vorntastic [Vorn@Nightstar-k70f1n.ct.comcast.net] has quit [Ping timeout: 121 seconds] |
23:36 | | Vorntastic [Vorn@Nightstar-k70f1n.ct.comcast.net] has joined #code |
23:38 | | Vornlicious [Vorn@Nightstar-b0luv8.sub-70-215-20.myvzw.com] has quit [Operation timed out] |
23:39 | | Vornlicious [Vorn@Nightstar-bs3dmc.sub-70-215-24.myvzw.com] has joined #code |
23:42 | | Vorntastic [Vorn@Nightstar-k70f1n.ct.comcast.net] has quit [Ping timeout: 121 seconds] |
23:58 | | Vornlicious [Vorn@Nightstar-bs3dmc.sub-70-215-24.myvzw.com] has quit [Ping timeout: 121 seconds] |
--- Log closed Wed Dec 03 00:00:11 2014 |