« first day (2355 days earlier)      last day (2596 days later) » 

8:00 AM
Do you use DllPlugin in your projects?
 
no, I try to stay as far away as possible from Windows.
 
Do you guys think this will work for a frame based calculation of the position?
start + ((start - destination) / totalAmountOfFrames) * currentFrame
 
8:16 AM
With rimraf, how do I delete all the files in a directory BUT a particular file?
 
in a directory? With javascript?
didnt know we were allowed to do that
 
With rimraf, a cross-platform command based on a npm lib.
 
oh, so node stuff
 
@ZhengquanBai i don't use that lib, but just loop through all files and delete if it doesn't match?
 
@KarelG That makes sense: Just write a node program and do the deletion.
 
8:24 AM
hello everyone
anyone know what IDE is that?
 
looks like intellij idea or webstorm
 
ok thanks
Thanks @ZhengquanBai
 
anytime
 
I looked it up. It is webstorm
30 day trial lul
 
C4u
Hi everyone :)
I am using a random number in js like this var rand = Math.floor((Math.random() * 100) +1);. Unfortunately, on every call it gets reset to a new number. How can I prevent using a reference to the calculation but using a static result?
 
8:39 AM
store the result somewhere else. If that variable is empty, call that method.
(or do that at init)
 
@C4u global const variable, i think there is static too .... have to check es6
 
@C4u why?
what is the problem, that you are trying to solve?
 
C4u
I'm using morris.js to draw charts. My goal is to draw an inverted parabola with the formula `1/x^2`. But I want to move that graph along the x axis by a random value so it will be `1/(x-random)^2`.

To draw the chart I need to iterate from 0-100 and insert data points.
Oh I got my mistake >.<
 
1 message moved to Trash can
@C4u Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
C4u
for(i = 1; i <= 100; i++) {
    var move= Math.floor((Math.random() * 100) + 1);
    var fx = 200/(Math.pow((i-move), 2)+4);

    if(fx >= 0 || fx <= 100) {
        values.push({ Position: i, value: fx });
    }
}
I declared move inside my loop... >.<
Forget about it :D.
 
8:53 AM
can any one provide geofencing code
i have done but have some bugs
geofencing code in google maps
can anyone look into my code
???
 
probably
you're not being very inviting. What's your exact issue?
if you expect us to write your code for you (for free), there's no chance
we're all whores in one way or another
expecially dugger
 
@Swapna what's the issue exactly?
 
i have created geolocation , when im dragging one marker outside the geofence its showing alert. but i need when page loads then it should give alert that marker is out of fence
alert function workign when we manually dragging the marker , not automatically firing the alert event
im using gmap.js
 
@Swapna I am trying here in this fiddle codepen.io/Mr_Green/pen/KWxLLe?editors=1000
^ looks like there are many issues
I mean the code isn't even executing
 
no the code is executing in my system
 
9:04 AM
@Mr_Green That's probably because the API key is registered to a specific domain.
 
not not registred like that
may be in the ide its not working
may be in ur ide its not working
 
Question about scopes: Can my parent-function access all vars declared in it's child-functions?
 
@JennaSloan I think you are right
 
@RaisingAgent , No , its opposite , child can access parent block declared vars
 
9:07 AM
@Swapna you haven't included gmaps library in that fiddle
there is a relative path for it
 
ok
 
Ye, I know that^. Can I parent-declare var foo = 1; and then child-function change it foo = 2; ?
 
modify that codepen which I shared above, make it work and let me know
 
@RaisingAgent yes, why not ? child has access to parent's scoped variable. But please be aware that foo is 2 now when the child function has ended
 
@RaisingAgent child function?
 
hai @Mr_Green
i have edited my code codepen.io/Mr_Green/pen/KWxLLe
 
You mean, a function declared in the score of another function? Yes.
 
@KarelG thats what I needed to know^^ thx a lot
@littlepootis what is love? :)
 
@RaisingAgent it's a drug :/
 
9:15 AM
@Swapna why are you adding two markers to the map?
 
I heard sloan somewhere
in some series I think
 
to show u the difference of inside fence and out side fence
 
@Swapna
You didn't edit it though
anyway I did it now
 
when marker will be out of fence it should gv alert
 
you need to click on save
ok what's the issue now?
:|
 
9:18 AM
issue is when dragging any marker to out of the polygon fence then only its showing alert message
but i need it when page load
 
ok got it
 
when page loads it should give alert. i want to track the employee
if person going out of the fene it should raise alert,
 
Hi all!
I have cloned a project which I need to contribute. So, I cloned that project into my laptop
I have create a new branch and done the changes
then I committed it
 
@JudeNiroshan And now you can't push
Correct?
 
@MadaraUchiha lol
 
9:21 AM
? 😃
 
How do I push this new branch to my online github account?
 
Did I guess correctly?
@JudeNiroshan The reason your push gets rejected is because you don't have commit access to the repo you're trying to contribute to
 
of course, you did
 
You first need to fork the repo on GitHub
So that you have a clone of it under your account
(Don't worry, you can still do it without losing changes)
 
@MadaraUchiha Ok. I have done it
 
9:23 AM
I have this code: window.google.visualization.events.addListener(this._chart, 'onmouseover',function(e) {
this.afterChartHover.bind(this)
}) How can I bind it to my class function? This way it does not work I get following TypeError: Cannot read property 'afterChartHover' of undefined . This function exists.
 
@JudeNiroshan Great, now type this in the command line: git remote add mine <path-to-my-repo>
@WorkingPig .bind is a property on the function
function(e) { ... }.bind(this)
Or, alternatively, just e => this.afterChartHover()
since arrow functions are automatically bound.
 
I do believe the steps for committing to a GitHub repository are: fork, clone, edit, commit, push, pull
 
@MadaraUchiha alright. I executed that command. now?
 
@JudeNiroshan Now you can push to the mine origin
Go ahead and git push mine my-branch
 
@MadaraUchiha I have tried arrow function but I get undefined
 
9:25 AM
hai @Mr_Green are u there
 
parameter
 
???
 
@MadaraUchiha afterChartHover(e){
console.log(e)}
 
@WorkingPig I'll let you figure out why you're getting undefined.
 
@MadaraUchiha the branch name I need is TRUNK-5034
@MadaraUchiha I got confused that what you meant by mine is the branch name or not
 
9:26 AM
@MadaraUchiha Im creating a new parser by the way. This time using pushdown automata
 
@JudeNiroshan mine is the name of the remote you just added
A remote is a link to your repo on GitHub
my-branch is the name of your branch
 
@Swapna yes
 
This is why I use GitHub Desktop.
 
I am checking it still
 
@JennaSloan This is exactly why I don't use GHD.
 
9:28 AM
@MadaraUchiha this is what I have executed git remote add mine https://github.com/JudeNiroshan/openmrs-core
 
thanks...@Mr_Green
 
is it wrong?
 
@JudeNiroshan Nope.
git push mine <MY BRANCH>
 
@Swapna no, he dieded. rip mr. green 2017 - 2017
 
no he will not die , untill he solve my issue...i trust him
 
9:30 AM
@MadaraUchiha git push mine TRUNK-5034
 
@Swapna I think you need to check it manually
 
@MadaraUchiha am I good so far?
 
i checked but u people are greter than me
so taking ur help
 
no I am fresher like you
or may be less
 
but js is very tough for me
 
9:31 AM
> JavaScript room: greter than swapna since 2017
 
im from .net dide
.net side/background
 
im sorry
 
hai @littlepootis
 
oooh the .net dildo, I've heard of it. You try it once and never want it again
 
@towc ...
 
9:31 AM
kool
 
hai @littlepootis
 
well hai
 
.net dild... :|
 
r u familiar with js
???
 
No, I am a noob.
 
9:32 AM
(I had read dildo when he wrote dide)
 
having a task of google maps
which is very hard for me
that to geofencing
 
@towc probably meant to type 'dude'.
 
yeah, realized too late
 
@towc y r u into rainbows?
2
 
9:33 AM
LOL
 
and I thought everyone in india was a male
@AnastasiaDunbar something like that :D
 
wrong guess
 
@KevinTinnemans 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.
 
He's going to have a daughter with rainbows and name her Haskella.
 
@Swapna keep a wrapper function before creating a marker
 
9:34 AM
@JudeNiroshan Yes
 
I'm just wondering, may I ask a question? Is anyone in here?
 
which checks for whether the provided lat and long fall inside the paths
 
That push should go through
 
@KevinTinnemans no one is here
sorry
 
@KevinTinnemans No, there's no one in here.
 
9:35 AM
damn
 
hai @Mr_Green
 
hail @Mr_Green
@Swapna hi
 
@KevinTinnemans ikr
 
how to do wrap it..can u elaborate it little
 
btw, I have a teacher called Mr Little
 
9:36 AM
can u do changes in code pen
 
I can
 
it's his actual name, he's pretty clever. He deals with sorting students out for university
 
I totes forgot about this hackathon.
 
thanks
 
when is it?
 
9:37 AM
It's on April 1.
 
@Swapna can you pay me? :|
 
HEH
gl
:P
 
how much
 
Thanks :)
 
3 dogecoin
 
9:37 AM
April 1st and Wonderfl is dead.
 
3 dogecoin means
 
it's a complicated abstraction system
no need for you to get into the specifics
but you'll need to know about it eventually, so if you want some pointers...
-> <- this is a pointer
 
@Swapna 1000 dogecoins are $0.38
 
ok fine then i wll pay
 
What if Wonderfl.net pulls a joke? "It's 1st april haha fool'd u guys"
 
9:39 AM
@Swapna I didn't ask that much
 
I dunno, can you afford $0.00114?
 
oh...
 
> New Delhi, April 1: Mass murder, 10 killed
 
that's a lot of money
 
will pay u 3 dogecoins
 
9:40 AM
that's 3 dogecoins
 
where r u frm dude?
 
Does 10 deaths count as mass murder?
 
dogeland, it's in europe
 
@littlepootis 1 does.
 
the backyard
 
9:40 AM
I don't think I've ever seen the starred post list look so screwed up...
 
give sterling more stars
 
@Swapna done pay using paypal
 
it's not as screwed up as it could be
 
How could you screw it up more?
 
dont try him
 
9:41 AM
hey dont have paypal account...i have paytm account
 
Link articles suggesting jQuery is good?
 
I guess I'm the only adult in this country without a paytm account.
 
also doge, why you keep changing your name xD
 
@MadaraUchiha thank you for your help :)
 
@littlepootis you're still a baby, what are you talking about
 
9:42 AM
@lix my name?
 
Yeah
 
you'll always be sweet little littlepootis for us
 
@lix Because doge isn't one, but many. Like gods.
 
I only listen to "who's a good boy"
 
YOU'RE A GOOD BOY
 
9:43 AM
lol
 
yissss
yes you aaaare
 
doge stare intensifies
 
@towc I grew up
 
what's thy age now?
give it in milliseconds
+- 15552000ms
 
9:45 AM
*7 for dogeyears
 
Uses the special 31556952000 number.
 
@towc 568036800000
Not really, wait.
 
@littlepootis Looks like you had a birthday.
 
18?
 
thats what i got
 
9:48 AM
578059200000
 
Anyone know of some kind of free facial recognition software for images? I want to see how many scrapped articles have Donald trumps face in them, ya know for stats
No
I've been scrapping news articles for about a week now
There's quite a lot of articles with donalds trumps face
I want to count how often a news source has decided to post a picture of Donald trumps face
 
somewhere in april?
 
3
 
I wish 1st April wasn't a joke. ;(
 
Wed Dec 02 1998 21:51:05 GMT+0000
 
9:51 AM
@towc somewhere in april?
 
!!> new Date(Date.now()-578059200000)
 
@towc "1998-12-02T21:51:35.745Z"
 
this was probably easier :P
 
oh
1999-01-02
 
9:51 AM
takes away all of the fascination though
 
A month off.
 
well, that's your problem :P
anyay @BadgerCat, got a note of that?
 
You make me feel old
 
I'm very confused, this wasn't a joke
 
you are old
 
9:52 AM
You are old
 
o/
 
you are old
 
No, I'm just Harry
 
s/Harry/hairy
 
@MadaraUchiha how do i revert a push to remote project?
 
9:53 AM
calling people under 20 "old".
 
@JudeNiroshan You don't.
 
More true than you know
 
@JudeNiroshan it's against everything that git stands for
you just can't
 
You can manipulate everything you haven't pushed yet
 
@but my commit contains something which must be reverted
 
9:54 AM
well the opposite of push is pull
 
one test case is failing
 
dont test my knowledge
 
@KevinTinnemans it's shift
 
@JudeNiroshan So just add a commit that fixes it
 
and push it
viola
 
9:54 AM
When you push to a branch on your repo that has an open PR
It will automatically update the PR
 
anyone in here with social engineering experience?
 

« first day (2355 days earlier)      last day (2596 days later) »