1 2012-11-17 00:05:33 L1V3 has joined
  2 2012-11-17 00:08:22 epscy has quit (Ping timeout: 256 seconds)
  3 2012-11-17 00:08:40 agricocb has joined
  4 2012-11-17 00:10:25 harrigan_ has joined
  5 2012-11-17 00:14:14 bakh has joined
  6 2012-11-17 00:15:31 Lolcust has quit (Quit: Nap time)
  7 2012-11-17 00:19:16 RainbowDashh has joined
  8 2012-11-17 00:20:47 rdponticelli has joined
  9 2012-11-17 00:21:30 RainbowD_ has joined
 10 2012-11-17 00:22:27 L1V3 has quit (Ping timeout: 246 seconds)
 11 2012-11-17 00:23:04 Lolcust has joined
 12 2012-11-17 00:23:16 RainbowDashh has quit (Disconnected by services)
 13 2012-11-17 00:23:19 RainbowD_ is now known as RainbowDashh
 14 2012-11-17 00:23:53 Gladamas_ has joined
 15 2012-11-17 00:25:16 Gladamas is now known as Guest63647
 16 2012-11-17 00:25:20 ibno has quit (Quit: Lämnar)
 17 2012-11-17 00:25:58 rdponticelli has quit (Ping timeout: 276 seconds)
 18 2012-11-17 00:27:31 Guest63647 has quit (Ping timeout: 255 seconds)
 19 2012-11-17 00:30:10 meLon has quit (Read error: Connection reset by peer)
 20 2012-11-17 00:33:51 RazielZ has quit (Ping timeout: 246 seconds)
 21 2012-11-17 00:36:57 RainbowDashh has quit (Ping timeout: 244 seconds)
 22 2012-11-17 00:37:48 Gladamas_ has quit (Quit: No Ping reply in 90 seconds.)
 23 2012-11-17 00:40:04 arij has joined
 24 2012-11-17 00:40:04 arij has quit (Client Quit)
 25 2012-11-17 00:40:09 ovidiusoft has quit (Ping timeout: 246 seconds)
 26 2012-11-17 00:40:24 arij has joined
 27 2012-11-17 00:40:48 arij is now known as Guest5831
 28 2012-11-17 00:47:46 bakh has quit (Quit: Ex-Chat)
 29 2012-11-17 00:57:14 Gladamas_ has joined
 30 2012-11-17 00:59:12 xIsalty has quit (Read error: Connection reset by peer)
 31 2012-11-17 00:59:54 xIsalty has joined
 32 2012-11-17 01:01:52 Gladamas_ is now known as Gladamas
 33 2012-11-17 01:07:23 rdponticelli has joined
 34 2012-11-17 01:12:07 rdponticelli has quit (Ping timeout: 276 seconds)
 35 2012-11-17 01:12:25 Guest5831 has quit (Changing host)
 36 2012-11-17 01:12:25 Guest5831 has joined
 37 2012-11-17 01:12:32 Guest5831 is now known as arij
 38 2012-11-17 01:17:06 Gladamas_ has joined
 39 2012-11-17 01:19:23 harrigan_ has quit (Quit: leaving)
 40 2012-11-17 01:19:42 Gladamas has quit (Ping timeout: 260 seconds)
 41 2012-11-17 01:33:10 rdponticelli has joined
 42 2012-11-17 01:38:08 rdponticelli has quit (Ping timeout: 276 seconds)
 43 2012-11-17 01:40:17 RainbowDashh has joined
 44 2012-11-17 01:40:17 RainbowDashh has quit (Changing host)
 45 2012-11-17 01:40:17 RainbowDashh has joined
 46 2012-11-17 01:43:31 Gladamas_ has quit (Read error: Connection reset by peer)
 47 2012-11-17 01:43:37 veelstewerm has quit (Ping timeout: 268 seconds)
 48 2012-11-17 01:43:42 Gladamas has joined
 49 2012-11-17 01:50:00 BTCTrader_ has joined
 50 2012-11-17 01:50:01 BTCTrader has quit (Read error: Connection reset by peer)
 51 2012-11-17 01:50:08 BTCTrader_ is now known as BTCTrader
 52 2012-11-17 01:50:24 RainbowDashh has quit (Ping timeout: 268 seconds)
 53 2012-11-17 01:50:38 BTCTrader is now known as Guest75808
 54 2012-11-17 01:52:44 RainbowDashh has joined
 55 2012-11-17 01:57:14 RainbowDashh has quit (Ping timeout: 252 seconds)
 56 2012-11-17 01:57:38 robbak has quit (Remote host closed the connection)
 57 2012-11-17 01:58:03 robbak has joined
 58 2012-11-17 01:59:15 da2ce7 has quit (Ping timeout: 246 seconds)
 59 2012-11-17 01:59:53 RainbowDashh has joined
 60 2012-11-17 01:59:54 RainbowDashh has quit (Changing host)
 61 2012-11-17 01:59:54 RainbowDashh has joined
 62 2012-11-17 02:00:54 Gladamas_ has joined
 63 2012-11-17 02:01:45 da2ce7 has joined
 64 2012-11-17 02:04:47 Gladamas has quit (Ping timeout: 276 seconds)
 65 2012-11-17 02:09:26 Gladamas_ has quit (Ping timeout: 244 seconds)
 66 2012-11-17 02:09:44 Gladamas has joined
 67 2012-11-17 02:09:54 RainbowDashh has quit (Ping timeout: 240 seconds)
 68 2012-11-17 02:11:55 rdponticelli has joined
 69 2012-11-17 02:14:27 Graet has quit (Ping timeout: 246 seconds)
 70 2012-11-17 02:14:33 bonks has quit (Ping timeout: 245 seconds)
 71 2012-11-17 02:16:10 drizztbsd has joined
 72 2012-11-17 02:17:08 rdponticelli has quit (Ping timeout: 276 seconds)
 73 2012-11-17 02:17:55 copumpkin has joined
 74 2012-11-17 02:22:33 asa1024 has joined
 75 2012-11-17 02:24:24 RainbowDashh has joined
 76 2012-11-17 02:25:53 Graet has joined
 77 2012-11-17 02:26:14 Graet is now known as Guest48188
 78 2012-11-17 02:27:22 bonks has joined
 79 2012-11-17 02:29:34 da2ce7 has quit (Ping timeout: 240 seconds)
 80 2012-11-17 02:32:34 freakazoid has quit (Ping timeout: 240 seconds)
 81 2012-11-17 02:37:15 robbak has quit (Remote host closed the connection)
 82 2012-11-17 02:37:39 robbak has joined
 83 2012-11-17 02:48:27 <dparrish> ;;rate frend 1 Bought my BTC for bank deposit, he paid first
 84 2012-11-17 02:48:29 <gribble> Rating entry successful. Your rating of 1 for user frend has been recorded.
 85 2012-11-17 02:54:22 Gladamas has quit (Read error: Connection reset by peer)
 86 2012-11-17 02:55:29 devrandom has quit (Ping timeout: 276 seconds)
 87 2012-11-17 02:55:46 Arnavion has quit (Quit: Arnavion)
 88 2012-11-17 02:56:59 devrandom has joined
 89 2012-11-17 02:57:08 Gladamas has joined
 90 2012-11-17 02:59:07 drizztbsd has quit (Remote host closed the connection)
 91 2012-11-17 02:59:36 drizztbsd has joined
 92 2012-11-17 03:03:35 jarib has joined
 93 2012-11-17 03:05:02 Arnavion has joined
 94 2012-11-17 03:17:58 <etotheipi_> sipa, it's Bitcoin-Qt 0.7.1
 95 2012-11-17 03:18:35 <etotheipi_> I have a raw dump of the tx's that came in, but they came into the buffer all at once, so I guess there's a chance my code didn't parse them right
 96 2012-11-17 03:19:44 <etotheipi_> I just gotta manually parse them and confirm
 97 2012-11-17 03:22:18 Gladamas has quit (Ping timeout: 272 seconds)
 98 2012-11-17 03:28:20 rdponticelli has joined
 99 2012-11-17 03:29:38 <etotheipi_> jgarzik: sipa:   sorry, false alarm -- my code is somehow not breaking apart messages correctly when they all appear in the same buffer
100 2012-11-17 03:30:19 swulf-- has joined
101 2012-11-17 03:31:01 swulf--1 has quit (Ping timeout: 264 seconds)
102 2012-11-17 03:31:18 emeitner has left ()
103 2012-11-17 03:33:11 rdponticelli has quit (Ping timeout: 276 seconds)
104 2012-11-17 03:34:43 drizztbsd has quit (Quit: Konversation terminated!)
105 2012-11-17 03:35:38 EPiSKiNG- has joined
106 2012-11-17 03:39:46 BlackPrapor has joined
107 2012-11-17 03:46:32 fiesh_ has quit (Ping timeout: 248 seconds)
108 2012-11-17 03:47:24 Zarutian has quit (Quit: Zarutian)
109 2012-11-17 03:47:26 fiesh has joined
110 2012-11-17 03:49:11 xorgate has joined
111 2012-11-17 03:55:47 BlackPrapor has quit (Read error: Connection reset by peer)
112 2012-11-17 03:56:01 rdponticelli has joined
113 2012-11-17 04:00:39 <etotheipi_> oh man... this is one of those python-sometimes-things-are-references-sometimes-copy issues
114 2012-11-17 04:02:26 rdponticelli has quit (Ping timeout: 276 seconds)
115 2012-11-17 04:04:49 <Luke-Jr> etotheipi_: pretty sure Python doesn't have that problem really?
116 2012-11-17 04:05:05 <Luke-Jr> isn't everything a reference unless you use copy() or deepcopy()?
117 2012-11-17 04:05:24 <Luke-Jr> and just the confusion stems from the inability to manipulate strings/numbers
118 2012-11-17 04:05:25 <etotheipi_> Luke-Jr: non-mutable objects are always copies
119 2012-11-17 04:05:37 <Luke-Jr> etotheipi_: non-mutable objects just aren't mutable ;)
120 2012-11-17 04:05:45 <etotheipi_> mutable objects are always passed by reference
121 2012-11-17 04:05:52 <Luke-Jr> if it's immutable, there is no distinction between a reference and a copy
122 2012-11-17 04:06:00 <cjd> have you guys seen an issue with gcc segfaulting? I'm suddenly having people complain about it.. first time it was gentoo so kind of semi-expected, now centos-5.5 with gcc-4.4
123 2012-11-17 04:06:06 RainbowDashh has quit (Ping timeout: 245 seconds)
124 2012-11-17 04:06:22 <cjd> oops centos 6.3
125 2012-11-17 04:07:33 <etotheipi_> Luke-Jr: the issue is when you're mixing lots of mutable and non-mutable
126 2012-11-17 04:08:35 <etotheipi_> mainly containers that hold nonmutables and/or other containers
127 2012-11-17 04:09:16 t7 has quit (Remote host closed the connection)
128 2012-11-17 04:09:26 RainbowDashh has joined
129 2012-11-17 04:13:01 <xenland> How does one benchmark their financial software? Is there a predefined list of math formulas that display floating point errors that I could use and see if my integer only software is doing what it is suppsoed to?
130 2012-11-17 04:13:47 <cjd> testing for rounding errors?
131 2012-11-17 04:15:18 xIsalty is now known as xIsalty-otc
132 2012-11-17 04:15:18 <xenland> cjd: Yeah i think thats the terminology im looking for.
133 2012-11-17 04:15:28 <etotheipi_> xenland: http://xkcd.com/217/
134 2012-11-17 04:15:34 <cjd> perhaps compare it to something known like openssl?
135 2012-11-17 04:16:33 <xenland> ethotheipi_: lol cuz pi precision goes on foreva
136 2012-11-17 04:16:50 <xenland> cjd:How do you mean?
137 2012-11-17 04:17:49 <cjd> run random numbers in a loop and compare
138 2012-11-17 04:18:17 RainbowDashh has quit (Ping timeout: 252 seconds)
139 2012-11-17 04:18:57 <cjd> for example: https://ezcrypt.it/VB5n#uJeVApbiVpWCllLHLJmDAnsM
140 2012-11-17 04:20:53 <xenland> interesting
141 2012-11-17 04:21:08 RainbowDashh has joined
142 2012-11-17 04:21:12 <jgarzik> etotheipi_: cool
143 2012-11-17 04:21:22 <jgarzik> etotheipi_: bitcoin will definitely send multiple messages in the same network packet, sometimes
144 2012-11-17 04:22:29 <phantomcircuit> jgarzik, limited to high load
145 2012-11-17 04:22:56 toffoo has joined
146 2012-11-17 04:22:59 <jgarzik> phantomcircuit: ?
147 2012-11-17 04:24:07 root2 has quit (Read error: Connection reset by peer)
148 2012-11-17 04:24:07 TheSeven has quit (Disconnected by services)
149 2012-11-17 04:24:16 [7] has joined
150 2012-11-17 04:24:26 root2 has joined
151 2012-11-17 04:30:11 rdponticelli has joined
152 2012-11-17 04:34:56 rdponticelli has quit (Ping timeout: 276 seconds)
153 2012-11-17 04:39:07 agricocb has quit (Quit: Leaving.)
154 2012-11-17 04:39:11 RainbowD_ has joined
155 2012-11-17 04:42:11 RainbowDashh has quit (Ping timeout: 252 seconds)
156 2012-11-17 04:43:40 RainbowD_ is now known as RainbowDashh
157 2012-11-17 04:46:09 RainbowDashh has quit (Read error: Connection reset by peer)
158 2012-11-17 04:47:09 RainbowDashh has joined
159 2012-11-17 04:47:09 RainbowDashh has quit (Changing host)
160 2012-11-17 04:47:09 RainbowDashh has joined
161 2012-11-17 04:53:22 ThomasV has joined
162 2012-11-17 05:16:20 freakazoid has joined
163 2012-11-17 05:20:14 RainbowDashh has quit (Ping timeout: 260 seconds)
164 2012-11-17 05:20:54 agricocb has joined
165 2012-11-17 05:21:58 rdponticelli has joined
166 2012-11-17 05:23:42 RainbowDashh has joined
167 2012-11-17 05:26:56 rdponticelli has quit (Ping timeout: 276 seconds)
168 2012-11-17 05:30:49 agricocb has quit (Remote host closed the connection)
169 2012-11-17 05:34:48 agricocb has joined
170 2012-11-17 05:52:02 <phantomcircuit> jgarzik, you still around?
171 2012-11-17 05:52:04 <phantomcircuit> cjd, ditto to you
172 2012-11-17 05:52:08 <jgarzik> phantomcircuit: yes
173 2012-11-17 05:52:20 <phantomcircuit> can you try and connect a bitcoind to metaexch.com:8333
174 2012-11-17 05:52:44 <phantomcircuit> im currently attacking the hell out of it and i want to see if my anti ddos code works
175 2012-11-17 05:53:06 forsetifox has left ("Leaving")
176 2012-11-17 05:53:32 <jgarzik> phantomcircuit: sorry, no
177 2012-11-17 05:53:36 <jgarzik> busy
178 2012-11-17 05:53:39 <phantomcircuit> :(
179 2012-11-17 05:53:52 <cjd> also busy
180 2012-11-17 05:53:54 <cjd> maybe later
181 2012-11-17 05:53:57 <cjd> debugging gcc
182 2012-11-17 05:53:58 <phantomcircuit> sipa, ?
183 2012-11-17 05:54:13 <cjd> redhat gcc segfaults trying to compile cjdns with -O3 -g
184 2012-11-17 05:54:37 <amiller> phantomcircuit, i'll connect a bitcoind to it
185 2012-11-17 05:55:00 <phantomcircuit> horray
186 2012-11-17 05:58:49 <gmaxwell> cjd: open a bug.
187 2012-11-17 05:59:25 <gmaxwell> cjd: my median time to fix on reproducable ICE I've reported on GCC is <24 hours.
188 2012-11-17 05:59:30 <amiller> plenty of "socket recv error 104" phantomcircuit
189 2012-11-17 05:59:55 <phantomcircuit> hmm
190 2012-11-17 05:59:57 <Luke-Jr> cjd: Is -O3 even supposed to be reliable?
191 2012-11-17 06:00:11 <Luke-Jr> I know RHEL 6's GCC miscompiles with -O2
192 2012-11-17 06:00:33 <gmaxwell> Luke-Jr: sure it is.
193 2012-11-17 06:00:35 <phantomcircuit> ************************
194 2012-11-17 06:00:35 <phantomcircuit> EXCEPTION: NSt8ios_base7failureE
195 2012-11-17 06:00:35 <phantomcircuit> CDataStream::read() : end of data
196 2012-11-17 06:00:36 <amiller> O2 is supposed to be reliable
197 2012-11-17 06:00:41 <phantomcircuit> hmm
198 2012-11-17 06:00:51 <amiller> O3 is reliable on every thing i know of
199 2012-11-17 06:00:53 <phantomcircuit> Luke-Jr, it's reliable as long as you're following the standards
200 2012-11-17 06:00:58 <phantomcircuit> which most people dont :)
201 2012-11-17 06:01:13 <Luke-Jr> phantomcircuit: shrug, not my code. I just want it to work :p
202 2012-11-17 06:01:27 <gmaxwell> Luke-Jr: there are a lot of negative opinions of O3 that come from aliasing violations (and now O2, since O2 picked up some of those optimizations)
203 2012-11-17 06:02:05 <Luke-Jr> gmaxwell: I see. Gentoo has a bad reputation for enabling overoptimization, but ironically they don't advise any more than -O2 on x86
204 2012-11-17 06:02:43 <Luke-Jr> I personally have a completely hand-picked set of optimizations, because I don't like that -O1 makes debugging harder, and -O0 omits obvious crap like inlining
205 2012-11-17 06:03:12 <gmaxwell> Luke-Jr: there is a lot of broken code out there _and_ there certantly are compiler bugs. But there aren't supposted to be an and GCC devs give fixing them very high priority.
206 2012-11-17 06:03:59 <Luke-Jr> gmaxwell: well, I would expect some optimizations are inherently broken in most cases, but still useful when you have complete control of the code and need the performance
207 2012-11-17 06:04:13 <Luke-Jr> or maybe not most cases, but some standards-acceptable ones
208 2012-11-17 06:04:29 <gmaxwell> Things have gotten a bunch better in recent years because some academics created a C language fuzzer that produces random but valid code... and then they compile with N compilers and detect differences in behavior.
209 2012-11-17 06:04:54 <Luke-Jr> hmm
210 2012-11-17 06:05:45 <Luke-Jr> gmaxwell: what I'd really like to see, but haven't yet (and I know how difficulty it is because I've tried to do it myself), is an emulator that follows all possible code paths and reports any way to reach (memory corruption | segfault | etc)
211 2012-11-17 06:06:00 <Luke-Jr> difficult*  - been working on bitcoin too much! XD
212 2012-11-17 06:06:21 <gmaxwell> Luke-Jr: "static analysis" — I mean thats what clang analize, coverity, and a zillion other tools do.
213 2012-11-17 06:06:27 <gmaxwell> I recommend them.
214 2012-11-17 06:06:32 <Luke-Jr> do they? :o
215 2012-11-17 06:07:16 <gmaxwell> They're not sound— they don't hit all possible. But they do catch a lot.
216 2012-11-17 06:07:34 <gmaxwell> They also have false alarms (and minimizing them is why they don't trace all paths)
217 2012-11-17 06:07:36 <Luke-Jr> hm
218 2012-11-17 06:07:51 <cjd> gmaxwell: yeap, I'm golfing it down to the simplest code which will reproduce the bug, I'm down to 400 lines already.. Hopefully I can write a little cmake test to find bad compilers as well as giving RH something they can very easily act on (this is RH's issue because it's gcc-4.4)
219 2012-11-17 06:08:04 <gmaxwell> Example output (a false alarm in this case, stride must be >=1 but it can't tell that): https://mf4.xiph.org/jenkins/view/opus/job/opus-scan-build/ws/scan-build/current/report-Dhq6sz.html#EndPath
220 2012-11-17 06:08:09 <Luke-Jr> gmaxwell: I was thinking of working at the bytecode level, and storing memory contents as some kind of a quantum state
221 2012-11-17 06:08:39 <gmaxwell> cjd: All you need to do is get the preprocessed output using gcc -E  and then thats a standalone reproduction. Don't bother reducing it further if you don't want.
222 2012-11-17 06:09:12 <gmaxwell> cjd: you can attach that to a ticket (on the redhat system if you haven't reproduced with stock gcc; otherwise the gcc bugzilla) and thats all someone will need to reproduce.
223 2012-11-17 06:09:34 <gmaxwell> Luke-Jr: Well tools like klee do that to drive fuzz testing.. but the state is exponential.
224 2012-11-17 06:10:23 <Luke-Jr> of course. unless you can find a good way to identify loops ;)
225 2012-11-17 06:10:34 <gmaxwell> Source code level analysis is also more likely to produce a result that makes any sense.
226 2012-11-17 06:10:37 <Luke-Jr> identify when a path results in the same state you had before
227 2012-11-17 06:11:08 <gmaxwell> E.g. if you had that clang-analysis output above where it only told you the [4] without showing you the trace that got it there, you'd waste a half hour trying to figure out if it was right or not and why. :P
228 2012-11-17 06:12:55 rdponticelli has joined
229 2012-11-17 06:18:36 JZavala has joined
230 2012-11-17 06:18:45 <Luke-Jr> gmaxwell: well, something tracing actual possible code paths is never wrong :P
231 2012-11-17 06:26:42 <phantomcircuit> uh
232 2012-11-17 06:26:44 <phantomcircuit> is it just me
233 2012-11-17 06:26:52 <phantomcircuit> or is continue not working in BOOST_FOREACH
234 2012-11-17 06:27:36 <Diablo-D3> heh, boost =/
235 2012-11-17 06:27:49 <Diablo-D3> [12:49:07] <gmaxwell> Luke-Jr: there are a lot of negative opinions of O3 that come from aliasing violations (and now O2, since O2 picked up some of those optimizations)
236 2012-11-17 06:28:10 <Diablo-D3> doesnt -O3 enable the optimization that pretends all function arguments are c99 restrict?
237 2012-11-17 06:33:29 tonikt has joined
238 2012-11-17 06:34:48 <phantomcircuit> lol there's a pretty obvious logic error in my code
239 2012-11-17 06:34:49 <phantomcircuit> sigh
240 2012-11-17 06:35:01 <Diablo-D3> phantomcircuit: dont you love those?
241 2012-11-17 06:35:14 <Diablo-D3> Ive been doing "sleep coding" lately
242 2012-11-17 06:35:20 <Diablo-D3> and it produces horrid code
243 2012-11-17 06:35:36 <Diablo-D3> "hrm, I havent produced enough code today, and I want to go to bed, so lemme bang out a few lines"
244 2012-11-17 06:35:41 <phantomcircuit> that's how this code came to be
245 2012-11-17 06:35:45 <Diablo-D3> * two hours later *
246 2012-11-17 06:35:53 <Diablo-D3> "there, done, Ill see if it compiles tommorow"
247 2012-11-17 06:35:57 <Diablo-D3> * tommorow *
248 2012-11-17 06:36:00 <phantomcircuit> WAT
249 2012-11-17 06:36:02 <Diablo-D3> "WHAT THE FUCK IS THIS SHIT I WROTE"
250 2012-11-17 06:36:39 <Diablo-D3> atm Im trying to make re2c and lemon play nice, so thats much more fun
251 2012-11-17 06:37:11 <Diablo-D3> they're both candidates of being turned into seaking compiler plugins
252 2012-11-17 06:37:42 <jgarzik> bah, who needs lemon?  http://shop.oreilly.com/product/9780596155988.do
253 2012-11-17 06:37:58 <D34TH> Diablo-D3, http://static.fjcdn.com/pictures/fuck_545be4_531549.gif
254 2012-11-17 06:38:00 <Diablo-D3> jgarzik: FUCK THAT
255 2012-11-17 06:38:17 <Diablo-D3> jgarzik: fuck lex and fuck yacc
256 2012-11-17 06:38:27 <Diablo-D3> D34TH: <3
257 2012-11-17 06:38:43 <Diablo-D3> jgarzik: I want a modern fucking parser, not some slow ass bloated shit
258 2012-11-17 06:39:44 <Diablo-D3> lemon+re2c can do it faster with lower memory overhead and less generated code
259 2012-11-17 06:41:34 <Diablo-D3> also, I have discovered the most hilarious thing in C that I've never noticed before
260 2012-11-17 06:42:10 <Diablo-D3> sys/types, sys/stat, fcntl are included for open(2)
261 2012-11-17 06:42:22 <Diablo-D3> unistd is included for close(2)
262 2012-11-17 06:42:31 <Diablo-D3> (according to their manpages, anyways)
263 2012-11-17 06:43:29 <Diablo-D3> yup, its true, if I include just those three, close isnt defined
264 2012-11-17 06:45:28 <phantomcircuit> looking at my code now i realize
265 2012-11-17 06:45:33 <phantomcircuit> this calls for xor
266 2012-11-17 06:45:56 <Diablo-D3> phantomcircuit: MOAR XOAR
267 2012-11-17 06:47:03 <D34TH> http://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Z2%5E4%3B_Cayley_table%3B_binary.svg/498px-Z2%5E4%3B_Cayley_table%3B_binary.svg.png
268 2012-11-17 06:47:46 <Diablo-D3> D34TH: whats that
269 2012-11-17 06:48:37 <D34TH> nimber addition
270 2012-11-17 06:50:17 <phantomcircuit> wait no i can simplify this to a single !
271 2012-11-17 06:50:21 <phantomcircuit> oh well
272 2012-11-17 06:51:30 <cjd> 00:47 < gmaxwell> Luke-Jr: there are a lot of negative opinions of O3 that come from aliasing violations (and now O2, since O2 picked up some of  those optimizations) <-- I do quite a bit of aliasing abuse but I seem to get away with it as long as I know in advance that things are aligned.
273 2012-11-17 06:51:31 <phantomcircuit> the anti ddos code i wrote totally screws up that all the checks actually have three results
274 2012-11-17 06:52:05 <phantomcircuit> new worst peer, equal peers, current worst peer is worse
275 2012-11-17 06:52:15 <phantomcircuit> i ignore that later case currently resulting in strange results
276 2012-11-17 06:52:56 <cjd> The other thing which I have found useful is to use -O3 in development and have lots of tests and lots of buildbots on different machines
277 2012-11-17 06:53:38 <phantomcircuit> -Wall -Werror
278 2012-11-17 06:53:46 <phantomcircuit> oh hey there subtle bugs
279 2012-11-17 06:53:47 <phantomcircuit> :)
280 2012-11-17 06:53:51 <cjd> -pedantic -Wextra
281 2012-11-17 06:54:01 <phantomcircuit> ALL THE FLAGS
282 2012-11-17 06:54:15 <cjd> and then test hard
283 2012-11-17 06:54:30 <Diablo-D3> heh
284 2012-11-17 06:54:32 <Diablo-D3> its funny
285 2012-11-17 06:54:32 <cjd> because weird stuff happens when you break the rules a little bit
286 2012-11-17 06:54:42 <Diablo-D3> I usually specify wall wextra pedantic....
287 2012-11-17 06:54:43 <cjd> ok maybe sometimes a lot :)
288 2012-11-17 06:54:50 <Diablo-D3> then start turning off annoying warnings.
289 2012-11-17 06:55:00 <Diablo-D3> like unused function arg... on main.
290 2012-11-17 06:55:04 <Diablo-D3> seriously, shut the fuck up gcc
291 2012-11-17 06:55:20 <Diablo-D3> I have to specify a valid main prototype, I dont have to use the fucking args you whore.
292 2012-11-17 06:55:25 <cjd> yeah, same.. I only turn them off if there is a valid reason to really need not to have it
293 2012-11-17 06:57:21 arij has quit (Ping timeout: 245 seconds)
294 2012-11-17 06:57:38 <phantomcircuit> Diablo-D3, iirc there is a macro to disable that for specific functions
295 2012-11-17 06:58:24 <Diablo-D3> yeah but that uglies code
296 2012-11-17 07:00:36 <phantomcircuit> ok code now works
297 2012-11-17 07:00:38 <phantomcircuit> sillyness
298 2012-11-17 07:06:55 <phantomcircuit> ok so now you can connect to that bitcoind even when i have hundreds of inbound connections
299 2012-11-17 07:07:07 <phantomcircuit> but it only works if im attacking for the same netblock
300 2012-11-17 07:07:22 <phantomcircuit> protection becomes erratic at best when they're coming from multiple ips
301 2012-11-17 07:12:21 <cjd> https://bugzilla.redhat.com/show_bug.cgi?id=877605
302 2012-11-17 07:17:32 <phantomcircuit> getting hundreds of connections through tor is ridiculously slow
303 2012-11-17 07:17:40 <phantomcircuit> but im too lazy to apply patches to change that
304 2012-11-17 07:18:51 * cjd is a human fuzzer
305 2012-11-17 07:29:08 D34TH has quit (Ping timeout: 276 seconds)
306 2012-11-17 07:36:38 da2ce7 has joined
307 2012-11-17 07:42:14 freakazoid has quit (Ping timeout: 240 seconds)
308 2012-11-17 07:43:27 ThomasV has quit (Ping timeout: 246 seconds)
309 2012-11-17 07:45:43 leotreasure has joined
310 2012-11-17 07:53:40 SupaDupa has joined
311 2012-11-17 07:58:00 <phantomcircuit> ok screw it custom tor build time
312 2012-11-17 08:03:50 RainbowDashh has quit (Ping timeout: 252 seconds)
313 2012-11-17 08:05:13 SupaDupa has quit (Ping timeout: 265 seconds)
314 2012-11-17 08:08:38 RainbowDashh has joined
315 2012-11-17 08:20:18 CodesInChaos has joined
316 2012-11-17 08:20:47 RainbowDashh has quit (Read error: Connection reset by peer)
317 2012-11-17 08:25:11 RainbowDashh has joined
318 2012-11-17 08:26:22 da2ce7 has quit (Read error: Connection reset by peer)
319 2012-11-17 08:26:53 ThomasV has joined
320 2012-11-17 08:28:45 <phantomcircuit> yeah so the jist of this is
321 2012-11-17 08:28:49 <phantomcircuit> the attack still works
322 2012-11-17 08:28:56 <phantomcircuit> but it's way wayyyy more annoying to carry out
323 2012-11-17 08:29:05 <Diablo-D3> http://loopj.com/2012/11/16/nvd3-erased-from-existence/
324 2012-11-17 08:33:29 copumpkin has quit (Ping timeout: 276 seconds)
325 2012-11-17 08:34:04 copumpkin has joined
326 2012-11-17 08:36:31 darsk1ez has quit (Ping timeout: 260 seconds)
327 2012-11-17 08:39:25 toffoo has quit ()
328 2012-11-17 08:40:47 darsk1ez has joined
329 2012-11-17 08:42:39 brwyatt is now known as brwyatt|Away
330 2012-11-17 08:49:29 BlackPrapor has joined
331 2012-11-17 08:58:19 eroot has joined
332 2012-11-17 09:03:44 ovidiusoft has joined
333 2012-11-17 09:05:52 eroot has quit (Quit: Ex-Chat)
334 2012-11-17 09:09:32 Eslbaer has quit (Read error: Connection reset by peer)
335 2012-11-17 09:16:16 eroot has joined
336 2012-11-17 09:27:24 <Diablo-D3> er guys
337 2012-11-17 09:27:30 <Diablo-D3> whats the default namecoin data and rpc port?
338 2012-11-17 09:27:35 <Diablo-D3> I thought it was 9333 and 9332
339 2012-11-17 09:34:30 <Diablo-D3> huh apparently its 8334 and 8336
340 2012-11-17 09:40:44 <xenland> what time does Bitcoin go by?
341 2012-11-17 09:41:04 <Diablo-D3> utc I think
342 2012-11-17 09:41:10 <xenland> k thanks diablo
343 2012-11-17 09:41:12 RazielZ has joined
344 2012-11-17 09:41:23 eroot has quit (Quit: Ex-Chat)
345 2012-11-17 09:41:28 <Diablo-D3> logs I think are in your local time, though
346 2012-11-17 09:41:32 one_zero has joined
347 2012-11-17 09:44:08 <xenland> And your UTC comment was referring to the accepted block timestamp timezone? (As i understand it there is a time zone sync in the protocal it self)
348 2012-11-17 09:44:40 <Diablo-D3> yes
349 2012-11-17 09:44:52 <jgarzik> whee
350 2012-11-17 09:44:53 <xenland> cool
351 2012-11-17 09:45:01 <jgarzik> transcribing EvalScript() is much faster
352 2012-11-17 09:45:02 <Diablo-D3> at least, every representation Ive seen of the timestamp has been UTC
353 2012-11-17 09:45:04 <jgarzik> when going C++ -> C
354 2012-11-17 09:45:50 <Luke-Jr> jgarzik: are you just porting satoshi's code to every language you can? :P
355 2012-11-17 09:45:57 <xenland> Any plans on releasing official documentation on Bitcoin library?
356 2012-11-17 09:46:19 <xenland> jgarzik: make your next client be made in PHP :P
357 2012-11-17 09:46:24 <Luke-Jr> xenland: if you mean libbitcoin, the guy behind that isn't on IRC anymore
358 2012-11-17 09:46:27 <Diablo-D3> lol
359 2012-11-17 09:46:48 <xenland> Libbitcoin huh?
360 2012-11-17 09:46:52 * xenland opens google....
361 2012-11-17 09:47:14 <jgarzik> Luke-Jr: just C and python ;p
362 2012-11-17 09:47:17 <jgarzik> xenland: bleh :)
363 2012-11-17 09:47:21 <xenland> heh
364 2012-11-17 09:47:42 <xenland> luke-jr: I thought libbitcoin was for converting the block chain to Database or no?
365 2012-11-17 09:47:53 <Luke-Jr> xenland: I don't know, not familiar with it.
366 2012-11-17 09:48:08 <xenland> oh okay, thanks anyways
367 2012-11-17 09:48:30 * jgarzik calls it a night, at OP_2OVER.  The rest look just as easy.
368 2012-11-17 09:48:37 <cjd> jgarzik: +1
369 2012-11-17 09:48:42 <cjd> C ftw
370 2012-11-17 09:49:02 <cjd> I have a couple small functions from bitcoin which I ported to C and they are wildly faster
371 2012-11-17 09:50:12 Guest75808 has quit (Quit: Guest75808)
372 2012-11-17 09:50:21 rlifchitz has quit (Ping timeout: 246 seconds)
373 2012-11-17 09:55:36 Eslbaer has joined
374 2012-11-17 10:02:32 rlifchitz has joined
375 2012-11-17 10:33:20 SupaDupa has joined
376 2012-11-17 10:35:45 <phantomcircuit> xenland, it's a full client...
377 2012-11-17 10:36:15 <xenland> phantomcircuit: thanks for clearing that up
378 2012-11-17 10:44:18 <Diablo-D3> argh
379 2012-11-17 10:44:25 <Diablo-D3> whats the all account for listtransactions
380 2012-11-17 10:44:56 <xenland> listtransactions '' 9999999999
381 2012-11-17 10:44:57 <xenland> ?
382 2012-11-17 10:45:06 graingert has joined
383 2012-11-17 10:45:07 graingert has quit (Changing host)
384 2012-11-17 10:45:07 graingert has joined
385 2012-11-17 10:45:32 <Diablo-D3> yeah thats it
386 2012-11-17 10:48:22 <phantomcircuit> Diablo-D3, *+
387 2012-11-17 10:48:22 <phantomcircuit> er
388 2012-11-17 10:48:23 <phantomcircuit>  *
389 2012-11-17 10:48:27 <phantomcircuit> the default account is ''
390 2012-11-17 10:48:34 <Diablo-D3> well Im only using default
391 2012-11-17 10:48:35 <Diablo-D3> so heh
392 2012-11-17 11:20:54 MC-Eeepc has joined
393 2012-11-17 11:21:25 graingert has quit (Quit: Ex-Chat-GNOME)
394 2012-11-17 11:21:40 graingert has joined
395 2012-11-17 11:21:41 graingert has quit (Changing host)
396 2012-11-17 11:21:41 graingert has joined
397 2012-11-17 11:24:04 MC1984 has quit (Ping timeout: 255 seconds)
398 2012-11-17 11:25:56 JDuke256 has joined
399 2012-11-17 11:54:41 leotreasure has quit (Quit: leotreasure)
400 2012-11-17 11:57:26 graingert has quit (Read error: Connection reset by peer)
401 2012-11-17 12:02:16 DutchBrat_ has joined
402 2012-11-17 12:04:02 DutchBrat has quit (Ping timeout: 264 seconds)
403 2012-11-17 12:15:05 Diapolo has joined
404 2012-11-17 12:24:28 Ferroh has joined
405 2012-11-17 12:25:57 xIsalty-otc has quit (Read error: Connection reset by peer)
406 2012-11-17 12:26:24 xIsalty-otc has joined
407 2012-11-17 12:26:25 xIsalty-otc has quit (Changing host)
408 2012-11-17 12:26:25 xIsalty-otc has joined
409 2012-11-17 12:30:21 * SupaDupa is AFK, ZzZZzzZZzzzZzzzzz —I-n-v-i-s-i-o-n—
410 2012-11-17 12:31:29 RainbowDashh has quit (Ping timeout: 252 seconds)
411 2012-11-17 12:33:54 DutchBrat_ has quit (Remote host closed the connection)
412 2012-11-17 12:52:14 Diapolo has left ()
413 2012-11-17 13:10:34 dvide has quit ()
414 2012-11-17 13:25:50 JDuke256 has quit (Quit: ["Textual IRC Client: www.textualapp.com"])
415 2012-11-17 13:28:35 Cory has quit (Ping timeout: 276 seconds)
416 2012-11-17 13:31:05 Hasimir- has joined
417 2012-11-17 13:31:08 RazielXYZ has joined
418 2012-11-17 13:31:15 Hasimir has quit (Ping timeout: 252 seconds)
419 2012-11-17 13:32:02 Hasimir- is now known as Hasimir
420 2012-11-17 13:32:05 Hasimir has quit (Changing host)
421 2012-11-17 13:32:06 Hasimir has joined
422 2012-11-17 13:32:43 Cory has joined
423 2012-11-17 13:34:01 RazielZ has quit (Ping timeout: 246 seconds)
424 2012-11-17 14:02:07 <Ferroh> This guy says that running bitcoin -checkblocks=0 took 10 minutes
425 2012-11-17 14:02:11 <Ferroh> should that not take many hours?
426 2012-11-17 14:02:33 t7 has joined
427 2012-11-17 14:06:57 vampireb has quit (Quit: Lost terminal)
428 2012-11-17 14:07:25 <Ferroh> Does -checkblocks=0 do the same verification that bitcoind normally does at startup?
429 2012-11-17 14:07:37 Hasimir has quit (Ping timeout: 244 seconds)
430 2012-11-17 14:09:37 <sipa> it IS the check bitcoin does at startup
431 2012-11-17 14:09:48 <Ferroh> So why is it taking this guy only 10 minutes?
432 2012-11-17 14:09:48 <sipa> but normally only the last 2500 blocks
433 2012-11-17 14:10:01 <Ferroh> well checkblocks=0 supposedly checks the entire chain
434 2012-11-17 14:10:06 <sipa> yes
435 2012-11-17 14:10:17 <sipa> but far from the same level of validation as is done when connecting
436 2012-11-17 14:10:20 <sipa> it checks blocks
437 2012-11-17 14:10:24 waffleking has joined
438 2012-11-17 14:10:28 <sipa> it doesn't check the consistency of the index
439 2012-11-17 14:10:41 <Ferroh> ah ok
440 2012-11-17 14:11:06 Hasimir has joined
441 2012-11-17 14:11:17 Hasimir is now known as Guest17845
442 2012-11-17 14:12:05 <Ferroh> Is there a command to force checking the index for benchmarking purposes?
443 2012-11-17 14:12:49 <sipa> 0.8 will have -reindex
444 2012-11-17 14:13:01 <sipa> which does the same as -loadblock, but using the existing block files
445 2012-11-17 14:13:19 <Ferroh> Well, I was trying to prove to this person that he is disk bound (not network bound).
446 2012-11-17 14:13:26 <Ferroh> So the idea was to do it in 0.7
447 2012-11-17 14:13:34 <Ferroh> but it's not really a big deal, I suppose.
448 2012-11-17 14:14:10 <sipa> you can move the blk000?.dat files away, delete blkindex.dat, and then start with -loadblock=/path/to/blk0001.dat -loadblock=/path/to/blk0002.dat
449 2012-11-17 14:14:46 <Ferroh> awesome, thanks sipa!
450 2012-11-17 14:14:55 <sipa> also, in 0.8 it will almost certainly be network/cpu bound, and not disk bound
451 2012-11-17 14:15:14 <Ferroh> I know.
452 2012-11-17 14:15:17 <Ferroh> http://www.reddit.com/r/Bitcoin/comments/13bsv4/this_is_frustrating_this_might_be_the_10th_time/
453 2012-11-17 14:16:55 phungus has quit (Ping timeout: 260 seconds)
454 2012-11-17 14:19:54 daybyter has joined
455 2012-11-17 14:29:03 Guest17845 is now known as Hasimir
456 2012-11-17 14:29:03 Hasimir has quit (Changing host)
457 2012-11-17 14:29:03 Hasimir has joined
458 2012-11-17 14:29:57 waffleking has quit (Quit: Ex-Chat)
459 2012-11-17 14:41:14 Hasimir- has joined
460 2012-11-17 14:43:26 Hasimir has quit (Ping timeout: 255 seconds)
461 2012-11-17 14:45:18 Hasimir- is now known as Hasimir
462 2012-11-17 14:45:19 Hasimir has quit (Changing host)
463 2012-11-17 14:45:19 Hasimir has joined
464 2012-11-17 14:46:39 one_zero has quit ()
465 2012-11-17 14:54:20 graingert has joined
466 2012-11-17 14:54:20 graingert has quit (Changing host)
467 2012-11-17 14:54:20 graingert has joined
468 2012-11-17 15:26:27 Hasimir- has joined
469 2012-11-17 15:26:28 Hasimir has quit (Read error: Connection reset by peer)
470 2012-11-17 15:27:21 Hasimir- is now known as Hasimir
471 2012-11-17 15:27:24 Hasimir has quit (Changing host)
472 2012-11-17 15:27:24 Hasimir has joined
473 2012-11-17 15:30:00 JDuke128 has joined
474 2012-11-17 15:36:00 Z0rZ0rZ0r has joined
475 2012-11-17 15:53:00 JDuke128 has quit (Quit: Computer has gone to sleep.)
476 2012-11-17 15:54:18 agricocb has quit (Quit: Leaving.)
477 2012-11-17 16:17:16 agricocb has joined
478 2012-11-17 16:17:25 BCBot has quit (Read error: Operation timed out)
479 2012-11-17 16:21:45 arij has joined
480 2012-11-17 16:22:07 optimator_ has joined
481 2012-11-17 16:22:07 arij is now known as Guest28538
482 2012-11-17 16:22:34 BCBot has joined
483 2012-11-17 16:23:14 JDuke128 has joined
484 2012-11-17 16:23:19 Hasimir- has joined
485 2012-11-17 16:24:06 Hasimir has quit (Read error: Connection reset by peer)
486 2012-11-17 16:24:06 BitDev has joined
487 2012-11-17 16:24:08 Hasimir- is now known as Hasimir
488 2012-11-17 16:24:16 Hasimir has quit (Changing host)
489 2012-11-17 16:24:16 Hasimir has joined
490 2012-11-17 16:24:35 graingert has quit (Quit: Ex-Chat-GNOME)
491 2012-11-17 16:25:55 <BitDev> hi all, can some one help me? In bitcoin protocol there are "Variable length integer" it can be 1, 3, 5 and 9 bytes length... how can i know which length it must be?
492 2012-11-17 16:27:24 eps has joined
493 2012-11-17 16:27:43 <etotheipi_> BitDev: if the int is between 0 and 252, it's 1 byte (just the number itself), if it's 253-65535, the first byte is 253 and then the next two bytes are the number
494 2012-11-17 16:27:50 <t7> prices up again today :|
495 2012-11-17 16:28:03 Guest28538 has quit (Read error: Connection reset by peer)
496 2012-11-17 16:28:06 <t7> im gonna sell
497 2012-11-17 16:28:18 Zarutian has joined
498 2012-11-17 16:29:18 arij_ has joined
499 2012-11-17 16:30:24 arij_ has quit (Changing host)
500 2012-11-17 16:30:24 arij_ has joined
501 2012-11-17 16:30:28 <etotheipi_> BitDev, the same goes for 4-byte ints (start with 254), and 8-byte ints (start with 255)
502 2012-11-17 16:30:32 arij_ is now known as arij
503 2012-11-17 16:31:02 <BitDev> ow, thnx i get it )
504 2012-11-17 16:31:31 <BitDev> strange way, but not bad )
505 2012-11-17 16:31:45 <BitDev> thnx again :)
506 2012-11-17 16:33:27 daybyter has quit (Quit: Konversation terminated!)
507 2012-11-17 16:35:41 D34TH has joined
508 2012-11-17 16:38:53 freakazoid has joined
509 2012-11-17 16:42:54 brwyatt is now known as Away!~brwyatt@brwyatt.net|brwyatt
510 2012-11-17 16:47:34 t7 has quit (Remote host closed the connection)
511 2012-11-17 16:49:02 MC-Eeepc has quit (Ping timeout: 245 seconds)
512 2012-11-17 16:49:58 freakazoid has quit (Ping timeout: 252 seconds)
513 2012-11-17 16:50:06 rdponticelli has quit (Ping timeout: 276 seconds)
514 2012-11-17 16:52:02 darkee has quit (Ping timeout: 276 seconds)
515 2012-11-17 16:53:16 optimator_ has quit (Remote host closed the connection)
516 2012-11-17 17:01:12 <Ferroh> t7: no they aren't. The price has been about the same for like 12 hours.
517 2012-11-17 17:01:21 <Ferroh> https://ferroh.com/charts/2day_small?0
518 2012-11-17 17:01:37 <Ferroh> !ticker
519 2012-11-17 17:01:37 <gribble> BTCUSD ticker | Best bid: 11.61001, Best ask: 11.64990, Bid-ask spread: 0.03989, Last trade: 11.61001, 24 hour volume: 26364.78328069, 24 hour low: 11.42000, 24 hour high: 11.80000, 24 hour vwap: 11.66077
520 2012-11-17 17:05:35 <sipa> omg up 0.38 USD!
521 2012-11-17 17:07:25 <D34TH> quick, BUY
522 2012-11-17 17:12:16 Hasimir- has joined
523 2012-11-17 17:12:38 Hasimir has quit (Read error: Connection reset by peer)
524 2012-11-17 17:13:01 Hasimir- is now known as Hasimir
525 2012-11-17 17:13:04 Hasimir has quit (Changing host)
526 2012-11-17 17:13:04 Hasimir has joined
527 2012-11-17 17:14:01 darkee has joined
528 2012-11-17 17:21:04 JDuke128 has quit (Quit: Computer has gone to sleep.)
529 2012-11-17 17:23:18 JDuke128 has joined
530 2012-11-17 17:27:32 rdponticelli has joined
531 2012-11-17 17:27:51 <JDuke128> !ticker
532 2012-11-17 17:27:51 <gribble> BTCUSD ticker | Best bid: 11.64963, Best ask: 11.64970, Bid-ask spread: 0.00007, Last trade: 11.64963, 24 hour volume: 25076.23740745, 24 hour low: 11.42000, 24 hour high: 11.80000, 24 hour vwap: 11.65622
533 2012-11-17 17:29:56 optimator_ has joined
534 2012-11-17 17:32:21 rdponticelli has quit (Ping timeout: 276 seconds)
535 2012-11-17 17:34:26 BTCTrader has joined
536 2012-11-17 17:34:50 BTCTrader is now known as Guest48025
537 2012-11-17 17:37:01 sakkaku has joined
538 2012-11-17 17:46:21 _Fireball has joined
539 2012-11-17 17:47:14 _Fireball has quit (Client Quit)
540 2012-11-17 17:47:44 _Fireball has joined
541 2012-11-17 17:55:07 molecular has quit (Ping timeout: 246 seconds)
542 2012-11-17 18:05:41 Hasimir has quit (Read error: Connection reset by peer)
543 2012-11-17 18:08:00 molecular has joined
544 2012-11-17 18:10:41 JDuke128 has quit (Quit: Computer has gone to sleep.)
545 2012-11-17 18:10:56 Hasimir has joined
546 2012-11-17 18:11:08 Hasimir is now known as Guest39606
547 2012-11-17 18:19:25 optimator_ has quit (Ping timeout: 255 seconds)
548 2012-11-17 18:21:22 optimator_ has joined
549 2012-11-17 18:29:40 tsche has quit ()
550 2012-11-17 18:30:19 BlackPrapor has quit (Read error: Connection reset by peer)
551 2012-11-17 18:31:05 optimator_ has quit (Remote host closed the connection)
552 2012-11-17 18:31:16 Dyaheon has quit (Ping timeout: 268 seconds)
553 2012-11-17 18:32:12 Dyaheon has joined
554 2012-11-17 18:39:44 rdponticelli has joined
555 2012-11-17 18:42:16 <jgarzik> ok
556 2012-11-17 18:42:26 <jgarzik> time to finish implementing script ops in picocoin
557 2012-11-17 18:42:50 <jgarzik> last night got a good start.  I think total coding time for EvalScript()-in-C will probably be under 4 hours for initial implementation.
558 2012-11-17 18:44:30 rdponticelli has quit (Ping timeout: 276 seconds)
559 2012-11-17 18:45:35 daybyter has joined
560 2012-11-17 19:01:09 rdponticelli has joined
561 2012-11-17 19:05:15 JDuke128 has joined
562 2012-11-17 19:06:42 <jgarzik> hrm
563 2012-11-17 19:07:16 <jgarzik> testnet3 chain might be missing OP_2ROT test?
564 2012-11-17 19:07:26 <jgarzik> I don't see an implementation in pynode
565 2012-11-17 19:08:52 * jgarzik throws that into gmaxwell's corner
566 2012-11-17 19:13:51 OffTopic has joined
567 2012-11-17 19:14:45 SupaDupa has quit (Read error: Connection reset by peer)
568 2012-11-17 19:14:46 jarib has quit (Ping timeout: 246 seconds)
569 2012-11-17 19:14:46 jarib has joined
570 2012-11-17 19:14:46 jarib has quit (Changing host)
571 2012-11-17 19:14:46 jarib has joined
572 2012-11-17 19:17:24 meLon has joined
573 2012-11-17 19:17:24 meLon has quit (Changing host)
574 2012-11-17 19:17:24 meLon has joined
575 2012-11-17 19:17:35 meLon has quit (Client Quit)
576 2012-11-17 19:17:37 JDuke128 has quit (Quit: Computer has gone to sleep.)
577 2012-11-17 19:23:01 rdponticelli has quit (Remote host closed the connection)
578 2012-11-17 19:24:21 eroot has joined
579 2012-11-17 19:25:06 meLon has joined
580 2012-11-17 19:25:06 meLon has quit (Changing host)
581 2012-11-17 19:25:06 meLon has joined
582 2012-11-17 19:31:20 TD has joined
583 2012-11-17 19:33:01 <TD> good evening
584 2012-11-17 19:33:44 <amiller> good afternoon
585 2012-11-17 19:48:31 <daybyter> Hi!
586 2012-11-17 19:50:28 <daybyter> Anyone using the mtgox API and has also problems with the return value being sometimes an object and sometimes an array?
587 2012-11-17 19:51:35 RazielXYZ has quit (Ping timeout: 240 seconds)
588 2012-11-17 19:55:56 TwilightSparklee has joined
589 2012-11-17 19:59:30 PiZZaMaN2K has joined
590 2012-11-17 20:01:53 rdponticelli has joined
591 2012-11-17 20:02:03 JZavala has quit (Ping timeout: 255 seconds)
592 2012-11-17 20:15:07 RazielXYZ has joined
593 2012-11-17 20:15:19 larsig has joined
594 2012-11-17 20:19:36 daybyter has quit (Quit: Konversation terminated!)
595 2012-11-17 20:35:51 TwilightSparklee has quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
596 2012-11-17 20:39:53 da2ce7 has joined
597 2012-11-17 20:47:01 Gladamas has joined
598 2012-11-17 21:01:14 Guest39606 has quit (Ping timeout: 256 seconds)
599 2012-11-17 21:03:17 _Fireball has quit (Quit:  HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...)
600 2012-11-17 21:05:03 Hasimir has joined
601 2012-11-17 21:05:13 Hasimir is now known as Guest66124
602 2012-11-17 21:24:04 BitDev has quit (Ping timeout: 245 seconds)
603 2012-11-17 21:24:12 Guest66124 has quit (Ping timeout: 260 seconds)
604 2012-11-17 21:30:30 Hasimir has joined
605 2012-11-17 21:30:41 Hasimir is now known as Guest34373
606 2012-11-17 21:32:17 brwyatt is now known as brwyatt|Away
607 2012-11-17 21:32:51 mikehard3 has quit (Ping timeout: 264 seconds)
608 2012-11-17 21:35:23 darkee has quit (Remote host closed the connection)
609 2012-11-17 21:36:08 da2ce7 has quit (Read error: Connection reset by peer)
610 2012-11-17 21:36:29 darkee has joined
611 2012-11-17 21:37:04 TwilightSparklee has joined
612 2012-11-17 21:37:27 da2ce7 has joined
613 2012-11-17 21:45:32 lggr has joined
614 2012-11-17 21:46:30 lggr has quit (Client Quit)
615 2012-11-17 21:54:38 TwilightSparklee has quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
616 2012-11-17 21:56:08 agricocb has quit (Quit: Leaving.)
617 2012-11-17 22:02:12 <jgarzik> why in the world was OP_2MUL and OP_2DIV disabled?
618 2012-11-17 22:02:55 da2ce7 has quit (Ping timeout: 240 seconds)
619 2012-11-17 22:03:41 da2ce7 has joined
620 2012-11-17 22:04:13 <edcba> to learn ppl how to mul using add ?
621 2012-11-17 22:11:02 <cjd> meh why use openssl bignum for everything, I have yet to see a place in bitcoin which really requires an MPI
622 2012-11-17 22:14:44 <cjd> https://github.com/jgarzik/picocoin/blob/master/lib/hexcode.c#L12
623 2012-11-17 22:15:02 <cjd> static const unsigned char hexdigit_val[256] = {   <-- [256] with only 16 entries?
624 2012-11-17 22:15:45 <jgarzik> cjd: RE bignum, because otherwise a bignum implementation must be manually coded
625 2012-11-17 22:16:27 <jgarzik> cjd: RE hexdigit, keeps code nice and compact.
626 2012-11-17 22:17:25 agricocb has joined
627 2012-11-17 22:17:50 <cjd> sure but why  hexdigit_val[256] if only the first 16 values are populated?
628 2012-11-17 22:19:07 da2ce7 has quit (Read error: Connection reset by peer)
629 2012-11-17 22:20:06 <cjd> oh not 16, actually 22 because of the capitals
630 2012-11-17 22:27:55 <sipa> "meh"
631 2012-11-17 22:27:55 meLon has quit (Ping timeout: 246 seconds)
632 2012-11-17 22:29:31 meLon has joined
633 2012-11-17 22:29:32 meLon has quit (Changing host)
634 2012-11-17 22:29:32 meLon has joined
635 2012-11-17 22:30:24 <cjd> base58 is one of the more annoying ones because there's really no way to calculate it without using bignums but in general I think bignum adds complexity disproportionate to it's benefits
636 2012-11-17 22:31:16 Guest34373 has quit (Ping timeout: 246 seconds)
637 2012-11-17 22:32:22 meLon has quit (Remote host closed the connection)
638 2012-11-17 22:33:33 <jgarzik> cjd: indeed... it's not the first 16 values
639 2012-11-17 22:33:50 <jgarzik> cjd: thus [256]
640 2012-11-17 22:34:11 <cjd> hrm maybe I have to read that more closely
641 2012-11-17 22:34:42 <jgarzik> cjd: picocoin uses [] array initializers, to initialize values in the middle of the array
642 2012-11-17 22:34:47 <jgarzik> cjd: the rest are zeroed by the compiler
643 2012-11-17 22:34:56 <cjd> ahh ic
644 2012-11-17 22:34:59 <cjd> that makes sense
645 2012-11-17 22:35:07 <cjd> sorry for noise
646 2012-11-17 22:35:41 <jgarzik> cjd: RE bignum...  from picocoin's perspective, it would add even more complexity to picocoin, to manually reimplement BIGNUM ;p
647 2012-11-17 22:35:51 <jgarzik> if you link with libcrypto, you get bignum anyway
648 2012-11-17 22:36:01 <jgarzik> pointless to avoid, if using sha1/sha256/ripemd160/...
649 2012-11-17 22:36:30 <jgarzik> so yeah, I'd remove BIGNUM usage, if we were not already using sha*, ripemd, and ECDSA from libcrypto
650 2012-11-17 22:36:46 <jgarzik> ECDSA requires BIGNUM internally
651 2012-11-17 22:36:52 <cjd> sort of
652 2012-11-17 22:37:10 <cjd> I was just looking at CBitcoin's base58 implementation and it's kind of sad
653 2012-11-17 22:37:32 <cjd> unless you really want to keep base58 inside of 1 portable .h file, openssl is easier
654 2012-11-17 22:37:38 <jgarzik> cjd: CBitcoin is kind of sad, in general
655 2012-11-17 22:37:49 Hasimir has joined
656 2012-11-17 22:38:00 Hasimir is now known as Guest21169
657 2012-11-17 22:38:04 <jgarzik> cjd: It's the authors "I'm learning C, networking, bitcoin and ADTs" project
658 2012-11-17 22:38:19 eroot has quit (Remote host closed the connection)
659 2012-11-17 22:38:34 <cjd> well.. don't buck "I'm learning C" projects, my project is one of them
660 2012-11-17 22:39:42 <cjd> If I can extract things that I need from it then I'm happy.. and if he does the base58 stuff manually then it is a great candidate for a Base58.h file
661 2012-11-17 22:41:46 meLon has joined
662 2012-11-17 22:41:46 meLon has quit (Changing host)
663 2012-11-17 22:41:46 meLon has joined
664 2012-11-17 22:42:44 <jgarzik> cjd: true
665 2012-11-17 22:43:05 <jgarzik> cjd: He just rubs me the wrong way, because his forum thread, literally, claims CBitcoin to be the 'future of bitcoin'
666 2012-11-17 22:43:19 <jgarzik> and he's taking money from gullible people, towards that end
667 2012-11-17 22:43:25 <cjd> yeah, /me doesn't have a forum account :)
668 2012-11-17 22:43:41 * cjd also doesn't accept donations for his project because of exactly that kind of drama
669 2012-11-17 22:58:11 TD has quit (Quit: TD)
670 2012-11-17 23:01:56 <jgarzik> w00t
671 2012-11-17 23:02:05 <jgarzik> picocoin script eval: done!
672 2012-11-17 23:02:15 <cjd> \o/
673 2012-11-17 23:02:17 <jgarzik> time to start adding script tests
674 2012-11-17 23:02:31 OffTopic is now known as SupaDupa
675 2012-11-17 23:07:02 sudog has quit (Remote host closed the connection)
676 2012-11-17 23:09:00 sudog has joined
677 2012-11-17 23:21:05 <yellowhat> if somebody is interested in a talk "bitcoin for java developers" with some interesting listener questions and slightly covering bitcoinJ: http://www.youtube.com/watch?v=aiQWRVrsW_Q
678 2012-11-17 23:32:02 toffoo has joined
679 2012-11-17 23:34:37 ThomasV has quit (Ping timeout: 246 seconds)
680 2012-11-17 23:35:26 BlackPrapor has joined
681 2012-11-17 23:46:18 sneak has quit (Quit: leaving)
682 2012-11-17 23:52:03 Arnavion has quit (Quit: Arnavion)