Open Side Menu Go to the Top

07-28-2014 , 11:55 AM
So I had a problem figuring out why my angular app wasn't running on IE11 (just throws some cryptic error), but ignored it since we weren't launching for a while. Tried it again ~2 weeks ago (haven't changed anything about the app) and it was working. Just tried it again (same front end code) and it's broken again.

I think it's related to the version of angular and jquery I'm using (will eventually extract jquery)... but it really makes me hate everything about IE, even modern versions.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
07-28-2014 , 12:48 PM
Yea best thing is to not bring it up especially at meetups, otherwise it will become the only icebreaker. I wouldn't fault them for asking follow up questions though. To them, that's the first and only thing they know about you.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-28-2014 , 03:44 PM
Quote:
Originally Posted by daveT
"What would happen if you ate a tomato right now?" Seriously?
I was with until this quote, because honestly this is a great question.

Spoiler:
No seriously, I want to know!


Quote:
"Oh, man! I love tomatoes!"
Jeez, dude, this poor guy was just trying to sympathize. Also, he's totally right, tomatoes are awesome!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-28-2014 , 03:57 PM
I refuse to believe that anyone anywhere ever uses one of phantom/casper, zombie/mocha, karma/jasmine or chrome or phantom/protractor/jasmine to do industrial scale integration testing.

Nothing but one weird error after another and the craziest flaky behavior. I feel like I could spend the rest of my days beating my head agains the wall with this stuff.

As an example this just started happening out of the blue and I have no idea why:

Code:
/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:136
      callback(new Error(message));
               ^
Error: ECONNREFUSED connect ECONNREFUSED
    at ClientRequest.<anonymous> (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:136:16)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:440:14
    at process._tickCallback (node.js:419:13)
==== async task ====
WebDriver.quit()
    at webdriver.WebDriver.schedule (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:268:15)
    at webdriver.WebDriver.quit (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:333:21)
    at HostedDriverProvider.teardownEnv (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/lib/driverProviders/hosted.js:38:16)
    at driverprovider_.setupEnv.then.then.then.then.passed (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/lib/runner.js:264:35)
    at _fulfilled (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:797:54)
    at self.promiseDispatch.done (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:826:30)
    at Promise.promise.promiseDispatch (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:759:13)
    at /Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:573:44
    at flush (/Users/449706/lab/dtve/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:108:17)
>> 
>> Test failed but keep the grunt process alive.
There seem to be an endless supply of these kinds of weird errors that just pop up out of the blue. Often rebooting my Mac helps. That's not a good sign.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-28-2014 , 09:45 PM
Quote:
Originally Posted by Barrin6
Yea best thing is to not bring it up especially at meetups, otherwise it will become the only icebreaker. I wouldn't fault them for asking follow up questions though. To them, that's the first and only thing they know about you.
Honestly, very few of my friends even know about this.

I'm not sure how it would come across if I told everyone about my silly allergies (or intolerance). I can only think of being an irritating snot-nosed nerd who whines about ****. I can't think of how it'd be a good first impression.

On second thought, I may be able to get one of those plenty-of-tech-woman to go on a Sorry Date with me...

Quote:
Originally Posted by gaming_mouse
I was with until this quote, because honestly this is a great question.

No seriously, I want to know!
If all goes well, I just puke my guts out 10 minutes later and feel a little dizzy the next day. If all goes a bit worse, I'm basically drunken and ill for the next few days. If all goes poorly, I'll be bed-ridden and unable to lift my arms for 2 days. There's more severe reactions, but I don't press my luck.

Quote:
Jeez, dude, this poor guy was just trying to sympathize. Also, he's totally right, tomatoes are awesome!
I've heard great things about tomatoes.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-28-2014 , 10:01 PM
I'm not a node expert but by god does it have horrible error/warning reporting at least coming from a front end person. Screwed up javascript on the browser: "hey this is broken on line foo of bar.js". Screwed up javascript in node: "something somewhere is ****ed up, **** you."
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 12:16 AM
Maybe they'll fix that in v1.0
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 12:46 AM
Quote:
Originally Posted by Grue
I'm not a node expert but by god does it have horrible error/warning reporting at least coming from a front end person. Screwed up javascript on the browser: "hey this is broken on line foo of bar.js". Screwed up javascript in node: "something somewhere is ****ed up, **** you."
Async code is a bitch to stack trace.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 01:18 AM
So satisfying to finally implement a new function despite a huge design flaw. For example, getting a back button(actually a rewind) on this page to show up.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 07:43 AM
Quote:
Originally Posted by daveT
Maybe they'll fix that in v1.0
"But node is enterprise ready!!" --shouted at me about 50 times during a recent node conference I went to.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 09:33 AM
Joyent has a stack trace they're really proud of. Not cheap though, it comes with their support service.

We've been using node in production on our monster site for about six months now with no incident.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 11:38 AM
Quote:
Originally Posted by suzzer99
We've been using node in production on our monster site for about six months now with no incident.
NPM randomly broke a lot of enterprise applications with this change a few months ago: http://blog.npmjs.org/post/780854517...ate-is-no-more

It took down our Winter Olympics site, which was thankfully wrapping up anyways.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 02:41 PM
We never ran into any problem with that. I wonder why?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 02:47 PM
Quote:
Originally Posted by suzzer99
We never ran into any problem with that. I wonder why?
I think we had the problem because it was an AWS Elastic Beanstalk app so scaling up new instances failed as the npm installs were failing. They reverted the change relatively quickly, so if you weren't building Node.js servers during the window where it was live, you wouldn't have a problem I believe.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 04:28 PM
Quote:
Originally Posted by daveT



If all goes well, I just puke my guts out 10 minutes later and feel a little dizzy the next day. If all goes a bit worse, I'm basically drunken and ill for the next few days. If all goes poorly, I'll be bed-ridden and unable to lift my arms for 2 days. There's more severe reactions, but I don't press my luck.



I've heard great things about tomatoes.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 07:19 PM
I wrote this line of javascript today.

Code:
var stylesTask = lazypipe()
	.pipe(function () {
		return gulpif(minifyCSS, sass({
			style: 'expanded',
			quiet: true
		})
		.pipe(cssmin()), sass({
			style: 'expanded',
			sourcemap: true,
			sourcemapPath: 'sitesection-scss/',
			quiet: true
	}))});
Sweet language we got here.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 11:16 PM
Quote:
Originally Posted by gaming_mouse
I feel kind of bad now. If you ever see someone at a party and see someone violently dodging pizza, you won't be surprised by the ensuing conversation.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 11:17 PM
Quote:
Originally Posted by Grue
I wrote this line of javascript today.

Code:
var stylesTask = lazypipe()
	.pipe(function () {
		return gulpif(minifyCSS, sass({
			style: 'expanded',
			quiet: true
		})
		.pipe(cssmin()), sass({
			style: 'expanded',
			sourcemap: true,
			sourcemapPath: 'sitesection-scss/',
			quiet: true
	}))});

Sweet language we got here.
I can't even read that, much less write it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-29-2014 , 11:52 PM
I'm growing tired of poker (been a "pro" for over a decade now) and all the bull**** that comes along with it while being a US citizen. I've been teaching myself to program for a while now and I really enjoy it, and think lots of the skills Ive honed at poker transfer really well.

Ideally I don't want a 9 to 5, Id love to just freelance and ultimately create an app that makes me a few million (yes I know). But I've also never had a real job my whole life, so I'm honestly kind of intrigued to give it a go just for the experience of it for a year or two (I'm sure Ill utterly detest it after 2 weeks, but whatever).

I've done quit a bit of reading on these coding bootcamps and Im wondering if thats really all it takes to get a job as a programmer? I dropped out of college and its been so long that Im sure none of my credits are still good, so I dont really want to spend 4 years in school to learn stuff I can teach myself for free and in less time just so I can have a piece of paper that gets my foot in the door to something I dont ultimately even want. But if I can just take some 3-6 month bootcamp that will not only teach me to be a better programmer but also get me a good job when I'm done, Im really interested.

All my research so far I havent come across any blogs thats like "yeah I took this bootcamp, and it got me job X which pays me Y" Its always people who are currently taking the courses and "loving it" or just finished but "should have a job soon!", so Im kinda skeptical about the whole thing. Why would any aspiring programmer go to college if all it takes is a bootcamp to get a job?

Id like to think I wouldnt have any trouble getting into any of these, Im reasonably intelligent and completely comfortable with the process of self learning, so I can teach myself anything I'd need to know to pass whatever hoops they use to weed people out.

I guess this is a long winded post to ask if its even an option I should consider?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2014 , 12:29 AM
It's an option you should consider. One 2p2'er recently finished a boot camp and got a high-paying job right away. Other 2p2'ers have done the camps as well, haven't followed up with them though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2014 , 12:40 AM
Quote:
Originally Posted by daveT
I can't even read that, much less write it.
Don't worry I messed it up, I can't have that first pipe in there as part of the second argument, I need to pipe in an entirely separate "gulpif".. because having a ****ing if statement without a plugin would make too much sense.

Quote:
Originally Posted by Alobar
I'm growing tired of poker
shrug? The chance of making a sweet product/company by yourself that doesn't require 50+ hours a week where you make a ton of money is remote to say the least.

In this industry its very easy for a competent person with no degree to get a great job at a company that doesn't require clock in/clock out from 8-5. I work for a fortune 100 where I could very easily put in 20 hours of real work a week if I felt like it, but I don't because I'm not a prick. All you need to do is become very strong at whatever type of programming you like, make a portfolio of projects that show your skill level, and then get to the point where you can crush any technical interview question thats thrown at you. It took me 6 months. I wouldn't pay or bother with any bootcamps, but thats just me.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2014 , 09:48 AM
@Alobar

There are posts in this particular forum discussing the experiences people had with attending bootcamps and their experiences after graduating. I think you'd enjoy reading those. Others may disagree but I have never seen software developers held in such high regard as they are now. As a result of that when you actually are receiving a paycheck from someone, you're treated quite well with all the things that go along with that. I have no regular schedule, I pretty much telecommute exclusively. Life is good.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2014 , 10:15 AM
Don't use phonegap if your app has even the slightest bit of complex functionality. The amount of 4 upvote 0 answer stackoverflow posts you'll find for relatively simple stuff is kind of insane.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2014 , 10:25 AM
Is there a Q/A site (ala Stack Overflow) where people get paid for their answers?

I was thinking you'd have some sort of formula where what you get paid depends on how popular the question is and how popular your answer is. Maybe extra bounties could be attached to questions as well.

Karma is nice and all, but karma+cash seems better.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
07-30-2014 , 10:29 AM
Example: I'm making a newsfeed with video posts. iOS makes video a priority, so it sits above any element on the phonegap "webpage". Basically, if any element floats above a video (modal, action sheet) and a video slides beneath it, it will play the video on click. Not a problem on android.

Example 2: Facebook login. This is very very trivial to implement on a real website, or iOS with their SDK. Good luck doing this in less than 10 hours on phone gap given the current ecosystem. Also, there's really no way to provide any feedback that the facebook website is loading (which happens in an in app browser). So a white screen will appear, and if you're on edge network or something, it might sit there with 0 feedback for a long time. Bad.

I can keep going on a lot of crap that has tripped me up for a long while that would be trivial using a native SDK.

PROS: I am building an app that looks very good, functions well on modern phones, and is available on iOS and android, with no mobile background myself, in ~6 weeks. I'm also reusing a ton of code from mobile -> desktop and vice versa. Copy/paste angularjs coffeescript and reuse the same APIs. So even if I'm focusing on the mobile right now, it'll be quick to catch the website back up since I'm writing 80% of the same code.

CONS:

-The apps don't work as well on older phones (like an S3, or iPhone 4), but hopefully that is going away given newer devices are due out soon. Runs great on an iPhone 5.

-Impossible to debug at times, very cryptic errors that won't come up with any search results

-Blog/SO posts that are helpful are often rendered obsolete by changes to cordova builds (that are constantly breaking stuff).

-bad community support for anything that isn't trivial (as shown by my examples above).

Still, probably a good choice for this project given the time frame and my lack of knowledge of any native app development frameworks.


I'm going to learn rubymotion well once I get a bit more time.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m