« first day (1747 days earlier)      last day (3196 days later) » 

6:00 PM
@ssube but it's the same amount of function calls for both... so...
 
@towc pmuch
 
actually, exactly once more for the second one
but it's still hugely faster
 
installing w10, cap will be down.
 
Question... can you override how an object is constructed easily? Eg:
 
@rlemon don't tell me you changed lover! Cap will always be better than Cortana, why are you leaving her???
:P
 
6:01 PM
Collection = new Mongo.Collection('collection');
// would really result in something like this
Collection = new Mongo.Collection('collection', {
  connection: Settings.connection
});
 
cortana is not available in my country wtf..
/me uninstalls windows10
 
the fuck is cortana?
 
get a better country bro. why not america bro? here try america bro. it's america bro.
 
@rlemon windows' siri
 
ew
 
6:04 PM
@rlemon the intriguing AI from Halo built into w10
 
@ssube can I download a trial version of "america bro"?
 
not a hologram yet, can't live in your helmet either ifyouknowwhatImean
@AwalGarg nah brah don't pirate america
 
Hey, how do I substract info from js variable like this.id?

I've got 2 different full-shapes which consist of 5 sub-shapes each.
 
OMG @Zirak EVERYONE
 
@crusty 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.
 
6:05 PM
agh
 
@Zirak IS HERE
 
you gotta buy america. you gotta pay for freedom.
 
do I need to explain everything here?
or can I link my question?
 
link
 
Zirak hi! this is a ping. your mind is fooling you that it isn't, but it is.
 
1
Q: Trouble painting different-shaped divs

crustyI'm having real trouble painting div's with different shapes. Example is here. All is in html/css/js so there will be no issue viewing it's source. Are there any attributes to css to make it work properly? All I have to do it all the way around? Issue - div doesn't always change color when click...

don't post short links
people don't click them
no one trusts anyone
 
yeah rlemon likes them big
 
driving slow on sunday mornings
bigger is always better
 
let's have Cap autotrash shortlinks
@ʞɔᴉN TWSS
 
@JanDvorak sometimes they are needed
like google maps links
 
6:07 PM
thanks @rlemon
 
or babel links
 
define shortlinks
 
ok imma play with too many nested dependencies on iojs and benchmark loading time between global and local installs.
!!container or VM?
 
first time here actually
 
@AwalGarg VM
 
6:07 PM
i prefer IRC
 
These have their own domains
 
@room container or VM for that ^?
 
Let's have her trash generic shortlink sites only
 
everything but goo.gl
:P
 
why not goo.gl?
 
6:08 PM
because it is the one I use :P
 
agar.io
 
lemons biased
 
^
 
switch to sh.st
 
fv.ms
ah damn it forgot to renew it
 
6:10 PM
Just have her replace them with the full link?
 
how?
 
curl
 
Well I dunno, you're the programm0rs
 
@JanDvorak we just need to get Cap up on a server and then we can have her request links and follow the redirect
 
just
 
6:11 PM
Greasemonkey can also do that
 
well most of the code must be context agnostic right?
 
I'm running a javascript for loop, inside each loop is a get, how can I run code after all of the gets have completed?
 
or make a service that does that, put it on <free host provider> and make a REST api
 
unless it's spaghetti :(
@ivarni or that, but I want to see Cap on a server.
'cus reasons.
 
leave your fantasies out of it :p
 
6:12 PM
@Silver89 $.when.apply
 
The unshorten-urls-as-a-service approach sounds easier tbh
 
yeah that'd actually be a decent service in general
 
you mean the browser?
 
Who needs url shorteners? bringvictory.com
 
6:13 PM
 
anyone have a favorite way to minify bower components through gulp?
 
@JanDvorak where would that go in here?
 
@KendallFrey heart attack
 
nvidia drivers won't install
I'm fucked
 
sonofabitch
 
6:14 PM
code screenshots? Where's my pitchfork
7
 
upgrade from windows 7 to 10 does ask for a key
dammit
 
@rlemon just click skip it
 
@CuddleBunny webpack
 
Is getting a key a problem? I plan to fresh install.
 
@Abhishrek gtalk
 
6:15 PM
@allquixotic, @rlemon, and anyone else who pinged me: I'm exhausted right now, can you ping me on Friday to remind me that I owe you things?
 
@AwalGarg no, i am extremely busy
 
1) try to install windows 2) notice they ask for a key 3) realize you have a "skip" option 4) install normally 5) download cracker
 
use a copy/paste service
 
if your code ain't formatted son my editor don't want none
 
@Abhishrek see it later then
 
Refusal to format code (DSM 666.42) is a serious illness.
 
new Array() should be []
 
@catgocat don't advocate software piracy
this is your one and only warning
 
Awwwwww, you got yelled at.
 
ok :(
 
6:17 PM
where console.log("done") is is where I'm trying to run the code but it runs before the gets in the loop complete at the moment
 
@Silver89 look at the documentation of $.when and $.get
 
There's documentation?!
 
@ssube never heard of this, looks shiny.
 
@CuddleBunny check out this template project for a gulp+webpack(+babel) build
 
webpack is awesome and I, also, suggest using it. You can minimize in gulp without changing to webpack, though, if you are already happy with your build process.
 
6:19 PM
@ssube pokes you have an issue open which can be closed now :-P pokes
 
webpack is very awesome indeed and I, Elliot Bonneville, endorse this message
 
!!google elliot bonneville
 
@ElliotBonneville google says you aren't real
 
cap is dead that's all
 
get thee behind me, Elliot Bonnesatan, but like where I can keep an eye on you
 
6:21 PM
!!google ssube
 
@JanDvorak cap is dead, @rlemon is installing win 10
@ssube :D
 
21 mins ago, by rlemon
installing w10, cap will be down.
 
why are clothes so expensive???? i should not have to pay this much to not be naked. people should pay ME to not be naked
 
#ripcap
 
it is pinned even
 
6:23 PM
@catgocat hah
 
isn't pakalupapito some advert campaign?
 
A well-considered documentary expositing the myriad advantages of licorice ropes
 
!!hi
 
6:27 PM
That's quite a package.
... of twizzlers..
 
...oh god
I hate you for making me look at that thumbnail again
 
dude might need longer shorts
 
does he, though?
 
@KendallFrey :( I wouldn't have looked again if you didn't say anything... didn't notice the first time D:
 
Hello guys! :)
 
6:31 PM
Hellô
 
I remember I saw somewhere a strange thing: the called function was *seeing* the comments from its call. For example:

function foo() {.?.}
foo(/* can foo "see" this comment?*/)
Is this possible?
 
no
 
yes
 
comments are removed before code is run
 
6:32 PM
no
 
@ssube They are not!
 
@IonicăBizău they are, though
 
@ssube no
 
even if they make it past the lexer into the AST, they aren't evaluated
 
// sometimes I feel the compiler ignores my comments
2
 
then how does this work? tjanczuk.github.io/edge/#/11
 
!!>(function(){/*...*/}).toString()
 
@IonicăBizău that's because the compiler hangs onto the literal code, even though that's not what it runs
 
@Luggage Exactly! That was what I saw! :)
 
you need to parse out the comments yourself.
 
6:34 PM
@JanDvorak Thanks :)
 
depending on the impl, the AST node could have the source attached, or the source could just be held separately and line/col pointers included in the AST
 
also I don't thin the functin body is avabilable in all environment (but it is in node)
 
@Luggage depends on the function and the body and whether/how it's been optimized
 
@Luggage Since it's a function, it's easy to stringify it, like @JanDvorak did.
 
old runtimes, native functions, and functions that have been compiled into native code are not visible
 
6:35 PM
holy crap windows 10 is a long install
 
@IonicăBizău not always
 
34 minutes later I'm only at 80%
 
user1596138
@rlemon Install or download
 
use SSD
 
install
 
user1596138
6:35 PM
30min seems reasonable?
 
I am using an ssd
 
user1596138
Oh wow lol
 
don't use an SSD
 
well
download for me would take like 10 hours
 
Can someone don't mind answering this question: stackoverflow.com/questions/31698211/…
 
6:36 PM
use LSD (liquid state drive...)
 
install would probably be done in 30 mins
 
@Luggage @JanDvorak Gave you some upvotes. Thanks, guys! :D
 
@Luggage i use that regularly
 
there are no upvotes in chat..
 
Woo Hoo! it is done
now I get to wait while it sets up my desktop
 
6:37 PM
@Luggage Hehe, go to main :p
 
ohh. don't involve me in your rep scams :)
 
there should be upvotes in chat
 
stars
 
I agree. This is where I spend all my time. This is my main.
 
repvotes
 
6:38 PM
@Luggage Lol, everybody loves upvotes... at least almost everybody. :p
 
does imgur upload slower if i'm off tab?
I don't see why it would, but it seems to be
 
browser probably prioritizes the active tab
 
but for transfers?
seems a little lame to do it for transfers
timers, yea
 
that would be weird, but maybe?
 
wow
imgur allows you to paste from your clipboard now
fuckin eh
 
6:41 PM
mac + imgur = fast screenshot sharing. cmd+ctrl+shift+4, cmd+t, "img"+enter, cmd+v, enter, click, cmd+l, cmd+c, done. takes four seconds
 
Wooo! windows 10
Ewwww! double taskbar
 
There is no point of using Bull (node.js) if I use node.js cluster?
 
Why would that matter?
bull works in a cluster just fine. Made for it, I think.
 
@rlemon you can change that
but it's not bad
 
So can someone clarify for me why $('td input:checkbox', '#tblNetworks').prop('checked', $(checkbox).checked); fails to check all the checkboxes in tblNetworks, despite the fact that the checkbox value is clearly being found and the table exists?
 
6:43 PM
by bull you mean the redis-backed queue thingy, right?
 
you can even tell it to only show open windows that are open on that screen
 
@OctavianDamiean I'm going to give it the week to see how I like it
 
Yes @Luggage
 
@rlemon where'd you find the iso ?
 
@JoshLeBlanc the media thingy
someone linked it way back.
instead of 'upgrade this pc' you download the iso
 
6:44 PM
You may not need a cluster unless you need to have multiple processes becasue you have so many jobs, but it should work just fine in a cluster
I think it's designed so that evr job is processed by exactly one node.
 
ggage
 
@Luggage Having more than 1 process (cluster) which mean it should be able to handle many requests web sockets communication via browser. So that mean having something like Bull in the cluster will be useless ?
 
@I'll-Be-Back You run a load balancer (like nginx) in front of a cluster of node processes, because node was never meant to scale.
 
6:47 PM
well, the job processor and the websocket server don't need to be in the same process, btu if they are, there is no harm in multiple bull instances on the same queues, as far as I know.
 
I just ordered an ipad air :D
 
My condolences
 
@SterlingArcher woo \o/
 
You probably don't need to cluster bull, but if you are clustering ANYWAY for another purpose, it should be fine.
 
I prefered windows 7 explorer
:/
 
6:49 PM
I see
 
this one seems cluttered
 
PS: Downloading Windows 10 now :P
 
lets say I wanted to take the text from a prompt("question","answer") box and compare it to the text from a text file. How would I do that?
 
@TheWrenchintheSystem a) you can't get at files, b) don't use prompt
 
@ssube What do you mean? You do mean multitple web servers like nginx and each of these server will have nodejs?
 
6:50 PM
Be more specific about where you are stuck. Reading a file, comparing strings, etc.
 
@I'll-Be-Back one nginx, multiple nodes
nginx scales like all the way, node was designed specifically not to scale
 
I want to read from a text file and compare it to the input from a prompt box
 
Hmm
multiple nodes mean scale
No?
 
I use pm2 to do my clustering. It handles the load balancing and all.
 
what is that?
 
6:51 PM
though nginx is more robust, pm2 is simple for my small-scale setup
 
what are you talking about?
 
Wasn't talking to you :)
 
oooh
I'm going to make a question about it.
 
You didn't tell us which part you are stuck at, you only told us a broad plan of reading from some input and comparing to a file.
@TheWrenchintheSystem ^ that one was to you.
 
Hey guys, I have a question regarding using javascript to copy clipboard functionality. May I know what is the reason that its not a straight forward process?
 
6:54 PM
*it's
 
@mad_programmer security, so tabs can't just steal things from your clipboard
 
Would you like going to a website that filled your clipboard with porn?
 
Because javascript doesn't have direct access to the clipboard
 
hmm true, but then what is a legitimate alternative then?
 
6:55 PM
I know about zeroclipboard, but is there any other way?
 
pretty sure most sites just use flash
 
I see.
 
@I'll-Be-Back exactly
 
but firefox is making flash go away
so don't use flash.
 
6:55 PM
flash is making flash go away
 
also that. ^
 
user1596138
Guys Flash is gonna make a comeback
 
I hope flash will die
it will take time like IE6
 
user1596138
So don't give up yet
 
flash is essentially dead, except for a few minor things that it acts as an insecure polyfill for
 
6:56 PM
I like actionscript :/
 
all we use it for these days is working around security stuff
 
true, I hate flash as well.
 
flashar morghulis
 
Blind people hate Flash, so have some respect for them.
 
6:57 PM
but this copying to clipboard if I am not wrong is a client side thing, right?
 
flashar morghulis? I hardly knewar morghulis!
 
very client-side
 
why all the flash hate? flash on the web is stupid, but flash overall isn't. AS3 was kinda nice.
 
hipster
 
if flash is not a long term solution, then browsers should come up with something.
 
6:58 PM
Woohoo, someone agrees with me!
 
does html5 has any support?
 
@mad_programmer they have
it's called JS
 
@mad_programmer Nah, it's all vapourware
 
@ssube lies! it is called shockwave
 
6:58 PM
Then there's Java
 
Java scripts, yes
 
well...you mean any server side tech could do it?
JS cant help, its not straight forward.
 
How do you test promise failures? That is, test that it did throw an error
 
ScriptJava?!
 
@corvid throw an error
 
6:59 PM
html5 has support. but it is old now. we already have awesome browser support for HTML7. @mad_programmer
 
@mad_programmer *can't, *it's
 
@rlemon won't it just be in the catch though?
 
everyone else stop trolling @mad_programmer
 
@JanDvorak your really going they're arent you?
 

« first day (1747 days earlier)      last day (3196 days later) »