code logs -> 2015 -> Fri, 19 Jun 2015< code.20150618.log - code.20150620.log >
--- Log opened Fri Jun 19 00:00:41 2015
00:08 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
00:12 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
00:12 mode/#code [+o Vash] by ChanServ
00:36 catadroid [catalyst@Nightstar-amtka2.dab.02.net] has quit [[NS] Quit: Bye]
00:44 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
00:44 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
00:56 Xires is now known as ^Xires
01:05 ^Xires is now known as Xires
01:17 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [[NS] Quit: Leaving]
01:20 Derakon[AFK] is now known as Derakon
01:39 catadroid [catalyst@Nightstar-b29ocm.dab.02.net] has joined #code
01:57 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
02:18 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code
02:18 mode/#code [+o himi] by ChanServ
02:29 catadroid` [catalyst@Nightstar-jrnhe5.dab.02.net] has joined #code
02:33 catadroid [catalyst@Nightstar-b29ocm.dab.02.net] has quit [Ping timeout: 121 seconds]
02:33 catadroid` is now known as catadroid
03:54 Tamber [tamber@furryhelix.co.uk] has quit [A TLS packet with unexpected length was received.]
04:01 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection reset by peer]
04:02 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
04:04 Tamber [tamber@furryhelix.co.uk] has joined #code
04:04 mode/#code [+o Tamber] by ChanServ
04:22 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code
04:22 mode/#code [+o himi] by ChanServ
04:47 celticminstrel [celticminst@Nightstar-uelp1m.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
04:48 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
04:50 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
04:52 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
05:16 Derakon is now known as Derakon[AFK]
05:28 catadroid` [catalyst@Nightstar-ve78ej.dab.02.net] has joined #code
05:28 catadroid [catalyst@Nightstar-jrnhe5.dab.02.net] has quit [A TLS packet with unexpected length was received.]
05:54 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer]
06:32 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code
06:32 mode/#code [+o himi] by ChanServ
07:19 Kindamoody[zZz] is now known as Kindamoody
07:42 Tamber [tamber@furryhelix.co.uk] has quit [The TLS connection was non-properly terminated.]
07:43
< abudhabi_>
MySQL. I'm writing a record to one table, taking the PK from the insert, and inserting 1+ records to another table.
07:44
< abudhabi_>
How might I optimize this so that it goes faster for bulk amounts of inserts?
07:44 * abudhabi_ pokes Reiv, the DB optimizer.
07:52 Tamber [tamber@furryhelix.co.uk] has joined #code
07:52 mode/#code [+o Tamber] by ChanServ
07:52 macdjord is now known as macdjord|slep
08:01 kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
08:01 kourbou_ is now known as kourbou
08:23 Kindamoody [Kindamoody@Nightstar-l0f.vi4.228.90.IP] has quit [Connection closed]
08:25 Kindamoody|autojoin [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
08:25 mode/#code [+o Kindamoody|autojoin] by ChanServ
08:25 Kindamoody|autojoin is now known as Kindamoody
08:42 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
08:53 himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds]
08:59 catadroid [catalyst@Nightstar-gqqk08.dab.02.net] has joined #code
09:03 catadroid` [catalyst@Nightstar-ve78ej.dab.02.net] has quit [Ping timeout: 121 seconds]
09:11 catadroid [catalyst@Nightstar-gqqk08.dab.02.net] has quit [[NS] Quit: Bye]
09:22 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
09:22 mode/#code [+o Checkmate] by ChanServ
09:23 catadroid [catalyst@Nightstar-biqvm0.dab.02.net] has joined #code
09:25 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
09:56 catadroid` [catalyst@Nightstar-gqqk08.dab.02.net] has joined #code
09:56 catadroid [catalyst@Nightstar-biqvm0.dab.02.net] has quit [The TLS connection was non-properly terminated.]
10:10 catadroid [catalyst@Nightstar-gqqk08.dab.02.net] has joined #code
10:10 catadroid` [catalyst@Nightstar-gqqk08.dab.02.net] has quit [A TLS packet with unexpected length was received.]
10:17 catadroid` [catalyst@Nightstar-qdm9om.dab.02.net] has joined #code
10:17 catadroid [catalyst@Nightstar-gqqk08.dab.02.net] has quit [A TLS packet with unexpected length was received.]
10:18 catadroid [catalyst@Nightstar-qdm9om.dab.02.net] has joined #code
10:18 catadroid` [catalyst@Nightstar-qdm9om.dab.02.net] has quit [A TLS packet with unexpected length was received.]
10:25 catadroid [catalyst@Nightstar-qdm9om.dab.02.net] has quit [[NS] Quit: Bye]
10:30 RchrdB [RchrdB@Nightstar-952.jvr.168.194.IP] has joined #code
11:10 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:12
<@TheWatcher>
MWAHAHAAAHAHAA!! IT'S ALIVE!!!!
11:12
<@gnolam>
Shall I fetch the torches and pitchforks?
11:13 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Ping timeout: 121 seconds]
11:17
<@TheWatcher>
That would certainly add a more traditional tone to the proceedings.
11:25 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
11:32 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
11:36 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:54 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
11:54 mode/#code [+o himi] by ChanServ
11:56 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [[NS] Quit: Reboot]
11:58 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
11:58 mode/#code [+o gnolam] by ChanServ
12:09 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Connection closed]
12:09 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
12:09 mode/#code [+o Checkmate] by ChanServ
12:10 RchrdB [RchrdB@Nightstar-952.jvr.168.194.IP] has quit [Ping timeout: 121 seconds]
12:12 ErikMesoy1 [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code
12:13 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds]
12:13 RchrdB [RchrdB@Nightstar-952.jvr.168.194.IP] has joined #code
12:40 Kindamoody [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has quit [Connection closed]
12:41 Kindamoody|autojoin [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code
12:41 mode/#code [+o Kindamoody|autojoin] by ChanServ
12:41 Kindamoody|autojoin is now known as Kindamoody
13:34 macdjord|slep is now known as macdjord|wurk
13:49 Kindamoody is now known as Kindamoody|out
13:49 ErikMesoy1 [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds]
13:52 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code
13:56 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds]
13:56 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code
14:02 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds]
14:17 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code
14:21
< abudhabi_>
What's good software for editing videos? I want to clip out like 50px from the top, while keeping everything else.
14:22
<@gnolam>
For that, I would simply use ffmpeg.
14:23
<@gnolam>
http://video.stackexchange.com/questions/4563/how-can-i-crop-a-video-with-ffmpeg
14:23
< abudhabi_>
Is it for Windows?
14:24
<@TheWatcher>
yes
14:24
<@TheWatcher>
It's command-line only, though
14:24
< abudhabi_>
That's fine.
14:24
<@gnolam>
It's for everything.
14:24
<@gnolam>
It's basically the video equivalent of ImageMagick.
14:24
<@TheWatcher>
ffmpeg is the ImageMagick of the ... damnit
14:25
<@TheWatcher>
(with ImageMagick's tendancy towards hilariously complicated invocation, too~)
14:25 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ]
14:26
<@TheWatcher>
On the other hand, if you ever want a good, free GUI based video editor, I recommend that you just bash your brains out on the wall now to save time later.
14:26
<@gnolam>
BTW, just a wild guess: are you cropping out screen capture software watermarks? :)
14:27 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds]
14:27 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code
14:27
< abudhabi_>
gnolam: Yup. Bandicam.
14:31 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has quit [Ping timeout: 121 seconds]
14:32 * [R] found Avidmux to be fine. But probably not for anything stupid complicated.
14:37 catadroid [catalyst@Nightstar-c6s3d5.dab.02.net] has joined #code
14:40 gnolam_ [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code
14:41 gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [NickServ (RECOVER command used by gnolam_)]
14:41 gnolam_ is now known as gnolam
14:41 mode/#code [+o gnolam] by ChanServ
14:44 catadroid` [catalyst@Nightstar-0ve18k.dab.02.net] has joined #code
14:44 catadroid [catalyst@Nightstar-c6s3d5.dab.02.net] has quit [A TLS packet with unexpected length was received.]
14:48 catadroid` [catalyst@Nightstar-0ve18k.dab.02.net] has quit [A TLS packet with unexpected length was received.]
16:04 catadroid [catalyst@Nightstar-3of4cn.dab.02.net] has joined #code
16:11 ErikMesoy [Erik@Nightstar-ki97ss.customer.cdi.no] has joined #code
16:40 abudhabi_ [abudhabi@Nightstar-7nkq9k.de] has quit [Connection closed]
17:00 kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
17:06 celticminstrel [celticminst@Nightstar-uelp1m.dsl.bell.ca] has joined #code
17:06 mode/#code [+o celticminstrel] by ChanServ
17:36 catadroid [catalyst@Nightstar-3of4cn.dab.02.net] has quit [Ping timeout: 121 seconds]
17:54 abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code
19:01 mode/#code [+o ErikMesoy] by ChanServ
19:01 ErikMesoy is now known as Cyneric
19:21 kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Ping timeout: 121 seconds]
19:22
< abudhabi>
[R]: What was that magic command you told me that remade my swap partion?
19:22
< abudhabi>
*partition
19:22
< abudhabi>
Because I lost my swap again.
19:26 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
19:26 mode/#code [+o Vash] by ChanServ
19:30 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
19:31
< abudhabi>
Nevermind, found it in my logs.
19:31
< abudhabi>
sudo dd if=/dev/sda5 of=/root/sda5.backup.dd && sudo mkswap /dev/sda5 && sudo swapon /dev/sda5
19:57
<&ToxicFrog>
The dd just takes a backup of the disk; it's the mkswap/swapon that swapifies it.
20:15
<@[R]>
abudhabi: note that'll nuke your backup again
20:15
< RchrdB>
doing that 'dd' again might blow away that existing backup, if you didn't rename it
20:15
< RchrdB>
jinx
20:15
< abudhabi>
Don't care about backup.
20:16
<@[R]>
You only need mkswap /dev/sda5 && swapon /dev/sda5
20:16
< abudhabi>
What I'd like to know is why this happens. Why I lose my swap sometimes.
20:16
<@[R]>
mkswap formats the partition to be usable as swap. swapon tells the kernel to start using it.
20:16
<@[R]>
Yeah, Ubunutu right?
20:16
< abudhabi>
Mint.
20:17
<@[R]>
Lazy google says nothing
20:18 * [R] would like to see what the swap gets replaced with.
20:18 * [R] wonders if maybe it's trying to do encrypted swap and the scripts break?
20:19
< abudhabi>
Ionno. I think I did encrypt my home this format around.
20:24
<&ToxicFrog>
abudhabi: does it happen on reboot?
20:24
<&ToxicFrog>
And if so, on every reboot, or just some?
20:24
< abudhabi>
Not sure. It happened twice so far. Not enough data points.
20:25
<&ToxicFrog>
...
20:25
<&ToxicFrog>
Ok, but were both of those occurrences on reboot?
20:26
< abudhabi>
Again, not sure. It only became noticeable when I ate through my 4 GB RAM.
20:26
<&ToxicFrog>
Aah.
20:26
<&ToxicFrog>
Well, something to check:
20:26
<&ToxicFrog>
$ grep swap /etc/fstab && sudo swaplabel /dev/sda5
20:27
<&ToxicFrog>
And then see if the UUIDs match.
20:27
<&ToxicFrog>
If not, it may not be able to find it on boot; change one of the UUIDs to match (by editing the fstab, or using swaplabel -U)
20:31
< abudhabi>
21a726c8-1e57-4af7-bff4-1b7be2879c50 dde0c99b-220d-41a1-9ce0-0c1225c5babb
20:32
<@celticminstrel>
...what?
20:33 * celticminstrel prods abudhabi worriedly.
20:33
<&ToxicFrog>
celticminstrel: read up.
20:33
< abudhabi>
I'm a little distracted by photoshopping a cheese burger onto a photo of Kim Jong Un.
20:33
<&ToxicFrog>
abudhabi: yeah, those don't match. You need to change one of them to match.
20:34
< abudhabi>
http://pastebin.com/wE9iZzVN
20:34
<@celticminstrel>
Oh, you're posting the output of TF's command?
20:34
<&ToxicFrog>
oh
20:34
<&ToxicFrog>
cryptswap
20:35
<&ToxicFrog>
I have no experience with this, but the mkswap/swapon command given above turns the underlying block device back into swap
20:35
<&ToxicFrog>
It does nothing at all for the encrypted dmd
20:36
< RchrdB>
http://julesjacobs.github.io/2015/06/17/disqus-levenshtein-simple-and-fast.html - person called Jules Jacobs has written an implementation (only about 40 lines, wtf) of creating DFAs for "all strings within a Levenshtein distance of `k` from this input string of length `n`" in O(n*k).
20:36
< RchrdB>
It's a really nice clear derivation from the dynamic-programming algorithm for computing Levenshtein distance, too!
20:39 RchrdB [RchrdB@Nightstar-952.jvr.168.194.IP] has quit [[NS] Quit: Leaving]
20:52 catadroid [catalyst@Nightstar-jvm.kji.18.94.IP] has joined #code
20:55 kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code
21:01 catadroid [catalyst@Nightstar-jvm.kji.18.94.IP] has quit [[NS] Quit: Bye]
21:02 kourbou_ is now known as kourbou
21:50 Kindamoody|out is now known as Kindamoody
21:57 kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Tip about keeping secrets: It's easier if you don't know them.]
22:30 Kindamoody is now known as Kindamoody[zZz]
22:48 Cyneric is now known as ErikMesoy
23:11 catadroid [catalyst@Nightstar-jvm.kji.18.94.IP] has joined #code
23:26 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed]
23:40 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:40 mode/#code [+qo Vornicus Vornicus] by ChanServ
--- Log closed Sat Jun 20 00:00:56 2015
code logs -> 2015 -> Fri, 19 Jun 2015< code.20150618.log - code.20150620.log >

[ Latest log file ]