« first day (1306 days earlier)      last day (3659 days later) » 

7:00 PM
nono
I'm running with wood after I disgrace the slide.
 
Did you disgrace the slide with wood ?
 
oh no :D
 
@norabora 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.
 
@adeneo no, poop.
 
@rlemon Thanks anyway
 
7:01 PM
@adeneo no no, he only got the wood after he disgraced the slide, possibly from the act itself (</attempt-to-explain-joke>)
 
so you pooped with wood
 
@CS_STEM really. you have your answer. if you want to know how to re-factor your code to work I need to see your code.
otherwise, good luck, have fun. clearInterval is the answer :P
 
@rlemon always so nice and wishing people more fun
 
@BenjaminGruenbaum - Oh, I see !
 
@BenjaminGruenbaum it is the Canadian in me
Benji I'm glad it wasn't lost
 
7:02 PM
@rlemon I will set up a JSFiddle.
 
Guys my app won't load on android phones maurofranco.com/apps/tinysurvivors/dist
Any ideas?
 
I put too much effort into avoiding double pings.
 
@rlemon it will live on forever.
 
@Carnal You're lucky - jsfiddle.net/Vk8Yq
 
@Martin step 1) isolate the problem. step 2) don't make me look at your minified source. step 3) possibly ask the Android room?
 
7:04 PM
@Martin - What @lemron said, and get an iPhone instead, Mac rules.
 
@adeneo Not helpful I need it to work on Android
 
also, @Martin CLOSE YOUR EFFING TAGS FOR THE LOVE OF ALL THAT IS HOLY!!!!
 
@rlemon Good call on Android room..
 
@rlemon wow everything is minified lol
 
hipsters
 
7:05 PM
Odd - all the offers I'm getting are for lead positions. Not sure if they think I'm actually qualified, or it's a tactic to get me interested and then negotiate down (which is a poor tactic).
@BenjaminGruenbaum Thoughts ^
 
@SomeKittensUx2666 you're qualified.
 
@Martin now I realize the minifier probably removed them
my bad. still looks like shit :P
 
@rlemon Yeah Im using a pretty untouched Gruntfile (that we were talking about yesterday)
 
Uhm
 
I would say most in here are qualified for a lead front end position honestly.
 
7:06 PM
<!doctype html>
<!--[if lt IE 7]>
    <html class="no-js lt-ie9 lt-ie8 lt-ie7">
    <![endif]-->
    <!--[if IE 7]>
        <html class="no-js lt-ie9 lt-ie8">
        <![endif]-->
        <!--[if IE 8]>
            <html class="no-js lt-ie9">
            <![endif]-->
            <!--[if gt IE 8]>
                <!-->
                <html class="no-js">
                <!--<![endif]-->
 
its the people outside who get them that I worry about :P
 
@BenjaminGruenbaum (Not fishing for compliments, genuinely curious) I've got no experience as a lead. What makes me qualified?
 
@SomeKittensUx2666 not much more to say, you're better than most leads I met. We on SO tend to overestimate the expertise of the average developer. Most web developers are really not that good.
 
@SomeKittensUx2666 you "get the job done"
 
how many years of exp do you have on your resume @SomeKittensUx2666 ?
 
7:07 PM
@rlemon ok well the problem seems to be that the AJAX calls aren't working
 
@Loktar Of real work, not internships/projects masquerading as startups? Exactly one.
 
Ok, I no longer hate cats theindychannel.com/tablet-showcase/…
 
@Martin - the document just ends after a script tag ?
 
(I moved out here to join Zaption a year ago today, woo!)
 
maybe they saw some outside work
 
7:07 PM
@Connor thank you
 
or like where you're at
 
@adeneo in HTML5 closing tags are optional for the most part iirc
 
@SomeKittensUx2666 you've done frontend and backend which means you know how the whole thing works and in multiple technologies and libraries/frameworks, you have experience writing actual applications.
 
@SomeKittensUx2666 I didn't mention kittens, at least, some of them
 
I have no idea how your html/css is (I assume it's perfectly fine, you just need enough to understand the problems the team has there).
 
7:08 PM
would you guys hire me? (looks for stokes)
 
@rlemon - but still, it just ends? Well, it's Angular, I don't get it!
 
yeah, but I would worry having you work on a long project that spans more than a few months @rlemon
 
@BenjaminGruenbaum Well, after seeing the monstrosities here, talking to someone who knows a little bit is bliss.
 
@adeneo that would be the script tags before </body></html>
 
@rlemon I'd probably hire (almost) everyone here.
 
7:09 PM
which again, iirc, are no longer required
 
@rlemon Depends
 
@BenjaminGruenbaum I'd consider it average, whatever that means. I've been working on that lately.
 
@Loktar lol why is that?
 
I only burnt out on this one because there was absolutely no direction.
 
7:09 PM
because you lose interest fast so you'd get bored
 
@BenjaminGruenbaum "almost"? :D
 
!!afk friend
 
well thats just my opinion from what I see here, it may not be entirely true
 
:P when I have clear direction and can break a project out into smaller 'goals' I don't lose interest quite as quick.
 
7:10 PM
@rlemon Totally, because you demand good work from yourself and others. That's good culture
 
I think youd be great for "special operations"
> we need xyz done in two weeks stat!
 
I would love a "fire putter outter" position somewhere
 
> get Rlemon now.
 
As a prostitute? No. As a front-end designer? Yes, but as Loktar said, maybe not on longer term support. As a programmer yes, but I'll hit you with something in every CR, so it's your call.
 
I'm getting net::ERR_ADDRESS_UNREACHABLE on all AJAX calls
 
7:10 PM
well all good feedback :)
 
@Connor I like how the mother just runs away... haha
 
I will work more on getting less "ugh" about projects 2 months in
 
@rlemon Welcome to Generator Lab!
 
in short id love to work with you :p
 
haha, same
 
7:11 PM
Frankly, I'd hire @FlorianMargaine faster. I hate his code, and he's a complete hipster, but he knows stuff. And while I know stuff, I don't do anything with that stuff - Florian does cool shit.
4
 
Florian is very organized
he seems like a good architect
 
@CS_STEM - that fiddle makes no sense what so ever ?
 
@CS_STEM sorry i'm backing out as soon as I see getElementById('1')
 
All of my db interaction is copypasta off of Florian
 
just seems like poor design.
 
7:12 PM
thanks guys
 
ohh yea i'd hire @FlorianMargaine in a heartbeat
 
I wish he wasn't married he's so smart <3
 
@RUJordan I have pictures.. pm me later
 
YES!
 
@Zirak you just don't appreciate the beauty of C
 
7:15 PM
@FlorianMargaine I've only seen you write the one thing in C. But...I dunno. I don't like your code.
It's nothing personal. Except for the fact that it's strictly against you :P
 
@Zirak it's ok
I can get the idea
I got a friend who's code is "nice", but I just can't like it
it's just... no, I'd totally do it another way
 
This app is supposed to be ready in like 2 hours :(
 
@Martin you better get cracking then
 
@Martin Good luck
 
Sounds like you have a lot to do
 
7:18 PM
Not much to do just gotta fix the AJAX calls on Android
 
GOD DAMMIT FUCK YOU EXCEL I HATE YOU SO MUCH.
Ahem.
 
Oddly it works fine on desktop and iOS
 
Sorry.
 
haha
 
1
Q: Can you use AJAX calls with Android?

Prisoner ZEROI'm a C# web-developer. And on a daily basis I'm very comfortable using jQuery and making AJAX calls for data (which I love). However, I am a complete NOOB to Android. My current reading shows Android uses REST'ful services for data-exchange. So my question(s) are... Can Android use jQuery m...

 
7:19 PM
I think I know what's going on
 
@FlorianMargaine Read the Unix haters handbook
 
@adeneo I'm calling it an app but it's just an HTML5 website
 
@copy actually, I did
 
@Martin - I figured as much, but you kept referring to your "app", so I posted a java answer, as that's what Android apps are written in.
 
@adeneo I was kinda asking for it
Should've been more literal I guess
Do you think it has anything to do with me using absolute URLs?
I totally forgot that I had that in there
 
7:21 PM
@FlorianMargaine And you still think we deserve C?
 
@copy do you have any alternative?
 
D
 
@RUJordan why do you hate excel?
 
@FlorianMargaine Every other language
 
Because giant files are so slow and our server can't handle anything over 1000 rows it seems
 
7:23 PM
Even C++ or Java or Perl, whatever
 
dude, 1000 rows isn't a lot
 
I wouldn't call C++ an improvement over C, actually
 
^
@copy yeah. Did you ever try writing drivers in Java or Perl?
 
It's like C, only that intsead of a gun, you have a bazooka. Also, templates are kinda turing complete.
 
Java interface is in C
 
7:24 PM
Of course it's horrible
 
@rlemon yeah, I know. :(
 
And boy, the old "friends can touch your privates"...
But really, D. Give it a shot @FlorianMargaine
 
@FlorianMargaine I'm just saying that C is horrific. You yourself have chosen it for non-OS related tasks
 
@Zirak I only give you that ability.
 
@copy because I wanted to have the option of optimizing to my hearts content if necessary
 
7:25 PM
(obligatoy) You know you want D
2
 
@Zirak yup, the more I hear about it, the more I like it. But I'm not sure if I should wait for rust to reach 1.0. D has... I don't know, something that doesn't make me want to try it.
 
@FlorianMargaine But at what cost? If anybody ever ends up using what you write, you will have to maintain it
 
pfft, maintaining past projects
 
@Martin - do those ajax calls use jQuery, and what do they look like? You're using Angular, and everything is minified, it's impossible to find anything !
 
7:27 PM
:(
 
Take a picture of yourself flipping the finger, reply with it to all bug reports and help tickets.
 
@adeneo I already bitched about the minification
 
@adeneo Yeah, it's easier if you use an inspector
 
I refuse to do someone elses most basic debugging
 
the biggest C project has this very sentence on its readme: "Just having fun."
 
7:27 PM
@Martin don't ask someone to read minified code! unminify it !
isolate the issue
show us your ajax calls
don't drop a link to minified mess and say "have fun"
we are helping you, not the other way around.
 
@rlemon I'm debugging too -_- I'm asking for help because it's such short notice
Short deadline **
I'll paste in my calls onesec
 
unminify and show us isolated code
 
    var xhr = $http({
        method  : 'POST',
        url     : xhrHost,
        headers : {
            'Content-Type' : 'application/x-www-form-urlencoded'
        },
        data    : 'action=getgoal'
    });
 
@Martin - There is a known bug with jQuery ajax in Android, but I think that was fixed in the newer versions, and regular XMLHttpRequests should work
 
var xhrHost = 'https://www.maurofranco.com/apps/tinysurvivors/update.php';
 
7:29 PM
ew, absolute urls. Why?
 
@adeneo I'm using the angular $http function
@Zirak Yeah I changed it just now and am reuploading
 
For that tiny page you're using angular? Why?
 
To learn Angular
I had to use the absolute URL cause the API was built by someone else and hosted on their server
 
are you sure it isn't running?
are you logging xhr.error
 
Nope
 
7:30 PM
In which case XHR wouldn't work anyway because of cross-domain
 
It's working on iPhone :s
 
ugh. you are not 'debugging' if you are not even checking for errors :P
 
Give me a sec I'm deleting an reuploading
 
LOG U SUM ERRORS!
 
So, Angular, everything minified, using SSL! This is going to be easy to debug !
 
7:31 PM
depression
 
on android, there is another header which has to be added on the response for cors to work
 
Ok I'll see if changing xhrHost to update.php helps
 
had this issue...
use about:debug to get the console, errors are pretty straight forward
 
if you log your errors we might have a high chance in hell on figuring out your problem :/
if I have to ask again i'm going to go full nerd-rage-lemon on your ass
 
Ok one sec
 
7:32 PM
@FlorianMargaine It's not cross-domain any more
But blegh
 
I'll try to turn off minification too
 
@adeneo ugh. ssl is terrible to debug. wanna use tcpdump to debug some outgoing request on the prod server? WELL TOO BAD IT'S SSL
 
Try and turn off bugs, too. Maybe it's a compiler option
 
I wish
 
If I ever write a compiler, it's going to be one of the flags
--no-bugs
Output would just be a blank file
 
7:39 PM
hahah
It was just the absolute URL
Switched it for relative and it worked
 
What? Why?
 
No clue
That feels like a familiar bug
 
I swear if I up have split this excel file into 40 (literally 40 at this rate) files I will cry
 
That's tragic
 
@Martin Find out why. Replace relative with absolute, one by one, until it breaks again. You'll find your culprit.
It's odd..does Android have different cross-domain rules?
 
7:43 PM
There is only one URL
 
waaat
 
There's only a handful of actions
So I just make requests to the one URL, and pass some JSON data
Or I guess it's not JSON when its sent
 
Wassup guys
 
Should be the same thing, protocols, ports and domains etc. Could be the SSL, who knows ?
 
I'm Googling it a bit I'm curious about this
@NatZimmermann Sup broo
 
7:48 PM
Just hit 500 rep today :)
Can start reviewong
 
Congratulations
 
Yeah I feel important now
 
@FlorianMargaine Like Codegolf
 
@NatZimmermann nice man grats
 
@copy codegolf is fun, but takes way too long imo
 
7:51 PM
Programming Challenges? codewars is awesome btw if you haven't heard of it
 
@Martin I hope you're proud of yourself, I'm tainting this partition with a LAMP stack
 
Wait how do i add a link in markdown again ?
 
@AbhishekHingnikar I think it's [text](URL)
 
@AbhishekHingnikar Help button in the bottom right
Or "google markdown link"
 
thanks both
 
7:52 PM
@Zirak what's wrong with LAMP :)
 
then this markdown editor is crappy
@Martin it can fuse off
 
I haven't wilingfully used php in months
 
just kidding :D
 
Thankfully it's just one line, but Apache... brr
 
"Willingfully" ?
haha
 
7:54 PM
@Chris 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.
 
I haven't really touched PHP in a while tbh
 
PHP makes me want to die
 
^ You'll fit in well here
 
What do you guys use for backend code?
 
7:56 PM
binary
 
@FlorianMargaine I've heard that it's quite terrible
Dunno about the latest php though
 
@Zirak never used it, can't tell
 
@Martin at work, coldfusion (I don't suggest it), at home, NodeJS
 
@Martin Which version of angular do you use?
 
@Zirak this one is 1.2.6
@RUJordan That's cool, I wanna jump on the Node JS train
What's coldfusion like?
 
user1596138
7:59 PM
@Zirak I've been off... So you can doubt me. But of course I know who Andy Rubin and Peter Norvig are. I have no idea who Lars Bark is though
 
It's like HTML fucked Java and had a slightly below average baby.
 
hahahaha
 

« first day (1306 days earlier)      last day (3659 days later) »