« first day (1849 days earlier)      last day (3106 days later) » 

crl
5:00 PM
same
 
I think either your gpu is not working
or your gpu is bottlenecked
 
crl
5:13 PM
thanks man :)
yeah, no proper GPU card, I didn't think it would matter until now
I'll try to update my graphic driver, anyway
 
@crl ^^ no issues
 
crl
no need you mean?
yep, I guess like you explained, there's no way
 
I need some help with nodejs streaming
 
crl
pipe things!, but can't help I'm a noob too in that subject
 
gist.github.com/argentum47/00fb80cec04d040b5394 this was download looots of data and then after two hours, there is a error GC memory out of bounds.. is there no way to do this crawlling in batches of 100 files or so .. what did go wrong
 
crl
5:23 PM
@Abhishrek my graphic driver is up-to-date, hmm I didn't think I had this issue on win8 though, or maybe didn't notice it
anyway, I have a distraction-free laptop, can't watch gifs for too long
 
I see you edited your answer with a suggestion from MarkE
 
crl
@Asperger yes, just a small change
 
@crl nice
 
does your 'distraction-free laptop' let you in this chat room?
 
crl
the chat tab is quiet, yes :), but right chat is a bit distraction too,
 
5:34 PM
Is there any way to modify an iframe coming from an other web server?
The cross-domain policy doesn't allow me to do this
 
you got your answer
 
I think that I should develop a window application which get data from the web server, and then pass the data to my web application. Si I won't have problems with borowser's cross-domain policy. Right?
 
crl
I think that's called a proxy server
 
5:54 PM
Are you saying that I must not develop an application? There are tools to do this?
@crl
 
damn, seems like im having a experience block.
 
Can somebody help me with tracking Facebook click event?
 
@MateuszSowiński 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.
 
@crl do you have any idea how to actually improve this? jsfiddle.net/bmzehbr6/5
 
no sorry
 
5:58 PM
The performance is utterly slow due to loads of repainting. I thought setting a clearRect somewhere on top would do the job of clearing the canvas before firing the loop again
 
@ErroreFatale why do you need to modify another page? modify in what way?
 
@ErroreFatale You can modify iframe, if you want
 
@Luggage because I want to develop my personal client for a web site
 
use jq: $(iframe).contents(); @ErroreFatale
is that what you want?
 
and you want to constantly modify it as the source site changes?
sounds like a tedious mess
 
6:02 PM
 
@Luggage because in my personal client javascript logic would be different
 
Would it not be better just to scrape the website and rebuild it elsewhere?
 
I created a monster lol
 
Mega pretty @Asperger :)
 
You're growing pot.
 
user1596138
6:02 PM
Paypal uses React now I guess
 
@Polyducks hehe.
 
user1596138
@Loktar they have offices locally too right? ^
 
Now, the option to have modify the iframe pointing the web site is only an option. It wouldn't change if I'd develop my personal client by start. I'd have cross-domain exception when I try to send data to the other web server
 
this sounds nefarious
 
Guys, if I'm doing this:

( var i = 0; i < 100; i ++ ){

    object.onload = function(){
        console.log( i );
    }

}

How do I get it to log 1-100 without it logging 100 one hundred times?
 
6:05 PM
@Luggage what do you mean?
 
0
Q: datatables serverside processing with unknown totalRecord count

Amin RoostaDoes datatables have any support for server-side retrieving of data where the TotalRecords count is not known in advance? We have data for which the query to get the total-count is almost as expensive as just querying all records. It would be need if there was a way to let datatables know that t...

 
user1596138
Lol watch me get a job at PayPal and ditch you. Jk Im staying for awhile
 
Hello, @AminRoosta :)
 
hello @Polyducks
;)
 
@Polyducks common question. i'll find a SO answer that's relevant
 
6:06 PM
;)
 
i forget the term
 
Thank you so much @Luggage. I've managed to get a workaround before, but I'd love there to be some sort of official async thing.
I just have no idea of what to google
 
@all one question, do anyone here knows a place where i can get a remote telecommute job (javascript, c++ or C# ?)!
 
your issue is dealing with 'closures in loop'
 
Sorry, @AminRoosta, not a clue! The only javascript job I know about is in-house
'closures in loop'... alright, I'll take a look from here :) Thanks, Luggage, for teaching me how to fish
 
@Polyducks thank you. there is site named freelancer, but we iranians cant use it :(
 
Blocked in your country?
 
that second link is much better, poly.
 
Yes, because of sanctions.
;(.
 
@luggage Aha! I was wondering how to pass variables to anonymous functions. Yes, that seems to have got it.
@AminRoosta Sorry mate. My advice would be to find a similar site, if you can. Like one of those job bidding sites
 
6:14 PM
or start a new one
 
@Luggage LOL ;)
these two years have been really tuff, having really underpaid jobs, companies with old technologies (no-one even knows what react is ! :( )
 
What IS react? I haven't heard of it yet
 
omg, open a window, man
 
really ...
i think he was sarcastic, he is an angular fan :)
 
angular? what is this? 2014?
 
6:19 PM
a lot of companies are still using angular 1.x .... its not going to die soon!
 
yes, just kidding.
 
@Luggage :)
 
@crl you can do a thing though
reduce your resolution see if that helps ;-)
 
@AminRoosta I'm not an angular fan... I hate all these unnecessary frameworks.
what the heck is wrong with plain old html5?
 
@Luggage i have a project with requriejs and amd module format, i want to move the project gradually into es6 moduels, so at first i want a library to be able to work with both module formats in the same time, that is es6 moduels import amd moduels and amd moudles requie es6 moduels.
 
6:22 PM
@phenomnomnominal No, sorry.
 
Can anybody help me with that?
`$(document).ready(function(){
$("body ._52kr").click(function(){
setTimeout(function(){
$("body ._4-of._50-l._516b").prepend("<div style='padding: 10px; color: #fafafa;' onclick='rotateimg()'>Obróć obrazek");
console.log("test");
/*if ($("body ._4-of._50-l._516b").text().indexOf("Obróć obrazek") == 0){
console.log("test2");
}else{
checkifappend();
}*/

}, 2000);
});
});`
It's a code from my chrome plugin, it only works if i put it directly in the chrome's console. Why?
 
@AminRoosta webpack does that.
 
@Polyducks sorry i didn't mean to be rude. react was so famous that is that ...
@Luggage can i load module on demand like requirejs, last time i worked with webpack it packes all scripts into one file.
 
@AminRoosta It's okay ;) It's just there are so many frameworks that are toted as 'the best thing' that it just becomes impractical to keep changing them. Basic HTML5, js, css and PHP are so timeless and haven't changed in ages. There's a very good case for not changing to the newest thing, in that it might change again very soon
 
user1596138
@Polyducks They don't accomplish anywhere near the same thing. Maybe you should inform yourself before you decide to stay in the past :P.
 
crl
6:24 PM
@Abhishrek ok good idea (mine was 1366x768 actually) also fetching a newer driver (26/10) my version was older 04/08
 
can't agree any more ...
 
@Jhawins I'm a front end dev. Our back end is third party. I don't decide framework.
 
user1596138
@Polyducks HTML5, JS, CSS, PHP == Amateur stack.
 
@crl well if its taht then dont reduce
 
Besides, all the stuff I've worked with has been reliable 'in the past' things. Have you any idea how hard it is to recruit people and train them on the latest web fad?
 
user1596138
6:25 PM
If you're going to do that you may as well just use Wordpress or something.
 
if it was 1080p then you can definitely reduce it a lil
 
@Jhawins Used it and hated Wordpress.
 
crl
ok
 
I'm so tired of people like @jhawins who tell me I'm 'Amateur' for sticking to reliable technology when the fact is I'm in a well paid job and I'm relatively secure. The decisions I've made keep the company working. It's not amateur if it works and doesn't need to be changed for a new fad every six months.
 
@AminRoosta you can load on-demand, but it's more complex setup.
 
6:27 PM
Yes, @jhawins, you have earned my ire.
 
user1596138
I didn't say amateurs don't use frameworks... I said hand coded static HTML/CSS/JS with PHP is the amateur stack.
 
hm. i wonder if babel can use used to convert AMD modules to commojs or the other way..
 
@Jhawins it's well understood by everyone. It works.
 
@AminRoosta If you want every file to be loaded on-demand, then you might be stuck with AMD module style.
 
@Luggage Thanks for your help today.
 
user1596138
6:29 PM
I bet you have PHP/CSS/JS/HTML all in the same ***.php files hahaha
 
user1596138
It works. Sure. Is it maintainable in a large production environment? Nope
 
@Jhawins the bartender cut you off?
 
Oh shit
guys I did it!
 
poopy in the potty?
 
user1596138
Nah this is just a sore spot. One of our products is a POS that is basically amateur PHP shit but with C#
 
6:31 PM
I present you: the bacteria jsfiddle.net/bmzehbr6/7
 
user1596138
Everyone thinks it is fine lol
 
user1596138
> It works!
 
@Jhawins I don't even understand your implication. This sort of elitism is the reason why I left this stupid site in the first place, and people like @Luggage is why I came back.
 
user1596138
But I spend sometimes multiple days on small changes because it's such a spaghetti code POS mess
 
so young and idealistic. You are right to find it shitty, but if it works, time may be betetr spent elsewhere
 
6:32 PM
@crl yo crl check out the bacteria animation
 
user1596138
@Polyducks lol calm your tits bro. There is no elitism. I make real money so I work with all the frameworks and without any. Whatever is needed.
 
crl
nice, you could try doing a game of life
 
@crl game of life?
 
@Jhawins (y)
 
user1596138
@Luggage Was that for me?
 
6:33 PM
yup
 
user1596138
I have done both
 
user1596138
I do both today lol
 
I wonder how hard it would be to emulate a living cell. I could make the bacteria split in half
 
user1596138
@Luggage was it you looking for a job?
 
user1596138
Come work with us in Omaha
 
6:34 PM
@Jhawins If you've ever worked on any large scale project you'll know that everything is spaghetti code. There is no 'perfect' system, and keeping it to a language that everyone understands will in the end make a better project than one in Chinese because "it was cool today".
 
no
 
@Asperger That would be so cool :p
 
user1596138
@Polyducks The product I'm talking about right now is ~44million in renevue/year.
 
@Polyducks ya hehe
 
@Jhawins haha 'okay'
 
user1596138
6:36 PM
If we anonymize it Glassdoor style I make $80-90K/year here.
 
don't make me get my e-penis out and tell you about the system i worked on at xerox
2
 
user1596138
But don't listen to me. I wouldn't know anything
 
@Luggage +1
 
what's glassdoor?
 
user1596138
The salary/company reviews website
 
6:37 PM
@Jhawins all you've told me is how arrogant you are. Disregard any working technology because you're cool. Immediately jump to figures to 'prove' your case.
leaves, gnashing his teeth
 
Glassdoor is pretty awful :D
 
I hope I never have the misfortune to work for you
 
is facebook build with react?
 
Chill, yo, I'm out.
 
jhawins is alright, he's just in a mood today.
 
6:38 PM
@RishavKundu mostly - yes.
 
@RishavKundu parts of it are, at least
 
@Polyducks you showed him!
 
am i the only one who thinks Facebook looks ugly af?
 
Don't take no shit from anyone on the internet! Call them arrogant and storm out instead!
 
couldn't care less about facebook. react is beautiful.
 
6:40 PM
why?
 
user1596138
We have another very large scale product. another member in this room architected it from scratch. It is all in React. The codebase is gorgeous it is a dream to work on.
 
user1596138
Then on the other hand I work on this spaghetti code crap lol
 
user1596138
I am venting my opinion... Honestly I know what I'm saying now days.
 
a good dev could make well organized and logical php code.
 
It's fine, don't worry about that tude.
 
user1596138
6:41 PM
@Polyducks Well if you change your mind someday once you've learned some of the relevant tech (ES6, React/Angular 2.0 or something) we will probably be hiring ;)
 
@Luggage the php room is full of people who pwn us technologically. Like probably 90% of the PHP room is better coders than 95% of the JS room.
 
user1596138
@Luggage I didn't say they couldn't... Just... Honestly what are the odds that guys project isn't a bunch of <div class="<?= $divClassNamewithweirdnamingCOnvention?>">
 
That said - php is shit.
@Jhawins people get very offended when you tell them their profession doesn't count - or that they're inferior in some way. Especially if they don't know you and you don't know them.
You have people like @Zirak who write spaghetti in php all day and then you have people like Daniel from the php room who reimplemented node in php.
 
user1596138
Yep, I got offended when he started saying Html5/JS/CSS/PHP handcoded in the same file is way better than the new age tech. He is a "Stay in the past!" guy. I am a "This shit sucks so lets keep trying to get better" guy.
 
user1596138
Also I woke up on the wrong side of the bed. @Polyducks apologies if I am not realizing just how rude I have been or something. I didn't think I was. Don't leave over me, my voice is not the voice of the community.
 
6:45 PM
@BenjaminGruenbaum Zirak writes PHP? I thought that had been outlawed over there
 
@Jhawins naa, you're supposed to tell him you just told him that because you love him, then say you thought you were friends.
@SomeKittens yes, and jQuery, all day long.
 
he never said that. you did. he only mentioned php and a lack of desire to use 'frameworks'. you assuemd it was all in one file.
 
user1596138
@BenjaminGruenbaum if you saw the crap I have been wading through the last week.... You'd understand :/
 
no wonder he's lost his marbles (moreso)
 
and now you are attributing that statement to him
 
user1596138
6:46 PM
Oh cry me a river lol your mom's attributing to @KendallFrey's moms attributes or something
 
Wait what?
 
user1596138
!!afk Making people too mad and not trying to
 
making yourself mad
 
user1596138
Bruh I am happy in front of my fireplace.
 
user1596138
I basicaly just said I am being a dick and not meaning to, so I will take a walk/leave for a bit.
 
6:48 PM
@KendallFrey I don't, but so much for room meetings :D
@Jhawins I want a fireplace.
 
user1596138
I want one that burns wood not propane
 
can't wait to head back east for snow & fireplaces
 
user1596138
You moving back to NY?
 
@Jhawins nah, just Christmas vacation
I'll be out here for a few years yet
 
user1596138
Nice. I am going home the 21-29th this month. Pretty excited.
 
user1596138
@luggage lol if you must know the reason I called it all in one file was his use of "html5" haha
 
user1596138
Home in Indiana is a badass log cabin actually. In the middle of no where tho.
 
@SomeKittens that's nice. I'm going to the states in a few months. Meanwhile I'm going to Amsterdam in 2 weeks - meeting Petka there too.
 
user1596138
@BenjaminGruenbaum why are you coming to the states?
 
@BenjaminGruenbaum Say hi! Still loving Bluebird. Where in the states?
 
6:52 PM
@BenjaminGruenbaum come meet @SterlingArcher @Abhishrek and I
 
To visit, I like the US. It's a really beautiful country :)
@Luggage Abhishrek?
 
user1596138
That's all? Wish I could go to EU for the same
 
@SomeKittens Probably coast to coast, either a month or two months.
 
yes. he's coming to the DC area for a bit
 
@BenjaminGruenbaum fabulous. You're right - it's astoundingly beautiful. Will you be in/around bay area?
 
6:53 PM
Oh cool, I wonder who gave him a visa :D
 
user1596138
If you come through Nebraska (I'm sure you won't) say hi
 
@Jhawins well - the US is really big and there are lots of things to do. I travel Europe twice almost every year but the US is cheaper, everyone speaks English and it's a longer trip to take since it's farther.
@SomeKittens probably, I love San Francisco, I was supposed to be there twice already in the past two years but every time it fell through for different reasons and I didn't end up going.
 
The midwest has an abysmal compression ratio.
 
user1596138
You've probably been to more states in the US than I have
 
@BenjaminGruenbaum Couch offer is still open though we're in Fremont now, so a bit further away from all the action
 
user1596138
6:55 PM
@SomeKittens I would actually say the coasts have an abysmal compression ratio... Glad to have some space around me!
 
user1596138
:P
 
@SomeKittens :D
 
crl
@BenjaminGruenbaum are you familiar with html5 DnD? I've some fun react question?
 
@Jhawins about 10-12, so not much.
 
user1596138
@BenjaminGruenbaum Yep, more than me.
 
6:56 PM
@crl yes, but not too familiar. @Mosho is probably more familiar I haven't done actual real frontend in about 3 months.
 
probably more than your average american
 
crl
I'm trying to do my own DnD, comunication between components is tricky in react, I've done this hacky way jsbin.com/kuxafor/edit?html,js,output (hacky because as discussed with Madara, putting attributes in event isn't documented). There's another way, using onDragEnd jsbin.com/wigono/edit?html,js,output but drop is fired before onDragEnd, but rethinking it, this solution is not bad
here it is ^ (it works for me on Chrome, not sure about other browsers)
 
user1596138
I have Nebraska, NY, Kentucky, Tennessee, Indiana, Michigan, Illinois, Iowa, Ohio. And have driven through PA.
 
user1596138
So all midwest haha
 
You've never been to California or Massachusetts?
Or Florida :O lol
Or Texas, wow, I have been to more states than you :D
 
6:58 PM
no one goes to florida if they can avoid it
 
HI
 
% In Erlang, two functions with the same name and different arity (number of
% arguments) in the same module represent entirely different functions.
^_^
 
0
Q: Passport isn't keeping persistent login sessions

ManuI first looked at persistent sessions with passport, mongodb and express but it didn't help or make sense. I'm trying to get persistent logins with my website. My serializing process is not working. // Passport needs to be able to serialize and deserialize users to support persistent login sess...

 
user1596138
Florida is the white trash California
 
user1596138
You go there for vacation because you couldn't afford somewhere better and they have the ocean lol
 
user1596138
6:59 PM
Or that's the stereotype anyway! I wouldn't know.
 
@AwalGarg Elixir is awesome.
 
Dunno how much "Driven through" counts. If it does I've been to more states than I haven't.
 
@Jhawins but Disney!
 
crl
@BenjaminGruenbaum check it, maybe I'll formulate it in a SO question, because first way is much more practical (doing all things from on point)
 
user1596138
Never been to Disney
 
7:00 PM
@BenjaminGruenbaum And Kennedy Space Center!
 
user1596138
Ohh wait I went to Sea World in Florida when I was super super young
 
crl
@AwalGarg how is it different from Java?
 
@crl build it outside of react. Drag and Drop is conceptually taking something outside the DOM, it only makes sense it's hard for react's mental model.
It's "everything is a tree except this one thing for this tiny bit".
 
@SomeKittens some states are only for driving through
I'm looking at you, Kansas.
 
user1596138
We have a pretty cool looking space museum. Lots of rockets an shit outside. Haven't gone in yet. We supposedly have like the best zoo in the states but I hate zoos.
 
7:01 PM
@BenjaminGruenbaum Would it be ok to learn elixir before learning erlang? (also jesus christ is there any fucking language you don't know??)
 
@Luggage see earlier joke about compression ratios
 
crl
@BenjaminGruenbaum did it there jsbin.com/pujabew/edit?html,js,output (hope it works on your browser)
 
@AwalGarg I don't know Erlang very well. I know it at "I did several tutorials and a small project" level.
 
bacteria version 2
what do you say? convincing?
 
it's glowing. just like real bacteria
 
7:02 PM
@Jhawins Is there a Saturn 5? Seeing one in person was worth the trip to KSC by itself.
 
@Luggage hahaha
Hey stop being evil man!
 
user1596138
@SomeKittens If there was I would be able to see it from my house I bet lol.
 
@BenjaminGruenbaum does it ever happen that you mix 3 different languages when writing code? :D
 
unless it's on its side like the one at the Kerbal Space Center
 
@AwalGarg all the time :D
 
user1596138
7:03 PM
My little brother has gone to KSC 4 times now with Boy Scouts. I wanted to go along the last time but I moved the same week
 
ok bacterias dont glow haha but it looks better than without it xD
 
crl
@BenjaminGruenbaum also it's for a CMS, so I need to keep a state of my components (outside pure html)
 
imagine its an alien bacteria!
 
crl
@Asperger very nice
 
@crl ya I wonder how that affects performance though
 
7:04 PM
@AwalGarg Generators are not pointers. Generators are not pointers. Generators are not pointers.
 
any optimization tips?
 
^ keep having to remind myself
 
Is it just me or does a lot of these react-*-starter-kit repos around on github seem a bit... over-engineered?
I feel like I'm back to diving into spring xml config-files
 
Ok bacterias trying to join jsfiddle.net/bmzehbr6/10
 
@BenjaminGruenbaum well, I am learning erlang and elixir mostly because I have heard good things about the two, and copy said (ofcourse) erlang is great for concurrency. erlang looks super weird to me but also different so somehow I can make fun out of it :/
 
7:09 PM
@AwalGarg it is fun, I'll give it that :)
Reading LYSE?
 
yep
 
crl
^ I did in 2013, also LYSH
 
sup
 
crl
inf
 
Hey guys, it is possible to edit a css in an elements style tag without any frameworks?
 
crl
7:16 PM
element.style.display
 
hint: how do frameworks work?
 
magic
 
Java
 
document.body.style.backgroundColor = 'red';
 
There is a bright blue pillow on the other side of the wall and I constantly keep thinking it is a screen showing windows 8 installing or something. Worst kind of distraction ever.
 
7:18 PM
Basically i've got an iframe with a style tag which has display: none !important in there, basically think i may need to remove it
Is there any way to do that?
when i do iframe.display = ""
Doesn't do anything
 
iframe.style.display = 'initial';
 
Yeah tried that too :(
 
and?
 
DOnt worry
Turned out im an idiot
sorry!
 
forgiven
 
7:21 PM
:)
 
you keep saying 'style tag' which is <style></style>. I think you mean "style attribute" which is style="...", right?
 
Yeah I meant that, sorted now though :)
 
I think I'm ready to join the idiot club.. why doesn't this work?
fetch('https://​crossorigin.me/chat.stackoverflow.com').then(function (result) {
    return console.log(result.text());
});
I get Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined}
 
then(res => res.text).then(::console.log)
 
That's because result.text() returns a promise
 
crl
7:33 PM
.then(r=>r.text()).then(r=> ..)
 
aaah
 
You even observed that
 
I just assumed I hadn't understood the API
puts on pointy hat
 
crl
!!> [1,2].map(::console.log)
 
@crl "SyntaxError: expected expression, got ':'"
 
7:35 PM
proposed "sugar" for bind which is getting nowhere
 
crl
reminds me of Java8 one, they have something similar
 
@AwalGarg don't be too attached to ::console.log
 
@BenjaminGruenbaum ...
 
@BenjaminGruenbaum yeah, I don't think it is gonna make it into the standard any soon
 
!!s/any soon//
 
7:40 PM
@BenjaminGruenbaum @BenjaminGruenbaum yeah, I don't think it is gonna make it into the standard (source)
 
:P
 
why does ember have such a steep learning curve sigh
 
vOv
 
@Chris because they're "doing it right" and if you don't get it "you're simply not good enough". Ember mentality is terrible - it's a pretty ok framework though
 
crl
is ember closer to react or angular?
 
7:46 PM
@BenjaminGruenbaum am i that terrible :? to not qualify for a visa ?
 
@BenjaminGruenbaum ill agree with you, the learning material for ember is soso
 
@Abhishrek that was a joke.
 
@BenjaminGruenbaum oh okay -_-
 
@Chris it's the attitude that I have a problem with, it's better now than it was but it's still pretty bad.
 
anyways my visa is B2 at the moment, but most likely will update it to an educational visa (already told them)
 
7:48 PM
@BenjaminGruenbaum do you use ember?
 
@Chris Not anymore no, but it's a legitimate framework choice.
 
@BenjaminGruenbaum yeah
 
@Chris in my humble opinion, Ember is one of the worst frameworks in JS
 
Why sublime never collapses single line functions ?
 
7:49 PM
it basically dumps majority of logic in the routing
 
im still using it FWIW
gonna stick with it for the time being
could anyone shed some light on this answer for me, stackoverflow.com/questions/33579101/…
 
@Abhishrek have you tried Atom as your daily driver?
 
Nope
 
sup
 
try
 
7:51 PM
installing
 
i put my bubbles.js in the vendor folder, and i want to load that JS file within a component
 
84 megabytes !
 
crl
s/bytes/tons/
 
It will take 19 more minutes :-| crap can't use youtube
 
optic should be a human right
I probably will finish downloading 7gb of tv series, before you finish yours
 
7:57 PM
@SomeGuy Someone was all about conspiracies, so I thought about that time.
 
was the outer memberane thicker of a cell or the inner?
 
I can do just fine with 10 Mbps
 

« first day (1849 days earlier)      last day (3106 days later) »