Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
2,195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.95 KB | None | 0 0
  1. [20:09] * Reika_ (~Reika@abrarsyed.me) has joined #TinkersConstruct
  2. [20:09] <+Toops> when was...
  3. [20:10] <@mDiyo> I spy a rotarycraft author.
  4. [20:10] <Reika_> You are correct
  5. 01[20:10] <iamamitten> does iguana tweaks disable summoning the wither?
  6. [20:10] <+Zerokyuuni> no
  7. [20:10] <+Zerokyuuni> peaceful mode does
  8. 01[20:10] <iamamitten> well something is
  9. [20:10] <Reika_> What was with those two commits to DragonAPI?
  10. [20:10] <@mDiyo> Now, would anyone care to explain what was going through their mind when the spamConsole method and detecting reika's computer, err, class were found?
  11. 03[20:10] * AbrarSyed (~AbrarSyed@abrarsyed.me) has joined #TinkersConstruct
  12. 01[20:10] <iamamitten> oh, right
  13. 01[20:10] <iamamitten> I went peaceful to fix my smeltery
  14. 01[20:10] <iamamitten> thanks
  15. [20:10] <Reika_> Is this about what Pokefenn said?
  16. [20:10] <@mDiyo> The first one looked like nonsense to me.
  17. [20:10] <Reika_> Basically
  18. [20:10] <@mDiyo> The second one looked like you were enabling development features on every server you joined.
  19. [20:10] <Reika_> No
  20. [20:11] <Reika_> spamConsole is used for printing 16 lines to the console
  21. [20:11] <Reika_> useful for debugging
  22. [20:11] <Reika_> when the console is getting spammed
  23. [20:11] <Reika_> by exceptions
  24. [20:11] <Reika_> or something
  25. [20:11] <Reika_> more lines > more visibility
  26. [20:11] <+Drullkus> Oh my.
  27. 01[20:11] <iamamitten> TWO inactive division sigils?
  28. [20:11] <Reika_> never used in release code for obvious reasons
  29. [20:11] <Reika_> as for isReikasComputer()
  30. [20:11] <+Drullkus> Right when I was about to post a MCF thread.
  31. [20:12] <Reika_> that is so only I can get access to not-yet-finished stuff
  32. [20:12] <Reika_> or debug stuff
  33. [20:12] <+Drullkus> Can I get my pickfork.
  34. [20:12] <Reika_> for example
  35. [20:12] <Reika_> on my computer
  36. [20:12] <Reika_> the creative inv has a lot more types of magnetized shaft core
  37. [20:12] <Reika_> again for debuggin
  38. [20:12] <@mDiyo> The first one I could see, but only if you were sloppy with something to begin with.
  39. [20:13] <+Drullkus> I'm not sure how's that fair on a server.
  40. [20:13] <@mDiyo> The second one is in poor taste. It could be named developer computer or some other innocous name.
  41. 01[20:13] <iamamitten> although this hole I dug to summon the wither seemed to suffocate it very effectively so I not only took no damage, but dealt it damage with impunity
  42. [20:13] <Reika_> How is that any different?
  43. [20:13] <Reika_> Why does the name matter
  44. [20:13] <Reika_> especially given Reika == developer?
  45. [20:13] <@mDiyo> And having the code in there at all lets other mod developers abuse it.
  46. [20:13] <Reika_> ...?
  47. [20:14] <@mDiyo> What would happen if I were to write a little snippet of code that loaded with DragonAPI that gave everyone the development features?
  48. [20:14] <Reika_> Not exactly possible
  49. [20:14] <Reika_> plus
  50. [20:14] <Reika_> how would that me my fault
  51. [20:14] <Reika_> >>be
  52. [20:14] <+Drullkus> Explain how that would not be possible?
  53. 06[20:14] * +Toops rubs wet noodles all over iamamitten
  54. [20:14] <@mDiyo> Let's say I'm an arse and ASM out your default constructor.
  55. 03[20:14] * Toops is now known as ToopzZzZz
  56. [20:14] <@pillbox> I'm with Reika; there's no harm in those functions.
  57. [20:14] <Reika_> Then it is YOUR problem
  58. [20:14] <@mDiyo> Let's say I'm more of an arse and I want to cause you problems. :P
  59. [20:14] <Reika_> you asm my code
  60. [20:14] <Reika_> only an idiot would think me responsible
  61. [20:15] <@mDiyo> Okay, fine.
  62. 06[20:15] * +Drullkus eats popcorn and cheers for mdiyo
  63. [20:15] <Reika_> That is like saying "I crashed your car, and its yours, so you are at fault"
  64. [20:15] <@mDiyo> Your entire codebase is offputting tbh
  65. [20:15] <Reika_> In what way?
  66. [20:15] <@mDiyo> Every file has the "all rights reserved" blurb.
  67. [20:15] <Reika_> That is called copyright
  68. [20:15] <@mDiyo> Even in files that cannot be copyrighted, they are there.
  69. [20:15] <Reika_> I am allowed to do that
  70. [20:15] <Reika_> Anyone can copyright their own code
  71. [20:16] <@mDiyo> API code cannot be copyrighted in any country that I know of.
  72. [20:16] <Reika_> It is not API code
  73. 03[20:16] * TheDarkKnight (~TDK@5-14-22-4.residential.rdsnet.ro) has joined #TinkersConstruct
  74. [20:16] <+Drullkus> Why is it named DragonAPI.
  75. [20:16] <Reika_> DragonAPI is just the name
  76. [20:16] <@mDiyo> It's named DragonAPI
  77. [20:16] <Reika_> I liked the name
  78. [20:16] <+Drullkus> But then it labels it 'API'.
  79. [20:16] <Reika_> No, it does not
  80. 06[20:16] * AbrarSyed mentions that a better name would be DragonCore
  81. [20:16] <@pillbox> ^
  82. [20:16] <Reika_> because anyone who understands code would be able to tell
  83. [20:16] <+Zerokyuuni> it's named API, called an API, is used as an API
  84. [20:16] <Reika_> and at this point
  85. [20:16] <Reika_> And now
  86. [20:17] <Reika_> >>no
  87. 01[20:17] <iamamitten> it's not inherently, but implied to be, an api
  88. [20:17] <Reika_> it is not used as an api
  89. [20:17] <Reika_> An API is like the mods' API
  90. [20:17] <+Zerokyuuni> if it walks like a duck, quacks like a duck, looks like a duck, it's not a monkey
  91. [20:17] <@mDiyo> It's a library.
  92. [20:17] <+Drullkus> What is an API? How is it not used like an API?
  93. [20:17] <Reika_> DragonAPI is a library
  94. [20:17] <Reika_> like CCC
  95. [20:17] <Reika_> Nothing tied to any mod
  96. [20:17] <+Drullkus> And what does that mean?
  97. [20:17] <Reika_> ?
  98. [20:18] <Reika_> What does what mean?
  99. [20:18] <+Drullkus> 'Nothing tied to any mod'
  100. [20:18] <Reika_> DragonAPI stands on its own
  101. [20:18] <@mDiyo> I am going to note this: https://github.com/ReikaKalseki/DragonAPI/tree/master/Interfaces
  102. [20:18] <Reika_> it provides all sorts of helper classes
  103. [20:18] <Reika_> that ther mods use
  104. [20:18] <Reika_> but it is not part of those mods
  105. 03[20:18] * Sunstrike is now known as Sunstrike|Off
  106. [20:18] <Reika_> again
  107. [20:18] <Reika_> it is like CCC
  108. [20:18] <@mDiyo> Every file in that folder has the blurb as well.
  109. [20:19] <Reika_> Interfaces are not part of an API either
  110. [20:19] <@alexbegt> Diyo: sorry for the pm
  111. [20:19] <Reika_> those are not designed for interfacing with mods
  112. [20:19] <Reika_> or adding to mods
  113. [20:19] <Reika_> or reading from mods
  114. [20:19] <Reika_> they are mostly for flags
  115. [20:19] <Reika_> instanceof
  116. [20:19] <+Drullkus> I have a few crimes to throw at Reika_ once I finish seeing what mDiyo has to say
  117. [20:19] <@mDiyo> Go for it.
  118. 02[20:19] * TheDarkKnight (~TDK@5-14-22-4.residential.rdsnet.ro) Quit (Ping timeout: 186 seconds)
  119. [20:19] <+Zerokyuuni> http://en.wikipedia.org/wiki/Application_programming_interface
  120. [20:19] <+Drullkus> Reika_: What does this do? https://github.com/ReikaKalseki/RotaryCraft/blob/master/Items/Tools/Charged/ItemGravelGun.java#L126
  121. [20:19] <+Zerokyuuni> yay definitions
  122. [20:19] <Reika_> Exactly what it looks like
  123. [20:20] <Reika_> I added that after the first time I logged into a server "to help test your mod"
  124. 02[20:20] * Lathanael|Away (~Lathanael@p54971C24.dip0.t-ipconnect.de) Quit (Ping timeout: 380 seconds)
  125. 03[20:20] * Dark_Hunter is now known as Dark_Hunter|Off
  126. [20:20] <Reika_> Someone tried to kill me with my own tool
  127. [20:20] <Reika_> If you consider that a major exploit
  128. [20:20] <Reika_> especially considering I only play ssp
  129. [20:20] <Reika_> Then your senses are skewed
  130. [20:20] <@mDiyo> You only play SSP and you log onto servers where people try to kill you... yeah.
  131. [20:21] <@mDiyo> Somehow I don't think both of those are true.
  132. [20:21] <Reika_> I logged in under the understanding I would be debugging
  133. [20:21] <Reika_> It was a ruse
  134. [20:21] <Reika_> Also"
  135. [20:21] <+Drullkus> "I added that after the first time I logged into a server "to help test your mod"" That seems a bit fishy.
  136. [20:21] <Reika_> "Crime"
  137. [20:21] <@alexbegt> So they try to kill you once, and your like fuck this making it so none can kill me with my tool
  138. [20:21] <+Zerokyuuni> if you only play SSP, then all the SMP code just for yourself isn't necessary >_>
  139. [20:21] <+Drullkus> Yes.
  140. [20:21] <+Drullkus> What zero said.
  141. [20:21] <Reika_> What if I log into another server for debugging?
  142. [20:21] <@mDiyo> Why didn't you disable the tool for that guy instead?
  143. [20:22] <Reika_> Why does it even matter?
  144. [20:22] <@alexbegt> You let them kill you
  145. [20:22] <@alexbegt> Don't be a pussy
  146. [20:22] <+Drullkus> Yeah.
  147. [20:22] <Reika_> @mDiyo
  148. [20:22] <@alexbegt> OH U CAN'T KILL ME HAHAHA
  149. [20:22] <Reika_> What?
  150. [20:22] <Reika_> Are you insane?
  151. [20:22] <+Drullkus> It's part of Minecraft.
  152. [20:22] <@mDiyo> ...
  153. [20:22] <Reika_> Disable the tool for that guy
  154. [20:22] <Reika_> You are telling me to make the code target people
  155. [20:22] <@mDiyo> Yes, a blacklist for the player that killed you.
  156. [20:22] <Reika_> explicitly?
  157. 03[20:22] * Lathanael|Away (~Lathanael@p54971EB5.dip0.t-ipconnect.de) has joined #TinkersConstruct
  158. [20:22] <Reika_> !
  159. [20:22] <Reika_> after you complain about whitelisting me
  160. [20:22] <+Zerokyuuni> you're doing something just as bad
  161. [20:22] <Reika_> am I the only one who can see the hypocrisy?
  162. [20:22] <@mDiyo> Right now you're blacklisting yourself.
  163. [20:22] <Zerotheliger> ok guys with all of this aside there was an original reason for the meeting.
  164. [20:22] <@pillbox> Blacklist would be worse than the implementation that is present.
  165. [20:22] <@mDiyo> This is the reason liger.
  166. [20:23] <Reika_> I agree with pillbox
  167. [20:23] <@mDiyo> There are easter-eggs of Reika-specific code all over the place.
  168. [20:23] <@alexbegt> progwml6, progwml6|L?
  169. [20:23] <@pillbox> If it's true that he only plays SSP, then that code has no real impact
  170. 03[20:23] * finkmac (~finkmac@68-68-12-88.applecreek.pathcom.com) has joined #TinkersConstruct
  171. [20:23] <Reika_> So why the freakouts?
  172. [20:23] <Zerotheliger> ok mdiyo why is this an issue though
  173. [20:24] <@mDiyo> If I did the same with my mod, people would hang me for it.
  174. [20:24] <Zerotheliger> besides having invulnerability to his own weapon be that bad or good why is it a problem
  175. [20:24] <Reika_> And they would be wrong to do so
  176. [20:24] <@mDiyo> The problem is that the mod treats Reika differently than it treats everyone else.
  177. [20:24] <Reika_> hardly
  178. [20:24] <Reika_> a few tiny features
  179. [20:24] <Reika_> like that
  180. 01[20:24] <iamamitten> I feel like I've seen this conversation before
  181. [20:25] <Reika_> You probably have
  182. [20:25] <Reika_> I get this a lot
  183. [20:25] <@pillbox> Notch drops apples when he's killed.
  184. [20:25] <Zerotheliger> i do not see its going to affect anyone but reika though
  185. [20:25] <@pillbox> FREE APPLES
  186. [20:25] <Reika_> @pill I actually toyed with something similar
  187. 01[20:25] <iamamitten> I mean in this channel, this exact conversation.
  188. [20:25] <@mDiyo> hahah
  189. [20:25] <Zerotheliger> why does it affect everyone else?
  190. 03[20:25] * Spyboticsguy is now known as Spyboticsguy|afk
  191. [20:25] <Reika_> but then realized it would be putting a bounty on my head
  192. [20:25] <Reika_> So did not do so
  193. [20:25] <+Drullkus> Yet you do it anyway.
  194. 01[20:25] <iamamitten> MC sheep sound like goats
  195. [20:26] <@mDiyo> Zerokyuuni: Could you comment on some of the name shenanigans?
  196. [20:26] <Zerotheliger> drull how does it affect you that reika isnt affected by his own tools
  197. [20:26] <+Zerokyuuni> you mean changing his own name on login?
  198. [20:26] <Reika_> I do not
  199. [20:26] <Reika_> I tried that once
  200. [20:26] <+Zerokyuuni> you did
  201. [20:26] <Reika_> broke everything
  202. [20:26] <Reika_> commented it out
  203. [20:26] <Reika_> months ago
  204. [20:26] <Zerotheliger> you cant change your name at log in
  205. [20:27] <Zerotheliger> without using an offline server
  206. [20:27] <+Drullkus> Zerotheliger: Let's say he and I are on a PVP server. By coincidence.
  207. [20:27] <Reika_> Also
  208. [20:27] <Zerotheliger> if you use an offline server you get no suport at all
  209. [20:27] <+Drullkus> Zerotheliger: He does. Actually.
  210. [20:27] <Reika_> Why do I get the feeling people are trawling the code looking for things to freak out over?
  211. [20:27] <+Drullkus> He changes his name.
  212. [20:27] <Reika_> Something tells me my code is not exactly leisure reading
  213. [20:27] <@mDiyo> Because you have the copyright message plastered on every file.
  214. [20:27] <+Drullkus> ^
  215. [20:27] <@mDiyo> You could put that in a license file in the base of the repository.
  216. [20:28] <Zerotheliger> let me say this if you put the work in and write your own code that code is your property period
  217. [20:28] <@mDiyo> You could do that in any number of ways, and instead you decide to make your code a pain to look at.
  218. [20:28] <Reika_> It is a header
  219. [20:28] <Reika_> eclipse autocollapses it
  220. [20:28] <@mDiyo> People are going to go looking for anything out of place because of that.
  221. [20:28] <Reika_> This is what headers are FOR
  222. [20:28] <@mDiyo> Github is not eclipse.
  223. [20:28] <Zerotheliger> your saying that if Big name video game company releases a game its source code HAS to be public
  224. [20:28] <+Drullkus> Reika_: Does github collapse it?
  225. [20:28] <Zerotheliger> its the property of the company
  226. [20:28] <Reika_> No, but that is not my fault
  227. [20:28] <Zerotheliger> not of random people
  228. [20:28] <Reika_> I do not code for pretty reading on GH
  229. [20:28] <@pillbox> 99% of the practical use of a copyright is to prevent others from *selling* your work
  230. [20:28] <Reika_> Besides
  231. [20:29] <Zerotheliger> same applies to any modders code its thier property.
  232. [20:29] <Reika_> the header is less than 8 lines long
  233. [20:29] <Reika_> half my functions are ten times that
  234. [20:29] <@mDiyo> The length of the header does not matter.
  235. [20:29] <Reika_> @pill Trust me, people try
  236. [20:29] <@mDiyo> In fact, it could be a single line that says @author Reika Kalseki Copyright 2014 All rights reserved.
  237. [20:29] <+Drullkus> What matters is how many files it's plastered over.
  238. [20:29] <Zerotheliger> take a que from any other modding community out there i cant name one that forces you to release your source code for public use
  239. [20:29] <+Drullkus> In fact. It's all of them.
  240. [20:29] <@mDiyo> That would be better actually.
  241. [20:29] <Reika_> @mDiyo As long as it has the same effect
  242. [20:29] <Reika_> I am ok with that
  243. [20:30] <Reika_> by "Effect" I mean legally
  244. [20:30] <Reika_> how to say
  245. [20:30] <Reika_> um
  246. [20:30] <@mDiyo> A single license in the base of the repo would have the same legal effect.
  247. [20:30] <Reika_> People modify that
  248. [20:30] <Reika_> And act like it was not C'd
  249. [20:30] <@mDiyo> Hell, not having a license would have the same effect.
  250. [20:30] <+ToopzZzZz> so sayeth the Mojang's Minecraft TOS: If you make any content available on or through our Game, you must give us permission to use, copy, modify and adapt that content. This permission must be irrevocable, and you must also let us permit other people to use, copy, modify and adapt your content. If you don‘t want to give us this permission, do not make content available on or through
  251. [20:30] <+ToopzZzZz> our Game. Please think carefully before you make any content available, because it will be made public and might even be used by other people in a way you don‘t like.
  252. [20:30] <Zerotheliger> they reverted that TOS
  253. [20:30] <Reika_> https://github.com/rfox90/GeoStrata
  254. [20:30] <@mDiyo> By that logic, what's to stop someone from changing the line in every file?
  255. [20:30] <Reika_> Look what he did to my license file
  256. [20:31] <Reika_> @mDiyo headers are a pain to change all of them
  257. [20:31] <@mDiyo> Mojang did not revert the ToS, they've changed it at least six times.
  258. [20:31] <@mDiyo> Really?
  259. [20:31] <@mDiyo> I could change all of them in seconds.
  260. [20:31] <Zerotheliger> that specific line does not exsist anymore because of how toxic it was
  261. 01[20:31] <iamamitten> oh my god, the blockh money symbol
  262. [20:31] <Reika_> @Toop we have been over this dozens of times
  263. [20:31] <Zerotheliger> they are re writing it
  264. [20:31] <+ToopzZzZz> that's what's currently posted
  265. [20:31] <Reika_> even my FAQ has something
  266. [20:31] <Reika_> the new terms explicitly say
  267. [20:31] <Reika_> among other things
  268. [20:31] <Mortvana> Ooh, a Reika o/
  269. [20:31] <Reika_> "you remain the owner of your own content"
  270. [20:31] <Reika_> hello mort
  271. [20:31] <Zerotheliger> also that doesnt mean that some random person can redo his code and claim it
  272. [20:32] <Reika_> Exactly
  273. [20:32] <Zerotheliger> know the laws first
  274. [20:32] <Reika_> no matter what mojang says
  275. [20:32] <@mDiyo> The old terms said that as well.
  276. [20:32] <Reika_> CC law wins
  277. [20:32] <Reika_> >>CR
  278. 03[20:32] * Lily_White (~IceChat9@65.207.22.5) has joined #TinkersConstruct
  279. [20:32] <Zerotheliger> know Copyright laws before you try to paste a line
  280. [20:32] <Lily_White> GREETINGS ROM WASHINGTON DC!
  281. [20:32] <Zerotheliger> that only applied to mojang
  282. [20:32] <@mDiyo> ...
  283. [20:32] <Zerotheliger> not random people
  284. [20:32] <+ToopzZzZz> uh
  285. [20:32] <@mDiyo> Zerotheliger: Stop parroting everything Reika says.
  286. 01[20:32] <iamamitten> you'll never seduce me from there, lily, it's on the other side of the country
  287. [20:33] <@mDiyo> Now let me put it this way: The chances of anyone going to court over anything in the modding community is slim to none.
  288. [20:33] <Reika_> Why does everyone always assume court is the only option?
  289. [20:33] <@mDiyo> There's no money involved, the amount of things you can get out of it aren't worthwhile.
  290. [20:33] <+Drullkus> I see Zerotheliger is also on #Rotarycraft
  291. [20:33] <@mDiyo> You're talking about legal. Legal always involves court.
  292. [20:33] <Reika_> No
  293. [20:33] <Reika_> for example
  294. [20:33] <Reika_> if they copy the code
  295. [20:33] <Reika_> and host it
  296. [20:34] <Reika_> I can flag it for infringement
  297. [20:34] <Zerotheliger> legal also involves a cease order as well
  298. [20:34] <Reika_> same with compiled binaries
  299. [20:34] <@mDiyo> Flag it where? On what?
  300. [20:34] <Zerotheliger> you dont have to go to cort you can serve legal documents as a warning
  301. [20:34] <Reika_> DMCA
  302. [20:34] <@mDiyo> I could host it on dropbox. They don't care about DMCA
  303. [20:34] <Reika_> I can use a C&D too
  304. [20:34] <+Zerokyuuni> the DMCA has a little thing called "counter claims". which then means court
  305. 03[20:34] * Othlon (~textual@122-148-158-2.static.dsl.dodo.com.au) has joined #TinkersConstruct
  306. [20:34] <@mDiyo> I could host it in New Zealand. They don't have anything like DMCA
  307. [20:34] <@pillbox> Copyrights are like locks on doors; criminals will break your window. Locks demonstrate your willingness to protect what's yours
  308. [20:34] <finkmac> never hurts to have a lock
  309. [20:34] <@pillbox> Copyrights keep honest people honest
  310. [20:34] <Reika_> The reason I copyright is to prevent malicious modificatiopn
  311. 01[20:35] <iamamitten> it does if you're locked into position in a guillotine
  312. [20:35] <Reika_> Do you have any idea how many people try to sell RC content?
  313. [20:35] <@mDiyo> Fine.
  314. [20:35] <@alexbegt> http://i.imgur.com/985hj47.gif
  315. [20:35] <Reika_> Often with code edits?
  316. [20:35] <@mDiyo> I do not like the way you're going about declaring your copyright.
  317. [20:35] <Reika_> ...?
  318. [20:35] <MoxieGrrl|MoxArcana> Or if you're locked into an Iron Maiden. That's rather painful.
  319. [20:35] <@mDiyo> Until it gets changed, I will never like it.
  320. [20:35] <Reika_> So shorten the header and you are happy?
  321. [20:35] <@mDiyo> No, move it to a license file and I would be happy.
  322. [20:36] <Reika_> I am not removing it entirely
  323. 01[20:36] <iamamitten> can I feed a beacon with a hopper?
  324. [20:36] <Reika_> ...Beacons do not consume items
  325. [20:36] <@mDiyo> Beacons aren't IInventory, so no.
  326. [20:36] <+Zerokyuuni> feed it bacon?
  327. [20:36] <+Zerokyuuni> yes they do
  328. [20:36] <Reika_> Not in vanilla
  329. [20:36] <Reika_> unless that change
  330. [20:36] <@mDiyo> Yes they do.
  331. [20:36] <@mDiyo> You have to give them an iron or gold ingot, or a gem to start them.
  332. [20:37] <Reika_> to start
  333. [20:37] <@mDiyo> You have to do the same to change them.
  334. [20:37] <Reika_> but it lasts forever
  335. [20:37] <Reika_> that is what I meant
  336. 01[20:37] <iamamitten> yeah, I have all these diamonds I'm never going to use
  337. [20:37] <@mDiyo> They consumed an item. :P
  338. 03[20:37] * justastranger|GTA4 is now known as justastranger|zzz
  339. [20:37] <+Zerokyuuni> that's still the definition if consume
  340. 06[20:37] * MoxieGrrl|MoxArcana consumes a cookie
  341. [20:38] <@pillbox> If you had a Jamaican accent, people would not be able to determine whether you said "bacon" or "beacon"
  342. [20:38] <@mDiyo> While I'm at it, why is every commit on DragonAPI "Update"?
  343. [20:38] <+Zerokyuuni> bacon beacon
  344. 01[20:38] <iamamitten> I do have dartcraft, I want a bacon beacon
  345. [20:38] <MoxieGrrl|MoxArcana> Yes.
  346. [20:38] <MoxieGrrl|MoxArcana> Get on that.
  347. [20:38] <MoxieGrrl|MoxArcana> I want creeper tots as its own mod. :|
  348. [20:39] <Reika_> Saves time
  349. [20:39] <Reika_> I usually commit in seconds
  350. [20:39] <Reika_> before I have to go
  351. [20:39] <Reika_> and am in a rush
  352. [20:39] <Reika_> plus
  353. [20:39] <Reika_> most commits
  354. [20:39] <@mDiyo> I suppose that's valid, but completely uninformative to the curious.
  355. [20:39] <Reika_> could not be summarized
  356. [20:39] <Reika_> they change too much
  357. [20:39] <@mDiyo> Yes they can.
  358. [20:39] <Reika_> I do not make little commtis
  359. [20:39] <@pillbox> Commit in a rush: having CI that spams the channel on failure deters that! ^_^
  360. [20:39] <Reika_> I make big edited-500-line commits
  361. [20:39] <@mDiyo> So put in the largest file you edited or bug you fixed.
  362. [20:40] <Reika_> I usually have no clear idea what it is
  363. 06[20:40] * @mDiyo frowns
  364. [20:40] <@mDiyo> So you code blind?
  365. [20:40] <Reika_> No...
  366. [20:40] <Reika_> I just do not remember every edit I make
  367. [20:41] <@mDiyo> You don't have to remember every edit. Even the last one you made would be better than "Update" every time.
  368. [20:41] <Reika_> That would be misleading
  369. [20:41] <@pillbox> Well, I would recommend working on local branches, for directed dev and then merge-squash with a summation of all the squashed commits
  370. [20:41] <Reika_> ?
  371. [20:41] <@pillbox> But I only recommend that because it helps you stay focused on tasks
  372. [20:41] <Reika_> I use GitHub like dropbox
  373. [20:41] <SurrealDelight> 45 gig in my trash can o.o
  374. [20:41] <Reika_> not like what it was designed for
  375. [20:41] <Reika_> the branching stuff
  376. [20:41] <Reika_> I code on two PCs
  377. [20:41] <Reika_> and dropbox cannot run at home
  378. [20:42] <Reika_> net too slow
  379. [20:42] <@pillbox> Yeah, multi-pc dev causes me problems too
  380. [20:42] <@mDiyo> git branch <name>
  381. [20:42] <@mDiyo> git checkout <name>
  382. [20:42] <@mDiyo> Done? :p
  383. [20:42] <Reika_> ...I use a client
  384. [20:42] <Reika_> No script crap
  385. [20:42] <@pillbox> Oh, you should learn git cli
  386. [20:42] <@pillbox> It's useful.
  387. [20:42] <@mDiyo> https://windows.github.com/
  388. [20:42] <@mDiyo> It comes with a command line.
  389. [20:42] <@pillbox> It will literally improve your coding habits.
  390. [20:42] <Reika_> @mDiyo That is what I use
  391. [20:42] <+Glassmaker> you can change branches on client
  392. [20:42] <@mDiyo> Well then, learn to use the command line. :P
  393. [20:42] <Reika_> I like the "3 clicks and done"
  394. [20:43] <Reika_> again
  395. [20:43] <Reika_> time
  396. [20:43] <Reika_> I usually have less than 30 seconds to commit
  397. [20:43] <@pillbox> All of that said; it's your project, I have no idea why people care what your commits look like
  398. [20:43] <Reika_> ^^
  399. [20:43] <Reika_> My suspicion is
  400. [20:43] <TheMike|Mobile> http://git-scm.com/book/en/Getting-Started < CLI docs
  401. [20:43] <Reika_> A lot of programmers are very proscriptive
  402. [20:43] <Reika_> that is
  403. [20:43] <@mDiyo> I only care insomuch as people bring it up every so often and see "Update" every time.
  404. [20:43] <@Fractuality> I feel like tinkers is always a warzone.
  405. [20:43] <@mDiyo> It's open code. People are going to look.
  406. 06[20:44] * +Zerokyuuni readies the cannon
  407. [20:44] <Reika_> they tend to feel they have a duty to make everyone align with "standards"
  408. [20:44] <@pillbox> I could see some people interpreting "Update" as an imperitive
  409. [20:44] <@pillbox> Meaning, "Update your stuff now, this is important"
  410. 03[20:44] * Dark_Hunter|Off is now known as Dark_Hunter
  411. [20:44] <Reika_> Hence why someone spent 500 lines crucifying the fact I capitalize package names
  412. [20:44] <Reika_> And I laughed at them
  413. [20:44] <@pillbox> Rather than, "I changed some stuff; that is the definition of updated"
  414. [20:44] <@mDiyo> Updated would be slightly better somehow. :P
  415. 01[20:44] <iamamitten> I'm one-shotting everything that isn't an enderman
  416. 01[20:44] <iamamitten> this is great
  417. [20:45] <@pillbox> Except it's bad form to describe commits in past-tense
  418. [20:45] <@pillbox> They should always be action-items
  419. [20:45] <@pillbox> Not accounts of actions
  420. [20:45] <Reika_> I really do not think it should matter
  421. [20:45] <+tterrag> iamamitten: everyone is out arguing, and you're just sitting there playing minecraft
  422. [20:45] <Reika_> readability is key
  423. [20:45] <Reika_> Same with code actually
  424. [20:45] <@pillbox> "- Solving NPE in module X"
  425. [20:45] <@mDiyo> Why is the mod's code availlable in the first place?
  426. [20:45] <@pillbox> Or "- Rewriting functions x(), y(), z()"
  427. [20:45] <Reika_> Visible source brings benefits
  428. [20:45] <Reika_> eg
  429. [20:45] <@pillbox> Not "Solved NPE. Rewrote functions"
  430. [20:46] <Reika_> people learn from it
  431. [20:46] <Reika_> and people can supply "I found a bug"
  432. [20:46] <Reika_> plus
  433. [20:46] <Reika_> if you think people hate CC'd code
  434. [20:46] <Reika_> imagine how they would react to closed src
  435. [20:46] <Reika_> people HATE that
  436. [20:46] <@mDiyo> CC'd?
  437. [20:46] <Reika_> coyright
  438. [20:46] <@mDiyo> What does the other C stand for?
  439. [20:46] <Reika_> Not sure where that came from
  440. [20:46] <Reika_> um
  441. [20:46] <Reika_> no idea
  442. [20:46] <Reika_> maybe the circle around it?
  443. [20:46] <Reika_> I just saw it somewhere
  444. [20:47] <Reika_> and it is faster
  445. [20:47] <Reika_> to type
  446. [20:47] <+tterrag> creative copyright?
  447. [20:47] <+tterrag> idk
  448. [20:47] <+Zerokyuuni> closed source is better than "open code"
  449. [20:47] <Reika_> @Zero you would be in the minority for that
  450. [20:47] <+Zerokyuuni> as you're actually commited on something rather than flipflopping
  451. [20:47] <Reika_> ?
  452. [20:47] <@mDiyo> You have open code, closed source.
  453. [20:47] <Reika_> "Visible Source" is the legal term
  454. [20:48] <Reika_> I looked it up
  455. [20:48] <@mDiyo> Indeed.
  456. [20:48] <Reika_> It brings practical use
  457. [20:48] <Reika_> So I use it
  458. [20:48] <+Zerokyuuni> "here's the code. do not touch" is.... ehhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
  459. [20:48] <Reika_> I do not really care what people think is more "right"
  460. [20:48] <@pillbox> Visible Source is bigger than you might realize
  461. [20:48] <+tterrag> So you say "I don't make small commits" as your reason for the plain commit messages
  462. [20:48] <+tterrag> well...why don't you?
  463. [20:48] <@pillbox> A large portion of the world runs on software and hardware supported by visible source.
  464. [20:48] <Reika_> I commit once a day usually
  465. [20:49] <Reika_> Again, I use it for sync
  466. [20:49] <Reika_> And I spend 4-12 hours a day coding
  467. [20:49] <Reika_> so a lot changes
  468. [20:49] <TheMike|Mobile> Why not put it under a copyleft license, such as GPL? The code would be safe from people selling it, and it would always remain free.
  469. [20:49] <+tterrag> commit multiple times and then push all at once
  470. [20:49] <Reika_> because that encourages redistribution and modification
  471. [20:49] <+tterrag> it doesn't take that long
  472. [20:49] <Reika_> Takes longer than I have
  473. [20:49] <+tterrag> 10 seconds?
  474. [20:49] <+tterrag> maybe?
  475. [20:49] <@mDiyo> There's a little bit of hipocracy in that.
  476. [20:49] <Reika_> Plus that seems messy
  477. [20:49] <Reika_> and on my laptop
  478. [20:49] <Reika_> slow
  479. [20:50] <@mDiyo> Your code modifies a game and you don't want it modified.
  480. [20:50] <Reika_> that thing gets 5FPS in windows explorer
  481. 02[20:50] * SurrealDelight (~SurrealDe@ool-44c0e949.dyn.optonline.net) Quit
  482. [20:50] <+tterrag> processor speed hardly effects upload speed
  483. [20:50] <Reika_> @mDiyo So I assume you hate AE, ThaumCraft, TE3, and similar, yes?
  484. [20:50] <+tterrag> oh that is bad
  485. [20:50] <Zerotheliger> meow brb
  486. [20:50] <@mDiyo> No, I hate you for putting words in my mouth.
  487. [20:50] <Reika_> Points for honesty I suppose
  488. [20:50] <@mDiyo> Would you like to try again?
  489. [20:50] <finkmac> hate is such a strong word
  490. [20:50] <@pillbox> Anyway, this is dreadful^Wfascinating but it's bedtime.
  491. [20:50] <@pillbox> o/
  492. [20:50] <Reika_> Good night
  493. [20:51] <@mDiyo> Night-o
  494. [20:51] <+Zerokyuuni> none of those mods crash the game for modifying them >_>
  495. [20:51] <+tterrag> ^
  496. [20:51] <+Glassmaker> night night pill :)
  497. [20:51] <Reika_> You would crash anyways
  498. [20:51] <+Zerokyuuni> wrong
  499. [20:51] <Reika_> if you overwrite or delete parts of RC
  500. [20:51] <@mDiyo> Maybe, but maybe not.
  501. [20:51] <Reika_> It is written with the assumption it exists and is undamaged
  502. [20:51] <@mDiyo> I'd go with 95% not for rotarycraft.
  503. [20:51] <@mDiyo> That is always a bad assumption.
  504. [20:51] <Reika_> No
  505. [20:52] <Reika_> It is not unreasonable to assume you exist
  506. [20:52] <+tterrag> in programming?
  507. [20:52] <Reika_> That is like when people complained when I assumed "EntityCreeper" existed
  508. [20:52] <@mDiyo> Undamaged is the bad assumption.
  509. [20:52] <+Drullkus> Back.
  510. [20:52] <Reika_> and it crashed when some mod ASMed it
  511. [20:52] <+tterrag> "does exist" should never be the standard when programming
  512. [20:52] <+tterrag> always make sure something exists, no?
  513. [20:52] <@mDiyo> That should be the baseline, not the standard.
  514. [20:52] <+Drullkus> Reika_: Because he didn't stab the heart of the shield.
  515. [20:52] <Reika_> I am not filling my code with != null checks or instanceof checks just in case some idiot decides to overwrite things
  516. [20:52] <Reika_> or delete things
  517. [20:53] <Reika_> that integrity checker is only there so I can give a meaningful log
  518. [20:53] <Reika_> instead of a random NPE
  519. [20:53] <Reika_> or classcast
  520. [20:53] <@mDiyo> Which integrity checker?
  521. [20:53] <+tterrag> null checks are just part of modding
  522. [20:53] <Reika_> The thing Pokefenn flipped out about
  523. [20:53] <+tterrag> "modify" is part of the game
  524. [20:53] <@mDiyo> Link please?
  525. [20:53] <Reika_> basically checks if all my blocks and items are not null
  526. [20:54] <+Drullkus> I've been looking for Fenn's claims.
  527. [20:54] <Reika_> https://github.com/ReikaKalseki/DragonAPI/blob/master/Auxiliary/IntegrityChecker.java
  528. [20:54] <Reika_> his twitter
  529. [20:54] <Reika_> yesterday
  530. [20:54] <Reika_> "DRM"
  531. [20:54] <+Drullkus> Reika_: I can stab there, actually...
  532. [20:54] <+tterrag> technically that is rather DRM-esque
  533. [20:54] <@mDiyo> That's not DRM
  534. [20:54] <Reika_> All my registries are enum-based
  535. [20:54] <+tterrag> maybe not by strict definition
  536. [20:54] <Reika_> And I iterate to register
  537. 02[20:54] * TheMike|Mobile (~textual@static-70-105-184-173.altnpa.fios.verizon.net) Quit (Quit: Textual IRC Client: www.textualapp.com)
  538. [20:54] <Reika_> and for some other things
  539. [20:55] <Reika_> if you null one out
  540. [20:55] <Reika_> or replace it
  541. [20:55] <@mDiyo> Digital Rights Management
  542. [20:55] <Reika_> that iteration will crash
  543. [20:55] <Reika_> often in some random code
  544. [20:55] <@mDiyo> This does nothing to manage how the player is going to play with the mod.
  545. [20:55] <Reika_> like "getMachineFromIDAndMeta"
  546. [20:55] <Reika_> @mDiyo
  547. [20:55] <Reika_> Thank you
  548. [20:55] <+tterrag> well what would you call it then?
  549. [20:55] <Reika_> An integrity check
  550. [20:55] <@mDiyo> This is closer to a self-check to make sure things are in order.
  551. 03[20:55] * sneezing_panda (sneezing@panda.znc.freq.in) has joined #TinkersConstruct
  552. [20:55] <@mDiyo> Like when a zip file checks its md5
  553. [20:55] <Reika_> 90% of the time this crash is from ID conflicts
  554. 03[20:56] * Tivec (Tivec@2001:41d0:8:206::) has joined #TinkersConstruct
  555. [20:56] <Reika_> 99% actually
  556. 03[20:56] * Tivec is now known as Guest92345
  557. [20:56] <Reika_> easy to fix
  558. [20:56] <Reika_> hardly controlling peoples' use
  559. [20:56] <@mDiyo> You should be letting the ID conflicts happen.
  560. [20:56] <+tterrag> ^
  561. [20:56] <Reika_> No
  562. [20:56] <Reika_> that causes problems
  563. [20:56] <+tterrag> sure it does
  564. [20:56] <Reika_> because forge does not catch item or potion or biomes
  565. [20:56] <starr274> so if I wanted to disable a block on my server so it had to be spawned in by a op in the config file it wouldn't work ?
  566. [20:56] <Reika_> leading to major corruption
  567. 03[20:56] * BAWKI (bawki@mail.epow0.org) has joined #TinkersConstruct
  568. [20:56] <+Zerokyuuni> fml has things to go "yo dawg, id conflict"
  569. [20:56] <Reika_> @starr?
  570. [20:56] <Reika_> @zero blocks only
  571. [20:56] <+Zerokyuuni> no
  572. [20:56] <@mDiyo> That doesn't lead to major corruption.
  573. [20:56] <+tterrag> no
  574. [20:56] <+Zerokyuuni> ids too
  575. [20:57] <+Glassmaker> items too
  576. [20:57] <+Zerokyuuni> item ids
  577. [20:57] <Reika_> It does not crash
  578. [20:57] <Reika_> So most players never even know
  579. [20:57] <@mDiyo> No, but it ends up in the log.
  580. [20:57] <Reika_> and biomes and potions not at all
  581. [20:57] <+tterrag> it doesn't need to crash
  582. [20:57] <+Drullkus> Yes
  583. [20:57] <Reika_> so you get major problems
  584. [20:57] <+tterrag> you don't need to handhold players
  585. [20:57] <+Drullkus> Forge logs that it's replacing an item
  586. [20:57] <+Drullkus> Or block.
  587. [20:57] <+Drullkus> So you'd know.
  588. [20:57] <@mDiyo> Those problems aren't always major.
  589. [20:57] <Reika_> @Drull 90% of users do not read logs
  590. [20:57] <+Drullkus> FML always logs.
  591. [20:57] <Reika_> @mDiyo they sometimes are
  592. [20:57] <Reika_> and even once is unacceptable
  593. [20:57] <+Drullkus> Reika_: Why why help them anyway?
  594. [20:57] <Reika_> because I get blamed
  595. [20:58] <+Drullkus> Reika_: Are you under fire right now?
  596. [20:58] <Reika_> I would argue moderately
  597. [20:58] <@mDiyo> Well, I blame you for doing things differently than how other mods do it.
  598. [20:58] <Reika_> Point is
  599. [20:58] <+Drullkus> And why?
  600. [20:58] <Reika_> Wait
  601. 06[20:58] * @mDiyo snickers
  602. [20:58] <Reika_> what
  603. [20:58] <Reika_> @mDiyo
  604. 03[20:58] * jb_aero|away (jbaero@2001:470:1f07:8d7:6:6:6:47) has joined #TinkersConstruct
  605. [20:58] <Reika_> really?
  606. [20:58] <Reika_> REally?
  607. 03[20:58] * SurrealDelight (~SurrealDe@ool-44c0e949.dyn.optonline.net) has joined #TinkersConstruct
  608. [20:58] <@mDiyo> Slightly yes.
  609. [20:58] <Reika_> Did you just basically say "everyone should do everything the same"?
  610. [20:59] <@mDiyo> No, users are used to finding and solving item ID conflicts when they pop up.
  611. [20:59] <Reika_> A lot are not
  612. [20:59] <Reika_> Point is
  613. [20:59] <Reika_> These extra checks
  614. [20:59] <@progwml6|L> if they aren't they need to learn
  615. [20:59] <Reika_> cut my "idiot reports" by a factor or 10
  616. [20:59] <Reika_> saves tons of time
  617. [20:59] <+Drullkus> The problem is
  618. [20:59] <@mDiyo> Blocks always crash. You should not have to check those.
  619. 01[20:59] <iamamitten> http://i.imgur.com/C1cGJhO.jpg
  620. [20:59] <Reika_> I do not
  621. [20:59] <+Drullkus> It deletes the productivity modders can do with your mod.
  622. [20:59] <Reika_> not for ID conflicts
  623. [21:00] <Reika_> ???
  624. [21:00] <+Drullkus> Yes.
  625. [21:00] <Reika_> What do you mean?
  626. [21:00] <+Zerokyuuni> the problem is you go nuclear the first time something happens >.>
  627. [21:00] <@mDiyo> Items don't always crash, but item ID conflicts don't cause corruption in any way.
  628. [21:00] <Reika_> Yes they often do
  629. [21:00] <Reika_> I have seen it
  630. [21:00] <@mDiyo> Give one example?
  631. [21:00] <+Drullkus> Reika_: Provide evidence, please
  632. [21:00] <Reika_> One of my ReactorCraft Items
  633. [21:00] <+Drullkus> Hard evidence, not a claim.
  634. [21:00] <+Drullkus> A link, or a picture.
  635. [21:00] <Reika_> nuclear waste and some tool
  636. [21:00] <+Drullkus> Or a log.
  637. [21:00] <Reika_> from some mod
  638. [21:00] <@progwml6|L> just use 1.7 id's are gone :p
  639. [21:00] <+Drullkus> I want a first source evidence.
  640. [21:00] <@mDiyo> I want a world download or a crashlog or another user's post or something else.
  641. [21:00] <Reika_> Then go read my thread
  642. [21:00] <+Drullkus> Not a second-source.
  643. [21:01] <Reika_> I am not going through 700 pages
  644. [21:01] <Reika_> for this
  645. [21:01] <@mDiyo> Then why should we?
  646. [21:01] <+Drullkus> Have you heard of burden of proof?
  647. [21:01] <Reika_> You do not need to
  648. [21:01] <Reika_> You are the one who cares
  649. [21:01] <@pillbox> Item conflicts can cause issues
  650. [21:01] <Reika_> and the one who is trying to tell me what to do
  651. [21:01] <Reika_> as if you get to control that
  652. [21:01] <@pillbox> Imagine TCon tool that gets interpreted by another Item class that uses NBT heavily.
  653. [21:01] <+Drullkus> And the other one is acting like a child.
  654. [21:01] <@mDiyo> Hmm.
  655. [21:01] <@mDiyo> I could tell you to get out.
  656. [21:01] <Reika_> Biomes are even worse
  657. [21:01] <Reika_> ever see that happen?
  658. [21:02] <+Drullkus> No
  659. [21:02] <@mDiyo> I've seen that one happen.
  660. [21:02] <+Drullkus> I can't ever fathom what happens if you replace biomes.
  661. [21:02] <Reika_> You get massive areas of wrong biome in random places
  662. [21:02] <@progwml6|L> we all know biome id conflicts arebad
  663. [21:02] <Reika_> I had TF dark forest in the overworld
  664. [21:02] <Reika_> I was pissed
  665. [21:02] <Reika_> wrecked my world
  666. [21:02] <@mDiyo> The integrity checker you linked does not check biome IDs, it checks blocks and items.
  667. [21:02] <+tterrag> btw progwml6|L I'm gonna make a PR with those crafting station changes tomorrow for the new stable release
  668. [21:02] <Reika_> I have a tracker for biomes
  669. [21:02] <MoxieGrrl|MoxArcana> Vike had TF thorns in his overworld in 1.7. That was interesting.
  670. [21:02] <Reika_> and one for potions too
  671. [21:02] <@mDiyo> All I'm saying is that the block check is unnecessary.
  672. [21:02] <Reika_> CollisionTrackers
  673. [21:02] <Reika_> the block check
  674. [21:02] <Reika_> is not for IDs
  675. [21:02] <Reika_> it does not check blockList
  676. [21:02] <@progwml6|L> for waht versoin tterag?
  677. [21:02] <Reika_> It checks my enums
  678. [21:03] <+tterrag> progwml6|L: 1.6
  679. [21:03] <@progwml6|L> then talk to diyo
  680. [21:03] <Reika_> the values()
  681. [21:03] <@progwml6|L> he's dealing w/ 1.6 i'm not
  682. [21:03] <+tterrag> btw mDiyo I'm gonna make a PR with those crafting station changes tomorrow for the new stable release
  683. [21:03] <@mDiyo> Sounds fine to me.
  684. [21:03] <+tterrag> ok cool
  685. [21:03] <+tterrag> lol
  686. [21:03] <@mDiyo> Why do you have enums for blocks Reika?
  687. [21:03] <Reika_> Type safe
  688. [21:03] <Reika_> easy
  689. [21:03] <@mDiyo> Block is type safe.
  690. [21:04] <Reika_> self-writing
  691. [21:04] <Reika_> mostly
  692. [21:04] <@mDiyo> Why do you have an enum and not something else?
  693. [21:04] <Reika_> I add an entry to an enum
  694. [21:04] <Reika_> and the rest of it is done for me
  695. [21:04] <Reika_> Saves lots of time
  696. [21:04] <Reika_> Makes programming easy
  697. [21:04] <+Drullkus> Something doesn't make sense here.
  698. [21:04] <Reika_> Basicallyu
  699. [21:04] <starr274> Huh Mojangs upto MC 1.7.9 now oddly
  700. [21:04] <@mDiyo> How does it make programming easy?
  701. [21:04] <Reika_> The arguments in the enum
  702. 02[21:04] * Lily_White (~IceChat9@65.207.22.5) Quit (Quit: Why is the alphabet in that order? Is it because of that song?)
  703. [21:04] <Reika_> are the block class
  704. [21:04] <@mDiyo> What does it do of the rest for you?
  705. [21:04] <Reika_> and maybe something else
  706. [21:04] <Reika_> then
  707. [21:04] <Reika_> I iterate
  708. [21:04] <Reika_> and reflectively instantiate
  709. [21:04] <+tterrag> his reflection helpers will instantiate every enum entry
  710. [21:04] <Reika_> and done
  711. 06[21:05] * @mDiyo frowns
  712. [21:05] <Reika_> exactly
  713. [21:05] <@mDiyo> Reflection is 10x slower than regular code.
  714. [21:05] <@pillbox> That's something I disagree: saving some keystrokes once to add init cycles millions of times across everybody's instantiation of their Minecraft sessions.
  715. [21:05] <+tterrag> it's only on load
  716. [21:05] <+tterrag> but
  717. [21:05] <@mDiyo> Reflection on enums is somewhere on the range of 1000x slower.
  718. [21:05] <+tterrag> I agree nevertheless
  719. [21:05] <Reika_> It adds ms to load time
  720. [21:05] <Reika_> not noticeable
  721. [21:05] <Reika_> plus
  722. [21:05] <Reika_> half of those "X is slow" rules
  723. [21:05] <@mDiyo> How many blocks do you have?
  724. [21:05] <Reika_> are from the 90s
  725. [21:05] <Reika_> about 12
  726. [21:05] <@mDiyo> I profiled this myself. It's not a rule.
  727. [21:06] <Reika_> Only some of reflection is slow
  728. [21:06] <Reika_> get
  729. [21:06] <Reika_> getField and the like
  730. [21:06] <@mDiyo> Reflection is anywhere from 5-100x slower than regular code, but averages to about 10x
  731. [21:06] <Reika_> those are
  732. [21:06] <@pillbox> Reflection should always be done via Singleton.
  733. [21:06] <Reika_> but things like .newInstance()
  734. [21:06] <@mDiyo> getField is pretty bad.
  735. [21:06] <Reika_> and field.set()
  736. [21:06] <Reika_> are nearly the same
  737. [21:06] <Reika_> especially if you do it more than once
  738. [21:06] <Reika_> the JVM is smart
  739. [21:06] <Reika_> and optimizes it
  740. [21:06] <Reika_> gens bytecode
  741. [21:06] <@pillbox> getField should be inited in a singleton
  742. [21:06] <Reika_> at runtime
  743. [21:06] <@mDiyo> That's done at runtime.
  744. [21:07] <Reika_> @pill I do
  745. [21:07] <@pillbox> So you don't getField() every time.
  746. [21:07] <@progwml6|L> you need to do it like 20 times for that to take place at runtime
  747. [21:07] <Reika_> This is true
  748. [21:07] <@mDiyo> How many blocks are in the mod?
  749. [21:07] <Reika_> Depends on the mod
  750. [21:07] <Reika_> in RC about 15
  751. [21:07] <Reika_> do not remember
  752. [21:08] <@mDiyo> I think I see why you're doing all of the verification hackery now.
  753. [21:08] <@mDiyo> I... :|
  754. [21:08] <Reika_> the cached arrays are public static final
  755. [21:08] <Reika_> anyone could in theory hack them
  756. [21:08] <Reika_> and that would crash
  757. [21:08] <Reika_> so I check
  758. [21:08] <Reika_> to prevent that
  759. [21:08] <Reika_> It is never legitimately an issue
  760. [21:08] <Reika_> There is no valid reason to null out or overwrite things
  761. [21:09] <@progwml6|L> why does this matter... just use 1.7.2 no more of these ID issues except for the fricken biomes
  762. [21:09] <Reika_> This code dates from 1.4.7
  763. [21:09] <Reika_> And I will still use enums in 1.6
  764. [21:09] <Reika_> >>1.7
  765. [21:09] <Reika_> though obviously it is going to need redesign
  766. [21:09] <+Zerokyuuni> update
  767. [21:09] <+Zerokyuuni> :V
  768. 02[21:09] * SavaBNC (Sava@2604:2880::2192:9459) Quit (Ping timeout: 194 seconds)
  769. [21:09] <Reika_> I follow the packs
  770. [21:09] <@progwml6|L> won't need nearly as much hackery
  771. [21:09] <Reika_> probably true
  772. [21:09] <@progwml6|L> or conflict handling unless you deal w/ biomes
  773. [21:10] <Reika_> and potions
  774. [21:10] <Reika_> but yes
  775. [21:10] <@progwml6|L> potions usually are not as bad as biomes are
  776. [21:10] <@mDiyo> Where did you learn to code?
  777. [21:10] <Reika_> can be
  778. [21:10] <Reika_> self taught
  779. [21:10] <Reika_> as for potions
  780. [21:10] <@progwml6|L> biomes conflict more often
  781. [21:10] <Reika_> you should have seen the conflict between Radiation Poisoning and AM2
  782. [21:10] <@mDiyo> Do you know any languages other than Java?
  783. [21:10] <Reika_> C, assembler, basic
  784. [21:10] <Reika_> uh
  785. [21:10] <Reika_> some C++
  786. [21:11] <Reika_> why?
  787. 02[21:11] * Kitsyfluff (~Kitsyfluf@163.sub-174-254-80.myvzw.com) Quit (Remote host closed the connection)
  788. [21:11] <@mDiyo> Curiosity
  789. [21:11] <Reika_> ok'
  790. 03[21:11] * SavaBNC (Sava@2604:2880::2192:9459) has joined #TinkersConstruct
  791. [21:12] <Reika_> But you should have seen that potion overwrite
  792. [21:12] <Reika_> kind of funny actually
  793. [21:12] <Reika_> some AM2 potion was getting overwritten with radiation poisoning
  794. [21:12] <Reika_> so people try to get some buff
  795. [21:12] <Reika_> and instead get a 60-min slow death
  796. [21:12] <Reika_> with slowness 4 and periodic nausea
  797. 02[21:13] * Goshen (~Goshen@c-67-177-1-53.hsd1.ut.comcast.net) Quit (Quit: Leaving)
  798. 01[21:15] <iamamitten> haha
  799. 01[21:15] <iamamitten> that sounds like what calclavia did with the status "wither"
  800. 01[21:15] <iamamitten> he renamed it "radiation" and gave it AOE from his uranium blocks
  801. [21:15] <+Drullkus> Lol
  802. [21:15] <+Zerokyuuni> aoe that passed from person to person, right?
  803. [21:16] <+Glassmaker> o.o
  804. [21:16] <+Glassmaker> a virus D:
  805. [21:16] <Reika_> I heard about that
  806. [21:16] <+Zerokyuuni> yea, that's just stupid
  807. [21:16] <Reika_> I think DarkCow came to me about that
  808. [21:16] <+Zerokyuuni> hilarious if it hit a fleshgolem though
  809. [21:17] <+Drullkus> xD
  810. [21:17] <+Drullkus> Flesh Golem cancer?
  811. 03[21:19] * `092 (~Zerokyuun@238.sub-75-225-65.myvzw.com) has joined #TinkersConstruct
  812. 03[21:19] * ChanServ sets mode: +v `092
  813. [21:20] <+`092> fuck you too, verizon
  814. [21:20] <Reika_> Bell is just as bad
  815. [21:20] <+`092> no
  816. 02[21:20] * +Zerokyuuni (~Zerokyuun@56.sub-75-252-143.myvzw.com) Quit (Ping timeout: 186 seconds)
  817. [21:20] <+`092> verizon is worst
  818. [21:20] <Reika_> They hold a monopoly here
  819. [21:20] <finkmac> semicolon cancer?
  820. 02[21:20] * BAWKI (bawki@mail.epow0.org) Quit (Ping timeout: 380 seconds)
  821. [21:20] <+`092> verizon sued the FCC just so they don't have to follow net neutrality
  822. [21:20] <Reika_> Bell is trying to do the same
  823. [21:20] <@alexbegt> gg `092\
  824. [21:20] <Reika_> And also tried to sue the CRTC (our equivalent)
  825. [21:20] <Reika_> so that they could
  826. [21:21] <Reika_> charge more than legally allowed
  827. [21:21] <+`092> and then went "don't worry, we won't abuse our newfound abusive power"
  828. [21:21] <Reika_> and have longer plans
  829. [21:21] <Reika_> than legally allowed
  830. [21:21] <Reika_> eg 5 year contracts with $2K termination penalty if you terminate within 6 months
  831. [21:21] <finkmac> iirc the government mandates 2 year max for plans these days
  832. [21:21] <Reika_> they do, yes
  833. [21:21] <Reika_> but Bell tries
  834. [21:21] <Reika_> they are the Walmart of ISPs
  835. 02[21:21] * SavaBNC (Sava@2604:2880::2192:9459) Quit (Ping timeout: 380 seconds)
  836. [21:22] <+Drullkus> I fail to know what ISP means.
  837. [21:22] <+`092> the internet i have is unlimited data. verizon USED TO flat out cut the internet off after an arbitrary amount of data. now they just throttle to around 53,000ms ping times
  838. [21:22] <finkmac> internet service provider
  839. [21:22] <finkmac> it's meant that for over 20 years
  840. [21:22] <finkmac> bell is more than an ISP, though
  841. [21:22] <finkmac> they own the lines, they have TV service, etc
  842. [21:22] <Reika_> exactly
  843. [21:22] <Reika_> they paid for all of it
  844. [21:23] <Reika_> back in the 60s
  845. [21:23] <+`092> verizon is still phone and internet :/
  846. [21:23] <Reika_> so now they own it all
  847. [21:23] <finkmac> they built all the lines
  848. [21:23] <finkmac> way earlier than the 60s
  849. [21:23] <Reika_> They are the reason my upload speed is too low to measure
  850. 02[21:23] * SoundLogic (~SoundLogi@172-8-201-53.lightspeed.mdsnwi.sbcglobal.net) Quit (Ping timeout: 186 seconds)
  851. [21:23] <Reika_> And my ping sometimes exceeds 20s
  852. [21:23] <+`092> let me tell you, getting the internet CUT THE FUCK OFF after 50mb of data was transmitted sucks shit, so hard
  853. 01[21:23] <iamamitten> japan is really weird, man
  854. 01[21:23] <iamamitten> http://i.imgur.com/CijFx9E.jpg?1
  855. [21:24] <Reika_> Trust me I know
  856. 03[21:24] * SavaBNC (Sava@2604:2880::2192:9459) has joined #TinkersConstruct
  857. [21:24] <Reika_> "Oh, you changed plans to something cheaper?" *cut line for a week*
  858. 02[21:24] * Guest92345 (Tivec@2001:41d0:8:206::) Quit (Ping timeout: 380 seconds)
  859. [21:24] <Reika_> That happened to me last Sept
  860. [21:24] <+`092> my ping, this week, has averaged over 30s :(
  861. [21:24] <Reika_> or oct
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement