« first day (1729 days earlier)      last day (3444 days later) » 

00:00
@BenFortune do you also control the server?
I control the server but I don't control the data that comes from it, since it's closed source
Does the data that comes from it contain IDs?
It's a teamspeak server if you were wondering
Basically, if you don't want to open a new connection per request you can't associate it with the server.
Nope :(
00:01
Never worked with those.
The only way I can seem to get it working is to only allow one request at a time.
I think I need to experiment more though, there's a possibility that it only processes one command at a time and may return them in order
Yeah, that's certainly possible with promises and chaining.
It just limits you to one command at a time which is very bad for concurrency and parallelism on both ends. If you can't open multiple connections or identify messages I'm afraid that's all you can do since you can't do anything on the server.
00:36
@NickDugger Happy birthday
thanks
00:48
> Ignored attempt to cancel a touchend event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
wow
@Abhishrek Very good
I am more impressed by the Error message !
@copy anyways i got it to work, without killing the scroll
haha
@Abhishrek really? I'm kind of interested in seeing this
wonder if the performance is affected at all
@nick have e.preventDefault(); in scroll
on a touchEnd
01:38
while(true)
@SebastianOlsen Welcome to the JavaScript chat! Please review the room pseudo-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.
Okay :)
Hey ChadF
Hey Sebastian, lets hop here: chat.stackoverflow.com/rooms/83009/…
@ChadF Welcome to the JavaScript chat! Please review the room pseudo-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.
What are your guys thought on nodejs?
Some of my developer friends at some big name companies say they don't have a lot of respect for it.
but it's my primary framework -_-
01:54
Well, it's JavaScript
What's wrong with Javascript?
Sorry I'm just generally curious
The standard library is tiny, it has many quirks, no multithreading, try-catch is broken, weak typing, it's not powerful (unlike Python and Ruby), …
Oh woah! That's a big list... What does weak typing mean?
Thanks for the reply btw.
It tries to guess what type you want instead of erroring, but the automatic conversions are often useless
For instance 3 + [1, 4]
Gives you a string: '31,4'
no wayy! that's terrible!
02:04
JavaScript also has some positive sides. Great tools, fast interpreters, simplicity
So the debate is ongoing
But the majority of developers dislike it
02:31
@copy I like your honesty
@copy I like your smile
Thanks
Internet people
I think I've studied enough for one day
gonna go play some GTA5 :d
!!afk
hi! anyone here good with react?
 
1 hour later…
04:04
@Abhishrek It's a flat
So no
@OctavianDamiean Took a while, but your magic worked! Tada!
@jaime shoot
@MadaraUchiha Can't comment on :visited, don't know much about which properties are allowed and not
05:28
Hi,in javascript how to get the gmail firstname and last name of login user
@malli Welcome to the JavaScript chat! Please review the room pseudo-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.
user406009
@malli You should look into Google's developer apis.
@Lalaland can u provide any reference link.
hi all
@argentum47 Hiii...
If I have io.js probably the latest, and I have ` "start": "node --harmony ./bin/www"` inside the scripts in my package.json .. is it normal to have import User from '../models/user';SyntaxError: Unexpected token import when I do npm start
@malli hello ... waddap
user406009
@argentum47 Have you tried the --harmony_modules flag?
yep
sigh should have learnt typescript
It's not like it's difficult to move from JS to TS :p
user406009
05:46
Just use babeljs if you want the latest and greatest features.
user406009
And flow > typescript.
@Lalaland strongly disagree
there should be a internet police to stop JS frameworks .. its so hard to keep up..
7
I've been looking over the example linked from stackoverflow.com/questions/31344716/… trying to figure out why it's not using a Collection with no luck. Anyone smarter than me around? This is bugging me.
@argentum47 But then we'd still be using JQuery...
jquery is fine.. its just bloated ..
05:50
then it's not fine
no I mean there should be standards.. like Angular, React, RxJs, Backbone these are "big" things ...
people comming up with a framework every now and then isn't a good thing. it only indicates the lack of the existing larger frameworks are not covering enough ground .. I guess.
Distributing the work in such a way is making things difficult.. like react + angularjs = big fail
None of those "big" frameworks grew from a vacuum
yeah that's true .. but shouldn't it like a lot of different things which are pluggable into one another (in most cases) ... to make a complete application.. like chaos theory
Its becoming the same case with java as well XD .. first I want to learn a framework and then looking at all the discussiions about which framework to use which not to .. I felt its better to forget frameworks and continue using Java XD
@argentum47 jQuery is 4 times bigger than Backbone.
06:00
@phenomnomnominal but if you want to use Backbone Views or Sync it requires JQuery (or Zepto)
Yep and zepto is like 9k
hm, and its also bad that Backbone and jquery and underscore comes together ... It should come with only the core zepto + the xhr .. I think that's what should satisfy most of the needs
@phenomnomnominal thanks, will be looking into that
I'm sure we can all agree that what @argentum47 said is stupid.
06:03
why
Because innovation is a good thing, and you can't have innovation if you stop people from making new things
hm, that is there as well, in that perspective yeah it was stupid of me to say that ..
06:21
sra1 added the this link to the comment of his/her own answer :D :P
@argentum47 it was posted as a comment to the question; either way, a link-only answer is NAA
@argentum47 modules are not supported anywhere yet
anywhere
moriningz
I seriously need to do 3 things. get work, arrange some small "workplace" at home, and get a kindle.
@AwalGarg Sounds like you need to pull up a table and start working on building a kindle. Three birds with one stone.
06:26
get freelancing? for first problem?
@argentum47 how?
Do you have any contacts in the industry? Previous employers, people from school etc?
Most of the freelance stuff I do comes through people I already know
no :(
I dunno how to do freelancing .. at freelancing.com there is a process of bidding ... most projects are hilarious, and serious ones are in php(laravel) mostly .. and apps.. but getting started is not easy..
I am in college (freshman) @ivarni
@argentum47 yeah... "getting started"
pluralsight invited me to make tutorials for them. I wonder if that's any good.
06:30
You should do it!
@AwalGarg I know of people who make good money from that
@AwalGarg Did you decide what you were going to do? (Engineering or BSc?)
@SomeGuy yep, BCA. I like the curriculum and college.
Has college started?
nope. August 1st.
06:31
Ah
Well, best of luck!
thanks
there was another website that keep popping in facebook .. I guess ths one upwork.com
@argentum47 magento... eww.
@argentum47 oh, oDesk with a new name.
@AwalGarg and then there wil be wolverine ..
I was going to suggest programmers stackexchange but they don't seem to be overly found of freelance questions there, maybe you can find something on careers.stackoverflow.com ?
06:43
@ivarni ooh I have a careers profile as well.
completely forgot about it
I'd say if you're just starting out pretty much any kind of work you can add to your portfolio is a good idea. I would definetely run with the pluralsight thing as well, if you create good/popular tutorials then that's a great thing to point to for anyone wanting to know your qualifications
user2620028
@argentum i have used odesk/upwork a bit and have gotten some serious projects there
user2620028
@argentum and by serious projects i mean they paid me.... not that the projects were monumental
then the website is legit, for starters. But how did you get your first job/work/gig ?
user2620028
@argentum47 just filled out the profile and applied to things i have relevance in and the interviewers did their thing from there.
06:50
@ivarni The issue with pluralsight is that I don't have the stuff needed to properly follow it. I can't have a dedicated silent place to record the tutorials at for more than 5 minutes, for instance..
@AwalGarg There's nowhere at school you can use either?
user2620028
Keep in mind odesk/upwork requires you to have your webcam on while you are completing the work. So it gets pretty personal.
@HatterisMad ok, so the interviews ... atleast is better than that freelancer.com there one has to bid ..
ow..
user2620028
@argentum it depends completely on the person/company hiring you.
06:52
@ivarni hmm, don't know if we are allowed to carry laptops to college but sounds like a plan.
user2620028
They range in intensity. Some are professional and some don't really act serious
user2620028
@argentum i like odesk/upwork I even set my girlfriend up on the website cause she wanted to do copytyping.
as long as they pay .. I will be happy :D .. but its better working with professionals because of the experience I guess
made this?
user2620028
06:55
@argentum just logged into my account and screen grabbed that
@AwalGarg I don't know if this is common in other countries, but over here several of the larger libraries have "study rooms" where you can close the door and be alone, could also be worth checking out
oh .. ok ok.. :D 55$/hr is nice
user2620028
I am not making $55/hr lmao
:D per job?
user2620028
No i have a customer support job i am doing.... Ongoing.
06:58
@ivarni Yeah we don't have them here. But most students here don't go to libraries so they are mostly empty :D
hey @HatterisMad you found a job?
user2620028
I am at a weird point in my life... I am working for breadcrumbs.
user2620028
@taco lol same two jobs i told you about before. Customer support online and teaching english.
o
and being a lady boy
user2620028
Neither one really my field lol
07:00
ah I see. why dunt you go for startup companies or stable big companies in your location .. then you can keep doing the freelancer without worrying for bread
user2620028
Well yeah of course that goes without saying right?
user2620028
@argentum47 i am living in Thailand right now and I dont speak Thai.
@AwalGarg In engineering colleges library == lover's spot .. I once went there to read Practical Programming using C. and I never went back ever again .. so annoying.
user2620028
Also dont have my degree because i cant get loans to pay for my last semester
@argentum47 yes also that. seriously frustrating.
07:03
@HatterisMad ow, that's bad ...
user2620028
Weird man. The library in our school was super quiet and only nerds showed up lol.
user2620028
@argentum47 i told you man.... Weird time in my life haha.
user2620028
i have never managed to get a programming job either.... I was stupid and turned one down when i was 16 and again when i was 19 and havent gotten the opportunity since.
@argentum47 he's whipped. he followed his girl there! :p
user2620028
07:06
@taco hey man it seemed like the best way to continue my life. Regardless of her.
just messing, man.
user2620028
I know but i get that every day lol
awal.js.org/especser/#B.2.3.2.1 copied this algorithm. now no one can tell me not to construct html manually.
I know people who haven't left their home state.
07:07
I work for a company that hires out devs on an hourly basis, they supply sales people who gets us contracts, do all the taxes and stuff and then take a cut out of what we bill. That's a pretty good setup in my opinion, not having to run around looking for work all the time is great
user2620028
It stops being funny after a while.... Especially when my ducati is sitting at home not being loved.
@HatterisMad your dad probably sold it by now
:D
user2620028
@ivarni yeah that definitely sounds ideal. I have been trying to find a place to get my feet in the door but..... Yeah lol
:O you has a ducati .. why stay in the City of Tony Ja
user2620028
@taco thats why i left it with my mom lol
07:08
haha
@HatterisMad heh, smart move after that stuff we talked about
@HatterisMad Yeah, getting that first gig was the hardest, I worked a few years on fixed pay before daring to go into contract work
user2620028
@argentum47 in america you can buy second hand ducatis for like $2-3k
@ivarni how do you get contract work
user2620028
@taco you would think that but now it runs the risk of it having a big block chevy in it by the time i see it again
07:10
that's still a lot of money in here
@HatterisMad lol
awal.js.org/especser/#B seriously, this is the most interesting section of the specification. must read.
user2620028
@taco the first thing she did with it when she got it was ride it down the road in a full wheelie
wtf
is your mom single
user2620028
No lol
07:10
j/k
That's pretty cool
user2620028
@taco you dont remember my mom is an engine builder?
@taco Well, now I've been in the industry for a while and know a lot of people so work kind of comes my way. The last two projects I did that did not come through the company was referred to me via friends
@AwalGarg I can't see the spec if I dun't have a local copy .. why u do this. :'(
@HatterisMad no
user2620028
She had her own 1100 virago lol
07:11
@ivarni i see
thats a cool mom..
man 1100cc?
@argentum47 just click update. you must read it.
@taco The gig I'm currently doing through my company came because I knew the architect of that project and hooked him up with my sales dude
user2620028
Yeah 1100cc virago. The last year they made em.
07:12
I couldn't even ride on that....
user2620028
@taco my mom trained me how to drive a racecar since i was 3 lmao
wow
doesnt thailand have racing tracks.. that should make you rich.. or like Jason Stathom Transporter
I'm probably about to take a sysadmin job and getting out of dev
user2620028
@argentum47 hahaha i don't have a car to race and honestly it would be boring compared to what i normally race
user2620028
07:18
@taco you can ride an 1100... if its a cruiser its not even heavy
user2620028
In fact i took my motorcycle license test at the DMV (no safety course) and passed it in my first try on a stretched 1100
I wouldn't dare ride an 1100cc, it's not that I couldn't really
^ this
I would kill myself on a bike like that
my scooter is 50cc
user2620028
@taco my ducati is a 900cc chain driven bike.... That was my first motorcycle
user2620028
07:21
You mean you would die from going too fast on a highway? lol
something like that
hahahah
user2620028
i found out on accident that third gear in the ducati would easily do 120+mph
user2620028
out of 6 gears lmao
holy shit ...
user2620028
07:27
Yeah thats part of the whole i drive racecars problem
I did 132 mph once.... but I was on a race track....
user2620028
i didn't realise i was doing 120 lol cause it still looked relatively slow
user2620028
my speed judgement is way off
user2620028
i am thinking that 150 == 95
closest I came on the road was like 111mph in my z24 cavalier before the governor kicked in
I wouldn't do that now though.... i was young and stupid
07:28
do you not feel fear at such high speeds, specially when driving?
user2620028
ahhh on the road in my miata i did 105 and the front tires lifted off the ground with a gust of wind.....
...
user2620028
@argentum47 not really..... at all... probably not a good thing
user2620028
@taco i had manual steering and the steering stopped vibrating and had no feeling... i was like uhhhhhhh fuck
hm, I need to learn driving.
07:30
I had that happen a few times. I was probably going about 110mph on a motorcycle and the tires started floating..... then again I was playing Grand Theft Auto 5
user2620028
in bangkok the roads are like ramps and so i end up jumping my street bike going 60mph on a daily basis... still waiting for the frame to just disintegrate
If Top Gear taught me anything, everybody in Thailand can probably fix your bike so no worries
user2620028
wasn't that vietnam?
yes
user2620028
lol but yeah thailand is the same way...
user2620028
07:33
The problem is none of them have any idea why the parts do what they do
That American bike tho, lol.... so red white and blue
user2620028
So they don't know when to grease bolts or when to polish bolts, or how to do anything inside the engine at all
ah
user2620028
omg that was such a bad bike to take to vietnam lmfao
lol
user2620028
07:34
I waited three months to find a mechanic that could set the intake valve on my bike
i should go to bed, g'night guys
user2620028
night tacquito
don't call me that... >:O
user2620028
see you dad
later
proper morning
@Zirak useless but nice
08:10
Long shot, but has anyone used any of these react-hot-loader starter kits? I just want to play with hot loading and not spend two days configuring webpack...
Hello Javascript!
How popular / useful is Google Closure Compiler?
I'm currently learning it, it's pretty elegant but I'm wondering if it's worth my time.
@Unihedron nah
08:19
@AwalGarg Oh.
Some projects switched from UglifyJS to closure when it came out. Then switched back.
Doesn't bring anything really awesome to the table in terms of minification in comparison to uglify, but causes a lot of problems.
@Unihedron That depends: If you're doing the simple minification then it's not worth it, but under advanced mode, nothing competes with closure.
Closure is seriously impressive in understanding your code. If you use it correctly under advanced mode, and you wish to sacrifice some of your time to earn that compilation bonus, then do it.
also note that closure compiler chokes a lot on code compiled by babel. but I think some issues got fixed recently.
@Unihedron The only place I'm using GCC is when I need to minify JS from Java
why would you do that o.O
@Zirak TBH I have observed the difference between file size when gzipped is not much between uglifyjs and closure compiler advanced mode.
08:25
@AwalGarg How large was your code? How was it structured?
Why would someone stick a MIT license on a boilerplate project? My brain hurts now from trying to figure out how to deal with that
@ivarni MIT is pretty permissive. It's not like GPL in that your code following it needs to follow many restrains.
@Unihedron Yeah, but I can't alter or remove the original license, but I don't want to license the entire project to a different person just because I used a boilerplate
For instance, if you have your own helper libraries, closure will get rid of all definitions you done use and most likely inline a lot of the functions. It's a big bonus.
@Zirak 1.2 megs of vanilla js. just a compilation of all the helper modules I had written until that time in es5, which were unrelated to each other to form a library.
08:27
Oh, for libraries closure is weird, yes.
meh it's just trying it out and seeing
uglify js compiled it to 200kbs which gzipped to 80kbs. cc compiled it to 120kbs in advanced mode which gzipped to 75kbs.
good that I kept figures. I should put all this in a gist.
screw using a boilerplate then, I'll just figure out how to configure webpack myself
I wish more people used wtfpl.net
I use it. I love it. I don't have any cool projects though.
@ivarni I don't use it because it doesn't protect me. I use ASL instead.
And dual license with LGPL.
The ironic thing is that I'm just building a new personal homepage and I doubt anyone is ever going to even look at the source
08:33
Keep the license then. :P
I'm not convinced Dan Abramov wants his name on my code :p
If I keep the license from github.com/gaearon/react-hot-boilerplate it's basically not my code anymore so I'd have to sublicense and that's where I got lost
The open source site is pretty lame
Yeah, no proper direction.
08:39
100 free rep for signing up though, weeee
"accidental"
"penis"
Awal Garg aka Rash - The Dark Lord
Are there any advantages to transpiling server code in a build step over the require hook?
(Babel)
08:58
speed
hey its saturday, I can code all day on my pet projects
morning all
@ivarni @MadaraUchiha was right. the tag appeared today.
home if I do this I get 2 results:
document.querySelectorAll('div select')
but with this 0:
document.querySelectorAll('div select:nth-child(1)')
probably because the first child of your div is some empty text node which you didn't mean to insert
oh.. I see lots of nodes like that
thats from the .hbs
I wonder how I can tell ember to not put in those nodes
09:12
no wait, I am wrong. Ignore me.
css selectors do not care about text nodes. they only care about elements.
I get a result with document.querySelectorAll('div select:nth-child(6)')
[<select>​…​</select>​]
but all I have is
div
  select
  select
works fine with a div/ p combo
@MadaraUchiha hi, I was thinking about the fiddle you posted last night http://jsfiddle.net/30qcd2ss/ I was thinking that perhaps we should change it so that the event target goes backwords using the parent properties up the dom (checking for siblings), until the <html>.

This would be more robust as the path property route of the event wouldn't be guaranteed to be unique..
09:32
@argentum47 halp
@SuperUberDuper Iterating through that parentNode properties isn't guaranteed to be unique either.
@SuperUberDuper Huh?
09:52
hi guys ive been trying different ways to debug this problem but couldn't find a way out. im fairly new to JS and trying my hands.

so i pasted this problem here: https://stackoverflow.com/questions/31322876/correct-way-for-onclick-binding-in-button

the required html and js files are there (not just snippetsbut its short);

Iven't received a response there and its been a while. some help would be appreciated.
@user2290820 Welcome to the JavaScript chat! Please review the room pseudo-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.
@user2290820 Welcome to the JavaScript chat! Please review the room pseudo-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.
@AwalGarg hulk will be back in 10 minutes after lunch
ok np. will see you in the miaou room :)
10:08
o/
\o
Morning btw
@Unihedron This one permits all and includes a no-warranty statement, choosealicense.com/licenses/unlicense, that's what you meant by protection right?
10:32
Hey guys..

why is when you reduce the browser size to see the responsive design on a website and it just crops the site rather than going to responsive... but when you check on a mobile the site is fully responsive and has a mobile design.

How does that work? I thought if you reduced the browser window it would always show the responsive design.
@ivarni That explicitly releases it to public domain. Anyone can steal my code and claim it as their own. That's exactly the opposite of what I want.
Also, I'm well aware of licenses, but thanks for linking it anyway.
hi guys. just want to ask if prototype is the same wth constructor function?
morning
10:53
@JoeConsterdine Google for media queries, they're one of the techniques employed
@user3783598 The prototype is the object you derive from; the constructor function is what's called for initialization and things like that.
@Zirak yeah I know what media queries are but I don't understand why the responsive design isn't showing in the browser.
because when you view it on your mobile physically it's completely responsive
@JoeConsterdine That depends on implementation, some do, for instance purecss.io/start (scroll down to the Responsive Grids section)
@JoeConsterdine that's generally referred to as adaptive
rather than responsive
11:10
@phenomnomnominal What's the difference?
Adaptive means the site is rendered based on some parameters of the device that makes the initial request (possibly rendered serverside and then sent)
Websites are responsive by default. It's us who break them and then spend all that energy "fixing" it.
Responsive means the client can render the site for any given resolution
!!google motherfucking website
11:13
roughly. There's a lot of other shit that kinda goes with it.
@MadaraUchiha Yeah, that's why it's better to start mobile first rather than the other way round isn't it?
@JoeConsterdine It's better to start mobile first because 1. it's easier than the alternative and 2. there are more mobile users than there are desktop users.
and 3. You tend to get a site that works on both, rather than desktop first which NEVER work well on phones.
and 4. You tend to be in a mindset of considering other factors (size load etc)
yeah I need to spend more time learning responsive design. I only write basic media queries at the moment.
I suppose the planning is most important
Killing Nazis is most important
11:26
@Zirak really time travel is most important. Then you only have to kill one Nazi
@phenomnomnominal It's never that simple
Believe me...I've tried. I've tried
You just need to believe
@Zirak you possibly wouldn't enjoy the song, but I think you'd enjoy the lyrics to the song Hey Judas by Möngöl Hörde
> Genre: Noise Punk
haha
@phenomnomnominal You were correct
11:35
Excellent
I am trying to use an auto-refresher on a site, but it doesn't work. What have they done to disable auto-refreshers to their website?
I am guessing it is some rad JavaScript thing
any ideas?
change your server to push data to the client with sockets or SSE and update the data that way?
11:53
@MadaraUchiha nailed it. I love how he plainly declares jQuery(ui) as useless. (I mean I agree with it ofcourse)
@AwalGarg The point of these websites is that all problems are problems we create ourselves.
We use highly opinionated, crappy tools, and then we spend a ton of energy fixing the problems we caused ourselves.
All those lame-ass jQuery carousel plugins and whatnot
Please tell that to rlemon.
@MadaraUchiha noahstokes.com
3
11:57
She's just lovely though. Such a nice voice.
@Zirak lmfao

« first day (1729 days earlier)      last day (3444 days later) »