« first day (2369 days earlier)      last day (2804 days later) » 

12:09
ok fine
So, is it browser issue?
It is an issue with one of the components beyond the server
Or your logs are faulty or the transmitted payload is corrupt
urgh, I'm gonna get started with angular soon. Which version should I learn?
ugh
> so when you download slack you're actually downloading a complete copy of Google Chrome. Chrome, at the time of writing is 15 million non-comment lines. When you download slack, 99% of the code is 'below the water'.
til libchromium is 'complete copy of Google Chrome'
is there any script like webRTC which allows to capture video and stream it to multiple viewers?
@PandhiBhaumik Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
12:19
eh slack ... i use the browser version ebcause the app version doesn't behave well
@PandhiBhaumik RTMP
@towc The version that you will be using when you get started
because webRTC not working on iPhone native browser.
@rlemon Yeah, that got me too
@KarelG he's using slack as an example of why Electron is a bad thing
12:20
Also the spotify client isn't electron based
but his article sounds very much like he isn't experienced with Electron, or writing large apps
And he uses react native as an alternative lol
@rlemon Why?
I find the example to be just fine
@BenFortune, I want to do same application like this one, chat room where anyone can join and there video being captured and streamed to other users.

https://chatapp-demo.herokuapp.com/demos/Video-Conferencing.html?roomid=abcd
12:22
@PandhiBhaumik Then use webrtc
@OliverSalzburg his claims on what Electron is, and what is under the hood are wrong. He's spouting some edge cases about an electron app that has a potential memory leak, not Electron itself. and He's not taking into consideration why large companies choose to use Electron to make cross-platform apps with rapid updates.
@BenFortune but its not working on iPhone.
@PandhiBhaumik It won't
@BenFortune, then there is no other solution?
@rlemon I don't think he has to take that into consideration to make his point. It's a tool to allow people to roll out more software in shorter time with less effort at the cost of the user. Point made, case closed :P
12:26
No where does he make any sort of evidence electron is to blame. He just assumes "forcing them to install another chrome" is bad.. but that's not even true.
Slack is slow, therefore electron is bad.
@rlemon Okay, yeah, true
I agree with the point I think he's trying to make. We get lazy and write bad code at the cost of the user.. I just think the article is so stupid it's hard to see that point.
took a while to realize that standpoint either
I call the new generation developers mostly " "google" developers"
their code is a mixed soup of code obtained from the internet. They c/p it, runs it, and if running good then "ok, next task". They don't attempt to comprehend that
back in the old days they had to trace someones punch card to copy their code
keh. or floppies
just encountered this question where op asks for "how to..." his code is also c/p stuff : stackoverflow.com/questions/43340416/…
:P
12:40
@KendallFrey @BenFortune sudomod.com/mintypi-2-0
> Looks so much better with the 3D printing. Before it looked like a bomb. I’d be afraid to carry it on a plane. Especially United.
top kek
I've also been enjoying the United PR nightmare :D
Reddit is going nuts over something again, always fun
@rlemon Everyone are equating it to the Pepsi PR nightmare
What was that all about? I missed that one
a very very tacky ill timed commercial
12:46
@rlemon I already showed you that :D
@MadaraUchiha there was a doctor who hopped on a plane, united airlines took him out by force because they wanted his seat for an employee
@BenFortune this is the 2.0!
@FlorianMargaine Ah, no I saw that one
I mean the pepsi one
12:47
@MadaraUchiha not really, The pepsi ad caused a PR disaster only in USA. The one with United Airlines is going international.
@rlemon Holy shit!
@rlemon marketing companies have to learn, that "social justice" does not sell
A 2:40 advertisement? I'd be outraged as well
lol, it's just so cringy the entire thing.
it actually might be an interesting time to work in advertising
12:51
@MadaraUchiha what is making it enjoyable (if you like reading about corporate drama) is that everyone is pulling out all of the shit United has pulled in the past like 15 years and rehashing it again. United is gonna lose so much money
... "interesting" as in that chinese curse
"big corporations don't actually give too many shits about individuals"
I'm not really surprised by that though
the pepsi ad is just absolutely cringy
@OliverSalzburg Thanks you. Issue has been fixed now It's occurring due to CURL request taking much time and because of it it showing -1001 error
1 hour ago, by rlemon
sounds like it's timing out on something
@GopalJoshi Pro tip: If the error messages says "timeout", check if the request timed out
12:56
:P
Looks like my question is going to get closed soon. If anyone is interested, here is the link
-1
Q: How to to create Subject when properties in the object literal is unknown

Flying GambitIn my case, enableLinks will be populated by backend (as of now code for that is pending), so the properties of the enableLinks is unknown to me. I am not able to make enableLinks a Subject of type any or object? import { Injectable } from '@angular/core'; import { Subject } from 'rxjs/Subject'...

@FlyingGambit Sure, I'll help closing it
@rlemon Yes that's right thanks
@OliverSalzburg :)
I'm playing with my gnome theme, and I keep reading "Tweak Tool" as "Twerk Tool" in the top bar and then chuckling to myself.
13:01
can someone give me a TL;DR version of what's wrong in that pepsi ad ? Aint no watching 2.5 mins
@KarelG kendall jenner is doing some photo shoot, a 'peace march' (for?) is going past. she rips off her wig and wipes off her lipstick and magically changes into street clothes. everyone is obviously super attractive and doing very hipsterish things around her. all of a sudden there is a police barricade (ofc the cops are also super attractive) - she hands a cop a pepsi, he drinks sit, everyone cheers for some reason
#diversity #yolo #politicsInPepsi
@KarelG best I can find: i.imgur.com/WmDpbEl.gifv
it just makes no sense whatsoever
they're trying to cash in on all of the protesting going on in the past few years.
that alone is like, wtf pepsi
thanks
hi
Has someone an idea what could be the big issue with this? I try to run NPM Install... but I retrive an error on my source-maps. I already googled, github'ed... saw replies, but I coudn't find a solution yet. kopy.io/35uTn The thing is it worked a few days ago... So think someone has been changing dependencies?
Node: 7.8 || NPM 4.2
13:16
@BenFortune I realized the mistake I made, my question needs to be nuked
Can't believe I spent 4 hours on it, I guess I need to sleep for more than 2 hours XD
@FlyingGambit Just self-answer it.
@BenFortune Deleted it though, as I thought it would not help anyone else
@rlemon I don't know that guy. But that was exactly what I was thinking.
@Duikboot he's frustrated because it got reported like 20 times.
13:19
if you don't like bug reports, write better code
Yeah I understand but... c'mon.. now we are stuck :P
Or at least #mapToTheID with the duplicate with the right solution.
the solution is upgrade yo shit?
Which shit? npm & node? I did that :)
check your registry
hmm
Im not using a different registry then all the default stuff imo.
Im just using it to compile simple GulpJS tasks.
13:26
well look harder into the issues. there is a workaround listed and the reason why it's happening
albeit the contributor dude is a dick, he does answer those.
@rlemon I think that happens when you maintain that much shit
13:39
I figured it out.
It was my npm registry url that was set wrong.
13:52
biked into work today and realized my city is not bike friendly
just forgot to breath, almost blacked out.
not fun
Ha I also start biking this month
what? drop @ndugger's mixtape ?
14:08
HAHAHA
14:20
:sigh:, I'm trying to connect to a db with two different apps, they both have identical configs setting the connection string for postgres. first one connects fine, second one errors error: password authentication failed for user
😬
sounds impossible
are they both specifying the user in the connection string? are they running under then same system user or different ones?
user2620028
inb4 lemon copy and pasted the password incorrectly
@rlemon pgpass.conf?
@Luggage same.
you might have some weird restrictions in your pg_hba.conf that are allowing one and not the other
14:23
@HatterisMad I cp'd the config file.
if one is using 127.0.0.1 and the other is looping back over IPv6, maybe
@rlemon Same server?
@BenFortune yup
user2620028
inb4 lemon cp'd the wrong config file
I'm being lazy and don't want dummy data so I'm point a preview at a prod DB (I know I know) so I copied it's config.
It should work. I don't get it
14:25
So, no pgpass.conf is in play here?
Dunno what that means, but I'll assume nope?
@rlemon It's a file with credentials you put somewhere to pass by password prompts
Something you set up once, then forget about and run into the error you're seeing :P
I haven't touched or created one myself.
I pass the username and password in the connection string
o/ Just going to sit here and watch other people have problems until I stop feeling like I want to continually bang my head against a wall :-)
user2620028
@Mourdos same :(
14:27
@rlemon are the apps on different boxes?
can you use psql to connect?
yes
I already tried to alter the role and update the password to the one in the config
still works on app A, app B still fails.
I app B coming from another IP?
14:31
@HatterisMad In the spirit of schadenfreude then. We brought on a new developer in December, and gave him a new fresh smartphone project to work on using cordova and ionic. He spent a few months learning angular2 and working on this project. In march, 2 weeks before supposed deadline he resigns (family reasons). Deadline has been delayed, but now I have to learn Angular2, and my javascript is at best beginner. Now I spend my days trying to fix his bugs.
user2620028
@Mourdos ahh my condolences
user2620028
i haven't tried angular2, but i hated angular with a passion whenever i tried it.
user2620028
please don't take that as a representation of JS as a whole language.
what the hell happened with angular anyways?
I'm dealing with an error that seems based on the line number of the file, rather than the content of it. I'm pretty sure I'm now going mad.
user2620028
14:33
@GNi33 react and others stole its thunder i think
( it is not based on the line number, it just seems to not care )
I just got an email talking about angular 4. Didn't 2 come out fairly recently?
@GNi33 yep, they're just thrashing version numbers to look cool, at this point
@GNi33 Yes. 3 was skipped
like firefox's death throes
14:33
Pulling a chrome then? Massive version number hike
@Luggage nope. literally the same app, one has some changes, I want to preview it with live data. so I plopped it on the server and am running it on another port. I could just dump the db to my machine and run it locally.. which I will likely end up doing now. but the error still bothers me
user2620028
@Mourdos are you familiar with creating a minimal example showing the error in a jsfiddle or something of the likes?
Not with jsfiddle. Though my problem in this case I have no idea what the actual problem is, the class itself is only 50 lines long.
user2620028
@rlemon is the firewall on prod configured to accept incoming on that port?
yes
14:35
@rlemon out of curiosity, to see if there's anything weird, can you pull the last few lines of your pg_hba file?
the http port doesn't block
the postgres connection fails inside of node
user2620028
@Mourdos yeah, i am saying that someone might be inclined to help you if you can demonstrate the error in a way that makes it easy for us to help you
user2620028
for polite people we commonly try to help and educate
9.1?
14:36
@HatterisMad give me a moment, I'll get a pastebin of it. Should be able to cut it down to about 7 or so lines. Its a controller class
maybe the access is being granted in a very specific way
user2620028
@Mourdos cool
@Luggage I don't think it's changed much in the last few versions
same machine, same connection string, so nothing in pg_hba.conf should matter, i think.
but listen to ssube anyway.
I'm feeling especially depressed today. Someone kill me.
14:38
it's probably the default HBA, too, so it really shouldn't be the problem
but 99% of my postgres connection issues have been in that file
@Luggage which coincidentally is the latest version I have on this server.
user2620028
its not .conf.txt is it lemon? lol
@ndugger Let me tell your the story of Michael, the loneliest boy in town.
3
A: Password authentication failure in PostgreSQL 9.1 from remote client

Daniel VéritéSince you mention pgAdmin, if you used it to modify the postgres account, you may suffer from its password expiration's date bug mentioned on dba.se in: PostgreSQL user can not connect to server after changing password Basically the workaround is: ALTER USER postgres VALID UNTIL 'infinity';

@HatterisMad imagine this scenario. I've uploaded the same project to the server twice. one connects, the other doesn't.
it's not a typo
user2620028
14:39
@rlemon im just playing with you
@OliverSalzburg my validuntil is blank in the table
user2620028
also we know the credentials work
user2620028
since it works for his other app
who own sudo?
14:41
noone
I decided it was too much risk so removed sudo
Couldn't get it down as small as I wanted to, removed what was completely irrelevant. https://pastebin.com/HSs60i3t
I think the error is that I have a promise inside a promise.
@Luggage I wish I was Michael
make sure you uninstall su and disable the root user too
Confirmation! I have my interview tomorrow at noon :O
Congratulations!
14:42
@SterlingArcher what interview? aws?
lol no, AWS is way more corporate than I'd like to go into
ah, I thought you applied
AWS also treats their people like shit
^
My brother worked for AWS. He liked it, but theres so much crap there
fix that slider on the website while you're there for the interview
14:44
lmao
@SterlingArcher the site you've shared is ... not working correctly
eww wordpress
hah
@KarelG yea! I'm trying to fucking fix it!
;)
@GNi33 That slider is a 15mb video LOL
14:45
but the product sounds pretty cool. Best of luck, man!
@BenFortune really? haha, I didn't even check
I love websites that can still make chrome lag
user2620028
@Mourdos the error message you are getting is referring to you calling a method but not passing all of the required parameters of the method, im guessing you are likely interpreting the line number incorrectly. I would take a deep look at the methods you are calling here and their desired parameters if i were you
good god
lol that footer too
14:46
it's a .mov as well, what the fuck
@GNi33 thanks!
I'm very excited, but I think I'm out of my depth.
@BenFortune huh ? these are all images at me ? only some jquery dirty voodoo is applied on that
The last guy they hired did the mapping for GTA5
@SterlingArcher best way to learn
@HatterisMad That makes sense. If the line number is off then that would help. restore my sanity.
14:47
I love tax forms. So pretty.
I payed my taxes like two weeks ago :(
it sucked.
I took a decent hit.
fuck me, I still need to apply for college
@SterlingArcher May I have a doubt on that ?
Ohh, i hate the paying part, but the forms are breathtaking.
user2620028
@Mourdos are you familiar with source maps?
14:47
I got money back this year for the first time in ever
@HatterisMad Cheers. Found the issue. I changed MapModel to take more parameters and the first call in the code isn't being passed the extra ones.
Oh rlemon, my tax stuff is in june, but there are ~880 tax codes to fill in.
just removed that line and it compiled.
user2620028
@Mourdos :)
that's what you get if you're in a country with 6 governments ...
14:48
my taxes are pretty simple. takes like an hour to do them in full. just outlines how much money I don't get to see... and then they want more :(
6 governments?
My parents do my taxes
yeah, my country has 6 governments
user2620028
i used creditkarma for my taxes this year and i got a huge refund that i never would have expected
and thus 6 parliaments too
14:49
@HatterisMad Why in anyones name it decded to move the error reference line down to the place where I was calling the constructor for a second time I will never know.
user2620028
im not entirely sure that they did my taxes right but it cleared to the bank..... so hurray
#TaxesAreTheft!!111oneeleven
@KarelG huh?
what he's really saying is that the government can fuck them 6 different ways
I'm not claiming anything crazy, so I'm basically copying numbers from the forms they send me into the forms they want back then doing the math as instructed.
14:50
the mapping in gta V is done more correctly than what he did on that website
user2620028
@Mourdos you gave it 4 params the first time and 3 the second time
I had a big refund this year, but it was turned into a mediocre refund because the healthcare tax penalty
@KarelG I mean, different apps, different languages, different APIs
sucked
It was a measure of "the guy helped built GTA5, he's probably really good"
@rlemon jesus dude
@HatterisMad second time actually has 7 params, I just removed most of them since they were clunky and I'd checked them several times.
user2620028
14:51
i didn't even have to prove i had healthcare the whole year, when i went through the automated questionnaire it asked "were you insured for the whole year?" i clicked yes and it never asked me again
user2620028
@Mourdos well good luck man, have fun with angular
@SterlingArcher I made some extra income and didn't have room on my rsp's to offload it.
so bit me in the ass in the end.
Thanks for the help, really appreciated.
Yeah a little known hack is that you can lie on your tax forms
They won't notice
until you're audited
14:52
they don't notice here :P
until you're what?
lol
user2620028
until you get an audi
somebody's in for a fun time
doesn't the IRS do a certain # of random audits a year as well?
I don't think you need to be red flagged or w/e
just unlucky
14:53
Yeah but divide that number by like 300m
@HatterisMad yeah, don't get those. Get a BMW instead
Low probability
it's too complex that even tax checkers have problems to do their checks completely
really google?
user2620028
14:53
sounds like something wasteful our government would do
How bad is an audit if you have nothing to hide?
not too bad
time consuming is what I hear
Just a hassle?
14:53
sounds like it
if you have your paperwork in order, it's pretty easy
I'm not fucking around with taxes any more. I didn't pay for like a decade because of a oversight when I was like 17
I know I got crazy tax credits this year for job-related relocation expenses, but I couldn't be bothered to dig up the receipts.
user2620028
@rlemon wait.... what
finally got the courage to contact canada revenue to say, "look, I fucked up, but can I have all of my tax records so I can finally pay them" -- they didn't even bat an eye, just sent them too me. I payed penalties and interest, but no jail time (which is what I honestly thought I'd be getting once I brought it to their attention)
14:55
I fucked up my tax filing super hard last year and got a decent refund back. Nobody will ever know, except for anyone who visits SO chat
that seems like a situation where they'd rather have the money, the jail time is just for asshats who try to avoid it
do i get free money if i report you
This is all a little alien to me. I don't do anything with my taxes.
@ssube it took like 10 hours + to fill out all of those forms.
I ended up paying like a grand in the end.
that's really not that bad, all things considered
14:57
(some years, I got a return, but they didn't send it ofc because of owing)
that's not bad
so basically +- form all the years nulled out and I just payed the penalties and interests on them
the year I was a contractor, I didn't pay quarterly taxes and had to make up for it at the end of the year
yea the outcome was good, at least I thought so. however, those ten years of avoiding the tax man were stressful as fuck.
every april I basically got depressed for a few weeks while I tried not to think of my impending doom
10/10 - would recommend just doing your taxes on time, to the letter. it isn't worth the stress
me during finals

« first day (2369 days earlier)      last day (2804 days later) »