« first day (2070 days earlier)      last day (2876 days later) » 

6:00 PM
which translates into exhaust velocity
 
@neo document.getElementsByClassName("modal").style.display = "block";
 
@Luggage that's even heavier than water
 
what if the code review is for an obfuscator? :)
 
@neo getElementsByClassName returns a nodeList
 
what?
 
6:00 PM
you need to loop over it and apply the style
 
oops.
 
neo
gotcha !
thanks
shitty new programmer :D
 
Shitty learning site
 
hydrogen is so superior to anything else when it comes to nerva-style rockets
 
stay away from w3schools
 
6:01 PM
@Loktar @VeronicaDeane @rlemon
 
@JanDvorak yea, and document is the parent.
 
haha
 
diet coke and mentos? I'm out of ideas.
 
for delegation you always have a parent -> child relationship (at a certain level)
 
@SterlingArcher liar
 
6:02 PM
wait did it actually start today?
was supposed to be next week
 
@VeronicaDeane apparently in about a week
 
I'm not trying to compete with a NERVA, just get somewhere in the 400 ISP range.
 
@rlemon normally I call that "ancestor", not "parent". (also, s/the/a/
 
which I will never do, of course
 
@Luggage why limit yourself?
 
6:03 PM
The issue is, how do I find said ul given event.target in vanilla?
 
I bet a small ion engine will still give amazing Isp
 
document.addEventListener('click', event => {
  if( event.target.tagName.toUpperCase() !== 'UL') return;
  // code
});
 
same low thrust problem when doing a transfer.
 
@Luggage I know that feeling :(
 
ion engines aren't used for that.
 
6:04 PM
@rlemon that won't register clicks made to the list items
the jQuery version will
 
Oh you were trying to get good thrust with that solar heating thing?
sounds difficult
 
@JanDvorak you wanted to get the UL, if you want the list items I can give you those. also if you fuck with capture and bubbling you can do everything
 
even several grams of thrust will be way above an ion thruster
a gentle breeze will suffice
 
My idea is el = e.target; while(el.parent && !el.parent.matchesSelector(...)) el = el.parent
 
1 lb of thrust, and anything is possible.
 
6:06 PM
not super-compatible and it's still two lines
 
except a landing.
 
or a launch
 
right
 
> give me infinite fuel and enough time and I will move the Earth
 
So the ISS just needs a rail gun and it'll re-boost itself after every fire over the next several orbits
 
@Luggage it will also shoot itself down
 
ok, then it raises it's orbit before firing
 
by firing?
 
and we're talking micro probes
sure. It can just fire two probes. one retrograde
and go into a spin.. :)
 
6:10 PM
@FilipDupanović not production ready, unfortunately.
 
ohh.. a spin..
ok, I got it. Two probes (or a probe and a counter-weight) spin up real slow over a long time, then release.
a long tether. Like a kilometer
the part firing backwards deorbits. No mess.
then low thrust is not a problem.
 
give kendall a bunch of taco's and point him in the direction you want to thrust
 
ohh @VeronicaDeane speaking of rockets. look what make it to Eve(? first planet in from Kerbin) and almost back.
it was fun to fly :D
 
Almost back? so tragic.
 
6:16 PM
the revised model made it back.
but I only have shots of it in front of the planet
 
@ndugger
 
from the surface, or orbit?
 
orbit
just getting back into the game. haven't made any landers yet
 
Is it correct that a numerical literal 0123 is interpreted as decimal 123 in ES6 strict mode?
 
6:18 PM
@le_m No, it throws an error.
 
Every missions to Moho has failed for me.
 
user1596138
@SterlingArcher How does it know your weight do you have to weigh yourself and put it in?
 
@littlepootis ah, I see. Confirmed by ecma-international.org/ecma-262/6.0/…
 
I weigh myself everyday (just for statistics, I'm not worried about my weight since I'm putting on muscle)
 
I've been just making crazy ships and stuff. playing a science run so kinda just making sure I visit everywhere I can get science from
 
6:20 PM
I may stop tracking my eating though, since I have a healthy diet and know how much I should be eating now
!!afk walkies
 
@SterlingArcher would you mind sharing a chart? Without vertical ticks, ofc
 
or with ticks on a log scale
your weight should decrease by at least 3 factors of 10 every week
 
user1596138
@rlemon lololol this is like the rockets I make haha
 
Soon you'll revert back to an embryo
 
@Josiah I'm getting smarter. the rocket that proceeded it was a lot less fuel, better engines for space, and was all around better.
but you know, sometimes you just wanna slap 100 engines to it and lagg down your pc
 
user1596138
6:23 PM
@VeronicaDeane Wait you can alter the planets/moons orbits?!
 
user1596138
@rlemon Always lol
 
@Josiah no
 
@Josiah for that you need space engineers
 
@Josiah lol no, I'm pretty sure he mentions that
 
he does mention it
 
6:24 PM
although there is a mod for N-body gravity that does alter the orbits
 
but I think there is/was a mod that allowed manual repositioning?
 
user1596138
Well I couldn't watch the video
 
^ why not just build a huge ship and ram the moon?
 
user1596138
3fps takes awhile to get to the Mun
 
send it in stages to mun orbit
 
6:25 PM
@rlemon there probably is. maybe HyperEdit can move planets
 
user1596138
3fps as soon as you put it together lol
 
user1596138
> It's working.. I think... Yeah... Wait it exploded a few frames ago wtf
 
hyperedit can.
 
user1596138
KSP pissed me off so I ditched.
 
user1596138
Like it doesn't matter if I upgrade my PC. The game just lags when you make anything big
 
6:27 PM
It's a lot better with the recent overhaul
 
user1596138
How recent was it? I'm sure I haven't tried it
 
couple months?
1.1
 
user1596138
Yeah I haven't tried it
 
user1596138
> Deorbiting a moon is easy, all you need is Majora's Mask
 
user1596138
Second comment wins
 
6:29 PM
so woot has a ton of pretty decent laptops on sale today, but i'm taking my car to get fixed on monday and they didn't tell me how many moneys that will be
do I replace my old tabletop now or wait until monday?
 
user1596138
What happened to the car
 
@Josiah somebody tapped the back end during a 7-car pileup :D
bent an exhaust tip and scratched the bumper
 
@Josiah 64 bit makes it a bunch smoother
 
user1596138
Oh shit.
 
not perfect, but a lot better
 
user1596138
6:30 PM
@rlemon That just crashes a lot lol
 
@rlemon it wasn't the 64-bit that improved performance
 
@Josiah Unity was to blame for me
 
at a local cheapo shop it's maybe $100 and an hour's work, but I gotta go to a certified place to keep my warranty
 
user1596138
The Mac runs it amazing lol that's why it frustrates me so much.
 
64 bit allowed more memory use. the physics engine overhaul improved performance
and unity upgrade
 
6:31 PM
@rlemon the 64-bit build used to be unstable
 
user1596138
The Mac with a shitty 2012 i7 and integrated graphics runs better than my almost-up-to-date i7 with a 860M
 
straightening out the pipe, replacing the reflector, and painting the plastic is probably a few hundred bucks though
 
@VeronicaDeane yes, but then in 1.2 everyone said it was fixed. mine still crashed.
 
user1596138
Memory specs are the same..
 
@Josiah KSP doesn't bottleneck on a GPU
 
user1596138
6:32 PM
@VeronicaDeane I know lol
 
though the recent physics might use the GPU more, right?
 
Before 1.1, the only thing that mattered for performance was CPU cycle speed
@Luggage No, I don't think they do
 
@Luggage possible but complicated
 
user1596138
I'm just saying. The CPU and GPU are way way better on my Win10 laptop but it isn't playable if you want to use even average sized shuttles
 
@JanDvorak a chart of my weight loss?
 
6:32 PM
that's usually something you have to go way out of your way to enable
 
Yes
 
it's part count, not size that matters. That might be what you meant.
 
user1596138
@ssube Yea I needed a new bed and axle and it was $9K. Who knows when it's body damage lol
 
user1596138
Didn;t even need a new bed just sides and paint
 
hey having trouble with fetch gist.github.com/tinder-dyakobian/…
 
6:33 PM
@Josiah I priced it out and a new bumper with backup sensors and camera is $400
 
why wont the promise save to the variable ?
 
I'm more worried about the exhaust, tbh
 
@JanDvorak ^
 
Thanks
 
user1596138
Psh then you're good. I'm having a entire exhaust done from the headers back for $350 this weekend..
 
6:34 PM
sure thing
 
user1596138
And that's throwing the old one away lol
 
Another quick question: 1.toString() throws a syntax error, but 0b1.toString() doesn't. Why?
 
@Josiah a new exhaust is like $900 :D
 
user1596138
@ssube If you buy a premade one lol
 
user1596138
Custom is cheap
 
6:35 PM
@le_m The parser thinks the . is part of the number
 
So facebook ads are super fucking smart
 
so it sees 1. and toString
 
@Josiah gotta keep the warranty
 
user1596138
And well that doesn't count the mufflers I have $200 in mufflers already... That's just pipe and cats and mandrel bends/labor
 
@VeronicaDeane Ah, it is the difference between DecimalLiteral and BinaryIntegerLiteral. Thanks!
 
user1596138
6:35 PM
@ssube Oooh fuck that if it's still under warranty nvm lol
 
I looked at it (and hit it with stuff to try and straighten it out)
 
user1596138
LOL
 
all that happened was one tip got pushed back, bent between the tip and muffler, and put a slight curve in the main pipe
 
seriously like $50-100 at the shop down the block
 
6:36 PM
how can I save a promise to a variable
 
user1596138
Yea well it could be leaking too that's a lot of stress on the welds bending it back so I'd have it checked out too
 
I posted this, and fb started immediately showing audi and golds gym ads, and I didn't mention either
 
so that I can pass it around
 
@SterlingArcher my fitbit was dead over the weekend
 
Can they scan pictures for shit like that?
 
6:37 PM
@Josiah I'm ok with that
 
if I could, I'd put a high flow cat on there
 
user1596138
My floorboard feels like it could catch on fire... And I drive with the windows open for fear of possible death lol
 
@DanielKobe check your console.
 
not worth it.
 
6:37 PM
that should work
 
that straight 6 with nothing in the way, ermagherd
 
1 more HP
 
@Luggage I have enough HP, I want more noise. :P
 
straight 6? bmw, I assume?
 
user1596138
Just run open headers lol...
 
6:38 PM
@ndugger I charge mine at work when it gets low
 
@Luggage 335
 
ah. a snooze rocket.
 
Always on a friday so a full battery lasts till... wednesday ish?
 
!!afk What'st he fucking point.
 
user1596138
I did that on my Ram just to get it to the shop lol it was about the louded thing I have ever heard. Every time I hit the gas I about shit myself and looked for the crashing jet
 
6:38 PM
poor man's m3
 
@SterlingArcher yes and it's done with your consent
 
I drove a new 328 the other day. Pretty fast for a turbo 4.
 
@Josiah my evo with the catback could set off car alarms
that was a bit much
 
I didn't mean it like "are they allowed" I just didn't know they scanned pictures like that
 
user1596138
I had literally open manifolds lol and no cross between it was insane
 
6:39 PM
@Luggage they are, but I wouldn't buy a bmw with a 4, unless it was an old M3
 
@Megaplex but there is no deffered in fetch
 
yea.. me either. There is something 'pure' about a straight 6, but it was still impressive.
 
and apparently, found out the other day, the 8-speed on the f30 can handle up to 500-550 HP
 
user1596138
@SterlingArcher They scan them and tell you who is in them to tag.... Of course they can analyse text :P
 
so once the warranty is up, I'm gonna dump a few (10s of) grand into it and get a 450-500
 
6:40 PM
FB does that?
 
user1596138
Someone get the new Camaro with 10speed auto lol
 
so essentially an older M3/M5
 
Man I don't go on FB a lot I didn't even know that
 
@Josiah 10 is just too many. I barely ever use 6-8
 
user1596138
And post a video of it shifting the entire time you drive
 
6:40 PM
but I can also do 85 in like 4th
 
user1596138
@ssube It actually sounds awesome. They claim to have done it right so that you are always at peak torque
 
I wish I could find a nice e46 wagon with a manual transmission.
and not silver.
 
@Josiah or get a twin turbo with a flat torque curve from 1500-5k
 
user1596138
Well yeah but reliability yo
 
6:41 PM
@DanielKobe did you check your console?
 
@rlemon my fetch returns undefined
 
 
it's a decent curve
 
@DanielKobe is fetch overwritten? because fetch should always return a promise or throw
actually, fetch should always return a promise regardless.
it will just reject
 
6:45 PM
my car is also in the shop today. Hoping they find some issue that it's been having for months. rough / inconsistent idle sometimes
Or I gotta find a new place.
 
@Luggage you probably need more gas
or an extra engine
 
@rlemon ya I have no idea whats up
did you see my code gist?
 
12 mins ago, by Daniel Kobe
hey having trouble with fetch https://gist.github.com/tinder-dyakobian/5c97eb3ac116a5efb2f8a4e7ec5ca62a
 
@DanielKobe yes, and I'm not sure what your problem is, because fetch should always return a promise
it makes no sense that you'd return undefined.
is this in another function? are you trying to overwrite req from the arguments?
 
@ssube I get to try out a Cayenne as a loaner. Meh.
 
6:47 PM
I do that more than I'd like to admit
 
@Luggage too tall :(
 
yes. it feels like a monster truck. A refined monster truck
 
a monster truck for when you need to call the manager
 
@rlemon ya it is in another function but theres basically nothing else in the function
 
@DanielKobe what is the function signature?
 
6:48 PM
aw shit, my stuff isn't going to be at the dealership, so I don't know what I'll do for a loaner
 
Is it possible to edit html content from an element of iFrame through JavaScript?
 
@AbrarAhmed Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
the dealership has a fleet with "BMW_N" plates, which are pretty lulzy
 
also, try this:
const request = new Request(url);
const req = fetch(request, options);
...
I thought you could pass arguments with a string url, but maybe not?
should probably error tho if that is the case
 
How to edit html content from an element of iFrame through JavaScript?
 
6:50 PM
578
Q: jQuery/JavaScript: accessing contents of an iframe

rz.I would like to manipulate the html inside an iframe using jquery. I thought I'd be able to do this by setting the context of the jQuery function to be the document of the iframe, something like: $(function(){//document ready $('some selector', frames['nameOfMyIframe'].document).doStuff() }...

 
@VeronicaDeane that was a wild ride
 
@rlemon Thank you :)
 
Has anyone had an issue drawing on a canvas during document.onload where the image is all stretched out because at the time of the drawing the css hasn't been applied yet?
 
6:51 PM
lookit that, it's tempting until the price
 
To set the height and width of the canvas
 
@Hypersapien don't size Canvas with css. use inline or js
 
user1596138
@ssube Carbon tho
 
inline?
 
user1596138
They're just double sided taped on lol
 
user1596138
6:52 PM
Find one on a car just like yours and take it
 
> Here, let me just tape this $500 spoiler onto your car.
 
@AbrarAhmed ProTip:
 
user1596138
Yea lol I mean I bet it's special tape but still
 
first result.
 
it's like 3' by 2", which comes out to $7 sq/in
 
user1596138
6:52 PM
> Installation is simplified thanks to double-sided adhesive strips.
 
f30 parts are stupid expensive :(
 
@Hypersapien or the alternative is wait for the images to load and put the js code in the body
 
Right. It would help if I actually read the tutorial instead of just skipping to the code.
 
the css will be loaded and applied
I doubt it is a problem of the css being lagged behind unless there are other issues a foot
 
No image files. It's javascript drawing to the canvas
 
6:54 PM
so preload the images
 
There. Are. No. Images. To. Load.
 
sorry I misread.
3 mins ago, by Hypersapien
Has anyone had an issue drawing on a canvas during document.onload where the image is all stretched out because at the time of the drawing the css hasn't been applied yet?
still going off my understanding of this :P
 
I never had reason to learn how to use the canvas tag so I'm trying to teach myself.
 
what are you wanting to make?
(for the purposes of learning)
 
6:57 PM
D:<
 
@Hypersapien So...there's no images to load?
 

« first day (2070 days earlier)      last day (2876 days later) »