« first day (2154 days earlier)      last day (2809 days later) » 

10:03 AM
this is new?
 
@beginner 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.
 
i think this is new feature of stackoverflow .isn't it?
 
Nah, chat's existed for ages.
 
really !How i never see this?
it seems very good chating site
how are you friends
 
10:38 AM
@beginner depends on what you call "new"
but I've been here for about 5 years
 
> chat user since 2013-07-30
Though wasn't really regular until late 2014
 
Hi All, I need help on a code which I have posted on stackoverflow.
Is there anyone who has experience on GSON and javascript ?
 
node_modules/url/url.js didn't return a function
@ ./~/css-loader!./~/sass-loader!./~/font-awesome/scss/font-awesome.scss 6:759-810
Is there any wrong with other modules?
I try to get run webpack, and i get this error.
 
Why are they linking to ~?
 
I dont know, why it links url.js that doesnt relate to stylings..
 
10:43 AM
Did you npm install url ...?
 
but i am not using url module or used anywhere...
may be some dependecy has downloaded it.. but not sure.
 
I mean, you shouldn't as it's a native module.
 
I am not making any links or changes to native mode.
i just ran webpack and i get this error.
ERROR in Loader /Applications/MAMP/htdocs/itc/node_modules/url/url.js didn't return a function
@ ./~/css-loader!./~/sass-loader!./~/font-awesome/scss/font-awesome.scss 6:759-810
 
9
Q: Webpack: node_modules/css/index.js didn't return a function

Johannes KlaußI'm trying out webpack for the first time and used this tutorial to get started and include react.js. After finishing the steps and installing the style and css module I keep getting an error that the css module didn't return a function. This is my index.jsx: /** @jsx React.DOM */ 'use strict...

 
Yes, i went throught this post. but i did changed the loaders
but it crashed.
/Applications/MAMP/htdocs/itc/node_modules/webpack-core/lib/LoadersList.js:81
r.forEach(function(r) {
^

TypeError: r.forEach is not a function
may be because, loaders need an array..
 
10:49 AM
What does your config look like?
 
hey
 
{ test: /\.(png|woff|woff2|eot|ttf|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'url' },
 
anyone have random build fail using gulp dev
I uninstalled node yesterday and reinstalled, guld dev was working fine then for a day
 
Are you sure there's a url loader? If so, it should probably be like the rest. url-loader
 
10:53 AM
now gulp dev doesn't work again..
on Windows btw
 
wow... it works thanks @BenFortune
it needs to be url-loader and i installed url-loader and it worked.
seriously you saved me.
wow... it works thanks @BenFortune
 
Got it the first time :)
 
wow... it works thanks @BenFortune
 
 
Please don't make this a thing
 
10:57 AM
?/
 
hahahahaha
 
wat
oh
hahahahahahahaha
 
great apple invetion
 
I love apple shitposting
 
10:58 AM
WTF
 
haha
 
lol
from my point of view apple company uses outdated technology but packaged nicely
 
made in china
 
all devices are made in china
 
Anyway to make this while loop code more elegant ? Something smells bad.
function* foo( ){
  yield 1;
  yield 2;
  yield 3;
}

    var iterator = foo();
    let g = iterator.next();
    while (g.value)
    {
        console.log(g.value)
        g = iterator.next();
    }
 
11:04 AM
@mcmwhfy mine was made in Thailand, so you're wrong
Why not just..
while(g.iterator.next().value) {}
 
@little pootis ah sorry, made in Asia , is better ? :))
 
11:17 AM
how can I navigate manually with angularJS state route ?
I cannot just pass in the URL
using IONIC with UI-Router
 
1
A: Rename the Necromancer badge

CerbrusWhile we're at it, let's rename: Tumbleweed: I associate this name with poor social skills. Illuminator: Illuminati confirmed. Guru: "In the West, the term is sometimes derogatory" (source) Revival: Reviving the dead is sacrilege. Pundit: The use of the word "Pun" in an inappropriate manner. C...

I just couldn't resist... This is a feature request to rename the necromancer badge... Because the OP doesn't want to be associated with witchcraft / black magic
Wat.
 
lol
Ah, so this is what necro means.
 
gey guys
 
Necromancy is the "art" of resurrecting the dead.
 
@mcmwhfy I'm straight, though.
 
11:26 AM
I'm trying to add a class to all elements from a column
using nth-child()
but I don't know which property for nth-child to use
:|
for example
here is selecting only the second column
but I want to add a class for all columns
actually each child column
:D
 
If you want it for all columns, why do you need nth-child?
 
hmmm I don't know other method
 
Just remove it...
 
remove what ?
 
Wait, you mean nth-child(2n+2)?
 
11:32 AM
let me check
 
@mcmwhfy: Which cells do you want to modify, exactly?
 
hmmm
basically I want to hover vertically and horizontally
when I'm on an element
 
That's far from what you originally asked.
 
and I don't know how to get that vertically for all column
 
Next time, start with that
 
11:37 AM
not true ;)
 
@Cerbrus yes, I saw that example
but need do do that with jQuery
 
@mcmwhfy Why?
 
@Cerbrus because I will iterate through that elements and I will do other checks
damn
I'm a not a good in asking questions
:|
 
11:39 AM
Aw, that double-accept is gone :(
 
Grid idea!
 
@OliverSalzburg So punny
 
TIL that npm publish doesn't respect a global ~/.gitignore. FML
 
Thought you had to use .npmignore?
 
11:46 AM
It falls back to a local .gitignore if no .npmignore is found
 
TIL
 
@MadaraUchiha Published some secret stuff nobody should ever see ever? :) Link?
 
@MadaraUchiha ouch. Link?
 
12:06 PM
@ Cerbrus wow that grid is a valuable resource
ty
 
Fidget Cube @ 1.2M O__o
 
What is the name of this kind of operation in JS :
(a=2,a=a+1,b=3+a) //last result = 6
(the exact term)
 
@RoyiNamir The please-oh-my-god-please-please-never-do-this operation?
2
 
@RoyiNamir Comma operator, or "evil-don't-use operator"
If you see this outside of generated/minified code, someone deserves a spanking.
 
@OliverSalzburg I asked the term name . not an opinion / best practices.
 
12:13 PM
@RoyiNamir It's not an opinion. I think that term is in the spec
 
Hey guys, if I'm trying to build a reddit clone would it be better to learn react or angular?
 
yeah , but I didn't know what to look for. I didn't know the name.
 
\o
 
o|o
 
12:14 PM
@OliverSalzburg it's a PleasePleaseNeverDoThisAssignmentExpression construction to be exact.
 
hi
 
@ManuelStoilov this Q can´t be answered. Both can be used for the job, but they are not really comparable.
 
i want to start mean stack development , any suggestion for me
 
@elsololobo Oh, okay I understand. I wasn't sure if it was possible with react but I guess it is. Because I see all these "reddit clone" things made with Angular, but very few with react
@zatee29 I just finished a course on Udemy that was on the MEAN stack that was very good. But it didn;t touch on Angular
 
I learn little bit from Microsoft virtual academy but it doesn't help me as i want
I want to learn with angular2
 
12:21 PM
@MadaraUchiha Guilty.
 
but it was on angular 2
 
Learn the pyjama stack
PJMA
Php jquery MySQL and apache
 
@rlemon var tasks = ['nap', 'eat', 'nap', 'eat', 'nap', 'eat']; var nextTask = tasks.pop()?
 
-1
 
m not interested in php
 
12:23 PM
Not enough jQuery
 
I love jQuery but not php
 
@zatee29 you need phpQuery
 
@elsololobo not your thing? try javaQuery
 
kill all people
 
12:26 PM
much better :P
 
@ndugger is too hipster for both, he uses HaskelQuery
 
true
 
unbelievable what things are out their... but after i found out their is an API that just offended people nothing makes me wondering anymore
 
@SterlingArcher #JacksOutForHarambe
 
@RoyiNamir it's an expression with Comma operators
I use it in for loops outside of minified code
haters gonna hate
 
12:30 PM
I'm interested in MEAN Stack
not other things
 
@rlemon brilliant
 
it should be MEA
 
Bettet get yourself some jQueryQuery
 
since express it's a framework only for node.js
 
haha
 
12:32 PM
yah
 
and sounds funny in spanish
the lonely wolf can confirm it
 
i´m actually from germany ;)
 
I'm from zimbabwe
 
Hey all, I have a problem here with Grunt. Essentially what I'm trying to accomplish is:

Concat all css files into 1 file from the Development folder, then, minify the combined.css into combined.min.css. But even thouhgh that works, I'm not understanding a few things because the output seems to be different from what I wrote in the code
 
@Jase 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.
 
12:34 PM
@elsololobo :o
@ndugger dicks out for you
 
My gruntfile (irrelevant stuff removed) is:
        concat: {
            all: {
                src: ['wwwroot/Development/Assets/Scripts/Core.js', 'wwwroot/Development/Assets/Scripts/Home.js'],
                dest: 'wwwroot/Development/Assets/Scripts/Combined.js'
            },
            css: {
                src: ['wwwroot/Development/Assets/Stylesheets/Core.css', 'wwwroot/Development/Assets/Stylesheets/Home.css'],
                dest: 'wwwroot/Development/Assets/Stylesheets/Combined.css'
 
I have not found any relevant thing
 
These lines here - when UNcommented - do absolutely nothing. The entire build script functions exactly the same as if this code was never there:

//cssmin: {
// options: {
// shorthandCompacting: false,
// roundingPrecision: -1
// },
// target: {
// files: {
// 'App.css': 'Combined.css'
// }
// }
//},
 
@Neoares just took a spanish name to get some spanish girls
 
I am trying to get Core.css and Home.css combined and minified into App.min.css. But the result is always a combined and minified Combined.min.css. I don't understand why it keeps naming the file Combined instead of App.min.css. Any ideas? I'm very new to Grunt, so I'm obviously doing something wrong.
 
12:38 PM
but they prefer cats :(
 
@ Cerbrus so, I have achived this function :D
function cols(){
var s = $('.row');
for (var i = 0; i < s.length; i++) {
 for (var j = 0; j < s.length; j++){

 var bb = s[j].children[i];

 console.log(bb/s.length);

 }}
}
cols();
 
and I am using grunt-contrib-cssmin for this
 
@mcmwhfy Why is i based on s.length?
 
s.length is the number of rows
can be a whatever number
 
Also, console.log(bb/s.length);?
 
12:42 PM
that is the question
I don't know how to divide
and to return an array with each column elements
:\
:|
basically that console.log(bb/s.length); will never work
 
@rlemon Damn you I looked at twitter and now I'm hungry
 
do you eat twitter
 
@KendallFrey seriously.. ruined two eclairs
 
ruined, eh? I'll take em if that's what you think
 
also @KendallFrey youtube.com/watch?v=psfFJR3vZ78&feature=youtu.be better than space
 
12:54 PM
@rlemon In what possible way
 
every
 
get out, heathen
 
my Arduino comes today
 
\o/
 
Hey, I need a dev laptop with a fast CPU up to 1300 usd
 
you need also a SSD ;)
 
That's a 6200u CPU
No can do.
 
1:02 PM
mb
 
What's the site @rlemon got his from? Where you can customize it
 
Who really manufactures the System76 laptops?
Like.. there's a company that does that for them.
 
The one that fits your budget comes with a i7-6700HQ
Though, is that canadian dollars?
 
1:05 PM
no, freedom dollars
 
I really hope if Trump wins he renames the dollar to the trump
> that'll be 18 trumps please
 
Trump means fart here
 
@SomeGuy @KendallFrey ^
lots of these I've never heard of
 
@BenFortune link ?
 
1:07 PM
@rlemon Basically, all of them
 
I have that laptop
 
@Mosho example ?
 
It's great but I need someone more common
 
You mean a better known brand?
 
1:09 PM
system76 is fairly known
even @Zirak has one
 
Oh my god I had the weirdest dream that Joe Rogan was my physical trainer and he lived in the apartment under college party kids and we trained for 4 hours while these kids threw a party and part of the training was crouching like Slavs and he blew in my ear and it made a noise like when you rub your finger over a crystal glass (that frequency sound) and when he was done we did a ton of pushups and got trashed before the cops came to bust the college party.
What in the actual fuck
 
I prefer a brand that sells here directly, like lenovo
 
holy run on sentence batman
 
@SterlingArcher punctuation
 
41 mins ago, by rlemon
@SterlingArcher #JacksOutForHarambe
 
1:11 PM
Dreams have to be explained in run on sentences it's law
@rlemon just saw that and lol'd
 
@rlemon Dammit, I think I'm stuck here for a while
 
So I saw Don't Breathe last night at the movies
and wow
That movie was intense, and shockingly good
 
@SterlingArcher so you punked out and let your brother chase you out of the house
:/
 
Yup, well worth it though.
Until the wedding is done I'm avoiding potential high stress issues because I've seen smaller issues blow up hard
 
sounds like you're a big pushover for them period
 
1:14 PM
@Jhawins happy birthday bro!
15
@rlemon yeah, considering how much they've done for me, it's the least I can do to just suck it up for a couple more months
 
@SterlingArcher no, not really.
that isn't how it works at all
> you were good to me one time so now you can run my life
this isn't 1850 missouri
 
Nah man they've been good to me minus some petty shit for 3 years.
 
You aint got no pancake mix
 
idk, I don't have family ties really so it just seems like they're being douches about petty stuff
 
Besides it's either I suck it up and move out and we're all happy, or I start a huge fight and cause even more family issues. Considering my mom and her mom and her brothers have been fighting for 4 years now I don't want that with my brother
 
1:17 PM
@SterlingArcher but why does it have to be "their way or fight"
 
Oh they most definitely are, but they do stuff for me that far outweighs that
 
don't you see the problem with that?
 
Because that's how family works
 
and that is why I don't have family ties
 
My family has just embraced that, and so now the way that we show affection towards eachother is by insulting eachother and general rudeness. It works for us, and we like to get really clever with our insults. It's how we bond, and it's awesome
 
1:18 PM
I absolutely see the problem with it. But it's only till decemeber, then we won't be around each other 24/7 and considering it's been 7 years, 3 living with them (not considering the 4 years we were all together in college) I can suck it up for 3 months to save what family I have left
Beyond that, when I have no lease ties to them, if they want to start something, they'll find out how easily I can separate myself from people
 
ohh man I can so easily go months/years without interacting with my family.
 
I love my family, but I only need me. I'm the only one in my family who has even considered that I can move away if I wanted to
 
the problem is we have nothing in common and all of our views conflict
 
For reference, my moms mom doesn't talk to my mom and it spread to my uncles because my mom moved 45 minutes further away. That's how petty my family can be. And it's been 4 years
I don't have much in common with my family too, maybe that's why I feel like that
 
when my mom left her second husband he called up my family and got them to take his side
I haven't spoken to a good majority of them since
 
1:21 PM
Wow that's rough
 
just because we happen to share some DNA doesn't meant shit to me
bothers Holly sometimes, she's very close with her family.
 
Blood of the covenant is thicker than water
 
The blood of the covenant is thicker than the water of the womb.*
 
omg mister fucking perfect quote over here
 
@elsololobo then you would like to know that your name is wrong
 
1:25 PM
@SterlingArcher I love that it is often .isquo
Fucking mobile
 
@SterlingArcher At the end, "I'm fucked"
 
My next phone will likely not be an iPhone if their smaller ones don't have a 3.5 jack
 
@Neoares the spanish girls always say the same. What´s wrong with all of you :P
 
> If I was Obama I would wait until after the general election then contrive to be caught on camera wearing Arab robes and clutching a Koran on the lawn of the White House, just to watch the ensuing shitstorm erupt on Fox News.
 
1:29 PM
@elsololobo why do you like spanish girls
 
@BenjaminGruenbaum did you watch the event? They're goal is to simply become wireless. The reasoning was "Why should you be wired to your wireless device?" So I guess the ApplePods were a big thing for them
I thought they were pretty cool, especially how they pair up
 
I watched the event, but I have high end headphones and I don't want to walk around with an expensive DAC
 
The part that converts digital signal to analog signal.
 
charging my headphones sounds about as convenient as charging my watch.
 
1:31 PM
^
 
If my phone can wirelessly charge my headphones when they're on me and they manage to sell headphones with a good DAC for cheap then maybe
 
I've never had a problem with headphone cords when attached to my phone
 
Iunno. With the case for the pods I think they did it right
 
1:34 PM
@Neoares i like how quickly/ much they speak, so I don´t have to say much ;) and like their healthy skin tone.. not this german sunbed shit
 
Yes + a good DAC is expensive.
 
headphones are more an issue in the office when I walk away from my desk and they're still around my neck
 
I love my beats wireless at the gym though. i hate wires
 
If you want to have headphones that are actually good and not piece of shit beats then you need a good DAC if it's wireless
 
I can't delete my message, wtf?
 
1:35 PM
Beats are awful headphones, they cost a lot of money and have really shitty sound.
 
Oh, it has already been deleted.
 
Yeah well, so far the powerbeats 2 are the only wireless headphones that haven't broken at the gym from sweat
And they sound good with metal, so I'm happy with them :)
I tried to kickbox with wired headphones and when I threw a backfist it caught my wire and I almost ripped my ear off lol
That hurt
 
1:39 PM
worst headphones i ever bought were the razor with usb ... probably good for gaming, but worst sound for music my poor ears ever heard..
 
@KendallFrey yea I read that a while ago
 
@elsololobo yes *_*
 
there is a lot of effort put into that one
 
@SterlingArcher the thing is you never probably listened to music in real headphones so you genuinely believe they're not shit :P
 
my only goal with headphones is good volume and comfort
 
1:40 PM
@rlemon a lot of good headphones typically require an amp
 
and working ears
 
Although I got a pair of lowend headphones for ~$100 I'm really satisfied in, and ATH-m50x are really cheap now and are amazing
They used to be like $500
 
Unfortunately, despite my expensive tastes, I've broken too many headphones, or they've been stolen, to spend more than $150 on them anymore
 
Got cleer.us/headphone-DU.html for my office, much better than your beats. Although go for $160 and get the ATH M50x
@SterlingArcher most non in-ear headphones have detachable everything (like cord) and that helps
 
@KendallFrey lol "That we never went to the Moon...." > "He[Kubrick] was such a perfectionist he made them film on-location."
full circle
I love it
 
1:43 PM
yeah lol
 
@BenjaminGruenbaum but do they have any in ear sweat proof headphones?
 
I just dip my headphones in sweat before I work out so I don't have to worry about it later
 
I can never tell when people are being sarcastic when it comes to conspiracy theories...
 
I already wear this shirt to the gym sometimes there's no way I'm wearing a sweatband
 
1:50 PM
Oh good lord, jordan
 
Poe's law is an Internet adage which states that, without a clear indicator of the author's intent, parodies of extreme views will be mistaken by some readers or viewers as sincere expressions of the parodied views. == History == "Poe's law" was originally written by Nathan Poe in 2005, in a post on christianforums.com, an Internet forum about Christianity. The post was written in the context of a debate about creationism, where a previous poster had remarked to another user "Good thing you included the winky. Otherwise people might think you are serious." Poe then replied, "Without a win...
 
nevermore
 
@ndugger You have a very strange mind
 
prove it
 
You just did
 
1:51 PM
make me
 
@SterlingArcher headbands / scarf is a must for me
 
user3119231
o/
 
otherwise I just sweat into my eyes
 
Why has no one invented the sweatband for ass?
 
@ndugger dont you judge me I got a lot of compliments
 
1:55 PM
pls
 
@KendallFrey it's called a tampon
!!afk client call
 
I don't think jordan understands what tampons are for
 
mm yeah great i'll just sit on a tampon
 
@ndugger well he thought you cut mens balls off...
 
true
 
1:57 PM
Also he thought... well, we all know what he thought about spelling.
 
@KendallFrey after a quick google and lots of close up packages I can verify they make sweat absorbing underwear for men
 
@SterlingArcher ew
 
@BenjaminGruenbaum SterlingArcher is afk: client call
 

« first day (2154 days earlier)      last day (2809 days later) »