code logs -> 2012 -> Thu, 06 Sep 2012< code.20120905.log - code.20120907.log >
--- Log opened Thu Sep 06 00:00:22 2012
00:33
<&Derakon>
Given a total count of steps, and a count of diagonal steps, I need to generate a maximally-symmetric list of diagonal/non-diagonal steps.
00:33
<&Derakon>
For example, if the values are 5 and 1, then it'd be OODOO (orthogonal/diagonal).
00:33
<&Derakon>
If they were 5 and 4 then it'd be DDODD.
00:34
<&Derakon>
If they were 11 and 3 then it'd be OODOODOODOO
00:34 You're now known as TheWatcher[T-2]
00:35
<&Derakon>
Any suggestions?
00:39 You're now known as TheWatcher[zZzZ]
01:01
<~Vornicus>
Bresenham's Algorithm
01:05 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
01:05 mode/#code [+o himi] by ChanServ
01:15 gnolam_ [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
01:18 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds]
01:18 Kindamoody is now known as Kindamoody[zZz]
01:38 gnolam_ is now known as gnolam
02:05 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
02:19 Attilla [Obsolete@Nightstar-26a38a92.as43234.net] has quit [Ping timeout: 121 seconds]
05:05 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:44 Derakon is now known as Derakon[AFK]
07:09 Kindamoody[zZz] is now known as Kindamoody
07:50 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
08:47 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Ping timeout: 121 seconds]
09:12 You're now known as TheWatcher
09:12 Kindamoody is now known as Kindamoody|out
09:17 Attilla [Obsolete@Nightstar-8df23d05.as43234.net] has joined #code
10:20 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
10:49 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
10:49 mode/#code [+o himi] by ChanServ
12:15
< Rhamphoryncus>
hmm. 5 am is probably not a good time for me to learn lighting math
12:15
<@TheWatcher>
Might not be a bright idea~
12:42 Kindamoody|out is now known as Kindamoody
13:07 Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has quit [Client exited]
13:08
<@TheWatcher>
Argh, goddamnyou page layout crap
13:24 Noah [nbarr@Nightstar-e4b6966f.tn.comcast.net] has joined #code
13:25
< Noah>
HRRRRG, McMartin!
13:25
< Noah>
ifMUD IS STILL DOWN. WHAT BE GIVING?
13:28
<&McMartin>
... no?
13:28
<&McMartin>
I just executed a "look" command there.
13:40
< Noah>
Hmm
13:43
< Noah>
Hmm, if I resolve ifmud.port4000.com, I get 173.255.227.103, and if I resolve that again, I get ifmud.ziz.org instead
13:44
< Noah>
But can't seem to connect to any of them at all
13:44
< Noah>
Even the webpage
13:45
< Noah>
halp! *flails uselessly*
14:08
< Noah>
McMartin: Is that the same IP you resolve?
14:09
<@TheWatcher>
I get those
14:10
<@TheWatcher>
And I can get to the port4000.com address over http no problems
14:11
<@TheWatcher>
and telnet to ifmud.port4000.com:4000 works fine
14:13
< Noah>
Yea, I can't seem to telnet or http
14:16
< Noah>
Strange, nothing else is being wonky. What gives?
14:16
< Noah>
firewall is off...
14:19
< RichyB>
Maybe your ISP is being a dick.
14:20
< Noah>
Maybe, but why to ifMUD? I can't get to Discworld fine.
14:20
< Noah>
can*
14:23
< Noah>
For shiziggles, tried it on my android, and still get nothing, so it isn't localized to my computer, whatever the reason
14:23
<@TheWatcher>
Maybe it just hates you?
14:25
< Noah>
Still don't understand why though.
14:26
< RichyB>
Noah: try telnet mitzi.robarr.co.uk 51413
14:26
< Noah>
Aye aye cap'n
14:26
< RichyB>
I just made that bounce to ifmud.port4000.com:4000
14:26
< RichyB>
Any luck?
14:27
< Noah>
Yea, that works
14:28
< RichyB>
Huh.
14:28
< Noah>
That's me btw
14:29
< RichyB>
I don't have anything running that would tell me about your being connected at the moment.
14:29
< RichyB>
Oh tell a lie, I can always use "netstat".
14:29
< Noah>
Indeed.
14:30
< Noah>
You should see me at 68.47.165.169
14:30
< RichyB>
Yep, see you there.
14:31
< RichyB>
So, um, yeah. That's landing at the same server/port at the end, but it's bouncing off my tiny dedicated Linux machine here in the UK.
14:31
< RichyB>
It's just a dumb TCP pipe run as: socat TCP4-LISTEN:51413,fork,reuseaddr TCP4:ifmud.port4000.com:4000
14:31
< Noah>
Yea, off your acedsl connection
14:31
<@TheWatcher>
Noah: have you tried a traceroute from your box to the server?
14:31
< Noah>
TheWatcher: Good idea, I will try that now
14:31
< RichyB>
Nah, that machine is in a colo about 5ms away from linx.net.
14:32
< RichyB>
100Mbit/s both ways.
14:32
< RichyB>
Not ADSL. :)
14:32
< Noah>
Oh, haha
14:32
< Noah>
The canonical I got was p68-227.acedsl.com
14:33
< RichyB>
Never heard of that before.
14:34
< Noah>
Hmm, Kodak, Sharpsridge, Nashville, Goodslettvll, Atlanta, Newyork..
14:34
< Noah>
At 14, it dies.
14:35
< Noah>
Well, that's when I start getting request timed out
14:35
< RichyB>
On an unrelated note, I'm going to reboot that machine now.
14:35
< Noah>
oh noes!
14:35
< RichyB>
I can put that socat pipe back up for you if you want, but I'd really recommend doing that with something closer to you.
14:36
< Noah>
Yeeeeeeea, I don't have a bouncy box at all :\
14:37
< RichyB>
Right now, I recommend that you sign up for a free EC2 account, spin up an EC2 micro instance, open a port on the firewall and run socat from there?
14:37
< RichyB>
Amazon EC2 gives away a free tiny virtual machine for 12 months.
14:37
< RichyB>
After 12 mo it's cheap but not free.
14:38
< RichyB>
If you ever want to get into/play with hosting internet applications on Linux, I would strongly recommend that you start with that. It's quite neat. :)
14:38
< Noah>
It's just odd, my hops got to new york, then...10 48 ms 49 ms 49 ms 173.167.58.26
14:38
< Noah>
11 45 ms 47 ms 46 ms 0.e1-2.tbr1.mmu.nac.net [209.123.10.118]
14:38
< Noah>
12 45 ms 46 ms 49 ms vlan801.esd1.mmu.nac.net [209.123.10.10]
14:38
< Noah>
13 46 ms 47 ms 64 ms 207.99.53.42
14:39
< Noah>
After that, bugger all
14:39
<@TheWatcher>
Weird
14:39
< Noah>
Hmm, says 750 hrs, so I don't think that's quite 12 months
14:39
< Noah>
Unless I don't just stay connected, but then what's the point
14:40
<@TheWatcher>
I see 207.99.52.42, and then it jumps to ifmud.ziz.org immediately after
14:40
< Noah>
Yea, see? I can resolve the IP to ifmud.ziz.org, but I don't get that hop
14:46
< Noah>
Wait
14:46
< Noah>
TheWatcher: The server is literally the next hop?
14:49
<@TheWatcher>
http://pastebin.starforge.co.uk/539
14:50
< Noah>
Okay, so I'm crossing the pond, since evidently you're already on that side of it
14:50
< Noah>
It dies right at the server... maybe I'm IP banned?
14:51
< Noah>
Would that keep me out of the http as well as the telnet?
14:51
<@TheWatcher>
yep
14:53
<@TheWatcher>
If they've just added your ip to a global drop chain or something, you won't be able to get anything - no ping response, not racetoure, http, anything
14:54
< Noah>
Sec, brb
14:56 maoranma [nbarr@Nightstar-e4b6966f.tn.comcast.net] has joined #code
14:57 mao42ranma [nbarr@Nightstar-e4b6966f.tn.comcast.net] has joined #code
14:58 Noah [nbarr@Nightstar-e4b6966f.tn.comcast.net] has quit [Ping timeout: 121 seconds]
15:00
< mao42ranma>
Still nothing. My best guess is my modem renewed to a banned IP address, or someone over there IP banned me, but I can't imagine why anyone would do that
15:00 maoranma [nbarr@Nightstar-e4b6966f.tn.comcast.net] has quit [Ping timeout: 121 seconds]
15:08
< AnnoDomini>
Is there a way to use a laptop's screen as a monitor for some other box?
15:08
< AnnoDomini>
Without disassembly.
15:09
< mao42ranma>
Typically no
15:10
<@TheWatcher>
However, depends what you want to do
15:10
< mao42ranma>
Atypically, some laptop monitors can be accesses from a port replicator designed to use a secondary video card through a dock, but how do that would be beyond me
15:11
<@TheWatcher>
Would something like rdesktop/X11 display export/VNC do what you need?
15:11
< AnnoDomini>
TheWatcher: Thinking of getting a Raspberry Pi and I don't have a monitor.
15:12
<@TheWatcher>
Aah
15:12 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
15:17 * TheWatcher doesn't really know a great deal about them, but if you stick a linux that runs a sshd on the sdcard, you could connect to it over ethernet, and export the X display
15:21
< AnnoDomini>
That could work!
15:21
< AnnoDomini>
I don't actually have much need for X, though, so I could just use the text interface.
15:21
< AnnoDomini>
I plan to use it as a server.
15:23
<@TheWatcher>
Right, in that case, if nothing else Hexxeh's raspbian image has sshd started by default
15:24
< AnnoDomini>
Which still means I have to configure it.
15:25 * TheWatcher confused
15:25 * mao42ranma shakes McMartin, "Tell one of the wizards to fix it!"
15:26
< AnnoDomini>
Just because sshd is installed doesn't mean I will be able to connect via ssh straight away.
15:26
< AnnoDomini>
Accounts, the works, are needed.
15:26
<@TheWatcher>
Ah, you should be able to from what I can tell from the description
15:27
< AnnoDomini>
Yeah, I 'll have to borrow a monitor. :P
15:27 * TheWatcher shrug
15:40 Kindamoody is now known as Kindamoody|out
16:06
< Tarinaky>
AnnoDomini: I think he's implying that the default image will have some default ssh settings loaded which you can use to log in and set up your 'real' account.
16:07
< Tarinaky>
SSH in as root with some default password... change password... ??? PROFIT!
16:08
< AnnoDomini>
This sounds... unwise, if someone happens to skip reading the manual.
16:10
<@TheWatcher>
Tarinaky: That's exactly what I was saying, indeed
16:11
<@TheWatcher>
(in fact, the image page says the root account is 'root/hexxeh')
16:13
<@TheWatcher>
(I've no idea if the official raspbian image has it enabled by default)
17:05 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
17:12 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
17:24 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
17:24 mode/#code [+ao Derakon Derakon] by ChanServ
17:24 * Derakon decides finally to just call the new cockpit system MUI.
17:24
<&Derakon>
Maybe if it makes it big it can have a Far Side cow for a logo.
17:53 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code
17:53 mode/#code [+o Vash] by ChanServ
19:13 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
19:30 Kindamoody|out is now known as Kindamoody
21:35 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
21:36 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
21:36 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
21:36 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
21:58 * Derakon sighs, is stuck trying to compile FTGL by hand for Mac since there's no official build for 64-bit Python 2.7.
21:59
< Derakon>
Stupid link errors. Can't find GLU or GL.
22:13
< Derakon>
...great, and now when I try to run Python I get "Fatal Python error: Interpreter not initialized (version mismatch?)"
22:14
< Derakon>
Fortunately fixed by uninstalling my PyFTGL build, but of course that leaves me without PyFTGL.
22:15
< Derakon>
Google says I'm linking against the wrong Python.
22:15
< Derakon>
Probably Homebrew installed the wrong kind of Boost::Python libraries then.
22:17
< Derakon>
This kind of crap is why I hate compiling other peoples' code, and why I've made an effort in Pyrel to keep external dependencies to a minimum.
22:28
< Derakon>
...okay. Homebrew fails to build Boost from source. Since it's been complaining that my XCode is out of date, I figure, okay, I'll update that and see if it helps.
22:28
< Derakon>
Apple now distributes XCode via their App Store.
22:28
< Derakon>
It's free, but you have to run their app instead of just downloading it from the website.
22:28
< Derakon>
And it refuses to let me have the latest version because that requires OSX 10.7.4 or later.
22:28
< Derakon>
(I'm on 10.7.3)
22:29
< Derakon>
Bleh.
22:31
< Derakon>
Whelp, off to reboot.
22:31 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving]
22:44 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
22:49 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
22:49 mode/#code [+ao Derakon Derakon] by ChanServ
22:51
<&Derakon>
Estimate the new iTunes Terms & Conditions agreement at being around 15k words.
22:51
<&Derakon>
Not that they let me copy the thing out to read it in a more comfortable format, mind.
22:53
<&Derakon>
Oh wait, there's a link to a printable version. And it's 15117 words long. Heh.
23:14
<&Derakon>
Aaaand after all that Homebrew still doesn't build Boost properly. Goddammit.
23:19
<&Derakon>
...brilliant, Derakon.
23:19
<&Derakon>
"Maybe MacPorts is interfering! Let's uninstall everything it installed so we can delete it!"
23:20
<&Derakon>
There goes my Mercurial install, and Homebrew fails when it tries to build it.
23:20
<&Derakon>
(Also there goes ImageMagick and probably some other stuff I wanted)
23:25
<@TheWatcher>
...
23:25
<@TheWatcher>
>.<
23:31 * Derakon does some more investigation, determines that even though the App Store says that XCode 4.4.2 is installed, there's no evidence of it anywhere; just his old 4.2.1.
23:32
<&Derakon>
I just want my fucking camera view software to run on the Mac so I don't have to do all my development on the microscope computer!
23:32
<&Derakon>
Is that so much to ask?
23:35
<&Derakon>
Ah ha, apparently installing XCode via the App Store doesn't actually install it, just put it into /Applications. The old version is still sitting in /Developer.
23:35
<&Derakon>
So if you never actually run the XCode program because you use the commandline tools for everything, then you don't get the new version.
23:49
<@TheWatcher>
You use command line tools? How... linux~
23:50
<&Derakon>
Har.
23:50
<@TheWatcher>
(seriously thought, that's fucking stupid of them)
23:50
<@TheWatcher>
*though
23:51
<&Derakon>
Note that even after having gone through the little "replace the old XCode" thing it does when I actually run the GUI application, the commandline is still pointed at the wrong version!
23:51
<&Derakon>
There's a utility, xcode-select, that you use to point it at the right version.
23:51
<&Derakon>
Problem: you do this by telling it what path XCode is installed under.
23:51
<&Derakon>
And I have no fucking clue where the new version is.
23:51
<@TheWatcher>
...
23:51
<&Derakon>
(The old one is still in /Developer)
23:52
<@TheWatcher>
`find / -iname 'xcode'`~
23:53
<@TheWatcher>
(also, ugh.)
23:55 Kindamoody [Kindamoody@Nightstar-05577424.tbcn.telia.com] has quit [Client exited]
23:59 Kindamoody|afk [Kindamoody@Nightstar-05577424.tbcn.telia.com] has joined #code
23:59 mode/#code [+o Kindamoody|afk] by ChanServ
23:59 Kindamoody|afk is now known as Kindamoody
--- Log closed Fri Sep 07 00:00:23 2012
code logs -> 2012 -> Thu, 06 Sep 2012< code.20120905.log - code.20120907.log >

[ Latest log file ]