--- Log opened Sat Aug 10 00:00:36 2013 |
00:26 | <&Derakon> | IIRC I had a complaint about one of Lost Pig's puzzles. |
00:26 | <&Derakon> | It's something like you have a magnet, but it's attracted to colors. |
00:26 | <&Derakon> | And IIRC one of the puzzles is that by changing the color of the magnet it can be attracted to different things. |
00:27 | <&Derakon> | And my mental model had been "this thing attracts pigments that have this color, and is colored appropriately as a clue to the user", which did not mesh with that action. |
00:28 | <&Derakon> | (Since the pigment it attracts has nothing innately to do with the color of the magnet, but rather the material properties of what it's made out of -- in my mental model) |
00:31 | | Derakon is now known as Derakon[AFK] |
00:48 | | ktemkin[out] is now known as ktemkin |
01:53 | | Derakon[AFK] is now known as Derakon |
01:56 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
02:12 | | Turaiel is now known as Turaiel[Offline] |
02:12 | | Turaiel[Offline] is now known as Turaiel |
02:29 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
02:29 | | mode/#code [+o himi] by ChanServ |
02:35 | | RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has quit [[NS] Quit: Gone.] |
02:38 | | RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has joined #code |
02:43 | | Vorntastic [Vorn@Nightstar-de9ddd80.sub-70-211-14.myvzw.com] has joined #code |
02:48 | | ktemkin is now known as ktemkin[awol] |
02:51 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
03:00 | | Kindamoody[zZz] is now known as Kindamoody |
03:08 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
03:08 | | mode/#code [+o himi] by ChanServ |
03:12 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
03:32 | | Chutzpah [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds] |
03:51 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
04:04 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
04:04 | | mode/#code [+o himi] by ChanServ |
04:08 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
04:14 | | Harlow [Harlow@Nightstar-2dbe3d64.il.comcast.net] has joined #code |
04:21 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
04:21 | | mode/#code [+o himi] by ChanServ |
04:21 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
04:21 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
04:22 | | Vorntastic [Vorn@Nightstar-de9ddd80.sub-70-211-14.myvzw.com] has quit [[NS] Quit: Bye] |
04:22 | | Kindamoody is now known as Kindamoody|afk |
04:36 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:37 | | Syloq [Syloq@B4EC54.59F324.016BDA.8CB0A3] has joined #code |
04:38 | | mode/#code [+o Syloq] by ChanServ |
05:15 | | gnolam_ [lenin@Nightstar-f7705974.cust.bredbandsbolaget.se] has joined #code |
05:16 | | Netsplit *.net <-> *.split quits: @cpux, simon_, Typherix, @gnolam, @himi, RichyB, McMartin, Xires, Derakon, @Syloq, (+1 more, use /NETSPLIT to show all of them) |
05:17 | | Netsplit over, joins: RichyB, McMartin, himi, gnolam, Derakon, Typherix, Syloq, Xires, simon_, Turaiel |
05:17 | | cpux|2 [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code |
05:17 | | Netsplit over, joins: @cpux |
05:17 | | ServerMode/#code [+aooooaoo McMartin McMartin Syloq himi gnolam Derakon Derakon cpux] by *.Nightstar.Net |
05:18 | | cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
05:19 | | gnolam [lenin@Nightstar-f7705974.cust.bredbandsbolaget.se] has quit [Ping timeout: 121 seconds] |
05:22 | | cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code |
05:22 | | mode/#code [+o cpux] by ChanServ |
05:25 | | cpux|2 [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
05:31 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection] |
05:40 | | cpux|2 [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code |
05:42 | | cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
05:47 | | Derakon is now known as Derakon[AFK] |
06:16 | | Turaiel is now known as Turaiel[Offline] |
06:53 | | Orthia is now known as Reiv |
07:00 | | Kindamoody|afk is now known as Kindamoody |
07:01 | | gnolam_ is now known as gnolam |
07:01 | | mode/#code [+o gnolam] by ChanServ |
07:07 | | * McMartin hits a real-life priority inversion bug |
07:07 | <&McMartin> | These bugs I want fixed aren't important enough to slip the schedule for |
07:08 | <&McMartin> | Therefore if I want to see them fixed I've got to bust my ass on them >_> |
07:23 | | ErikMesoy|sleep is now known as ErikMesoy |
07:57 | | celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:04 | | AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code |
08:29 | | Kindamoody is now known as Kindamoody|out |
09:00 | | You're now known as TheWatcher |
09:09 | | Harlow [Harlow@Nightstar-2dbe3d64.il.comcast.net] has quit [[NS] Quit: Leaving] |
09:40 | | AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [Operation timed out] |
10:40 | | McMartin [mcmartin@Nightstar-7130bbf8.pltn13.sbcglobal.net] has quit [Ping timeout: 121 seconds] |
10:51 | | McMartin [mcmartin@Nightstar-eb476be7.pltn13.sbcglobal.net] has joined #code |
10:51 | | mode/#code [+ao McMartin McMartin] by ChanServ |
11:13 | | Reiv is now known as Orthia |
11:46 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
11:59 | | thalass [thalass@Nightstar-a8e66d3f.bigpond.net.au] has joined #code |
12:02 | | ktemkin[awol] is now known as ktemkin |
12:10 | | ktemkin is now known as ktemkin[awol] |
12:11 | | ktemkin[awol] is now known as ktemkin[grading] |
12:39 | < AnnoDomini> | My Raspi works! |
12:40 | <@TheWatcher> | IT'S ALIVE!!!! |
12:41 | < AnnoDomini> | Now, I need a way to ssh to it over the internet. How does one do that? I don't think this ISP gives a static IP and it's on the router's LAN anyway. |
12:41 | < AnnoDomini> | I can ssh to it locally, but that won't work if I'm elsewhere. |
12:42 | < Syka> | AnnoDomini: dynamic dns |
12:42 | <@TheWatcher> | You need to set up your modem/router to forward port 22 (or whichever port you're running sshd on) to the raspi's IP |
12:42 | < Syka> | i think theres a company that does it, called dyndns |
12:42 | < Syka> | iirc its free |
12:42 | < Syka> | also for the love of god don't forward ssh on port 22 |
12:42 | <@TheWatcher> | Yeah |
12:45 | <@TheWatcher> | If you stick it on some random high-end port, you'll get virtually no hack attempts. Of course, some networks will actively block you from connecting to high-end ports like that. |
12:45 | <@TheWatcher> | (if you need to run it on 22, disable password logins and use pubkey auth) |
12:47 | <@Tamber> | And also be prepared for your logs to explode in size, if you are logging. |
12:48 | | * TheWatcher really must collect the pieces he needs to build the Launch Box |
12:50 | < AnnoDomini> | I don't see dyndns having any free options. |
12:52 | <@Tamber> | Not any more, they don't. |
12:53 | <@Tamber> | (Unless you're a legacy customer from when they *did* do, but they're trying to screw people out of that.) |
12:54 | | * AnnoDomini finds a noip.com. |
12:57 | < AnnoDomini> | Do I need forwarding if I have a dynamic update thingy? |
12:57 | <@TheWatcher> | Yes |
12:57 | <@TheWatcher> | The dynamic IP thing just translates a hostname into the IP address of your connection, but that only gets you as far as the router |
12:58 | <@TheWatcher> | the router then needs to know what to do with attempted connections. |
12:58 | < AnnoDomini> | OK. |
12:58 | | * AnnoDomini embarks on the quest to find the default credentials for the router, since the owner did not seem to write them down. |
13:01 | < AnnoDomini> | Hmm. I guess I'll have to assign the raspi a static IP on the LAN so I can keep forwarding to it, rather than having to change it every time it is rebooted and assigned a new one. |
13:04 | < AnnoDomini> | Hmm. It is possible for me to set up forwarding so that I'm sshing from the internet to $random_port and it sends it to port 22 on the raspi, right? |
13:04 | <@TheWatcher> | Yus |
13:05 | < AnnoDomini> | Cool. |
13:08 | < AnnoDomini> | Hmm. Doesn't seem an option to set up a static MAC->IP assignment on the router. |
13:08 | < Syka> | um |
13:08 | < Syka> | you don't need to |
13:09 | < AnnoDomini> | How do I assign a static IP to the raspi's NIC? |
13:09 | < Syka> | edit /etc/network/interfaces |
13:09 | < Syka> | if it's cli only |
13:09 | < AnnoDomini> | CLI? |
13:09 | < Syka> | if youve got a gui on it, use network manager |
13:09 | < Syka> | command line interface |
13:09 | < AnnoDomini> | Oh, yeah, I'm ssh'd into it now. |
13:09 | < Syka> | have you got graphics and shit |
13:10 | < Syka> | if so, your networking is probably done by network-manager |
13:10 | < AnnoDomini> | It has a GUI that I can launch, but I'm using the command line now. |
13:10 | < Syka> | kay, so, edit /etc/network/interfaces |
13:10 | < Syka> | if you google it, you'll get some examples on what it needs to look like |
13:11 | < Syka> | since i can't remember it off the top of my hea |
13:11 | < Syka> | d |
13:19 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
13:23 | < ErikMesoy> | I've inherited a codebase where large amounts of strings are inside a codefile and it's impractical to split them out. Many of the strings are badly spelled. What sort of spell-check or highlighter would you recommend that can be configured to selectively ignore (things that look like) code, or to only search inside quote marks? |
13:30 | | * thalass wants an RPi |
13:30 | <@TheWatcher> | I'd use emacs's flyspell-rpog-mode |
13:30 | <@TheWatcher> | *prog |
13:30 | < thalass> | Not sure what i'd do with it, mind you, but y'know |
13:31 | <@TheWatcher> | flyspell-prog-mode will highlght spelling errors in comments and strings, but otherwise ignore code |
13:31 | < Syka> | ErikMesoy: well |
13:31 | < Syka> | i guess you could split on "s |
13:31 | < Syka> | or something |
13:31 | < Syka> | but that won't fit back in easy |
13:32 | < Syka> | unless you convert it to use a strings file |
13:34 | <@Tarinaky> | ErikMesoy: Is this codebase compiled into a binary? |
13:35 | < AnnoDomini> | Hrm. Trying to ssh into the raspi over the internet gives a connection refused or connection closed. |
13:35 | <@Tarinaky> | If it is, I'd actually use strings to extract the plaintext, run aspell or something over that and then use grep to find where the string actually came from. |
13:35 | <@Tamber> | Tarinaky, ...you're not going to suggest running it through strings | aspell, are you? >.> |
13:35 | <@Tamber> | ...yup, apparently you are. |
13:36 | <@Tarinaky> | Sorry >.< |
13:36 | <@Tamber> | (Or close enough, anyway~) |
13:36 | < AnnoDomini> | Hmm. I also do not want the router's administration login page to show up when you navigate to the no-ip.biz address. |
13:36 | <@Tarinaky> | It's a bad solution, but it is a solution. |
13:36 | < ErikMesoy> | Tarinaky: Mostly, no. It uses an unholy IE dependency. |
13:38 | <@Tarinaky> | If you can come up with a way of defining what you want to spellcheck by regular expression that would be my next line of attack then. |
13:39 | <@Tarinaky> | (Although you know what they say about regular expressions and having two problems) |
13:41 | <@TheWatcher> | (seriously, load into emacs, turn on flyspell-prog-mode, then run flyspell-buffer and you'll get all the spelling errors highlighted and can go through and fix 'em. It's that simple.) |
13:42 | | * ErikMesoy goes to learn about this magic. |
13:43 | <@Tarinaky> | There's probably an equivalent plugin for vim - but vim plugins are perl scripts iirc so it inevitably uses regular expressions /somehow/. |
13:43 | < ErikMesoy> | Is "learning emacs" going to be my second problem today? |
13:44 | <@TheWatcher> | If you run the X11 version, you get menus to access the most commonly used features (open, save, and save as in particular). |
13:45 | | ktemkin[grading] is now known as ktemkin[work] |
13:46 | <@TheWatcher> | (that said, doing things like setting the dictionary are minibuffer ops, so *shrug*) |
13:47 | < ErikMesoy> | Aaaaack. Looking more detailedly at this codefile, it embeds things-to-do with the string inside quotation marks, and the string proper is between ECHO: and the closing quotation mark. |
13:48 | <@TheWatcher> | You're doomed~ |
13:48 | < ErikMesoy> | There's code like #ACTION, TARGET, CONDITION, "REQUIREMENT:FOO:MODAMOUNT:5:ECHO:String of stuff." |
13:48 | <@Tamber> | ...yup, you're doomed. |
13:48 | <@Tarinaky> | Can you express the desired strings as regular expressions? |
13:49 | < ErikMesoy> | I think so, unless there are more terrible subclauses. |
13:49 | <@Tarinaky> | Write a perl/python/awk/sed/whatever script and push it through aspell :p |
13:50 | < ErikMesoy> | Also, what the hell kind of language is this? I just know it uses the IE rendering engine, because it dumps stuff to HTML files that can be opened in a browser, and then the browser will look like a snapshot of the program in a window (but a non-reactive one). |
13:50 | <@Tarinaky> | Win32 API? |
13:50 | | * ErikMesoy is going to have a long and hard think about how he ended up saying yes to improving this without checking it out in more detail first. |
13:51 | | * Tarinaky tries to remember how to write a regular expression that matches what Erik described... |
13:52 | < ErikMesoy> | It /should/ be fairly simple: Things between ECHO and " which aren't linebreak. |
13:53 | < ErikMesoy> | But I'm wondering what other black magic I will find here |
13:53 | <@TheWatcher> | Well, if it's always after ECHO, you can just use `my ($str) = $line =~ /ECHO:([^"]+)/` |
13:53 | <@TheWatcher> | But that assumes no embedded \" |
13:53 | <@Tarinaky> | Yeah. I'm wondering if we can be slightly more permissive and go with anything after the last unescaped ':'. |
13:54 | <@Tarinaky> | Or just the last ':'. |
13:55 | <@Tarinaky> | Something like (*:)? |
13:55 | < ErikMesoy> | What the fucking, fucking hell. There are error messages that get printed with both ECHOFAIL: and FAILECHO: |
13:55 | < ErikMesoy> | (that is, there's at least one error message that gets printed with each of these. no single error message is printed with both) |
13:56 | <@Tarinaky> | Probably an alias. |
13:56 | <@Tarinaky> | Or deprecated funtionality or something... |
13:58 | <@TheWatcher> | Once you discover what language that actally is, you'll need to tell us, because I'm drawing a blank. |
13:59 | <@Tarinaky> | It 'isn't. |
13:59 | | Karono [Karono@Nightstar-a97724cd.optusnet.com.au] has joined #code |
14:00 | <@Tarinaky> | *it isn't a language I mean. |
14:01 | <@Tarinaky> | Looks a bit like the ini spec I think? So probably some sort of arcane formatting specification maybe. |
14:01 | < ErikMesoy> | Some guy has left references to his folders here. C:\Users\Bob\Desktop is referenced as the location to get an image from. |
14:01 | < ErikMesoy> | (Bob is not actual name, all this is somewhat anonymized of course) |
14:02 | <@Tarinaky> | I assumed by bob you meant Svenge Petersen. :p |
14:02 | < ErikMesoy> | There are quasi-formatted strings with HTML like <font color=#FFFFFF> globbed in here. |
14:03 | <@Tarinaky> | That's to be expected, since the output is HTML. |
14:04 | < ErikMesoy> | Oh, wow. Guess how internal quote marks for use in strings are rendered. |
14:04 | | celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has joined #code |
14:04 | | mode/#code [+o celticminstrel] by ChanServ |
14:04 | < ErikMesoy> | " |
14:04 | < ErikMesoy> | (No semicolon.) |
14:06 | <@TheWatcher> | ... |
14:09 | < ErikMesoy> | "The name <font color=#FFFFFF>"Bob"</font> is not available" |
14:10 | <@TheWatcher> | At this point, I'd be running away screaming.~ |
14:11 | < ErikMesoy> | For any particular reason, or just because this is arcane? |
14:12 | <@Tamber> | s/arcane/insane/ |
14:12 | < ErikMesoy> | Because, well, I can understand exactly how this works. |
14:12 | < ErikMesoy> | A code monkey could look at this and write more of it. |
14:12 | < ErikMesoy> | It's just violating so many conventions that I wonder how it *can* work. |
14:13 | <@Tamber> | Badly. |
14:14 | <@Tarinaky> | Check to see if there is an in-house library or source or something because you might need it for documentation if you ever need to do anything tricky... |
14:14 | <@Tarinaky> | I suspect comments in a sourcefile are the best docs you're going to get if you are /lucky/. |
14:17 | <@TheWatcher> | ErikMesoy: precisely because it is violating so many conventions |
14:18 | <@TheWatcher> | I wouldn't want to touch that |
14:18 | <@Tarinaky> | "If you break it, it becomes yours" |
14:18 | <@TheWatcher> | (also, font tags? Good gods, what is this, 1991?) |
14:18 | <@Tarinaky> | Quite likely, yes. |
14:19 | < ErikMesoy> | TheWatcher: Well, it comes with a COMCAT.DLL that's marked as last modified in 1998, and that's the oldest component I've found so far... |
14:21 | | * TheWatcher wince |
14:21 | < ErikMesoy> | That might be an older import though; the oldest files I can see which must have been created specifically for this program (icons and the like) date to 2006. |
14:26 | | celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
14:26 | | celticminstrel [celticminst@Nightstar-ae361035.dsl.bell.ca] has joined #code |
14:26 | | mode/#code [+o celticminstrel] by ChanServ |
15:07 | | * AnnoDomini wonders why this silly router doesn't support changing the admin password. |
15:07 | < AnnoDomini> | It doesn't even seem to be an option. |
15:27 | | ErikMesoy [Erik@A08927.B4421D.FE7332.609F63] has left #code [] |
15:40 | | ErikMesoy [Erik@A08927.B4421D.FE7332.609F63] has joined #code |
15:55 | | Pandemic [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds] |
15:55 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds] |
15:55 | | VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
16:17 | | thalass [thalass@Nightstar-a8e66d3f.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
16:24 | | VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds] |
16:30 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
16:42 | | Syloq [Syloq@B4EC54.59F324.016BDA.8CB0A3] has joined #code |
16:43 | | mode/#code [+o Syloq] by ChanServ |
17:02 | | thalass [thalass@Nightstar-a8e66d3f.bigpond.net.au] has joined #code |
17:17 | | Kindamoody|out is now known as Kindamoody |
17:23 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: .] |
17:24 | | Syloq [Syloq@B4EC54.59F324.016BDA.8CB0A3] has joined #code |
17:25 | | mode/#code [+o Syloq] by ChanServ |
17:33 | | Derakon[AFK] is now known as Derakon |
17:39 | | Karono [Karono@Nightstar-a97724cd.optusnet.com.au] has quit [Ping timeout: 121 seconds] |
17:41 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds] |
18:13 | | thalass [thalass@Nightstar-a8e66d3f.bigpond.net.au] has quit [Ping timeout: 121 seconds] |
18:42 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
18:42 | | mode/#code [+ao Derakon Derakon] by ChanServ |
18:59 | | Kindamoody is now known as Kindamoody|afk |
19:22 | | AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code |
19:31 | | Kindamoody|afk is now known as Kindamoody |
19:52 | | Kindamoody is now known as Kindamoody[zZz] |
20:07 | | AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [Ping timeout: 121 seconds] |
21:42 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Client closed the connection] |
21:43 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
22:11 | | cpux [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code |
22:12 | | mode/#code [+o cpux] by ChanServ |
22:13 | | cpux|2 [cpux@Nightstar-98762b0f.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
22:25 | | ErikMesoy is now known as ErikMesoy|sleep |
--- Log closed Sun Aug 11 00:00:52 2013 |