« first day (1481 days earlier)      last day (3469 days later) » 

5:00 PM
I see Robert has joined us.
 
@rlemon someone talks about you ^
 
is Node.js is worth learning ? did this will count a good a paying job ?
 
@eazimmerman sorry man, I am just one person :D
 
@anish Probably no (not yet)
 
@anish if you want to learn a language for money, and not just to know more and be able to do more, just take C#
 
5:09 PM
@anish nope, don't learn to program
 
If you want to improve your skills and everything, learn what you have time to learn, and what is subject to interess you
 
@mikedidthis I hope my site is almost done, remember I wanted a full wordpress theme instead of an avatar. I need it by the end of today so you need to hurry!
:P
that joke never gets old to me
 
there are lot of js technology are coming like vertex.js,node.js,expree.js,backbone.js
 
!!tell loktar ead
 
As a developer you will almost always make decent money. So just cut the "but does it pay more than other languages" crap
 
5:10 PM
haha
 
@loktar Eat a Dick™
 
\o/
 
@Loktar wordpress website in one day? easy.
If you add "Easy Post Type", two or three ACF Plugins and the WPML one, you have an easy evolutive website
 
@dievardump please send me a zip file to isellwordpresssites@hotmail.com
you seem to know what you're doing. I need it by 3 cst
 
Do i add the GruntFile.js that create an "easy to go" project with that already implemented?
It asks for the doomain, two or three idents, and here we go, a wordpress website working at <%=cfg.domain%> :(
(I'm almost kidding)
 
5:19 PM
lol
I prefer gulp
please make it gulp
my coworkers installed it on my machien
 
I usually use gulp
But the company I was working with uses Grunt
 
lol I cant imagine someone asking for a free template actually using any task runner
 
आज पीएम मोदी ने Made in india का नारा दिया है। आइए पहल करें अमेरिकन एप WhatsApp की जगह इंडियन TELEGRAM को अपनाएं। आखिर यह पहला भारतीय सोशल मीडिया एप है। चीनियों ने WhatsApp को ठुकरा कर मेड इन चाइना WeChat को अपनाया है, तो आखिर हम पहल कब करेंगे? Whats App एक साल इस्तेमाल करो और बंद करो उसकी एक सालकी कीमत 56 रुपये है भारत में कुल 20 करोड़ भारतीय Whats App इस्तेमाल करते है तो 20 करोड × 56 रुपये = 1120 करोड रुपये भारत के बाहर जानेवाला है जानकारी के लिए क्रुपया ये Message सबको भेजो और TELEGRAM डाउनलोड करो।।।
 
You don't ask for
 
@AwalGarg ^ who the heck is making these -_-
 
5:20 PM
You install wordpress and in the administration you install the template. It's easier to install a free template in wordpress than being able to make number 2 your first week-end at your girlfriend's family house
 
Telegram is RUSSIAN :-/
 
@darkyen00 no idea
 
though i like the concept of people moving to Telegram
but seriously this is idiotic
poor hike :-(
their whole USP seems like : Made in India, and hence its prone to tons of bugs... cause we are best at TECH SUPPORT ... bah dum tsssh
 
@darkyen00 I don't see why we have to recreate everything in india if some good foreign service is already available :/
 
@AwalGarg me neither, but oh well.
 
5:26 PM
@darkyen00 LET US STOP USING GOOGLE AND START USING <NEW INDIAN SERVICE>!!!
 
google.co.in exists\
 
@darkyen00 lol it's not "made in india" :D
 
@AwalGarg an economical point is though, if we support our products to become better than foriegn ones
we get better.
its more like incubation :P
 
Creating new and better services is good, but forcing people to use them and behave like swadeshis, this concept is a POS.
 
@AwalGarg let see how that goes.
 
5:29 PM
Further, they are copying that concept as well from China... where is the point then?
@darkyen00 Are you sure this is not just a rumour?
 
@AwalGarg Telegram is supported by Pavel and Nikolai Durov. Pavel supports Telegram financially and ideologically, while Nikolai's input is technological. To make Telegram possible, Nikolai developed a unique custom data protocol, which is open, secure and optimized for work with multiple data-centers. As a result, Telegram combines security, reliability and speed on any network.
 
@darkyen00 If it something really innovative and good, I would love to see and use it.
 
@AwalGarg I am working on something like that.
but its bangalore only for now [Am working as a contractor]
 
@darkyen00 :D nice
 
its kinda bad that i am at himalayas delivering their product :-/
un-wanted delays
some wordpress idiots screwed them up really bad :-/
 
5:37 PM
wordpress lol
 
@AwalGarg its awesome
but for their extremely customized use-case
it was rather more painful.
 
hehe ok
 
wanna see ?
 
yes ofc
 
@AwalGarg got an IM ?
@AwalGarg i kinda did.
 
5:41 PM
kk
 
6:00 PM
All your gifs belong to us ^
 
Can anyone explain this Array#reverse() phenomena?
 
"phenomena"?
 
oops sorry, ignore my question
 
What do you expect the sort to do there?
Right
 
my bad, its doing the right thing
 
6:10 PM
 
@mikedidthis luckily i am multiple people
 
6:27 PM
GGUUUUYSSS!!!!!!!!!!
Nexus 9 released!
 
Welcome to two weeks ago?
 
@SomeKittens ;p Ain't sure how I missed that news... I feel retarded
and I still don't have a GI invite, I feel even more retarded due to that.
 
Hello Any Javascript Pro here?
 
@Vishnu 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.
 
6:30 PM
Everyone here is a pro
 
@copy ahem... I am also here.
 
You're a pro at making annoying jokes
 
^ like that?
 
@copy in the words of Cameron Frye from Ferris Bueller's Day Off "A professional what?"
 
Everybody's a pro at something
 
6:33 PM
a pro at being a PRO
2pro4u
 
copy is a pro at copying
 
How to calculate packet loss using Javascript/PHP?
 
There's no packet loss
When using TCP
It's abstracted away
So to say
 
1 line -> 4 messages
 
wrong chat..
 
6:40 PM
uhhh... is a 525kb image too much for a spritesheet of a simple game?
 
user2620028
Well i just got a computer at my new job. Just took several days. How is everybody?
 
No
 
^
Yeah thats not bad at all @towc
people generally accept loading times with games as well
 
 
None of those images should be half a megabyte though
 
6:45 PM
I don't like al of those lines between the blocks (those are not all of the blocktypes btw, and there are also some entity sprites which are not shown), so I figured that I should make an image for every possible line-case. Not sure if it should have done with the program and just make the rendering itself a bit slower or precompute an image with those line-cased blocks and have the user download something that could probably not be necessary
 
Why did they switch to 4:3 damnit :(
 
@copy dude.. do you not see the mens?!
 
s/e the //
 
Who did work with a redis-node in node.js? There is a an error:node_redis: no callback to send error: WRONGTYPE Operation against a key holding the wrong kind of value
 
@AllenDegrud 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.
 
that is 525kB
most of it it's empty, but I still have to fill it
 
@towc no way dude
 
Ah, that's probably fine
 
no
 
6:52 PM
For a game it is
 
@copy the door will be a huge problem if I want to represent all of the blocks behind it
the means every case of every block that makes sense (not acid (the last green thing), for example)
 
Transparency?
 
@copy doesn't that double the information contained by the image or something?
 
no transparency... half an mb for that?
 
this has currently no alpha channel
 
6:54 PM
if you don't need the alpha channel, don't use png
 
@towc Not as far as I know. Try it
 
though it's still probably the best solution
ok
 
dont prematurely optimize @towc
 
@AwalGarg Why not?
 
@AwalGarg it's still the most compact standard
 
6:54 PM
@towc no, an alpha channel is only 1 of 4 channels.
 
imo even a 5mb dl for a game is totally fine on the web
the mozilla humble bundle had some hefty downloads
and people were cool with it
 
@towc then use the alpha channel
@towc quick convert of that image to jpg with no quality loss gives me an image of 50kb
 
ok, now: I'd hate to do the art and when later I'll change the images I'll have to go through the process of manually rotating and fixing shit, so I probably want to get my mind set with the art. Has anyone here got nothing to do and can help me make it?
@AwalGarg oh, I guess I'm wrong then
 
@towc yes you are
 
yay, lost 1 internet point
 
6:58 PM
:D
 
Still use the alpha channel though (what @Loktar said)
 
balance: -20
@copy right
 
I agree with @copy on that
but if alpha channel is not required, and file size is a concern, jpg is ftw
 
ok
 
^see that @towc?
 
7:00 PM
yeah
 
won't jpg always have quality loss?
 
I can further optimize it by collapsing all those white pixels which would reduce the size by 50% more... but I am lazy ;p
 
There is no such thing as loseless JPG
 
again, I don't think I need that
 
And for heaven's sake, don't use jpg for vector-like images
 
7:02 PM
does canvas have any performance changes based on me using png or jpg?
 
@towc no idea about that
 
my game is currently running at 30fps, which is bad
 
That's not a vector-like image though
 
@copy: I mean like straight lines versus photo's
 
@towc how did you create those shapes?
 
7:03 PM
Oh, and that png @towc linked is 7.37 KB
 
@AwalGarg drew them
@Cerbrus probably imgur compacted it
 
Possibly
But that's a heck of a lot smaller than the jpg
 
@towc how?
 
And png is lossless
 
@AwalGarg paint (don't scream at me)
 
I have only used AI but inkscape might be better for you? I am not sure about that.
 
For sprite sheets? Illustrator?
 
gimp
 
That's like using a F1 car to do your shopping
 
for vectors
I need to learn gimp damn
 
7:10 PM
GIMP for vectors? No way, jose'. If you're cheap, go with Inkscape
AI is really the best tool for vectors, though
 
dest.drawImage(src, x, y) // is slower than
dest.drawImage(src, x, y, w, h, destX, destY, w, h) //apparently
 
I need to learn canvas also lol
everything in new nexus is so good except the switch from 16:9 to 4:3
 
@towc depends on what you're scaling
Ive had performance issues when scaling images like 5x their normal size
 
other than making games, is there any other use of js canvas?
 
tons
 
7:19 PM
like?
 
image filters (until CSS is fully supported)
resizing/cropping images and sending to the server
instead of having the server do it
auto generated images, with text
 
@Loktar o_O this one is nice
 
yeah we actually use canvas for that at a project here
I implemented it.. we were using some .net solution
but it was giving us weird opacity issues
 
is that cross-browser?
 
so yeah now the image resizing/cropping is done on the client and we just store them on the server
yeah ie9+
 
7:21 PM
nice
 
pretty much any image generation is possible with canvas now
so its nice for that
also its a hell of a replacement for flash imo :P
I mean thats the BIGGEST benefit to me
 
@Loktar but flash is so cool...
 
Its downright cold sitting on some of my unused HDD's in the closet
 
I don't like flash for some unknown reason.
 
I don't like flash for several known reasons
3
 
7:24 PM
Flash means browser plugins, which means suck arse... even though everyone already has flash, so it doesn't even matter. It's cool to hate it, though
 
Most important is the way it always without fail needs to be updated
 
One thing I liked about flash is that I can download miniclip games to my pc and play them offline... but meh, that was 4-5 years ago when I used to like those games lol
 
How do I use mathjax with ghost ? I tried to follow this blog post, but I cannot find the Ghost.init() line in any of the files ... I did a recursive grep just to be sure, still I could not find the Ghost.init() in any file ...
 
@NickDugger ish, everyone has flash to some extent, but not all the same version
also the day one vulnerabilities got old
same goes for java
I uninstalled it on my home machine years ago
 
shockwave
 
7:27 PM
I remember that time, whenever I installed XP, I would have to install java runtime and flash first... heck I hated that.
 
@rlemon around ?
 
anyone watch the walking dead?
 
I shoot em
 
the funniest thing i have seen in a week!
 
@Skullomania I used to ... but the show began killing everyone ... so I just stopped ... whats the point in struggling so hard to survive if your gona get bit before the next season ? :O
 
7:32 PM
the video redeems the show
 
haha the videos awesome :D
 
^_^
 
I have come here to share this
 
TIL there is an input event handler o_O
 
@Shea thats funny...produced by mum
haha
@rvraghav93 so i take it you also do not like Game of Thrones
because if there was a show that killed everyone
its that one
 
7:48 PM
hey, anyone here up for a quick question?
 
go for it
 
it's not general enough for stack overflow so I thought I'd ask here
alright, see here jsfiddle.net/wrjhveqj/1
I can't figure out why 'this' in that context refers to window
 
hmm
i am still looking it over
 
thanks
as far as I know 'this' should refer to the object itself whenever in a method defined in prototype
hmm, wait
 
Because it's not being called like baseobj.method()
 
7:53 PM
the function is called using apply
so is there something convenient I can do about it?
 
.bind it
 
@BenjaminGruenbaum I am definitely switching to bluebird, I will update with how that goes. — Max Ehrlich 12 mins ago
:D
 
got it; apparently Minivents accepts a third argument for on(), which defines the context
 
Alternatively, apply gets a this argument (first param)
Also fine
bind would've still worked btw
 
bind is a general solution for when you pass the function to something
 
7:56 PM
yeah, defining the context when calling on() is way nicer though :)
thanks guys
 
No problem bro
 
@eazimmerman I will still make you one, dem eyes.
 
@mikedidthis <3
 
apply would directly invoke the function with the context, while bind would return another function //just sayin
 
mine looks like Wreck It Ralph
 
7:58 PM
:)
 
I'm Gonna Grep It!
3
 

« first day (1481 days earlier)      last day (3469 days later) »