« first day (2378 days earlier)      last day (2479 days later) » 

10:13 PM
dunno
:
 
Anyone good with C appearing to behave perfectly but really not?
 
@trichoplax when I have 5k objects of the same width, it works well. when i have 5k small objects and oone massive one, as you said, it starts to lag again. I watched a video on quad trees and it has dynamic box sizes, wouldnt that fix this problem?
 
@HyperNeutrino we tried to solve this already, didn't get a solid answer
 
@HyperNeutrino Ha
 
And that was just for a=1
 
10:25 PM
@MDXF What's it doing?
 
@Riley Lemme check, I got it to quit seg-faulting but it's not doing anything useful either, brb
Ha. Once again
As soon as I ask someone for help I figure it out. I really need to buy a rubber duck
For some reason I was thinking fseek was like a goto
 
0
Q: When do the lights blink?

Daniel M.Imagine you have two lights. These lights blink on and off at a specific rate: Light 0: Delay 0ms and then blink every 1000ms Light 1: Delay 500ms and then blink every 1000ms Let's simulate these lights for the first 2000ms: 0ms: Light 0 on 500ms: Light 1 on 1000ms: Light 0 off 1500ms: Li...

 
@MDXF It is if the 3rd argument is SEEK_SET I think.
 
No I thought it changed the position of the C program it was in >.<
It's like a goto for the file. It's not like a goto for the actual source code
 
Oh... Yeah, it doesn't do that.
 
10:33 PM
Yeah. I'm incredibly brilliant. :P
I've been ripping my (small amount of) hair out over this for over a day now
 
@Tobi I recommend you implement both. This will give you a much better idea of the good and bad points of each, and it will also give you specific measurements for your particular case.
You might even find that a hybrid approach works best, rather than trying to put all objects in the same acceleration structure
 
10:53 PM
@Downgoat ???
@MDXF idk maybe
@MDXF wth why, function calls can't do that
I guess macro calls may be able to though
 
I know
 
@flawr Also MIT, Apache and GNU criteria?
 
I was just confused aparently
 
its too laggy
only 80 fps
for 10,000 only
 
@Tobi have you tried turbo.github.io
minxomat made it
you can do you movement operation in parallel on the gpu on all objects
 
11:04 PM
> only 80 fps
 
whats the browser support?
 
That webpage looks too good to be a .github.io page, I don't trust it.
 
@ATaco It's localhost
 
I'm referring to turbo.github.io
 
omg this is going to be amazing
when i combine quadtrees and turbojs
1,000,000,000 particles
 
11:14 PM
EZ fix, just write the entire thing in Objective C.
 
need for browser
 
Write the entire thing in Objective C, then combine with Emscripten
 
isnt the speed boost for asm.js minimal
does turbo js us web assembly - or what ever its called now?
 
Honestly I'm absolutely clueless, I was just playin' around.
MaybeLater spends 1.7 seconds as a base.
(Although on TIO it spends 0.1 seconds)
 
@ATaco ???????
@Tobi no? it says it uses gpu (via canvas) and that's what it uses
 
11:17 PM
It takes a step to parse the tokenizer. I really should precompile it.
 
via canvas?
 
@Tobi wasm doesn't offer anywhere near the speedups using the gpu offers
@Tobi yeah? it's the only way to access the gpu (webgl)
 
if they have no GPU, is there any speed up?
 
@ASCII-only This clearly isn't in a format Javascript is very good at reading.
 
@ATaco uh yes it is it's called JSON5 and JS is really good at reading it
 
11:19 PM
That part of it is, but look at the strings themselves.
 
yeah what about it
 
no speed up?
if no GPU
 
@Tobi not really, but most devices have at least integrated gpu
 
They represent the sorts of token that the tokenizer/parser hybrid can match, and before execution they need to parse them into a more flexible format.
 
@ATaco why not store them in actual JSON?
 
11:20 PM
Easier for me to write them this way, I just need to precomile it, and I fix the problem.
 
like more layers
 
@ATaco -1 disgusting, use a parser generator like jison/pegjs/nearley, or store them in actual JSON like Charcoal stores them in PyON (well idk what to call it)
 
I don't do anything unless I can find a way to reinvent some wheel.
 
@ATaco uh you know you can just change the format right?
@ATaco well yeah this is the wrong way to reinvent it, Charcoal uses its own parser and format too you know
 
Yes, but then I need to rewrite my script that uses the tokenizer, which is 90% of the script.
@ASCII-only No such thing as the wrong way in recreational programming.
 
11:24 PM
Sup folks
 
@ATaco well i guess if you don't care about runtime
 
@Zizouz212 o/
@ASCII-only I thought I made that apparent already :P
 
@ATaco I've finally gotten a real app to program in :P
 
What would that be?
 
Idle -> PyCharm ;D
 
11:29 PM
@ATaco 0/10 seriously you just wasting TIO's CPU time
 
Real time: 0.107 s
User time: 0.090 s
Sys. time: 0.013 s
CPU share: 95.56 %
Exit code: 0
Apparently I'm not.
(Just the CPU share)
RProgN2 uses more CPU time
Real time: 0.311 s
User time: 0.231 s
Sys. time: 0.064 s
CPU share: 94.67 %
Exit code: 0
 
@ATaco O_o why does it not take 1.7s on TIO
 
(My testing computer was a $300 laptop)
Also, Jelly uses more resources than both of them
Real time: 0.887 s
User time: 0.760 s
Sys. time: 0.077 s
CPU share: 94.38 %
Exit code: 0
My most efficient language on TIO is TacO, which fails in less than 0.1 seconds on a blank program.
 

 Rubber Duck Debugging

For people who find rubber duck debugging to be a very effecti...
 
0
Q: Champernowne up to me

GryphonInspired by this question. Champernowne's constant is an infinite decimal number that consists of "0." followed by all natural numbers concatenated together. It begins like so: 0.123456781011121314151617181920212223242526272829303132333435363738394041424344454647484950, etc. The digits of Chame...

 
11:55 PM
PSA: if you are going to post ? or wat those both have 0 semantic meaning so you can just leave them out with same amount of information being communicated.
 
@totallyhuman hilarious
 
yes very
 
It's almost as good as all these Maybe Later puns I've been hearing.
 
no it's much better
and i still you think you practically brought it onto yourself
 
11:59 PM
@ASCII-only please see above
 

« first day (2378 days earlier)      last day (2479 days later) »