« first day (1768 days earlier)      last day (3405 days later) » 

10:01
@AwalGarg No, I can't I don't know what that phrase is.
@ZhengquanBai Good for you. We who live in Hong Kong are not joking when we say we have identity crisis. My passports are not helping me decide.
@ZhengquanBai 黑魔王
does this make any sense?
Yeah, I think so. It's more or less the meaning of the Darklord
@ZhengquanBai :( "The" is a determiner, "Darklord" is a person who rules on evil peeps, and "Awal Garg" is my name
user3119231
coding like in fallout B)
10:04
@AwalGarg According to that, the translation could be 黑魔王艾娃*嘎格
no spaces? :o thanks btw!
@AwalGarg The Darklord Awal Garg = 魔王阿瓦爾‧加格
No, no spaces at all :)
looks badass to me. thanks sheepy :)
Trust me. I plan to do full time translate when I am too old to program :D
haha I trust you. When I see chinese I feel like combating a wolf like the one in @Cerbrus's pic
10:07
Is there a period when we are too old to program?
I wrote a function to make an element draggable. You paste the function into the console, pass to it the id of the element you want to drag, and push Enter, then here you go to drag it anywhere around the page.
@ZhengquanBai It was... the original family plan. Perhaps still is. But we still haven't had any babies... And I think I'll stop here (sigh).
@Sheepy Is that something cited from a novel?
@ZhengquanBai You bet. A novel titled "Story of the Coding Sheep".
@Kitler Cat is my favorite pet.
@AwalGarg o/
10:15
@ZhengquanBai please don't eat me
:(
@towc sup matie
No, I won't. How can I do that?
@AwalGarg fucking the dog...
you?
@towc thinking of ways to bunk college all the time but maintaining attendance percentage
10:18
@AwalGarg you need to do it in style...
apply css to it? hell no
XD
actually that's not a bad thing
get some photos of the school, and write on some post-its all of the stylings you can think of about a certain wall, piece of furniture, window... get in school at midnight and plop them around the school until you get banned :D
probably your parents will kill you, but.... ;)
node-xmpp somebody? :)
@towc I don't wanna get banned :(
I like petting cats.
10:25
@AwalGarg you want to leave college, right? Might aswell really do it in style ;)
well, I assume that bunk = leave...
bunk = not attend classes but stay enrolled
ooooh
XD sorry
@AwalGarg just ask for your colleagues' notes?
college requires 75% attendance in classes. I don't want any notes.
@AwalGarg get a sleeping bag and stay in the back of the room?
Rhode Island
10:29
can you not use laptops?
In Rhode Island, to "bunk" is to take the day off from school.
@towc I just wanna stay at home with my newly setup workspace
According to Urban Dictionary
@AwalGarg :/
this guy is in a macdonald XD
can't you do the same, but in school? :P
here is my workspace: i.imgur.com/FD4EOcs.jpg
10:32
looks cool
sorry updated link
@AwalGarg weird, I have that same remote control
control what?
@ZhengquanBai mind control
that's vampire thing
I'm leaving, byby
10:36
o/
funny one here guys:
can vigrant be used to set ie8 windows policies?
user3119231
when .split stopped to be a function?!
When it was called on an object that doesn't have it on its prototype :)
user3119231
what?
user3119231
It is a simple string I want to split
10:51
!!> 'abc'.split('b')
@ivarni ["a","c"]
user3119231
@ivarni should take a break I think :D terminal.bm-designs.de/index.php?id=1
@Maurize You're calling split on an array
he isn't in the first instance
No, it's the second one that's throwing the error
user3119231
10:55
my bad -.-
user3119231
I have to split first by ","
hence key.split is not a function
@Maurize nice repl, you made it?
user3119231
@AwalGarg yeah, everyone can use it :)
user3119231
It is for lightweight scripts
10:56
!!zalgo HORROR
@Miszy H͓̩͉̳̮̬͒O͎͇̳̰͌̅̈́́R̵̮͕͉̦͎̲͛͌͋̒̃̔̈́͠Ṟ̨͙͕̪͙̮̳̭͙͑ͧͤͤͤ̚͞O͍ͧ̈́͒ͤ̈̇̇̄ͧ̕͟ͅR̥̗̺̺̙̦̘̬ͭ͐͐̈́͟
@Maurize Make an online node REPL
user3119231
@BenFortune Recurrent Early Pregnancy Loss?
user3119231
just kidding :D
google hangouts is weird
10:58
@AwalGarg You're weird
fight me
i'll rek u m8
be nice, kids
Anyone used Electron?
Trying to wrap SO chat, but SO's scripts use module.exports, but not in the node sense which Electron picks up.
Which ends up throwing Cannot find module 'jquery'
Due to stuff like
seriously, has google absolutely no respect for my privacy :(
11:01
"function" == typeof define && define.amd ? define : function(e, t) {
    "undefined" != typeof module && module.exports ? module.exports = t(require("jquery")) : t(jQuery)
}
And the version of jQuery they use isn't on NPM. If i use 2.x it breaks their code
google !=privacy
When a service is free it's usually because you yourself are the product
makes sense
But when the service conflicts with the interests of their customers (e.g. violating privacy), the customers will stop using the service, and the service will collapse in on itself. Therefore, a blatant statement that "you are the product" is often quite wrong.
Maybe there are times when I don't mind being the product?
11:12
so it has to look like if you re not the product when in fact you are
With pretty much any ad-financed service you're actually generating revenue just by using the service and being shown ads
Such a narrow view. No, it means that the product is whatever their business model is (more often than not it's simply presenting advertisement that other parties pay them for). Some free services have paid plans and hope for you to start using them, or have micro payments, or... etc. It depends. Almost no service would do anything that would make you stop using it. That's business suicide.
I can't recall saying that a business would do something to make people stop using them
isnt this the fallout guy?
11:25
What's the point of having a terminal in the browser if you have to go to the console to view the output
user3119231
@JoshLeBlanc the point is that its just for testing and will be improved if I got time on work.
That's not a point, that's an excuse
user3119231
No, that is the point.
user3119231
notepad++ -> write code -> open/refresh in browser -> open console -> go back to file to search line -> correct -> same again.
user3119231
type in browser -> <exe -> see error -> fix it right there -> <exe -> finish
user3119231
11:29
For me it is useful. You are not forced to use it.
Yes.. but.. you have a full fledged script editor right in your browser console. There is no need for a page that does that, other than it looking slick as fuck.
A console out would be nice in your FO inspired terminal :P
user3119231
this is in work, my friend :)
user3119231
I just wanted to explain advantages. -> terminal is even supported on phones.
11:45
hey all happy jsing
why is my server address not set here
server = https.createServer(options, app).listen(port, function () {
console.log('Listening on https://' + server.address().address + ':' + server.address().port);
});
Hi guys, Anyone knows library that will help parse text into dates? For ex. it has to parse 'today', 'three days from yesterday' and so on.
Error 404 occured, I will call the maid (@Zirak)
@sunrise this might help github.com/bear/parsedatetime
@Sunrise also datejs.com and momentjs.com
@edzillion thanks I'll check them
@Sunrise Moment, without a doubt the best option there.
11:56
@Sunrise There is nothing better than moment imo.
@BenFortune @RoelvanUden I don't know, if it's good option, because when I execute moment.("today") it returns invalid date
@Sunrise Because that's to parse a date. You want to display "today" dont ya?
not sure if related
@FlorianMargaine maybe, doesn't work in firefox so no clue. :P
12:03
@RoelvanUden ah yeah, it's a link for developers, sorry
That explains it.
0
Q: server.address().address is not set when https.createServer() in node

edzillionSimple as this: Server.address().address is blank. Why is this? Where can I set it? server = https.createServer(options, app).listen(port, function () { console.log('Listening on https://' + server.address().address + ':' + server.address().port); }); which returns Listening on https:/...

@RoelvanUden maybe I'm not correct express thoughts. But for ex. If I have todo app and user created new item like "Go to shop next Friday", I need library that from this string will return date of the next friday.
I think the :: refer to the 0.0.0.0 in IPv4 mode — throrin19 3 mins ago
well
you do read some stupid stuff now and then
so is that family: 'IPv6' normal? I think it might be the default now
12:14
@edzillion Probably dependant on your network interface
from https://github.com/joyent/node/issues/9195

> It's dual stack by default, hence why you see the ::ffff:127.0.0.1.
so I think that is correct
0
Q: bodyParse error suppression

ddibiaseI'm currently using bodyParser with Express to accept JSON requests. Whenever I pass in an incorrectly formed JSON object it returns a nasty error via the endpoint and logs it to the console as well. The following is the error: SyntaxError: Unexpected string at Object.parse (native) at p...

Not sending invalid json usually helps
user3119231
update!
@FlorianMargaine how fast can you type (wpm)?
12:29
Guys. How can I convince the management we should use Node.js + express instead of Meteor for a project? I gotta do all kinds of weird things to get very simple websockets to work
@corvid Money
I am but a lowly software dev, I have none of this money you speak of
If you can demonstrate that you can deliver more quickly and cheaply with NodeJS than with Meteor, they will let you.
Wasn't the whole point of Meteor that you could write an application faster and deploy?
@BenFortune It has to run with Electron (atom shell), so there's lots of weird work arounds to get things to work
12:33
@corvid Why are you using a server with Electron?
I don't need a server. I connect to a remote server. That's why meteor is so weird
Client <-> IPC <-> Renderer
@BenFortune I miss Heroes too.
Also your website is cool.
@Sippy ~100-110
Meteor doesn't even fit in there, curious as to why you used it in the first place
12:35
@FlorianMargaine nice
@Sippy why?
@Sippy Huh? :P
@FlorianMargaine @GNi33 told me you'd wipe the floor with my WPM :D
@Sippy And thanks, I made it the lazy way. Going to rewrite it soon without a library and turn it into some sort of game, not sure what yet.
@BenFortune oooooo
sounds cool
12:37
@BenFortune Because the main application uses meteor, therefore the logic that followed was using Node.js and some front end framework would complicate the stack
@corvid The remote server is meteor?
yeah, but there's also an API that can be accessed traditionally
@BenFortune @facebook, btw :P
I was nosing.
Sorry, I was under the impression you were using the Meteor server from within Electron
@Sippy Stalker :>
12:39
woooo
@BenFortune You "can", it's just... overkill. Isn't electron just a client application? Like slack connects to a remote server
It's like people that use express from nw.js, it's just absolutely unnecessary
When the filesystem is it's own router
Or at least when mixed with a front-end library/framework
@Sippy oh? how many do you have?
The big thing I do like about meteor is not having to spend the huge upfront investment getting a whole build system working with Gulp. I feel like javascript starts off way too lean :\ once browserify and babel are going, it works great
@corvid is this what you're using?
12:46
@BenFortune I could, but I could also just use HTTP just as well.
DDP isn't really much of a requirement, but there is also a Node.js implementation
Electron has it's quirks, but it's much easier to handle than nw.js
user3119231
any feedback?
117 is about average for me, can do about 125 on drugs.
:D
@Sippy ask @catgocat then, he reached ~140 iirc
crazy man
12:48
@Sippy I can get 150 on a good day on my mechanical at home
l0l
I type at about 6wpm on a mech keyboard
My average is about 135 though
low profile keys ftw
It's hilarious, I get really loud and angry when typing fast
xD
12:48
Is it just me, or is the documentation on Electron... not very good?
My housemate has one
They are the loudest things
@corvid It's more of an API
yeah but. Do I just make everything directly like a javascript application then just 'compile' it with electron?
You don't compile it, you pack it
The code usually goes into a packed file, but you can go further and merge the packed file with the electron executable
github.com/chentsulin/electron-react-boilerplate : Electron application boilerplate based on react, react-router, webpack, react-hot-loader for rapid application development (I haven't used it and don't know how complete it is, but it sounds awesome)
12:52
@corvid is Electron some kind of new thing? Why is everybody talking about it? what is this thing
it's a node-webkit alternative
@GNi33 You just write desktop applications with Javascript and Node. It's like what Atom is built on
interesting, fiddled around with node-webkit for a while
@corvid oh, so the name makes sense too
IMO it's much better than nw.js
Far more feature-complete
And the IPC is insanely good
and has some documentation
12:53
The name also makes it way too hard to google. Every time I try to look up stuff about it all I get are pages on chemistry
@Luggage Ah that's helpful, thank you for that. But react :\ that's one thing I still don't get the hype about. It looks weird
@corvid It is weird. And it's bloody amazing.
react makes my pants tight
@corvid google electron js -chemistry
I get a chub whenever React is mentioned
12:56
Lol
@Luggage nerds.. masturbate to lizard bondage porn like everyone else
I hereby permit all geeks to punch me for making what I made for my college work. shameful.
pic or it didnt happen
does it involve jQuery?
@Luggage I'd say worse: java
13:00
It involves... ahem, code. all code in a single function, no indentation to save file size, it is in C, and the function is 178 lines long, and scanf is used to input data from user with no buffer overflow protection.
sounds like pretty standard C code
@AwalGarg you suck :D
Lol
and the corporate internal software world welcomees you with open arms
@FlorianMargaine javaQuery
13:02
I knew it had to exist, but I couldn't bring myself to look for it.
interesting thought: there should be a language called "duhscript"
js for dummies
btw saw what my seniors did (they are doing webdev) and it involves jquery. The project files literally state "languages used: java, javascript, jquery (client-side)"
doc.$("select option:selected").each(new JerryFunction() {
            public boolean onNode(Jerry $this, int index) {
                str.append($this.text()).append(' ');
                return true;
            }
        });
That looks fucking dirty.
@FlorianMargaine Who wants chowdah?
@AwalGarg did you get them expelled?
13:03
@towc nah. quite a relief the professor poked a few peeps "jquery is not a language".
@KendallFrey I guess it's a reference to the show. I was originally looking for "vomito", i.e. this guy, but this picture looked better. But I don't know its context.
@Neil too vanilla, that doesn't do it anymore :(
@KendallFrey The reversed time episode is hilarious with this
@BenFortune lol yeah
evening.
13:05
@BenFortune Oh my god what the fuck is that
Anybody could tell where I am from?
@ZhengquanBai your mothers privates
inb4 flag
ur the flag
@ZhengquanBai You're from shanghai
13:09
Absolutely
@Sippy there is pyQuery for python too, btw.
@AwalGarg I don't want or need to know lol
@JoshLeBlanc I have a colleague whose English name is Josh
13:11
hehe
I suppose they can but it won't be done
What does that sentence imply? What meaning does it try to convey?
that's it, i'm porting jQuery to the only language that deserves it. Forth.
@ZhengquanBai That throwing people at a project will make it be done faster
@FlorianMargaine An Indian Project Manager is a person who can have a woman deliver a baby in One month
13:14
@AwalGarg there are terrible jokes that can be made there...
Does it mean that the project manager honor those who can spent more time on a project and deliver quickly. If a woman deliver a baby in one month, she will get back to work quickly.
I theorize that resources to complete a project is O(n^2) in the number of people working on it.
there is some nasty business behind the scenes if they are pulling that off
@Luggage and the babies are not very well done.
I'm thinking they are gettign babies from an 'alternate source' on demand
13:16
@ZhengquanBai It means project managers generally don't understand time constraints and resource allocation.
which happens.
That is pretty much what happens here. Don't have enough pulses in stock? Put shit in pulses and ship.
@Sippy got it.
Peasants are forced to harvest crop before it is ready, resulting in improper diet.
SO chat with plugin support anyone?
13:21
wat
Hm... dumb question... but how does one structure a function that has callbacks on it? Example:
@BenFortune that actually doesn't help. It would be much better if, when mouse-overing user's avatar, the site would ade content of other users by 50%
That's a good idea
Will add to my script
MyClass.execute('somecommand')
  .on('data', (data) => {
    console.log(data.toString())
  })
  .on('end', () => {
    this.unblock();
  });
@tereško Not my script it's @rlemon's. I was just using it to demonstrate plugin support.
13:28
well, then pass it to @rlemon
huh?
coloring shit make it only more confusing
so what do you want?
1 min ago, by tereško
@BenFortune that actually doesn't help. It would be much better if, when mouse-overing user's avatar, the site would ade content of other users by 50%
I think my coloring looks nice
13:28
what is ade ?? @tereško
@rlemon fade
ahh
yea that is easy
chat.addEventListener('dom-ready', function() {
    fs.readdirAsync(`${__dirname}/plugins`).map(function(file) {
         return fs.readFileAsync(`${__dirname}/plugins/${file}`, 'utf8');
    }).each(function(plugin) {
        chat.executeJavaScript(plugin);
    });
});
fade, yes
Best plugin loader eu
13:29
@BenFortune chat isn't loaded on dom ready
:P
@rlemon chat is the webview frame.
It's Electron
basically, @rlemon, the goal of the coloring seems to be an ability to focus on comments from a specific conversation
@BenFortune but the chat loads, then loads again via js
user messages are loaded in the second event
but it kinda fails at providing that ability
@tereško I think it's more for recognizing someone after they've changed their profile picture
Looking at you @AwalGarg
13:30
@tereško miaou does that very well
@FlorianMargaine Always liked the indicators, is it SVG?
@BenFortune yup. He made hu.js based on that
@JoshLeBlanc my current avatar is here to stay like forever. Unlike your display name which changed from a nice little cereal to some long hard to write thingy.
@FlorianMargaine miaou always seem to me like a giant clusterfuck. They have too much shit floating around everywhere
... I assume you can change it on your own, but the first impression is kinda bad
@tereško It is just not very well organized
13:32
> The entry point of the library is the hu function. It's also aliased as ù which is obviously shorter and prettier but there's no problem in using hu if you're in a poor country where keyboards suffer from a deficiency in ù keys.
@AwalGarg thus, a clusterfuck
@rlemon The SO loading message and loading indicator in the browser doesn't stop until the messages are loaded though
@JoshLeBlanc change your display name back :(
What would you pick from these events then?
Oh, did-finish-load
13:33
@tereško oh? Do you have feedback? We're always looking to improve, but since we use it daily, we don't really see this kind of thing
> Oops! There was a problem updating your profile:

Display name may only be changed once every 30 days; you may change again in 1 hour
@AwalGarg Good timing
!!nudge 60 @JoshLeBlanc change your display name back to Cereal
@AwalGarg Nudge #1 registered.
Why did you change it in the first place?
I wanted to fit in </3
13:35
@FlorianMargaine you mean like a genuine "feature request"? Well, I could take a second look at it. I have not tested it too much. Whenever I end up in that site, I spend like 30 sec and bugger out.
@tereško not necessarily feature request, rather UX feedback
since you say "it's a clusterfuck"
well, yes
@JoshLeBlanc you wanted to fit in a broken heart?
@BenFortune yea but that isn't dom--ready
@rlemon Got confused for a sec, using did-finish-load now
> Fired when the navigation is done, i.e. the spinner of the tab will stop spinning, and the onload event was dispatched.
13:37
I'm mashed potatoes man
@FlorianMargaine I personally think miaou needs to improve the current features usability wise, then look at "good looks", and then look at adding new features following the "good looks" along the way.
link to meow?
@BenFortune yea dude, that won't work either.
the chat loads. spinner is done. THEN websockets connect and pull messages
13:39
@rlemon But it works :(
yea, because your connection is fast enough
@rlemon "chat loads" loads what?
How would you suggest I handle it then?
@AwalGarg your mom
:(
I thought pulling messages and websocket is part of the chat loading :/
13:40
@BenFortune if you want to be 100% sure, check to see if the frames show anything, or observe the loading message and action xms after it is gone
@AwalGarg no, the chat loads with the js code to pull the websockets.
if you ajax an image, your browser doesn't spin.
it doesn't 'wait' on load to ajax in an image
it loads the code to load the image and moves on
user3119231
this piece of multiple select shit is crap!
user3119231
goddamn everyone else can't got multiple selects?
who wants a challenge? :D If I give you a list of message id's you wanna line them up with their associated rooms?
@Maurize <select multiple=''> ??
user3119231
<select id='import' name='imported[]' style='height: 50%;' multiple='multiple'>
13:45
selects suck
user3119231
yeah.
rooms = just room id? then me. if room details with name and link and all fancy stuff, not me
just room id
I forgot to collect that in the original script
need to write a migration
I can do that.
kk give me a sec to export the id's
13:46
@rlemon MutationObserver checking #loading for DOMNodeRemoved on body?
user3119231
Is there anything wrong? I use method post and call this on php side:
user3119231
<?php
$values = $_POST['imported'];

foreach ($values as $a){
    echo $a;
}
?>
user3119231
Notice: Undefined index: imported[] in C:\xampp\htdocs\newproject\system\php\importer.php on line 2

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\newproject\system\php\importer.php on line 4
@BenFortune do they remove the node or hide it?
@rlemon Remove
13:46
I personally just wait 2 seconds :P
then just querySelector for it
if the result is null, you're good to go?
@AwalGarg wait.
that list isn't complete
hello all ... I created mongocha.com a topic vise chat application .... I wanted to create my api , user has to register to my site and with the secrete genrated after login , they can use this secret to integrate my chat functionality and chat box will appear after adding my javascript ...please tell me how to do that
@MiteshUkate 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 (1768 days earlier)      last day (3405 days later) »