Open Side Menu Go to the Top

01-07-2017 , 02:15 PM
Not sure what ACM means.

But anyways, interviews went pleasantly. Got grilled in technical questions but they weren't so difficult.

One odd thing is that they are running the startup out of an apartment. Kind of worrisome, but they said they are growing fast and will be in the news more.
** 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 **
01-07-2017 , 04:55 PM
Quote:
Originally Posted by Barrin6
Not sure what ACM means.

But anyways, interviews went pleasantly. Got grilled in technical questions but they weren't so difficult.

One odd thing is that they are running the startup out of an apartment. Kind of worrisome, but they said they are growing fast and will be in the news more.
I interviewed at a place like that. They ended up making me a very low ball offer
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-07-2017 , 05:49 PM
Quote:
Originally Posted by Barrin6
Not sure what ACM means.

But anyways, interviews went pleasantly. Got grilled in technical questions but they weren't so difficult.

One odd thing is that they are running the startup out of an apartment. Kind of worrisome, but they said they are growing fast and will be in the news more.
Run like hell. Plenty of legit startups around dying for decent talent
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-07-2017 , 11:08 PM
We ran without an office for a bit, but we'd never have hired at that point. Seems sketchy that they have enough money for paying you but not for an office - even like at a co-working place.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-08-2017 , 12:35 AM
Yea way too many red flags. Can't fly me out. And the apartment thing. I am expecting a real low ball. I'm guessing under 85k if I do get an offer.

Last edited by Barrin6; 01-08-2017 at 12:42 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-08-2017 , 12:51 AM
May want to lower your expectations. Not getting paid every 2 weeks would be my worry.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-08-2017 , 01:16 AM
Forgot to mention I found the job posting on craigslist.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-08-2017 , 03:00 AM
Facebook hackercup is going on right now. Qualification rounds are open and will be ending within 2 days. You only need to do one problem to qualify for the next round.

https://www.facebook.com/hackercup/register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-08-2017 , 08:23 AM
Quote:
Originally Posted by Barrin6
Forgot to mention I found the job posting on craigslist.


Yeah... good chance you don't get paid.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-09-2017 , 04:35 AM
So, I was working on some JavaScript stuff for "fun" today and lost ~30 minutes tracking down a typo that I made in an import statement.

What sanity-checking plugin do I add in my package.json to make sure that doesn't happen again?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-09-2017 , 06:53 AM
Also, some quick JS questions before bed about React from some sample code I've been looking at...

From here:

Code:
  componentDidMount() {
    StockStore.listen(state => this.onStockStoreChange(state));
  }

  componentWillUnmount() {
    StockStore.unlisten(state => this.onStockStoreChange(state));
  }
Am I correct that the lambdas specified in these two functions are not equivalent to each other, and that an attempt to unregister a listener (assuming StockStore checks based on basic equality) in this manner will fail?

And from here:

Code:
  componentDidMount: function() {
    DataSource.addChangeListener(this.handleChange);
  },

  componentWillUnmount: function() {
    DataSource.removeChangeListener(this.handleChange);
  },

  handleChange: function() {
    this.setState({
      comments: DataSource.getComments()
    });
  },
As I've gotten used to passing "this.functionName.bind(this)" everywhere because things **** up when I don't - am I correct in thinking that attempts by DataSource to invoke the "this.handleChange" callback passed in will fail because "this" will be undefined within handleChange?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-09-2017 , 12:53 PM
You don't want to do that sort of subscribe pattern at all with react. Typically yes you'll want to bind this to class methods that get called by jsx events in the constructor not in the jsx itself.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-09-2017 , 01:28 PM
Quote:
Originally Posted by goofyballer
So, I was working on some JavaScript stuff for "fun" today and lost ~30 minutes tracking down a typo that I made in an import statement.



What sanity-checking plugin do I add in my package.json to make sure that doesn't happen again?


There's a plugin for ESLint that does that: https://www.npmjs.com/package/eslint-plugin-import
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-09-2017 , 11:13 PM
Quote:
Originally Posted by Grue
You don't want to do that sort of subscribe pattern at all with react. Typically yes you'll want to bind this to class methods that get called by jsx events in the constructor not in the jsx itself.
ya that's like using react to replace jquery

if you want state logic, checkout mobx
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-10-2017 , 01:35 AM
Quote:
Originally Posted by goofyballer
So, I was working on some JavaScript stuff for "fun" today and lost ~30 minutes tracking down a typo that I made in an import statement.

What sanity-checking plugin do I add in my package.json to make sure that doesn't happen again?
I don't do JavaScript. How does this happen? When you run code does it not say something like "no library called vecctor line 18, #include <vecctor>"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-10-2017 , 07:17 PM
Quote:
Originally Posted by goofyballer
Am I correct that the lambdas specified in these two functions are not equivalent to each other, and that an attempt to unregister a listener (assuming StockStore checks based on basic equality) in this manner will fail?
yes

Quote:
Originally Posted by goofyballer
As I've gotten used to passing "this.functionName.bind(this)" everywhere because things **** up when I don't - am I correct in thinking that attempts by DataSource to invoke the "this.handleChange" callback passed in will fail because "this" will be undefined within handleChange?
yes, you're just passing in a pointer to the function. when it's invoked it won't know to resolve 'this' to your component unless you bind it.

Last edited by 8=====D; 01-10-2017 at 07:30 PM. Reason: oops
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-10-2017 , 08:45 PM
Quote:
Originally Posted by Barrin6
I don't do JavaScript. How does this happen? When you run code does it not say something like "no library called vecctor line 18, #include <vecctor>"
I don't really do javascript either, but importing packages is not a feature of javascript, so, there are many libraries and frameworks that have their own semi-hacked-up way of doing it.

More often than not, these are not used at run time, but instead part of your deploy is to bundle all your dependencies up into a single javascript file (or a small number of them) and deploy that.

I don't know why in particular one of these importing libraries would choke and not tell you, but I'm not super surprised also. One of the features of javascript is that it is usually quite happy to give you *something* when you try to access a thing that doesn't exist.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-10-2017 , 10:03 PM
Quote:
Originally Posted by RustyBrooks
I don't really do javascript either, but importing packages is not a feature of javascript, so, there are many libraries and frameworks that have their own semi-hacked-up way of doing it.
Quote:
One of the features of javascript is that it is usually quite happy to give you *something* when you try to access a thing that doesn't exist.
CJS (require) sure is and works fine in node. The module system of import/export is being finalized this year. Obviously not necessarily in all browsers etc yet so yeah.

"undefined is not a function" is an error at least and they're making that better. I mean as long as you set up your sourcemapping and all that you'll get a reference to where it broke thats good enough for me.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-11-2017 , 01:52 AM
Quote:
"For example, one thing I learned is it's hard to find a toaster that will let you push the bread down while it's powered off so you can automatically start toasting when the power goes on. I ended up finding an old toaster from the 1950s and rigging it up with a connected switch." He faced similar problems connecting a food dispenser for his dog, Beast, or another project — rigging a "cannon" to fire his trademark grey T-shirts.
what does this mean? how did he rig a 1950s toaster with a switch connected to the internet?

http://www.usatoday.com/story/tech/n...ence/95614528/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-11-2017 , 02:14 AM
has anyone seen the Simple Programmer videos on youtube? they seem to be pretty highly ranked if you are watching anything about programming you will see them. this guy has hundreds of videos with hundreds of thousand of views without ever actually saying anything even remotely interesting or of any substance whatsoever. I am not even sure if this guy is a programmer, has ever programmed, etc. He talks in endless circles.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-11-2017 , 10:34 AM
Quote:
Originally Posted by OmgGlutten!
what does this mean? how did he rig a 1950s toaster with a switch connected to the internet?

http://www.usatoday.com/story/tech/n...ence/95614528/
You get one of these things that plugs into an outlet, and then you plug your device into it. The device controls power to the thing plugged in. You can also replace outlets with IoT controlled outlets.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-11-2017 , 12:53 PM
Quote:
Originally Posted by OmgGlutten!
has anyone seen the Simple Programmer videos on youtube? they seem to be pretty highly ranked if you are watching anything about programming you will see them. this guy has hundreds of videos with hundreds of thousand of views without ever actually saying anything even remotely interesting or of any substance whatsoever. I am not even sure if this guy is a programmer, has ever programmed, etc. He talks in endless circles.
Sounds like what I'd expect from high ranked YouTubes
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-11-2017 , 11:38 PM
Since we're on the topic, does anyone know any youtubers that upload solid programming content? (tutorials, cs topics, etc)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-12-2017 , 01:27 AM
This is super pissing me off. Google gave me a warning about space usage on my Google Account. This is what I get shown when I click on the info symbol next to Drive so it can show me what is occupying this 14 GB.



Can anyone tell me what the **** is going on?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-12-2017 , 02:21 AM
Check your trash
** 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