« first day (1539 days earlier)      last day (3412 days later) » 

1:00 PM
@Silver89 fixed
sorry, was fucking with different wave funcs and saved by accident
 
yeah es6
am using es6 module louder shim
 
yes
@SuperUberDuper you need to do export default class Core
 
ES6 is so fucking cool, I had an harmony of orgasms the first time I messed with it.
 
@Catgocat now I'm imagining a moaning choir. gee, thanks
 
ES 6 is meh okay
i love => more then anything
 
1:12 PM
@darkyen00 We know that, you gay little Indian :)
 
Bahahaha
 
you forgot the 8
 
you silly jquerian
 
hello masters!
 
var rubOneOut = $=>--$;
var remaining = 42;
while (remaining > 0)
{
    remaining = rubOneout(remaining);
}
amazing syntax
that takes self-documenting code to a whole new level
 
1:18 PM
explain 42
 
i have a quick one, How to remove one element off of an array, if i specify it's value
 
loop, check value, splice
 
or using assoc better ?
 
delete array[ array.indexOf(value) ]
 
!!wiki 42 (number)
 
1:19 PM
Year 42 (XLII) was a common year starting on Monday (link will display the full calendar) of the Julian calendar. At the time, it was known as the Year of the Consulship of Caesar and Piso (or, less frequently, year 795 Ab urbe condita). The denomination 42 for this year has been used since the Early Middle Ages, when the Anno Domini calendar era became the prevalent method in Europe for naming years. == Events == === By places === ==== Roman Empire ==== Consuls are Emperor Claudius and Gaius Caecina Largus. Romans take control of Ceuta, a port city on the North African side of the St...
42 (forty-two) is the natural number immediately following 41 and directly preceding 43. The number has received considerable attention in popular culture as a result of its central appearance in The Hitchhiker's Guide to the Galaxy as the "Answer to The Ultimate Question of Life, the Universe, and Everything". == Mathematics == Forty-two is a pronic number and an abundant number; its prime factorization 2 · 3 · 7 makes it the second sphenic number and also the second of the form { 2 · 3 · r }. As with all sphenic numbers of this form, the aliquot sum is abundant by 12. 42 is also the sec...
 
Don't tell me facts
 
ouh, the 42 explains it all ;)
 
Oh, I forgot hipsters don't do pop culture
 
I'm not a hipster :(
 
@animaacija Do you know how to find the index of a value? Do you know how to remove an item given an index?
 
1:21 PM
no basics in javascript. Sorry.
 
@KendallFrey wow, congrats for making js look like perl
 
@animaacija No need to apologise. You can go over developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/… and see what's available.
 
There is good cetralized resource for php - php.net , but there is NONE for javascript
 
1:22 PM
blowing my mind
 
@animaacija Sure there are!
 
@animaacija MDN
 
@phenomnomnominal make it extend past window borders
 
muslim home page ? :D mdn.com
 
@KendallFrey you
2.22am, i should sleep
 
1:23 PM
 
@animaacija click on the link that zirak provided
 
@animaacija that's a pretty massive leap to be racist?
 
finally all in one place.. So did mozilla develop uor javascript?
 
Not really
 
Their (ex?)CTO did
 
1:25 PM
jeah. Same for MYSQL <- their page is unreadable mess
php.page holds it all together and actionscript has good documentations
even jQuery has good one - all functions listed properly and neat
 
I have no idea what you're talking about.
 
Did you even look at the link I gave you earlier?
 
You've literally making me leave.
Bye bye bitches
 
yes mozilla has it all in one place ... finaly some good resource.
 
MDN is a great place for JS docs. Not sure why that's not good for you?
 
1:27 PM
It is!
Good
 
Unless of course there are any women in here, who should know I am only referring to the gentlemen as bitches.
 
Dolphins are unaffected
 
1 message moved to Trash
@animaacija No
 
@animaacija soo offensive
 
1:28 PM
kick muted
Night gents
 
wow
l8r allig8r
 
sleep well
 
Great picture!
 
inorite
 
1:38 PM
@FlorianMargaine How'd it leak? I put it on the iCloud next to my nude pics
 
I kept the latter for myself for... uh... reasons
 
I use skydrive for my nudes because nobody even knows that it exists
 
Im sorry.
trurly i was not right. :(
 
Sexism is absolutely not allowed. Maybe you were joking, but we don't know you, so it came off extremely offensive.
 
I appoligise for being infantile
 
1:47 PM
 
how can i pop out element off of an assoc array if i have it's key
and can i print key(literal not value) somehow (like first element's key of this assoc array)?
 
there's no assoc array in js
only objects
 
There's no such thing as the first key of an assoc array in Javascript
 
like var o = { a: 1, b: 2 };
and there's no order on the keys
 
yes
 
1:55 PM
so you can't have the "first key"
 
I want to log a really, really long string with a console.log in Chrome dev tools, but it's getting cut off. How can I make it show the entire string
 
ouh, no orders.. so i need to think other approach
 
@RoelvanUden Have enough newlines
 
@JanDvorak The whole goal was to have one without new lines, that's not possible then?
 
@JanDvorak Thanks
 
1:56 PM
@RoelvanUden Cut up on display?
 
@RoelvanUden save it to a file instead of console.loging it?
 
ouch
I almost broke my console trying to log something too big :D
 
@JanDvorak Basically I have a [].join(';') with ~30 entries of ~150 characters.
@BenjaminGruenbaum You can do that from a browser?
 
@RoelvanUden then just log the array?
 
1:58 PM
Stolen from a gist:
(function(console){

    console.save = function(data, filename){

        if(!data) {
            console.error('Console.save: No data')
            return;
        }

        if(!filename) filename = 'console.json'

        if(typeof data === "object"){
            data = JSON.stringify(data, undefined, 4)
        }

        var blob = new Blob([data], {type: 'text/json'}),
            e    = document.createEvent('MouseEvents'),
            a    = document.createElement('a')

        a.download = filename
 
gents... tessel.io looks so cool...
 
@BenjaminGruenbaum Lol! Awesome! Thanks
 
Sure thing, super useful
 
> Tessel is a microcontroller that runs JavaScript.
It's Node-compatible and ships with Wifi built in.
Use it to easily make physical devices that connect to the web.
 
@BenjaminGruenbaum The MouseEvent shingamjig could just be replaced with aa.click()
 
2:00 PM
@Zirak I don't think so
 
Didn't read it, just copy-pasta
 
@RoelvanUden You can also call copy
 
aa.click() doesn't make you go to a link, for example
 
@Zirak Copy into clipboard? How'd I do that?
 
@FlorianMargaine @Zirak just test it you two
 
2:01 PM
@FlorianMargaine Yes it does
 
@NickDugger Yea, wish i had a use for one
 
@RoelvanUden Call copy
 
@RoelvanUden .copy
 
Chrome dev tools implement that for you
 
@Luggage I'll come up with a use for it
 
2:02 PM
.copy on what? console?
 
Just copy
copy(something)
 
Oh cool, it's not namespaced
copy("Hello")
It used to be namespaced, TIL
 
Oh! That's super useful. Didn't know that! Thanks :-D
 
And for fuck's sake...
How many times must I yell at this chat?
 
chrome has jquery built-in! (waits for thrown tomotoes)
 
oh, it works with the download attribute
 
@Luggage tomatoes incoming in 3...
 
Dunno about cross-domain uris, never checked that. Maybe it needs to be on explicit user input
Like inside another click event or something
Also, @Copy, @SomeGuy and @KendallFrey: I may have linked this to you before, but: kongregate.com/games/EvilDog/hippolyta?tab=achievements
Still need to get the impossible badge...
 
2:13 PM
@Zirak so oldschool
Evildog 2.9
 
I'm slowly losing my mind because of it
 
Is there anything conceptually wrong with tessel.io ? I'm thinking that it could at the very least be my "foot in the door" into hardware, and the next step would be an arduino or something like that.
 
@Zirak I was reading of my problem is beacause I vn't request application/json charset=utf-8? This is true?
 
No
 
2:19 PM
Wait, you didn't try it out before asking?
 
@NickDugger conceptually? no. Sounds like a fun project
 
I'm testing, but continue with 404.
 
@BenjaminGruenbaum awesome
 
@UlisesContreras You need to understand what your url is and what it should be
Your code is fine, your knowledge is lacking
 
Stop bugging people.
Posting your question once is enough.
 
2:24 PM
@Zirak I'm Junior, this is normal by now.
 
@BenjaminGruenbaum Any clue about how windows audio pipeline works ?
 
Yes, please go to the nearest suicide booth.. </sarcasm>
 
@darkyen00 not really, no.
 
Lighten up a bit? He just needs help is all. If he needs to be instructed on how to ask, I'm sure we can manage that with a little less cynicism
 
:-/
 
2:26 PM
^ @darkyen00 what do you know.. it was only a google away
 
@BenjaminGruenbaum That doesn't explain how skype over-rides my whole music though :-(
 
@BenjaminGruenbaum subjective
 
So your question isn't how audio is structured on Windows, it's how one program can change another program's volume. Right?
@FlorianMargaine which is why we're asking for opinions :D
 
@BenjaminGruenbaum No, I asked pipelined, probably wrong term
 
2:28 PM
@BenjaminGruenbaum what makes a developer "senior" is at least 10 years of experience.
 
@darkyen00 Probably, what are you trying to do?
@FlorianMargaine you honestly believe that?
 
Get rid of skype ruining my music in background
when a person talks the music is adapted to their speech
 
yes, that's what the word "senior" means.
 
which his extremely irritating.
 
a "senior" developer doesn't indicate whether a developer is good or not
 
2:31 PM
@Zirak OMG! What stupidity!!! XD

This is var url = "js/data.json"; because I have this is a file js/data.js

The carriage was broken by a screw!!! //Moral, haha..
Thanks everybody, and so sorry, that's stackoverflow, solutions! NO OLVIDAR.
 
@darkyen00 skype has a web client - use that instead of the app.
 
@BenjaminGruenbaum things like the Tessel, or arduino, are they strictly used for prototyping, or are you aware of any serious projects that are distributed on them? Might be a dumb question.
 
@NickDugger ask @rlemon :)
 
@NickDugger a lot of people use them for home-made stuff - not prototyping.
 
rlemon's company is selling a product based on beaglebones, iirc
@BenjaminGruenbaum where is it?
 
2:34 PM
Like home improvement - and for automating home tasks - with a tessel you can for example turn on the heat or the water boiler remotely.
Haven't used it myself yet
 
@BenjaminGruenbaum yeah, but I don't see the client anywhere on the site
 
"Skype to go" I think
nevermind
 
@BenjaminGruenbaum what ?
 
In english, does "Fellow cat" makes sense?
And what does that mean.
 
@BenjaminGruenbaum satisfied with my "senior" answer? :)
 
2:43 PM
@UlisesContreras Congrats.
 
@FlorianMargaine :P
@Catgocat ask catplusplus in the C++ room he knows.
 
@BenjaminGruenbaum uh... that... doesn't answer?
 
@FlorianMargaine I think time is a poor way to measure someone's abilities and that senior developers are differentiated by more than time spent coding.
That said like you said it's completely subjective
 
@BenjaminGruenbaum as I said, "senior" doesn't mean abilities, it means "time spent"
 
@BenjaminGruenbaum No the C++ room, the lounge
 
2:48 PM
@Unihedro oh common the two are the same.
 

C++

Friendly conversation, including C++ talk — NOT the "Lounge"!
C++ room ^
is NOT the Lounge, and the Lounge is NOT the C++ room
 
so much activity...
 
Beaglebone looks better than the tessel, and has Bonescript, essentially a node library
 
yeah... ask @rlemon about it, he had some issues
 
crl
How can I shortly code this:
`var m=[['a','b'],['c','d']];var path=[[0,0],[1,1],[1,0]]; // now get the word from the path, here 'adc'`
 
2:57 PM
why do you want to get it shorter?
 
crl
without an ugly for loop
@FlorianMargaine for beauty :)
 
what's ugly about for loops?
 
crl
I will need to declare another var
var word=[];
for (var i=0;i<path.length;i++){
	word.push(m[path[i][0]][path[i][1]]);
}
word.join('')
 
!!tell crl mdn Array.map
 
crl
3:01 PM
yeah, ok
 
@Zirak That looks like fun. Played 10-15 mins of it
I've got to work, though
 
@SomeGuy I'm stuck on level 5 for the past 20 minutes
Save me
 
Hahaha
 
'Senior' is not thinking for loops are ugly
 
Wait, fuck, it's been an hour?
 
NO
 
@crl .map is what you want... another solution is .reduce
 
crl
@GeorgeJempty :))
 
var word = path.reduce(ret, position) {
    return ret + m[position[0]][position[1]];
}, '');
I prefer .reduce personally...
 
3:07 PM
@FlorianMargaine I've started trying to use reduce less and less, since the accepted function usually does two things: Compute something, and use that result for something else.
 
what does reduce is used for?
in javascript array prototype ofcourse
 
Like in your example, you both grab the current value (or however you want to call it), and then you take the result and add it to ret
 
path.map(function(z) {
    return m[z[0]][z[1]]
}).join('')
 
@Catgocat Collapsing an array into a single value.
 
3:09 PM
@Zirak input > output
 
crl
@FlorianMargaine yes thanks, I was trying to find it myself, and I did too path.reduce(function(word , i) { return word+m[i[0]][i[1]]}, '' )
 
which I like, you build up your result little by little
 
You can do the same thing with map first
 
Whats bon appetite in spanish ?
 
yeah but with map you build an array...
 
3:10 PM
@darkyen00 Internet, do you know it?
 
@darkyen00 "bon appetit" in french
 
@Zirak yes.
got confused
 
Though it's interesting to see that some languages (like English) don't have an equivalent phrase
 
disfrute de su comida < google says
 
@darkyen00 buen provecho
 
3:12 PM
@Zirak yeah, it always bothers me
 
@BadgerGirl thank you sis :-)
Wait you are native spanish speaker ? @BadgerGirl ?
 
yeah, what did you think?
 
@darkyen00 badgergirl is mexican
 
dunno, i know shes mexican.
 
@adeneo why :/?
 
3:15 PM
what's mexico native language?
 
@FlorianMargaine Really?
 
Oh okay :D
Several different languages are spoken in Mexico, with a large majority of the population fluent in Spanish while some indigenous Mexicans are monolingual in indigenous languages. Most Mexicans are monolingual Spanish-speakers. The government of Mexico use Spanish for most official purposes, but in terms of legislation its status is not that of an official language. The Law of Linguistic Rights establishes Spanish as one of the country's national languages, along with 68 distinct indigenous indigenous languages (from seven different families, and other four isolated languages). The law, promulgated...
 
@MikeNolan ?
 
Oh like prior to spanish
I saw that and was thinking their primary language, not native.
 
@BenjaminGruenbaum - why not, what's wrong now ?
 
3:21 PM
the besting and indices
 
Huh, what ?
 
nesting :P
 
what's wrong?
 
!!should I give up?
 
3:30 PM
@Zirak By all means
 
yes
 
But...I can't let the Romans win
 
!!should Zirak accept defeat ?
 
@darkyen00 Indeed
 
@Zirak shes sure about that dude.
 
3:34 PM
!!Should I grow my unibrow out?
 
@NickDugger Not at all
 
I wish angular was a bit more verbose
 
More ?
example ?
 
@darkyen00 so I have an angular app, and have a routing section. It declares the module and all that but the module isn't loaded. It's included in the script so angular must "see" it but since no one calls it, angular doesn't ever bother to do anything with it.
 
!!info
 
3:46 PM
@Zirak I awoke on Fri, 02 Jan 2015 15:45:24 GMT (that's about 40 seconds ago), learned 276 commands
 
Good
 
!!help learn
 
@NickDugger learn: Teaches me a command. /learn cmdName outputPattern [inputRegex [description]]
 
I'm having a similar issue where my routing isn't really doing anything and I'm not sure why, it's just a bit confusing as to why it would see my routing and not do anything about it.
Not even a warning or anything like that.
 
!!learn goatse <http://files.explosm.net/comics/Matt/Venn-Diagoatse.png>
 
3:50 PM
@NickDugger Command goatse learned
 
!!goatse
 
@NickDugger <http://files.explosm.net/comics/Matt/Venn-Diagoatse.png>
 
I fail
!!forget goatse
 
@NickDugger Command goatse forgotten.
 
3:50 PM
@NickDugger Command goatse learned
 
SISTITE
 
MALLEUS TEMPUS!
 

« first day (1539 days earlier)      last day (3412 days later) »