« first day (1468 days earlier)      last day (3463 days later) » 

9:07 AM
1.5hrs of meddling with nodejs: so far, I can't find anything super awesome in node
it seems to me as just another server side language, just that it is javascript
 
Lol
 
Hi @AwalGarg
 
one thing I find good is that I don't have to stick that ugly $ sign in front of all variables
@darkyen00 hey dude! happy diwali
 
Same to you mate.
 
9:10 AM
@Sippy Why the hell should I read that blog post?
xD
 
@AwalGarg Tells you why nodejs isn't that "super awesome" thing you were looking for.
 
> The main idea of Node.js: use non-blocking, event-driven I/O
Must be a millionth time I am seeing this ^
 
Read down noob
:P
 
:D
 
TL;DR: use it for systems where real-time interaction is important
 
9:12 AM
@Sippy I am not using it, I am exploring it lol
 
It will work for anything else you want it to as well, but in the same way, anything else will do real-time interaction shit as well
So build a chat app :D
If you could make a nice chat application that integrates social media chats into one place successfully
That'd be sweet.
 
@Sippy why would I use node for that? peerjs ftw \o/
 
there's a bunch of those fuckers online like plus.im but you have to sign into each chat individually which really defeats the point of an integrated solution imo :/
I'm using the wrong word
I think
 
The way all present online chat systems work is bogus.
 
Was node.js actually developed with web as its main purpose? Because that's the last thing I'd probably use it for
 
9:16 AM
I don't know.
I just know it does backend shit.
 
@darkyen00 you work with node-webkit right? experience so far in terms of performance?
 
@AwalGarg with performance the thing is node / v8 is too fucking fast
bottleneck is how you render/architechture your things.
 
doesn't brackets ide run on node-webkit too? It is too fucking slow ;p
 
on the otherhandle LightTable and ATOM run the same way.
 
yeah and all 3 are equally slow
 
9:21 AM
oncomplete="jQuery('.ui-datatable-data tr').last().find('span.ui-icon-pencil').each(function(){jQuery(this).click()});
This was the accepted solution for a problem involving primefaces datatable.. does it really merit 3 upvotes?
 
!!nudge 23h don't drink mtn dew for breakfast
 
@Sippy Nudge #1 registered.
 
@AwalGarg if you want really fast performance talk to bartek, learn C++ and C :P weep while you learn it xD then write really really performant code.
Performance / Responsive of UI : Objective C (Cocoa) / C++ (any framework) / JAVA (Android) >>> DOM / CSS 3
Ease of Use : DOM / CSS 3 >>>>>> Them 3
@AwalGarg psh facebook website is far more complex then atom ui-wise :P but you can see the performance.
 
@darkyen00 @AwalGarg at your peril.
@darkyen00 It sort of goes in that backwards order pretty well haha
 
@darkyen00 lol I don't like c c++ or c++++++ xD
@darkyen00 haha true dat
 
9:27 AM
The magic is facebook engineers ... THEY MADE FUCKING PHP FAST, js is like piece of cake.
 
They are wizards.
 
hhvm is pretty promising
 
@darkyen00 * PHP PUCKING
 
@Sippy they aren't wizards
they profile their code and don't write mess like angular.
 
Exactly. Wizards.
 
9:31 AM
@Sippy thats not being a wizard. Thats thinking.
 
Thinking like a wizard?
 
Exactly
 
@SomeGuy nope :-(
 
There is no spoon!
 
if you look at their code they think pretty straight and simple
never over complicate things.
 
9:32 AM
@darkyen You have to understand when people are joking :p
 
Lolol
 
@SomeGuy I suck at humor. Thanks for reminding me.
 
By wizard I also meant practitioner of magic. Not exceptional coder :D
 
Sure, no problem
 
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
WHAAAAAT
why does my server has a vga compatible controller.
can i possibly do xtunneling :o ?
 
9:38 AM
Yes.
@darkyen00 Why u no hav afro anymore :(
 
hmm, ssl was easier to setup with node than it was with my standard lemp installation
 
@Sippy cause i am getting bald.
 
@darkyen00 noooooooooo
 
@darkyen00 code too much?
;p
 
9:45 AM
Guys, is there any usage of class keyword in NodeJS (or ECMAScript 5)?
 
@Sippy nudge don't drink mtn dew for breakfast
 
it is reserved
 
@AwalGarg So, no usage?
 
@CapricaSix That's 23m, not 23h :P
 
That was defo not 23h.
 
9:47 AM
@IonicăBizău it is under the future reserved keywords category, so no usage I think.
I am not sure though.
 
Lol
Does it only work in minutes?
 
@AwalGarg I see...
 
!!nudge 1380 Don't drink mtn dew for breakfast!
 
@Sippy Nudge #2 registered.
 
Lol
 
9:48 AM
Hope that's not 1380 seconds xD
 
!!tell IonicăBizău mdn javascript lexical grammar
 
Pahahahaha
 
Check back in 23 minutes :P
 
xD
 
9:48 AM
class is a proper reserved keyword, not under the future list.
 
@AwalGarg yeap
 
So, I understand that we cannot use it anywhere in code because it's reserved.
 
@IonicăBizău Solution to that problem in C# is to just use @class, dunno if that exists within JS
 
class is a reserved keyword.
 
I think the point should be made that you would never need to name anything "class" if you do shit properly.
 
9:52 AM
@IonicăBizău you can't use it for identifier names...
 
But where can I use it? I need an example.
 
Nah you tell us what you wanna do
Not gonna scour google for every possible eventuality.
 
@IonicăBizău var a = "class" //dude....
 
@AwalGarg Roflmao
le trolls
 
if you only read that link properly....
 
9:54 AM
Well...
 
Reserved word usage

Reserved words actually only apply to Identifiers (vs. IdentifierNames) . As described in es5.github.com/#A.1, these are all IdentifierNames which do not exclude ReservedWords.

a.import
a["import"]
a = { import: "test" }.
On the other hand the following is illegal because it's an Identifier, which is an IdentifierName without the reserved words. Identifiers are used for FunctionDeclaration and FunctionExpression.

function import() {} // Illegal.
 
Hi!
what is wrong on this line?
`self.workspace.query.action.get("/axis/" + axis + "/dimension/" + encodeURIComponent(d), {}, async: false);`

I get on jsHint this warnings:
Expected ')' and instead saw ':'.
Missing semicolon.
 
a common thing I see in code is to use klass instead. I dunno if it is intended as a replacement for the word class or not
 
@Fuiba async:false is not valid syntax outside an object literal, and it isn't a valid technique anywhere.
 
Can we sned a picture via ajax without sending all the form
 
9:58 AM
@elhoucine 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.
 

« first day (1468 days earlier)      last day (3463 days later) »