« first day (1376 days earlier)      last day (3558 days later) » 

12:00 AM
but wtf firefox..
 
yea but 3 million is fine
FF just WAY over perfs the other
999 million
WTF
also propylene glycol, vegetable glycerin, nicotine, and flavorings are the ingredients to the 'juice'
apparently more VG makes bigger clouds, but has a flavour change
I wasn't aware of the flavour change
so yea, that shit should have tasted fine but is so much of that stuff it doesn't
 
ah, again prob :(
i have the image already loaded in the page, but i want to load again and run my function using firebug debugger... but not working :(
http://jsfiddle.net/7r4dB/
 
but other people don't complain, so maybe i'm more sensitive to it? or maybe I'm just not liking what I thought I would
 
oops!, its working in fiddle, but not in firebug :)
 
0
Q: promisified mongoose/mongodb save not returning success to ajax call?

StackThisI have a great promisified findOneAsync thanks to @BenjaminGruenbaum, but for some reason the ajax does not run the success function after the save runs..and this only happens with the promisified code. Here's the ajax that should be running the success function refreshStories: console.log('the...

 
12:12 AM
is this too provoking?
 
can't make it out
 
the thing in the middle should be a hand...
 
How do i know whether an image can be used in HTML canvas?
 
a bit bigger
@NokImchen try and catch I guess
 
@NokImchen if it has cors enabled it will work
otherwise it will throw an error
 
12:16 AM
@rlemon i am trying to run it from firebug, so its actually not a cross domain, huh?
 
from your local to the web is cross domain
from the same domain to the same domain isn't
 
oh, firebug is local? or does it inject ?
nope, image is coming from website
 
the image is coming from your puter yea?
 
@rlemon nope, image is coming from website
 
is the website local to the website you are running it on?
 
12:19 AM
nope, online website like stackoverflow, google, etc
 
yea then it need the cors header from the server
nothing you can do but host your own server and proxy it
 
may be i can download the image using jquery and den use canvas it? is it possible?
 
18 secs ago, by rlemon
nothing you can do but host your own server and proxy it
this has to be done from the server
imgur has cors support
 
@rlemon $$$ :(
 
which helps if you are just testing
 
12:21 AM
just an example, i would like to make an greasemonkey script which turns all the image into black-white using canvas
 
you would need a proxy server
sorry
or make it a userscirpt
because depending on the site that is often the same domain
keep in mind sites like SO use a CDN to deliver images so it wouldn't work
not the same domain
 
ah, ya, userscript is what i meant :)
but to do the testing, i need firebug (canvas from unallowed images dont work in firebug) so its hard to test :(
 
yea because of CORS
google CORS
 
*Cross-origin resource sharing* :(
The world is so damn complicated, all i wanted was to manipulate an image, now i need to manipulate whole worldwide web :(
 
because you don't own the image
so you can't alter it
you have to host it, or they need to allow you to edit it
web security and such
 
12:25 AM
wohoo! stuff and things press spacebar for things to happend, not much stuff yet tho. Obviously this is just a little stupid thing filled with crappy textures and almost no functionality, but at least it works
 
@rlemon fine, let me try userscript, atleast images from same doiman may work :)
@towc Coool,..... not stupid at all... it reminds me of super mario
 
@NokImchen it's supposed to remind you of the horizontal-level-scrolling jetpack/plane/whatevz games...
 
@towc heheh, jumping => super mario :P
 
@NokImchen have you ever seen/played jetpack joyride? I'm trying to make my own version, but I'm still trying to figure out a theme... I can't just code without knowing what I'm coding... I'd end up making games like with less sense than happy wheels
@NokImchen have you ever seen/played jetpack joyride? I'm trying to make my own version, but I'm still trying to figure out a theme... I can't just code without knowing what I'm coding... I'd end up making games like with less sense than happy wheels that way
what?
ok...
 
@towc ya, i have played all those :) You are one a nice journey :P
 
12:35 AM
@NokImchen well: problem is that I'm only able to code, but not to do pixel art neither find good inviting themes
go ahead and look at my website and tell me how horrible it is
 
@towc Image thumbnails takes a lot of time to load here copot.eu/matei/games
 
@NokImchen just load them once, then the cache will do the rest
the whole site is crap, you could list problems all day long and you wouldn't finish
 
wow! Maze is amazing! You must be really good at mathematics !!
 
Any comments on WebStorm?
 
@NokImchen it's actually a pretty simple depth first algorithm, just wikied maze generation
@SomeKittensUx2666 overly awesome
 
12:42 AM
@towc u could make this maze game in android multiuser and make ppl compete among friends through net/bluetooh ..... it seems fun
 
@NokImchen well... I guess there are many other better maze games out there... mine are just little minigames that I do for fun and to learn
probably with my current knowledge I could do something like that... but I don't want to enter the professional programming part of my life just yet... I still want to learn stuff just as a learner
 
@towc Good luck to your hobby :)
 
@NokImchen thx
@NokImchen suggestion of a cool theme you'd like to see?
 
make a fish game
I like fish
 
@rlemon and ducks
I think you remember that
it was the first time that I've used modular files and some sort of canvas gui. Arrow keys to move, eat little fishes to get larger, press start as soon as you can, game had already started when you loaded the page, but the rendering didn't
wait... the plural of fish is fishes, right?
 
12:57 AM
@SomeKittensUx2666 amaze.
 
maybe I could make it so that whenever a message has been posted on this chat it appears in my game, and you have to collect it as a coin
@NokImchen this is my last unfinished project in case you cared... this was possibly going to be good, but I decided to stop because the code was already painful enough. Insert a seed, then wait about 8 seconds and bam!
 
1:15 AM
@phenomnomnominal Going to try it out when I get some free time.
As much as I love ST2, trying new things is good.
 
I bought it forever ago, it felt too heavy for me
I went back to np++
then discovered the lovely ST2 :P
 
That's my worry, that it'll get too in the way.
I like all of my features to only appear when I need them.
 
1:57 AM
Hello
 
@ic2000 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.
 
I'm an AS2 Developer, Should I learn AS3 or Javascript
 
they are both based on the same standards, so really your question is which apis to learn
 
I really dont know at this point, I mean if someone can give me a detailed AS3 tutorial, ill go for it same with Javascript
 
room topic changed to JavaScript :: some typeof way: DO read this link: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf :: YES! Angularjs is on topic here. stop asking. [ecmascript] [javascript] [mine] [mine] [mine]
god i hpoe somebody gets it
 
2:11 AM
@ic2000 Well, the market for AC is steadily shrinking while the market for JS is steadily growing. what do you think makes more sense to learn?
 
@SterlingArcher I get it don't worry
I'm "hip"
 
HE'S "HIP"!! <3
 
I got you jordan
 
o/
for anybody not "hip" and "with it"
!!youtube rich homie quan type of way
 
2:20 AM
Those pants tho... xD
 
rich homie quan...
 
i know. priceless name. xD
bet i got a girl to go to the beach with me for my birthday
plans are falling into place :3
 
nice, va beach?
 
rahobeth actually
my boy has a place 15 minutes from the beach for the summer
so me, 2 bros and 2 ladies are going up to see him and his cousin for the weekend
going to my first strip club and getting a tattoo
very excited
maybe I'll get "Seamus" and "Dicky" on my shoulders...
 
I got the reference lol, I love archer
 
2:35 AM
> You got a baby a tattoo?!
 
that's pretty cool lol
 
I would totally get that if I didn't regret it in 4 months lol
 
I might go for a week with my family but we'll see if that plays out
 
nice! a vacation is always called for
Well, you got one thing right. PHP is offensive! </joke> — Sterling Archer 7 secs ago
 
well my mom is looking into a condo but if she doesn't get one I'm gonna get a place for a weekend or something with friends maybe
 
2:42 AM
you a big drinker?
Not like, alcoholic, but like to have fun drinking
lol... that came out wrong
 
I drink casually, I'm too much of a lightweight to do heavy drinking lol
 
ah lol i've lightened weighted up, but back in college i was like.. THE heavyweight. Me and my brother were beerlympic champions 2 years running :3
 
how do i use a base64 encoded image here ctx.drawImage(this, 0, 0) ?
is this wrong?
var imgObj = new Image();
imgObj.src = base64enocdedImg;
 
@SomeKittensUx2666 it's nice, but I probably don't use power features and it always becomes slow after a while
 
3:08 AM
this guy in yellow is incredible
 
incredible that he survived the amount of training he must have done
going on rails and stuff, one bad drop and you're done
at least how it looks to me
pretty crazy
 
i love the kickflippy tricks he did
 
pastebin.com/bU38dGwf "Anonymous" "hacked" some websites
Didn't do a very good job
 
m59
@rlemon your money has hockey on it. lolz.
 
3:37 AM
xD
 
user2620028
3:53 AM
Anyone alive?
 
4:44 AM
Blerg
 
 
5:06 AM
WUT ... isn't that like free windows ?
 
@AbhishekHingnikar It ships with a trail version of windows
 
that lasts ?
 
You've gotta redownload once the license expires
Nope
 
hurr hurr microdicks then
 
So I'm thinking I might be switching to WebStorm
 
5:07 AM
ps i have windows 8.1 pro fully licensed :3
but i cannot install it for some effed up reason
 
@AbhishekHingnikar got msdnaa?
 
@Mosho Dreamspark
 
one and the same
pretty nice of them
 
whew. I saw this room called "smart developers" and was afraid I might end up in a room full of assholes by accident.
Well I mean, respectfully we're all assholes...
Couldn't write JavaScript very long without one.
 
m59
lol
how did that come about? @SomeKittensUx2666
 
I have no idea. That isn't my code.
 
Hahaha that's hilarious
I'd star it if I wasn't on mobile
 
Starred
I hope that isn't a crucial part of the application :S
 
5:51 AM
It's from the site of one of our competitors
 
I think it's a bold statement
 
No, this is a bold statement
And no, I will never stop making that joke.
 
!!live
 
@monners I'm not dead! Honest!
 
stop
 
6:02 AM
HAMMERTIME!
 
Hmmm, so hammertime only happens when it's the first word of the message, eh?
 
exactly, only it's the last word
 
Hammertime stop
 
HAMMERTIME!
 
pls stahp
 
6:03 AM
HAMMAHTIME!
 
lol
 
!!sandbox
 
You know, there was this funny idea once upon a time that people were supposed to test out commands and "play" in the sandbox
 
!!tell JanDvorak no
 
6:08 AM
There once was a man from Rold
who drank when the weather got cold
as he reached for his cup
never gonna give you up
BAM! You've been limerickrolled.
2
 
@SomeKittensUx2666 Surely you didn't write that
 
Leslie?
 
Problem: I am learning Angular JS and I have Node, NPM, Grunt, Bower and Yeoman installed on my Windows system. I have also installed angular generator. To create a boilerplate app, I did openned cmd with admin rights and did yo angular in an empty directory named ang-news. I got tons of errors. :(
npm WARN package.json angnews@0.0.0 No README data
npm WARN deprecated grunt-ngmin@0.0.3: use grunt-ng-annotate instead
npm WARN deprecated ngmin@0.4.1: use ng-annotate instead
npm ERR! Failed to parse json
npm ERR! Unexpected end of input
npm ERR! File: C:\Users\rahul_desai\AppData\Roaming\npm-cache\glob\3.1.21\packag
e\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
I have admin rights on my machine, still.. :(
 
holy toast
 
6:15 AM
Not sure what I am doing worong.
 
that's a lot of "stuff" for learning Angular.
why don't you just use Angular?
 
@SomeKittensUx2666 I am following this tutorial thinkster.io/angularjs/eqq96ECqkT/…
 
Go learn all that other stuff later.
Get a better tutorial
 
Can you recommend me a tutorial that builds an app as well?
 
MUCH less boilerplate silly things
it's just...Angular
 
6:17 AM
I have heard its too basic, not in depth
 
You're an absolute beginner at Angular, right? That means basic is fantastic.
basic is exactly what you want.
 
Yes, I am.
 
basic means no complicated npm errors that are completely unrelated to what you're actually trying to do.
 
@RahulDesai start with this
 
@SomeKittensUx2666 Alright, docs.angularjs.org/tutorial it is!
@Mosho looks like jsFiddle
A stupid Project Manager wants me to learn Node + Angular in 2 days! FML.
 
6:20 AM
it's way better, and you can do anything with angular on it
 
I am interested in learning that. But 2 days? Really?
I want to learn and build a sample app to show off.
 
the only thing you will learn in 2 days is that you can't learn it in 2 days
2
 
I agree.
 
@RahulDesai ...that's silly.
 
@SomeKittensUx2666 I know, right? I told him that I have just started learning it. Still.
 
6:36 AM
@RahulDesai Tell him you'll learn as much angular over two days as he can learn to speak Russian.
Just found /*core layout???*/ in a combined file. Thanks for nothing, predecessor.
 
hahah
 
Did zigi get banned or something?
I can't see any of his older messages
 
@monners He got perma muted in this room
!!mute
 
@SecondRikudo 965090(19d 0h)
 
Hello
 
6:43 AM
Huh, not that perma it seems
 
Can anyone help me on my this question
0
Q: re-create the map by angularjs directive of google map

DhavalI'm using square theme of angularjs and using their map directive to generate the map like this: <map class="ui-map" zoom="7" center="[32.794065, -97.439365]" style="height:250px !important;" > </map> This is on search page and work like when user search with any location(text address) it'll a...

 
glad to see poeple working on angular
I have heard from 2 of my trusted peers that it id going to takeover Java.
 
AngularJS?
 
Yes.
 
@SecondRikudo Ah, that makes sense
 
6:48 AM
Its Google's product
then how?
@RahulDesai Do you work on AngularJS?
 
@RahulDesai Take over Java? They have separate uses....
 
@RahulDesai @Dhaval AngularJS and Java have two completely different purposes, please stop spewing nonesense.
 
That's like saying hammers will take over socket wrenches
 
A top consultancy in the US who used to train and place Java developers is now training them on Angular, instead of Java.
 
6:49 AM
@SecondRikudo Yes,
 
o/
 
I also surprised to know that
 
@RahulDesai Angular is client-side, Java is (in web application) server-side.
 
@Dhaval Just started.
 
why are we in gallery again?
 
6:50 AM
Angular works in the browser, Java creates GUIs of its own
@GNi33 zigi
 
ok
 
@RahulDesai Can you help me on above question?
 
@SecondRikudo I see.
 
@SecondRikudo What'd he do this time? Just being annoying like always?
 
or anyone here who works in AngularJS?
 
6:51 AM
@Kippie Pretty much
 
@Dhaval a little, what's your question?
 
@Dhaval Sorry, I am an absolute beginner.
 
1
Q: re-create the map by angularjs directive of google map

DhavalI'm using square theme of angularjs and using their map directive to generate the map like this: <map class="ui-map" zoom="7" center="[32.794065, -97.439365]" style="height:250px !important;" > </map> This is on search page and work like when user search with any location(text address) it'll a...

@GNi33 Here is my question
@RahulDesai Its ok but its really good JS concept
 
oh, never used anything like a map directive.
 
Oh ok
 
6:52 AM
isn't there a good documentation? you'd probably need to call the gmaps API by hand and pass the parameters to the map
 
Nuh-uh, I won't have fun
 
@GNi33 Well, theme has built their own directive and in theme documentation couldn't find anything helpful
 
are you using that? ^
 
No, I'm using what comes in Square theme of angularjs
 
6:56 AM
@Cerbrus IT IS MANDATORY
 
@GNi33 what do you think about this question?
0
Q: how to make library of primary functions in AngularJS

DhavalI want to develop set of functions(sort of library) for CRUD in AngularJS so I can reuse them for couple of entities of my project. For server communication I made factory of $resource and using accordingly. $resource factory looks like this: Model File: var get_entity_model = angular.module("a...

 
@Dhaval where does the directive come from
 
@Mosho its from its ui.js
theme's js file
 
and what's that
 
Would you like to take a look on the code they are using for map?
 
6:59 AM
make a plnkr.co and I'll take a look
 
ok
give me a min
 
!!nudge 60s @Dhaval
 
@Mosho Nudge #1 registered.
 
?
please take look on script.js
 
I meant make something that like, works
but alright
 
7:05 AM
To run in plunker I had to create multiple files as per the flow so I thought to paste a main code from where it built the directive
Sorry
Is it ok?
@Mosho Does the code make sense?
 
ofc not, it's minified
but I found where it comes from
 
minified?
I beautifier that
Let me paste again
 
it doesn't give you the variable names back
it's unreadable
and where is your code with the search?
 
Please check this fiddle, I've mentioned ui.js's code and the directive code
 
it's a code dump
with the same minified code I can't read
make something that works, with code I can read
 
7:15 AM
ok
 
but in general you have a .setCenter method in the google maps api
 
7:27 AM
@Mosho or ideally, use what ever tiles you want in OpenLayers and have far more control over your maps
 
it does come with a built in search box too
 
what does? gmaps?
 
yeah
I've never used either map API's but the guy wants help with gmaps
 
gmaps api, or tiles? (ive used both)
 
@DrogoNevets I'm using square theme and they have their own map directive
for google map
Here is the code how they are creating directive for google map
jsfiddle.net/49K9f
 
7:46 AM
Has anyone used "Feathers" (feathersjs.com)? Is it any good?
 
@Dhaval you appear to have javascript in the HTML segment, can I have a working example please?
 
@BenjaminGruenbaum What are the differences between Q's promises and BB's?
 
oh! chrome as a native device web emulator option!
 
@towc Yes, and it can also connect to an android device and access the chrome debugger there
via ADB
 

« first day (1376 days earlier)      last day (3558 days later) »