« first day (2609 days earlier)      last day (2353 days later) » 

4:00 AM
@Dream_Cap the number 0 "is equivalent to" false in this case, so if count starts off as a positive whole number then the loop will keep going till it hits 0
 
Thanks alot!
 
That's the thing that annoys/worries me right now
we do have an issue with aging equipment, and are losing many experienced pilots
In relation to our convo earlier lol
the article just made me think of it
 
> foxnews
 
4:16 AM
lol was just talking about that not long ago in here..
and now Steam dropped bitcoin
dafuq?
that's a ton of blocked requests on here heh.
 
morning
 
which requests
 
@Mosho no idea, requests on this page I guess
 
@Loktar you can click it
to see
"requests blocked"
 
im seeing errors in the console
 
4:21 AM
Oh the same page as the Bitcoin news - pcgamer.com/… Oh my..
 
master-chat.js?v=f1e5ed9ea207:6 Uncaught TypeError: s.data.replace is not a function
at master-chat.js?v=f1e5ed9ea207:6
 
@Mosho oh crazy.. that did not look like a button heh
 
yeah that's what I see too
 
blocking xbenji! lol
 
What about nickdugger.com?
 
4:23 AM
@Loktar it's not blocked :P
green on the left
 
As you can tell... I don't use this too much
 
^^
 
lol
so doubleclick.net and google ad services it looks like
@hilli_micha I wouldn't even be mad about that
 
yeah
looks like you haven't closed the chat in months :P
 
haha yea
I just saw the number and was like damn..
Bad sites might have 20
but never seen it go over that personally
237 was nutty.
 
4:25 AM
only 3% though
for me it's 12 blocked, 6%
since I opened this tab recently
this is pretty amazing
a real MSc from georgia tech, online courses, $7k total tuition
 
😒 you just reminded me this is my deadline for the GI Bill
bleh.
10 years after you get out it expires if you don't use it, I didn't
 
I never considered getting a master's degree, but this is really interesting
 
Such a dumb mistake.
 
what can you do with it
buy a house I assume
 
I see 17k, where do you see 7?
 
4:28 AM
school
 
@Mosho no go to college
for free basically
 
Free money
 
god I'm retarded tonight
17k applications
 
lmao
 
I’m always retarded
 
4:28 AM
> With OMS CS, you can join computing professionals from more than 80 countries who are earning their M.S. on their own time, in their own homes, and for a total cost of about $7,000.
that's a good deal
@ndugger psh whatever I beat you tonight
 
and I read it doesn't say "online" anywhere
you just get a MSc in CS from GT
which is a top 10 school
I think
 
I went to the number one online university in phoenix
Jk I’m a dropout
 
yeah, ranked #12 in engineering worldwide
though "only" 36 for CS
 
My father occasionally teaches courses in business; he’s got a phd i think
 
I almost did WGU, it seemed pretty okay, but they actually straight up denied me because I had no previous college experience; so I am just doing the Community College route to the University of Central Florida
 
4:35 AM
Just drop out like i did
 
I actually enjoy college, probably won't end up doing Comp Sci, since I've already got 6 years of experience. Probably a business degree or something
 
Higher ed is an expensive scam
 
only in the states
 
The education system is designed to oppress individuality
 
Employer is doing straight up tution reimbursement. So it's about as cheap as I'll ever get it
Between that and grants I'm currently receiving, I've only paid for books thus far.
 
4:37 AM
Suppress*?
 
@Mosho Neat!
 
I
Hi anyone know three.js
 
I know six.js
 
I know jquery
 
I'm having problems setting up a three.js scene. The skybox is glitchy with the pointer controls and the w,s,a,d controls do not work around the scene.
 
4:51 AM
I'm also learning nine.js
Then I'll be able to learn, sixty-nine.js
 
@ndugger Pffft, no you don't.
 
What if this world is a jquery plugin
 
If that were true we all would have failed silently eons ago
 
wow thanks
 
You're welcome?
 
5:02 AM
no
 
I'm sorry, what did you expect? That we drop everything and solve your problem for you?
 
No
This room used to be helpful.
 
Yeah, until the vampires arrived.
 
Rekt.
 
Why are you even in this room? Isn't this to help fellow developers?
 
5:07 AM
yeah, you know, the ones that put the time and effort into asking a specific question. Not my shit don't work. Help me fix it.
 
I asked a specific question.
 
I'm having problems does not constitute a specific question
Where in the ~500 lines of code you just linked to do you think the problem might be?
 
I specified that the skybox was off.
 
sigh
See Asking for Help
 
@redfelix you can read stackoverflow.com/help/mcve always helps narrow stuff down
 
5:13 AM
Well, I didn't want to overwhelm you. This is suppose to be conversation. If nobody knows three.js then it'll probably be a waste of time. When combining the elements, I tested each element before adding it to the scene. When combined, the heightmap plane seems to effect the skybox.
affect*
 
9 times outta 10 you'll find the answer yourself by putting together an mcve.
 
The code I posted is relevant to the problem
 
0
Q: How to display multiple data in a single row based on ID using mvc?

Ivin RajBased on the First ID it has Four records data and based on the second ID it has three records. Currently in view part it's displaying all the seven records in separate row but i required to display two rows but first row should contain four cords in a single row. [HttpPost] [MyExcep...

 
5:51 AM
is Foo['bar'] the only way to get the type of the bar property on a Foo type?
 
typeof Foo.bar
Oh, Foo's a type
Don't mind me. Nothin' to see here
 
yes it is
 
Shouldn't your editor tell you that?
 
how
 
in VSCode ya just hover your mouse over a variable of that type, or the type declaration itself
 
5:54 AM
and how does that help me
 
Because it'll tell you the type of the property?
 
wut
 
Me thinks I'm not understanding what you're asking
 
class Foo {
    bar: string;
}
I want string
 
Wait, what? Is there a type defined for the shape of that class?
 
5:56 AM
a class is also a type
 
Not in flow it ain't
 
only losers use flow
 
:(
(ಥ﹏ಥ)
So you don't have the class definition and you want to know the type of the instantiation parameters?
 
I have a reference of the class
 
So why do you need to know the types of the internal properties? I'm in VSCode right now and it certainly does tell me the parameters and types of the constructor
 
6:04 AM
I need to know it because I'm using those types somewhere else
 
I have no idea what either of you two are talking about
 
@Mosho Can't you just define an interface that both classes conform to?
 
why would I do that
I mean
it's not a use-case for that
 
Why would you manually check the types of properties on a class?
@Mosho Are you programmatically trying to derive the property types, or are you just trying to figure them out?
 
I have a big class that has a lot of things
and I need a subset of it as a type
 
6:12 AM
So define an interface
 
I need around 300 of these
 
Wow, then go home and rethink your class
 
also, this is the interface
it's not the class
 
You have an interface with 300 properties?
 
and, the point is that I don't want to define an interface reallyy
I have 300 interfaces
 
6:14 AM
I'm out.
 
what's wrong with having 300 interfaces
 
You have 300 distinct shapes in one application?
 
not 300, but a large number
one for the props of each component
50-100 I guess
 
Oh, I thought you meant shared interfaces. But now I'm more confused. If you have the class, and you need an interface that mirrors the types on that class, just write that interface?
What am I missing here?
 
I want to use the class itself as the thing that defines the interface
 
6:17 AM
Why?
 
so I don't have to write all the types twice
which may include other interfaces I defined and imported in the class's module
and I don't want to import in every component
etc.
 
You know you can define global interfaces, right?
I think they're called type definitions in flow
So you don't have to import them, you just specify that a thing is of (a shared interface)
 
yes I know
but
why wouldn't I do that? it saves me a lot of duplicated writing
 
If you define them as interfaces then you don't have to redefine them on the classes that use them
 
each of those interface is a small subset of the class' properties
and it is a smell to have a class implement an interface of itself, since it already is an interface of itself
even if I could
 
6:25 AM
I'd argue it's a smell to generate interfaces based on subsets of other interfaces/classes
But I've honestly never had to go that deep
If it's props for a react component, for the sake of the next person that has to maintain the code you're writing, just write the types
 
you can still hover over them in something like vscode
no benefit to that
 
That's like saying you can still whack a debugger at the top of a function
 
I don't see how
 
Anyway, I'm going home. Good luck
 
thanks
 
6:41 AM
Has anyone used phonegap before?
 
used cordova ..
 
i think thats the same thing, they renamed it
did u need an actual android device to make it work?
 
@RachelDockter for testing... you could make do with emulator though
 
oh sweet, an emulator will do, thanks
 
7:06 AM
@ShrekOverflow So, that browserling guy was going to delete his facebook account but at the same time saw himself going viral on youtube? What was he doing on youtube at the same time? Searching video for how to delete facebook account? Ig :D :D
 
@RahulJain When looking for the link to delete it, he happened to see his "other" messages on Facebook, which there were gazillion of
 
7:42 AM
haha
 
hoi hoi
 
8:01 AM
hOi
Morning fellas
 
good moaning
 
muggughh
 
8:26 AM
hey what's up
 
9:00 AM
guise
 
good source of javascript advance level interview questions?
 
@AdeshShah 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.
 
@CapricaSix sure. thanks
 
playing with svg and d3 is so much fun
but now I have a question
 
omg
> Unfortunately, there has been a security breach involving NiceHash website. We are currently investigating the nature of the incident and, as a result, we are stopping all operations for the next 24 hours.
> Importantly, our payment system was compromised and the contents of the NiceHash Bitcoin wallet have been stolen. We are working to verify the precise number of BTC taken.
 
9:12 AM
Since my component's div will resize when the browser size changes, at some point it may occur that it will get small enough not to fit the d3 linechart I build, to which im passing a fixed size. Now, to go about that, what would be the best way? Listening to browser onResize() and recalculate accordingly?
 
@KarelG you had anything in there?
 
no. But that is a very big security leak
 
Nice one
 
Congrats, its me.
 
do you spawn him or just a troll ?
or it :P
 
9:14 AM
I think it might be the beggining of a new series
an inbox of Kamil every day
 
wtf, I just had to double check that I'm not crazy
 
it'd become a new meme
to be kamil'd
 
@GNi33 I had a flashback too
 
or to get kamil'd
 
This guy one-boxes Kamil, Ben responds and Kamil says "Congrats, it's me"
 
9:21 AM
e.g:
> Ha! you got kamil'd
this is the standard for now
@GNi33 so what :S
I guess Ben was being sarcastic
 
this happened yesterday as well, exactly like that
 
lol
maybe we're in the matrix?
and that's a dejà vu, just an error in the code
 
so my brain went into panic mode thinking that it just imagined all the stuff that had happened since then
 
maybe you did
 
probably
 
9:24 AM
you must check it
oh, and link here :D
 
Still need some fixing on the info panels
+ actually make the graphs responsive
tho I like how its turning out
whatcha think?
 
ben used "well done" before.
I recall it because it reminded me to ... steak
 
your OS is win7 ?
 
@KamilSolecki what will that be for?
 
9:27 AM
@KarelG at work yeah
@GNi33 aggregated analytics from multiple sources
for my business stuff
 
I like it
 
thoinx
 
is that chinese icon thingy "money" or zloty ?
 
thats yen :P
 
kek
 
9:28 AM
I found it somewhere in my svg folder
so I dropped it in for testing
 
going to use euro ?
 
PLN probably
 
of being classic with $ ? :P
 
10:09 AM
@KarelG does that mean everyone that used nicehash has lost all their btc
 
not sure if everyone, but a lot of people, yeah
 
oh wow thats gotta be millions
 
every mention of bitcoin just stings lately
64 million to be precise
 
oh wow lol
 
10:22 AM
@KarelG lol
oh wait
bitcoin is at $14,799.36
cc @littlepootis
 
@SomeGuy I find it ironic how browserling is being used for that :D
 
Yeah, it's quite amusing
 
I am redirected to login page every time.
 
Many many things can go wrong there
 
@Neoares yeah, at this point it just fucking depresses me
 
10:33 AM
@RachelDockter depends if they can recover it
it is high likely that the thieves moved the coins to their blockchains or simply frozen it
 
@ShrekOverflow, XRP, BCH, LTC, ETH, IOTA. All are only falling for more than a week :/ :/
 
how would they recover it?
 
moving to a different chain requires time. If they can halt the process...
 
ah, I see
 
s/15/50
 
10:43 AM
best source for learning nodejs ?
 
@Caster 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.
 
haha
@KamilSolecki I rarely close tabs. And when I need to visit a page, I open a new tab. Resul: 100+ tabs at the end of day
 
Is
$(el).removeClass("myClass");
$(el).addClass("myClass");
right after each other in the same function gonna trigger a page repaint? I would think not?
 
you have "painted" for < 1 seconds yes
 
10:48 AM
@GNi33 I was being baited since it was at 2k, after first big raise
 
I dont understand what you mean @KarelG
 
the only thing that keeps me out of salt is that, if I'd have bought bitcoin, I'd spent a lot of time looking at charts, speculations, etc
and I don't want that, actually
 
@KarelG I went from too many tabs -> too many tabs in too many windows -> too many tabs in too many windows on too many desktops
 
I was about to invest $5k when it was 2k xD
 
!!> new Number(0) === new Number(0)
 
10:49 AM
@ShrekOverflow That didn't make much sense. Maybe you meant: nef
@ShrekOverflow false
 
Not same reference
 
!!> new Object === new Object
 
@Neoares false
 
they are different objects, sooo
 
!!> new Number(0) == new Number(0)
 
10:50 AM
@KamilSolecki false
 
Wait
Wat
 
what what
 
@KamilSolecki I know I know
 
you're comparing memory address location
they're stored at different positions in your memory
 
10:51 AM
@Neoares Nvm Nvm i know i know
 
ok
 
I am not complaining anything
 
by the way
 
I know that exact thing
just wanted to point out Number(0) != Number(0)
 
is there a method you can define inside an object, which is used in comparisons?
 
10:51 AM
so if you ever do Number(blah) be careful
!!> new Number(0) == Number(0)
 
@ShrekOverflow true
 
like, you return a this.getNumber() which returns the number itself
and it's used for comparing
 
Thats my favorite :P
 
!!> typeof Number(0)
 
@Neoares "number"
 
10:52 AM
can anyone explain jsfiddle and similar apps (like codepen, jsbin, etc) to an idiot...?
 
!!> typeof new Number(0)
 
object
 
@ShrekOverflow "object"
 
That is the difference :P
 
so it's getting the value from the object in order to compare, I guess
 
10:53 AM
more like how to explain...
 
which gets me to the same point, where's the method it uses to do the comparison
 
I don't understand why its not using valueOf though
 
and second: can be overrided?
 
Aww yiss
I like my sugar
More sugar
 
!!> Object.is(Number(0), new Number(0))
 
10:53 AM
@ShrekOverflow "TypeError: Object.equals is not a function"
 
rekt
maybe store new Number(0)
 
@ShrekOverflow false
 
then my_object.equals(Number(0))
idk, actually
 
The best way to do so is parseInt
!!> new Number("1")
 
@ShrekOverflow 1
 
10:54 AM
ofc
 
Number is just annoying
 
Hi
 
at this point :D
 
@illeas 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.
 

« first day (2609 days earlier)      last day (2353 days later) »