code logs -> 2012 -> Fri, 06 Apr 2012< code.20120405.log - code.20120407.log >
--- Log opened Fri Apr 06 00:00:58 2012
00:13 eckse [eckse@Nightstar-5146dfd6.dsl.sentex.ca] has joined #code
00:13 mode/#code [+o eckse] by ChanServ
00:45 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
00:54 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
01:08
< Rhamphoryncus>
Huh. Confused myself. Scaled down my curve from 0..256 to 0..1 and it didn't get all that close to 1. Turns out it maxed at 240 before anyway
01:17 * Rhamphoryncus looks up bezier curves
01:18
< Rhamphoryncus>
They look stupidly simple. I wish I'd realized that before when using gimp/inkscape/whatever
01:31 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
01:38 mode/#code [+ao McMartin McMartin] by ChanServ
01:55 Derakon[AFK] is now known as Derakon
02:13 Attilla [Obsolete@Nightstar-d8dc4e79.as43234.net] has quit [Ping timeout: 121 seconds]
02:14
<&McMartin>
"Canonical has developed a new server provisioning tool called Metal as a Service."
02:14
<&McMartin>
:rock:
02:35 Kindamoody[zZz] is now known as Kindamoody
03:16 Reaper [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
03:19
< Noah>
Damn rain
03:39 Reaper [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
03:48 Noah [noah@Nightstar-c74807e7.pools.spcsdns.net] has quit [Connection closed]
03:49 Noah [noah@Nightstar-c74807e7.pools.spcsdns.net] has joined #code
04:46 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
04:46 mode/#code [+o Vash] by ChanServ
05:12
< Rhamphoryncus>
Hmm. And now I'm learning that natural cubic splines are, by comparison, stupidly hard. Despite, or perhaps because, them being based on simple physical phenomena
05:13
<~Vornicus>
natural cubics are surprisingly hard, yeah
05:14
<~Vornicus>
Beziers are naptime.
05:14
<~Vornicus>
I can even pick points to match a bezier to an arbitrary polynomial curve.
05:14
< Rhamphoryncus>
My instinct is to just set a few points and interpolate the rest. I'm not sure how to do that with bezier though, as only the endpoints are guaranteed to match
05:15
<~Vornicus>
Your best bet is linalg solving
05:15
< Rhamphoryncus>
That sounds complicated :P
05:16
< Rhamphoryncus>
My current lookup table is generated in 3 lines of python (could be a one-liner) and is 8 bits in, 8 bits out
05:18
<~Vornicus>
It's not at all.
05:23 * Rhamphoryncus googles
05:25
< Rhamphoryncus>
Keep in mind that, although I may appear smart, I'm actually a *junior* high dropout. 7th grade or so.
05:26
< Rhamphoryncus>
Bezier curves I understood instinctively as soon as I saw the animations on wikipedia
05:27
< Rhamphoryncus>
natural cubic splines make sense from a physical POV, but I can't even touch the mathematical end
05:32
< Rhamphoryncus>
I've used editors that had bezier curves that matched the mid points, even though qalculate isn't. I suspect they used multiple second or third order curves chained together, whereas qalculate is using the highest order possible
05:35
< Rhamphoryncus>
And if I manually chop it into two.. yup, that works
05:38
< Rhamphoryncus>
As I've learned from random pages that means it's not *smooth*. It looks gentle but it actually switches the curve used
05:40
< Rhamphoryncus>
Hrm. The non-smoothness is annoying me ^_^
05:46
< Rhamphoryncus>
heh, and I just realized I've been confusing my two applications: one is generating the speed target curve (distance in, target speed out), the other generating your payment based on how you relate to that curve
05:57
< Rhamphoryncus>
And.. I would get stupidly close, if not exactly, to what I'm visualizing just taking my existing 0.5**x curve and moving the declared "mid" point to a quarter rather than half
05:58 eckse [eckse@Nightstar-5146dfd6.dsl.sentex.ca] has quit [Client closed the connection]
06:02 * Rhamphoryncus goes afk
06:12 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:13 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
06:28 Noah [noah@Nightstar-c74807e7.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
06:29 Derakon is now known as Derakon[AFK]
06:29 Noah [noah@Nightstar-c74807e7.pools.spcsdns.net] has joined #code
06:33 Noah1 [noah@Nightstar-c74807e7.pools.spcsdns.net] has joined #code
06:34 Noah [noah@Nightstar-c74807e7.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
08:11 Attilla [Obsolete@Nightstar-306bfebf.as43234.net] has joined #code
08:16 Attilla [Obsolete@Nightstar-306bfebf.as43234.net] has quit [Ping timeout: 121 seconds]
08:23 AnnoDomini [annodomini@Nightstar-5f52b73f.adsl.tpnet.pl] has joined #code
08:23 mode/#code [+o AnnoDomini] by ChanServ
08:45 AnnoDomini [annodomini@Nightstar-5f52b73f.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
08:58 Atreus is now known as Tarinaky
09:24 AnnoDomini [annodomini@Nightstar-bd511b14.adsl.tpnet.pl] has joined #code
09:24 mode/#code [+o AnnoDomini] by ChanServ
09:54 Kindamoody is now known as Kindamoody|foodz
10:13
<&jerith>
Rhamphoryncus: "Bezier splines" are just end-to-end Bezier curves.
10:14
< Tarinaky>
ARRRGGGH
10:14
<&jerith>
"Basis splines" are a generalisation of Bezier curves that basically limit the effect of each control point to a subset of the curve length.
10:14
<&jerith>
So you can think of them as overlapping Beziers.
10:43
< Tarinaky>
So. Question:
10:44
< Tarinaky>
What do you do when you can't get your test case to reproduce a bug.
10:44
< Tarinaky>
Indeed, you can't determine what's so 'special' about the case where it occurs at all.
10:46
< Tarinaky>
Oh my God!
10:46
< Tarinaky>
I am such a derp!
10:46
<@TheWatcher>
That, generally.
10:53
<&McMartin>
RETICULATE
11:10 Attilla [Obsolete@Nightstar-306bfebf.as43234.net] has joined #code
11:37 Kindamoody|foodz is now known as Kindamoody
11:44 AnnoDomini [annodomini@Nightstar-bd511b14.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
11:44 AnnoDomini [annodomini@Nightstar-a852aa0a.adsl.tpnet.pl] has joined #code
11:44 mode/#code [+o AnnoDomini] by ChanServ
11:58 AnnoDomini [annodomini@Nightstar-a852aa0a.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
12:00 AnnoDomini [annodomini@Nightstar-7be5acec.adsl.tpnet.pl] has joined #code
12:00 mode/#code [+o AnnoDomini] by ChanServ
12:11 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has quit [Client exited]
12:20 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
12:36
<@AnnoDomini>
Doing Windows tech support always aggravates me.
12:36
<@AnnoDomini>
My sister's boyfriend didn't get the memo that windows updates are a trap.
12:37
<@AnnoDomini>
So now the system (which is fucking genuine) detects as not genuine.
12:37
<@AnnoDomini>
I have recommended reinstalling the whole thing.
12:38
<@Alek>
yuuup. they do that. D:
13:26 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
13:33
< froztbyte>
solve by installing a legit copy? :/
13:34
<@AnnoDomini>
It is a legit copy.
13:34
<@AnnoDomini>
It came with the laptop.
13:36
<@TheWatcher>
That's no excuse, the Empire demands you buy another copy!
14:13
< Namegduf>
AnnoDomini: Call MS?
14:13
< Namegduf>
This kind of thing happens, and there's a decent chance they'll help.
14:14
< Namegduf>
Not a 100% chance, true.
14:14
< Namegduf>
But be 100% it's the original OEM copy first. XD
14:15
<@AnnoDomini>
It's more effort than reinstalling the thing.
14:16
<@AnnoDomini>
Windows needs to be reinstalled regularly anyway.
14:16
< Namegduf>
Yeah, but then you're illegit permanently.
14:17
<@AnnoDomini>
Wait, what? Reinstalling the legit copy makes it illegit?
14:17
< Namegduf>
Reinstalling with the same license key will do crap all.
14:17
< Namegduf>
It'll just redetect as illegit.
14:17
< Namegduf>
The key is the problem.
14:18
<@AnnoDomini>
Nah, the problem only turned up when it was updated.
14:18
< Namegduf>
(You'd also not be doing a proper reinstall per se but using an OEM rescue disk, with an OEM installation. They don't ship with Windows install disks and the copies are usually locked to the hardware)
14:18
<@AnnoDomini>
Reinstall, don't use windows update ever again.
14:18
< Namegduf>
Exceptional way to get rooted.
14:19
<@AnnoDomini>
If you don't want to get rooted, don't use Windows.
14:19
< Namegduf>
That's silly; they shouldn't act in a way that presumes they've been rooted already just because it uses Windows, higher probability or not.
14:19
< Namegduf>
It's still an issue and an issue to be dealt with.
14:19
< Namegduf>
If you don't want to call MS, just install a crack.
14:20
<@AnnoDomini>
Tried, didn't work.
14:21
< Namegduf>
Hmm. Try another. They do work.
14:22
<@AnnoDomini>
Tried. It said the installation was modified, and I need to uninstall the first crack. The first crack is not uninstallable.
14:22
<@AnnoDomini>
Therefore, reinstallation required.
14:22
< Namegduf>
That's a reason to reinstall, yeah.
14:23
<@AnnoDomini>
My initial suggestion of installing some user-friendly Linux was met with fear and confusion.
14:23
<@AnnoDomini>
Not surprising.
14:25
<@AnnoDomini>
And now for something completely unrelated: Where would I get some freeware music for a game about vikings?
14:26
<@AnnoDomini>
http://www.yourgameideaistoobig.com/
14:27
< celticminstrel>
Heh!
14:27
< Namegduf>
Nice.
14:28
< Namegduf>
Their multipliers seem a little weird (and in some cases, like franchises, I'm not 100% a multiplier is right) but the idea is fancy.
14:29
<@AnnoDomini>
The numbers are asspulls.
14:36 gnolam [lenin@Nightstar-0fcc80a0.tbcn.telia.com] has joined #code
14:44 gnolaptop [lenin@Nightstar-0fcc80a0.tbcn.telia.com] has joined #code
14:44 gnolaptop [lenin@Nightstar-0fcc80a0.tbcn.telia.com] has quit [Connection closed]
15:25
<@AnnoDomini>
I'm trying to use Audacity to combine several audio files. It's pretty easy, but I've yet to figure out how to take one track and stretch it out so it's longer.
15:26
< gnolam>
"Stretch it out so it's longer"?
15:28
<@AnnoDomini>
At the moment, the track is like MWMWMWM----------------. I want it to look like /\/\/\/\/\/\/\/\/\/\/\/\/\.
15:28
< gnolam>
Effect->Sliding Time Scale/Pitch Shift
15:31
<@AnnoDomini>
Okay... What do these sliders do?
15:31
<@AnnoDomini>
The labels tell me nothing.
15:35
<@AnnoDomini>
Nevermind.
15:35
<@AnnoDomini>
Putting them maximum to the left stretches the track 2x.
15:39 AnnoDomini [annodomini@Nightstar-7be5acec.adsl.tpnet.pl] has quit [Operation timed out]
15:41 AnnoDomini [annodomini@Nightstar-b20dddc7.adsl.tpnet.pl] has joined #code
15:41 mode/#code [+o AnnoDomini] by ChanServ
15:52
<@AnnoDomini>
Okay, another question: how do I make a track less loud?
15:58 cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
15:59 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Operation timed out]
16:06 Attilla [Obsolete@Nightstar-306bfebf.as43234.net] has quit [Client closed the connection]
16:08 Attilla [Obsolete@Nightstar-306bfebf.as43234.net] has joined #code
16:10
< gnolam>
AnnoDomini: Amplify. With a negative value.
16:11
<@AnnoDomini>
That seems to make it amplified regardless of value. I found a -/+ thingy next to the track, which works.
16:24 cpux|2 is now known as cpux
16:33 gnolam [lenin@Nightstar-0fcc80a0.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
16:47
< Tarinaky>
Amplify it with a fraction?
16:47
< Tarinaky>
Amplifying a waveform with a negative gain is a pi phase shift.
17:01 gnolam [lenin@Nightstar-0fcc80a0.tbcn.telia.com] has joined #code
17:05 eckse [eckse@Nightstar-b07c74e0.dsl.sentex.ca] has joined #code
17:05 mode/#code [+o eckse] by ChanServ
17:13 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has joined #code
17:27 eckse [eckse@Nightstar-b07c74e0.dsl.sentex.ca] has quit [Connection reset by peer]
17:28 eckse [eckse@Nightstar-b07c74e0.dsl.sentex.ca] has joined #code
17:28 mode/#code [+o eckse] by ChanServ
17:56 gnolam [lenin@Nightstar-0fcc80a0.tbcn.telia.com] has quit [Client closed the connection]
18:00 jeroid [jerith@687AAB.1BBF0C.887E65.5521B4] has joined #code
18:01 jeroid [jerith@687AAB.1BBF0C.887E65.5521B4] has quit [[NS] Quit: Bye]
18:36 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has quit [Operation timed out]
19:25 Kindamoody is now known as Kindamoody[zZz]
19:46 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has joined #code
20:04 Eri [Eri@Nightstar-3e5deec3.gv.shawcable.net] has joined #code
20:13 Attilla [Obsolete@Nightstar-306bfebf.as43234.net] has quit [[NS] Quit: ]
20:29
< Eri>
So, how does software versioning work? I use Nautilus, but they don't have an option to default to a two-pane layout. Is it possible to take the source code, change a few lines, but still merge future updates from upstream with my modified source?
20:29 * Tamber blinkblinks
20:30 * Tamber thumps the parser until it recognizes that correctly.
20:30
<@Tamber>
As long as those future updates don't change the same piece of code that you modified, yes.
20:30
<@Tamber>
Also, to answer your first question: Magic and spiders.
20:31
< Eri>
So, like, if I've changed one function, as long as nothing else touches that function, it's all good?
20:31 Attilla [Obsolete@Nightstar-306bfebf.as43234.net] has joined #code
20:31
<@Tamber>
Well, it depends on the granularity of the versioning.
20:32
< Tarinaky>
In theory as long as nothing changes that exact line(s) of code you're good.
20:32
< Tarinaky>
In practice I wouldn't want to bet money on it though.
20:32
< Eri>
Yeah. It sounds like a bug waiting to happen, anyways
20:32
< Tarinaky>
Because sufficiently complex software is indestinguishable from magic.
20:32
< Tarinaky>
Except Wizards know what they're doing.
20:42
<@Alek>
I like how if you check everything in yourgameideaistoobig, it tells you 170 mil and 3402 years. XD
20:43
<@AnnoDomini>
In the grim darkness of the far future, Magos Tarn Adams still works feverishly on his magnum opus...
20:44
<@Alek>
:P
20:45
< Namegduf>
New, longer code golf: Produce something meeting all the critera (perhaps drop the franchise part, practicality is lacking) in as little time as possible.
20:45
< Namegduf>
(It would, of course, suck)
20:45
<@Tamber>
Hmmmm.
20:46
<@Tamber>
That'd be a serious round of code golf.
20:46 Reaper [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
20:48
<@Alek>
ahahah
20:49
<@Alek>
of course, as coding tools evolve, we are able to create more and more elaborate code faster and faster.
20:49
< rms>
"So, how does software versioning work?" <-- it's basically wrappers around things that do the same thing as "diff" and "patch" do.
20:49
< Namegduf>
Also automated merging.
20:49
< rms>
Patch does that.
20:49
< Eri>
To which I'd reply, "What do diff and patch do"
20:49
<@Alek>
I suspect in a decade or two, 3D will be relatively trivial. <_<
20:49
< Eri>
But I've got a vague, handwavey idea of it
20:49
<@Alek>
and stuff like that.
20:50
< rms>
Diff looks at two files and lists the changes in a semi-machine readable format.
20:50
< rms>
Patch takes a diff file (see above) and repeats the changes.
20:50
< Namegduf>
Yeah, but most version control systems also wrap rewriting the diff as necessary according to various algorithms.
20:50
< rms>
Note: they generally work on changed lines.
20:51
< Namegduf>
It isn't prerequisite but it sure is handy.
21:07 Rhamphoryncus [rhamph@Nightstar-5697f7e2.abhsia.telus.net] has joined #code
21:17 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has quit [Operation timed out]
21:21 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has joined #code
21:21 mode/#code [+o Vash] by ChanServ
21:43
<&McMartin>
Man
21:43
<&McMartin>
Speaking of yourgameideaistoobig
21:43
<&McMartin>
http://wiki.osdev.org/Introduction
21:44 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
21:44 mode/#code [+ao Derakon Derakon] by ChanServ
21:45 Reaper [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
21:48
<&Derakon>
Hooray for file formats that have legible headers.
21:48 * Derakon got handed 900MB of image data in a mystery ".img" format, but fortunately it has a ton of ASCII in the first 512 bytes that describe how it is organized.
21:52
<@Tamber>
Awesome. :)
21:52
<@Alek>
o/
21:52
<&Derakon>
handle = open(filename, 'rb'); header = handle.read(512); data = numpy.fromfile(file = handle, dtype = numpy.uint16).reshape(3072, 3072)
21:53
<&Derakon>
(More intelligent code would get the 3072 out of the header, but I only have the one image size here so there seems little value in doing so)
21:56
<&McMartin>
This is a fun article. http://arstechnica.com/microsoft/news/2011/10/ten-years-of-windows-xp-how-longev ity-became-a-curse.ars
21:56
<&McMartin>
It's also interesting because I hadn't given a lot of thought to how unusual it was for XP to be as long-lived as it was.
21:57
< cpux>
My parents and the company I still work for still use WinXP.
21:58
< Noah1>
At least it isn't Windows 98
21:58
<@AnnoDomini>
I still use WinXP for gaming.
21:59
<&Derakon>
We have a couple of Win2k computers at work.
22:00
< cpux>
Then again, my grandparents don't even own a computer, or anything beyond a couple very basic cell phones.
22:02
< Noah1>
Nokias? Or that damnable Jitterbug phone?
22:02
< Noah1>
It's got like two buttons "HELP I FELL DOWN" and "NAG KIDS ABOUT GRANDKIDS"
22:03 Noah1 is now known as Noah
22:03
< cpux>
I dunno. I only know they pay $50 a year for service.
22:03
< Noah>
Sounds like the jitterbugs
22:07
< cpux>
And I say it works for them. Though I would build them a computer if they'd buy an internet plan so they could share their pictures. :-P
22:18 * Derakon sends an 18MB image over email, feels not guilty in the slightest.
22:19
<&Derakon>
Hooray for advances in networking capacity!
22:22
< Noah>
Funny how they still try to make you feel guilty
22:22
< Noah>
You're trying to send over 25megs! What's wrong with you, you monster!
22:36
<@Alek>
http://notalwaysright.com/your-degree-doesnt-add-up-to-much/18489
22:38
< Noah>
Snrrk, "It's a good start"
22:40
<@Alek>
wouldn't surprise me: http://notalwaysright.com/yes-master/18436
22:41
<&McMartin>
Noah: Well, that depends
22:41
<&McMartin>
I get irked when people email me gigantic files at work because we have a network share for *exactly this purpose*
22:41
<&McMartin>
Also because our gigantic files are measured in gigabytes and I don't want them on every machine I check email from -_-
22:42
<&McMartin>
Gigabytes are still large amounts of data and you damn kids can just get off my lawn.
22:44
< Rhamphoryncus>
email has never been good at large files
22:44
< Noah>
If you have network shares, fire the idiot still emailing large files
22:46
<&McMartin>
That said, 18MB is no longer a "large file"
22:49
<&Derakon>
I don't know of any fileshare that I happen to have in common with the guy I was emailing, FWIW.
22:50
< Noah>
I say anything under 100MB should be emailable, above that, setup a dropbox or something
22:51 gnolam [lenin@Nightstar-0fcc80a0.tbcn.telia.com] has joined #code
22:51
< Rhamphoryncus>
Huh. I'd still consider 18 MB to be large. Small stuff is text files and ordinary images, which rarely even touch a meg. Anything larger is large.
22:51
< Rhamphoryncus>
I guess I need a new "medium" >.>
22:51
<&McMartin>
25MB actually seems like a reasonable cutoff
22:52
<&McMartin>
My slowest connection is 300KB/sec, so.
22:54
< Noah>
http://notalwaysright.com/fighting-fire-with-fire-2/1077
23:02
< Noah>
http://notalwaysright.com/hard-drugs-and-harder-pharmacists/2424
23:02
< Noah>
"Why didn't you call the police?" lol
23:14
< celticminstrel>
Whoa.
23:14
< celticminstrel>
(At the fire with fire one.)
23:17
< celticminstrel>
...someone doesn't know their MasterCard has their name on it?
23:17
< celticminstrel>
Wow.
23:23
< Noah>
Yea, people are dumb, and because of that, I can never go back into retail
23:24
< celticminstrel>
Fighting fire with fire was kinda funny though.
23:24
< celticminstrel>
I mean, not just in the "wow that's stupid" way that most of them are.
23:25
< Noah>
I get angry at that site
23:25
< Noah>
It reminds me of all the stupid calls I handled at Comcast
23:26
< Noah>
And it genuinely get enraged. So I usually stop reading after a point.
23:26
< celticminstrel>
Ah.
23:26
< celticminstrel>
I still like the restaurant one.
23:38 Vash [Vash@Nightstar-cdeba41f.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
23:40 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving]
23:47 Noah [noah@Nightstar-c74807e7.pools.spcsdns.net] has quit [[NS] Quit: Leaving.]
--- Log closed Sat Apr 07 00:00:16 2012
code logs -> 2012 -> Fri, 06 Apr 2012< code.20120405.log - code.20120407.log >

[ Latest log file ]