code logs -> 2009 -> Sun, 06 Dec 2009< code.20091205.log - code.20091207.log >
--- Log opened Sun Dec 06 00:00:17 2009
00:08 You're now known as TheWatcher[T-2]
00:10 AbuDhabi [annodomini@Nightstar-434a0f70.adsl.tpnet.pl] has quit [[NS] Quit: AbuDhabi is sleeping with the fishes.]
00:14 You're now known as TheWatcher[zZzZ]
00:19 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has quit [Connection reset by peer]
00:19 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has joined #code
00:19 mode/#code [+o Attilla] by Reiver
00:24 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has quit [Ping timeout: 121 seconds]
00:29 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has joined #code
00:29 mode/#code [+o Attilla] by Reiver
02:28 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has quit [Client closed the connection]
02:31 Tarinaky [Tarinaky@Nightstar-52356a03.adsl.virginmedia.net] has joined #code
03:06 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
04:47 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
05:29 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:32 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
05:32 mode/#code [+o Vornicus] by Reiver
05:43 * dmlandrum is off to bed. Night, all.
05:43 dmlandrum [darren@8E7DA3.838E9A.6CA65A.A8EF5A] has quit [[NS] Quit: Leaving]
07:09 Derakon is now known as Derakon[AFK]
07:53 * Thaqui snickers sadly.
07:53
< Thaqui>
Someone asked why "while(TempInfo2 !> 0 && TempInfo !< 9999)" would give errors in compiling.
09:02 AnnoDomini [annodomini@Nightstar-434a0f70.adsl.tpnet.pl] has joined #code
09:02 mode/#code [+o AnnoDomini] by Reiver
09:35 You're now known as TheWatcher
09:41 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
09:58
< Tarinaky>
Wait... This is C/C++ right? !> isn't an operator...
09:58
< McMartin>
Hence the "sadly"
09:59
< Tarinaky>
:/ I wan't sure if it was some bizarre language I didn't know.
09:59
< Tarinaky>
*wasn't
10:26 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has quit [Client exited]
11:47 * Tarinaky is very. Very confused :/
11:47
< Tarinaky>
I think I'm missing something very simple here :/
11:49
< MyCatSchemes>
How would you define !> and !<?
11:50
< Tarinaky>
'!>' would be '<=' surely.
11:51<~Reiver> Got it in one.
11:51
< Tarinaky>
That's not what I'm confused about.
11:52
< Tarinaky>
Would I be better asking in #maths for help implementing an iterative method for finding a numerical solution of a function?
11:52
< Tarinaky>
*for the root of a function
11:53<~Reiver> No.
11:54
<@AnnoDomini>
Equipment
11:54
<@AnnoDomini>
Location
11:54
<@AnnoDomini>
Comments
11:54
<@AnnoDomini>
Damn it.
11:54
< Tarinaky>
Lemme pastebin this. :/
11:54
<@AnnoDomini>
Stupid terminal.
11:55
< Tarinaky>
http://tarinaky.pastebin.com/m47a8b337 << What's wrong with this?
11:56 * Tarinaky is currently trying to get it to find the positive root of x^2-4. It -should- be guessing 5, then 2.5 then 3.75 etc...
11:57
< Tarinaky>
However it's currently guessing 5, 7.5, 8.75...
11:57
< Tarinaky>
And I can't see why :/
11:57
<@AnnoDomini>
Try >0?
11:58
< Tarinaky>
I would. But that would leave me with the problem that I don't understand wtf is going on :/
11:58
< Tarinaky>
>0 does work... but I don't understand why.
11:59
< Tarinaky>
>.<
12:02
< Tarinaky>
Oh!
12:02
< Tarinaky>
I understand now.
12:02
< Tarinaky>
Never mind. I'm an idiot.
12:07 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has joined #code
12:08 mode/#code [+o Attilla] by Reiver
12:21 Tarinaky [Tarinaky@Nightstar-52356a03.adsl.virginmedia.net] has quit [Operation timed out]
12:35 Tarinaky [Tarinaky@Nightstar-b414d71e.adsl.virginmedia.net] has joined #code
13:03
< Tarinaky>
Gah. I don't know if I'm making a programming error or a maths one :/
13:37 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Client closed the connection]
14:09 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
14:53 * Tarinaky head-desks. No matter how hard I try why can I not get this damn thing to work :/
14:55 * AnnoDomini unhelpfully hums a certain Linkin Park song.
14:56
< Tarinaky>
I can think of several.
14:59
<@AnnoDomini>
Yes. Now you're imagining all those superimposed on one another. Very quantum.
15:06
< Tarinaky>
Crawling in my like to think you're never wrong.
15:08
< Tarinaky>
Crawling in my song. My mansion never clean. Cash is how I know. >.> <.< >.>
15:09
< Tarinaky>
Or something like that. I don't have time to be witty :/
15:09
<@AnnoDomini>
That's horrible.
15:09
< Tarinaky>
Sorry.
15:09
<@AnnoDomini>
In more ways than one.
15:10
< Tarinaky>
I can only think of like... one of their songs.
15:10
< Tarinaky>
I had to look up the lyrics to points of authority to superimpose it.
15:10
< Tarinaky>
Couldn't remember it :/
15:10
<@AnnoDomini>
You're being distracted. Get back to work, drone!
15:11
< Tarinaky>
I don't know what to do though :/
15:11
< Tarinaky>
I'm spent.
15:11
< Tarinaky>
I have no idea where my error's coming from :/ It's converging but not where I expect it to.
15:13
< Tarinaky>
The only thing I can think of as being wrong shouldn't even effect the value that much (from examining it graphically).
15:16
< Tarinaky>
Numerically everything seems to work... Except it's giving me a bandgap 5 times wrong :/
15:31 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has quit [Client closed the connection]
15:32 Attilla_ [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has joined #code
15:32 AbuDhabi [annodomini@Nightstar-06734d82.adsl.tpnet.pl] has joined #code
15:33
< Tarinaky>
The only thing I can think of is that it's impossible to do because of rounding errors in the trigonometric functions.
15:33 Attilla_ [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has quit [Client closed the connection]
15:33
< Tarinaky>
In which case it's a very bastardly problem to set.
15:34 AnnoDomini [annodomini@Nightstar-434a0f70.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
15:42 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has joined #code
15:42 mode/#code [+o Attilla] by Reiver
15:43 Namegduf [namegduf@Nightstar-7ec84b32.bath.ac.uk] has joined #code
15:56
< Tarinaky>
I hate floats/doubles :/
16:00
< gnolam>
So go bignum then.
16:01
< Tarinaky>
Bignum?
16:02
< gnolam>
Arbitrary-precision arithmetic.
16:04
< Tarinaky>
I don't understand. Sorry.
16:05
<@TheWatcher>
Tarinaky: if you're using c/c++, try libgmp
16:06
< Tarinaky>
I'll look into it some time. I'm pretty certain this problem should be solveable without it.
16:06
< Tarinaky>
I just can't figure out how >.>
16:09
< AbuDhabi>
Use Mathcad.
16:10
< gnolam>
Bignum/arbitrary-precision arithmetic: instead of using just the native representation sizes, use however much memory you want to represent each number.
16:10
< gnolam>
It's horribly slow (since you're doing everything in software instead of hardware), but if you really really need precision...
16:16
< Tarinaky>
I don't know if it's precision I need. Other people managed to get this to work using just what's built-in.
16:16
< Tarinaky>
So I dunno what I'm doing wrong :/
16:16
< Tarinaky>
But there's a factor of 3.88 error coming from somewhere.
16:17
< AbuDhabi>
Start again. From scratch.
16:17
< Tarinaky>
No way. I spent weeks working on this!
16:17
< Tarinaky>
All 130 lines of code >.>
16:17
< AbuDhabi>
That's not very much.
16:18
< Tarinaky>
It wasn't so much a coding problem as a physics problem.
16:18
< Tarinaky>
It took me three 3-hour sessions before I touched a text editor :/
16:42 Rhamphoryncus [rhamph@Nightstar-a62bd960.abhsia.telus.net] has joined #code
17:18 You're now known as TheWatcher[afk]
17:57 Derakon[AFK] is now known as Derakon
18:08 SmithKurosaki [Smith@Nightstar-f933638e.dsl.teksavvy.com] has quit [Connection closed]
18:22 You're now known as TheWatcher
18:40 Derakon is now known as Derakon[AFK]
18:42 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
19:05 Syloqs-AFH [Syloq@Nightstar-e66e0fe2.or.comcast.net] has joined #code
19:05 mode/#code [+o Syloqs-AFH] by Reiver
19:11 dmlandrum [darren@8E7DA3.838E9A.6CA65A.A8EF5A] has joined #code
19:11 Syloqs-AFH is now known as Syloqs_AFH
19:17 Attilla_ [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has joined #code
19:18 Attilla [The.Attilla@FBC920.480E8C.EFFF82.B2CEA7] has quit [Ping timeout: 121 seconds]
19:20 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection reset by peer]
19:47 SmithKurosaki [Smith@Nightstar-f933638e.dsl.teksavvy.com] has joined #code
19:50 Derakon[AFK] is now known as Derakon
20:15 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
20:17 Syloqs_AFH is now known as Syloqs-AFH
22:50 dmlandrum_ [darren@Nightstar-d7184406.sfldmi.sbcglobal.net] has joined #code
22:53 dmlandrum [darren@8E7DA3.838E9A.6CA65A.A8EF5A] has quit [Ping timeout: 121 seconds]
23:08 dmlandrum_ [darren@Nightstar-d7184406.sfldmi.sbcglobal.net] has quit [[NS] Quit: Leaving]
23:12 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
23:15 dmlandrum [darren@Nightstar-d7184406.sfldmi.sbcglobal.net] has joined #code
23:31
< gnolam>
Blargh.
23:31
< gnolam>
Give me some proper cyberpunk tech, already.
23:32
< gnolam>
I want to tell my computer to compile me a precis from these papers with just the data I'm after.
23:53
< dmlandrum>
That'd make writing my last physics lab paper a lot easier.
23:55
< McMartin>
I'm pretty sure you'd have to either have a strong AI to do that, or a semistructured markup format for publications that everyone actually used.
23:57
< simon`>
higher neural bandwidth!
23:57
< simon`>
that might not scale
--- Log closed Mon Dec 07 00:00:18 2009
code logs -> 2009 -> Sun, 06 Dec 2009< code.20091205.log - code.20091207.log >