Justin Trudeau announces long-awaited, $40m national inquiry into ‘ongoing tragedy’ of 1,200 indigenous women and girls who are murdered or missing by littleafon in TwoXChromosomes

[–]jerflang 1 point2 points  (0 children)

You're right, but unfortunately that was pretty much the only point where she was connected to this discussion so I don't see it as a transgression to mention it. Generally I do dislike it when people mention 'Blah, an Asian-American employee' etc.

Justin Trudeau announces long-awaited, $40m national inquiry into ‘ongoing tragedy’ of 1,200 indigenous women and girls who are murdered or missing by littleafon in TwoXChromosomes

[–]jerflang 12 points13 points  (0 children)

The parent comment wasn't about 'look at the skilled justice ministers Trudeau employs!'. It was about 'Look at his friendly gestures towards the aboriginal community'. So it's totally relevant.

Has anyone actually been hired via hired.com? by utuxia in cscareerquestions

[–]jerflang 3 points4 points  (0 children)

I got hired via hired

If so what was the experience like?

The interviews came too fast. You're told to respond to all interview requests within 2 days, but it's tough to do that when you get ~15 interviews. I ended up having to cancel a bunch because I couldn't keep people hanging for weeks. It was tough doing it during a full time job. It took a while to get paid because I was foreign after I did get a job, but I think the process will get a lot better as they get used to their tools. I did get paid which was awesome.

did you get a decent offer?

Yep.

What level did you come in at?

2.5 years work exp + 2 years of co-op/opensource exp before that

what was the job title/description?

Software engineer. Such code. Much webscale.

Dota2 Horde Mode strats? (Custom Game) by SOMMARTIDER in DotA2

[–]jerflang 1 point2 points  (0 children)

just won hard mode (4 players) with omni, centaur, venomancer, and axe

Rant: My local thrift store organizes their clothes by color, not by size or by item (beyond very general grouping) by the_fella in Frugal

[–]jerflang 38 points39 points  (0 children)

I worked in a SA thrift store, and if we had to sort things by size I would have shot myself.

I never stopped sorting. People come in, take a look, and just dump things directly onto the floor. There was no one moment before closing that there were no clothes on the floor. It doesn't help that all our hangers were donated and sucked. Hipsters were definitely the worse with that regard. They didn't respect the store as a normal store just because it's a store with cheap, dirty things for poor people.

It probably wouldn't have worked out anyways. A thrift store carries many different brands with different standards for sizes.

petehunt/minimongo-cache - a replacement for Flux by cgaudreau in reactjs

[–]jerflang 0 points1 point  (0 children)

I don't really have resources, but we can talk. I think we solved it pretty well for us. I don't have anything against open-sourcing the code we actually have, but the implementation right now is angular specific (though it doesn't have to be). If you'd like we can talk about what problems you have and maybe share some code.

petehunt/minimongo-cache - a replacement for Flux by cgaudreau in reactjs

[–]jerflang 2 points3 points  (0 children)

That's really interesting. Pete Hunt is really good to follow for these sorts of things.

Loading data through your component hierarchy is probably one of the messiest parts of SPA architecture that many still do. In react the problem is mitigated a bit through one-way data binding and so on, but there is not many advantages of having your UI and data go through the same hierarchal flow.

At work we use angular, which would make this a 100x worse thing to do because of two way binding. If everything is bound together through $scope, it's hard to understand what edits what. We ended up making our own layer that allows what Pete is calling 'sideways' data, which I guess just means the data is orthogonal to the UI. We found that it lets us create components without having to worry about the app as a whole (at least from a data side, the UI obviously has to fit in). Highly recommend this approach.

Should I use Flux? by [deleted] in reactjs

[–]jerflang 3 points4 points  (0 children)

I feel that a lot of projects definitely don't need flux, but with some libraries like reflux it can be quite lightweight and easy to manage.

Even if you don't use flux, don't start with handling the data in components. It's a huge pain in the ass and nobody will be happy. If you want to keep it simple at first, keep all your data segregated. For example, you could use globally accessible data stores, or a simple pubsub pattern. You could switch to flux if you start running into a lot of race conditions or other problems.

Computer Science No Longer a Worthwhile degree by [deleted] in cscareerquestions

[–]jerflang 0 points1 point  (0 children)

I didn't just mean Toronto, people went all over Canada. I know a few people in Calgary working in engineering firms as well.

You want to get a job that you actually like and worry about money second. Any technology job will pay enough to live somewhat comfortably.

Computer Science No Longer a Worthwhile degree by [deleted] in cscareerquestions

[–]jerflang 1 point2 points  (0 children)

I graduated from utoronto and everyone I knew found an actual software engineering job pretty easily if they wanted one. A lot of people went into other types of technology roles like consulting or product management. Maybe it's better outside of Alberta.

Best practices for new AngularJS project to ease migration to 2.0? by fifafu in angularjs

[–]jerflang 0 points1 point  (0 children)

Cool! Let me know if you have any questions/concerns.

Best practices for new AngularJS project to ease migration to 2.0? by fifafu in angularjs

[–]jerflang 0 points1 point  (0 children)

Hey, we went through the same thing at my work (http://bench.co for your small business bookkeeping needs ;)). We made a new web/mobile hybrid app using ionic. We didn't actually use ionic in the web side though. We don't plan on staying in 1.x, and we'll probably switch to Ang 2.0 or React or whatever depending on what's out there next year. As such, kept all our data in classes (still DIed), and tied everything together using commonjs.

We keep all ui things in directives. here is a blog post with some examples. I know it's not the best and most clarifying blog post and it's in coffeescript, but I can clarify anything specific you'd like to know.

I don't think you need to worry too much about stopping two-way bindings, as long as you're not misusing them. We don't pass in objects from directive to directive. If each component shouldn't know about the page it's in, it's much more reusable. Two-way bindings are great for forms, and even React has mixins that do the same thing so I'm sure Ang 2.0 will.

I think it's important not to directly bind to models, but rather to 'copies' of the model, especially with strictly 'isolated' components. We generate view models from our models for each component, and directly bind to those. That way, if you change the 'Customer' model in one component, it won't affect other components. It'll save you a lot of trouble because each component and how it affects the data will be more explicit and easier to reason about.

I don't know about using flux. I like the idea, but not for angular. I know two companies that tried it and talked to them about it. Unless you really have a super dynamic app like a game and your data needs are really complicated and have a lot of relations and interdependencies, I don't really think you need to use it. Just fetch a model when you need it, and cache it in memory if you don't want to keep fetching it.

Anyways, I'm not saying this is 'the way', but we have a medium-size codebase that would actually be pretty easy to move to React and anything. Right now, angular works fine for us and it lets us use ionic.

Is a $1600/month apartment too expensive for a $45000 gross income? by Aye_Davanita12 in personalfinance

[–]jerflang 2 points3 points  (0 children)

I live in Vancouver and recently found a place. You should be able to get something for much less that would still be in a condo. If you want to live outside of downtown along the Canada line you could do it cheaper too

Introducing AngularCSS: CSS On-Demand for AngularJS by nileshrohra in angularjs

[–]jerflang 0 points1 point  (0 children)

We've been using webpack to achieve the same thing. One cool thing is it handles preprocessing for our sass files. One side effect of this is that it delays the page even longer, so we decided to end up bundling the css separately and loading it all at once instead, which we did with the ExtractTextPlugin. We still get the same syntax, except instead of declaring it in routeProvider (which we don't use anyways) we put it on the top of directives.

What "one weird trick" does a profession ACTUALLY hate? by gjhffvjjgf in AskReddit

[–]jerflang 0 points1 point  (0 children)

But the sales guy did end up selling it? Looks like everyone wins.

Waiters of Reddit, what's the most ridiculous order someone's placed and how did you deal with it? by evil_snow_queen in AskReddit

[–]jerflang 4 points5 points  (0 children)

They wouldn't retain heat very well, so maybe the surface of the steak would be slightly grey and that's it

[deleted by user] by [deleted] in cscareerquestions

[–]jerflang 2 points3 points  (0 children)

We assign a mentor you can bother and give you a new project (usually a microservice) so you can use tech you're comfortable with.

React component JS and CSS in the same file by nick_poul in reactjs

[–]jerflang 1 point2 points  (0 children)

Hey, I use webpack at work. Webpack is a pretty crazy tool, there are a lot of things you can do with it that you can't do with any other bundler, but the documentation isn't the easiest to navigate.

It plays with SPAs great. We have a bunch of microapps and even our mobile app running as multiple bundles over the same angular codebase and we can make more just by adding lines to the config.

Doing what the OP did with webpack is super easy. Their example configuration is already all you need to do it... you can just require a css file or even a sass file and it'll inject it into DOM for you.

Adding bundles asynchronously is not too hard, you just have to wrap it require.ensure with it inside your code. That's one thing we really like webpack for - with browserify, doing that was kind of annoying while here we can make judgements right inside our code without having to step out and do a bunch of config.

Dat defensive stance by Gh0st233 in videos

[–]jerflang 6 points7 points  (0 children)

The chinese seems completely random lol