« first day (1682 days earlier)      last day (3269 days later) » 

12:07 PM
> Kindly give me detailed instructions
 
Might as well be asking for a BJ
 
the question itself has no sense
 
<select ng-model="vm.profile.height_in_cms">
  <option ng-repeat="(i, height) in vm.height_options" ng-selected="i == 9" value="{{height}}">{{height}}</option>
</select>
 
@Neoares It's practically a person with no experience in using computers asking how to set up a website.
 
I am getting an extra <option value="? string: ?"></option>
 
12:12 PM
if you build the project using eclipse or something, you only have to run it and go to localhost:port
 
^ other question by OP 10 hours ago
 
@Unihedron no experience using computers and using nodejs ._.
 
@Neoares Life is strange. People are strange.
 
Please dont undervote ! Kindly help ! — RAS 22 hours ago
 
@MadaraUchiha I flagged NC, ymmv
 
12:14 PM
@MadaraUchiha That's why I commented an answer xD
 
@Unihedron Shrek is love. Shrek is life.
 
!!s/Shrek/jQuery/g
 
@MadaraUchiha @Unihedron jQuery is love. jQuery is life. (source)
 
!!s/shrek/Java/gi
 
@Unihedron !!s/Java/jQuery/g (source)
 
Aww.
 
@CapricaSix jQuery is light and darkness
 
@KendallFrey Wth it got me
unicorns
 
What is the difference between AMD vs requirejs?
 
12:26 PM
AMD is a CPU, requirejs is a JS library.
 
not that AMD
 
I haven't heard of the other one, and I took the chance to be a smartass.
 
THE
@KendallFrey are you flexible ?
 
Yes, I have multiple bones in my body.
 
Tesla Suit (no relation to Tesla motors)
 
12:36 PM
AMD:
define(['jquery'] , function ($) {
    return function () {};
});
CommonJS:
var $ = require('jquery');
exports.myExample = function () {};
google is your friend
 
import $ from 'jquery';
export default function() {};
ftw
 
that is so last month
 
@Mosho Oh?
 
yeah, I started using it last month
 
@Mosho Are you using something different now? :P
 
12:42 PM
well, no
 
@KendallFrey Asynchronous Module Definition?
Yes, I did, yet am confused, please if you have the answer say it, either keep quite. — Omar K. Rostom 3 mins ago
lol
 
@MadaraUchiha I have no idea. I'll go with "yes".
 
Can anyone tell me what kind of ID does Mongoose generate and can I generate that with vanilla JS / Angular?
 
@KendallFrey AMD is the standard, requirejs is the (crappy) implementation.
@RahulDesai Mongoose doesn't generate IDs, MongoDB does.
And I think it's normal hashes of sometime
SHA1 probably
 
Oh, I see.
let me check
 
12:45 PM
hashes as IDs? gross
 
@KendallFrey Why not?
Who cares?
 
cos guids are better
 
@KendallFrey How about hashes of guids?
 
/me winds up
 
Where did you wind up?
 
12:48 PM
Is this way of creating GUID's reliable? guid.us/GUID/JavaScript
I just need to make sure that it doesnt repeat the ID that is being outputted.
 
It has a bug
 
oh
@KendallFrey what is it?
 
@RahulDesai How sure do you have to be? Guids are never guaranteed to be unique.
@RahulDesai I wish I could remember
 
@KendallFrey really? Because I need those to assign as an ID to a collection in MongoDB
 
THE
@KendallFrey nah i meant you know flexbox ?
I need help with flex box
 
12:52 PM
why not sequential?
 
@RahulDesai In that case, guids are plenty unique enough
 
THE
I have a very sensitive issue here
 
@KendallFrey So, that function good enough?
 
THE
1
Q: Angular Material issue in IE11

THEI am having trouble showing this datepicker in IE-11, This is how it looks like in chrome, AND This is how it looks like in IE-11 One of the issue is with angular material css class .md-select-label min-width... which is set to 64px changing it to 90px fix one of my issue but that's not it...

 
You're more likely to win the lottery without buying a ticket than you are to get duplicate guids.
@RahulDesai For you, but not for me.
 
12:53 PM
what is the best way to create Object.entries()? discuss
 
LOL
@KendallFrey Thanks, dude :)
 
It doesn't define the "type variant" of the guid
 
@KendallFrey looks like a guid after all docs.mongodb.org/manual/reference/object-id
 
THE
@KendallFrey yes, but that is if you keep generating on one computer, if we both start generating it on different computers, there will be identical ones generated
 
@THE nope
 
THE
12:55 PM
@KendallFrey trust me
 
@THE You'd have to try very hard to make that happen
very very hard
And it depends on how strong your randomness function
I've seen a company that uses a Geiger counter as its entropy generator
 
@THE The G in GUID stands for global, not on-my-machine
 
You won't get better entropy than a Geiger counter :P
 
afk food
 
> While each generated GUID is not guaranteed to be unique, the total number of unique keys (2^128 or 3.4×10^38) is so large that the probability of the same number being generated twice is very small. For example, consider the observable universe, which contains about 5×10^22 stars; every star could then have 6.8×10^15 universally unique GUIDs.
awesome
I didn't know that star tidbit
 
1:00 PM
except for the birthday paradox
you'd start getting duplicates at about one ID per 1000 stars
 
Hi
i need help with cordova
 
@rlemon My brother was struggling to understand the concept of orders of magnitude, he used to think that (10^100)/2 == 10^50. His face when I showed him that 10^100/100000000000000000000000000000000000000000000000000 == 10^50 on the calculator was great :P
 
!!welcome dramoria
 
@dramoria 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.
 
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:1.0.0+.
Required by:
:android:unspecified
> Failed to list versions for com.android.tools.build:gradle.
> Unable to load Maven meta-data from https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml.
> Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml'.
 
1:05 PM
Java != Javascript
 
i am getting above error
 
@JanDvorak I think he's talking about Cordova
 
...oh.
 
Yess @SomeGuy @JanDvorak
 
Hi guys !
 
1:08 PM
and gals*
 
can anyone please help me with that error... m facing this from last 3-4 hours
 
rlemon: right ^^
Still working on my performance issue ! Maybe some of you guys/gals can help ! I have a complex processing involving many processes/functions that have perf issues due to garbage collection. I guess some anonymous callbacks are used somewhere but can't find it. Chrome profiler indicates taht 40% of the time is used by the garbage collection so there is definitely something going wrong. Is there a way to profile waht's causing the garbage collection ?
 
1:25 PM
@copy seen this? scullinsteel.com/apple2
 
hi guys. How to read file in node.js and split data in array based by new line operator '\n'
?
 
@rlemon how was the pizza
 
@FlorianMargaine I'm sad there were no unicorns drawn
@rlemon Oh, what happened about the GMusic exporter / importer?
 
@FlorianMargaine pretty good. having it for lunch today as well
@SomeGuy there was a bug in the lib, it is apparently fixed now, I just haven't had time to work on it since.
 
Ah
 
1:39 PM
you had no way to log out, or handle invalid logins :P
 
Haha
 
little bit of an oversight.
@macroscripts check out fs.createReadStream
 
THE
@rlemon was just waiting for you
I need your informatic help
 
why were you waiting for me?
 
THE
i am stuck with this problem and no one could solve it
i think you would know the solution
1
Q: Angular Material issue in IE11

THEI am having trouble showing this datepicker in IE-11, This is how it looks like in chrome, AND This is how it looks like in IE-11 One of the issue is with angular material css class .md-select-label min-width... which is set to 64px changing it to 90px fix one of my issue but that's not it...

 
1:42 PM
@rlemon k going through it
 
no one could, or no one wanted too
 
THE
@rlemon Could....
 
okay, see, this is why random pings piss people off. a) I never showed interest in answering this. b) I have never showed knowledge of angular c) I have never showed knowledge of flex or material design. I also don't use IE
so (from my point of view) this is nothing but a random attempt to get help from a name you've seen before ??
!!should I buy sftp now or wait a week and see if I really enjoy it
 
@rlemon You should buy sftp now
 
okay, next time it prompts me
 
1:45 PM
@rlemon wtf your avatar scares me
 
scares me as well
cc @Loktar
 
it's @voldelemon
 
@KendallFrey Why is this GUID generator (guid.us/GUID/JavaScript) not good enough for you, if I may ask?
 
THE
@rlemon calm down mn, didn't pinged people when they are not around ever
well atleast for help...
i'll solve it myself, thanks
 
@rlemon ok I found a way to do this.
can anyone tell me about this method of programming. jsfiddle.net/ce6g5rfu
does it have bugs in it?
 
1:50 PM
@macroscripts Yes.
You can't return from an asynchronous function callback like that.
Use Promises
!!tell macroscripts google html5rocks promises
 
@MadaraUchiha Command html5rocks does not exist. (note that /tell works on commands, it's not an echo.)
 
@MadaraUchiha how to do that?
 
@macroscripts First article in the results above ^
 
@THE that isn't the point. this room has clear rules about pinging for help. Your random pings asking me or anyone else for help if they've showed no interest in your problem isn't kosher here.
 
THE
@rlemon once in a year doesn't count
 
1:51 PM
-_-
 
@THE that's not once in a year
 
don't do it
 
and yes, it does count
 
Everyone knows you get a free pass the first time you break a rule every year
brb running someone over
 
lol
 
ok i have another problem
 
:o
 
//load links from file
var links = ReadFile('links.csv');

links=links.split("\n");

console.log(links[10]);
 

« first day (1682 days earlier)      last day (3269 days later) »