15:42 * edk laughs 15:42 < dav1d> C++ is (completly) different 15:42 < Nerolat> It is 15:42 < dav1d> Nerolat: lol, java is JITed 15:42 < dav1d> and the JIT tends to get pretty good 15:42 < Nerolat> At least C++ doesn't use some shitty virtual machines 15:42 < dav1d> Nerolat: lol 15:42 < dav1d> you know what a JIT is? 15:42 < Nerolat> Which just slow them down. 15:42 < Nerolat> No, not really. 15:42 < edk> then don't complain about it! 15:42 < dav1d> Nerolat: then you have no idea what you're talking about 15:42 < dx> #mcdevs: where we derail pointless discussions into even more pointless discussions that are at least a bit more interesting 15:43 < dav1d> Nerolat: JIT > native code (can be) 15:43 < Nerolat> Still, Java is not so fast. 15:43 < Nerolat> Though I like the runtime compilation on java 15:43 < dav1d> ... 15:44 -!- Morrolan [Morrolan@morrolan.ch] has quit [Quit: ZNC - http://znc.in] 15:46 < Nerolat> Well, it is a never ending war between two group of people 15:46 < edk> it would end if you went and looked at some benchmarks 15:46 < dav1d> haha 15:46 < Nerolat> If you go to any C++ programming channel, you'll see that people say that C++ is better than Java, if you go to any java channel, you'll see that they hate c++ 15:46 < Nerolat> Both have pros and both have minuses 15:46 < edk> The minuses are usually called cons, but yes 15:46 < dx> i don't think they argue about performance 15:47 < dx> that would be dumb 15:47 < edk> yeah 15:47 < edk> they're both horrible languages, imo 15:47 < dx> ^ 15:47 <+ammar2> we having a java performance "discussion"? where is pbunny? 15:47 < dav1d> ammar2: lost in his preprocessor 15:47 < dx> loling 15:48 < edk> He's probably got a deadlock condition between thread #2153910 and thread #3651035246342631 15:49 < dx> anyway 15:49 < dx> Nerolat: go nuts http://docs.python.org/2/library/socket.html 15:49 < dav1d> and there was a good lib for the packets... 15:49 < dav1d> construct? 15:50 < dx> yeah, construct is nice, but the stdlib has "struct" which is also cool for simple stuff 15:50 < dav1d> I always wanted to test it out.. but that's what you get for using D, a simple struct, done 15:50 < dav1d> dx: yeah but I would say MC protocol with "struct" is quite some work 15:52 < dx> defining the whole protocol is a lot of work with anything, although construct makes it really nice to handle dynamic-ish fields 15:52 < dx> i think mostawesomedude used it 15:53 -!- Nerolat [~nerolatlt@78-61-117-75.static.zebra.lt] has quit [] 15:53 < dx> rip 15:54 -!- Morrolan [Morrolan@morrolan.ch] has joined #mcdevs 15:55 < dx> oh hey bravo's development is still alive 15:55 < dx> is MAD here under a different nick? i think he changed it but i don't remember it 15:57 < dav1d> the bravo devs are here 15:57 < dav1d> just cant remember the name 16:05 -!- TobiX [tobias@zoidberg.org] has quit [Ping timeout: 246 seconds] 16:07 -!- Yoshi2 [~chatzilla@xdsl-78-35-192-221.netcologne.de] has joined #mcdevs 16:09 -!- jast [jast@zoidberg.org] has quit [Ping timeout: 248 seconds] 16:11 -!- TobiX [tobias@zoidberg.org] has joined #mcdevs 16:16 <+ammar2> dx: he was here under the "simpson" moniker a while ago 16:16 < dx> ammar2: oh. 16:16 < dav1d> ah yeah right 16:16 < dav1d> something with s, all I remembered xD 16:16 -!- TobiX [tobias@zoidberg.org] has quit [Ping timeout: 264 seconds] 16:17 < dx> 15:12 -!- simpson [~simpsoco@osuosl/staff/mostawesomedude] has left #mcdevs ["And this one, too. >:T"] 16:17 < dx> february 19 16:18 < dx> i don't see any relevant context for that /part 16:20 -!- SpaceManiac [~SpaceMani@r74-192-152-131.gtwncmta01.grtntx.tl.dh.suddenlink.net] has quit [Ping timeout: 252 seconds] 16:22 -!- jast [jast@zoidberg.org] has joined #mcdevs 16:22 -!- TobiX [tobias@zoidberg.org] has joined #mcdevs 16:26 -!- jast [jast@zoidberg.org] has quit [Ping timeout: 240 seconds] 16:26 -!- TobiX [tobias@zoidberg.org] has quit [Ping timeout: 248 seconds] 16:33 -!- jast [jast@zoidberg.org] has joined #mcdevs 16:36 -!- Calinou [~Calinou@unaffiliated/calinou] has joined #mcdevs 16:41 -!- jast [jast@zoidberg.org] has quit [Ping timeout: 260 seconds] 16:56 < AnotherOne> oh that sweet holy war 16:56 < AnotherOne> if you want to know my opinion, java is for kiddies 16:56 < dav1d> ^ lol 16:57 -!- Eric12 [~Eric1212@bas3-guelph22-1176205336.dsl.bell.ca] has quit [Quit: Textual IRC Client: www.textualapp.com] 16:57 < AnotherOne> total "security", which only gives you less freedom 16:57 < AnotherOne> and yes 16:57 < AnotherOne> java is slow 16:59 -!- jast [jast@zoidberg.org] has joined #mcdevs 17:01 -!- TobiX [tobias@zoidberg.org] has joined #mcdevs 17:01 -!- Eric12 [~Eric1212@70.27.120.24] has joined #mcdevs 17:09 -!- Eric12 [~Eric1212@70.27.120.24] has quit [Remote host closed the connection] 17:10 -!- Eric12 [~Eric1212@bas3-guelph22-1176205336.dsl.bell.ca] has joined #mcdevs 17:11 -!- Eric12 [~Eric1212@bas3-guelph22-1176205336.dsl.bell.ca] has quit [Remote host closed the connection] 17:12 -!- fortytwo [~thomas@who.let.this.bloody.dropbear.in] has quit [Ping timeout: 256 seconds] 17:12 -!- Eric12 [~Eric1212@bas3-guelph22-1176205336.dsl.bell.ca] has joined #mcdevs 17:14 -!- fortytwo [~thomas@who.let.this.bloody.dropbear.in] has joined #mcdevs 17:16 -!- SuinDraw [~NiaTeppel@WiseOS/Founder/NiaTeppelin] has quit [Read error: Connection reset by peer] 17:17 -!- SuinDraw [~NiaTeppel@WiseOS/Founder/NiaTeppelin] has joined #mcdevs 17:17 -!- act4 [~alex@dhcp-129-234-83-199.tr.esol.dur.ac.uk] has quit [Quit: act4] 17:24 -!- AlbireoX [~AlbireoX@99-136-83-34.lightspeed.rcsntx.sbcglobal.net] has joined #mcdevs 17:28 -!- SuinDraw [~NiaTeppel@WiseOS/Founder/NiaTeppelin] has quit [Read error: Connection reset by peer] 17:29 -!- SuinDraw [~NiaTeppel@WiseOS/Founder/NiaTeppelin] has joined #mcdevs 17:48 -!- SpaceManiac [~SpaceMani@r74-192-152-131.gtwncmta01.grtntx.tl.dh.suddenlink.net] has joined #mcdevs 17:48 -!- mode/#mcdevs [+v SpaceManiac] by ChanServ 17:48 -!- cathode [~cathode@c-76-105-184-52.hsd1.or.comcast.net] has quit [Ping timeout: 276 seconds] 18:01 -!- Yoshi2 [~chatzilla@xdsl-78-35-192-221.netcologne.de] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 18:03 <+clonejo> AnotherOne: Java doesn't have to be slow. But it likes to allocate tons of RAM 18:05 -!- cathode [~cathode@c-76-105-184-52.hsd1.or.comcast.net] has joined #mcdevs 18:14 -!- Yoshi2 [~chatzilla@xdsl-78-35-192-221.netcologne.de] has joined #mcdevs 18:21 < AnotherOne> yes, it does 18:22 -!- cathode [~cathode@c-76-105-184-52.hsd1.or.comcast.net] has quit [Read error: Connection reset by peer] 18:23 -!- Paprikac_ [~Paprikach@77.116.85.185.wireless.dyn.drei.com] has quit [Read error: Connection reset by peer] 18:23 -!- Paprikachu [~Paprikach@77.116.85.185.wireless.dyn.drei.com] has joined #mcdevs 18:25 < AnotherOne> garbage collector with no options is such a shit 18:35 -!- Yoshi2 [~chatzilla@xdsl-78-35-192-221.netcologne.de] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 18:39 < Calinou> lol 18:50 -!- reduktorius [~redu@146.90.168.31] has quit [Quit: Leaving] 19:04 -!- edlothiol [~edlothiol@ip-95-222-88-60.unitymediagroup.de] has quit [Remote host closed the connection] 19:05 -!- BizarreCake [~BizarreCa@46.121.251.157] has quit [Ping timeout: 245 seconds] 19:09 -!- SuinDraw [~NiaTeppel@WiseOS/Founder/NiaTeppelin] has quit [Read error: Connection reset by peer] 19:11 -!- edlothiol [~edlothiol@ip-95-222-88-60.unitymediagroup.de] has joined #mcdevs 19:11 -!- bildramer [~bildramer@p549FFF88.dip0.t-ipconnect.de] has joined #mcdevs 19:12 -!- umby24 is now known as umby24|offline 19:17 -!- SuinDraw [~NiaTeppel@WiseOS/Founder/NiaTeppelin] has joined #mcdevs 19:31 -!- SuinDraw [~NiaTeppel@WiseOS/Founder/NiaTeppelin] has quit [Quit: Leaving] 19:56 -!- shoghicp [~shoghicp@184.6.222.87.dynamic.jazztel.es] has quit [Quit: Leaving] 20:22 -!- Yoshi2 [~chatzilla@xdsl-78-35-192-221.netcologne.de] has joined #mcdevs 20:29 -!- Calinou [~Calinou@unaffiliated/calinou] has quit [Quit: Excess Flood] 20:32 -!- shoghicp [~shoghicp@77.225.6.14] has joined #mcdevs 20:40 -!- edlothiol [~edlothiol@ip-95-222-88-60.unitymediagroup.de] has quit [Ping timeout: 252 seconds] 20:58 -!- Cay [~OlofLarss@s83-177-171-150.cust.tele2.se] has joined #mcdevs 21:26 -!- Trojaner [~Trojaner@88.230.150.170] has quit [Ping timeout: 245 seconds] 21:57 -!- Cay [~OlofLarss@s83-177-171-150.cust.tele2.se] has quit [Read error: Connection reset by peer] 22:49 -!- Yoshi2 [~chatzilla@xdsl-78-35-192-221.netcologne.de] has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]] 22:56 < Not-003> [netherrack] thinkofdeath pushed 7 commits to master [+2/-0/±12] http://git.io/D1Bkrw 22:56 < Not-003> [netherrack] thinkofdeath 324d9ba - Minor NBT parser changes 22:56 < Not-003> [netherrack] thinkofdeath 147c8db - Reduced chunk tick rate 22:56 < Not-003> [netherrack] thinkofdeath 65c4a41 - Fixed type NBT byte arrays needing []byte instead of []int8 22:56 < Not-003> [netherrack] thinkofdeath bb6b284 - Fix empty NBT lists 22:56 < Not-003> [netherrack] thinkofdeath b8c10a4 - Fix NBT int arrays 22:56 < Not-003> [netherrack] thinkofdeath 3ef134a - NBT Fixes 22:56 < Not-003> [netherrack] thinkofdeath c52f011 - Chunk saving (Broken... kinda) 23:07 < eddyb> maybe... 23:07 < eddyb> (not) 23:10 -!- reduktorius [~redu@31.185.255.248] has joined #mcdevs 23:13 -!- eddyb [~eddy@unaffiliated/eddyb] has quit [Quit: Konversation terminated!] 23:48 < AnotherOne> anybody here? 23:49 < shoghicp> AnotherOne: yes 23:49 < AnotherOne> can i use protobuf for creating classes for minecraft messages? 23:50 < shoghicp> I don't know :( 23:52 < AnotherOne> im so bored of making those damn classes 23:56 <+pdelvo> They are not "that" much packets :D I have only 93 and I have some old ones in there too. Just keep going :D --- Day changed lun. mai 20 2013 00:08 < AnotherOne> yep 00:08 < AnotherOne> i will:) 00:09 < AnotherOne> the most boring part 00:09 < AnotherOne> once i get all of the packets i will be ALLMIGHTY 00:09 <+pdelvo> when you implemented all of them comes the not so funny part. finding mistakes you made. This can be really annoying 00:09 < AnotherOne> exceptions, exceptions everywhere:) 00:10 < AnotherOne> its better to debug man 00:10 < AnotherOne> and this packet order 00:10 < AnotherOne> different everywhere 00:11 < AnotherOne> solution that i got in my mind is too ugly 00:12 <+pdelvo> Funny errors like "string length < 0. weird string", unknown packet xx" and many more. the biggest problem: its hard to see which implementation was wrong because sometimes it can parse some following "packets", fails after some because 50 packets before it became out of sync. this is annoying 00:13 <+pdelvo> I implemented some unit tests that can find some mistakes I made by trying to write every packet into memory and reading them afterwards. but this does not help in most cases 00:13 -!- gmazoyer_ is now known as gmazoyer 00:16 < AnotherOne> because minecraft servers like to send some packet in several parts 00:16 < AnotherOne> and i dont know how to determine if i have complete hext packet in my buffer 00:17 < AnotherOne> fuckit, my "comfort zone" is left, it is now really hard 00:19 <+pdelvo> no. lets se. there is a packet x (0x01, 0x02, 0x03, 0x04). it has a length of 4 bytes, but your implemention only reads three (a mistake). then you go on. now you have a 0x04 as the next packet id and you read on as if nothing happens. you read until you have e.g. a string with a negative length. at this point you know something went wrong and the problem must be in a packet before. finding which packet caused that can be hard 00:20 <+pdelvo> For me I have written a class which allows me to read a fixed amount of bytes. when I want to get 4000 it will wait until 4000 are avialable. So I dont have to care any longer how packets are splitted on their way over the network 00:21 < AnotherOne> hm 00:21 < AnotherOne> what buffer do you use? 00:22 < AnotherOne> im just reading bytes constantly in a thread 00:22 < AnotherOne> omfg i just got http://www.wiki.vg/Protocol#Client_Settings_.280xCC.29 00:22 < AnotherOne> fukken how? 00:22 <+pdelvo> This is how I made it: https://github.com/pdelvo/Pdelvo.Minecraft/blob/master/Pdelvo.Minecraft.Network/FullyReadStream.cs#L85 00:23 < AnotherOne> looks like it is about your previous quotes:) 00:23 < AnotherOne> oh, c# 00:25 -!- Xaardas [~tach@p5B253D98.dip0.t-ipconnect.de] has quit [Quit: Tschuess und bis Bald] 00:34 -!- ravenp [46f6e2b6@gateway/web/freenode/ip.70.246.226.182] has joined #mcdevs 00:35 -!- reduktorius [~redu@31.185.255.248] has quit [Quit: Leaving] 00:36 -!- shoghicp [~shoghicp@77.225.6.14] has quit [Read error: Connection reset by peer] 00:41 < AnotherOne> hey 00:42 < AnotherOne> im getting only CCCCCCCCCCCCCCCCCCCC 00:42 < AnotherOne> what is this? 00:46 <+sadimusi> AnotherOne: are you building a server like everyone else? 00:48 < AnotherOne> a client 00:48 <+sadimusi> oh, nice 00:48 <+sadimusi> and I guess you haven't touched encryption yet 00:48 < AnotherOne> yep 00:49 <+sadimusi> well, to debug the packet parser a proxy is quite handy 00:49 < dexter0> what language? 00:49 <+sadimusi> it probably can't explain an endless stream of 0xcc though ;) 00:49 < AnotherOne> C++ 00:49 < dexter0> how far are you going to take it? GUI, 3d? 00:51 < AnotherOne> in my dreams it is a fully functional client without constant 10 fps 00:51 <+sadimusi> good luck with that :D 00:51 < dexter0> cool, do you have a github link? 00:51 < AnotherOne> nope 00:51 < AnotherOne> it is still a little non-functional 00:52 < AnotherOne> i will make github later 00:52 < AnotherOne> i think dat server banned me:) 00:55 < AnotherOne> cc meant buffer was empty 01:00 -!- feepbot [~feepbot@p579E4AEB.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 01:00 -!- feepbot [~feepbot@p579E5A7E.dip0.t-ipconnect.de] has joined #mcdevs 01:03 -!- yorick_ [~yorick@oftn/member/yorick] has joined #mcdevs 01:05 -!- yorick [~yorick@oftn/member/yorick] has quit [Disconnected by services] 01:05 -!- yorick_ is now known as yorick 01:18 -!- Stormx2 [~Stormx2@cpc18-sotn9-2-0-cust33.15-1.cable.virginmedia.com] has joined #mcdevs 01:47 -!- yorick [~yorick@oftn/member/yorick] has quit [Remote host closed the connection] 01:56 < AnotherOne> anyone knows how does client get teams messages? 01:56 < AnotherOne> there are a lot of data 02:24 -!- conehead [~conehead@unaffiliated/conehead] has quit [Ping timeout: 260 seconds] 03:25 -!- TomyLobo [~TomyLobo@91-64-168-142-dynip.superkabel.de] has quit [Quit: Standby mode...] 04:10 -!- cathode [~cathode@c-76-105-184-52.hsd1.or.comcast.net] has joined #mcdevs 04:21 -!- conehead [~conehead@unaffiliated/conehead] has joined #mcdevs 04:32 < TkTech> sadimusi: Given any thought to renaming your fork? 04:33 <+sadimusi> TkTech: not really, why? 04:33 < TkTech> sadimusi: mmcgill hasn't updated his in a year+ and searching mc3p always returns his first. 04:33 < TkTech> People here mention mc3p when debugging is needed, but a search will always return one really out of date. 04:34 <+sadimusi> ah right, you mentioned that before 04:35 <+sadimusi> I just can't think of a good name :/ 04:36 < TkTech> Careful asking for names, that's how I ended up with Burger. 04:36 <+sadimusi> :D 05:00 < dx> lol i have a pending pull request on mmcgill's mc3p 05:00 < dx> https://github.com/mmcgill/mc3p/pull/11 05:13 < TkTech> dx: 11 months ago... 05:13 < dx> yep 05:13 < TkTech> He's active on github, and on a minecraft-related repo. 05:13 < dx> sadimusi: call it mc4p :D 05:13 < TkTech> Wonder why he stopped caring. 05:14 < dx> i have no idea what's the extra "p", though, but you can think that later and name the project mc4p now 05:14 < TkTech> p for proxy? 05:14 < TkTech> Minecraft 3 Proxy? 05:14 < dx> 3p means protocol parsing proxy 05:14 < dx> 4p would be another p-word 05:14 < TkTech> Ah, derp. 05:15 < TkTech> portable protocol parsing proxy 05:16 -!- eddyb [~eddy@unaffiliated/eddyb] has joined #mcdevs 05:32 < dx> "prevailing protocol parsing proxy" :D 05:32 < dx> or prevalent 05:32 <+AndrewPH> pretty-good 05:32 -!- ravenp [46f6e2b6@gateway/web/freenode/ip.70.246.226.182] has quit [Quit: Page closed] 05:32 <+AndrewPH> or make it print things in color, and make it just pretty' 05:33 < dx> hah 05:33 < dx> or extremely literal for what it is right now: "patched" 05:33 < SinZ> MineCraft Pretty Printing Prevailing Portable Protocol Parsing Proxy, or MC7P 05:33 < dx> :D 05:35 < dx> you can also add "python" and confuse people who thought mc3p was python too 06:04 < Not-003> [fCraft] fragmer * r1973 2 files : PlayerDB autocompletion now correctly handles players with '.' in their names. 06:20 -!- kahrl [~kahrl@p5B338A92.dip0.t-ipconnect.de] has quit [Quit: leaving] 07:43 -!- Prf_Jakob [~jakob@c-2b27e155.1214-1-64736c20.cust.bredbandsbolaget.se] has quit [Ping timeout: 264 seconds] 07:44 -!- Prf_Jakob [~jakob@c-2b27e155.1214-1-64736c20.cust.bredbandsbolaget.se] has joined #mcdevs 07:44 -!- mode/#mcdevs [+v Prf_Jakob] by ChanServ 07:49 -!- shoghicp [~shoghicp@77.225.6.14] has joined #mcdevs 07:56 -!- Zachoz|Away is now known as Zachoz 08:04 -!- conehead [~conehead@unaffiliated/conehead] has quit [Quit: Computer has gone to sleep.] 08:16 < Not-003> [bravo] MostAwesomeDude pushed 2 commits to master [+0/-0/±2] http://git.io/uGo2qw 08:16 < Not-003> [bravo] Corbin Simpson 9e0178a - terrain/trees: Some PEP8. 08:16 < Not-003> [bravo] Corbin Simpson 1be6a20 - terrain/trees: Share species numbers and use names for them. Cleaner, faster, etc. 08:51 < Not-003> [bravo] MostAwesomeDude pushed 3 commits to master [+0/-0/±4] http://git.io/BRS3kQ 08:51 < Not-003> [bravo] Corbin Simpson df93e32 - terrain/trees: A big pile of PEP8 fixes. 08:51 < Not-003> [bravo] Corbin Simpson 8de4aff - utilities/maths: Add Pythagorean distance, and test. 08:51 < Not-003> [bravo] Corbin Simpson 8ef1655 - terrain/trees: Fix up a couple distance calculations. 09:11 -!- Cay [~OlofLarss@s83-177-171-150.cust.tele2.se] has joined #mcdevs 09:23 -!- dx [~dicks@unaffiliated/dxdx] has quit [Ping timeout: 264 seconds] 09:38 -!- dx_ [~dicks@181.95.103.74] has joined #mcdevs 09:40 -!- eddyb [~eddy@unaffiliated/eddyb] has quit [Disconnected by services] 09:40 -!- eddyb [~eddy@unaffiliated/eddyb] has joined #mcdevs 09:45 -!- Stormx2 [~Stormx2@cpc18-sotn9-2-0-cust33.15-1.cable.virginmedia.com] has quit [Ping timeout: 256 seconds] 09:46 -!- Yoshi2 [~chatzilla@xdsl-87-78-29-68.netcologne.de] has joined #mcdevs 10:06 < Not-003> [netherrack] thinkofdeath pushed 1 commit to master [+0/-0/±2] http://git.io/K3B38Q 10:06 < Not-003> [netherrack] thinkofdeath 8ddbfba - Chunk saving now works (16 hours of trying... damn ReadFull vs Read) 10:08 -!- umby24|offline [~umby24@cpe-66-69-92-104.satx.res.rr.com] has quit [Ping timeout: 256 seconds] 10:13 -!- umby24|offline [~umby24@cpe-66-69-92-104.satx.res.rr.com] has joined #mcdevs 10:18 < pbunny> **:38:27 dav1d | Nerolat: JIT > native code (can be) 10:18 < pbunny> unless you have a CPU capable of running JIT this is not true 10:19 < AnotherOne> java prosessor 10:19 < AnotherOne> oh noes 10:21 < pbunny> ok, so 10:21 <+md_5> ahaha 10:21 < pbunny> i'm having weird minecraft protocol issue 10:21 <+md_5> pbunny u crack me up 10:21 <+md_5> it IS compiled to native code 10:21 <+md_5> this is how the jvm and v8 work 10:22 <+md_5> they compile to x86[_64] assembly 10:22 < pbunny> md_5: in such case, dav1d's comparison made no sense 10:22 < pbunny> then it was like "native code" > "native code" 10:23 < pbunny> anyway, the issue i'm currently having is the following 10:23 < pbunny> imagine player A and player B, both entered world X 10:23 <+Fador> more like "JIT compiler" > "Other compilers" ;) 10:23 < pbunny> then, player A and player B entered world Y from world X 10:23 < pbunny> in that moment, they both can attack each other 10:24 < pbunny> then, imagine player A returned to world X, and then got back to world Y 10:24 < pbunny> after that, he can't attack player B there even though he can see him 10:24 < pbunny> client just doesn't send entity action packet 10:24 < pbunny> however, if player B then kills player A, and latter respawns, he can attack player B again 10:25 < pbunny> or, if player A disconnects from server, then connects, enters world X and then enters world Y, he can attack too 10:25 < pbunny> so, the only scenario when he can't attack is when he moves to world X and then back to world Y 10:25 < pbunny> i'm lost here 10:25 < AnotherOne> oh fock 10:25 < pbunny> in such case, if he attacks player B, client sends only animation packet 10:25 < pbunny> not entity action 10:25 < pbunny> :| 10:26 < pbunny> you can see it at anonymous.lv:1337 server 10:26 < pbunny> world X is "login world" 10:26 < pbunny> type /register or /login there to be able to move to world Y ("real world") 10:26 < pbunny> try with 2 minecraft clients, you will see the bug i mentioned above 10:26 < pbunny> no idea what's wrong there 10:27 < pbunny> ah, and type /logout to get back to login world 10:27 < AnotherOne> login world is wrong:) 10:27 < pbunny> no 10:27 < pbunny> so, basically, if player does /logout , then logs in again and moves to "real world", he is unable to attack another player 10:27 < pbunny> if he reconnects and then moves to "real world" - he can 10:27 < pbunny> if he gets killed in "real world" and respawns - he can attack too 10:27 < AnotherOne> partial data clearing? 10:28 < pbunny> AnotherOne: nope 10:28 < pbunny> i inspected the code, packets seem to be sent are equal 10:28 < pbunny> it has something to do with moving between worlds, maybe i'm doing something not right 10:29 < pbunny> p.s. don't do anything other then login, logout, entering portal and attacking 10:29 < pbunny> server kicks client when receives unimplemented packet 10:29 < AnotherOne> :D 10:29 < pbunny> ah, and /register 10:30 < pbunny> and /captcha :p 10:30 < AnotherOne> omg 10:30 < AnotherOne> why?:) 10:30 < pbunny> AnotherOne: to prevent bot registration spamming 10:30 < pbunny> you must type code you will see after /register :p 10:31 < AnotherOne> hey 10:31 < AnotherOne> what is done on disconnect? 10:32 < pbunny> AnotherOne: player_leaveworld is called 10:32 < AnotherOne> and on logout? 10:32 < pbunny> and on /logout, player_leaveworld is called too, prior to player_setworld with login world passed 10:32 < AnotherOne> threads? 10:33 < pbunny> AnotherOne: connection thread is separate from world thread 10:33 < pbunny> but it's all thread-safe 10:33 < AnotherOne> thread is closed on disconnect 10:33 < pbunny> yes 10:33 < AnotherOne> and all data is wiped 10:33 < pbunny> so? 10:33 < AnotherOne> but not on logout i think 10:33 < AnotherOne> my intiution tells me to look there 10:33 < pbunny> yes, but when he connects again - he will have the same data as after /logout 10:33 < pbunny> nothing special there 10:34 < pbunny> it's something with packets sequence i think 10:34 < pbunny> maybe somebody could join and check if packets are sent correctly 10:35 < AnotherOne> i can join, but cant check:) but let's try 10:36 < AnotherOne> whoops 10:36 < AnotherOne> incompatible protocol version 10:40 < pbunny> its 1.5.x 10:40 < pbunny> which do you have? 10:40 < pbunny> protocol 60 10:41 < AnotherOne> 152 10:41 < pbunny> oh, its for 1.5.0 / 1.5.1 iirc 10:41 < AnotherOne> what is iirc? 10:41 < pbunny> "if i remember correctly" 10:41 < AnotherOne> yep, 60 is 150/151 10:42 < AnotherOne> why no 61? 10:42 < AnotherOne> are there so large changes? 10:43 < SinZ> there are almost no protocol differences 10:43 < pbunny> hold on 10:43 < SinZ> but there are some derps that needed to be fixed and requires client and server to be on par 10:43 < pbunny> AnotherOne: updated :p 10:43 < pbunny> try joining 10:43 < pbunny> SinZ: changelog link 10:43 < pbunny> ? 10:44 < SinZ> 1.5.2 is bug fixs 10:44 < pbunny> DEBUG(16:3)|parsebuffer()@parser.c:46: unknown packet type 0xFA, dropping connection 10:44 < SinZ> you haven't implemented Plugin channels? 10:44 < pbunny> not yet 10:44 < pbunny> AnotherOne: any way to remove plugins for now? 10:45 < pbunny> nm, will create dummy handler 10:45 < pbunny> hold on 10:45 < SinZ> https://mojang.atlassian.net/secure/ReleaseNote.jspa?projectId=10400&version=11700 10:47 < AnotherOne> http://i48.fastpic.ru/big/2013/0520/1e/55d9a11c62798416a23d958702e0d31e.png 10:47 < AnotherOne> OH NOES 10:48 < pbunny> AnotherOne: try now 10:48 -!- Calinou [~Calinou@unaffiliated/calinou] has joined #mcdevs 10:48 < pbunny> :p 10:49 < pbunny> AnotherOne: you like the captcha? :p 10:49 < AnotherOne> aaaaaah my eyeballz 10:50 < AnotherOne> whoops 10:50 < pbunny> close window not implemented :p 10:51 < AnotherOne> wow 10:52 < pbunny> did you see the bug? 10:52 < AnotherOne> so now i will log out 10:52 < dav1d> pbunny: it makes sense, JIT knows better what to compile and how to compile when it's needed 10:52 < Calinou> close window not implemented :p 10:52 < Calinou> hello wayland developer 10:52 < pbunny> dav1d: gcc knows better than jit 10:52 < Calinou> we have a scott moreau here! 10:52 < pbunny> Calinou: lol, be calm 10:52 < dav1d> pbunny: LOL 10:53 < pbunny> dav1d: you underestimate the power of gcc 10:53 < dav1d> naive little mind 10:53 < dav1d> pbunny: you underestimate the power of a JIT 10:53 < pbunny> iirc gcc is able even to compile java :p 10:53 < AnotherOne> oh, brain java:) 10:53 < dav1d> luajit is faster than your mighty gcc (not in all cases) 10:53 < dav1d> and you know, lua is dynamic 10:54 * pbunny is going to die from laughing now 10:54 < dav1d> pbunny: look it up 10:54 < pbunny> dav1d: php is more dynamic than lua! so it must be faster than luajit and gcc! 10:54 < dav1d> people should stfu if they have no idea how something works 10:55 < dav1d> pbunny: is php JITed? 10:55 < pbunny> dav1d: sure it is 10:55 < dav1d> and I was never talking about lua, but luajit 10:55 < dav1d> pbunny: wat? 10:55 <+Fador> https://github.com/facebook/hiphop-php php \o/ 10:55 < dav1d> there are JIT implementations (I think facebook has one) 10:55 < dav1d> but apache? lol 10:56 < dav1d> Fador: yeah 10:56 < pbunny> Fador: i once managed to hiphop-php symfony 2 project :p 10:56 < pbunny> it failed :/ 10:56 < pbunny> attempted * 10:56 < pbunny> so now i develop websites in C 10:56 < dav1d> maybe it didnt like your ignorance 10:56 < dav1d> (lol) 10:56 < pbunny> no, it didn't like namespaces and symfony 2 magic 10:57 < dx_> oh hey look 10:57 < dx_> it's pbunny 10:57 < dx_> yay. 10:57 < dx_> 10:47 <+ammar2> we having a java performance "discussion"? where is pbunny? 10:57 < dx_> ammar2: this is your fault 10:57 < Not-003> [netherrack] thinkofdeath pushed 2 commits to master [+0/-0/±7] http://git.io/F1AZcg 10:57 < Not-003> [netherrack] thinkofdeath df36be2 - Fixed race condition in saving 10:57 < Not-003> [netherrack] thinkofdeath 46bfbf6 - Async chunk saving 10:58 -!- edlothiol [~edlothiol@ip-95-222-88-60.unitymediagroup.de] has joined #mcdevs 10:58 < AnotherOne> java is slow 10:58 < AnotherOne> or Notch is bad 10:58 < AnotherOne> but with exapmle of minecraft... 10:58 < dx_> notch is slow 10:59 < dx_> or java is notch 10:59 < AnotherOne> lol 11:00 < dx_> 05:56 < pbunny> so now i develop websites in C 11:00 < dx_> pbunny sounds like the target userbase of the G-WAN server 11:02 < pbunny> dx_: i compile websites into http server 11:02 < pbunny> except for static content 11:02 -!- dexter0 [~dexter0@c-24-23-138-192.hsd1.ca.comcast.net] has quit [Ping timeout: 256 seconds] 11:02 < dx_> you should compile static content too 11:02 < pbunny> i have my own http server code 11:02 < pbunny> dx_: why? 11:02 < dx_> it would be faster, duh 11:02 < dx_> everything is faster if you compile it 11:02 < pbunny> no. 11:04 < dav1d> dx_: :D 11:04 < dav1d> pbunny: put it in a macro? 11:04 < dav1d> (the static content) 11:05 < dx_> preload all the static content in ram, and spawn one thread to serve each file 11:05 < dav1d> yeah! 11:05 < pbunny> dav1d: why do you like macros so much? 11:06 < dx_> who doesn't like macros? 11:06 < pbunny> dx_: macros aren't efficient on modern CPUs 11:06 < pbunny> except for small stuff 11:06 < dav1d> they are the best thing I've ever seen, so easy to understand, so easy to implement, still so powerful! 11:06 < pbunny> dav1d: have you did any reading on macros vs functions? 11:06 < dav1d> "macros aren't efficent" wat? 11:07 < pbunny> dav1d: http://www.iso-9899.info/wiki/Why_not_macros 11:07 < dav1d> macros don't even exist 11:07 < pbunny> dav1d: they do 11:07 < dav1d> but they inline! 11:07 < pbunny> dav1d: please read my link 11:08 -!- dexter0 [~dexter0@c-24-23-138-192.hsd1.ca.comcast.net] has joined #mcdevs 11:08 <+md_5> guys 11:08 <+md_5> if you are new to this channel 11:09 <+md_5> please note that pbunny is a brainless yet egotistic troll 11:09 < dav1d> pbunny: lol 11:09 < dav1d> macros are special CPU instructions! They have to be faster 11:09 < dx_> md_5: yeah seriously, you gotta be trolling to think that macros aren't better than any kind of function 11:09 < pbunny> md_5: i am newer to this channel than dav1d / dx_ guys 11:10 < dav1d> if they would be just copy and pasted by the compiler that would be dumb! 11:10 < dav1d> who would ever do that? 11:10 <+md_5> history | sed "s/^[0-9 ]*//" | sed "s/ *| */\n/g" | awk '{print $1}' | sort | uniq -c | sort -rn | head -n 100 11:10 <+md_5> share output guise 11:10 < dav1d> pbunny: correct, I am here for several years now? 11:10 <+md_5> uh 11:10 <+md_5> david and dx have been here much longer than you 11:10 < dav1d> well max. 2 :P 11:11 < pbunny> md_5: why do you think your brain exists? you never saw it 11:11 <+md_5> remember 11:11 < pbunny> all you have is some perception data (visual, audial, etc) that tells you about how world works 11:11 <+md_5> guys 11:11 <+md_5> use malloc to allocate memory onto the stack 11:11 < pbunny> md_5: nonsense 11:12 <+md_5> pbunny you told me yourself 11:12 < dx_> i'd use it to allocate it onto the stack if i knew what a stack is 11:12 < pbunny> md_5: i never told that 11:12 < dav1d> md_5: http://sprunge.us/bUOd 11:12 <+md_5> brb grabboing irc logs of pbunny saying that 11:12 < dav1d> probably completly different results on my pc (which is atm 400km away) 11:12 <+md_5> freenode_#mcdevs_20130424.log:[23:00:37] Amaranth: no, stack allocation is malloc :) 11:13 < pbunny> md_5: please note the ":)" chars 11:13 < dav1d> trololo 11:13 < dx_> http://dpaste.com/1190568/ 11:13 < dav1d> OH NOES, now I know why I leak so much memory! 11:13 < dx_> i have no idea what */\n/g" is 11:13 <+md_5> dx_ part of the command I just gave you xD 11:13 < dav1d> dx_: replaces with a \n globally 11:14 < dav1d> dx_: in the whole file 11:14 < dx_> dav1d: nah i mean, it's in my history 11:14 < dx_> md_5: lol. 11:14 <+md_5> http://paste.md-5.net/cegaxobave.avrasm 11:14 <+md_5> mine is interesting 11:15 < dav1d> btw my "dav1d" command comes from wanting to login one time too often 11:15 <+md_5> dunno why so much heroku 11:15 <+md_5> 53 toilet 11:15 <+md_5> 50 timidity 11:15 <+md_5> is me dicking around 11:15 < dx_> the problem with mine is that each bash terminal i open overwrites the previous history :/ 11:15 < dav1d> zsh! 11:15 < dx_> indeed 11:15 < dav1d> (no idea if it overrides) 11:15 <+md_5> oh-my-zsh 11:15 <+md_5> m8s 11:15 < pbunny> why keep history? it's insecure 11:15 < pbunny> not mentioning sharing on irc 11:15 <+md_5> 10 ./redsn0w 11:15 <+md_5> lol 11:15 <+md_5> that went well 11:15 < dx_> loool 11:16 < dx_> how old is that? 11:16 <+md_5> dx_ not very, I was trying to jailbreak a second gen ipod touch 11:16 <+md_5> ended up having to use snowbreeze or something on windoze 11:16 <+md_5> pbunny because I am only sharing my 100 most used commands, all of which have been vetted by me to make sure there are no passwords? 11:16 <+ammar2> pbunny: look at these dweebs openly sharing their history, now you can 1337 hax0rz them 11:17 < pbunny> md_5: if police will need your logs, they won't give you time to vet them 11:17 <+md_5> 10049 lines of history 11:17 <+md_5> nice 11:17 < dx_> 503 here 11:17 < dx_> :( 11:17 <+md_5> my history is real interesting 11:17 <+md_5> 9112 toilet --irc --font letter --gay --width 800 11:17 <+md_5> all dem toilet commands 11:17 < dav1d> my history is probably 2 years old on the other pc :P 11:17 < dx_> lol 11:18 < dav1d> the time I switched to zsh 11:18 < dav1d> --gay 11:18 <+md_5> lol, first line of zsh: 11:18 <+md_5> 1 curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh 11:18 < dav1d> wtf is toilet? 11:18 < dx_> like figlet but with colors 11:18 < dav1d> md_5: yeah oh-my-zsh <3 found way to late out that it exists 11:18 < dx_> what does that script do? 11:18 <+md_5> 526 git filter-branch --index-filter 'git rm --cached --ignore-unmatch Rakefile' \n: 1347768159:0;git filter-branch --index-filter 'git rm -rf --cached --ignore-unmatch *.jar' --prune-empty --tag-name-filter ca 11:18 <+md_5> t -- --all 11:18 <+md_5> jeezz 11:18 <+md_5> my git fu is that good? 11:18 < dx_> >filter-branch 11:19 < dx_> sounds painful 11:19 <+md_5> uh 11:19 <+md_5> http://screencloud.net/v/EEHE 11:19 <+md_5> hm 11:19 <+md_5> think that was me telnetting into open socks proxies 11:19 <+md_5> to see if they worked 11:20 <+md_5> ffmpeg -i gangnam.mp4 -r 12 -s cif out%5d.gif 11:20 <+md_5> gifsicle --delay=1 --loop *.gif > ../anim.gif 11:20 <+md_5> lololol 11:20 < pbunny> :| 11:20 < pbunny> telnetting into open socks proxies is 1337 11:21 -!- Xaardas [~tach@p5B251C3F.dip0.t-ipconnect.de] has joined #mcdevs 11:23 <+md_5> ldd redsn0w LD_LIBRARY_PATH=/home/michael/Downloads/redsn0w-linux_0.8/lib 11:23 <+md_5> yeah tried very hard to make it work dx_ 11:23 * pbunny uses LD_LIBRARY_PATH every time to make freaking java work 11:24 <+md_5> well then you are doing it wrong 11:24 <+md_5> why use java anyway 11:24 <+md_5> its slow, bloated, insecure 11:24 < dx_> also >telnet >not netcat master race 11:24 <+md_5> and you dont own Minecraft, so no point in that 11:24 < pbunny> md_5: freaking java can't find libjawt.so in /opt/jre/lib/amd64 11:25 < pbunny> md_5: i don't use java for minecraft 11:25 <+md_5> I wish you would tell me how you develop a custom MC server without actually having a premium account 11:25 <+md_5> we dont like pirates in this channel 11:25 < pbunny> md_5: i have friends to test it 11:25 <+md_5> mmmm 11:25 < pbunny> i watch via skype share screen etc 11:26 <+md_5> totes m8 11:26 <+md_5> and when there is that one teeny tiny bug you need to fix 11:26 <+md_5> and al your friends are asleep 11:26 <+md_5> you must take forever to develop relying on friends to test 11:26 < pbunny> md_5: we synchronize our sleeps well enough 11:26 < pbunny> also there is redundance of friends 11:27 <+md_5> you would think testing yourself would be more productive 11:28 <+md_5> instead of compile, test, upload, bug to test, get feedback 11:28 <+md_5> repeat 11:28 < pbunny> md_5: i mostly understand the code by reading 11:28 < pbunny> actual testing is needed rarely, maybe once per day 11:28 <+md_5> that doesnt mean you can write flawless code without testing 11:28 < pbunny> md_5: mostly, i can 11:32 < SinZ> Then what you are doing isn't actual code 11:32 < pbunny> what 11:33 < pbunny> SinZ: i think there's a C compiler inside me 11:33 < pbunny> i can actually debug the code by reading it 11:33 < SinZ> lolno 11:34 <+md_5> typical mentality of a guy who has never been an actual programmer 11:34 < pbunny> md_5: i have 19 years of programming experience 11:34 < pbunny> ( since 7 y.o. ) 11:35 < pbunny> md_5: what is the difference between programmer and "actual programmer"? 11:35 <+md_5> pbunny and how much of that has been in a professional environemy 11:35 <+md_5> environment 11:35 <+md_5> can I please see your resume? 11:35 < pbunny> md_5: what do you cann "professional environment"? 11:35 < pbunny> call * 11:35 <+md_5> oh wait, you probably dont have one 11:35 < pbunny> slavery for corporations? 11:35 < dx_> yeah i was a great programmer when i was 7 years old. i made the prettiest visual basic GUIs 11:35 <+md_5> pbunny part of an actual development team that has a proper software development cycle 11:36 < pbunny> dx_: i made command-line calculator in C 11:36 <+md_5> resume or gtfo 11:36 < pbunny> md_5: no, that's what the System wants you to think 11:36 < pbunny> you don't need to work for corporations, to work according to rules or something else to be a programmer 11:36 < pbunny> you are programmer only by programming something 11:37 < pbunny> (c) cap 11:37 <+md_5> but you do for people to not knock you off as a retard who thinks he is the best programmer in the world 11:37 <+md_5> unbanned from ##c yet? 11:37 < sami3> 19 years of programming expirience? and yet you're at the level of early beginner 11:37 <+md_5> how come you claimed to know all there is about C 11:37 -!- sami3 is now known as zutto 11:37 < zutto> sense, this makes none 11:37 <+md_5> then you failed every question our friends in ##c gave you 11:37 < pbunny> md_5: did i mentioned i am the best programmer in the world? 11:37 <+md_5> zutto makes not cents, but dollars 11:38 < pbunny> md_5: do you have sense on humor? 11:38 < pbunny> of * 11:38 <+ammar2> are you showing off a command line calculator? 11:38 <+ammar2> calculators are really really basic 11:38 < pbunny> ammar2: it's buried into backups somewhere 11:39 <+md_5> http://paste.md-5.net/pihacinake.xml 11:39 <+md_5> entire pbunny logs 11:39 * md_5 browses 11:39 < pbunny> md_5: thanks, my statements are very useful without contexts 11:40 <+md_5> freenode_#mcdevs_20130205.log:[20:32:31] i know everything though 11:40 <+md_5> lol 11:40 < dx_> heh 11:40 <+md_5> freenode_#mcdevs_20130205.log:[23:54:07] i know exactly what i'm doing 11:40 < pbunny> md_5: i assumed it is obvious that i wasn't serious.. 11:40 < pbunny> well, in the latter i was 11:40 < dav1d> clonejo: http://www.youtube.com/watch?v=FKceA691Wcg D and a Game Engine 11:40 <+md_5> freenode_#mcdevs_20130221.log:[02:08:54] Stormx2: i know about algorithm design. 11:40 <+md_5> made me laugh 11:41 <+md_5> freenode_#mcdevs_20130111.log:[00:30:32] i have 15 years of programming experience 11:41 <+md_5> freenode_#mcdevs_20130205.log:[20:31:56] C 11:42 <+md_5> freenode_#mcdevs_20130205.log:[20:32:26] a year 11:42 <+md_5> freenode_#mcdevs_20130221.log:[02:07:18] lahwran: i code in C for years 11:42 <+md_5> freenode_#mcdevs_20130221.log:[02:07:48] lahwran: 3 or 4 11:42 <+md_5> freenode_#mcdevs_20130221.log:[23:30:23] jast: i'm studying this for years, and picture is pretty obvious now for me 11:42 * pbunny feels like celebrity :p 11:42 <+md_5> soo 11:42 <+md_5> first 15 years 11:42 <+ammar2> md_5 should stop pasting logs and pinging people 11:42 <+md_5> then 1 year 11:42 <+md_5> then 3 or 4 years 11:42 <+md_5> then 'years' 11:42 <+md_5> then 19 years 11:43 < pbunny> md_5: iirc the last line wasn't about C 11:43 <+md_5> you are wildly inconsistant with how long you have been able to program 11:43 <+md_5> pbunny so 1 year, 3 year, or 4 years of C 11:43 <+md_5> you told me 1 year 11:43 <+md_5> and you told lahwra_n 3 or 4 11:43 < pbunny> md_5: it's a superposition of time 11:43 < pbunny> so it can be 15, 1, 3 and 4 at the same time 11:43 <+md_5> and then you said 15 years of programming experience 11:43 < pbunny> think physics 11:43 <+md_5> and today you said 19 years 11:44 < pbunny> yes, it is true, too 11:44 < pbunny> because time does not exist 11:44 < AnotherOne> lol 11:44 <+md_5> > trying to prove lie by disproving time 11:44 <+md_5> good job mate 11:44 < zutto> md_5: well, in some universes the speed of time varies 11:44 <+md_5> zutto and in others people tell the truth 11:44 < SinZ> Sometimes I wonder why SirCmpwn is banned, but pbunny isn't 11:44 < zutto> thats true too 11:44 < pbunny> md_5: if time does not exist, 15 years is the same as 1 year 11:44 < pbunny> right? 11:44 < SinZ> no 11:44 < zutto> no 11:44 < pbunny> whatever 11:44 < dav1d> no 11:45 < AnotherOne> NaN != NaN :) 11:45 <+ammar2> SinZ: well he isn't being a dick to newcomers 11:45 <+md_5> you are like the kid in my class who tried to say that a volcano eruption wodulnt have been as catastrophic as it was if the universe and thus the volcano didnt exist 11:45 < dav1d> ammar2: well he was totally right about pbunny 11:45 < SinZ> ammar2: he is just being a pest in general, with lolzsec being in his hostname 11:46 <+ammar2> oh come on, you aren't taking hostnames seriously are you ;) 11:46 < pbunny> SinZ: i'm sorry for being a pest 11:46 < AnotherOne> as if lolzsec is bad... 11:46 <+ammar2> anyway, he isn't distrupting any on topic conversation, he's just being really stupid 11:47 < dav1d> ammar2: except the piracy part no one seems to care 11:47 < pbunny> i don't pirate game dav1d 11:47 < dav1d> ammar2: well in #minecraft they did... 11:47 < dav1d> happy ban 11:47 < pbunny> dav1d: i'm not banned there 11:47 <+md_5> freenode_#mcdevs_20130108.log:[00:15:10] is client's source code obtainable? 11:47 <+md_5> freenode_#mcdevs_20130108.log:[00:15:17] i can make a patched client for my server 11:47 < dav1d> pbunny: come on 11:47 <+md_5> lol 11:47 < dav1d> Dagmar banned you 11:47 <+md_5> you dont even own the game m8 11:47 < dav1d> we talked about you even in privmsg 11:47 < pbunny> dav1d: yeah, he believed your lies :p 11:48 < pbunny> that's how familiarship works 11:48 < dav1d> no, that was after the ban 11:48 <+md_5> will giant pigs made of pigs that get player into their month and stomach and digest there be laggy for client? 11:48 <+md_5> LOL 11:48 <+md_5> quote of the year 11:48 < dav1d> and we were laughing about your C skills 11:48 -!- umby24|offline [~umby24@cpe-66-69-92-104.satx.res.rr.com] has quit [Ping timeout: 256 seconds] 11:48 < dav1d> I had a few quotes for him 11:48 < pbunny> dav1d: only you were and a couple of imaginary friends perhaps 11:48 < dav1d> I wish I had my logs 11:49 <+md_5> ooh 11:49 <+md_5> I have some logs from ##c with pbunny 11:49 < pbunny> :) 11:49 * pbunny grabs popcorn 11:49 <+md_5> freenode_##c_20130205.log:[21:19:34] a year 11:49 <+md_5> freenode_##c_20130205.log:[21:19:34] i know everything though 11:50 <+md_5> freenode_##c_20130205.log:[22:10:41] Zhivago: if i use only open source software, i can inspect it and make myself sure it's free of government backdoors 11:50 <+md_5> lol 11:50 <+md_5> lets read entire gnu/linux + all system utils 11:50 < pbunny> md_5: true 11:50 < pbunny> md_5: i read them 11:50 <+md_5> yup 11:50 <+md_5> all 100 million lines of code 11:50 < Zachoz> that was a funny joke 11:50 <+md_5> probably more 11:50 < pbunny> sure, no problem 11:50 < pbunny> i read line 10 lines / s 11:50 -!- umby24|offline [~umby24@cpe-66-69-92-104.satx.res.rr.com] has joined #mcdevs 11:51 < SinZ> be sure to inspect the compilers aswell 11:51 <+md_5> gnu/linux core is 54 million lines of code 11:51 <+md_5> thats just the kernel + coreutils 11:51 < pbunny> md_5: took me ~2 months 11:51 <+md_5> uh huh 11:51 < pbunny> then i read only changelogs 11:51 <+md_5> five million four hundred thousand seconds 11:52 <+md_5> or 1500 hours 11:52 <+md_5> or 62 days 11:52 < pbunny> yes 11:52 <+md_5> of non stop code reading 11:52 <+md_5> yup 11:52 <+md_5> totally 11:52 < pbunny> well maybe 3 months 11:52 <+md_5> what about your irc client and whatever else you have 11:52 < dav1d> lol 11:52 <+md_5> I guarantee you have more than just busybox and the kernel installed 11:52 < dav1d> that is just stuipid 11:53 <+md_5> even if you read 8 hours a day 11:53 <+md_5> thats 6 months 11:53 <+md_5> you really expect me to believe that for 8 hours a day for half a year all you did was read code.... 11:53 <+md_5> .you really are retarded 11:53 < pbunny> md_5: more like 20 h/day 11:53 < pbunny> md_5: well i had to do it 11:53 <+md_5> yeah 11:53 < pbunny> otherwise i couldn't be sure in my safety 11:54 < pbunny> the only other variant was coding own OS 11:54 <+md_5> so 4 hours a day to sleep, eat, drink and poop 11:54 < dav1d> lol 11:54 <+md_5> sounds like a life you have got there 11:54 < dav1d> "otherwise i couldn't be sure in my safety" 11:54 < dav1d> what if the kernel wasn't "secure"? 11:54 < pbunny> md_5: i used computer in toilet so 'pool' didn't take time 11:54 < dav1d> would you use windows? 11:54 < dav1d> lol 11:54 <+md_5> godammit where is TkTech 11:54 < pbunny> i ate there too as there was refridgerator 11:54 <+md_5> now I want ban 11:54 <+md_5> conciously trolling 11:55 < pbunny> md_5: fun isn't forbidded here 11:55 < SinZ> trolling != fun 11:55 <+md_5> freenode_##c_20130205.log:[23:55:58] oop is unneeded garbage that simplifies the task for wannabees that can't model algorithms well 11:55 <+md_5> LOL 11:55 < pbunny> i think you don't know what trolling is 11:55 <+md_5> oop is garbage 11:55 <+md_5> please 11:55 < pbunny> sure it is 11:55 <+md_5> are you high 11:55 <+md_5> lets go back to lisp shall we 11:55 < pbunny> no, C is good enough 11:55 < dav1d> funny, you use pointers with functions which take the pointer as first argument 11:56 < pbunny> lisp is cute though 11:56 < dav1d> mh 11:56 < dav1d> sounds like oop, now throw in a few function pointers and you have a vtable 11:56 <+md_5> freenode_##c_20130207.log:[22:41:15] hi, how many threads (pthreads) can i use until they will hog performance too much? 11:56 <+md_5> freenode_##c_20130207.log:[22:41:55] thx, 129 seems good enough 11:56 <+md_5> > processor cannot run 1/4 of those threads 11:57 < pbunny> md_5: good one 11:57 <+md_5> 129 threads is not better performance than 16 11:57 <+md_5> freenode_##c_20130226.log:[00:27:45] hi, how CPU-intensive is abs() function? 11:57 < dav1d> woot 11:58 < pbunny> md_5: ps -eLf | wc -l 11:58 <+ammar2> pbunny: have you also read the code for your BIOS and any other hardware? 11:58 < dav1d> you could inline abs with macros? 11:58 < pbunny> that's the number of threads your system is currently running 11:58 <+ammar2> maybe the government hid backdoors there 11:59 <+md_5> abs is approx 6 instructions long 11:59 < pbunny> md_5: yeah, but caching abs result is only 1 instruction long 11:59 <+md_5> lolwat 11:59 < pbunny> md_5: the question was to determine whether it's worth to cache intermediate abs results inside physics loop 12:00 <+md_5> hm 12:00 < pbunny> i.e. mc_double fz=fabs(entity->zpos) or something 12:00 <+md_5> got it down to 3 instructions 12:00 < zutto> pbunny: going back to the old topic of you only using open sauce software, why are you using winblobs if you dont trust closed sauce? 12:01 < dav1d> holy fuck 12:01 <+md_5> uttin something onto the stack and taking it off again us 2 instructions 12:01 < dav1d> y u no use asm? 12:01 <+md_5> so best case you save 1 instruction, and its probably quicker to do the 3 cheap vs 2 costly, since the latter involves memory access 12:01 < pbunny> zutto: winblobs? 12:01 < zutto> microsoft winblobs 12:01 <+md_5> and the cpu can run billions of instructions a second anyway 12:01 -!- Stormx2 [~Stormx2@cpc18-sotn9-2-0-cust33.15-1.cable.virginmedia.com] has joined #mcdevs 12:01 < pbunny> zutto: aah 12:01 <+ammar2> pbunny: you still haven't responded, have you read the proprietary code in your BIOS? 12:01 < zutto> the stolen code of OS/2 12:01 < zutto> you know, that thing 12:01 < pbunny> i use it only inside vm without network support 12:02 < zutto> without network support? 12:02 < pbunny> no insecureness there 12:02 <+md_5> sigh 12:02 < pbunny> zutto: sure 12:02 <+md_5> you are so clearly bullshitting right now 12:02 < dav1d> ammar2: of course, he reads opcodezzz 12:02 < zutto> yet i can access your server that is running winblobs from my interwebs 12:02 < pbunny> md_5: why? 12:02 < pbunny> zutto: nice one 12:03 < zutto> pbunny: curl -D - trolls.lv 12:04 < pbunny> aah, Server: WEBSERV.EXE 1.0.1 (MSDOS/6.22) 12:04 < zutto> thats your server, right? 12:04 < pbunny> seems legit 12:04 < pbunny> zutto: yeah, but it's MSDOS server 12:04 < pbunny> not winblobs 12:04 <+md_5> uh yeah 12:04 <+md_5> really hard to set an http header 12:04 < zutto> md_5: as if he even knows what headers are 12:05 < zutto> pbunny: yes, msdos is the result of os/2 that got turned into winblobs 12:05 < pbunny> zutto: i just ran WEBSERV.EXE and website created 12:05 <+md_5> someone petition TkTech , I feel I need promotion to op 12:05 < pbunny> md_5: no. you are too dangerous 12:05 * md_5 makes ban pbunny wiki page 12:05 < pbunny> i vote against 12:05 < SinZ> unfortunally you have no friends 12:05 <+md_5> pbunny that would be why I --own-- channels twice the size of this 12:05 < zutto> this channel could use more moderators, and md_5 seems like a proper guy for the job 12:06 <+md_5> #md_5 on another network has more users than this channel 12:06 < pbunny> md_5: good. i can set up irc server on localhost and flood it with bots too 12:06 <+md_5> http://screencloud.net/v/sY8 12:06 <+md_5> fine looking bots 12:07 < pbunny> md_5: btw, there are better name generators online 12:07 <+md_5> this kid 12:07 < pbunny> i.e. you can use _ instead of | , too 12:08 < pbunny> md_5: when will the wiki page be up? 12:08 <+md_5> http://www.wiki.vg/User:Md_5/pbunny 12:09 <+md_5> pls sign guys 12:09 * md_5 spans refresh and waits 12:09 < dav1d> md_5: you have BDoubleO in you channel :O 12:10 <+md_5> dav1d yeah 12:10 < pbunny> how do i "sign my name with ~" ? 12:10 < pbunny> i'm not very familiar with wiki 12:10 <+md_5> pbunny wiki 101: ~~~~ turns into your sig 12:10 <+ammar2> edit page, add "~~~~" under the last line 12:10 < pbunny> aah 12:10 < dav1d> md_5: isn't really him? o.O 12:10 <+md_5> dav1d it is 12:10 < SinZ> aigned 12:11 < SinZ> signed* 12:11 < dav1d> md_5: lol, why is he in your channel? 12:11 <+md_5> dav1d top bloke 12:11 < dav1d> spigot? 12:11 < SinZ> though it refused to show my name for some reason 12:11 <+md_5> lots of people are in my channel 12:11 <+md_5> he just hangs out 12:11 <+md_5> think he used bungee at one stae 12:11 <+md_5> no name 12:11 < dav1d> cool story 12:11 <+md_5> think you need to make a user page SinZ 12:14 < SinZ> re-signed for accuracy 12:14 <+md_5> lets move wiki to git: https://github.com/md-5/TestWiki/blob/master/README.mediawiki 12:14 <+md_5> worked pretty well 12:15 < pbunny> lol, why? 12:16 < SinZ> pretty 12:16 <+ammar2> pbunny: don't worry m8, I've vouched to give you op + unrestricted access 12:17 <+md_5> shows just how bad the wiki markup is though, people have been careless over the yeras 12:17 <+md_5> we should really revive mcdevs 12:17 < SinZ> its just that mcdevs isn't needed as much anymore 12:17 < SinZ> because modding is so big 12:17 < SinZ> but in classic, noone liked mods, custom implementations were the way to go 12:17 < AnotherOne> isn't it alive?:) 12:17 <+md_5> Would still be nice to get proper documentation 12:18 <+md_5> a lot of the info and stuff is dubious and has gotten messy over the years 12:19 <+md_5> also everyone still using the kev009 url 12:19 < AnotherOne> yep 12:19 <+md_5> that really should be 302 moved permanently 12:19 < pbunny> ammar2: oh thats nice 12:20 < AnotherOne> so what is the problem with it? 12:21 <+pdelvo> md_5 I signed your page 12:21 <+md_5> no you didnt lol 12:22 <+pdelvo> Im pretty sure I did 12:22 <+ammar2> he did 12:22 <+md_5> I see ammar, sinz, pdelvo 12:23 <+md_5> even force refreshed 12:23 <+pdelvo> I am pdelvo 12:23 <+md_5> oh 12:23 < pbunny> lol 12:23 <+ammar2> ... 12:23 <+md_5> I read you as pbunny 12:23 <+md_5> really sorry about that 12:23 <+pdelvo> :D 12:23 <+md_5> wouldnt want to confuse you with him.... 12:23 < AnotherOne> why ban him? 12:23 < AnotherOne> he is ok i think 12:23 < pbunny> AnotherOne: md5 is fun-allergic 12:24 < pbunny> md_5 it is 12:24 <+md_5> ok i think > biggest troll this channel has ever seen 12:24 < pbunny> i don't agree 12:24 <+ammar2> I don't see the point of removing him unless he starts to distrupt on topic conversation 12:25 <+ammar2> not like this channel is used for much anyway 12:25 <+md_5> ammar2 thats the problem, it needs to be used for more 12:25 <+pdelvo> You can sign against it, I think 12:25 <+ammar2> md_5: well until it is, pbunny is our main form of activity be it for good or bad 12:26 <+pdelvo> then we should let SirCmpwn come back 12:26 < pbunny> pdelvo: btw, i also fix wiki.vg/Protocol page and generally help people here 12:26 <+ammar2> pdelvo: SirCmpwn was a dick to people, pbunny doesn't do that 12:27 < SinZ> Some day, we should reinvite SirCmpwn here just to yell at pbunny for an hour or so 12:28 <+md_5> / The Minecraft and Minecraft Realms teams 12:28 <+md_5> stupid how they keep signing off as both 12:28 < SinZ> 1.5.2 was mostly backend Minecraft Realms stuff 12:28 < SinZ> just look at b.wiki.vg 12:30 <+pdelvo> Nice to see that is it updated again :) 12:35 <+pdelvo> I like the idea having the wiki on github, but then it would not be editable by everyone and someone have to pull changes in manually 12:35 < pbunny> pdelvo: i don't see any point in github because wiki itself has contribution system built in 12:36 < pbunny> i doubt somebody has need to push changes via git instead of using web form 12:36 <+pdelvo> when we have it on github we dont need a pre release page. we can have a pre release branch 12:37 <+pdelvo> and it would be much less work to merge it in when a new version comes out 12:37 -!- edlothiol [~edlothiol@ip-95-222-88-60.unitymediagroup.de] has quit [Ping timeout: 252 seconds] 12:37 <+pdelvo> putting the changes from the pre release page in the main page can take some time 12:37 <+pdelvo> and we can put tags on it for every version 12:39 <+pdelvo> and you can edit it on github without cloning it to your computer, too 12:39 < pbunny> well "not be editable by everyone" is a good point 12:40 < pbunny> i thought of keeping wiki while having github, so that updates on wiki will be automatically pushed to github and counterwise 12:41 <+pdelvo> but when we create a organisation with, e.g. everyone wth voice in here. this would be enough people for accepting pull requests. 12:41 < AnotherOne> how to counter cheaters? 12:42 < pbunny> pdelvo: what if md_5 won't accept my request just because i'm pbunny ? 12:42 < pbunny> this won't be productive 12:42 -!- Trojaner [~Trojaner@88.230.150.170] has joined #mcdevs 12:42 < pbunny> AnotherOne: with server-side checking 12:42 <+pdelvo> I dont think that he would do this if you made something good. and someone else could pull it in 12:43 < AnotherOne> i play on a pirated server, and admins absolutely dont care about the fact every second retard is using nodus 12:43 < AnotherOne> i can kill two of them alone in tunnels, but in open space... 12:43 < AnotherOne> no chance 12:44 < AnotherOne> i can just find another server, but i want to pwn betches 12:44 < AnotherOne> mb there are some cheats against cheaters? 12:44 < pbunny> aah, it's hard to counter cheaters if you're not admin or server dev 12:45 < AnotherOne> i want to make bruteforce with my protocol lib, crack admin and make a fukken disaster 12:45 < dav1d> lol 12:45 < dav1d> how old are you? 12:45 < AnotherOne> 20, lol 12:45 < AnotherOne> why are you asking? 12:46 < dav1d> I would have expected such a reaction from a max. 12 year old 12:46 < pbunny> AnotherOne: bruteforce usually leads to IP ban, not admin cracking 12:46 < AnotherOne> lol:) 12:46 < AnotherOne> as i said, admins dont do anything 12:47 < pbunny> AnotherOne: then they are part of conspiracy 12:47 < AnotherOne> dav1d: ok:) 12:49 < AnotherOne> well, i'll go to realize my evil plan :D 12:51 -!- TomyLobo [~TomyLobo@91-64-168-142-dynip.superkabel.de] has joined #mcdevs 12:54 < AnotherOne> i have a question. http://www.wiki.vg/Protocol#Player_List_Item_.280xC9.29 is this really sent 1 packet per tick? and if it is, why? 12:55 < Calinou> because mojang 12:55 < AnotherOne> i've tried to find a rational explaination:) 12:55 < AnotherOne> mb because of potentiol packet loss? 12:55 < AnotherOne> potential* 12:56 < AnotherOne> or only because mojang? 12:56 < dav1d> tcp doesnt lose packets 12:59 < AnotherOne> i've heard vanilla server drops some packets because of having no time to process them 12:59 < AnotherOne> what about client? 13:00 < AnotherOne> oh noes 13:00 < AnotherOne> here comes architecture change... again 13:00 < AnotherOne> fuk classes 13:00 < AnotherOne> fuk my noobness 13:08 < dx_> wot 13:09 < dx_> player list item 0xC9 was introduced in beta 1.8 or something like that right? 13:10 < SinZ> sounds about right 13:10 < dx_> bukkit nuked it right away, but dinnerbro didn't do anything about it in the vanilla server? 13:10 < dx_> so weird 13:10 < pbunny> **:54:54 AnotherOne | i've heard vanilla server drops some packets because of having no time to process them 13:10 < pbunny> if server 'drops' packet, he won't be able to process following packets 13:11 < pbunny> because he doesn't know how many bytes to skip 13:11 < pbunny> unless by 'dropping' you meant read packet to the end, then ignoring it 13:12 < pbunny> AnotherOne: as of 0xC9, my server currently doesn't send it at all and clients have no problems except they doesn't see players in list 13:12 < pbunny> so you can send it when you want, i.e. on player login or when other players login/logout 13:12 <+pdelvo> I really like that github idea. What about making an organisation. putting everyone who has voice in here in it to answer pull requests. You can edit pages on github weithout cloning them, and I think everyone(?) here have an github account 13:16 <+clonejo> dav1d: I was looking forward to that talk 13:17 < dav1d> clonejo: he covers mostly C++ -> D 13:17 < dav1d> and what the benefits are 13:17 <+clonejo> nice 13:17 < dav1d> unfortunatly his work isn't opensource 13:17 <+clonejo> :-/ 13:18 < dav1d> but he wants to do the work again (maybe even better) and opensource it 13:18 < dav1d> at least he said it 13:18 < dav1d> also he made std.simd, which isn't complete, unfortunatly 13:18 < dav1d> and I think he stopped working on it a while ago, no idea if it is dead 13:19 -!- Calinou [~Calinou@unaffiliated/calinou] has quit [Remote host closed the connection] 13:19 < dav1d> clonejo: also dynamic reloading on file changes in realtime while the engine is running 13:19 < dav1d> this is awesome, was also thinking of doing something like this 13:20 < dav1d> but not only the dlls are swapped but sources are compiled when the change in debug/release mode then automatically swapped and you can swap to a debug build when you need to debug something 13:20 < dav1d> amazing 13:21 <+clonejo> awesome :3 13:26 -!- kahrl [~kahrl@p5B338A92.dip0.t-ipconnect.de] has joined #mcdevs 13:28 < AnotherOne> d sux 13:28 < AnotherOne> 2 standard libraries wtf 13:28 <+clonejo> AnotherOne: Isn't Tango D1 only? 13:28 < AnotherOne> i dunno