« first day (967 days earlier)      last day (3987 days later) » 

2:00 PM
Node.js future is looking bright
 
all good things come to an end :(
 
@Connor with better replacements (maybe delayed)
 
Node.js is like, the best thing since sliced bread
 
@remydib 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.
@James 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.
 
@Darkyen yes
!!/welcome @CapricaSix
 
2:05 PM
@@CapricaSix 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.
 
@CapricaSix now you know what it's like
 
@Gacnt no
 
Yuh
@FlorianMargaine You like GO don't you?
 
@Gacnt i STOP sometimes :\
 
go, lisp, c, nodejs, c++, php, java...
 
2:09 PM
@Jhawinsss Sorry, dumb mistake.
 
I see 1 good thing there, maybe 2, I'm gonna tryout GO
 
I forgot to multiply 7 by 2...
 
user1596138
@Zirak What was the problem?
 
@FlorianMargaine Just curious. Does GO have a npm style thingy or is it just all bundled with it
 
it has some kind of package manager
but it's very different from nodejs
its standard library is already huge
 
2:11 PM
Not lining in the US and A
*living
 
@Jhawinsss github.com/Zirak/SO-ChatBot/blob/master/source/plugins/… when doing the arithmetic, I didn't multiply the 7 by 2. It's supposed to be ... - 14
 
I made a css parser + minifier with base64 stuff et all without needing a single external library
 
Committing in a minute
 
NAyone got xp with Compoun.js?
Compound.js
 
@FlorianMargaine Nice
IS it fast for web dev?
 
user1596138
2:13 PM
@Zirak I love the variable names hahaha. fucker and fuckee
 
@Gacnt haven't tried it, but it should be
it's a compiled language btw
strongly typed, hopefully with type inference
 
Seems interesting, I'm gonna look into it, any good reads on it or tutorials, or you just learn from the docs
 
but where it's amazing is how easy it is to do concurrency with it
it has a nice "tour" that you can start from the homepage
but if you want to learn a new language, I'd rather recommend you go with lisp.
 
But caprica said it was bad :/
and for lusers
 
the concurrency thingie is really well done in go, but it's not mind blowing.
> Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better programmer for the rest of your days, even if you never actually use Lisp itself a lot.
 
2:18 PM
That can't be their homepage
 
@Jhawinsss heh, it poses a funny problem if age < 14, since it converges on age === 14
 
they don't have a homepage
lisp has many implementations
 
o.O
 
@Gacnt That just screamed "I have no knowledge of lisp at all"
 
2:19 PM
@Gacnt JS has a homepage? :)
 
You're correct, I have 0.-1
 
user1596138
@Zirak Ha, well 14 is pretty low anyway... Maybe it should say "Ask your mom" if the person is <14.
 
user1596138
!!fuckable Your Mom
 
!!fuckable 18
 
@Jhawinsss Your mom is always open for business.
@Zirak A person that age can shag down to 16, and is the lower limit of a person of 22 years
 
user1596138
2:21 PM
Love it.
 
@Zirak Your take on Lisp?
 
!!fuckable 12
 
@Nick Are you really a duck?
 
user1596138
!!fuckable Your Sister
 
!!fuckable 10
 
2:21 PM
@Zirak You're one sick puppy. A person that age can shag down to 13, and is the lower limit of a person of 10 years
@Jhawinsss Your sister is too busy right now.
@FlorianMargaine You're one sick puppy. A person that age can shag down to 12, and is the lower limit of a person of 6 years
 
!!fuckable age
 
@FlorianMargaine For you? Never.
 
I need to switch them when age < 14
 
@FlorianMargaine Did you mean Bower? github.com/bower/bower
 
2:22 PM
@JonKoops what?
 
user1596138
!!fuckable rlemon
 
@Gacnt I didn't use it enough to have a good, solid opinion, but from occasional glimpses, it looks amazing
 
@Jhawinsss This is srs bsns, please treat it as such (see /help fuckable).
 
The concept of data being code is beautiful
 
@Benjamin Only if you use duck typing
 
user1596138
2:22 PM
@Zirak what is the following block doing?
 
user1596138
if ( userId && Math.random() < 0.8 ) {
		//the perverts
		if ( Number(userId) === bot.adapter.user_id ) {
			return 'Keep dreaming';
		}

		return 'Why don\'t we ask ' + bot.adapter.reply( args ) + '?';
	}
 
@Zirak code being data*
 
@FlorianMargaine "it has some kind of package manager
but it's very different from nodejs
its standard library is already huge"
 
or the opposite, yeah
 
    (defun verbose-sum (x y)
      "Sum any two numbers after printing a message."
      (format t "Summing ~d and ~d.~%" x y)
      (+ x y))
Sigh
 
2:23 PM
@JonKoops we were talking about Golang
 
Ah, sorry didn't catch that.
 
user1596138
Seems like a way to randomly use those responses instead? Kind of like how stat gives a weird response sometimes?
 
@Jhawinsss A bit before it, it tries going through the user it currently knows, trying to find if you referred to one by name (so if you did /fuckable Zirak, userId === 617762). If a user was found, there's an 80% chance it will... (read block)
 
@Gacnt you know what's beautiful? + is a function. So you can do this: (reduce #'+ '(1 2 3)) and it gives 6
 
user1596138
2:25 PM
That's close to what I thought. Haha. I like this version better than the php solution we had before already.
 
!!fuckable Zirak
 
@FlorianMargaine Why don't we ask @Zirak?
 
@FlorianMargaine man, with no context and just skimming over the code, my mind is blown
Fun-fact: You can see the back of the owls eye-socket through its ear
 
That's...pretty weird
 
@zesda 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.
 
2:27 PM
Man thats, what
 
Better be careful with them Q-Tips
 
Curious how it doesn't interfere with its hearing (all that extra resonance can't help)
 
@FlorianMargaine is reduce # its own thing?
 
no
reduce is a function
#' is a thing to say "take the reference of this function"
 
@Zirak An owl's brain, thanks to a relatively enlarged medulla, is able to discern the minute differences in arrival times for sounds hitting their ears, where even if a human had differently located ears, they would not be able to do so! Owls have fixed eyes, like most birds, so they have to physically swivel their heads in order to track objects; however, owls are often night predators, so they rely on their hearing in order to track prey even more precisely!
In order to do this, some more nocturnal owls have evolved ears that are differentially placed on their skulls! This allows them to
 
2:29 PM
otherwise it executes the function
 
@Gacnt Link?
 
user1596138
@Gacnt That's reddit.
 
You make me sad
 
user1596138
That isn't a useable source.
 
2:31 PM
You're one of THOSE people
Sigh
 
That's pretty fucking cool
 
Right
Owls are little bad asses, that know everything and are super wise
 
user1596138
I could get on reddit right now and say that a "Gacnt" is a mythical dragon with a 40 foot cock. Then when I link it to you here you'll have to believe it.
 
I'd like that.
/lurk
 
Walking through the Owl section at the Zoo is awkward, their piercing stare is haunting as they watch you walk through
 
2:33 PM
@Jhawinsss Yes. If you have no concept of logic or common sense, you're right.
 
user1596138
@Zirak My point is just that I don't think reddit is a trustworthy source. Anyone could have written anything on it...
 
user1596138
Although I don't think Wikipedia is a great source either.
 
Much like wikipedia. That makes it an imperfect source, but still an interesting one.
It served my curiosity; if I want to learn more, google is always open
Well, figuratively speaking
 
Used that in high school a couple times lol
 
user1596138
if ( age < 14 ) {
		ret += 'You\'re one sick puppy. ';
	}
 
2:36 PM
@Zirak Top 2 languages of your choice, go
 
user1596138
Nice ^^
 
@Gacnt Yes
 
I meant go, like, begin
not GOlang
trollface.jpg
 
How can someone decide on their favourite two? Everybody has their favourite one, but asking to choose for the 2nd...how is that remotely possible?
 
user1596138
@Zirak have you noticed that oneboxing in /learn commands is now impossible? :(
 
2:37 PM
For instance, Pink Floyd? Favourite band, by lightyears. But 2nd favourite band? There are so many awesome ones!
@Jhawinsss Yeah sorry, I fixed that earlier today
 
user1596138
Oh ok. Sweet.
 
@GustafRosenblad 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.
 
Somebody please help me to get rid of the number next to the slider so the slider can take up it's space too: nativedroid.godesign.ch/demo/forms.html
 
@Zirak favorite language?
 
@Zirak Fine, favorite ONE
 
2:40 PM
Guess :P
 
Fuck off
 
@Gacnt for me, it's lisp and go.
@Zirak prolog?
 
I don't really mean that, it was just fun to say
 
@FlorianMargaine Nope
 
2:41 PM
Lisp seems so mindblowing
@Zirak JS
 
ding ding ding
 
Now, you've got an eval in your face, with nowhere to run, you must choose a second favorite, or else it gets executed, your answer is:
 
Yes
 
You're probably making the same face as your DP right now
 
@Zirak did you learn Haskell?
 
2:43 PM
What Zirak looks like irl
 
@FlorianMargaine Yeah, did some rudimentary things with it. It's a very cool concept, but I hate the type enforcement. The type inference is awesome, but I'm uncomfortable of the "locked box" concept, which tries to prove my program.
 
It's an odd approach to proving something. I always thought of a proof as standing no matter what I give it, not only if I give it an Int and not an Integer
 
we have the same opinion then
 
I wouldn't mind learning Python, but I really have no interest in learning another language, I just have no projects on my mind that I want to do, I'm comfortable with Node / Javascript so I'm not too worried, would just like to learn something else, but Lisp doesn't really seem THAT interesting to me, I wouldn't mind learning C++, but I don't want to write programs, web dev is more fun
 
2:46 PM
@Zirak you might like this youtube.com/watch?v=f6kdp27TYZs
 
@FlorianMargaine Go looks nice, but I wouldn't use it for scripting tasks (like you did)
It's not worth the running speed
 
@copy go feels like a script language
 
@Zirak I love that, but that's fine
@FlorianMargaine No
 
Not like a real scripting language
 
2:47 PM
@copy favorite 2 languages?
 
@Gacnt Python
 
Python for 1 and 2?
 
@FlorianMargaine Thanks, I'll give it a watch
Looks like it doesn't know the time
 
@Zirak Lets watch it together, I'm at 0:41
 
2:47 PM
what?
 
Then we will converse about it
 
@Gacnt I don't know, probably JavaScript in 20 years or Haskell
 
but the language itself, when you write a program in it, really doesn't feel as a compiled language such as C
@Zirak a watch that doesn't know the time is not a watch. Give it a real watch.
 
@Gacnt Good plan. Except for the part where I can watch it now
 
@FlorianMargaine Let me have a look at your code again ...
 
2:49 PM
@Zirak Ok, you watch it, and I'll meet you back here in 51 minutes
Ok? Break!
 
func stripLetter(content []byte) (byte, []byte) {
    var letter byte
    if len(content) != 0 {
        letter = content[0]
        content = content[1:]
    } else {
        content = []byte{}
    }
    return letter, content
}
 
multiple-values return is a nice feature.
 
well there is explicit typing
 
Agreed, but not enough to make it good for quick development
 
Haha. Tony, 'Hoare'
 
2:51 PM
and slices are pretty nice too (the content[1:] is like substr(1))
 
but that's not a true productivity boost, only a false one that coffeescript embraces
 
@copy so it's just the explicit typing that tells you it's not good for quick dev?
 
@BenjaminGruenbaum - Sorry. I had to go out for a while. Now to answer your questions:
 
@AliTrixx 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.
 
@AaditMShah All I'm saying is that your answer sounds like using that design pattern in JS a bad idea but you say you use it all the time. That sounds a little silly to me.
 
2:54 PM
Hey guys, could I ask a stackoverflow rules related question here? The room dedicated for that is empty..
 
@BenjaminGruenbaum - Question 1: Let me ask you a question, what is a class? Isn't a class just a type?

No. A class is more than just a type. Otherwise people would say that Haskell has classes.
 
@FlorianMargaine No, the absence of list comprehension, automatically expanding arrays, ... 100 more things
 
@AaditMShah In Haskell they're even called 'type classes'
 
It's obvious that Go is weaker if you have to write a function like stripLetter
And you don't want a weaker language for scripting
 
@AliTrixx try it, and see if you get any response
 
2:55 PM
@BenjaminGruenbaum - We're discussing two different features here. You're talking about classical inheritance as a design pattern. I'm talking about classical inheritance as a core concept.
 
@AaditMShah Classical inheritance is a design pattern, the problem is with languages like Java that force it into a core concept.
@AaditMShah I still stand by my previous comment that it's a good answer, that's just that one bit I don't like about it. It sounds like you're also against the design pattern, but you say you use it all the time. I'd like to see that clarified.
 
@BenjaminGruenbaum - They might as well be called "rainbow monkeys". Just because two concepts are described using the same word doesn't make them the same concept.
 
Hey trying to add columns to a table. Works ok in this fiddle: jsfiddle.net/nYw25/14 - only one table. This fiddle, with two tables, breaks: jsfiddle.net/eYYvv/4. How do I uniquely identify the top table in the countColumn() function?
 
Um, I got banned from asking questions and my questions were not that bad.. I have a +65 reputation in total. I have 8 questions asked. 5 of them have 0 reputation. two have -4 and one has +5. Could I have been banned from asking questions because of the bad reps of the questions or could it be an IP related ban?
 
@AaditMShah Of course they do...
 
2:57 PM
@BenjaminGruenbaum - Just like two people with the same name are the same person?
 
@AliTrixx any deleted questions?
 
You need to decide on a different primary key for you relations.
 
@AliTrixx what is the message you're getting?
 
@AaditMShah I'm against making JS act like a language that it isn't, but that's not to rule out classical OOP. Classical OOP can be used to effect. It's perfectly fine to generate objects and have classical inheritance in your code.
 
@JanDvorak No deleted questions
 
2:58 PM
@BenjaminGruenbaum - That's the problem. A lot of amateur JavaScript programmers want to make classical inheritance a core concept in JavaScript.
 
@JanDvorak "Sorry, we are no longer accepting questions from this account. See goo.gl/C1Kwu to learn more."
 
@AaditMShah I know, and I think you cover that nicely. We share the hate for that approach here. There is no argument about that.
 
@AliTrixx Did you follow the link and read the post?
 
I opened that page and looked in it and everything. Honestly, I didn't see that my stats were that bad for a question ban so I started answering questions in the hope of getting unbanned.
 
@AliTrixx how many closures?
 
2:59 PM
@BenjaminGruenbaum - Everything has it's advantages. Some people may not like to drink alcohol, but alcohol is good in cold countries. Similarly classical inheritance too has its advantages.
 
@AaditMShah Your answer sounds like you're also against that sort of design pattern as well, where you're actually against making it a core concept. I think you need to clarify that.
@AaditMShah That's a funny analogy :)
 
2 closures. 1 duplicate.
 

« first day (967 days earlier)      last day (3987 days later) »