« first day (1395 days earlier)      last day (3568 days later) » 

8:00 AM
I honestly like miaou because it looks classic to me...
 
Fun fact: Today is my partner and my 8 year anniversary! D'awww
 
@monners congrats
 
And I honestly also like orkut because you have real privacy there.. nobody goes there.
why did they shut down orkut????
 
@AwalGarg except for google bots ?
price my friend
 
@AbhishekHingnikar ain't they understand nothing?
 
8:01 AM
and also they didn't want two social networks
google plus
@AwalGarg you would be amazed how much google bots can understand... probably more then me
 
@SecondRikudo "janky" ?
 
@AbhishekHingnikar they can shut down google plus then... who gives a fuck?
 
!!define janky
 
@SecondRikudo [janky](http://en.wiktionary.org/wiki?curid=473709) (slang) of poor quality, odd
Oh man, that's a janky setup.
 
Hmmm, that's not what I mean
 
8:01 AM
@AwalGarg youtube comments run on G+
 
@dystroy It's not responsive. And I don't mean that it doesn't work for mobile.
 
@AwalGarg its now intergrated in youtube and 100s of places and is more extensible
way more extensible
 
It doesn't feel as nice as Stack Exchange's chat and gitter
 
@JanDvorak Bob has got a plane, and he is against G+ integration in YT comments. Help Bob please.
 
@dystroy For example, when you post a message, it should be instantly added to the DOM in a different color, and when the confirmation arrives, it should transition to the same color as everything else.
 
8:02 AM
@AwalGarg fuck bob
 
Does godaddy not let you register .io domains?
 
have u taken a look at the api's google + gives ?
 
@AwalGarg as soon as Bob shows here, I will spam-flag him to death
 
@AbhishekHingnikar bob is abhishek hingnikar.
 
@monners nope iirc
 
8:03 AM
@SecondRikudo Hum... In my experience it's much faster and responsive than SO chat
 
@AwalGarg i don't have a plane
 
When a new message is posted, to not break my reading line, it should nicely transition the scrolling down a bit to reveal the new message.
 
Where can you register them then?
 
@dystroy Responsive !== fast
Responsive means it feels better
 
lets all go to miaou and spend out day there... then we will all give reviews to @dystroy... (no coming back here for the real game)
 
8:03 AM
tlk.io/sew @SecondRikudo
try that
 
@dystroy umm, just asking, what exactly was your aim in building miaou?
 
but he has built a really usable chat site :D
 
@AwalGarg A few. One of them is that I sometimes, for a game, need a good reliable searchable chat with message edit and pin that could be used very intensively for a week or two.
And that's still the main use : teams of that specific game are the ones having private rooms with stellar numbers of messages
 
@dystroy I think this is already provided here... but I like the thing that miaou does not bump on you the crazy rules that this chat does...
 
@dystroy will there be support for different skins? or a redesign? I think it could look a little more "modern"
 
8:07 AM
^ can even help open source projects
@dystroy i am free today, would u like to see your chat in google's material design ?
 
@AwalGarg not really : navigation and search among old messages is painful, you don't have enough messages on screens for anything other than chitchat, and it's dedicated to SO, not something a game team would feel confident to keep for months or years. And SO chat doesn't prevent impersonation and doesn't implement external authentication, which is a major fail for games
 
@dystroy imo (i am just 16, so you may not count me seriously), just giving a super product to the user is not THE thing... you have to present it like anything... if I had made miaou, why would you use it?
 
@GNi33 there could be skins. But it's just that... when people ask for a framework for customization (bots, games, etc.) they never use it
 
@dystroy TBH, just chat barely works nowdays
 
@dystroy i love the effect with the header
 
8:11 AM
Facebook chat is a supplement of Facebook. Hangouts is a supplement for Google and GMail, SE chat supplements SE (and that barely works)
 
@AbhishekHingnikar what effect ? on mobile ?
 
@dystroy I don't disagree, as I said, I like your site... I have always said that, haven't I? And I have used it as well... but because people can get there work done here, people don't want to go anywhere else.
 
@dystroy no on pc
the collapsible header on top
i am going to try to re-design miaou today :-) lets see how that goes.
 
there are some wonderful things on miaou, audio/video chat, games, your private rooms, etc...
how much time @dystroy did it take to make it from scratch?
 
@AwalGarg I have no idea
 
8:13 AM
when did you start making it?
 
@AwalGarg easy keyboard only edit and reply too
 
@dystroy so chat has easy keyboard only edit as well... but not reply. (I am not pinpointing, just pointing)
@AbhishekHingnikar know that.
 
@AwalGarg maybe 10 months ago but my kid was born in between and spent two months in hospital with me seated next to him... and I've a full time job... so it's really hard to count
 
dys authored on Nov 14, 2013 <- first commit
 
8:15 AM
did you think of hiring some designers and marketers to assist you? (just pay them equity, not money)
 
@AbhishekHingnikar I spoke to you in the miaou JS room, you didn't see the pings ?
 
Why is there no ctrl-L shortcut to create link in the SO chat ?
 
@dystroy There's a userscript that does that I think
 
@dystroy chrome reserves it for going to the url bar...
 
Fellas Angular + SVG question
 
fella you got yourself in a mess but oh well ask :D
 
I want to display points on a map, based on a socket.io data stream
 
Wait
The points are to be set in .5 opacity, and then slowly animate and fade away to 0 over the course of.. say... 5 seconds
 
8:19 AM
okay using smil ? css 3 ? js ?
 
I'd prefer using CSS3 as it's most efficient.
 
I may have over a thousand such points on the screen.
 
That wasn't the question yet :P
 
8:21 AM
okay.. keep going.
 
Now, so far so good, my approach would probably be something using ng-repeat and inline style for determining the pixel coordinates from the lat-long I'm getting (unless there's already a library that can help me do that, but whatever).
The problem I forsee is that the same point might appear more than once in the stream.
Whatever happens, I always want the map below to be visible
So if the same point appears in the data stream for 10 times, I only want the latest point to appear, and I want the 5 second animation for transitioning the opacity to restart.
 
-3
Q: If I want to get current date,what keyword should I type in google?

user3678683If I want to get current date (ex:8/11) ,what keyword should I type in google ? Thank you.

o.O
 
Actually now that I've put it into words it doesn't sound as hard as it did in my mind... xD
 
@SecondRikudo google can't do that. goto youtube and type youtube do the harlem shake!
 
!!tell Awal google time
 
Yeah, just google time
 
@SecondRikudo it works for you since you are a god...
why is document not defined for caprica?
 
!!> console.log(window);
 
@SecondRikudo "ReferenceError: document is not defined"
@SecondRikudo "ReferenceError: window is not defined"
 
I don't know in which context it runs.
 
8:37 AM
@SecondRikudo I was trying to steal cookies from caprica in sandbox, and use it to give me explicit write access so I never get muted :P {it no worked :(}
 
Evening
can someone tell me what this is doing ?
g_spDragDropUpload['someDiv'] = new SPDragUploadInfo('someDiv', serverUrl, .....);
 
@CustomizedName Sets the value of an object member to a new SPDragUploadInfo object.
 
so g_spDragDropUpload is an object
 
Almost Everything in JavaScript is an object.
 
so we are passing in a div to object g_spDrag...
 
8:41 AM
or a primitive...
 
@SecondRikudo not true
 
Better? :P
 
Everything is JavaScript is complicated...
 
well, it's better, but not good enough
 
8:42 AM
^this is better @SecondRikudo
 
thanks, but back to my question, so we have an object g_spDragDropUpload with a div coming in it = some function
I have another row which is taking another div
 
@everyone did the chat user profile page just break?
 
yay! free meta rep for me :D
 
it's never free Awal, you input your time and engery in
 
8:49 AM
0
Q: SO Chat user profile page broke!

Awal GargI can't access the chat user profile page on SO chat... What is wrong? It redirects me to an error page... Is this some maintenance issue?

wohoo!
kk, added screenshot :)
I reproduce that. — dystroy 18 secs ago
xD
 
@AwalGarg do you really need this in your profile ?
> Please DELETE ME
 
@dystroy read the entire sentence :P
 
@AwalGarg I've read it, and it still sounds like some kind of unclear rant
 
@dystroy that profile place is for rants only... what more do you expect from me?
 
No place is for rants only. If you can't be constructive, you should let it blank, it's painful to read so many rants. Who can still deny SO is a big help for many programmers worldwide and contributed to many awesome projects ? SO has problems, of course, but we should tone down the rant and be more constructive, it's too easy to rant as soon as something isn't perfect...
 
8:57 AM
@dystroy SO is certainly good, c'mon, don't take it seriously... I found it fun, so I posted it. you can ignore it ofc...
 
I won't stop ranting against your rant if I want to
 
kk
the profile page didn't say we can't rant, so I ranted it...
 
You're 16?
 
yo
 
Thought you were younger
 
9:06 AM
:)
 
Child prodigies aren't as impressive when they become legal
 
ok
 
SJD
hello
can somebody help me with angularjs question? since there's nobody on angularjs channel
 
@SJD read at top right of the page
 
!!tell dystroy define brim
 
9:09 AM
@dystroy brimming Present participle of brim.
 
SJD
@dystroy nice.
 
@dystroy brim (obsolete) The sea; ocean; water; flood.
 
SJD
Ok. Is it ok to declare an "ng-controller" inside of "ng-app"?
 
SJD
because I've tried to add controller in <body> and got the error: Argument 'AccountController' is not a function, got undefined
 
9:10 AM
@SJD My gif is totally unrelated to what you just asked. Bad timing...
 
@monners To what is it related ?
 
SJD
@monners nice. :P
 
@dystroy Cats wearing hats are awesome?
 
@monners Hell no
 
@SomeKittensUx2666 Back me up on this ^^^
 
9:17 AM
the profile page is back now... do we have something new?
 
under 18 evacuate // !!
 
Does that question make sense to you ?
0
Q: Custom browser inside a browser?

hadaI'm interested in the concept of having custom browser inside a browser(chrome, firefox, ie etc). It sounds absurd to me, but, I am not knowledgable on the subject, so I wanted to get your opinion. Is this possible by using HTML5, Flash, JS or any other ways? If so, how? More details: I am tryi...

 
user2985029
i'm not quite sure
 
Yes
he wants user to be able to see tabs and address bar within a browser
most likely he is developing an app with integrated browser @dystroy
 
user2985029
"modify external iframe content"
 
user2985029
9:30 AM
0
Q: Accessing external iframe content

user675712I have a page with an iframe A whose src attribute is a url that iteself contains an iframe B A. I want to access the src of this embedded iframe B. Is this possible at all? It seems browser security won't let this happen since the embedded iframe B comes from outside the domain of my iframe A.

 
@CustomizedName I downvoted your answer. It's unclear, and doesn't seem to address OP's problem at all
 
I removed it anyway
 
OP wanted to have another browser, he already knows about iframes or content embedding
 
in angular unit tests, how can i measure httpBackend calls to a specific (known) URL?
as in, i only want it called once...
 
How was this voted "too broad" ? Seriously ? — dystroy 14 secs ago
Some close votes seem really random
 
9:55 AM
Guys I think for the new peeps in JS it might be useful also for the rest cause I am sure no one knows all of those
671
Q: What is the scope of variables in JavaScript?

lYriCAlsSHWhat is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?

 
You're sure we don't know how the scope in JS works ?
 
I said for the people that don't know
 
BTW this QA is bad... it makes simple things look complicated and mixes in things that aren't the scope at all...
 
@ziGi if defined globally, those members are available under window object.
 
yeah?
I didn't know for example that if something is defined globally and then changed in a function/closure then you cant access it outside using the prototype since it's declared outside of the fn/cl
 
10:07 AM
0
Q: Promise not working properly in loop

Ashutosh VermaPromise is not working properly saveService is called before promise resolved means all documents get uploaded, but when I log the data in the saveService it shows the uploaded docs unable to figure out the issue, please let me know where i am wrong //file upload $scope.fileObj = {}; $scope.docu...

 
@ziGi I might know that since years.
 
good for you, I said for the people that don't know
 
"peeps in JS it might be useful also for the rest cause I am sure no one knows all of those"
That's not what I read here. I read "good for the new peeps, and for the rest because I am sure no one knows all of those" :(
@dystroy do you use any service like cloudflare for Miaou?
I think I must redo all my code for my game, latency is a big problem. Definitely need to use client-side prediction
 
@dievardump no
@dievardump You mean to know if a move is valid ? In miaou I determine that client side too
 
I have to do both because of cheaters, in a mmo. I was able to locally cheat too easily ^^
 
10:18 AM
of course you need to do it both side
but why do you have latency problem ? What kind of game is it ?
 
But moves are 70ms, so latency is pretty important
bomberman-like
but with a lot more of technical possibilities
 
For the user, what's the impact of those 70ms ? Do you immediately render client-side information like move validity on hover ?
 
impact is death or non death, wich is really important for the other users
For the moment I render only what the server tells me happend. moves are only rendered because of the up/down of keys events from the server, for every players, including "me".
 
10:33 AM
Refused to set unsafe header "Content-length"
 
But I should localy use move-prediction for maybe 100/150ms
 
10:56 AM
I am wondering. If I was going to build a game with Node.js websockets send messages like ("target", x, y ); would I have to type check every message to make sure x, y are numbers - so that someone cant send a message like ("target", "foo", "bar") since I can't do (string "target", int x, int y)
 
@Schoening yes.
 
Okay. Thanks :)
 
But if your game is well coded, string shouldn't affect the game behavior, except maybe making the player not being able to move again
Which is a good thing if the player try to cheat =)
 
At some point there has do be a "if this is not a number then don't calculate" hasnt there`?
 
Yeah, and you should have a counter that check how many times he sends you bad data. And disable the account if itès too much times
You need to check everything server side, the moto of game like that are "never trust the client"
No exceptions.
 
11:02 AM
That's a good idea. Not planning anything right now. Just doing some reading. Boy oh boy are there a lot of hate blogs on node and js :p
 
I always go for specific questions so I'm already in the "nodejs lovers" when I have an interrogation
Or they are generals and does not concern what I use, only the way to implement a functionnality/behavior
I think you should read the most post you can who do not rely on a specific platform but on the implementation of the behavior
 
I was just searching for answers if Node.js approach would be a good fit for I/O in a game like World of Warcraft. Or if threads are better for dealing with a lot of players constant input.
I/O only and the logic part on some other cores.
If I was any good at c++ I would look at the source of the server. I do that when I know a bit c++.
 
Question: Is it possible at all to develop a drag/drop feature using D3.js?
 
@RahulDesai Yes
 
D3js.org > documentation > ctrl+f "drag" > woohooooo
 
11:12 AM
@SecondRikudo I actually mean to develop a chart similar to nytimes.com/interactive/2012/09/04/us/politics/… I am struggling to get the dragged element back to the cloud.
This chart uses modernizr though. So far, I have done the drag part using D3 and stuck at dropping.
Not sure how to transform the dragged element back to the cloud.
Any idea, dude?
 
@Schoening nodejs is always surprisingly fast. But if you want to go as fast as possible, depending on the precise case, you might prefer something like Go. What kind of IO are you dealing with ? Raw sockets ?
 
Anyone familiar with or done anything similar to binding data in Angular JS and representing it on a map with SVG?
 
@SecondRikudo A google map?
 
@monners No
 
Then no
 
11:28 AM
can someone tell me in layman language what is the node.js equivalent of the following php/html snippet.
<?php $foo = $_GET["bar"]; ?>
<html>
<body>
    You put foo as <?php echo $foo; ?>.
</body>
</html>
 
Assigning a variable to the result of a GET request?
 
yes, and putting it in between html.
 
Depends on how you're serving your html. node is just a server powered by javascript.
 
how do we serve html in node?
 
Honestly, I've never done it outside the context of using a framework like angular, in which case you're digesting a service on the frontend
!!google hello world node
 
nice
 
the best quote:
> because cats are the one that consumes as much as 15 per cent of internet traffic
 
11:53 AM
Is it possible to use d3 (or a specific part of d3) as a service Angular uses?
Where'd Benji go again when you need him? :\
 
any one from Dojo background?
Please take a look
0
Q: Cross domain loading of widget template

PilotI am hosting a widget on another domain than the site in which I am embedding the widget. The dashboard.js loads fine, but the HTML template gets, XMLHttpRequest cannot load http://192.168.2.72:8081/widgets/templates/dashboard.html. Origin http://192.168.2.72:8080 is not allowed by Access-Con...

 
12:19 PM
@FlorianMargaine nice one
@AwalGarg I would use something like
var express = require('express');
var app = express();
var http = require('http').Server(app);
app.get('/', function(req, res) {
    res.sendfile('../public/index.html');
});
http.listen(80, function() {
    console.log('listening on *:80');
});
that's kind of my template for any "node with express" project
 
Copied/Pasted
All your base template are belong to us
 
it's ok, I probably copied/pasted it from someone here.
 
in HTML / CSS / WebDesign, 19 mins ago, by easwee
express deprecated res.sendfile: Use res.sendFile instead
@dievardump
 
@Cereal with a different signature, I guess?
 
He does not quote any source
Oh ok, I see, well they deprecated a function that was not camelCase for one that is camelCase. I do not see what is funny
 
12:32 PM
k... I'm blind
 
(I will now use sendFile)
 
!!mute
 
(I was referring to the chat.stackoverflow.com/transcript/message/18217566#18217566 comment when I said this is not funny)
 
Odd
!!unmute 1065129
 
12:34 PM
room mode changed to Public: anyone may enter and talk
@SecondRikudo Unmuted user 1065129
 
https://medium.com/@bentlegen/the-best-tool-for-the-job-isnt-always-6ed364f3f775

I really do not like this article
 
He's not here anyway...
@Shaun you should be able to talk now
 
Er, can I get some really quick help from someone?
 
@Shaun 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.
 
Thanks buddy.
The rules just made me lose the game, god damn it.
 
12:37 PM
@Shaun i don't really follow those rules... maybe I can help? (no node.js please, only simple js)
 
@Shaun THE GAME ?
 
:'(
I went like a month without losing1
 
anybody good with D3.js here?
 
hi. Is this an okay play to ask re:json?
 
@Al.Sal 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.
 
12:51 PM
yes
 
I have some information for a (desktop) app serialized with json. it's an array of file_type:file_information. different files need different types of information - maybe it's path, or relevant column indexes if it's a csv, etc. Is it proper json style for ever pair to be symmetrical structure wise, or is variation allowed?
 
variation is fine
but a rigid structure is easier to parse in OOP languages
 
FUCK THE 15 SECONDS COMMENT TIMER !
2
 
@dystroy I feel you man. I feel you. Take a deep breath.
 
Please close vote this one as duplicate : stackoverflow.com/questions/25243879/…
 
1:04 PM
Count to 15.
 
@SecondRikudo I'm a programmer, I count to any number instantly, I'm not dumb enough to execute empty loop steps
 
I lol'd
 
@dystroy set a timeout for 15 seconds, then
 
This ******* timer is the biggest source of frustration I find on SO. How can we make it clear enough we need the timer to stop being reset ? — dystroy 11 secs ago
I can count six stars, though
 
1:12 PM
hey i am having an argument.. actually listening to an argument...
if a page is refreshed , will the css be reloaded
 
depends if it's cache'd or not :o
 
u mean in the manifest file or something like that?
 
Browsers cache static files so they don't have to download them again
 
depends also on headers etc...
 
not downloading, they are saying executing
 
1:14 PM
Then yes, it would execute it again on reload
 
it will definitely apply it again
the css file will not be reloaded if its cached
the css will definitely be applied to the document
chat.stackoverflow.com/users/2475084/al-sal profil photo is a little bit disturbing
 
@dystroy I'm not actually building anything at the moment. I would use socket.io with websockets. Is GO that much faster? I would have to learn a whole new language then. Not sure if I need that tradeof. I was just thinking of learning about clusters and use those if I was gonna do such a project.
 
ok..
atleast know i am sure, i am float:left of a bunch of wtf-ish ppl
but then i also have no idea, if sass makes browser cache the script or not, but still then it should be executed...
i have understood their problem. they are maybe generating a random number for maybe bgcolor with a sass random number generator maybe..
and now when they refresh the page.. only the first reload changes the colors, but on successive reloads the colors remain the same.. which implies to an extent the random number isn't getting executed anymore..
any idea?
 
1:35 PM
@shortCircuit my idea is that they shouldn't use sass that way. that's really dumb to want to recompile evey time people refresh the page
 
@Schoening If you don't need to chase the last nanosecond, and if you're happy enough with how multi-tasking is done in node(+promises), then don't worry : nodejs is fast enough. You may want to try my nodejs+socket.io game and chat server as reference...
 
hahaha! good going dystroy... good going :D
 
SaSS files should be compiled far before anyone access the page.
 
i see
 
scope.$watch(function() {
    return angular.element($window)[0].innerWidth;
}, function() {
    scope.render(scope.data);
});
Why do I get $window is undefined in the console?
Isn't it a default angular service?
 
1:45 PM
did you inject it ? if you do not inject it you won't be able to access it
 
If I whipped up a jsFiddle, could someone help me out with a tiny problem? ^^
 
why don't you just do it?
 
Huh?
 
make the fiddle, I mean.. no need to ask.
 
Sorry, i'll do it now
Just don't wanna spam help or annoy or something :'3
 
1:48 PM
Principe here is : you show your problem, and if people want and can help, they will
 
oh okay
 
@rlemon don't you think the room rules page is missing a link to jsfiddle? (since you are the person responsible to manage the room rules page, right? if not, just ignore me)
 
Is there a way to declare all label values as a variable, so I can compare something to it, for example

if (SEC_Privileges[i].Name == "View Tyrell") {

If I wanted a variable instead of "View Tyrell" so that any checkboxes that had a label equal to anything from my SEC_Privileges[i].Name array?
would be ticked
 
you can check checkboxes in js by document.getElementById("idOfYourCheckbox").checked = "checked"; what else specific information do you want?
 
I'm not sure what you're asking
 
1:56 PM
and yea, this is not a fiddle. this is a simple chat message.
 
yeah I didn't think the fiddle was necessary aha, i'll try describe it better
 
@AwalGarg no... set it to true or false
 
@JanDvorak i am pretty sure you are wrong, lemme find the spec.
 
@AwalGarg you are confusing it wit the attribute
 
@JanDvorak kk...
!!afk power CUT!!
 

« first day (1395 days earlier)      last day (3568 days later) »