« first day (2050 days earlier)      last day (2899 days later) » 

Ekn
9:07 PM
@tereško this , this , maybe this too and this as well has a part for it. (I had them bookmarked fsr)
 
awesome!! :D
 
Sponges, that is all.
 
@ReeceCottam 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.
 
@BadgerCat summoning!
 
around the world in 98 days...please send me a boat and a skipper
We'll find a pot of gold!
 
9:15 PM
hya
 
what's up, homies.
 
hi Luggage
 
We seriously have no lives whatsoever.
=D
 
9:22 PM
=D
 
hardware accelerated rendering must be on for webgl
 
my hardware's always accelerated =D
 
@doug65536 I have that checked, yes.
Also override checked.
Also have drivers all updated
Been trying for all morning XD
 
@jAndy you called? :)
 
9:33 PM
ah
I'm slightly confused. When do you skip words like "nosotros"? Like if you say, we eat rice... "nosotros comemos arroz", nosotros is not mandotory isn't it
why is it there in the first place?
 
to help beginners?
 
if we just can say comemos arroz
it confuses beginners :P
 
right, think about it this way... a native speaker would use the subject if they want to emphasize or clarify
 
but... if you want to say... "we DON'T eat rice", you have to use "nosotros no..."
right?
 
yeah, sounds better with nosotros in this case
 
9:37 PM
No it doesn't
No comemos arroz.
 
could you just say "no comemos arroz" too?
 
sounds fine.
@jAndy sniped XD
 
yeah
 
Ekn
both sounds fine though
 
9:37 PM
yeah, you can go either way
 
although I am not authority at spanish
I suck at it
 
well... if it isnt mandatory... I'd skip it everyday all day
comeone... NO SO TROS
that is a loooong word
for no reason
 
sure, but then make sure the conjugation is right
 
exactly
make it shorter
there are a lot of common spanish words they should really make shorter
 
yea that's probably the trick, you have to know all the conjugations as beginner
most confusing stuff for me right now is to differentiate between things like "ellas" and "vosotros" for instance
 
9:42 PM
you can go without vosotros like us latin americans
 
I go without it too.
 
nosotros no comemos carne, no comemos hueva..., no bebeos leche.., exclusivamente fruta!
that helps as vegan if I ever travel into a spanish region :P
but after all I kinda like the language, I guess I will dig into it
especially because there is no spanish word for "vegan"
 
doch
'vegano'
 
google translater doesn't know
 
stupid google
 
9:48 PM
indeed
the real stupid thing is, if you translate from German->Spanish, it will translate "Vegan" with "Vegetariano"
but.. if you translate from Spanish->German, "Vegano" actually translates into "Vegan"
wtf
 
yeah wtf
oh hai bestie @Ekn
 
Ekn
ohai @BadgerCat
 
aaand brb yoga
 
10:05 PM
@Ekn hello sexy
wanna meet irl?
 
Ekn
:D
lol please don't ban or stuff, anyone
hi partner :p
but don't do this again, please lol no :D
 
jk, obviously. people have no idea we're partners so, thought it would be funny but you kinda ruined it. I wanted to cause a shtstorm
:D
 
Ekn
lol
 
guyses
why is $(window).height returning the document height and -not- the viewport height?
check it:
is that normal behaviour?
 
not really
thats weird
 
10:12 PM
@AaronHarding thing.innerHeight()
 
@doug65536 $(window).innerHeight(); also returns 1564
jquery 2.2.4 here
 
then it is
it is 1564, and its parent has overflow?
 
thing.parents().each(function() { console.log($(this).innerHeight()); })
 
html has nothing on it apart from no padding, no margin and box-sizing: border-box;
@doug65536 sorry i'm not sure what you're asking.. window has no parents
 
10:15 PM
what are you measuring
you want screen size?
 
window
 
I tried to replicate it somehow but no luck. It always returns window height to me
 
$(window)
 
what is your actual window height?
 
then in your css put html,body { width: 100%; height: 100%; box-sizing: border-box; position: absolute; }
 
10:15 PM
951, check my first screenshot ^^
@doug65536 yeah that fixed it
 
the page shouldnt need to know the screen size, you are usually hidden from it. but if you say the body is 100% of its parent then it is
 
even just html { height: 100%; } fixes it?
 
well, be careful. make sure you check both ff and chrome
that css line I gave basically puts a gun to the browsers head and says make html same size as viewport
 
so... witcher 2... is it just me, or was it really short and anti-climatic
 
@doug65536 yeah i understand, i'll have a look
thanks though!
 
10:18 PM
np
 
perhaps this is something to bring up with jquery or is it not worth it?
 
I think it is by design
html isnt supposed to be fixed to viewport height
 
agreed
 
if you want that, say that in css, and you're done
 
@doug65536 ahh yeah makes sense, it's also not in jquery's docs
it's usually people saying use window.height to get the viewport height
 
10:21 PM
I try to steer away from code like that if possible. you can control most stuff with css. getting height() is a sign that you are trying to manually do css's job
 
@doug65536 i was using a lightbox
ran into this issue where some lightboxes were being placed in a weird way on the page
those lightboxes where when the page height was > viewport height, hence the issue
 
I'm not saying don't use height though, it's fine when css can't really do what you want
 
and so on
 
I see. doing manual media queries
why not media queries
 
@doug65536 this part of the script was positioning the image in the centre
and also scaling the image down so it it fits into the viewport + a small padding
it's not my code, i was using a library ^^
if you're looking to dig in and find a css solution then go ahead but yeah, it's not my code so you'll only just be educating me :3
 
10:40 PM
@Luna omg a couple!
 
@BadgerCat omg a badger cat!
 
One time my bf told me "tits or gtfo" in the python room and they banned him :)
unfortunately they deleted his messages
 
well, he deserved it
 
right
 
11:16 PM
I misread, my welder doesn't work on 110v
220-240
:/ means I have to run an extension cord from the house to the garage from behind my stove
or put a 220 outlet in my garage
cc @Josiah :/
 
11:29 PM
@Loktar is this you?
 
has anyone read this and understood what he's saying?
 
11:48 PM
@AaronHarding that guy is funny. "I’ve been building serious apps in JS since the ‘90’s." I really want to see these apps :)
 
@le_m yeah this whole article seems to be a bit off a 'pls believe me guise'
but i just want to know, if i'm not inheriting anything, will be happy with me if i'm still using classes?
i want to understand how he instantiates like 10 or so objects of the same type
 
It's eric elliot so I'm gonna assume one of his coworkers used the class keyword and he's upset
 
or more what i mean is 'here are loads of examples so pls believe me'
@Meredith hehe, well i don't know the guy. he sounds smart and i can respect his ideas.. he just isn't proposing any solutions to all the questions something like me would have :l
and by someone like me is someone who has never used inheritance, i usually just pass things to classes during their instantiation if that class needs it
 
He's a very good developer
But he just drones on and on about how OO is bad
And it definitely is bad, but he's just a fanatic about it
 
it is easy to say what not to do
it is harder to say what to do
 
11:59 PM
His son story really doesn't have any content. The only statement he makes against class inheritance is: "new modules brought new use cases that nobody thought about at class design time. These new use cases required changes to the base class to make them work — but dozens of modules depended on that base class, and the various classes between that base class and the new module class." - How about versioning?
*sob storry
 
I agreed with it, but I still use 'classes' and inheritance. I've seen, many times, other dev's trying to reduce repetition with a base class that get's too gnarly.
 
yeah man
 

« first day (2050 days earlier)      last day (2899 days later) »