« first day (1686 days earlier)      last day (3266 days later) » 

2:00 PM
\o/ woo hoo
boss is on vacation, currently driving a cross canada (5 days ontario->BC)
called in to say we can leave at noon
Yissssssss
 
does anyone know if AJAX pop up logins can be secure?
 
it's a crap?
@cleong sure
 
define "AJAX pop up logins"
 
2:02 PM
@RoelvanUden dev edition looks a bit better (yeah I know subjective but dark theme and all...)
 
logins in a lightbox, that send the infomation through AJAX
to the server
i'm seeing that it may be unsecure, because user's info can be redirected to a malicious url
 
I think the theme can be applied to the normal version as well..
 
@cleong That's no different than sending a form.
 
@cleong is it over SSL?
 
@Zirak ftr, I managed to copy the debugger XUL which uses the newer split widget and it worked.
 
2:03 PM
They're both just http requests. If you want to be (pretty) sure nothing has been tampered with over the wire, use SSL as ssube hints.
 
user4861400
hey how to upload pics here
 
@AwalGarg Congrats
 
@Zirak but when sending it in the form the new script kiddies don't know how to 'hack' such archaic technologies
 
user4861400
i dont get any option
 
@AhmadTaha upload button or just paste the link
 
2:04 PM
 
@Zirak thanks, i guess the fact its being done using AJAX doesn't make it unsecure
 
user4861400
NO upload button :(
 
look next to the send button
it's hidden I know
 
@ssube it'll be under https if that means anything
 
@rlemon security through obscurity could make PHP the safest stack
 
2:05 PM
Hi Friends, My application is not loading in IE9, I seen error message in the console as "Failed to instantiate module ngMessages" please let me know how to resolve the issue
 
@Zirak THERE IS NO MAGIC LIKE YOU SAID IT IS BETTER THAN STUPID HTML AND HAS COMPONENTS Y U TROLLIN ME?
 
@cleong anything you send to an HTTPS URL should be secure, provided you can trust the server.
 
@karthikpamidimarri 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.
 
@ssube good to know
thanks guys
 
@AwalGarg I honestly don't care about FFs appearance. It works. That's enough.
 
2:06 PM
I have a pure white complete skin on my ff
Looks nice
 
^ tis da best approach (what roel said)
 
ew
light themes are the worst
 
That's racist
 
That's homophobic
 
2:07 PM
That's black
 
@Kar
 
I want a million dollars... — ElGavilan 8 secs ago
 
that's racist.
 
Damn...
 
it's okay B-Dog
 
user2620028
2:09 PM
@rlemon i would prefer a dark theme but i haven't found a dark theme that is incredibly readable by my eyes so i am stuck with light theme.
 
I use a mainly white environment. I don't like the 100% black themes.
^ Now that sounds racist.
 
I use dark themes in editors
 
@karthikpamidimarri did you include angular-messages.js in the HTML source?
 
anyone that uses light themes isn't a real developer
 
dark theme in editor, white theme in the rest
 
2:09 PM
because I bet you didn't
 
source: trust me
 
@NickDugger So I'm not a real developer? :P
 
light themes give me migraines
 
yes
 
my eyes are broken.
 
2:10 PM
that's the way I rule
 
@HatterisMad seen mine?
isn't perfect, but works
 
hello everybady
 
@rlemon any screen gives me migraines. It's great. If I look at a screen for too long, dark or light, I get a migraine that lasts for ~72 hours
Without fail
 
user2620028
@rlemon yeah light theme hurts head and dark theme takes a year to discern the right information or is completely unreadable.
 
@rlemon the problem in the browser is that if I open a white theme window when I have black theme otherwise, my eyes start bleeding
 
user2620028
2:10 PM
I have but i wouldn't mind taking a second peek at it
 
Made the mistake of playing ffxiv all day once. Had a headache for a week
 
are others having tons of issues with firebug recently?
 
@FlorianMargaine yes, that hurts.
 
If I have a function such that myFunc(document, string, object) and myFunc(document, object) work the same, should I just do type checking of the arguments?
 
2:11 PM
9/10 sites I frequent I have been able to find or make a dark theme for
 
@rlemon yes i included angular-messages.js, other browsers it's working fine i am getting this issue only in IE9
 
so It isn't so bad now
 
@rlemon you never google anything? :P
 
user4861400
Did the stack overflow allows you to chat it like this
 
user2620028
Yeah i just installed your add on lemon and my eyes can't track what i am supposed to be reading.
 
user4861400
2:13 PM
if any stack overflow developer sees this then what will he do
 
He will sue @rlemon
 
When failing a promise with a specific reason, is it better to throw the error or call the reject handler with the error? (this is a real class extending error)
 
rlemon will then lose all his money, force to leave his house, live on the streets and slowly fall into alcoholism and drug abuse, finally ending his life with a straw.
 
@FlorianMargaine yea google aside, there is dark themes there
just all suck.
@AhmadTaha nothing
because I'm editing my local version of the page
 
shut up h4x
 
2:15 PM
h4xorz b&
My dad works for so, he'll ban you
 
@rlemon have you tried "hacker vision"?
 
it fucks with all of my other pages as well :/
so I disabled it
didn't look for a config.
 
@FlorianMargaine that just turns everything into blond, brunette, redhead...
 
user2620028
@rlemon technically you are not even editing your page right? Just browser display settings for this specific page.
 
@HatterisMad injecting a style sheet and augmenting with js
 
user2620028
2:17 PM
@rlemon ok nevermind then haha.
 
dark theme for github,youtube,chats,jsfiddle,gmail,gmusic,reddit
google is still light.
all other sites I don't visit enough to care
ohh and not twitter, but twitter doesn't seem to bother me as much
 
fuck it
 
Try to use firebug of FF @NickDugger
 
Firefox is dumb
 
2:22 PM
@NickDugger put the function before the call
(maybe it's not added on the object at this point)
 
@FlorianMargaine It should already be added
this.homepage() works just fine
on the homepage
so I have no clue
 
duh
wait
you're not adding on prototype, it seems...
 
It's a static method on my TGS class
 
var foo = {
  bar: function() { console.log(1) },
  nick: function() { this.bar() }
}
foo.nick(); // VM1772:3 1
static works
depends on how it is constructed
 
0
Q: Prefer throw or reject when failing promise

ssubeI have a Bluebird promise that wraps an AJAX request and need to reject the promise when the request fails. I would like to provide the reason why the request failed, largely drawn from the status code, to any catch blocks that may be attached. To achieve that, I have UnauthorizedError and NotFou...

 
2:24 PM
@NickDugger Check your this
 
sunuva... that's probably it
 
user1596138
I ended up mudding with local hooligans last night. I'm such a high class developer
 
@ssube cc @BenjaminGruenbaum
 
it's always this
 
@Jhawins s/high/hick/
 
user1596138
2:25 PM
@rlemon Clever!
 
probably was a blast tho
 
why the fuck is this the document on that page... kill me
 
because unicorns.
 
Callback from addEventListener
 
nope, it is on every page, it was just being cached to an old value
stupid cache being a dick
 
2:26 PM
chrome shouldn't cache if you refresh with the inspector open
 
fixed with a lambda
 
@BenjaminGruenbaum thanks. Although the answer is somehow... disappointing
 
it might have been my build process. I find that if you combine gulp+babel+browserify, it can be unreliable
 
@FlorianMargaine it is. I figured there would be some difference.
 
@FlorianMargaine I'm editing
 
user1596138
2:28 PM
@Cereal It does unless you enable that option...
 
user1596138
@NickDugger That statement is... Bogus.
 
@Jhawins It's jsut my experience
 
user1596138
You doin it wrong :P
 
@ssube Your question is well written but... you didn't search before asking, right ?
 
@Jhawins No
 
2:28 PM
I think I'm about to get fired.
How do you know when you're going to get fired?
 
user1596138
@Mr_Spock Nobody wants to fire a naked guy. Just sayin
 
Is that a JavaScript question? lol
@Jhawins
 
@DenysSéguret Oh, I had, but apparently with too many keywords.
 
You're right.
 
@BenjaminGruenbaum so he should reject there? (he's not in a then)
 
2:29 PM
@FlorianMargaine Yes, I'm editing this in
 
@Mr_Spock when you miss every deadline for 6 mo and the boss calls you into his office.
 
pop pop
 
POP POP!
 
all hail @OctavianDamiean
@GNi33 your wife is back
 
waddap yo
 
how are you doing @OctavianDamiean?
 
I'm good
doing things
 
space things?
 
that too
how're y'all
 
2:32 PM
what kinda thing
 
y u no come check in on the lemon or the zirak?
 
still android?
 
@rlemon I just did!
 
huhu, @DenysSéguret applied his hammer
 
Annotated your code @ssube
 
2:32 PM
In fact I saw some GitHub activity from Zirak and remember to join the chat room
 
Oh hi @OctavianDamiean how've you been? What are you working on?
 
@FlorianMargaine yea and other things too
 
For all game&algo lovers here, There's now an Elo based ladder for Tribo in Miaou. This was fun to code
 
@MeMyself what is English version??
lol
 
@BenjaminGruenbaum heya man, I'm doing fine. I'm working with CouchDB/PouchDB Android and a bunch of other stuff
 
2:33 PM
@DenysSéguret his question is bluebird specific, that other one is ES6 promises specific - some promise implementations do make a distinction
 
@BenjaminGruenbaum Those are a few interesting details. Thanks.
 
@OctavianDamiean oh cool, talked to PouchDB's author a few days ago he's a nice guy.
 
@BenjaminGruenbaum If you feel the distinction is worth the reopening, do it. In any case I can't (and I closed before your answer)
 
@BenjaminGruenbaum @DenysSéguret I'm gonna edit the question to be more specific to both async and bluebird's catch, then might try to get it un-duped.
 
yea, they're a bunch of cool guys working on that project
 
2:34 PM
gimme a minute to edit it
 
so, what have you guys been up to?
 
@DenysSéguret well, Angular's promises for example do it differently (treating throw differently from rejecting0.
 
anything cool/interesting I should know?
 
@OctavianDamiean I'm speaking in a conference in a few weeks, Bluebird 3.0 is coming out soon, doing "interesting" research and going to work full time starting on August.
You?
 
oh nice
 
2:36 PM
I went grocery shopping yesterday
 
@BenjaminGruenbaum on tipranks?
 
@NickDugger whoa, now you'll tell me you pooped yesterday
 
I did, actually
 
Mind blown
 
@FlorianMargaine yeah
 
2:37 PM
@OctavianDamiean some of us are pooping right now..
 
we have the technology, don't we?
 
@rlemon how does that feel?
 
user1596138
@NickDugger .....hoisting....
 
depends on if you recently ate nuts of spicy foods
 
@Jhawins nah, it was a combination of passing the main method into an event listener, and chrome caching the shit out of it, so I couldn't see that it was happening on the homepage
 
user1596138
2:39 PM
Eh, can't see the structure of the code so
 
user1596138
Who knows what that shit is
 
> here is a picture of my fridge. why doesn't my car go into reverse?
 
@BenjaminGruenbaum What's new in Bluebird 3 ?
 
pretty much
 
user1596138
> here is a picture of my car, why doesn't my fridge have food in it
 
2:40 PM
@rlemon Sounds like my physics class
 
@rlemon the answer to that is obviously yes
 
@Jhawins THAT one I can actually have a reasonable answer too
 
here is a picture of the moon, why am I fat?
 
> you spent all of your money on ricing out your car
 
!!why am I fat?
 
2:41 PM
@DenysSéguret promises are lighter, cancellation is overhaulted, everything is faster and the library has warnings against anti - patterns.
 
@NickDugger because you touch yourself at night
 
The warnings are the biggest improvement imo
 
user1596138
@rlemon :( You're supposed to sugar coat it
 
@BenjaminGruenbaum I hope they're not style warnings as in jshint...
Any doc on that online ?
 
2:43 PM
@Jhawins if you spend more on mud flaps than you do on your monthly food budget.. we might have to talk.
 
user1596138
@rlemon ...hmm
 
.. damn mud flaps can be freaking expensive. (just googled)
 
!!google mud flap
 
@DenysSéguret let me find it
 
2:44 PM
(seriously, no command autocompletion is super painful)
@CapricaSix they're expensive ?
 
saw some priced at like $150
 
@rlemon only for silly cars
 
single guy living alone can reasonably live on $150 food for a month
 
user1596138
It's like $320 for the new ones I want
 
2:45 PM
I used to have these ones which are pretty cheap
 
user1596138
With bushwacker flairs..
 
@BenjaminGruenbaum I think I've already had the first one
 
These are pretty common errors.
 
@DenysSéguret I can solve command completion.. but not for user taught commands.
well maybe
but i'd have to edit the bot to report them to a service
 
@BenjaminGruenbaum Why is rejecting a promise with a non-error an anti-pattern?
 
2:46 PM
@ssube for the same reason throwing a non-error is. No stack trace
 
$150 for a month of food? Eh, I'd push it more to $200
 
user1596138
I probably spend more than 200/month on food.
 
Now that I'm actually grocery shopping and not eating out, I spend ~200
 
Same
 
2:47 PM
I COULD spend 150 a month on food, but like it's easier to buy banana bread from the corner store than make myself sustainable food
 
^
 
This is SomeKittens :D
 
because we don't like angular; schmurrr, booo, meh
 
could vs do
no one wants to live on KD and hot dogs
 
@rlemon That makes sense. I'm 3 months in. My boss doesn't set deadlines. He just asks "What's the status?" And then he'll tell me to do something unnecessary and get really frustrated when it doesn't work. lol
 
2:48 PM
Hey look, it's Macaulay Culkin talking about javascript
 
"What's the status?"
"Going well."
"Implement a feature that goes back in time"
"I... what"
 
@Cereal EXactly.
 
I suggest stop saying it's going well
 
I don't.
But you got the gist of it.
I tell him it's not working out so much that I'm anxious.
He had me manually construct over 100 xpaths.
In order to parse an federal document.
 
What does that entail exactly
 
2:51 PM
Writing XPath is not unreasonable.
 
Parsing?
Writing an xpath isn't unreasonable.
 
It's a thankless job, but somebody has to do it.
 
Woohoo I'm credited :D
 
Writing 20 is cool.
 
@BenjaminGruenbaum for?
 
2:52 PM
100 is pretty ridiculous.
 
We have a program here for creating XSL documents for XML docs. It has a MASSIVE memory leak that will cripple the highest end computers. I asked support about it, and in a week the company had closed up shop and stop responding. It was incredible.
 
@rlemon look at the talk by SomeKittens I pinned
 
@Mr_Spock But 100 is like, 5 cools
 
yea already watched it
must have missed the credits
 
@BenFortune What do you mean?
 
2:52 PM
in other news, My life insurance policy was approved. I'm worth big bucks if someone offs me
 
@rlemon where do you live?
 
@Cereal You can't automate creating XSL.
 
@rlemon interesting :D
 
@BenFortune We're using Python and lxml.
 
That's like not a real thing.
 
2:53 PM
@Cereal Canada, we actually have the exact address, needed it for:
 
@ssube I'm 90% sure that's what I'm doing
Lemme open it and check
 
bro's, I lift. come at me :D
 
XSL is the schema language, so unless you have documents with every possible variation, you can't accurately generate a schema.
@rlemon you lift, but do your brake lines? -.o
 
@rlemon But your wrist is fucked
 
2:54 PM
rlemon: Kick Puncher
 
We feed it an xml file of the format we'll be using, and then create reports in the program, which outputs an xsl file
 
hi folks
 
only need one arm and one leg.
 
Then we apply the xsl to the xml with something else later on
It's for printable reports for labs
 
I may be confusing XSL and XSD, actually. Potentially nevermind.
 
2:55 PM
@BenjaminGruenbaum in 3 weeks you'll need the new address
Zirak knows it already iirc
 
@ssube I'm still trying to figure out how/why writing this many xpaths is reasonable. lol
 
@Harish go to the C# room
 
@Cereal
ok
 
@rlemon not posting it would have probably helped :P That said, I think I posted my address once or twice here. Not keeping it a secret it's Googleable
 
1 message moved to Lounge<C++>
AHH
 
2:55 PM
Lol, you just started a war bro
Also, that was C# and not C++ lol :D
 
yea touch pad and search lag
hit the wrong room
 
I am having food that I made myself and I don't like it at all..
 
lol, quick apology, smooth
@AwalGarg what did you make?
 
@BenjaminGruenbaum noodles
 
@AwalGarg If you didn't cover them in flavored salt, that would be why they aren't good
 
2:57 PM
Hmm, I was expecting a more exciting answer.
 
I never liked c++
 
@Cereal I didn't :(
 
I've run into problems in higher level languages where I've wished I was using c++
but I still don't really like it
@AwalGarg :( Amateur mistake
Speaking of noodles. I have a 150 packs of instant noodles in my apartment. I've had them for 3 years, and I have no idea if they expire. I got them for like 10 bucks when I went ot uni
 
user1596138
I know where @rlemon lives! We can collect on his insurance
 
but you are not in my will
:D
 
2:59 PM
Why is it whenever I see bartek on so chat, he's always arguing with someone
 

« first day (1686 days earlier)      last day (3266 days later) »