--- Log opened Fri Jul 03 07:19:45 2015 |
07:19 | | TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code |
07:19 | | Irssi: #code: Total of 36 nicks [28 ops, 0 halfops, 0 voices, 8 normal] |
07:19 | | mode/#code [+o TheWatcher] by ChanServ |
07:20 | | Irssi: Join to #code was synced in 39 secs |
07:27 | < catadroid`> | xD |
07:28 | | ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds] |
08:12 | | catadroid` [catalyst@Nightstar-4v3es4.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
08:41 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has joined #code |
08:42 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
08:47 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has quit [Ping timeout: 121 seconds] |
08:51 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has joined #code |
08:52 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has joined #code |
08:52 | | catadroid [catalyst@Nightstar-6ke4d9.dab.02.net] has joined #code |
08:57 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has quit [Ping timeout: 121 seconds] |
08:59 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has joined #code |
09:00 | | macdjord is now known as macdjord|slep |
09:08 | | catadroid [catalyst@Nightstar-6ke4d9.dab.02.net] has quit [Ping timeout: 121 seconds] |
09:56 | | gizmore [kvirc@Nightstar-3of4v0.dip0.t-ipconnect.de] has joined #code |
10:04 | | Xires is now known as ^Xires |
10:12 | | ^Xires is now known as Xires |
10:24 | | catadroid [catalyst@Nightstar-nvkarn.dab.02.net] has joined #code |
10:25 | | catadroid [catalyst@Nightstar-nvkarn.dab.02.net] has quit [[NS] Quit: Bye] |
11:13 | <&Reiver> | Do we have a linuxer or two handy |
11:14 | <&Reiver> | It's all gone horribly wrong |
11:14 | < abudhabi> | What have you done? |
11:15 | <&Reiver> | I tried to install a WINE thingy, and it's gone and hung at 75% or something |
11:15 | <@TheWatcher> | I recommend fire. |
11:15 | <@TheWatcher> | What's a 'thingy'? |
11:15 | <&Reiver> | one sec |
11:16 | <&Reiver> | It was called PlayOnLinux, and reccomended by TF |
11:16 | <&Reiver> | It is apparently a WINE wrapper |
11:16 | <@TheWatcher> | Yus. |
11:16 | <@TheWatcher> | And is it hung installing, or running? |
11:16 | <&Reiver> | It was installing, and it got to 75% |
11:16 | < abudhabi> | Did you install from the package manager? |
11:17 | <&Reiver> | From the Ubuntu app store thingy |
11:17 | <&Reiver> | Does that count? |
11:17 | <@TheWatcher> | How long's it been hung? It may be sat waiting for a package to download that isn't cooperating |
11:18 | < abudhabi> | I'd cancel the operation and restart it. |
11:19 | < abudhabi> | Are there any "click for more details" buttons? |
11:19 | < GreenGuy> | APT can be really slow |
11:19 | < abudhabi> | APT is generally slow when your connection is slow, or interrupted, or something. |
11:20 | <&Reiver> | TheWatcher: Assuming that sitting on a lock screen doesn't stop it, 24hrs+ |
11:21 | <&Reiver> | And the application sitting on my taskbar has no options beyond 'undock from taskbar' when I right click it |
11:21 | <&Reiver> | Which is about the point that I get a little stuck on what to do with it :p |
11:21 | <&Reiver> | Oh, it's name is also helpfully "Installing..." |
11:21 | <&Reiver> | So that's awesome too |
11:22 | <@TheWatcher> | open a terminal, `ps aux` to get the list of tasks, look for... I have no idea what the process name of the package manager is on ubuntu, but you should be able to find it,... look fo rthe process ID (second column), then do `kill <pid>` |
11:29 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
11:29 | | mode/#code [+o himi] by ChanServ |
11:48 | <&Reiver> | There's, uh |
11:48 | <&Reiver> | A lot of them |
11:48 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:51 | | catadroid [catalyst@Nightstar-nvkarn.dab.02.net] has joined #code |
11:53 | <&Reiver> | Is just restarting it safe? |
11:53 | <@TheWatcher> | Should be, yeah |
11:54 | | catadroid [catalyst@Nightstar-nvkarn.dab.02.net] has quit [[NS] Quit: Bye] |
11:54 | <@TheWatcher> | You can use `pstree -p` to get a diagram of the process hierarchy and can identify the parent package manager process from that, killing that should kill its children, but restarting will work too |
11:58 | <&Reiver> | k |
11:58 | <&Reiver> | brb |
12:06 | | ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code |
12:10 | <&ToxicFrog> | Reiver: after restarting, perhaps install from the command line this time |
12:13 | <&Reiver> | the string being? |
12:19 | <&Reiver> | My policy is to avoid commandline unless needed. >_> |
12:19 | <&Reiver> | ... speaking of, what're you doing up TF? |
12:19 | < abudhabi> | http://askubuntu.com/questions/233782/how-does-one-install-playonlinux |
12:23 | <&ToxicFrog> | Reiver: it's 7am here. |
12:23 | <&ToxicFrog> | I wake up at 0630 these days. |
12:24 | <&ToxicFrog> | and it's 'sudo apt-get install playonlinux' |
12:25 | | gizmore [kvirc@Nightstar-3of4v0.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/] |
12:26 | <@TheWatcher> | Also, honestly, get familiar with the command line |
12:27 | <&ToxicFrog> | ^ |
12:27 | <@TheWatcher> | Once you get over the initial learnign curve, it's usually much faster and far more powerful than arsing around with GUI-based setup programs that don't even give you half the options |
12:30 | <&ToxicFrog> | tbf, the Ubuntu software centre is exceptionally bad (and slow). aptitude and yast are both decent. |
12:31 | <&Reiver> | ToxicFrog: Thanks. |
12:32 | <&Reiver> | I generally consider 'drop to commandline' to be, y'know, a failure of the OS to do things the Newbie Friendly way. :P |
12:35 | < ErikMesoy> | TheWatcher: At least GUI programs give you options, command lines take them. |
12:35 | | Alek [Alek@Nightstar-03ja8q.il.comcast.net] has quit [Ping timeout: 121 seconds] |
12:37 | <@TheWatcher> | ... pft |
12:39 | <&Reiver> | E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. |
12:39 | <&ToxicFrog> | Reiver: do so. |
12:41 | <&ToxicFrog> | Reiver: re: failure: it is true that on a modern Linux you can get by without ever touching the shell. But using the command line is often faster and more informative, especially when troubleshooting. |
12:41 | <&ToxicFrog> | ErikMesoy: I have Thoughts on that but they can wait until I'm in front of a keyboard. |
12:56 | <&Reiver> | The following packages requested additional data downloads after package installation, but the data could not be downloaded or could not be processed. |
12:56 | <&Reiver> | ttf-mscorefonts-installer |
12:57 | <&Reiver> | running the action fails, so |
12:57 | < abudhabi> | Try `apt-get install ttf-mscorefonts-installer` |
13:10 | <&Reiver> | OK |
13:11 | < abudhabi> | Did this mess up too? |
13:11 | <&Reiver> | It claims all working. |
13:12 | < abudhabi> | So you got POL to work? |
13:14 | <&Reiver> | It claims to be functional. I now hope to work out how to make it run. |
13:23 | <&ToxicFrog> | "playonlinux", or run it from the menu |
13:23 | <&ToxicFrog> | (or possibly "PlayOnLinux", I don't remember) |
13:29 | | Orthia [quassel@Nightstar-ksqup0.co.uk] has joined #code |
13:30 | | mode/#code [+o Orthia] by ChanServ |
13:39 | <&Reiver> | ... hm, I wonder if that's doing it |
13:40 | <&Reiver> | I'm trying to install a new game on/in WINE |
13:41 | <&Reiver> | But the game in question doesn't technically need 'installation' - it's an unzip, run, done |
13:41 | <&Reiver> | Perhaps I shouldn't be using the installation wizard. |
13:43 | <&ToxicFrog> | Reiver: the POL installer also does things like setting up the mock windows drives and registry and suchlike |
13:43 | <&ToxicFrog> | For games that don't need installation, just enter "notepad" or something when it asks for the installer, then unzip the game (look for "PlayOnLinux's Virtual Drives" in your home directory) |
13:43 | <&ToxicFrog> | And then close notepad and it'll detect the unzipped game and prompt you to create shortcuts. |
14:44 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has quit [Ping timeout: 121 seconds] |
14:45 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has joined #code |
14:59 | <&Reiver> | ahahahaha yessss |
14:59 | <&Reiver> | i did it by just unzipping in and then requesting a shortcut |
15:00 | <&Reiver> | I now have cogmind running, and it is so very pretty <3 |
15:03 | <&ToxicFrog> | Oh, does it not have a linux release? |
15:04 | <@TheWatcher> | That's why he was after WINe, I expect |
15:04 | | Alek [Alek@Nightstar-03ja8q.il.comcast.net] has joined #code |
15:04 | | mode/#code [+o Alek] by ChanServ |
15:04 | <&ToxicFrog> | I kind of assumed it had a linux version because it would be crazy for it not to |
15:05 | | * ToxicFrog promptly loses interest in it |
16:05 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
16:05 | | mode/#code [+o Checkmate] by ChanServ |
16:26 | <&Reiver> | ToxicFrog: That's not entirely fair; it's a custom game engine. |
16:27 | <&Reiver> | FWIW, it is running (afaict) flawlessly on WINE, he just doesn't have Linux compatability at this point, and his time is better spent developing the game first |
16:28 | <&Reiver> | I mean, it's not exactly running in a standard terminal. :p |
16:35 | <&ToxicFrog> | Reiver: oh, I know it's not running in a standard terminal, and I'm not surprised it's a custom engine, but seriously? If it's using SDL or love2d or Pygame or libtcod or something, there's no excuse for not having linux support; if it's using GDI You Done Fucked Up. |
16:35 | <&ToxicFrog> | And these days, I have enough linux-native games that anything that requires me to faff about in wine goes waaaaaay down my priority list. |
16:36 | <&ToxicFrog> | Or it goes onto Durandal, but on Durandal I have a ~300-game backlog, so. |
16:45 | <&ToxicFrog> | Basically, if it's a game that wouldn't run on the laptop anyways, fine, I don't care. But if it is, I'm going to want to play it on the laptop at least some of the time, and that's a lot easier if there's actually a native build! |
17:32 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
17:46 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection closed] |
17:59 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has quit [Ping timeout: 121 seconds] |
18:59 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has quit [Connection closed] |
19:12 | | catadroid [catalyst@Nightstar-ml768g.dab.02.net] has joined #code |
19:13 | < abudhabi> | Anyone handy with imagemagick? I need to crop a bunch of images, all the same way. |
19:18 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Ping timeout: 121 seconds] |
19:23 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code |
19:23 | | Xires [xires@Nightstar-9jm35g.feedthetrolls.net] has quit [Ping timeout: 121 seconds] |
19:24 | < abudhabi> | Did anyone answer my query while I was out? |
19:29 | < ErikMesoy> | No |
19:31 | | ^Xires [xires@Nightstar-9jm35g.feedthetrolls.net] has joined #code |
19:35 | | ^Xires is now known as Xires |
19:36 | < abudhabi> | OK. A different one: any way to make IM to take in stuff in chronological order? |
19:45 | <@celticminstrel> | Hm. How should I hash a std::pair? |
19:45 | <@celticminstrel> | (More specifically, std::pair<unsigned int,unsigned int>) |
20:03 | < Wizard> | celticminstrel: Put them both in a long and hash that? |
20:03 | <@celticminstrel> | Currently P have p.first << 16 | p.second |
20:06 | < abudhabi> | Urgh. How the fuck do I insert many images into Open Office one per page without inserting them individually? |
20:10 | <&ToxicFrog> | abudhabi: what do you mean "chronological order" here? File timestamp order? |
20:10 | <&ToxicFrog> | Also, what are you actually asking WRT cropping images |
20:11 | < abudhabi> | Well, that's not a big problem anymore. I sort of got the images cropped, and at least sorted properly in two pieces. |
20:11 | < ErikMesoy> | He wants to take a lot of images and crop them all to something like the (100,100 to 700,500) subfield. |
20:11 | < abudhabi> | Now the problem is how to use the useless OO interface to not insert 150 images one by one. |
20:12 | < abudhabi> | Argh. It just feels like this should be easy. |
20:13 | < abudhabi> | But I can't bloody well find any sign of a function that batch imports images page by page. |
20:13 | < abudhabi> | I can do it manually, but I do not want to. |
20:19 | <&ToxicFrog> | Some cursory googling says it can't be done; you may have better luck targeting a different format (what do you need 150 images in an openoffice document for that couldn't be done with, say, PDF?) or doing something filthy like generating RTF from the list of filenames and then importing that in OO. |
20:20 | < abudhabi> | I want PDF. I was going to export from OO to PDF. |
20:20 | < ErikMesoy> | http://openoffice.2283327.n4.nabble.com/batch-multiple-picture-import-into-openo ffice-write-td2938975.html "A database report can do this easily. Install the Sun Report Builder extension" -- is this practical? |
20:21 | | Derakon[AFK] is now known as Derakon |
20:21 | <&ToxicFrog> | abudhabi: but you're already using ImageMagick. |
20:22 | <&ToxicFrog> | 'convert <list of PNGs> output.pdf' |
20:22 | < abudhabi> | I'm trying imagemagick to convert directly to PDF now, yes, but it's giving me the wrong bloody order of images even for the properly name-sorted files. |
20:22 | <&ToxicFrog> | It takes the order exactly as specified on the command line; try 'echo' or 'ls' to make sure it's expanding in the order you think it is. |
20:24 | < abudhabi> | OK, found the problem. Can I make imagemagick spit out files numbered with leading 0s? |
20:24 | < abudhabi> | Because as it is, 100 comes before 99. |
20:26 | <&ToxicFrog> | Use e.g. 'page_%03d.png' as the output name for a command generating multiple output files. |
20:26 | <&ToxicFrog> | Alternately, just feed them into convert in the right order, e.g. with 'convert page_{0..200}.png output.pdf', which will do page_0, page_1, etc |
20:29 | < abudhabi> | I'm not sure I understand. |
20:29 | < abudhabi> | Hmm. |
20:30 | < abudhabi> | Actually, I think we can backtrack a bit to the file naming problem. |
20:30 | | catadroid [catalyst@Nightstar-ml768g.dab.02.net] has quit [Ping timeout: 121 seconds] |
20:30 | <&ToxicFrog> | Which file naming problem? |
20:30 | < abudhabi> | I have a directory with files that are chronologically sorted (creation). But sorting by name fails to be chronological. |
20:31 | < abudhabi> | I wish to convert their names to match their chronology. |
20:31 | <&ToxicFrog> | Oh. |
20:31 | < abudhabi> | Can I, say, rename all the files to their timestamps? |
20:31 | < abudhabi> | That way I can feed them to IM in the right order. |
20:32 | <&ToxicFrog> | Yes. |
20:32 | <&ToxicFrog> | Disclaimer: back up before trying this, if two files have the same timestamps you may have a bad time |
20:33 | < abudhabi> | If it tracks seconds or better, there won't be a problem. |
20:33 | <&ToxicFrog> | But I'm pretty sure this will do it: for file in *; do mv -v "$file" "$(stat -c %y "$file").png"; done |
20:33 | <&ToxicFrog> | Before running that: |
20:33 | <&ToxicFrog> | - change * to a more restrictive glob if needed; |
20:34 | <&ToxicFrog> | - change .png if your files aren't PNGs |
20:34 | < abudhabi> | (I do have them backed up.) |
20:34 | <&ToxicFrog> | - replace 'mv' with 'echo mv' if you want a dry-run |
20:37 | < abudhabi> | Seems to have worked. |
20:40 | <&ToxicFrog> | \o/ |
20:42 | < abudhabi> | Thanks loads! |
20:42 | < abudhabi> | I was really pissed with this issue. |
20:42 | <&ToxicFrog> | You're welcome. |
20:43 | < abudhabi> | Now to upload 300 MB worth of procedurally generated CK2 chronicle! |
20:43 | <&ToxicFrog> | (btw, if you had wanted to do it without renaming the files, something like "convert $(ls -tr *.png) output.pdf" would have done it) |
20:43 | < abudhabi> | Huh. |
20:43 | <&ToxicFrog> | I hope you have an automated uploader~ |
20:45 | < abudhabi> | sendspace.com |
21:08 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
22:00 | | Meatyhandbag [sebastianfe@Nightstar-uq9.59c.73.97.IP] has joined #code |
22:05 | | catadroid [catalyst@Nightstar-9mv54c.dab.02.net] has joined #code |
22:42 | | Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code |
22:42 | | mode/#code [+o Checkmate] by ChanServ |
23:22 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:22 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:25 | | catadroid [catalyst@Nightstar-9mv54c.dab.02.net] has quit [Ping timeout: 121 seconds] |
23:43 | | catadroid [catalyst@Nightstar-amtka2.dab.02.net] has joined #code |
--- Log closed Sat Jul 04 00:00:46 2015 |