code logs -> 2014 -> Mon, 28 Apr 2014< code.20140427.log - code.20140429.log >
--- Log opened Mon Apr 28 00:00:34 2014
00:01
<@AnnoDomini>
And in this case it's accessing C64's code memory?
00:01
<&McMartin>
I have a half-formed idea that I could probably write a macro language for getting access to floating-point in machine language code now, but not just with this.
00:01
<&McMartin>
The larger thrust is more "reverse engineering the in-software floating point capabilities"
00:02
<&McMartin>
FPEEK in particular came up because Vorn was digging into how it did stuff like SIN and COS, and it turns out it does them by computing power series
00:03
<&McMartin>
So, uh, I guess the answer is "It already was used to extract the coefficients of that power series"
00:04 Turaiel is now known as Turaiel[Offline]
00:08 Syk [the@Nightstar-6ps.np9.126.1.IP] has joined #code
00:26 Reiver is now known as Orth_
00:31 Syk [the@Nightstar-6ps.np9.126.1.IP] has quit [[NS] Quit: lol]
00:36 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
00:54 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
00:54 mode/#code [+qo Vornicus Vornicus] by ChanServ
01:40 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
02:06 * McMartin deploys hideous unnatural tricks against a Subversion repository
02:07
<&McMartin>
We really cannot switch to git soon enough
02:18
<&Derakon>
I'm using git's SVN integration at work. It's kind of hokey.
02:18
<&Derakon>
Better than not being able to commit except to master, though!
02:18
<&McMartin>
Heh
02:19
<&McMartin>
Yeah, we're using actual branches in SVN here, which makes life... exciting
02:19
<&McMartin>
But it's late enough in SVN's development that SVN branches at least actually work
02:19
<&ToxicFrog>
I think git-svn can map SVN branches to/from git branches these days
02:19
<&McMartin>
I abandoned a branch, then recreated it with the same name, then merged in some changesets from its previous incarnation.
02:20
<&ToxicFrog>
So basically a rebase -i that blows away a bunch of commits?
02:20
<&McMartin>
I am pretty sure I can draw what that operation is in Git~
02:20
<&McMartin>
Kinda
02:21
<&McMartin>
In Git, this would be "various commits from the branch were rebased or merged into master, and then the branch head was moved to trunk abandoning all other commits, then rebranched by cherry-picking some commits from the old branch"
02:22
<&McMartin>
The problem boiled down to 'too much refactoring distance between these branches making merges either direction problematic; save what you care about, and the rest wasn't worth saving except for two commits that could have merged but aren't ready for master yet"
02:23
<&McMartin>
... I guess that *is* a rebase -i that blows away a bunch of commits. Basically all the commits that hadn't already been merged, save one.
02:23
<&ToxicFrog>
Yeah.
02:24
<&McMartin>
Yeah, OK, now it's not terribly exciting on either side~
02:24
<&ToxicFrog>
Like, you can also do it that way, but at that point you have basically recreated one specific usage of rebase -i more awkwardly.
02:24
<&McMartin>
Yeah
02:24
<&McMartin>
(not hugely awkward in SVN either; svn delete, svn cp, svn merge)
02:24
<&McMartin>
(And Tortoise SVN Merge gives you a screen that is not entirely unlike rebase -i)
02:25
<&McMartin>
(A number of my changesets from this branch had names like "The Great Purge")
02:26 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
02:26 mode/#code [+o himi] by ChanServ
03:17 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
03:17 mode/#code [+qo Vornicus Vornicus] by ChanServ
03:39 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:02 Turaiel[Offline] is now known as Turaiel
04:34 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds]
04:41 Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code
04:41 mode/#code [+o Reiv] by ChanServ
05:01 Derakon is now known as Derakon[AFK2]
05:29 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
05:29 mode/#code [+o JackKnife] by ChanServ
05:36 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
05:40 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code
05:50 ErikMesoy|sleep is now known as ErikMesoy
06:29 Kindamoody[zZz] is now known as Kindamoody
07:41 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code
07:46 celticminstrel [celticminst@Nightstar-ha4ihv.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:48 Turaiel is now known as Turaiel[Offline]
08:09 Kindamoody is now known as Kindamoody|out
08:15 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [Ping timeout: 121 seconds]
08:28 AverageJoe [evil1@Nightstar-4m2.pjj.29.206.IP] has joined #code
08:37 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds]
09:15 AverageJoe [evil1@Nightstar-4m2.pjj.29.206.IP] has quit [[NS] Quit: Leaving]
11:31
<@Azash>
http://imgur.com/r/programmerhumor/sCl963V
11:31
<@AnnoDomini>
Heh.
11:43
<&McMartin>
itty-bitty semantic operations space
12:06 Orth [Reiver@Nightstar-3b3sq3.ihug.co.nz] has joined #code
12:07 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
12:07 mode/#code [+o himi] by ChanServ
12:21 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:25 Serah [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
12:26 mode/#code [+o Serah] by ChanServ
12:28 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
12:41 mode/#code [+o RchrdB] by ChanServ
12:45 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
12:50 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
12:58
<@TheWatcher>
Ohgods
12:58
<@TheWatcher>
This student's code
13:03 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
13:03 mode/#code [+o himi] by ChanServ
13:09 Syka [the@Nightstar-eri.5ls.156.120.IP] has joined #code
13:10 Syka is now known as NSGuest59323
13:10 NSGuest59323 is now known as Syk
14:27 Serah [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
14:34 thalass [thalass@Nightstar-s6dmeo.bigpond.net.au] has joined #code
14:34 mode/#code [+o thalass] by ChanServ
14:54 macdjord is now known as macdjord|wurk
15:11
<@gnolam>
TheWatcher: is it so bad that it creates rifts in the spacetime continuum?
15:11
<@TheWatcher>
no, it's too broken to break anything else
15:40 thalass [thalass@Nightstar-s6dmeo.bigpond.net.au] has quit [[NS] Quit: bed]
16:03 Syk [the@Nightstar-eri.5ls.156.120.IP] has quit [[NS] Quit: lol internet]
16:10 Datawalke [Datawalke@Nightstar-1b1.i5a.224.199.IP] has joined #code
16:25 * Tarinaky throws up from how bad her CPP is after not writing any for ages.
16:25
<@Tarinaky>
Also, being frazzled and rushing doesn't help
16:26
< Datawalke>
Why are you rushing?
16:42
<@Tarinaky>
This is due in the 8th
16:42
<@Tarinaky>
And I need to leave 3 days to have it 'bound'.
16:42
<@Tarinaky>
And I haven't done /any/ of the report
16:42
<@Tarinaky>
And I'm struggling to remember how to do a cross product and how to apply it to my problem
16:42
<@Tarinaky>
Because past Tarinaky was cleverer than future Tarinaky
16:43
<@Tarinaky>
Or at least was more confident with trigonometry based magic
16:46
< Datawalke>
:( I'm sorry. I'm sure you will get it.
16:47
<@Tarinaky>
I got it.
16:47
<@Tarinaky>
Just super-stress-y
16:50
<@Tarinaky>
Was thinking of the cross product as being the complement to the dot product of two vectors.
16:50
<@Tarinaky>
So my vector along the magic vector is the dot product...
16:50
<@Tarinaky>
And my vector perpendicular to the magic vector is the cross product
16:51
<@Tarinaky>
:)
16:51
<@Tarinaky>
I suck at explaining my head :/
16:52
< Datawalke>
It's all magic to me.
16:54 celticminstrel [celticminst@Nightstar-ha4ihv.dsl.bell.ca] has joined #code
16:54 mode/#code [+o celticminstrel] by ChanServ
16:56
<@Tarinaky>
Okay. Brain fart time. I have a vector that's my velocity, and a magic vector which is the direction I want to be travelling in.
16:56
<@Tarinaky>
The dot product of the two vectors is the projection of one on the other - my actual speed in the direction I want to be travelling in.
16:56
<@Tarinaky>
Am I being a massive derp to think I can use the cross product as the compliment to get the speed in the direction perpendicular to that?
16:57
<@Tarinaky>
I say this because I'm doing the maths component wise.
16:58
<@Tarinaky>
And neither vector is aligned with the basis.
16:58
<@Tarinaky>
So I'm getting confused that the cross product is giving me the vector up/down.
16:58
<@Tarinaky>
And therefore wrong.
16:59
<@Tarinaky>
But at the same time the angular forms of the dot/cross product made me think this'd work as the sin**2 a + cos**2 a = 1 identity looks a lot like pythagoras' theorem.
17:01
<@Tarinaky>
Am I missing something important here?
17:10
<@Tarinaky>
Yeah. The internet says my thinking's right.
17:10
<@Tarinaky>
The direction is irrelevant, the magnitude is right.
19:34 Batam [Batam@Nightstar-41s.uoq.242.180.IP] has joined #code
19:35
< Batam>
.
19:35
<@ErikMesoy>
Batman!
19:36 Batam [Batam@Nightstar-41s.uoq.242.180.IP] has left #code []
19:36
<&McMartin>
Vanished into the night.
19:37
<&McMartin>
magnitude of the cross product is the area of the parallelogram implied by the two vectors
19:41
<@Tarinaky>
McMartin So I need to divide through by the dot product to get what I want?
19:41
<@Tarinaky>
That sounds right actually.
19:42
<@Tarinaky>
No. It doesn't.
19:42
<@Tarinaky>
I need to divide by the magnitudes of the two vectors on their own?
19:43
<&McMartin>
You're thinking about this wrong.
19:43
<@Tarinaky>
No, that just gives me the sine theta.
19:44
<&McMartin>
To do a cross product, just use the formula for it, of which there are many
19:44
<&McMartin>
The XYZZY mnemonic is pretty good for this except that I never remember how to use it.
19:44
<@Tarinaky>
I don't want the cross product. I want a decomposition of my velocity with my goal direction as one of the basis
19:45
<&McMartin>
Oh.
19:45
<&McMartin>
Hrm.
19:45
<&McMartin>
I think you actually want a series of dot products for that.
19:45
<@Tarinaky>
You might be right.
19:45
<&McMartin>
Dot your direction with the goal direction, note resulting magnitude (dot product is a scalar, so there is no direction)
19:46
<&McMartin>
Ordering might matter, I'm too frazzled today to remember how that works
19:46
<@Tarinaky>
Find vector perpendicular to goaql direction
19:46
<@Tarinaky>
And dot velocity with thaqt to get the complement.
19:47 * Tarinaky nods.
19:47
<@Tarinaky>
Thanks.
19:47
<&McMartin>
Of course, in threespace there are an infinite number of vectors perpendicular
19:47
<@Tarinaky>
AQrgh, I broke my keyboaqrd
19:48
<@Tarinaky>
This is going to maqke finishing this code reaqlly reaqlly interesting :/
19:48
<&McMartin>
You're being invaded by the Q Continuum
19:48
<@Tarinaky>
Lol, even funnier when I hit qqqqqqqqqqqqqqqqqqqqqqqq
19:48
<@Tarinaky>
Fuck my life.
19:50
<@ErikMesoy>
How is it broken exactly? Press squarely and sharply in each of the A and Q keys separately, that unjammed my keyboard last time I had similar
19:50
<@Tarinaky>
wwqtrer dwqmwqge
19:50
<@Tarinaky>
I spilled satewq everywqhere
19:50
<&McMartin>
IƤ, fhtagn!
19:51
<@Tarinaky>
Becwqusae I hwqve insaufficient sapwqce to live in :/
19:51
<@Alek>
poor taki.
19:51
<@Alek>
it's spread, I guess.
19:52
<@Alek>
I'm thinking of force-drying the board with a hairdryer on low, then maybe an isopropyl rinse.
19:52
<@Alek>
although I don't have any experience, actually.
19:52
<@Tarinaky>
This is the only spare keyboard I have and it's a fucking nightmare to type on because the keys have no give
19:52
<@Tarinaky>
Argh
19:53
<@Tarinaky>
Is this one any better?
19:54
<&McMartin>
Well, I'm not seeing Qs everywhere
19:54
<@Tarinaky>
Okay, dug out one of my previously water damaged keyboards to see if this one's fixed from drying out
19:54
<@Tarinaky>
Much better
19:55
<@Alek>
if it's that much of a problem, just get a waterproof keyboard and be done with it.
19:56
<@Tarinaky>
If I had money there is a long list of essentials I'd need to by before I could even consider that :/
19:56
<@Tarinaky>
I mean fuck. I'm going to be homeless in a month and a week's time :/
19:56
<@Tarinaky>
My dissertation is the least of my problems -.-
19:57 * Alek patpats gingerly.
20:04 Kindamoody|out is now known as Kindamoody
20:13
<@Tarinaky>
http://i.imgur.com/F7Ss9f6.jpg << How I feel about the state of my computer keyboards
20:19 Kindamoody is now known as Kindamoody[zZz]
20:23
<@Alek>
also, how you'd like to look? :P
20:24
<@Tarinaky>
Alek: My hair is nicer than that
20:24
<@Tarinaky>
Alek: Also, her boobs look smaller than mine :P
20:25
<@Tarinaky>
McMartin: So, after a break for GoT and dinner... I have reviewed my code.
20:25
<@Tarinaky>
McMartin: I seems my cross product solution is already semantically identical to finding the perpendicular basis and taking the dot product with that
20:25
<@Tarinaky>
I'm just checking to make sure
20:26
<@Tarinaky>
But the product of the gradient of two perpendicular lines is -1, no?
20:31
<&McMartin>
Remind me how to compute gradients
20:31
<&McMartin>
The dot product of two perpendicular lines is zero
20:32
<@Tarinaky>
And m_1 m_2 = -1
20:32
<@Tarinaky>
Where m_1 = y_1 / x_1; and m_2 = y_2 / x_2
20:32
<&McMartin>
I don't have the cycles for this right now, maybe someone else can weight in
20:33
<&McMartin>
*weigh
20:38
<@Alek>
Taki: I dunno, both her hair and her boobs look plenty nice to me.
20:38 * Alek shrugs.
20:39
<@Tarinaky>
Alek: Not the point.
20:39
<@Tarinaky>
Alek: Mine are nicer.
21:01 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
21:01 mode/#code [+qo Vornicus Vornicus] by ChanServ
21:29 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
21:29 mode/#code [+o JackKnife] by ChanServ
21:33 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Connection closed]
21:33 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
21:33 mode/#code [+o JackKnife] by ChanServ
21:59
< Datawalke>
Be back soon!
21:59 Datawalke [Datawalke@Nightstar-1b1.i5a.224.199.IP] has quit [[NS] Quit: ]
22:26 Serah [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
22:26 mode/#code [+o Serah] by ChanServ
22:26 JackKnife [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
22:33 Orth [Reiver@Nightstar-3b3sq3.ihug.co.nz] has quit [Ping timeout: 121 seconds]
22:39 Turaiel[Offline] is now known as Turaiel
22:45 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
22:55 Orth [Reiver@Nightstar-3b3sq3.ihug.co.nz] has joined #code
22:59 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
22:59 mode/#code [+o himi] by ChanServ
23:03 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
23:17 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
23:17 mode/#code [+o himi] by ChanServ
23:43
<@Azash>
https://detroit.craigslist.org/wyn/cpg/4443222965.html
23:43 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
23:45 ErikMesoy is now known as ErikMesoy|sleep
23:56 * Alek facepalms.
--- Log closed Tue Apr 29 00:00:50 2014
code logs -> 2014 -> Mon, 28 Apr 2014< code.20140427.log - code.20140429.log >

[ Latest log file ]