« first day (2468 days earlier)      last day (2705 days later) » 

18:01
guys...I'm so far in a hole. I thought I'd take on creating my own DateTime picker. And it just keeps going...and going...and going
time kinda does that quite well
Yea. I've got 237 lines so far and I'm only about half-way done
@Kramb Why reinvent the wheel when there's so many existing choices?
jquery.datepicker
@SterlingArcher he was done at step three
jerky is where you're supposed to stop
18:05
HAMMERTIME!
IDK, they all look kinda clunky to me
@Luggage I did not know that Internet Explorer cached the responses of the XMLHttpRequest and because of that no request was actually sent to the node.js server. I got around it by adding the current date and time so that the URL looks like a new one to request from. Thanks for your input on the topic :)
ohhi
18:06
@geisterfurz007 ahh.. i should have known. I've had that issue and jsut didn't think about it
Can somebody help me this regex :D
also maybe the right headers would have fixed it, too
caching headers could fix that problem too
> RegExp('https:\/\/[^\/s]+'
looks so wrong.
the part after google.com does't get pickup up by the regex
@rlemon why ?
18:07
Well now I experienced it on my own once. This has taught me for a lifetime :D @Luggage Yeah I read about the header thing, but I wanted to have it doe and this seemed to be the quickest yet safe solution to the issue
RegExp('foo')===/foo/
you don't need the regexp constructor, use a literal.
God that's gross
@rlemon i need to filter out links
so?
the link might be something like --> codepen.io/pens
18:09
still doesn't make any difference to what I said
now my current regex only picks up codepen.io
it misses out on /pens/
note: what I said isn't going to solve your problem, just looks nicer (and I'm pretty sure RegExp without a new constructor does different things, but I don't use it. so I don't know)
@AlexanderSolonik https?:\/\/.+
also, go on google and type in 'linkify js' and you'll get like a dozen projects that do this
steal one of their regexps
'borrow'
18:10
There
That's much cleaner and more efficient
@Trasiva thanks
@Luggage and @rlemon thanks for the advice guys
@Trasiva what about subdomains? what about other protocols other than http(s)
just borrow a featured linkify script.
I don't recall advice, but yw.
@Luggage np
@rlemon Then he can grab a linkify script. I gave him something that'll handle typical HTTP(S) protocols, like his example wished for.
18:12
i was just looking for a regex that works not bullet proof code or plugins
It'll handle the subdomains on that same protocol as well
@BenjaminGruenbaum He asked for it because he was reducing his activity?
hmm, does anyone have experience using correlation coefficients for weights when calculating a value(say salary or price)?
18:20
@Snupas Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
hi
i have a question about react native
does it have feature?
many feature
why
it seems to be somethinglike xamarin
in c#
18:23
What do you mean by feature?
job
the only purpose
that i want to have
...still not following
@BenFortune me or market
you mean, is there a specific purpose for react native?
besides building native apps?
I know android and ruby on rails and my buss asked me to work on react native
i want to know does it have job in the feature
18:26
@KevinB He's your problem now
@Sandro yes.
You can get COBOL or ASM jobs still if you really look, and if you're good at it even better.
i'm looking forward to find a job in europe
user1596138
@Trasiva http(s)?:\/\/ derp
@Sandro You're asking if learning react native will give you job security?
in europe
user1596138
18:28
Wait lol
@Jhoverit nothing wrong with his lol
user1596138
@rlemon the regex @Trasiva wrote works with anything anyway lol
user1596138
17 mins ago, by rlemon
@Trasiva what about subdomains? what about other protocols other than http(s)
@Sandro why in europe?
user1596138
Why does his even have "https?" is my question lmao literally does nothing
18:29
you want to move from india? to europe?
user1596138
I'm a troll I forgot you don't need capture groups
user1596138
!!afk too confused
s/I forgot you don't need capture groups// :)
s/.*//
@Wietlol no from Iran to europe
user1596138
18:30
I'm taking @rlemon down with me for the protocol comment tho
Good. It's about time someone knocked him off his high-horse.
@Jhoverit I'm glad you remembered, lol.
Capture groups are optional, and wasn't needed in this instance, lol.
user1596138
Yea we were about to have a really weird convo with me not knowing wtf was going on haha
It's okay, we all have those days.
user1596138
But it's only Wednesday :'(
18:32
its my day :D
Wednesday, Wednesday, gotta get down on Wednesday
don't feel like working, so linting.
@Jhoverit Only two more days to fuck up then, now you have it out of the way!
user1596138
Planning tomorrow
18:35
hi
Oh yea, you're gonna fuck up tomorrow too then.
@John Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
Oh god I made a crazy SSTO, although its also crazy inefficient.
does it fly
as you can see.
user1596138
18:37
@KamilSolecki Framerate flying it?
is it a plane, or a rocket with wings
actually im around 50 fps with it
so its fine
you have time dilation going on in that screenshot
its a spaceplane
user1596138
Wow. Not that intricate inside?
18:38
inside its really empty
you made this with javascript?
2
has 2 cargo bays in the middle
see how the flight time is yellow instead of green? that means time is going by less than 1:1, it's laggy
but it hardly can pull itself up
user1596138
18:39
@KevinB Wait what
@KevinB is IS slightly laggy, but not to the point that it bothers me
user1596138
That's an automatic thing?
yes
when the game can't keep up, it slows down time until it can
@KevinB Just like the simulation we're all living in
user1596138
Hmm. Mine just tanks or doesn't tank afaik
user1596138
18:40
I'll play tonight
user1596138
OHHH I should try KSP on a Liquid Sky box see if it's any better
no fuel @ 4400 m XD
looks like you're not that far from the runway
Sounds like it's not really an SSTO :)
only 1 minute in, must have started with mostly empty tanks
18:41
^^ that
it is
Single Stage to Ocean
I mean...
From Woosh to Sploosh?
gotta finish this fo4 playthrough before i get back into ksp
18:42
thats how far I made it
lul
@KamilSolecki Fun challenge: What's the least amount of fuel you need to touch the water from the start of the runway?
user1596138
4K meters baha
@KendallFrey none. rover wheels.
do you have to survive touching the water?
@KevinB Presumably if you don't, you could do it with less fuel
@Luggage Alright, no powered wheels
18:43
@KendallFrey I believe 0, from what i noticed runaway is slightly tilted towards ocean
None. Decouplers.
planes speed up when I leave them alone on runaway
all you have to do is roll off to a side
that'l give you enough speed to roll there
@KamilSolecki It's perfectly flat, but long enough that gravity pulls you toward the center
so make the rule, you've gotta enter flight prior to the tower, and not touch down till you hit water
18:44
You could in theory coast to the middle
@KevinB Oh no, no flight necessary
That requires significantly more fuel
then... the answer is 0 lol
you sure?
brb adding fuel into wings and putting the biggest engines i can
If you do it, do tell me
If you can coast to the middle couldn't you make it to the other end (minus whatever distance friction takes away)?
18:45
How many of you here have had to work on Samlp ?
if you can get one wheel off the side of the runway, you don't need fuel to get to the ocean
@Vap0r You don't get to ignore "whatever distance friction takes away"
guys I hate doing interviews it's so boring :|
Taking or Giving?
@corvid try wearing a funny hat
user1596138
18:46
@KendallFrey can my ship consist of basically a big ramp and a docking port that I disconnect lol
@KevinB prove it
@Jhoverit ohh. ramp. good call.
user1596138
Like make a ramp from wings. The ship is the ramp. Disconnect tiny probe that rolls into the ocean
I like it.
@Jhoverit your entire ship needs to make it in one piece, minus exhaust
user1596138
18:47
You're just adding rules now ;P
@KendallFrey couldn't you just drop some weight after reaching the halfway point?
To overcome the friction loss?
@Jhoverit Yes, I am, because you guys are no fun :D
Oo lala!
user1596138
I thought I had possibly found the actual solution lol
no reaction wheels right?
because that'd be stupid easy too
user1596138
18:47
We don't even know the units of measurement... How are we gonna answer this :O
@Vap0r No, because then you're dropping momentum too
user1596138
Can I wait for Kerbin to rotate underneath me
@KevinB Make it no electric charge whatsoever
chat.stackoverflow.com/transcript/message/38217263#38217263 ping me I am honestly curious (as a user or as a developer)
can you use the stability tower things?
18:48
no electric charge means you can't start the engine
@Jhoverit units of fuel
@KevinB Nah, you just need a Kerbal
user1596138
@KendallFrey 1
@Luggage nope
user1596138
Is it possible for us to come up with the answer without playing the game
18:49
ohh, we can't us a ramp, but you can get out and push with a kerbal? bullshit.
user1596138
That's all I'm wondering..
@Jhoverit I'm right there with ya hahaha
you can, but you can't prove it
user1596138
How is a Kerbal a better plan than my ramp
@Jhoverit Only if you run a simulation of the game or come up with an accurate equation for it
18:49
I think he means a kerbal for manual start?
user1596138
:(
Does he hold a lighter up to the engine?
I meant push the craft with the kerbal
lol
i have a better idea than that
i'll show it off tonight
also, RCS on the kerbal.
18:50
Kerbals everywhere?
@Jhoverit I don't know the answer, in case that wasn't clear
@KendallFrey then the answer is 1
Prove it
no u
user1596138
Answer is zero because I use the debug menu and tick unlimited fuel
18:51
with infernal robotics I'll just make an arm to push me.
user1596138
You did not say how much fuel will be consumed. Just how much you need
user1596138
Annnndddddd final answer
ffs the only energy source you may use is thrust from an engine
that's boring.
18:52
@KendallFrey can we just have a pressurized vessel release all the fuel?
@rlemon @KevinB @KendallFrey @SterlingArcher Oh, I discovered that Thrumbo are ungodly monsters. I had three people with charged rifles shooting at one that I had funneled into a death tunnel full of IEDs and Explosive IEDs. It still killed all of them.
What's the matter? Don't like being Kendalled, Kendall?
user1596138
Is there some way to make a sphere powered by the gyroscopes
just make the vessel long enough that it can touch the ocean from the start of the runway
user1596138
@KendallFrey
18:52
Which is then picked up by kerbal helpers and put back into a compressor?
@Jhoverit yup.
56 secs ago, by Kendall Frey
ffs the only energy source you may use is thrust from an engine
user1596138
Fuck
your gyro was another good answer if it wasn't for kendall's crazy rules
@Trasiva all you need is two rangers
user1596138
18:53
!!define engine
@Luggage This is exactly like all codegolf.se questions ever
the one the thrumbo is chasing runs around
user1596138
I think it will stand the Engine definition
the other shoots
user1596138
But Idk about thrust being technical here..
user1596138
18:53
> a machine with moving parts that converts power into motion.
user1596138
Gyroscopic engine
@KevinB Oh, you mean kite them? I thought that the sandbags between the IEDs was doing a decent job of that, lol.
@KendallFrey what has to make it to the water? Your craft, the engine, or the kerbal?
user1596138
No..
yeah, you just kite them in circles
super easy, assuming your colonist isn't slow
18:54
@Vap0r The whole thing in one piece
And do any of them have to be intact?
@Vap0r everything.
oof
that's tougher
Is there a size limit to the vessel?
18:55
so just make it long enough that it can touch water without moving
haha. i see where kevin is going.
Then just make the spacecraft large enough to create a singularity and eventually the ocean will come to it
lets see if changes helped
I think making the craft start itself rolling would be legit
18:55
@KevinB of hang one wheel off the side of the runway
if the vessel is big enough, the wheels will be squirrely enough to start momentum anyway
kraken-powered
Make it so big it's (significantly) affected by the moon's gravity and just wait for the tides to go out
My craft is powered by floating point errors.
and love.
power it with solar panels
18:57
No electricity
if the craft is light enough, a solar panel can push the craft when it opens
If you can power your solar panels with thrust from the engines, sure
that game doesn't model wind like that
so can landing wheels
ohh, you mean the momentum.. maybe
if we allow that, then you should allow me to roll somethign down the runway with a reaction wheel :)
18:58
what you ahve to figure out is the fact that KSC is perfectly flat
but kerbin isn't
So my boss is talking about his scrum methods/background, and I zoned out, and when I came back all I heard was "and we were learning how cocaine was smuggled into the country" and now im very confused
already discussed. it doesn't help
just getting initial momentum isn't going to be enough unless it's quite a bit of momentum
@Luggage I think it probably would
what we have going for us though is that crafts roll really easily

« first day (2468 days earlier)      last day (2705 days later) »