« first day (956 days earlier)      last day (4217 days later) » 

22:00
I only hate gay jews, is that a problem?
2
@copy In Miami Beach, it could be.
@BenjaminGruenbaum Editing a message is difficult. I know that it sucks, but among the prime issues I have is message editing (see github.com/Zirak/SO-ChatBot/issues/27)
hey, I'm writing a recursive descent parser and in the process I thought that maybe I should ask for a second opinion, how bad is it having something like 10 non-terminal methods ? :P
@SadStudent Isn't this one for cstheory?
@ShotgunNinja no :(
22:01
@ShotgunNinja nope I'm actually writing it :)
@SadStudent I wrote several recursive descent parsers in JS it's a great language to write em in :) What do you mean by 10 non-terminal methods?
What's the problem with having many non-terminal symbols?
@BenjaminGruenbaum well like parseFunctionDeclaration, parseIf , parseWhile
@SadStudent Why would that be non-terminal? Maybe I don't understand the term
actually, I've ported an RDP in the past, for the AI: A Modern Language codebase.
22:02
If that promotes readability, here, have 40.
There's one for evaluating horn clauses and propositional logic statements.
and I rewrote it in C#, from the original Java code.
@BenjaminGruenbaum "Nonterminal symbols (or syntactic variables) are replaced by groups of terminal symbols according to the production rules." that's what the wiki said I didn't know what was the book referring too before I read this.
@Zirak maybe it just feels long and anti OOP
@SadStudent Oh, you mean non-terminal symbols, I read non-terminal methods
@SadStudent a RDP is not an object based system, it's a bunch of recursively calling actions. There are no objects involved other than the symbol tables and tree being built
@SadStudent Who cares as long as it's written well
@Zirak my graders :(
22:07
Sorry, the phrasing sucked...edited
@SadStudent Accurate name, much?
Fuck rails it's pissing me off
@ShotgunNinja yep :)
Node for life
@XCritics Woah what a mood change
22:08
@BenjaminGruenbaum lol, I can't figure out how to debug x.x
@XCritics What's so complicated?
@XCritics I worked with RubyMine, it was really helpful in that
print(12345678912345) in 20 characters... hmmm
The webpage keeps acting like I'm logged in, when I'm not, I've tried removing all the methods and what not but it still is acting like I'm logged in
there has to be some maths
@BenjaminGruenbaum I was thinking about making each method a "state" object or something but it feel odd as well...
@SadStudent NO
@SadStudent that'd be completely working against the language, have a parser module for each part of the language, that parser should contain functions
@BenjaminGruenbaum why so decisive ?
@SadStudent Because why not? Functions are first-class citizens.
@SadStudent because each method is a method in JavaScript, forcing classical OOP on JS takes a lot from its power.
22:11
Even if you have to store something, store a function.
You can do that.
I'm writing it in Java guys :)
Ew. Never mention that language again.
whoa, I just noticed.
Some users have italicized names, and others don't. Does that indicate room ownership?
22:12
@ShotgunNinja Yup
and blue means mod
@SomeKittens Figured.
@SadStudent GET OUT
lol
Java is horrible to write recursive descent parsers in :(
@BenjaminGruenbaum So would refactoring the functions into classes would still suck in Java ? (it's not that I'm a big fan ) Sadly I'm just thinking in the "what would CS graders like" hat
!!s/ to write recursive descent parsers in//
@OctavianDamiean Could not process input. Error: unterminated parenthetical on line 5192
22:15
I don't understand what twisted thoughts convince academics that Java is the be-all, end-all of academic learning.
@OctavianDamiean Java is horrible :( (source)
@SadStudent I know that feeling :) forcing the functions to be classes and using something like 'the command pattern' makes sense in Java, I guess, just don't make every function a class or anything
@CapricaSix wat
Heck, it isn't even a middle ground, like Python
The ( in the smiley should be the beginning of a capturing group
22:16
Python isn't middle ground, it's as good
Java is bad. Real bad.
My fault, I didn't escape the parenthesis.
Only missing one/two things
@ShotgunNinja you're the owner of the Java room :P
@BenjaminGruenbaum No, I'm an owner of the Java room.
@BenjaminGruenbaum maybe not a proud owner ?
22:17
It's not something I'm happy about.
I took it over out of a sense of duty. If only to teach all of the bad Java developers how to not write ultra-shitty code.
When Java 8 comes out and has lambdas, you can bet I'll be offering lectures on that every day.
lambdas with closures?
@ShotgunNinja lambdas are great sometimes but at other they can make make your code look like perl :{
rad
rad
Question: Is there a way to access user_data outside of the $.get(), without having to make it public?
$.get('someScript.php',
function(response){
user_data = jQuery.parseJSON(response);
}
);
@SadStudent PERL*
@BenjaminGruenbaum In terms of strictness. Like Java's 100% Objects, lisp is 0%. Python's kinda in the middle (and a great language, to boot)
22:21
I honestly have a sordid love affair with C#'s lambdas. They just work.
@rad no, and not even if you make it public
@ShotgunNinja That's because C# is awesome
@ShotgunNinja yeah I did use them too back when I was on a team that used # , but pythons lambdas are easy to make simply unreadable imho
@ShotgunNinja Java8 lambdas are a broken joke
@SadStudent Python Lambdas are function expressions, python doesn't sport anonymous full blown functions
I didn't even bother checking out Java 8 anymore ...
22:24
@rad you can bypass natural visibility by moving declarations outwards, but you can't cheat time. $.get returns before its "body" executes.
@BenjaminGruenbaum That's why I said when Java has lambdas. As in, when they actually work.
@ShotgunNinja I don't think Java can be fixed TBH, C# is just too much ahead
It might not be for another decade, but it'll happen eventually. After all, they're still supporting COBOL.
@BenjaminGruenbaum I was not trying to imply otherwise just that I suffered deciphering some of them :P
Languages don't die, they just fall out of use.
22:25
@SadStudent Don't use them them
@BenjaminGruenbaum I don't :) tell it to some of my ex teammates, there are some that would defend them with their own life
rad
rad
:9703816 thats what I did, it didnt work though
				var user_data;

				$.get('fetch_14_days_user_stats.php',
					function(response){
						user_data = jQuery.parseJSON(response);
					}
				);

				console.log(user_data);

I didnt knew that $.get executes before body
@SadStudent I have a general dislike for people who are trying to use language X like they're used to from language Y, we get that a lot in JS
@ShotgunNinja Which is the definition of a dead language. :D
@rad Of course it didn't work, JS AJAX is asynchronous (what does the A stand for?)
@rad read this
22:29
@rad $.get is a function that takes another function (here, called "body") as an argument. It is passed as a separate function because it is called later.
0
Q: Which Ext JS license should be acquired (when developing a Spring MVC/Hibernate/Ext JS web application)?

Simon ReevesI am inquiring about a web app which uses Spring MVC and hibernate on the server and ExtJS 4 (Sencha JavaScript framework) for the client framework (widgets). The app is cloud-hosted - it is not "distributed" to users. It is required that users of the app shall need to purchase a license from ...

If your having compiler problems I feel bad for you son, I got C99 problems, but gcc ain't one.
@BenjaminGruenbaum what like var StringPtr = 'Hello world!'; ? :P
it sounded better in my head :(
@SadStudent That's actually incorrect in JavaScript :P JS strings are value types and not reference types like in Java :)
@SadStudent same reason "hello"==="hello" works in JS but not Java
rad
rad
22:31
@BenjaminGruenbaum ahhh, gotcha!
!!> /./ == /./
@JanDvorak false
oh :-( Still makes a nice emoticon :-)
/==/==/==/
@BenjaminGruenbaum next time I'll add a <joke></joke> :)
(ノ^_^)ノ I just won a Citroen 2CV Type A from 1954.
22:37
@OctavianDamiean 'won' as in ebay? or similar?
@TomW No, as in Gran Turismo 5 on the PS3. :D
GN thanks for the help ...
@JanDvorak JOHNNY 5 IS ALIVE!
E is an object-oriented programming language for secure distributed computing, created by Mark S. Miller, Dan Bornstein, and others at Electric Communities in 1997. E is mainly descended from the concurrent language Joule and from Original-E, a set of extensions to Java for secure distributed programming. E combines message-based computation with Java-like syntax. A concurrency model based on event loops and promises ensures that deadlock can never occur. Philosophy The entire language is designed with secure computing in mind; this is accomplished chiefly by strict adherence to the...
def ei = e.io
22:50
@mikedidthis man, after reading what was said after I left I kind of feel bad. These guys are way uptight (imo), if i'm not talking about code probably 70% of what I say is sarcasm or meant to be taken in a joking manner. Sorry about that dude, I didn't think anyone was actually taking me seriously other than Wes. Generally my sarcasm is pretty transparent.
@rlemon Define transparent, urine like?
anyone here know of Kyle Simpson?
@rlemon no need to apologize :/
@XCritics You have 10 minutes to produce the answer.
Oh @Zirak glad you're here! What car do you drive?
22:58
Man, I should prepare a witty answer for "I don't"
Of course you do ...
If someone ever proposed to me, for instance. "I don't" is so cliché
@OctavianDamiean oh you're right
goes to buy a car
Imaginario E-22
0 miles/gallon
That's a nice car.
This baby will take me far.
23:00
So, if you don't have a car I assume you go by Llamas?
I simply don't ever go far.
My place is above a supermarket.
The llamas I breed are near the vegetables aisle.
...above?
you live in a basement?
That doesn't make sense. His place is above a supermarket
23:02
@SomeKittens his place is above, how could he be in a basement? :D
    My place   ^ y
-------------- |
  Supermarket  |
That'd imply that supermarkets are generally below basement level
The ducks in the bathroom are not mine
They're yours now
23:08
for(i=j=1;i<85;j=i,i+=c,print())for(c=0;c<j;)putstr(c++<9?c:<>&#{c+55};</>)
Hahaha. Can someone star that so I can star it too? (Mobile site sucks)
huh, I just had an idea...
neat, I can star my own message. Pin -> unpin.
World domination is at hand.
I thought you wanted to build a plane out of a desk and some pigeons. :(
I'll dominate the world later. Ice-cream and Scooby Doo await.
@BenjaminGruenbaum I'm apologizing to mike for possibly causing him un-needed stress. I believe I noted they are up-tight.
23:11
@rlemon k
but the poop room really had me confused on my mobile :P
you don't see room info or shit like that on the mobile interface
"poop room"?
They opened a room for you when you're in the toilet, talking about your experiences?
@Zirak He decided that slides just aren't enough.
@Mike 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.
you sound excited about that opportunity Zirak.
23:14
When I was a little boy growing in Siberia, I always dreamt of the day people will share their lavatory stories with me.
@rlemon You could have an event when you're on the pot and call it Wisdom from the Pot
lol
Wisdom from the Shisdom
"Hey guys, this is Robert Lemon and today I'm going to drop you some of my wisdom live from the pot.
@copy get rid of the putstr
take your time and think deep. It should be a learning experience.
23:18
@Zirak thats not fair im not home
10 minutes starts when im home ttyl
@copy also, what's with the 85?
adios lovertits'
Just added a vanilla solution to the "How to return from AJAX" question
Please review and suggest imrpovements
0
A: How to return the response from an AJAX call?

Benjamin GruenbaumIf you're not using jQuery in your code, this answer is for you Your code should be something along the lines of this: function foo() { httpRequest = new XMLHttpRequest(); httpRequest.open('GET', "/echo/json"); httpRequest.send(); return httpRequest.responseText; } var result =...

Oh gosh that's long.
I'll bookmark it for tomorrow.
No, that's not what she said ...
@Shmiddty Do you know a one digit number that is smaller than 55?
23:36
@copy decimal?
JS literal
It was a rethorical question
Oh really? A one digit number being smaller than 55 was a rhetorical question, who would have guessed :P
I'm confused
@rlemon poop.
The C specification is badly written -_-
23:42
lol Bob, I bet you didn't expect that.
@rlemon man, also don't worry about it. Your helpful and like jokes, especially about poop. Nothing at all wrong with it.
Wait, nvm, the C11 one is decent
@mikedidthis you're
Wow, looks like TS 0.9 is worse than TS 0.8, how did they manage to do that
0
Q: Is it possible to develop a web application entirely in Javascript today (client and server) including a RESTful API exposing PostgreSQL data?

RSWWhere I work we have over a dozen internal SW systems that we have developed in-house using a variety of technologies, frameworks, and languages. Those include various from Microsoft (ASP.NET Web Forms, WebAPI, WinForms, SharePoint, Office Automation, Win8 Native Apps, SQL Server, SSRS) and other...

23:58
@mike did this cool.. Cool cool cool
ugh... Mobile corrects your name.

« first day (956 days earlier)      last day (4217 days later) »