« first day (1910 days earlier)      last day (2935 days later) » 

4:00 AM
@AlexA. i'd rather xkcd.com/378
 
emಠcs
 
@Downgoat NASA Engineer, Restaurant Division
 
NERD
D:
 
You act like this is the real world.
 
If you die in the nineteenth byte, do you die in real life?
 
4:02 AM
> Have you ever had a dream, Neo, that you were so sure was real? What if you were unable to wake from that dream? How would you know the difference between the dream world and the real world?
 
s/Neo/Geo/
 
hahaha
 
You should change your name to Neobits.
 
Has anyone here ever worked with Perl's C API? I'm guessing not
 
Sorry, can't help there :/
 
4:04 AM
I thought it a reasonable question. You people seem to have all sorts of hidden talents.
? ok
 
@QPaysTaxes my good language choices are less real than here
 
@quartata True enough. I know at least one person here can lick dhjeir own elbow.
 
@QPaysTaxes i don't think you read that correctly
 
^ always worth it
 
...
 
4:08 AM
Ugh, I just realized that'll I have to write more than two lines of JS for this. Morale down.
 
Why do we bash JS and not Python?
 
Because python > JS
 
I bash python from time to time, but the js defenders are more fun, and there's more wrong with js in general.
 
@Geobits ;_;
 
Because Python is almost perfection except for indentation and speed?
 
4:09 AM
I like the indentation.
 
@quartata hahahahaha... sure....
 
@quartata See, it's things like that that make me want to bash it more often :P
 
i'm not even much of a Python programmer and I admire it. They did so many things right except for multiple inheritance
 
Javascript beats Python most times in code-golf so JS is better?
 
@Downgat Usually the other way around
assuming xnor is the golfer
 
4:11 AM
Proof pls
 
You want me to get links? Too lazy. Just look at any of xnor's submissions
 
Pls link to profile
 
codegolf.stackexchange.com/users <-- profile here. easily found
 
Man, xnor kicked my ass in python earlier today. By almost a factor of 2.
 
At least ES6 seems to be golfier than Python.
3
 
4:13 AM
don't be a lazily evaluated goat
 
6
A: Golfing Class of a language

isaacgElo ratings, treating pairs of submissions as games. I'm using the Elo system here. Essentially, the solution is find the best solutions in each language to each challenge, and then treat each pair of such solutions as a match between those two languages, with the winner being the shorter submi...

 
hrm
 
@Dennis It's hard for me to take that list seriously when it shows QBasic better at golfing than either of them ;)
 
Depends a lot on the type of challenge, but there have been a bunch of times where I find myself trying to shave a few bytes to tie with JS...
 
does the minimal NFA that matches all permutations of some set S have less than |S|! states?
I don't believe so
 
4:15 AM
@Dennis Unsurprisingly, Rust is at the very bottom of that list :D :) :| :( D:
 
@Dennis The real reason that Jelly scores so high on that list is that you're the only one who can use it.
 
Hahaha. There's probably not enough data to get an accurate rating for QBasic.
@DrGreenEggsandHamDJ No, the real reason is that I don't bother with challenges I can't win.
 
@Dennis Yep, and that's the main problem with both rating systems there.
 
Also, isaacg's rating only takes the highest scoring answer in each language into account.
 
@Dennis The funny thing is that there are about a hundred QB answers on the site (60+ of them golfs) :/
 
4:18 AM
Hahaha, BF scores better than C.
@Geobits Wait, seriously?
 
I had no idea either.
 
Hey I just got a code-golf bronze badge!
That's the first tag-badge I've ever gotten on the whole network.
 
\o/
 
\o/
 
Anonymous
@Geobits Oh man I bet someone smart pointed that out on those answers
 
4:20 AM
ninja'd
 
Anonymous
Oh look, someone smart did point that out:
 
Anonymous
I can spot one fatal flaw in this approach: challenges that would require significantly long code in golfing languages are usually not answered with those languages. For example, as the source of almost all of the Seriously answers, I admit that I usually don't try to answer a challenge with Seriously unless it's under 40 or so bytes (because any longer becomes unmanageable thanks to my poor design decisions). This skews Seriously towards a higher tier than what it probably should be. — Mego Mar 27 at 7:00
 
@DrGreenEggsandHamDJ congarts! \o/
 
Is @Dennis a bot?
 
I was quite surprised to see QBASIC in the top tier, until I looked at the QBASIC answers on the site. It's pretty good backup for Mego's comment. I suppose there's probably a somewhat better way to do this, but I'm not really sure it won't be filled with these outliers as well. — Geobits Mar 28 at 2:23
 
4:21 AM
@Mego Such smart. Very self-promotion. Wow.
 
@Phrancis no
 
Anonymous
@Dennis r/iamverysmart
 
@Phrancis I'm not allowed to say.
 
@Downgoat congarts More proof that goat hooves aren't great for typing on a keyboard. =P
 
@Dennis _UNK
 
Anonymous
4:22 AM
re: language bashing
 
Anonymous
I would totally bash on Python if I had things to complain about with it
 
@DrGreenEggsandHamDJ amazon keeps delaying the shipment on my goat keyboard
 
Dennis isn't a bot, but Martin is a bot made by Dennis
10
 
Anonymous
But really my only complaints are Unicode-related, and most of those are fixed in Python 3. The ones that are left are more complaints about Unicode than complaints about Python.
 
@Sp3000 until Martin became sentient and took over the account
 
4:23 AM
@Downgoat Goat Keyboard:
user image
11
 
@Dennis please share Martin's source so I can integrated in chatgoat, I'd love for Chatgoat to be a great PPCG mod too...
 
@Mego It took me quite a while to get the [::] crap figured out. It seems quite unintuitive to me even now, but not so bad as at first.
 
@Geobits Yeah, it was a little bit hard for me, but I think having the same concept as range helps.
 
@DrGreenEggsandHamDJ how do you keep on finding pictures of me :|
 
@Downgoat Alex isn't the only one whose webcam address got out.
 
4:26 AM
Such abuse of a fine Korg goat
 
Anonymous
@Geobits The slicing is actually one of the more intuitive parts of the language to me
 
@Downgoat ¯\_(ツ)_/¯
I might be a stalker.
 
@Geobits oh shit, does that mean you can see that I'm only 179° upside down?
i'm sorry, I'm a fraud
 
@Downgoat I don't want to give away too much.
 
Anonymous
@Downgoat The real fraud is you using degrees and not radians
9
 
@Mego radiusn foncuse me
 
@Downgoat uh
 
The real fraud is you using 90 degrees to mean you're upside down
9
 
@Mego degrees Fahrenheit radian?
Ah.
Well, I gotta go.
 
4:28 AM
@Phrancis fixed
@CᴏɴᴏʀO'Bʀɪᴇɴ bai
 
@CᴏɴᴏʀO'Bʀɪᴇɴ reverse ray tracing?
 
@Downgoat Here's another picture I found of you:
 
@QPaysTaxes conacten?
@DrGreenEggsandHamDJ ._.
stalker
 
@Downgoat I should've waited a little longer so 130 seconds would have gone by
 
it looks like Factor
 
4:28 AM
@QPaysTaxes oh yeah I forgot, yeah.
 
Anonymous
He's only π*(1-1/360) radians rotated :P
 
@orlp Nothing quite that glorious. Randomly modifying the RGB components by adding a random integer in [5, -10].
 
@QPaysTaxes ok, night!
 
@Mego maths!! ~hides
 
Anonymous
4:29 AM
@QPaysTaxes I haven't looked at it, but that sounds like a problem to be solved by readline :P
 
@QPaysTaxes night
 
@Geobits [delayed reaction] About 20 of those QBasic answers are me. It's really good at a few things, and yes, I mainly only use it for those.
 
damn, every time I get away from the chat, the number of new messages has at least 3 digits, usually 4, sometimes 5
 
Later @QPaysTaxes
 
4:30 AM
@aditsu I've given up on catching up on what I've missed for a while now :/
 
I stopped about a year ago
 
@DLosc I was just surprised. I know I've seen them around, just didn't know there were so many. Don't get me wrong, I used to use the hell out of QB back in the day ;)
 
me too, but it's still disconcerting
 
I used to actually read the transcript in here
 
^ Ditto
 
4:31 AM
I don't even read the transcript if I get pinged
 
I usually just page-up to check any interesting pictures
 
Anonymous
As for the golfing class stuff, I still maintain that it's a futile endeavor to try to rank languages
 
Anonymous
But perhaps box plots would be more descriptive
 
I don't think it's useful but I think it's interesting
 
There's no gazing like navel gazing.
 
4:32 AM
I prefer star gazing
 
42 mins ago, by Downgoat
8 mins ago, by Downgoat
does anyone know how the math would work to insert a moon into a stable orbit? adding extra y-velocity doesn't do it...
pls halp
 
>_>
 
Anonymous
@Downgoat More description plz
 
this is very urgent and I hav no idea how to do it
@Mego ok, one sec...
 
Anonymous
I know physics but I don't know what you mean
 
4:33 AM
Is it Actually urgent? Seriously?
 
Anonymous
@Geobits Yeah, if he doesn't get this done in the next 3 days, everyone will die
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ?
 
@Geobits yeah
 
Random test.
I played around with some code and thought it looked cool
 
4:34 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Doesn't look very random to me. Looks like a bird.
 
it looks wrong
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I agree :)
 
Anonymous
@Geobits Alex is the definition of random
 
Anonymous
Also the definition of wrong
 
4:34 AM
@Mego Lasagna >:O
 
I stand corrected.
 
Anonymous
I might throw my new mouse and keyboard :(
 
@Mego Given a planet, with properties describing it's: mass, x, y, x-velocity, and y-velocity, and a moon with the same properties calculate the x-velocity and y-velocity to form an orbit around the planet
 
I already threw my mouse (off my desk that is)
 
Anonymous
4:35 AM
I got a new wireless keyboard, which is nice except for the fact that it feels wrong (due to being new)
 
Now Actually Seriously Bye
 
@Downgoat Perhaps a link to your page would help, so dhje can see what you're working with now?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is that a new esolang?
 
@Downgoat I told you before, replace the planet with an invisible center
 
Anonymous
4:36 AM
It came with a new wireless mouse, which is nice because my old one is dying, but it keeps registering dragging when I'm not :/
 
@Maltysen it already is
 
@Geobits who is dhje?
 
the planet is just a rendering
 
Anonymous
@Downgoat Two-body problem
 
Anonymous
In classical mechanics, the two-body problem is to determine the motion of two point particles that interact only with each other. Common examples include a satellite orbiting a planet, a planet orbiting a star, two stars orbiting each other (a binary star), and a classical electron orbiting an atomic nucleus (although to solve the electron/nucleus 2-body system correctly a quantum mechanical approach must be used). The two-body problem can be re-formulated as two one-body problems, a trivial one and one that involves solving for the motion of one particle in an external potential. Since many one...
 
4:37 AM
@Mego he has discrete time steps
 
@aditsu See, the problem with gender neutral pronouns is that there are 14 competing ones. So, I decided to create my own to unify them all...
 
Anonymous
@Maltysen Not hard to discretize
 
@Downgoat then just render the planet-moon system off of that center as the origin
 
I thought the two body problem was when one body repels the other when that body doesn't bathe
 
Anonymous
@Geobits Now there are 15 competing ones
 
4:37 AM
@Mego I don't see what the two-body problem has to do with this though :/
 
@Mego yeah, I was just saying that it's even easier
 
@Geobits xkcd 927? :p
 
@Mego I'm really going to try to make this one work. It's clearly superior to all other options.
 
Anonymous
@Downgoat It has everything to do with this. You have two bodies in a time-dependent gravitational potential field. You have one unknown: the velocity of one of the bodies.
 
@Maltysen I don't want to neglect the sun's gravity
 
4:39 AM
@Downgoat oh
then there's no point in doing the center thing
 
Anonymous
If you want to do sun-planet-moon, that's the three-body problem, and that's very hard
 
@Mego well sun is fixed
 
Anonymous
@Maltysen That only makes it slightly easier
 
@Mego but it is solvable
 
Anonymous
Yeah but it's still not easy :P
 
4:40 AM
also, he's doing everything discretely, so this stuff doesn't really apply, he just has to add up all the force vectors
@Downgoat ^
 
I still say it'd be easier if render() wasn't being called from logic() >_>
 
Anonymous
@Downgoat I gave you the formula for orbital velocity last night
 
0
A: Sandbox for Proposed Challenges

Dr Green Eggs and Ham DJHow many 14ers did I climb? code-golf ascii-art string In mountaneering terminology, a "14er" is any mountain with an elevation of 14,000 feet or more. However, there is another distinction. For a peak to count as a 14er, it must also have a "geographic prominence" of 300 or more feet. This m...

 
@Downgoat you are using requestAnimationFrame
I knew it
 
So I solve for velocity?: $dist \cdot velocity ^2 = \frac{4\cdot \pi^2\cdot dist^2}{time^2}$
 
4:41 AM
its requestAnimationFrame
you can do logic in a setTimeout
 
Anonymous
v = sqrt(Gm*(2/r - 1/a))
 
what is a?
 
Anonymous
Semi-major axis
 
ok
 
Anonymous
aka the largest distance the orbiting body gets from the center of mass
 
4:43 AM
@Downgoat does the initial_velocity start out tangent to the orbit?
 
Anonymous
That gets you the magnitude of the velocity. The direction is easy, because it's always tangent to the ellipse.
 
@Maltysen yes
 
@Downgoat listen to mego, this will allow you to speed up the logic so you can move it out
 
Okay, so after almost having to delete my entire repo and start over (since I don't know how to use git even with the gui and windows sucks...) I have finally managed to put my stuff on my gh-pages branch.
 
oh ok, got it, I'll try this out...
 
4:45 AM
Jeez, windows has this dumb Thumbs.db file, it just threw it in my repo and suddenly everything got screwed up.
can someone tell me, why the effect goes funny
 
thumbs.db strikes again
 
the background, the ofset gets messed up, you will see if you click.
 
@Downgoat btw r is the sqrt of your dist variable (why the hell is that called dist, its dist^2)
 
G'night, all.
 
@Geobits I'm so mad at that file right now
 
4:46 AM
yeah
 
@Downgoat unrelated: make non-background black, white hurts my eyes
 
@Maltysen okay
done
 
\o/
 
Also, makes moons work :P
It's urgent.
 
they do sometimes
 
4:51 AM
-.-
 
I am trying to get them to work using the equations
 
do what mego said and use the closed forms
 
Oh? I've tried a bunch and haven't found one yet that worked right :(
 

Senior JavaScript Engineer

Twitch

Twitch is building the future of interactive entertainment, and our web client engineering team is preparing to scale…

Posted on Stack Overflow Careers on March 2, 2016

 
Anonymous
> do what mego said
 
Anonymous
4:52 AM
I like the sound of that
 
@Mego G is grav constant correct?
 
Anonymous
@Downgoat Yep
 
@Quill ?
 
Anonymous
And m is the mass of the central body
 
4:53 AM
@AlexA. it's unrelated
but twitch is hiring
 
r is the square root of the distance, correct?
 
Okay
 
@Mego @Downgoat usually combine them into one constant
@Downgoat no its just the distance, but for some reason your dist variable is the square of the distance
¯\_(ツ)_/¯
 
@Maltysen yeah. I know
 
4:55 AM
so I would do: sqrt(sqrt(square(x1 - x2) + square(y1 - y2)) correct?
 
@Downgoat you would do dist = sqrt(dx*dx + dy*dy)
then you wouldn't have stupid variable names
 
@Maltysen so dist = r?
 
@Downgoat if you did dist = sqrt(dx*dx + dy*dy), then dist would equal r
 
ok
 
Anonymous
4:58 AM
It's a really good thing that you're doing this with Newtonian mechanics and not relativity
 
My eyes don't know what to do with that at all.
 
@AshwinGupta nothing is dying, and the background makes me feel like I'm tripping, but other than that, cool game
 
> SyntaxError: Unexpected token ')'
 
@aditsu your message -> me ;-;
 
4:59 AM
@Maltysen lol not done
at all...
I haven't even programmed hit effects
or alien AI movement
 

« first day (1910 days earlier)      last day (2935 days later) »