« first day (2171 days earlier)      last day (2782 days later) » 
01:00 - 22:0022:00 - 00:00

1:21 AM
@Sandro No, don't. That's bad. Your breakpoints depend on the design.
 
Hey guys
I'm working on a NodeJS based platform, and I've hit a snag.
I've written a lot of the core code in coffeescript, which has allowed me to save a bundle of time.
I've come to love coffeescript, but understand how things can get messy quickly.
Should I stop and convert everything to JS before it's too late?
 
I'd say yes.
But think if it's worth it.
 
Are there any large NodeJS frameworks/platforms written in Coffeescript?
 
Nope.
There are a few written in TypeScript.
 
 
1 hour later…
2:31 AM
well, atom is written in coffeescript
which wasn't the best decision as it's been on its way out for a while
 
2:58 AM
@neet_jn How did that save you time?
Anyway there’s no need to rewrite to JavaScript, they’re effectively the same language
 
@Ryan o/
 
@SterlingArcher \o
 
How's it going man?
 
Pretty well. Preparing a pull request to miaou at the moment.
Trying to remember whether replacing </script> and <!-- catches all cases.
 
If I inject a coldfusion comment <!--- will it catch that?
 
3:13 AM
Yeah. I’m going to do <[/!] just to be safe, though
not that coldfusion is a thing in miaou. but the answer is still yeah. but everyone knew that already.
 
:P ColdFusion is a thing, people need to be reminded >:(
It's bad practice to use innerHTML when you're not manipulating HTML. textContent should be used here. I'm a bit of a stickler Meeseeks. — Sterling Archer 13 secs ago
@rlemon for you
 
I got the JS gold badge woot!
lol all residual rep
 
@Loktar that sweet dupe hammer
Finally I can use you in ways other than what we can't tell your wife
 
LOL
oh man.. copying steam games to my new computer... 1.48 tb, telling me its going to take more than 1 day
 
You already got it up and running?
 
3:27 AM
yea
on it right now
 
Dayummmm
 
now the boring part of getting everything on it I need
 
Yeah lol enjoy the installs, configs, and downloads :P
 
haha yea thanks
 
why do you need all your games on the new machine
 
3:36 AM
I don't I should have probably went through and picked the ones I wanted
haha I might end up doing that anyway, the time hasn't changed from more than 1 day, and I'm not waiting that long
 
 
4 hours later…
7:56 AM
Fixed, thanks.
Reference for all interested users: https://github.com/Canop/miaou/pull/76
BTW when you think there's a breach, please tell me first. Some of my users are very interested in their privacy.
 
 
1 hour later…
Wes
9:06 AM
\o
 
Hey, if anyone feels like it PTAL at gist.github.com/morsdyce/… and star if you like the idea. If it gets 150 stars a friend gets a free ticket to ReactiveConf
 
9:37 AM
@DenysSéguret Ah, sorry, I will in the future. Figured minimal impact given the CSP
(<script> example on PR was typed up in a hurry & not representative)
 
it's OK ;)
 
@DenysSéguret What is the game, anyway? I looked in the room but couldn't tell.
Maybe just bad at looking
 
come sat "hi" in the Tribo room and I'll show you: dystroy.org/miaou/73
 
9:54 AM
Not too happy, but here's My Async Iterators Talk - I got timing wrong and switched languages at the last minute - but I hope the message comes across :)
13
 
Anonymous
10:12 AM
Hello,

https://github.com/nicematt/ecmascript-detect/blob/master/ecmascriptdetect.js
 
@BenjaminGruenbaum Uhhhh
 
10:53 AM
@MadaraUchiha ?
 
11:10 AM
Hi Guys
anyone know about google maps javascript API?
need little favour
 
im going to create this shape in responsive way
i used border-radius:50% 50%;
but in the small screen it would be cricle
and so bad
 
why
 
hay @towc how are u
 
are you talking about svg now?
because that feels like an svg border
 
it is possible to implement it in svg
i'll used it as my background in the main menu
 
11:16 AM
you can do it in svg, yes
 
something like this
 
svg the hell out of it
 
what do u mean
 
use svg
 
thanks dear @towc
 
11:24 AM
@BenjaminGruenbaum Introduction to BDSM?
@Sandro A note for the future, "sir" and "dear" are actually fairly creepy things to say to a stranger
 
@MadaraUchiha it's a mocking framework
 
@BenjaminGruenbaum Is it? Is it really?
 
didn't know but we used it in our custom
 
@MadaraUchiha Yes, it was presented in ReactNext
 
we learned to be kind to stranger :D
 
11:27 AM
@Sandro "dear" is something you say to someone you care about (close family, usually)
 
@MadaraUchiha yes you are right in international ways thanks for your note
 
11:48 AM
@BenjaminGruenbaum Is this the one where you endorsed me for PHP and jQuery? If yes, I am not watching.
 
11:59 AM
Hey @KendallFrey, pass me a banana
 
@BenjaminGruenbaum Having to watch 10 minutes of sponsorship for 30 minutes of talk is pretty bad form :/
 
12:20 PM
@MadaraUchiha there is a "skip to talk" button
 
hello everybody, I am using interval:false in bootstrap carousel but still the automatic slides does not stop. can any body please tell me what else needed
 
@BenjaminGruenbaum I'm aware, still
 
@MadaraUchiha that's the compromise I got when I complained about it - it's the first talk of the bunch and it has always been this way.
 
What sponsorship? I can just see the talk. And there is no PHP endorsing either. Good job. (I am on mobile though)
 
The first 9 minutes are not the talk, I just posted a "starts there" button
 
12:41 PM
@BenjaminGruenbaum Ahh ok. nice :) good disclaimer at the start btw, I do indeed not hold the same opinions :P Good talk still!
 
1:32 PM
@SpringLearner data-interval : false if bootstrap 3.0
 
@JuniorFlock Welcome to the JavaScript chat! Please review the room 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 well, you're wrong :D
 
@SpringLearner don't trust jsfiddle for this, because even if you take out all the javascript, it still runs for some reason on that site. Actually use it real world.
 
2:09 PM
Hi
Can someone with AngularJS have a look at this?
0
Q: Applying sort and filter to an Angular table

PhoenixI downloaded an Angular demo app to learn and work my way through Angular basics. I am having issue with applying a filter and sort to an Angular table now. It was working untill i changed the data in tables. My table is : <div class="widget-content" ng-controller="getAllBenchersController"> ...

 
Wow.. this is no way to treat a ferrari :(
 
lol
Im a beginner and learning Angular.
and also a new user in stack overflow.
 
@JuniorFlock sure,thanks
 
2:35 PM
Hello people
I need to make a drawing using css, html and JS
Dont know where to start
Its a image of a cat that I need to convert it HTML
Any help would be appreciated
 
Wes
@ivarni :'(
is there a way to make nested classes in es6? eg
class Map{ Entry : class{ } }
 
@Wes no map literals, only object literals.
It's easy to convert objects to map automatically but then you don't have object keys which is why you typically want maps in the first place
 
Wes
?
not what i've asked :P
class Map{
    public class Entry{
         // methods
    }
    // methods
}
i want an object field to return a constructor
var x = new Map();
var y = new x.Entry();
is that possible?
used the Map/Entry just as example
 
3:44 PM
Map.Entry = class {
    // methods
}
class Map4 {

}
Map4.Entry = class Entry {
   foo() { console.log("KEK") };
}
var e = new Map4.Entry();
e.foo()
 
4:18 PM
// if using stage-2
class Foo
{
  static Bar = class Bar {};
}
ohh, or non-static, to match your var x = new Map(); var y = new x.Entry();
I'n not sure that gets you anything.
 
0.o parents dug up some photos for the yearbook...
 
@Wes Yes
You can
 
> I'm so going to murder your family
 
function A() {}
A.prototype.B = function() {};

const a = new A();
const b = new a.B();
But why?
// alternatively
function A() {
  this.B = function() {};
}
 
Wes
yeah, but not static :P
var x = new Map();
var y = new x.Entry();
i think the only option i have is defining it in the ctor
 
4:28 PM
@Wes See mine
But why?
What are you trying to do?
 
8 mins ago, by Luggage
I'n not sure that gets you anything.
I am also curious why. It smells like an XY problem.
 
Are you trying to build something fancy pancy like an ORM that has abstract factories that in turn can act as factories themselves?
 
Wes
@MadaraUchiha i don't know why. still trying wrapping my mind around it
 
@Wes Stick to the basics man, get a good grasp, before trying to take on the ones that require a paradigm shift
 
Wes
the class in question is actually a namespace/module, which has a constructor i use to inject dependencies, so its members are classes/functions
 
4:31 PM
namespacing / organization is fine, but they you would use static properties.
 
1 message moved to Trash can
@Wes Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
Wes
module.exports = class{
    constructor(...deps){}
    classes
    functions
    whatever
}
 
@Wes Aren't you using WebPack?
 
Wes
i am, but i'm not compiling anything yet
 
module.exports = (...deps) => {
  // use deps here

  /** @jsdoc here */
  return { classes, functions, whatever };
};
const module = require('./foo')(dep1, dep2 ,dep3);
 
4:34 PM
^ agree. While a 'class' could be functionally the same, this is much more clear as to intent
 
Wes
yeah that is what i was doing, but i couldn't find a way to set jsdoc annotations to resolve the generated symbols correctly
 
@Wes Annotate above the return statement
 
gjs vs seed?
 
Should do the trick
 
Wes
module:NS/NS/Module... what here?
 
4:36 PM
@Wes Create more modules.
Webpack makes namespaces obsolete to begin with, that's the point.
A namespace is there to prevent naming collision, in a way, so do modules.
You don't need both
 
Wes
okay, was an example though :B wait
does "intellisense" work for you in webstorm? what version are you using?
 
I use Intellij
Latest
And it does work for me, yeah.
 
Wes
it works locally but it fails with multiple files
actually it kinda of works but then i don't get the autocompletion :\
 
@Wes You should give TypeScript and Visual Studio Code a try
 
Wes
what's the syntax?
/**
* @module My/Module
* @return ?
*/
module.exports = function(window){
 
4:40 PM
I haven't yet, but heard they're quite good.
 
Wes
but how do i resolve to a constructor that is dynamically generated by a function? usejsdoc.org/about-namepaths.html
 
/** @constructor */
Person = function() {
    /** @constructor */
    this.Idea = function() {
        this.consider = function(){
            return "hmmm";
        }
    }
}

var p = new Person();
var i = new p.Idea();
i.consider();

// In this case, to refer to the method named "consider," you would use the following namepath: Person#Idea#consider
 
Wes
@return {module:My/Module.PersonClass#IdeaClass} this will do too? doesn't seem to work
kill me with fire
 
gtk sucks :/
 
5:05 PM
btw, I have a very red laptop, I hate red, and decided there's enough reason to make the laptop black
but buying a black laptop is not exactly cheap
any ideas as to how make it black without damaging it?
 
A controlled burn.
 
that might just work
but seriously, I'm ashamed of going around with this
 
sell it on ebay, but another?
 
I'd still likely be at a loss
I can put fancy stuff on it, so I'd also be selling the software
 
get some vinyl flames for it
 
5:10 PM
-_-
plz
I'm starting to wonder whether the burn would actually work
 
No.
 
keep a coat of CO2 on it and try not to touch it
 
That was a joke. Fire and plastic will never end well.
 
I'm helding you legally responsible the house gets on fire
(dw)
 
m59
I've done this exact thing before and it worked... for this project it doesn't. I don't know what I've done wrong. Looking for help with this node stream project github.com/m59peacemaker/node-tap-filter/blob/master/test/…
write() doesn't do anything (the data event isn't fired, the logic in the stream doesn't run)
 
5:15 PM
omg so I just got my ultra wide acer predator x34...
it's insane
3560x1440...
so much horizontal room, such impressive length ;)
 
m59
The module works, though. My test just doesn't work. npm test | tap-filter test-fail # show only failing test lines
@Loktar Beauty :)
 
@Loktar you might now about the short scroll-up question of mine
 
@towc they make skins that might work
 
a DIY solution?
 
if they support your model
yeah they are basically big ass vinyl stickers, cut exactly for your laptop
or if you mean like a no money solution.. idk
 
5:18 PM
well, those skins wouldn't work for the keyboard
 
depends, some do
whats you laptop model?
 
I was wondering whether there'd be an interesting paint that sticks to "laptop-plastic", isn't toxic and doesn't get through the buttons
similar to this, but without nice-to-the-touch stripes toshiba.co.uk/laptops/satellite/satellite-c40-c/…
 
yeah idk about painting
 
bought that one for a friend, installed debian on it (it's probably up in flames at this point) and sent to slovakia... it was just amazing :3
 
you could honestly just buy some vinyl on your own and try it idk
 
5:21 PM
actually, that's just £200 now, might just buy it
 
@Loktar I fail at putting stickers on my laptop
 
haha yeah it's not for everyone
I'm not good at it either
that's a cooler looking wrapped one
but yeah, you need attention to detail and steady fingers lol
 
do you know any of us that know these kinds of things?
 
what do you mean?
 
5:23 PM
as far as I knew, you're the advanced-hardware-ish guy
 
like how to wrap laptops?
 
well, paint, spray or other solutions
 
oooh hah there are a few in here, @ssube usually has some good ideas
 
oh, thanks
 
also @tereško
 
5:23 PM
the lemon maybe?
 
Teresko knows his shit pretty well actually
yeah he might have some ideas too actually
 
I dont know anything
 
:/
 
also, what's the topic?
 
letting me down before the question is asked?
 
5:24 PM
changing the color of a laptop @tereško
 
I have a red laptop and want to make it black
 
diy solution
 
@FlorianMargaine, @copy I saw the most amazing thing today
 
I suggested a vinyl wrap because that's all I know in terms of customizing a case
 
16 mins ago, by towc
user image
there's red between the keys
it's horrible
an abomination
 
5:25 PM
int main (int argc, char **argv) {
    return the_real_logic(--argc, ++argv);
}
 
heh maybe even look for a broken one on ebay that's cheap could switch out the shell @towc
 
@towc can't you just sell it?
 
that's a possibility too
@tereško was wondering if there was a cheap DIY solution first
otherwise I'll sell it, sure
or I'll stick with the color that screams for attention and to be stolen
 
alright I'm off for a while, installing vesa mounting bar on my desk... good luck!
 
I have seen some, but they require quite a lot of equipment
 
5:26 PM
hf @Loktar
 
unless you are willing to sink into upwards from 200€ just to change the color, it's not worth the effort
 
well, that's basically the same as buying another laptop
 
as I originally said - sell it
 
:/ k
I mean, there must be a good enough spray
that does exactly what I want it to do
 
simply spraying it you will get an uneven coating
 
5:29 PM
hey, as long as it's not red
 
instead you would have to build .. well .. I dont remember the correct term, so I will just call it "mist chamber"
 
@tereško They usually use electric charge to make the paint stick in those
Which is probably not very healthy for an assembled laptop
 
he would have to disassemble it anyway
 
@tereško Then, why not buy the corresponding part of a black laptop, and reassemble with that?
 
now, that's a valid option
though, I would just sell the damned laptop and be done with it
 
Just walk around with lenses which map the color red to black and vice-versa
 
@Zirak I'm fairly sure your brain would start autocorrecting after a while
It does that
Although that would be a very interesting experiment
 
Correcting colours?
 
yes
 
@Zirak Yeah
It already does that a lot, and you don't even notice.
 
5:34 PM
same goes for wearing glasses that show image upside down
 
That I haven't heard of, not on a large scale. Like, mapping one colour to another. Seems too weird.
Mapping "objects" to wave lengths doesn't make too much sense
Upside down does make sense, that's an awesome experiment
 
Wes
@towc you'll just need special screwdrivers because it will likely have those screws with silly head shapes. the hardest part is removing the motherboard but if you need to paint only around the keyboard and the screen, that is usually easy to disassemble
*the back of the screen
 
@Wes so you're saying remove the shell before painting?
 
Wes
you need to isolate the red parts, otherwise paint will be shit, even if you are the king of masking
search for "how to disassemble a laptop" or something, most of times laptops get disassembled the same way, so any guide will be fine
 
5:45 PM
I'm so going to break it
 
it's not worth it.
 
Wes
@towc the hardest part is remembering to put back in all the screws you removed :B make a paper template or something. also touch metal, wash your hands or something so that you discharge your body before touching the inner components
 
meh, I'll just sell it
thanks anyway
 
Wes
5:54 PM
ha
i would paint anyway. modding is cool :D
 
f that noise
 
6:27 PM
I'll probably break everything
 
Wes
ask at a computer shop? a friend that knows how to do it? :P
 
Any idea how I can somehow make so that result ends up being 0?
 
@Wes I don't have friends
4
 
Wes
ha
 
6:49 PM
@Zirak beautiful
 
@Asperger rephrase the question, please.
 
anybody can help me with this question
0
Q: implement resposive no collapse responsive menu

Sandroi want to implement this menu the problem is the shape and the hover and how to make it responsive you know, i want to keep this menu style in mobile and won't to collpase in mobile all text will disappear and only icon will stay. the thing that i tried on is here: <section class="slide me...

 
7:12 PM
Do any of you whizkids know how to display the pop-up in this webpage that opens when I click on the Login button at the top-right of the screen?
I see the underlying code says:
onclick="showLogin('portfolio')"
I'm guessing the portfilio in the above code, is a url, as follows:
<a class="eb_account" href="/portfolio">my account</a>
 
user2620028
7:41 PM
What do you mean how? The element is just hidden with css styling display none.
 
8:13 PM
Only a few more things left to do before I can start coding actual gameplay :D
redis is beast
 
@SterlingArcher You end commit messages in periods!
BURN
 
> TODO: Add ability to leave a lobby when you click "leave lobby"
 
Why all the console.log debugging?
 
8:40 PM
Because I hate myself
lol no all the logging is still there because it has already helped me track several bugs
@Zirak well, it's better than using git grandma (cc @rlemon)
 
user2620028
Where is a good spot to help with git issues
 
user2620028
i always end up breaking git some way or another
 
9:24 PM
@Zirak Neat
 
9:42 PM
@BenjaminGruenbaum Neat
 
Watching this now ^
 
@SterlingArcher what, neature walk? :P
 
He's watching me watch Benjamin's video
 
It's kind of boring he doesn't make ooh ahh faces
do more copy
 
9:57 PM
@SterlingArcher not everything has to be a sex tape
 
@BenjaminGruenbaum this is good. You really like generators don't you
 
01:00 - 22:0022:00 - 00:00

« first day (2171 days earlier)      last day (2782 days later) »