PT_

Untitled

PT_
Mar 20th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.98 KB | None | 0 0
  1. Mar 20 22:30:23 <I|> <DarkestEx> I used typdefs and similar constructs before in other parts
  2. Mar 20 22:30:25 <I|> <DarkestEx> without issues
  3. Mar 20 22:31:10 <I|> <DarkestEx> well yes, there seems to be a circle reference
  4. Mar 20 22:32:30 <I|> <TheMachine02> mhhh is there a P_T here :p
  5. Mar 20 22:32:40 <I|> <DarkestEx> http://pastebin.com/eR7dWR74
  6. Mar 20 22:32:42 <I|> <DarkestEx> Sorunome ^
  7. Mar 20 22:32:46 <P_T> yes
  8. Mar 20 22:32:46 <Sorunome> http://stackoverflow.com/a/2483358
  9. Mar 20 22:32:52 <I|> <DarkestEx> This is my main.h (RPN-Calc.h)
  10. Mar 20 22:32:55 <P_T> I'm here
  11. Mar 20 22:33:20 <I|> <TheMachine02> ahhhh :p
  12. Mar 20 22:33:28 <P_T> why?
  13. Mar 20 22:33:32 <I|> <TheMachine02> Sin and Cos in ICE ? :p
  14. Mar 20 22:33:34 <P_T> (tbh, I JUST came back XD)
  15. Mar 20 22:33:35 <P_T> nah
  16. Mar 20 22:33:42 <P_T> too complicated for now :(
  17. Mar 20 22:34:00 <I|> <TheMachine02> Well you could do either a LUT or grab what Axe was doing
  18. Mar 20 22:34:20 <P_T> Yeah, I might need an ez80 routine
  19. Mar 20 22:34:26 <P_T> a LUT is a very little bit too big :
  20. Mar 20 22:34:27 <P_T> :P
  21. Mar 20 22:34:55 <I|> <TheMachine02> http://pastebin.com/MJMyGz5i
  22. Mar 20 22:34:57 <Sorunome> you just need a LUT for a quarter perioud
  23. Mar 20 22:35:02 <Sorunome> *perioud
  24. Mar 20 22:35:05 <I|> <TheMachine02> should be easy to convert it to ez80
  25. Mar 20 22:35:05 <Sorunome> *period
  26. Mar 20 22:35:17 <P_T> wow nice
  27. Mar 20 22:35:18 <Sorunome> sorry idk darkestex
  28. Mar 20 22:35:42 <Sorunome> i don't know your code closely to as well as you do plus i don't have hte entire code / can't test myself etc...
  29. Mar 20 22:36:09 <I|> <TheMachine02> that was the code from axe parser
  30. Mar 20 22:36:28 <Sorunome> P_T: iirc that code only calculates a quarter period and adjusts for the other segments and also adjusts for cosine
  31. Mar 20 22:36:40 <Sorunome> * + you still need to adjust for those
  32. Mar 20 22:36:42 <P_T> yes I see
  33. Mar 20 22:37:12 <Sorunome> and people should ottally ditch pastebin
  34. Mar 20 22:37:36 <I|> <TheMachine02> also, once you have sin, you have cos
  35. Mar 20 22:37:49 <P_T> yeah duh
  36. Mar 20 22:37:57 <P_T> but I don't wanna do it rn
  37. Mar 20 22:38:11 <Sorunome> and then you have tan
  38. Mar 20 22:38:17 <Sorunome> and then you have sec
  39. Mar 20 22:38:19 <Sorunome> and then you have
  40. Mar 20 22:38:21 <Sorunome> csc
  41. Mar 20 22:38:23 <Sorunome> and then you have
  42. Mar 20 22:38:25 <Sorunome> cot
  43. Mar 20 22:38:27 * Sorunome hides
  44. Mar 20 22:38:33 <Sorunome> and then you lost the game
  45. Mar 20 22:39:12 <P_T> gosh I came back home, had 3 highlights in chats, and several posts, let me update all the stuff first :p
  46. Mar 20 22:41:24 <I|> <TheMachine02> Aw I want to highlights you even more when you say that :p
  47. Mar 20 22:41:27 <I|> * TheMachine02 is evil
  48. Mar 20 22:42:00 <P_T> Wow, I really need to think about sin( and cos( I guess
  49. Mar 20 22:43:22 <P_T> Might ask Xeda for that :p
  50. Mar 20 22:44:40 <I|> <TheMachine02> Yeah, or anyone doing assembly :p
  51. Mar 20 22:45:08 * Pieman (uid188464@2604:8300:100:200b:6667:7:2:e030) has left
  52. Mar 20 22:45:18 <P_T> If only one wants to write such routine :P
  53. Mar 20 22:46:45 <l|> <p4nix> P_T
  54. Mar 20 22:46:53 <I|> <TheMachine02> It is already writed :p
  55. Mar 20 22:47:02 <l|> <p4nix> Seriously, learn to figure out stuff on your own :trollface:
  56. Mar 20 22:48:29 * P_T ignores p4nix
  57. Mar 20 22:49:05 <P_T> TheMachine: a routine that takes $FFFFFF as an entire period?
  58. Mar 20 22:49:45 <I|> <TheMachine02> mmhhhhh
  59. Mar 20 22:49:52 <MateoC> wat
  60. Mar 20 22:49:56 <I|> <TheMachine02> that seems huge an kinda not usefull :p
  61. Mar 20 22:50:00 <MateoC> ^
  62. Mar 20 22:50:09 <I|> <TheMachine02> 256 bytes as a period is more than enough you know :p
  63. Mar 20 22:50:10 <P_T> D:
  64. Mar 20 22:50:40 <I|> <TheMachine02> you could 1024 bytes if you are really motivated, but even there, not usefull :p
  65. Mar 20 22:51:12 <I|> <TheMachine02> I agree for output a [-256,256] value though, instead of axe one [-127,128]
  66. Mar 20 22:52:58 <P_T> I'm way too tired to think normally @_@
  67. Mar 20 22:55:03 * critor has quit (Ping timeout: 255 seconds)
  68. Mar 20 22:55:34 <P_T> Which should I use: http://pastebin.com/TN02Bw5B or http://pastebin.com/MJMyGz5i ?
  69. Mar 20 22:57:13 <I|> <TheMachine02> the grammer one is faster
  70. Mar 20 22:57:21 <I|> <TheMachine02> and should be a bit bigger too
  71. Mar 20 22:57:37 <I|> <TheMachine02> I'll say the first one, but I am biased when it come to optimize :p
  72. Mar 20 22:57:59 * critor ([email protected]) has joined
  73. Mar 20 22:58:39 <P_T> and that is also not a tan( routine
  74. Mar 20 22:59:59 <I|> <DJ Omnimaga> p4nix you know that implementing walrii() in ICE could be challenging, right?
  75. Mar 20 23:00:03 <I|> * DJ Omnimaga runs
  76. Mar 20 23:00:31 <I|> <TheMachine02> yeah tan is harder
  77. Mar 20 23:00:38 <P_T> Please don't mess with me now, I'm super tired D:
  78. Mar 20 23:00:41 <I|> <TheMachine02> But even axe didn't have one :p
  79. Mar 20 23:00:57 <P_T> who needs tan anyway?
  80. Mar 20 23:01:04 <I|> <TheMachine02> Raycasting
  81. Mar 20 23:01:06 <I|> <DJ Omnimaga> P_T it was just a joke x.x
  82. Mar 20 23:01:07 <I|> * TheMachine02 runs
  83. Mar 20 23:01:14 <I|> <DJ Omnimaga> mostly directed at p4nix tho <.<
  84. Mar 20 23:03:45 <P_T> I kick the one who makes the joke about walrii() now :/
  85. Mar 20 23:05:35 <l|> <p4nix> Walrii()
  86. Mar 20 23:08:46 <l|> <p4nix> P_T sin lookup tables
  87. Mar 20 23:09:04 <l|> <p4nix> The functions themselve do not have to be fast
  88. Mar 20 23:10:13 <I|> <_iPhoenix_> In my raycaster, i didnt use tan once...
  89. Mar 20 23:11:03 <I|> <JWinslow23> Yet another reason why tau is more useful than pi
  90. Mar 20 23:11:06 <I|> <JWinslow23> You didn't use tan
  91. Mar 20 23:11:10 <I|> * JWinslow23 runs
  92. Mar 20 23:11:39 <I|> <TheMachine02> actually, you have both way to do it in raycaster
  93. Mar 20 23:11:53 <I|> <TheMachine02> one use tan (usefull ofr texture and such), the other don't
  94. Mar 20 23:13:12 <I|> <JWinslow23> What did these actors and actresses have to go through to be in this movie? http://www.imdb.com/title/tt0350258/fullcredits/
  95. Mar 20 23:13:23 <I|> <_iPhoenix_> yeah
  96. Mar 20 23:13:41 <I|> <_iPhoenix_> If you need tan, sin/cos
  97. Mar 20 23:13:56 <I|> <JWinslow23> Yup
  98. Mar 20 23:14:17 <I|> <JWinslow23> And I could make the case that, on the pure unit circle, sin and cos are the only really accessible functions.
  99. Mar 20 23:14:36 <I|> <JWinslow23> For tan, you have to draw lines, but also sometimes it's undefined.
  100. Mar 20 23:14:45 <I|> <JWinslow23> So that complicates things :P
  101. Mar 20 23:17:02 <I|> <p2> guys, guys, I'm magic!
  102. Mar 20 23:17:06 <I|> <p2> I'm a magician!!
  103. Mar 20 23:17:14 <I|> <TheMachine02> You have a magic wand ?
  104. Mar 20 23:17:16 <I|> * TheMachine02 runs
  105. Mar 20 23:17:22 <I|> <p2> I'm using a hotel Wifi, but the statistics say I use 0MB total :D
  106. Mar 20 23:17:35 <l|> <p4nix> Maagic
  107. Mar 20 23:17:40 <I|> <p2> little credit goes to DNS-Crypt as well ::)
  108. Mar 20 23:17:58 <I|> <p2> they seem not to be able to track content sent using DNS Crypt
  109. Mar 20 23:18:06 <I|> <DJ Omnimaga> juju
  110. Mar 20 23:18:09 <I|> <p2> which means their restrictions like streaming and stuff don't apply O.O
  111. Mar 20 23:18:11 <I|> <DJ Omnimaga> Facebook messenger is down D:
  112. Mar 20 23:19:49 <I|> <DJ Omnimaga> nvm I can access the chats by clicking usernames, just not the PM list
  113. Mar 20 23:27:43 * critor has quit (Quit: HydraIRC -> http://www.hydrairc.com <- Organize your IRC)
  114. Mar 20 23:28:15 <I|> * p2 off gettign food <3
  115. Mar 20 23:31:24 <I|> <DarkestEx> Sorunome?
  116. Mar 20 23:35:17 <I|> <c4ooo> Is MC server up?
  117. Mar 20 23:36:12 * JosJuice has quit (Read error: Connection reset by peer)
  118. Mar 20 23:39:00 <I|> <DJ Omnimaga> c4ooo it was yesterday
  119. Mar 20 23:39:32 * Walrified post by c4ooo on Re: [code-golf] Pure TI-Basic Raycaster. http://codewalr.us/1950/54323
  120. Mar 20 23:39:45 <I|> <DJ Omnimaga> It still is atm
  121. Mar 20 23:39:57 <P_T> stop with sin(cos(tan( for now <_<
  122. Mar 20 23:41:00 <I|> <JWinslow23> Alright
  123. Mar 20 23:41:04 <I|> <DJ Omnimaga> PT it's not a hurry anyway. I just got the idea aftrr that BASIC raycaster got posted
  124. Mar 20 23:41:05 <I|> <JWinslow23> Let's deal with arctan(
  125. Mar 20 23:41:07 <I|> * JWinslow23 runs
  126. Mar 20 23:41:41 <P_T> I'm just happy that I already implemented executing BASIC programs and Output(
  127. Mar 20 23:41:51 <I|> <DJ Omnimaga> Yes
  128. Mar 20 23:41:52 <P_T> Which is a lot if you didn't touch the code for months
  129. Mar 20 23:41:56 <I|> <c4ooo> TheMachine02 i disagree, [-127,128] is better
  130. Mar 20 23:42:02 <I|> <DJ Omnimaga> I know that x.x
  131. Mar 20 23:42:12 <I|> <DJ Omnimaga> When I checked Illusiat 13 code
  132. Mar 20 23:42:18 <I|> <DJ Omnimaga> I gave up o.o
  133. Mar 20 23:42:32 <I|> <JWinslow23> arctan(x) = sum from k=0 to infinity of x^(2k+1) / (2k+1)
  134. Mar 20 23:42:38 <P_T> lol
  135. Mar 20 23:42:42 <I|> <JWinslow23> Er
  136. Mar 20 23:42:43 <I|> <JWinslow23> No
  137. Mar 20 23:42:46 <P_T> My head is about to explode now, too busy ._.
  138. Mar 20 23:42:56 <I|> <DJ Omnimaga> D:
  139. Mar 20 23:43:01 <I|> <JWinslow23> arctan(x) = sum from k=0 to infinity of (-1)^k * x^(2k+1) / (2k+1)
  140. Mar 20 23:43:03 <I|> <DJ Omnimaga> :walriichu:
  141. Mar 20 23:43:04 * Walrified post by ordelore on Re: Pure TI-Basic Raycaster. http://codewalr.us/1950/54324
  142. Mar 20 23:43:04 <I|> <c4ooo> @TheMachine02 first of 256 is a large enough period, also 256 fits in a byte, so you can just let it over flow.
  143. Mar 20 23:43:06 <I|> <JWinslow23> That's it ^^
  144. Mar 20 23:43:17 <I|> <c4ooo> ICE's
  145. Mar 20 23:43:19 <I|> <c4ooo> ->
  146. Mar 20 23:43:23 <I|> <c4ooo> ISIS? O.o
  147. Mar 20 23:43:24 <I|> <JWinslow23> And this leads to the famous formula for tau/8
  148. Mar 20 23:43:44 <I|> <JWinslow23> 1-1/3+1/5-1/7+1/9-1/11+...
  149. Mar 20 23:43:54 <I|> <DJ Omnimaga> c4ooo wat
  150. Mar 20 23:43:54 <P_T> I gonna hate c4ooo
  151. Mar 20 23:44:05 <P_T> You can't leave me in peace?
  152. Mar 20 23:44:46 <I|> <c4ooo> ε> chill <3
  153. Mar 20 23:45:10 <I|> <c4ooo> JWinslow i might need 256 decimal digits of pie and tao for a program i am writing xD
  154. Mar 20 23:46:49 <I|> <JWinslow23> c4ooo: It's "pi" and "tau"
  155. Mar 20 23:46:56 <I|> <JWinslow23> Simple Greek letters, people. :P
  156. Mar 20 23:47:06 <I|> <c4ooo> >greek
  157. Mar 20 23:47:12 <I|> <JWinslow23> And is it for the raycaster?
  158. Mar 20 23:47:13 <I|> <c4ooo> >rome master race :trollface:
  159. Mar 20 23:47:19 <I|> <c4ooo> JWinslow no
  160. Mar 20 23:47:19 <I|> <DJ Omnimaga> P_T seriously CHILL THE FUCK OUT OR YOU'LL BE PERMBANNED
  161. Mar 20 23:47:25 <I|> <c4ooo> err
  162. Mar 20 23:47:32 <I|> <c4ooo> i think DJ needs to also chill
  163. Mar 20 23:47:42 <I|> <DJ Omnimaga> You have sand in your vagina all the time so get rid of it
  164. Mar 20 23:47:52 <P_T> wat????
  165. Mar 20 23:48:00 <P_T> why???
  166. Mar 20 23:48:05 <I|> <DJ Omnimaga> c4ooo he jumps at people all the time. It's fucking annoying
  167. Mar 20 23:48:10 <I|> <JWinslow23> Whoa, second time I've seen this from DJ (once b/c of kotu)
  168. Mar 20 23:48:32 <P_T> that's not true. c4ooo makes bad jokes about ICE at this time, while I'm very tired
  169. Mar 20 23:48:36 <P_T> what's wrong with me?
  170. Mar 20 23:48:37 <I|> <DJ Omnimaga> We cant even make a joke anymore in CW whenever he's around
  171. Mar 20 23:48:45 <P_T> That is bullsh*t
  172. Mar 20 23:49:02 <I|> <DJ Omnimaga> Everytome Im around you do it PT. Even with p4nix
  173. Mar 20 23:49:09 <I|> <c4ooo> C:\Users\Benedikt\AppData\Local\Temp\arduino_build_951713\sketch\RPN-Calc.h:16:0 this url doesn't work :trollface:
  174. Mar 20 23:49:21 <I|> <DJ Omnimaga> Jwin p4nix c4ooo me
  175. Mar 20 23:49:56 <I|> <DJ Omnimaga> Cya now cuz i dont want to deal with this tonight. Gonna shut off walrusirc
  176. Mar 20 23:50:04 <P_T> Seriously I don't see what's wrong with me now?
  177. Mar 20 23:50:13 <I|> <c4ooo> Bigdecimal84 is coming along nicely
  178. Mar 20 23:50:25 <P_T> I'm only a bit tired, and I say that to c4ooo, since I don't enjoy his jokes rn
  179. Mar 20 23:50:27 <I|> <JWinslow23> ...anywayyyyyyy......
  180. Mar 20 23:50:50 <I|> <JWinslow23> c4ooo: What would you need at least 256 digits of pi and/or tau for?
  181. Mar 20 23:50:55 <I|> <c4ooo> not jokes?
  182. Mar 20 23:51:16 <I|> <c4ooo> pointing out a coincidence
  183. Mar 20 23:51:28 <I|> <c4ooo> JWinslow bigdecimal >_>
  184. Mar 20 23:51:53 <P_T> well if you want to permban me, have fun, you said yourself that I was someone who is actually pretty active and stuff
  185. Mar 20 23:52:04 <I|> <JWinslow23> Oh right
  186. Mar 20 23:52:09 <P_T> ugh
  187. Mar 20 23:52:10 <P_T> thanks
  188. Mar 20 23:52:12 * Pieman (uid188464@2604:8300:100:200b:6667:7:2:e030) has joined
  189. Mar 20 23:52:21 <I|> <JWinslow23> Send me a link to the thread?
  190. Mar 20 23:52:54 <P_T> what thread?
  191. Mar 20 23:53:01 * Walrified post by c4ooo on Re: [code-golf] Pure TI-Basic Raycaster. http://codewalr.us/1950/54325
  192. Mar 20 23:53:31 <I|> <JWinslow23> Not you PT
  193. Mar 20 23:53:36 <I|> <JWinslow23> c4ooo's bigdecimal
  194. Mar 20 23:54:05 <P_T> if you want to permban me, please delete my AoCE and ICE thread as well, if that is not worth CW
  195. Mar 20 23:54:51 <I|> <c4ooo> seems worthy for me
  196. Mar 20 23:55:01 <I|> <c4ooo> JWinslow: will post later tonight
  197. Mar 20 23:55:31 <I|> <JWinslow23> PT they're actually both coming along nicely
  198. Mar 20 23:55:51 * Walrified post by Ranman on Re: Pure TI-Basic Raycaster. http://codewalr.us/1950/54326
  199. Mar 20 23:56:00 <I|> <JWinslow23> ICE seems like a useful programmer's tool, and AoCE might be my first strategy-role-playing game ever
  200. Mar 20 23:56:00 <P_T> say that to DJ <_<
  201. Mar 20 23:56:01 <I|> <JWinslow23> :P
  202. Mar 20 23:56:11 <I|> <JWinslow23> But whatever happens
  203. Mar 20 23:56:15 <I|> <JWinslow23> There's always Cemetech
  204. Mar 20 23:56:16 <I|> * JWinslow23 hides
  205. Mar 20 23:56:27 <P_T> it seems he can't accept that I'm tired and respond a little bit different I want
  206. Mar 20 23:56:36 <MateoC> Everyone try some frozen grapes
  207. Mar 20 23:56:45 <MateoC> They are delicious
  208. Mar 20 23:56:49 <I|> <Ranman> yummy
  209. Mar 20 23:57:02 <I|> <JWinslow23> ...jokes aside, let's both hope you guys both improve on what you guys need to improve on
  210. Mar 20 23:57:08 <MateoC> Especially soaked in alchol beforehand
  211. Mar 20 23:57:12 <l|> <DJ_Omnimaga> P_T having the best or second best CW project ever doesn't automatically exempt a forum user from the rules, same for years of experience
  212. Mar 20 23:57:24 <P_T> Where did I break the rules?
  213. Mar 20 23:57:34 <l|> <DJ_Omnimaga> I cant permban you yet anyway, you would need like 5 warnings for that
  214. Mar 20 23:58:13 <l|> <DJ_Omnimaga> P_T trying to make people who were just making jokes about sin/cos/tan or walrii() feel like shit
Advertisement
Add Comment
Please, Sign In to add comment