« first day (1377 days earlier)      last day (3576 days later) » 

5:00 PM
oh a different no name user O.o
user3797449
 
I never deleted the question too.
 
this is not mine
ohhk
 
its to help
 
5:01 PM
if @markE can't help you, definitely look at your code and break it down more
 
this is why it is important to change your username from something other than user2875623948752
 
ohhk I will change my username
 
@rlemon yeah I dont get why the heck so many people don't
SO shouldn't even allow those crazy ass user names
 
helps us know :)
 
I just edited my code. My zooming is working fine. Actually the problem is if I am moving the object anmd then zoom it. the object and background image zoom but it draws at the same place it was before inmstead of the new place I moved it to
 
5:02 PM
It just leads to confusion
 
yeah definitely, probably why so very few (cant even think of any others) have a system like SO's..
 
Changed my name
 
good stuff
it'll take like a half hour for the chat to pick up the change
so don't be concerned it isn't changed here ;)
 
also sorry for the accusation.
 
count that two sorrys
 
5:05 PM
hmm no problem. Please tell me where exactly the problem is.
 
sorry += 2;
 
haha
 
@Mr.Hargrove that becomes 3 sorrys now
 
but all these sorrys won't solve your urgent zooming
 
what is this, Canada?
 
5:06 PM
*sorry += 3;
lol @KendallFrey
 
yes, please let me know where am I going wrong
 
@KendallFrey home sweet home
 
setInterval(sorry.bind(me,you), 1000);
 
for(;;) { sorry(); }
2
 
It's even crying while it's doing it.
 
user1596138
5:09 PM
^
 
for(;sorry();)
 
ahaha
 
I guess the problem is its not updating the coordinates after its move so its drawing with the old coordinates and object zoom and goes back to its original position.
but where should I update the coordinates.
 
@user3191909 it might be useful to mention you are using goocreate.com
 
@rlemon But then sorry has to return a value
 
5:11 PM
@KendallFrey it returns respect
 
hah
 
Should return itself.
What format is ImageData.data in?
 
@user3191909 when you are using libraries, it is often much more helpful if you list those in the question. Mark E is correct in his statement:
Your code is so abstracted I can't follow it...sorry. — markE 12 hours ago
 
@RalphWiggum err the compiler of the world won't be ever free them to ever accept your sorry, ps they will be cleaned anyway .. considering sorry as a constructor to create a sorry Element
 
@Cereal array-like
 
5:12 PM
I'm using it as an array of 0-255 ints
But I'm thinking that might not be right
 
which libraries ?
 
I have a simple question
 
@user3191909 you are using libraries from goocreate.com looks like gooengine
 
I want to set alternate font for browser
 
5:13 PM
no I am not using libraries
 
if the browser is not supporting the web font
 
canvasutils is namee of my js
:P
 
how to set the alternate font
 
its not a library
 
5:14 PM
by , ?
 
@user3191909 You have not updated all the coordinates that you need to draw with this object. Also, half the functions that are used in this problem are not shown.
 
my bad. but even then, you should provide an example (demo) of it not working, or at least link to the other code.
 
@user3191909 very hard to follow ;.;
 
yea where do I need to update the coordinates?
 
everywhere
 
5:15 PM
@Cereal show moar code
!!mute
 
can you give an example how to update it at one place.
 
@AbhishekHingnikar 965090(17d 14h)
 
@AbhishekHingnikar Wut wut
 
in the butt
 
for the canvas thingy
 
5:16 PM
sorry had to >.>
 
@Mr.Hargrove eww you gross , just kidding
 
to much tosh.0
 
The imageData thing? I figured it out, actually.
 
it is an array like object
 
oPixelUL.x, oPixelUL.y, oPixelLR.x - oPixelUL.x, oPixelLR.y - oPixelUL.y @user3191909
 
5:17 PM
this is what I am doing
 
Woot! I've got a silver JavaScript badge.
 
follow that to where you set these values.
@user3191909
they are not getting set correctly, find out why they are taking the old values, even when you say you 'reset' them.
 
@rlemon, yeah but it holds rgba values in sequence. Which was entirely unintuitive
 
gratz @JeremyJStarcher !
 
Thank you, @Mr.Hargrove. Dunno what to do with it, other than keep it polished and hang it in bright sunlight somewhere. ;)
 
5:21 PM
@monners even worse, ginger cats have souls
 
@Cereal sure it is intuitive
 
@JeremyJStarcher np, get a giant frame, and stick it in their. VIP red rope it and take people for tours :)
LOL there.
 
Each pixel takes up 4 spots in the array. I don't find it particularly intuitive
 
how else do you describe all four elements that make up the pixel?
 
@Mr.Hargrove If I didn't work from home, I'd do that. Alas, my "office" is 3,000 miles away.
 
5:24 PM
hi, my code is very simple, can any body help me why is not working ? i using quick sand, so in this link,jsfiddle.net/tgbd7, when i click 1 all item will be hide
 
@CooPer 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.
 
is not working :(
 
@JeremyJStarcher dang :(
 
@Cereal @rlemon It's a flat array instead of an array of objects because it uses less memory that way
 
Maybe a 2 dimensional array, or object
Yeah, I realize why. Just didn't immediately realize it would be that way
 
5:25 PM
@user3191909 any luck tracing those objects back to where you 'reset' them?
 
@Shmiddty I know why it is a flat array
and it is close enough conceptually to an image matrix
so i'm fine with it really.
 
I'd probably still prefer an array of objects
 
here is the new link , jsfiddle.net/4uzu5
please help me :(
 
Aiight ladies and ladiesmen and gentlemen
 
"Ladiesmen"?
 
5:27 PM
how does this looks

var value = await DataBaseModelObject.HugeProperty; // we can use a sync version right now. ! but the async is so awersome
@SomeGuy players.
 
@CooPer I have no idea what that code is, but quicksand doesn't seem to exist.
 
@CooPer please don't use github as a CDN
 
@CooPer have you asked this question in stack overflow?
 
@JeremyJStarcher github doesn't serve with proper headers anymore from /raw
 
@rlemon Does Caprica Six still do that? :/
 
5:28 PM
because people were using it as a CDN
@KendallFrey yes, but we are smarter about it than jsfiddle
 
@JeremyJStarcher its include as external library, its working, it's hiding all element,
 
it isn't loading because it isn't giving the correct headers
Refused to execute script from 'https://raw.github.com/razorjack/quicksand/master/jquery.quicksand.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. (index):1

Uncaught TypeError: undefined is not a function
 
i use it locally without github cdn
 
github isn't a CDN
 
@CooPer I'm getting run-time errors in the console. Sounds like the others are explaining why.
 
5:29 PM
you need to fix the fiddle :P
@CooPer rawgit.com
is an easy way to 'fix it'
 
Any idea what to do with WebRTC, that has not already created someone else USING WebRTC (if it was created using some other technique it is ok, too)? I don't ask for the next big thing. I just search a use case, that I can code for learning and show others as demo. I considered a very simplified version of TogetherJS relying completely on WebRTC (so far it just uses it for Audio)
 
@JuttaWinson 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.
 
Has anyone here used browser-sync ?
 
ok i add library with ragit
rawgit
still not working
my problem is , it's not showing the element
just hide all element
 
yea I know what the problem is
but I wanted you to fix the fiddle
.find looks at children, not at the current list
 
5:33 PM
@cooPer gotta fix one before the other
 
you want .filter
am I a jerk for making CooPer fix the first problem before I gave the answer to his actual problem? given that I knew the answer from the get-go?
 
i can understand your mean, can you give me the write code
 
no
that isn't how you learn
 
lol
 
!!jquery filter
 
5:34 PM
 
no @rlemon
 
Anyway I'll take that lack of answer as a no
 
look at the difference between those two
@Martin I haven't, but I'm sure some have
@Martin ask again when more regulars are active, or try in the HTML room
 
Yeah good call
 
5:35 PM
I can see designers loving tools like that
 
lol I just saw the new room name
My buddy used to play that song way too much
 
@martin nooooooooo
 
how can i fix it ? :(
 
@Mr.Hargrove Yeah now it's stuck in my head forever.. THINK IT"S A GAME??
 
@CooPer I just told you how to fix it
 
5:37 PM
@martin hahaha
 
@rlemon i not understand, please tell me again
 
Stupid headphones broke -_-
 
room topic changed to JavaScript :: emaG ehT: 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]
@CooPer you use this to filter elements. api.jquery.com/find
you should be using api.jquery.com/filter
because .find looks at Children from the matched set, it doesn't filter the matched set
that isn't what it is for
 
@rlemon even if you right, quicksand must show all element becasue find not filtering, so why it's hiding all element ?
and i copy this code from quicksand demos, it's working well there
 
I'm not repeating myself anymore
 
5:42 PM
and use .find
here is my code with
 
also, I was wrong about filter. disregard everything I said
I misread your code
mah bad
 
@rlemon here the code with .fiilter , jsfiddle.net/qWF5f still not working
 
a quick question
does the page hits your eyes ? or its perfectly balanced ? [the content in center is very colorful]
 
5:43 PM
@rlemon I think making cooPer think was help enough
 
@AbhishekHingnikar it's alright
 
@AbhishekHingnikar I think it's alright, if it were just white on white like the image the whole time then that would be a lot of white.
 
@CooPer after reading their documentation I see what I think is your mistake
I hate dealing with plugin bs for this exact reason :P
> At the very basic level, Quicksand replaces one collection of items with another. All you need to do is provide those two sets of items.
you are trying to do this on the same list
you need two sets not just one
 
q = new Blob();
q instanceof Blob // True
localStorage.q = q;
localStorage.q instanceof Blob // False
Can anyone explain what just happened here?
 
if you want one set you need to follow this: razorjack.net/quicksand/demos/one-set-clone.html
@Incognito everything in localStorage is a string going in iirc
 
5:50 PM
doh.
 
types are not preserved
 
it's literally saying "[object Blob]" when I access it and it didn't occur to me that it was actually just a string.
 
@Jhawins dafuq??? NO!
can't tell if it was a joke or not... but I assume it wasn't, since I haven't found anything to tell me it was
 
i found my problem, i miss data-id attribute :D
 
@rlemon performance reasons: the biggest it's pixel size the slower it is, and simon sarris in HTML5 unleashed said that for games that don't require much detailed graphics (mine is made out of pixel art, for example) you should just zoom it with css to make it look bigger, in case you want it to look bigger
 
5:54 PM
trying that only :(
 
@towc no I hate the zoom
it is obvious that you are stretching it
makes it look worse imo
I know you like it, which is why I suggested making it an option for me. instead I have to open the inspector and remove the css
 
do you really want it to be that tiny?
 
you should be able to make it 640*480 with no serious performance hits
then if you wanna css scale from there
just my opinion however, I think the stretching looks like shit
most noticeably on the text.
 
I think that I should just check for the closest multiple of the current canvas dimensions to the window height and scale it to that... that way there are no half pixels or stuff like that... is that a viable way?
 
@Incognito :(
 
6:09 PM
interesting. TIL after you append nodes from a document fragment to the DOM they no longer exist in the document fragment
console.log( documentFragment.children.length ); // 100
document.body.appendChild(documentFragment);
console.log( documentFragment.children.length ); // 0
I did not expect that behavior
 
@rlemon try refreshing the page and telling me how it feels now
 
so after I append stuff from the document fragment to the DOM, I really have to reach in and grab them back out again?
document.body.appendChild(documentFragment)
var shit_i_just_appeneded = document.querySelectorAll(...);
I really don't like this
@towc closed it
link
nvm
in the stars
 
ok
 
@towc I wouldn't go any more than 480 height
but again, maybe just me
do whatever makes you happy
 
wait.. I'll make another adjustment..
 
user1596138
6:14 PM
@towc pfft was a joke :P
 
user1596138
You'd be the tallest teenage girl I ever heard of
 
@Jhawins oh, ok... I was scared for a sec... I imagined all my life here being thought of as a girl
well, have to go now
 
user1596138
lol
 
posted on July 24, 2014 by agektmr

Chrome Beta has landed its native support for <dialog> element without needing "Enable experimental Web Platform features." flag turned on. <dialog> <p>This is da dialog!</p> <button id="close">Close</button> </dialog> <button id="show">Open Dialog!</button> <script> var dialog = document.querySelector('dialog'); document.que

 
I'm heading out, cya everyone.
 
6:21 PM
Is that a good eye-catcher? Please read this; you should know something about it. It's important for you to be educated in this matter.
/sarcasm
 
@Incognito localstorage will stringify
 
Really, though, give that petition a read. It's about your privacy (mostly just applies to americans)
 
to save you can use indexedDB
and save a reference to it in the indexeddb best way to do it all is getting an object url (and abstracting everything ) in runtime, and creating that object url lazily when u need it on reload
 
the cream I put in my coffee had clumps in it
oh god
 
cream clumps
 
6:27 PM
semen clumps :(
 
not to be confused with kidney stones
 
wtf nasty
 
17 mins ago, by rlemon
document.body.appendChild(documentFragment)
var shit_i_just_appeneded = document.querySelectorAll(...);
^ is there any way to get around this
 
6:29 PM
@Loktar not to be confused with what she said
s/n/t/
 
user1596138
@rlemon You already have documentFragment
 
^
do querySelector on the docFrag
 
user1596138
lol wtf
 
after you append a DF it clears the DF
 
20 mins ago, by rlemon
console.log( documentFragment.children.length ); // 100
document.body.appendChild(documentFragment);
console.log( documentFragment.children.length ); // 0
 
6:30 PM
..
 
Tshirts will meet you in september :->, as we launch :D :D ... betas will hit you first week august
 
oh you can't search for the element before you append?
didn't see the full use case
 
i got invested $2k.. that helps me lol
 
use case ^
well, me fucking around
 
> Doctors Say Average Heart Attack Victim Doesn’t Clutch At Chest Nearly Dramatically Enough
lol
 
6:32 PM
yea @Loktar thanks
I didn't think to just QSA them before appending it :P
sorry, dunno why I show 'show' when I want you to see code
 
user1596138
@rlemon why are the comments hidden? :/
 
huh?
 
user1596138
Is this a jsfiddle thing?
 
user1596138
 
0
Q: How to have a function that could return value or promise?

FlavorScapeSay I want to just return a value if an object is already in my model, but return the result of a endpoint service if not: model.getDoohkyById = function( id ) { if( this.data ) { if( this.data.length > 0) { for( var i =0; i < this.d...

 
6:36 PM
no clue man
 
user1596138
wtf
 
I see them
 
user1596138
You see that though?
 
yea when I open it in a new tab
:/
 
user1596138
:?
 
user1596138
6:37 PM
I reloaded and it didn't fix it. Closed and reopened... Now they're there..
 
user1596138
@rlemon why can't you just do df.children before the append
 
6 mins ago, by rlemon
I didn't think to just QSA them before appending it :P
 
user1596138
Oh lol
 
user1596138
I didn't get what qsa was so I assumed that was something unrelated
 
scontent-b-sin.xx.fbcdn.net/hphotos-xap1/t1.0-9/… if nobody got it then indian humor is weird
 
user1596138
6:47 PM
@rlemon But.. Also you could just do df.children
 
@AbhishekHingnikar that was terrrible
 
that looks awesome
apparently there is a steam demo too
 
@Loktar looks funtastic
@NickDugger indian humor sucks\
 
user1596138
@Loktar Yes it does
 
T_T that makes me wanna work harder
:@ :@ :@
 
6:52 PM
@Loktar for gods sake
every fucking time I have an idea for a game
every goddamn time
it gets done by somebody else.
it's been that way for past 6 years.
 
ideas are cheeeeeep :P
 
@Loktar very very very very very true
 
I don't mean similar
I mean the very fucking same
 
@BartekBanachewicz think faster 10x ps that has been the same with me
@Loktar ps the game i told u in my mind... a few of my friends were working on something like it [they failed though]
 
fuck that shit I'm still making my game
 
6:53 PM
hi guys, I've a web application that needs to post some data to a cross domain's end point and get the html response in a iframe. what are the possible ways that I can read the http status code of the post action? I know I can't do this with basic form submit. But when I do the same with ajax post, the html response does not load the resources like css, scripts, images correctly. It looks for those external resources in web app's source and says 404 not found. any advice?
 
@BartekBanachewicz do it! Honestly think of how many games exist anyway people clone or make similiar ones all the time
 
@Loktar I look at that and all I see is KSP
 
don't let that discourage you
@KendallFrey yeah this is like KSP on land I guess with battles
man I need to play KSP..
that game is really fun and you said there was a huge update
 
idk if they'll make their goal
3 days left only
 
yeah I doubt they will, I saw it on r/indiegaming
 
6:55 PM
@Loktar You could technically do that on KSP
Adding KAS would make for incredibly wonky battle rovers
@Loktar Every update to KSP is huge. :P
 
@Loktar I would be sooner to get into the early-access than contribute on kickstarter
only because I doubt they'll reach their goal unless it gets huge PR in the next 2 days
 
KenDoll, do you use razor with your c#?
Not that my question is razor-specific
Well, maybe it is
 
I don't C# with my web
 
Ah, alright
 
I need a break. You people are constantly making me google shit for you and it is tiring. I'll be back in a few.
 
6:59 PM
ASP.NET is foreign to me
 
Still better than php
 
My website is PHP
 
I saw
 

« first day (1377 days earlier)      last day (3576 days later) »